-- MySQL dump 10.13  Distrib 5.6.16, for Win32 (x86)
--
-- Host: localhost    Database: spslitem_tekun1db
-- ------------------------------------------------------
-- Server version	5.6.16

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `_log_query`
--

DROP TABLE IF EXISTS `_log_query`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_log_query` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `userID` int(11) NOT NULL,
  `userIP` varchar(30) NOT NULL,
  `type` varchar(50) NOT NULL,
  `query` text NOT NULL,
  `url` varchar(255) NOT NULL,
  `executionTime` varchar(256) NOT NULL,
  `createdTS` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `userid` (`userID`)
) ENGINE=InnoDB AUTO_INCREMENT=34495 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_log_query`
--

LOCK TABLES `_log_query` WRITE;
/*!40000 ALTER TABLE `_log_query` DISABLE KEYS */;
INSERT INTO `_log_query` VALUES (1,1,84,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'84\', 1, 1, \'68\', \'35000\', \'OP-A\', \'2016-06-03\', \'83\', \'1\')','expenses/saveExpense','0.084333896636963','2016-06-03 11:44:02'),(2,1,84,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1838, \'84\', \'lori food  truck\', 1, \'32507\', \'35000\', \'35000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.011608123779297','2016-06-03 11:44:02'),(3,1,84,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'273\'','expenses/saveExpense','0.012319087982178','2016-06-03 11:44:02'),(4,1,84,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000008\' WHERE `ID` =  1838','expenses/saveExpense','0.011478900909424','2016-06-03 11:44:02'),(5,1,84,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000008\', \'Purchase of Asset [OP-A[00000594]]\', \'Purchase of Asset [OP-A[00000594]]\', \'\', \'3\', \'2016-06-03\', \'16\', \'06\', 35000, 35000, \'84\')','expenses/saveExpense','0.0090999603271484','2016-06-03 11:44:03'),(6,1,84,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000008\', 1, \'lori food  truck\', \'32516\', 35000, 1, \'1\', \'35000\', \'06\', \'16\', \'1\', \'OP-A[00000594]\', \'84\')','expenses/saveExpense','0.011289834976196','2016-06-03 11:44:03'),(7,1,84,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000008\', 2, \'lori food  truck\', \'32507\', 35000, 1, \'1\', \'35000\', \'06\', \'16\', \'1\', \'OP-A[00000594]\', \'84\')','expenses/saveExpense','0.012746095657349','2016-06-03 11:44:03'),(8,1,84,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 35000, `total_amount_cr` = 35000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000008\'','expenses/saveExpense','0.011502981185913','2016-06-03 11:44:03'),(9,1,84,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1838','expenses/saveExpense','0.013062953948975','2016-06-03 11:44:03'),(10,1,84,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10585','expenses/saveExpense','0.011541843414307','2016-06-03 11:44:03'),(11,1,84,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000008\'','expenses/saveExpense','0.084981918334961','2016-06-03 11:44:03'),(12,1,84,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'84\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017704963684082','2016-06-03 11:44:03'),(13,1,84,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'84\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32507\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015097856521606','2016-06-03 11:44:03'),(14,1,84,'192.168.1.191','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'84\', 1, 1, \'68\', \'80\', \'OP-C\', \'2016-06-08\', \'82\', \'1\')','expenses/saveExpense','0.095544815063477','2016-06-08 15:46:27'),(15,1,84,'192.168.1.191','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1842, \'84\', \'Kasut\', 1, \'32527\', \'80\', \'80\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.049938917160034','2016-06-08 15:46:27'),(16,1,84,'192.168.1.191','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'273\'','expenses/saveExpense','0.024348974227905','2016-06-08 15:46:27'),(17,1,84,'192.168.1.191','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000014\' WHERE `ID` =  1842','expenses/saveExpense','0.012149095535278','2016-06-08 15:46:27'),(18,1,84,'192.168.1.191','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000014\', \'Cost of Goods Sold [OP-C[00000598]]\', \'Cost of Goods Sold [OP-C[00000598]]\', \'\', \'3\', \'2016-06-08\', \'16\', \'06\', 80, 80, \'84\')','expenses/saveExpense','0.025314807891846','2016-06-08 15:46:27'),(19,1,84,'192.168.1.191','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000014\', 1, \'Kasut\', \'32515\', 80, 1, \'1\', \'80\', \'06\', \'16\', \'1\', \'OP-C[00000598]\', \'84\')','expenses/saveExpense','0.041481018066406','2016-06-08 15:46:27'),(20,1,84,'192.168.1.191','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000014\', 2, \'Kasut\', \'32527\', 80, 1, \'1\', \'80\', \'06\', \'16\', \'1\', \'OP-C[00000598]\', \'84\')','expenses/saveExpense','0.011627912521362','2016-06-08 15:46:27'),(21,1,84,'192.168.1.191','update','UPDATE `comp_journal` SET `total_amount_dr` = 80, `total_amount_cr` = 80, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000014\'','expenses/saveExpense','0.020965814590454','2016-06-08 15:46:27'),(22,1,84,'192.168.1.191','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1842','expenses/saveExpense','0.011933088302612','2016-06-08 15:46:27'),(23,1,84,'192.168.1.191','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10591','expenses/saveExpense','0.021008014678955','2016-06-08 15:46:27'),(24,1,84,'192.168.1.191','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000014\'','expenses/saveExpense','0.011840105056763','2016-06-08 15:46:28'),(25,1,84,'192.168.1.191','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'84\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012987852096558','2016-06-08 15:46:28'),(26,1,84,'192.168.1.191','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'84\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.011362075805664','2016-06-08 15:46:28'),(27,0,0,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `online` = 0 WHERE `fldid` =  \'User\'','logout/index','0.00039196014404297','2016-06-09 11:16:02'),(28,12,0,'192.168.1.65','update','UPDATE `company` SET `companyName` = \'kedai-e.net\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'123\', `email` = \'farhana@salihin.com.my\', `businessTypeID` = \'1\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'11\' WHERE `ID` =  \'12\'','setup/companySetup','0.041728973388672','2016-06-09 16:06:37'),(29,12,0,'192.168.1.65','update','UPDATE `company` SET `companyName` = \'kedai-e.net\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'123\', `email` = \'farhana@salihin.com.my\', `businessTypeID` = \'1\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'11\' WHERE `ID` =  \'12\'','setup/companySetup','0.00046491622924805','2016-06-09 16:07:00'),(30,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.090360879898071','2016-06-09 16:35:26'),(31,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.00047516822814941','2016-06-09 16:36:35'),(32,12,0,'192.168.1.65','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.10015606880188','2016-06-09 16:36:45'),(33,12,0,'192.168.1.65','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0010929107666016','2016-06-09 16:37:28'),(34,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.00050902366638184','2016-06-09 16:39:28'),(35,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.00045609474182129','2016-06-09 16:43:58'),(36,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.00047802925109863','2016-06-09 16:46:58'),(37,12,0,'192.168.1.65','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, acctCode from _ref_chart_of_acct where acctCode like \"220000%\" and acctCode <> \"220000000\" and acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','bank/index','0.087193012237549','2016-06-09 17:06:03'),(38,12,0,'192.168.1.65','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, acctCode from _ref_chart_of_acct where acctCode like \"220000%\" and acctCode <> \"220000000\" and acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','bank/index','0.0010449886322021','2016-06-09 17:09:05'),(39,12,0,'192.168.1.65','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, acctCode from _ref_chart_of_acct where acctCode like \"220000%\" and acctCode <> \"220000000\" and acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','bank/index','0.0010519027709961','2016-06-09 17:09:28'),(40,12,0,'192.168.1.65','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, acctCode from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.095587968826294','2016-06-09 17:14:28'),(41,12,0,'192.168.1.65','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, acctCode from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.10035991668701','2016-06-09 17:14:50'),(42,12,0,'192.168.1.65','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, acctCode from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.090352058410645','2016-06-09 17:16:46'),(43,1,0,'192.168.1.65','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.0010190010070801','2016-06-09 17:52:04'),(44,12,0,'192.168.1.65','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.025139093399048','2016-06-09 17:52:58'),(45,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.00048017501831055','2016-06-10 09:00:27'),(46,1,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.054957151412964','2016-06-10 09:09:22'),(47,1,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixturesss\', `openingBalanceDr` = \'5.00\', `createdTS` = \'2015-08-12 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32504\'','setup/saveAsset','0.10074710845947','2016-06-10 09:09:35'),(48,1,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0010919570922852','2016-06-10 09:09:36'),(49,1,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.00098204612731934','2016-06-10 09:09:45'),(50,1,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'32\', \'OP-C\', \'2016-06-10\', \'82\', \'1\')','expenses/saveExpense','0.062532186508179','2016-06-10 09:14:08'),(51,1,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1843, \'User\', \'faddd\', 1, \'32527\', \'32\', \'32\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01603889465332','2016-06-10 09:14:08'),(52,1,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'273\'','expenses/saveExpense','0.025346994400024','2016-06-10 09:14:08'),(53,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000015\' WHERE `ID` =  1843','expenses/saveExpense','0.016155004501343','2016-06-10 09:14:08'),(54,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000015\', \'Cost of Goods Sold [OP-C[00000599]]\', \'Cost of Goods Sold [OP-C[00000599]]\', \'\', \'3\', \'2016-06-10\', \'16\', \'06\', 32, 32, \'User\')','expenses/saveExpense','0.011554956436157','2016-06-10 09:14:08'),(55,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000015\', 1, \'faddd\', \'32515\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000599]\', \'User\')','expenses/saveExpense','0.042304039001465','2016-06-10 09:14:08'),(56,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000015\', 2, \'faddd\', \'32527\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000599]\', \'User\')','expenses/saveExpense','0.016503095626831','2016-06-10 09:14:08'),(57,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 32, `total_amount_cr` = 32, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000015\'','expenses/saveExpense','0.016055107116699','2016-06-10 09:14:08'),(58,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1843','expenses/saveExpense','0.016788005828857','2016-06-10 09:14:08'),(59,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10592','expenses/saveExpense','0.024477005004883','2016-06-10 09:14:08'),(60,1,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000015\'','expenses/saveExpense','0.033332109451294','2016-06-10 09:14:08'),(61,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.02131199836731','2016-06-10 09:14:08'),(62,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023821115493774','2016-06-10 09:14:08'),(63,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'32\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-10\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1843\'','expenses/saveExpense','0.1318690776825','2016-06-10 09:14:11'),(64,1,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1843\', `createdBy` = \'User\', `itemdescription` = \'faddd\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'32\', `amountExcludedTax` = \'32\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1813\'','expenses/saveExpense','0.00035691261291504','2016-06-10 09:14:11'),(65,1,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'273\'','expenses/saveExpense','0.032258987426758','2016-06-10 09:14:11'),(66,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000016\' WHERE `ID` =  \'1843\'','expenses/saveExpense','0.01673698425293','2016-06-10 09:14:11'),(67,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000016\', \'Cost of Goods Sold [OP-C[00000599]]\', \'Cost of Goods Sold [OP-C[00000599]]\', \'\', \'3\', \'2016-06-10\', \'16\', \'06\', 32, 32, \'User\')','expenses/saveExpense','0.015090942382812','2016-06-10 09:14:11'),(68,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000016\', 1, \'faddd\', \'32515\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000599]\', \'User\')','expenses/saveExpense','0.016448020935059','2016-06-10 09:14:11'),(69,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000016\', 2, \'faddd\', \'32527\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000599]\', \'User\')','expenses/saveExpense','0.015942096710205','2016-06-10 09:14:11'),(70,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 32, `total_amount_cr` = 32, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000016\'','expenses/saveExpense','0.016694068908691','2016-06-10 09:14:11'),(71,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1843\'','expenses/saveExpense','0.024523019790649','2016-06-10 09:14:11'),(72,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10593','expenses/saveExpense','0.016757965087891','2016-06-10 09:14:11'),(73,1,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000016\'','expenses/saveExpense','0.016099214553833','2016-06-10 09:14:11'),(74,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013489007949829','2016-06-10 09:14:11'),(75,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016396999359131','2016-06-10 09:14:11'),(76,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'32\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-10\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1843\'','expenses/saveExpense','0.019710063934326','2016-06-10 09:14:12'),(77,1,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1843\', `createdBy` = \'User\', `itemdescription` = \'faddd\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'32\', `amountExcludedTax` = \'32\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1813\'','expenses/saveExpense','0.00036382675170898','2016-06-10 09:14:12'),(78,1,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'273\'','expenses/saveExpense','0.028401136398315','2016-06-10 09:14:12'),(79,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000017\' WHERE `ID` =  \'1843\'','expenses/saveExpense','0.01711106300354','2016-06-10 09:14:12'),(80,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000017\', \'Cost of Goods Sold [OP-C[00000599]]\', \'Cost of Goods Sold [OP-C[00000599]]\', \'\', \'3\', \'2016-06-10\', \'16\', \'06\', 32, 32, \'User\')','expenses/saveExpense','0.015038967132568','2016-06-10 09:14:12'),(81,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000017\', 1, \'faddd\', \'32515\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000599]\', \'User\')','expenses/saveExpense','0.024812936782837','2016-06-10 09:14:13'),(82,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000017\', 2, \'faddd\', \'32527\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000599]\', \'User\')','expenses/saveExpense','0.015943050384521','2016-06-10 09:14:13'),(83,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 32, `total_amount_cr` = 32, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000017\'','expenses/saveExpense','0.016613006591797','2016-06-10 09:14:13'),(84,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1843\'','expenses/saveExpense','0.033139944076538','2016-06-10 09:14:13'),(85,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10594','expenses/saveExpense','0.041417121887207','2016-06-10 09:14:13'),(86,1,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'32\', \'OP-C\', \'2016-06-10\', \'82\', \'1\')','expenses/saveExpense','0.033008098602295','2016-06-10 09:14:13'),(87,1,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000017\'','expenses/saveExpense','0.024502992630005','2016-06-10 09:14:13'),(88,1,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1844, `createdBy` = \'User\', `itemdescription` = \'faddd\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'32\', `amountExcludedTax` = \'32\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1813\'','expenses/saveExpense','0.032826900482178','2016-06-10 09:14:13'),(89,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031001091003418','2016-06-10 09:14:13'),(90,1,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'273\'','expenses/saveExpense','0.036056041717529','2016-06-10 09:14:13'),(91,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.082170009613037','2016-06-10 09:14:13'),(92,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000018\' WHERE `ID` =  1844','expenses/saveExpense','0.032994985580444','2016-06-10 09:14:13'),(93,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000018\', \'Cost of Goods Sold [OP-C[00000600]]\', \'Cost of Goods Sold [OP-C[00000600]]\', \'\', \'3\', \'2016-06-10\', \'16\', \'06\', 32, 32, \'User\')','expenses/saveExpense','0.031730890274048','2016-06-10 09:14:13'),(94,1,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'32\', \'OP-C\', \'2016-06-10\', \'82\', \'1\')','expenses/saveExpense','0.044173955917358','2016-06-10 09:14:13'),(95,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000018\', 1, \'faddd\', \'32515\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000600]\', \'User\')','expenses/saveExpense','0.032886028289795','2016-06-10 09:14:13'),(96,1,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1845, `createdBy` = \'User\', `itemdescription` = \'faddd\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'32\', `amountExcludedTax` = \'32\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1813\'','expenses/saveExpense','0.032863855361938','2016-06-10 09:14:13'),(97,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000018\', 2, \'faddd\', \'32527\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000600]\', \'User\')','expenses/saveExpense','0.032735109329224','2016-06-10 09:14:13'),(98,1,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'32\', \'OP-C\', \'2016-06-10\', \'82\', \'1\')','expenses/saveExpense','0.062081813812256','2016-06-10 09:14:13'),(99,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 32, `total_amount_cr` = 32, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000018\'','expenses/saveExpense','0.066059112548828','2016-06-10 09:14:13'),(100,1,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'273\'','expenses/saveExpense','0.070782899856567','2016-06-10 09:14:13'),(101,1,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1846, `createdBy` = \'User\', `itemdescription` = \'faddd\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'32\', `amountExcludedTax` = \'32\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1813\'','expenses/saveExpense','0.032989978790283','2016-06-10 09:14:13'),(102,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1844','expenses/saveExpense','0.033160924911499','2016-06-10 09:14:13'),(103,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000019\' WHERE `ID` =  1845','expenses/saveExpense','0.057813882827759','2016-06-10 09:14:13'),(104,1,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'273\'','expenses/saveExpense','0.12966895103455','2016-06-10 09:14:13'),(105,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10595','expenses/saveExpense','0.041512012481689','2016-06-10 09:14:13'),(106,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000020\' WHERE `ID` =  1846','expenses/saveExpense','0.066458940505981','2016-06-10 09:14:13'),(107,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000019\', \'Cost of Goods Sold [OP-C[00000601]]\', \'Cost of Goods Sold [OP-C[00000601]]\', \'\', \'3\', \'2016-06-10\', \'16\', \'06\', 32, 32, \'User\')','expenses/saveExpense','0.1736581325531','2016-06-10 09:14:13'),(108,1,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000018\'','expenses/saveExpense','0.16670298576355','2016-06-10 09:14:13'),(109,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000020\', \'Cost of Goods Sold [OP-C[00000602]]\', \'Cost of Goods Sold [OP-C[00000602]]\', \'\', \'3\', \'2016-06-10\', \'16\', \'06\', 32, 32, \'User\')','expenses/saveExpense','0.07374095916748','2016-06-10 09:14:13'),(110,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000019\', 1, \'faddd\', \'32515\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000601]\', \'User\')','expenses/saveExpense','0.066243171691895','2016-06-10 09:14:13'),(111,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.049575090408325','2016-06-10 09:14:13'),(112,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000020\', 1, \'faddd\', \'32515\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000602]\', \'User\')','expenses/saveExpense','0.057507991790771','2016-06-10 09:14:13'),(113,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000019\', 2, \'faddd\', \'32527\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000601]\', \'User\')','expenses/saveExpense','0.074578046798706','2016-06-10 09:14:13'),(114,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.073683977127075','2016-06-10 09:14:13'),(115,1,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000020\', 2, \'faddd\', \'32527\', 32, 1, \'1\', \'32\', \'06\', \'16\', \'1\', \'OP-C[00000602]\', \'User\')','expenses/saveExpense','0.032824993133545','2016-06-10 09:14:13'),(116,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 32, `total_amount_cr` = 32, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000019\'','expenses/saveExpense','0.033030033111572','2016-06-10 09:14:13'),(117,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1845','expenses/saveExpense','0.057720899581909','2016-06-10 09:14:13'),(118,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 32, `total_amount_cr` = 32, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000020\'','expenses/saveExpense','0.033033132553101','2016-06-10 09:14:13'),(119,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10596','expenses/saveExpense','0.033157110214233','2016-06-10 09:14:13'),(120,1,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1846','expenses/saveExpense','0.041471004486084','2016-06-10 09:14:13'),(121,1,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000019\'','expenses/saveExpense','0.041372060775757','2016-06-10 09:14:13'),(122,1,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10597','expenses/saveExpense','0.033114910125732','2016-06-10 09:14:13'),(123,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031297922134399','2016-06-10 09:14:14'),(124,1,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000020\'','expenses/saveExpense','0.041368007659912','2016-06-10 09:14:14'),(125,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.040225982666016','2016-06-10 09:14:14'),(126,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031066179275513','2016-06-10 09:14:14'),(127,1,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.03200101852417','2016-06-10 09:14:14'),(128,1,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0028510093688965','2016-06-10 09:15:45'),(129,1,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixturesdfshdfgkjfgkjwhekgwkejgh\', `openingBalanceDr` = \'5.00\', `createdTS` = \'2015-08-12 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32504\'','setup/saveAsset','0.030396938323975','2016-06-10 09:15:54'),(130,1,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0010910034179688','2016-06-10 09:15:56'),(131,1,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'5.00\', `createdTS` = \'2015-08-12 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32504\'','setup/saveAsset','0.022503137588501','2016-06-10 09:16:04'),(132,1,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.001176118850708','2016-06-10 09:16:06'),(133,3,0,'192.168.1.197','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 3, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 3)','setup/assetSetup','0.02525806427002','2016-06-10 10:41:25'),(134,3,0,'192.168.1.197','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 3, acctName, id from comp_chart_of_acct where companyid = 3 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 3)','bank/index','0.022815942764282','2016-06-10 10:41:33'),(135,3,0,'192.168.1.197','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 3, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 3)','setup/assetSetup','0.0011570453643799','2016-06-10 10:41:39'),(136,2,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 2, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 2)','setup/assetSetup','0.13725399971008','2016-06-10 14:19:26'),(137,12,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'kedai-e.net\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1931\', `countryID` = \'458\', `phoneNo` = \'123\', `email` = \'farhana@salihin.com.my\', `businessTypeID` = \'1\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'13\' WHERE `ID` =  \'12\'','setup/companySetup','0.10287594795227','2016-06-10 14:25:55'),(138,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.095530986785889','2016-06-10 15:18:09'),(139,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012099742889404','2016-06-10 15:18:16'),(140,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0011880397796631','2016-06-10 15:33:17'),(141,12,0,'192.168.1.192','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Asset 8	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-09 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32568\'','setup/saveAsset','0.090648889541626','2016-06-10 15:33:32'),(142,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012059211730957','2016-06-10 15:33:34'),(143,12,0,'192.168.1.192','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Machinery & Engine	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-09 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32565\'','setup/saveAsset','0.013622045516968','2016-06-10 15:33:58'),(144,12,0,'192.168.1.192','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Machinery & Engine	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-09 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32565\'','setup/saveAsset','0.0003349781036377','2016-06-10 15:33:58'),(145,12,0,'192.168.1.192','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Machinery & Engine	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-09 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32565\'','setup/saveAsset','0.00041103363037109','2016-06-10 15:34:00'),(146,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0017430782318115','2016-06-10 15:34:35'),(147,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0015711784362793','2016-06-10 15:37:58'),(148,12,0,'192.168.1.192','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-09 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32561\'','setup/saveAsset','0.097546100616455','2016-06-10 15:38:06'),(149,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012109279632568','2016-06-10 15:38:09'),(150,12,0,'192.168.1.192','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Machinery & Engine	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-09 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32565\'','setup/saveAsset','0.088350057601929','2016-06-10 15:38:16'),(151,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0011770725250244','2016-06-10 15:38:19'),(152,12,0,'192.168.1.192','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-09 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32561\'','setup/saveAsset','0.13954615592957','2016-06-10 15:38:25'),(153,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0011968612670898','2016-06-10 15:38:27'),(154,12,0,'192.168.1.192','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0014951229095459','2016-06-10 15:54:14'),(155,12,0,'192.168.1.192','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.080843925476074','2016-06-10 15:58:50'),(156,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'155\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'4\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.041835069656372','2016-06-13 10:56:06'),(157,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'11\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.087609052658081','2016-06-13 10:57:00'),(158,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'4\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.046478986740112','2016-06-13 10:58:17'),(159,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'11\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.095360994338989','2016-06-13 10:58:47'),(160,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'4\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.12058186531067','2016-06-13 10:59:14'),(161,1,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.096155166625977','2016-06-13 11:01:17'),(162,1,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.016561031341553','2016-06-13 11:01:20'),(163,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'141\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'4\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.026538133621216','2016-06-13 11:04:37'),(164,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'11\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.014691829681396','2016-06-13 11:04:52'),(165,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'155\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'11\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.096503019332886','2016-06-13 11:11:32'),(166,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'155\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'4\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.097216844558716','2016-06-13 11:13:24'),(167,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1921\', `countryID` = \'458\', `parlimenID` = \'147\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'4\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.084517002105713','2016-06-13 11:14:40'),(168,1,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `email` = \'puterakatak29@gmail.com\', `businessTypeID` = \'4\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'10\' WHERE `ID` =  \'1\'','setup/companySetup','0.079241037368774','2016-06-13 11:15:46'),(169,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.079334020614624','2016-06-13 12:12:19'),(170,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.035175085067749','2016-06-13 12:12:22'),(171,13,0,'192.168.1.136','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 1\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'2\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.012667894363403','2016-06-13 12:14:27'),(172,13,0,'192.168.1.136','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 1\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'2\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00045204162597656','2016-06-13 12:17:45'),(173,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012428760528564','2016-06-13 12:20:36'),(174,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0012218952178955','2016-06-13 12:20:44'),(175,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012500286102295','2016-06-13 12:28:55'),(176,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001215934753418','2016-06-13 12:29:42'),(177,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0011999607086182','2016-06-13 12:33:53'),(178,13,0,'192.168.1.136','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'1000\', `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'122\'','bank/saveBank','0.030743837356567','2016-06-13 12:34:26'),(179,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 1000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32761\'','bank/saveBank','0.073523044586182','2016-06-13 12:34:26'),(180,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0012178421020508','2016-06-13 12:34:28'),(181,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.031635046005249','2016-06-13 12:45:37'),(182,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1847, \'User\', \'dsdaf\', 1, \'32773\', \'45\', \'45\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.022207021713257','2016-06-13 12:45:37'),(183,13,0,'192.168.1.136','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'16\', \'06\', \'AP\', 1)','expenses/saveExpense','0.01598596572876','2016-06-13 12:45:37'),(184,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160600000001\' WHERE `ID` =  1847','expenses/saveExpense','0.033102989196777','2016-06-13 12:45:37'),(185,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP160600000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.026618003845215','2016-06-13 12:45:37'),(186,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160600000001\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.035542964935303','2016-06-13 12:45:37'),(187,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160600000001\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.0078680515289307','2016-06-13 12:45:37'),(188,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160600000001\'','expenses/saveExpense','0.13436198234558','2016-06-13 12:45:37'),(189,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1847','expenses/saveExpense','0.048443078994751','2016-06-13 12:45:37'),(190,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10598','expenses/saveExpense','0.014112949371338','2016-06-13 12:45:37'),(191,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160600000001\'','expenses/saveExpense','0.010445117950439','2016-06-13 12:45:37'),(192,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32761\', \'2016\', \'6\', \'0\', \'45\', -45, \'User\', \'2016-06-13: 06:06:37\')','expenses/saveExpense','0.011559009552002','2016-06-13 12:45:37'),(193,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'8\', \'32773\', \'2016\', \'6\', \'45\', \'0\', 45, \'User\', \'2016-06-13: 06:06:37\')','expenses/saveExpense','0.0089380741119385','2016-06-13 12:45:37'),(194,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'45\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-13\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1847\'','expenses/saveExpense','0.016609907150269','2016-06-13 12:45:39'),(195,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1847\', `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.00032615661621094','2016-06-13 12:45:39'),(196,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'275\'','expenses/saveExpense','0.020429849624634','2016-06-13 12:45:39'),(197,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000002\' WHERE `ID` =  \'1847\'','expenses/saveExpense','0.009958028793335','2016-06-13 12:45:39'),(198,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000002\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.012733936309814','2016-06-13 12:45:39'),(199,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000002\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.010451078414917','2016-06-13 12:45:39'),(200,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000002\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.0078930854797363','2016-06-13 12:45:39'),(201,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000002\'','expenses/saveExpense','0.0080490112304688','2016-06-13 12:45:39'),(202,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1847\'','expenses/saveExpense','0.12604904174805','2016-06-13 12:45:39'),(203,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10599','expenses/saveExpense','0.020636081695557','2016-06-13 12:45:39'),(204,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000002\'','expenses/saveExpense','0.010965824127197','2016-06-13 12:45:39'),(205,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019946813583374','2016-06-13 12:45:39'),(206,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.0099649429321289','2016-06-13 12:45:39'),(207,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.042155027389526','2016-06-13 12:45:39'),(208,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1848, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.007821798324585','2016-06-13 12:45:39'),(209,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'275\'','expenses/saveExpense','0.014966011047363','2016-06-13 12:45:39'),(210,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.029002904891968','2016-06-13 12:45:39'),(211,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000003\' WHERE `ID` =  1848','expenses/saveExpense','0.024761915206909','2016-06-13 12:45:39'),(212,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1850, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.022082090377808','2016-06-13 12:45:39'),(213,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000003\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.022336959838867','2016-06-13 12:45:39'),(214,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'275\'','expenses/saveExpense','0.017009019851685','2016-06-13 12:45:39'),(215,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000003\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.017539978027344','2016-06-13 12:45:39'),(216,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000004\' WHERE `ID` =  1850','expenses/saveExpense','0.016400814056396','2016-06-13 12:45:39'),(217,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000003\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.016196966171265','2016-06-13 12:45:39'),(218,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000004\', \'Cost of Goods Sold [OP-C[00000003]]\', \'Cost of Goods Sold [OP-C[00000003]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.015351057052612','2016-06-13 12:45:39'),(219,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000003\'','expenses/saveExpense','0.024658918380737','2016-06-13 12:45:39'),(220,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000004\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000003]\', \'User\')','expenses/saveExpense','0.024450063705444','2016-06-13 12:45:39'),(221,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1848','expenses/saveExpense','0.03053617477417','2016-06-13 12:45:39'),(222,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000004\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000003]\', \'User\')','expenses/saveExpense','0.032853841781616','2016-06-13 12:45:39'),(223,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10600','expenses/saveExpense','0.018996000289917','2016-06-13 12:45:39'),(224,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000004\'','expenses/saveExpense','0.021728992462158','2016-06-13 12:45:39'),(225,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000003\'','expenses/saveExpense','0.024751901626587','2016-06-13 12:45:39'),(226,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1850','expenses/saveExpense','0.019453048706055','2016-06-13 12:45:39'),(227,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.020011901855469','2016-06-13 12:45:39'),(228,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10601','expenses/saveExpense','0.02472186088562','2016-06-13 12:45:39'),(229,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017982006072998','2016-06-13 12:45:39'),(230,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000004\'','expenses/saveExpense','0.021744012832642','2016-06-13 12:45:40'),(231,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.034057855606079','2016-06-13 12:45:40'),(232,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.020784139633179','2016-06-13 12:45:40'),(233,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'45\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-13\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1847\'','expenses/saveExpense','0.013527154922485','2016-06-13 12:45:40'),(234,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1847\', `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.024531841278076','2016-06-13 12:45:40'),(235,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'275\'','expenses/saveExpense','0.021875858306885','2016-06-13 12:45:40'),(236,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000005\' WHERE `ID` =  \'1847\'','expenses/saveExpense','0.022285938262939','2016-06-13 12:45:40'),(237,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.038718938827515','2016-06-13 12:45:40'),(238,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000005\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.042761087417603','2016-06-13 12:45:40'),(239,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1851, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.019244909286499','2016-06-13 12:45:40'),(240,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000005\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.024518966674805','2016-06-13 12:45:40'),(241,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'275\'','expenses/saveExpense','0.26238894462585','2016-06-13 12:45:40'),(242,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000005\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.049553155899048','2016-06-13 12:45:40'),(243,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000006\' WHERE `ID` =  1851','expenses/saveExpense','0.11640501022339','2016-06-13 12:45:40'),(244,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000005\'','expenses/saveExpense','0.021638154983521','2016-06-13 12:45:40'),(245,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000006\', \'Cost of Goods Sold [OP-C[00000004]]\', \'Cost of Goods Sold [OP-C[00000004]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.023880958557129','2016-06-13 12:45:40'),(246,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1847\'','expenses/saveExpense','0.019477844238281','2016-06-13 12:45:40'),(247,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000006\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000004]\', \'User\')','expenses/saveExpense','0.01878023147583','2016-06-13 12:45:40'),(248,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10602','expenses/saveExpense','0.024744987487793','2016-06-13 12:45:40'),(249,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000006\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000004]\', \'User\')','expenses/saveExpense','0.016186952590942','2016-06-13 12:45:40'),(250,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000005\'','expenses/saveExpense','0.37482309341431','2016-06-13 12:45:40'),(251,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000006\'','expenses/saveExpense','0.047114849090576','2016-06-13 12:45:40'),(252,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.039430856704712','2016-06-13 12:45:40'),(253,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1851','expenses/saveExpense','0.041469097137451','2016-06-13 12:45:40'),(254,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031996965408325','2016-06-13 12:45:41'),(255,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10603','expenses/saveExpense','0.052304029464722','2016-06-13 12:45:41'),(256,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000006\'','expenses/saveExpense','0.047137022018433','2016-06-13 12:45:41'),(257,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.10573410987854','2016-06-13 12:45:41'),(258,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.28547286987305','2016-06-13 12:45:41'),(259,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1852, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.056594848632812','2016-06-13 12:45:41'),(260,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031880140304565','2016-06-13 12:45:41'),(261,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'275\'','expenses/saveExpense','0.029287099838257','2016-06-13 12:45:41'),(262,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000007\' WHERE `ID` =  1852','expenses/saveExpense','0.019052028656006','2016-06-13 12:45:41'),(263,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.045484066009521','2016-06-13 12:45:41'),(264,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1853, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.052405118942261','2016-06-13 12:45:41'),(265,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000007\', \'Cost of Goods Sold [OP-C[00000005]]\', \'Cost of Goods Sold [OP-C[00000005]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.040436983108521','2016-06-13 12:45:41'),(266,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'275\'','expenses/saveExpense','0.029441118240356','2016-06-13 12:45:41'),(267,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1852','expenses/saveExpense','0.016418933868408','2016-06-13 12:45:41'),(268,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000007\' WHERE `ID` =  1853','expenses/saveExpense','0.019047021865845','2016-06-13 12:45:41'),(269,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10604','expenses/saveExpense','0.016400098800659','2016-06-13 12:45:41'),(270,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000007\', \'Cost of Goods Sold [OP-C[00000006]]\', \'Cost of Goods Sold [OP-C[00000006]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.040364980697632','2016-06-13 12:45:41'),(271,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000007\'','expenses/saveExpense','0.024744987487793','2016-06-13 12:45:41'),(272,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000007\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/saveExpense','0.024484157562256','2016-06-13 12:45:41'),(273,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.16555404663086','2016-06-13 12:45:41'),(274,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000007\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/saveExpense','0.032885074615479','2016-06-13 12:45:41'),(275,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000007\'','expenses/saveExpense','0.20505404472351','2016-06-13 12:45:41'),(276,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023985862731934','2016-06-13 12:45:41'),(277,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1853','expenses/saveExpense','0.06932520866394','2016-06-13 12:45:41'),(278,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10605','expenses/saveExpense','0.055191040039062','2016-06-13 12:45:41'),(279,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000007\'','expenses/saveExpense','0.00045585632324219','2016-06-13 12:45:41'),(280,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016713857650757','2016-06-13 12:45:41'),(281,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023652791976929','2016-06-13 12:45:41'),(282,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.098650932312012','2016-06-13 12:45:41'),(283,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1854, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.018673896789551','2016-06-13 12:45:41'),(284,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'275\'','expenses/saveExpense','0.022187948226929','2016-06-13 12:45:41'),(285,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000008\' WHERE `ID` =  1854','expenses/saveExpense','0.024700880050659','2016-06-13 12:45:41'),(286,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000008\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.020918846130371','2016-06-13 12:45:41'),(287,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000008\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/saveExpense','0.018964052200317','2016-06-13 12:45:41'),(288,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000008\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/saveExpense','0.02136492729187','2016-06-13 12:45:41'),(289,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000008\'','expenses/saveExpense','0.044543981552124','2016-06-13 12:45:41'),(290,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1854','expenses/saveExpense','0.033087968826294','2016-06-13 12:45:41'),(291,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10606','expenses/saveExpense','0.04086709022522','2016-06-13 12:45:41'),(292,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000008\'','expenses/saveExpense','0.033644914627075','2016-06-13 12:45:41'),(293,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.022660970687866','2016-06-13 12:45:42'),(294,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.01233696937561','2016-06-13 12:45:42'),(295,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.060816049575806','2016-06-13 12:45:42'),(296,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1855, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.018931865692139','2016-06-13 12:45:42'),(297,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'275\'','expenses/saveExpense','0.023771047592163','2016-06-13 12:45:42'),(298,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000009\' WHERE `ID` =  1855','expenses/saveExpense','0.033099889755249','2016-06-13 12:45:42'),(299,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000009\', \'Cost of Goods Sold [OP-C[00000008]]\', \'Cost of Goods Sold [OP-C[00000008]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.020397901535034','2016-06-13 12:45:42'),(300,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000009\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/saveExpense','0.019289016723633','2016-06-13 12:45:42'),(301,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000009\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/saveExpense','0.024580001831055','2016-06-13 12:45:42'),(302,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000009\'','expenses/saveExpense','0.021501064300537','2016-06-13 12:45:42'),(303,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1855','expenses/saveExpense','0.036257028579712','2016-06-13 12:45:42'),(304,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10607','expenses/saveExpense','0.016419887542725','2016-06-13 12:45:42'),(305,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000009\'','expenses/saveExpense','0.01646089553833','2016-06-13 12:45:42'),(306,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.014157056808472','2016-06-13 12:45:42'),(307,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.033077955245972','2016-06-13 12:45:42'),(308,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.083106994628906','2016-06-13 12:45:42'),(309,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1856, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.083940029144287','2016-06-13 12:45:42'),(310,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'275\'','expenses/saveExpense','0.24086999893188','2016-06-13 12:45:42'),(311,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.11499118804932','2016-06-13 12:45:42'),(312,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1858, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.18035292625427','2016-06-13 12:45:42'),(313,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000010\' WHERE `ID` =  1856','expenses/saveExpense','0.028095006942749','2016-06-13 12:45:42'),(314,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000010\', \'Cost of Goods Sold [OP-C[00000009]]\', \'Cost of Goods Sold [OP-C[00000009]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.048635959625244','2016-06-13 12:45:42'),(315,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'275\'','expenses/saveExpense','0.031570911407471','2016-06-13 12:45:42'),(316,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000011\' WHERE `ID` =  1858','expenses/saveExpense','0.019325017929077','2016-06-13 12:45:42'),(317,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000010\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/saveExpense','0.024495124816895','2016-06-13 12:45:42'),(318,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000011\', \'Cost of Goods Sold [OP-C[00000010]]\', \'Cost of Goods Sold [OP-C[00000010]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.023608922958374','2016-06-13 12:45:42'),(319,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000010\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/saveExpense','0.021612167358398','2016-06-13 12:45:42'),(320,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000010\'','expenses/saveExpense','0.019279003143311','2016-06-13 12:45:42'),(321,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000011\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.021613121032715','2016-06-13 12:45:42'),(322,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000011\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.032537937164307','2016-06-13 12:45:42'),(323,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1856','expenses/saveExpense','0.024752855300903','2016-06-13 12:45:42'),(324,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000011\'','expenses/saveExpense','0.019573211669922','2016-06-13 12:45:42'),(325,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10608','expenses/saveExpense','0.021897077560425','2016-06-13 12:45:42'),(326,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1858','expenses/saveExpense','0.024812936782837','2016-06-13 12:45:42'),(327,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.027670860290527','2016-06-13 12:45:42'),(328,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000010\'','expenses/saveExpense','0.027625799179077','2016-06-13 12:45:42'),(329,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1859, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.035750150680542','2016-06-13 12:45:42'),(330,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10609','expenses/saveExpense','0.024791955947876','2016-06-13 12:45:42'),(331,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019813060760498','2016-06-13 12:45:42'),(332,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'275\'','expenses/saveExpense','0.031264066696167','2016-06-13 12:45:42'),(333,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000011\'','expenses/saveExpense','0.04237699508667','2016-06-13 12:45:42'),(334,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.027655124664307','2016-06-13 12:45:42'),(335,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000012\' WHERE `ID` =  1859','expenses/saveExpense','0.021682024002075','2016-06-13 12:45:43'),(336,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013415098190308','2016-06-13 12:45:43'),(337,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000012\', \'Cost of Goods Sold [OP-C[00000011]]\', \'Cost of Goods Sold [OP-C[00000011]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.018387079238892','2016-06-13 12:45:43'),(338,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031970977783203','2016-06-13 12:45:43'),(339,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000012\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000011]\', \'User\')','expenses/saveExpense','0.032835006713867','2016-06-13 12:45:43'),(340,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000012\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000011]\', \'User\')','expenses/saveExpense','0.016201972961426','2016-06-13 12:45:43'),(341,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000012\'','expenses/saveExpense','0.016343832015991','2016-06-13 12:45:43'),(342,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1859','expenses/saveExpense','0.024867057800293','2016-06-13 12:45:43'),(343,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10610','expenses/saveExpense','0.024746894836426','2016-06-13 12:45:43'),(344,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000012\'','expenses/saveExpense','0.033030033111572','2016-06-13 12:45:43'),(345,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.044395923614502','2016-06-13 12:45:43'),(346,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.026827096939087','2016-06-13 12:45:43'),(347,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.08280611038208','2016-06-13 12:45:43'),(348,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.02859902381897','2016-06-13 12:45:43'),(349,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1860, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.013577938079834','2016-06-13 12:45:43'),(350,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1861, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.024540185928345','2016-06-13 12:45:43'),(351,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'275\'','expenses/saveExpense','0.021095991134644','2016-06-13 12:45:43'),(352,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'275\'','expenses/saveExpense','0.026707172393799','2016-06-13 12:45:43'),(353,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000013\' WHERE `ID` =  1860','expenses/saveExpense','0.014852046966553','2016-06-13 12:45:43'),(354,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000014\' WHERE `ID` =  1861','expenses/saveExpense','0.016426086425781','2016-06-13 12:45:43'),(355,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000013\', \'Cost of Goods Sold [OP-C[00000012]]\', \'Cost of Goods Sold [OP-C[00000012]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.015314817428589','2016-06-13 12:45:43'),(356,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000014\', \'Cost of Goods Sold [OP-C[00000013]]\', \'Cost of Goods Sold [OP-C[00000013]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.020241022109985','2016-06-13 12:45:44'),(357,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.028685808181763','2016-06-13 12:45:44'),(358,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000013\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000012]\', \'User\')','expenses/saveExpense','0.024502992630005','2016-06-13 12:45:44'),(359,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000014\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000013]\', \'User\')','expenses/saveExpense','0.019527196884155','2016-06-13 12:45:44'),(360,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1862, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.021134853363037','2016-06-13 12:45:44'),(361,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000013\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000012]\', \'User\')','expenses/saveExpense','0.01618480682373','2016-06-13 12:45:44'),(362,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000014\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000013]\', \'User\')','expenses/saveExpense','0.016180992126465','2016-06-13 12:45:44'),(363,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'275\'','expenses/saveExpense','0.017714977264404','2016-06-13 12:45:44'),(364,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000013\'','expenses/saveExpense','0.021535158157349','2016-06-13 12:45:44'),(365,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000015\' WHERE `ID` =  1862','expenses/saveExpense','0.024730920791626','2016-06-13 12:45:44'),(366,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000014\'','expenses/saveExpense','0.024723052978516','2016-06-13 12:45:44'),(367,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1860','expenses/saveExpense','0.019685029983521','2016-06-13 12:45:44'),(368,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000015\', \'Cost of Goods Sold [OP-C[00000014]]\', \'Cost of Goods Sold [OP-C[00000014]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.023677825927734','2016-06-13 12:45:44'),(369,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1861','expenses/saveExpense','0.021430015563965','2016-06-13 12:45:44'),(370,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000015\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000014]\', \'User\')','expenses/saveExpense','0.0078911781311035','2016-06-13 12:45:44'),(371,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000015\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000014]\', \'User\')','expenses/saveExpense','0.016162157058716','2016-06-13 12:45:44'),(372,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10611','expenses/saveExpense','0.024718999862671','2016-06-13 12:45:44'),(373,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10612','expenses/saveExpense','0.019790172576904','2016-06-13 12:45:44'),(374,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000015\'','expenses/saveExpense','0.030001163482666','2016-06-13 12:45:44'),(375,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000014\'','expenses/saveExpense','0.02472186088562','2016-06-13 12:45:44'),(376,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000013\'','expenses/saveExpense','0.021692037582397','2016-06-13 12:45:44'),(377,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1862','expenses/saveExpense','0.019453048706055','2016-06-13 12:45:44'),(378,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015631914138794','2016-06-13 12:45:44'),(379,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015638828277588','2016-06-13 12:45:44'),(380,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10613','expenses/saveExpense','0.024801969528198','2016-06-13 12:45:44'),(381,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.023774862289429','2016-06-13 12:45:44'),(382,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.02036714553833','2016-06-13 12:45:44'),(383,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000015\'','expenses/saveExpense','0.026576995849609','2016-06-13 12:45:44'),(384,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.020382881164551','2016-06-13 12:45:44'),(385,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1863, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.021212100982666','2016-06-13 12:45:44'),(386,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.01255989074707','2016-06-13 12:45:44'),(387,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'275\'','expenses/saveExpense','0.018471002578735','2016-06-13 12:45:44'),(388,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.032034158706665','2016-06-13 12:45:44'),(389,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000016\' WHERE `ID` =  1863','expenses/saveExpense','0.016467094421387','2016-06-13 12:45:44'),(390,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000016\', \'Cost of Goods Sold [OP-C[00000015]]\', \'Cost of Goods Sold [OP-C[00000015]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.036758899688721','2016-06-13 12:45:44'),(391,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000016\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/saveExpense','0.036362171173096','2016-06-13 12:45:44'),(392,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000016\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/saveExpense','0.016201972961426','2016-06-13 12:45:44'),(393,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000016\'','expenses/saveExpense','0.046221017837524','2016-06-13 12:45:44'),(394,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1863','expenses/saveExpense','0.23315715789795','2016-06-13 12:45:44'),(395,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10614','expenses/saveExpense','0.086488008499146','2016-06-13 12:45:44'),(396,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.22870707511902','2016-06-13 12:45:44'),(397,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000016\'','expenses/saveExpense','0.058056831359863','2016-06-13 12:45:44'),(398,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1864, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.13637900352478','2016-06-13 12:45:44'),(399,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013777017593384','2016-06-13 12:45:44'),(400,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'275\'','expenses/saveExpense','0.018316984176636','2016-06-13 12:45:44'),(401,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.057390213012695','2016-06-13 12:45:44'),(402,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031986951828003','2016-06-13 12:45:44'),(403,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000017\' WHERE `ID` =  1864','expenses/saveExpense','0.033105134963989','2016-06-13 12:45:45'),(404,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1865, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.019423961639404','2016-06-13 12:45:45'),(405,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000017\', \'Cost of Goods Sold [OP-C[00000016]]\', \'Cost of Goods Sold [OP-C[00000016]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.032495975494385','2016-06-13 12:45:45'),(406,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'275\'','expenses/saveExpense','0.018295049667358','2016-06-13 12:45:45'),(407,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1864','expenses/saveExpense','0.015830039978027','2016-06-13 12:45:45'),(408,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.040304183959961','2016-06-13 12:45:45'),(409,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000017\' WHERE `ID` =  1865','expenses/saveExpense','0.024755954742432','2016-06-13 12:45:45'),(410,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1866, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.045145988464355','2016-06-13 12:45:45'),(411,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10616','expenses/saveExpense','0.024770975112915','2016-06-13 12:45:45'),(412,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000017\', \'Cost of Goods Sold [OP-C[00000017]]\', \'Cost of Goods Sold [OP-C[00000017]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.040189027786255','2016-06-13 12:45:45'),(413,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000017\'','expenses/saveExpense','0.046272039413452','2016-06-13 12:45:45'),(414,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000017\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000017]\', \'User\')','expenses/saveExpense','0.016164064407349','2016-06-13 12:45:45'),(415,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'275\'','expenses/saveExpense','0.068137884140015','2016-06-13 12:45:45'),(416,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.043323040008545','2016-06-13 12:45:45'),(417,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000017\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000017]\', \'User\')','expenses/saveExpense','0.024458885192871','2016-06-13 12:45:45'),(418,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000018\' WHERE `ID` =  1866','expenses/saveExpense','0.02478814125061','2016-06-13 12:45:45'),(419,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.094419002532959','2016-06-13 12:45:45'),(420,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000018\', \'Cost of Goods Sold [OP-C[00000018]]\', \'Cost of Goods Sold [OP-C[00000018]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.032226085662842','2016-06-13 12:45:45'),(421,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000017\'','expenses/saveExpense','0.046297073364258','2016-06-13 12:45:45'),(422,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1865','expenses/saveExpense','0.045536041259766','2016-06-13 12:45:45'),(423,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1866','expenses/saveExpense','0.036537170410156','2016-06-13 12:45:45'),(424,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10617','expenses/saveExpense','0.049674987792969','2016-06-13 12:45:45'),(425,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10615','expenses/saveExpense','0.079007863998413','2016-06-13 12:45:45'),(426,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000018\'','expenses/saveExpense','0.00036191940307617','2016-06-13 12:45:45'),(427,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000017\'','expenses/saveExpense','0.00041413307189941','2016-06-13 12:45:45'),(428,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.050775051116943','2016-06-13 12:45:45'),(429,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.020303010940552','2016-06-13 12:45:45'),(430,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.080728054046631','2016-06-13 12:45:45'),(431,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1867, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.059862852096558','2016-06-13 12:45:45'),(432,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'275\'','expenses/saveExpense','0.022126913070679','2016-06-13 12:45:45'),(433,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000019\' WHERE `ID` =  1867','expenses/saveExpense','0.033172130584717','2016-06-13 12:45:45'),(434,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000019\', \'Cost of Goods Sold [OP-C[00000019]]\', \'Cost of Goods Sold [OP-C[00000019]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.040213823318481','2016-06-13 12:45:45'),(435,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000019\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000019]\', \'User\')','expenses/saveExpense','0.057823896408081','2016-06-13 12:45:45'),(436,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000019\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000019]\', \'User\')','expenses/saveExpense','0.024965047836304','2016-06-13 12:45:45'),(437,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000019\'','expenses/saveExpense','0.24932503700256','2016-06-13 12:45:45'),(438,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1867','expenses/saveExpense','0.033085107803345','2016-06-13 12:45:45'),(439,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10618','expenses/saveExpense','0.029398918151855','2016-06-13 12:45:45'),(440,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000019\'','expenses/saveExpense','0.033066034317017','2016-06-13 12:45:45'),(441,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.034658908843994','2016-06-13 12:45:45'),(442,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.10704898834229','2016-06-13 12:45:45'),(443,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.051553010940552','2016-06-13 12:45:45'),(444,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1868, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.032733917236328','2016-06-13 12:45:45'),(445,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'275\'','expenses/saveExpense','0.036525964736938','2016-06-13 12:45:45'),(446,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000020\' WHERE `ID` =  1868','expenses/saveExpense','0.020765066146851','2016-06-13 12:45:45'),(447,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000020\', \'Cost of Goods Sold [OP-C[00000020]]\', \'Cost of Goods Sold [OP-C[00000020]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.019204139709473','2016-06-13 12:45:45'),(448,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000020\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000020]\', \'User\')','expenses/saveExpense','0.024513006210327','2016-06-13 12:45:45'),(449,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000020\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000020]\', \'User\')','expenses/saveExpense','0.024526119232178','2016-06-13 12:45:45'),(450,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000020\'','expenses/saveExpense','0.020766019821167','2016-06-13 12:45:45'),(451,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1868','expenses/saveExpense','0.024799108505249','2016-06-13 12:45:45'),(452,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10619','expenses/saveExpense','0.036983966827393','2016-06-13 12:45:45'),(453,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000020\'','expenses/saveExpense','0.020819902420044','2016-06-13 12:45:45'),(454,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.035002946853638','2016-06-13 12:45:45'),(455,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.020025968551636','2016-06-13 12:45:45'),(456,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.054641962051392','2016-06-13 12:45:47'),(457,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1869, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.032551050186157','2016-06-13 12:45:47'),(458,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'275\'','expenses/saveExpense','0.030426025390625','2016-06-13 12:45:47'),(459,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000021\' WHERE `ID` =  1869','expenses/saveExpense','0.011966943740845','2016-06-13 12:45:47'),(460,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000021\', \'Cost of Goods Sold [OP-C[00000021]]\', \'Cost of Goods Sold [OP-C[00000021]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.011425971984863','2016-06-13 12:45:47'),(461,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000021\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000021]\', \'User\')','expenses/saveExpense','0.024630069732666','2016-06-13 12:45:47'),(462,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000021\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000021]\', \'User\')','expenses/saveExpense','0.011646032333374','2016-06-13 12:45:47'),(463,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.042090177536011','2016-06-13 12:45:47'),(464,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000021\'','expenses/saveExpense','0.016323089599609','2016-06-13 12:45:47'),(465,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1869','expenses/saveExpense','0.040749788284302','2016-06-13 12:45:47'),(466,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1870, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.037169933319092','2016-06-13 12:45:47'),(467,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10620','expenses/saveExpense','0.021785974502563','2016-06-13 12:45:47'),(468,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'275\'','expenses/saveExpense','0.017297983169556','2016-06-13 12:45:48'),(469,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000021\'','expenses/saveExpense','0.02847695350647','2016-06-13 12:45:48'),(470,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000022\' WHERE `ID` =  1870','expenses/saveExpense','0.024780988693237','2016-06-13 12:45:48'),(471,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016955852508545','2016-06-13 12:45:48'),(472,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000022\', \'Cost of Goods Sold [OP-C[00000022]]\', \'Cost of Goods Sold [OP-C[00000022]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.040252923965454','2016-06-13 12:45:48'),(473,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.018943071365356','2016-06-13 12:45:48'),(474,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000022\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000022]\', \'User\')','expenses/saveExpense','0.016061067581177','2016-06-13 12:45:48'),(475,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000022\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000022]\', \'User\')','expenses/saveExpense','0.020946025848389','2016-06-13 12:45:48'),(476,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000022\'','expenses/saveExpense','0.033070087432861','2016-06-13 12:45:48'),(477,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1870','expenses/saveExpense','0.036655902862549','2016-06-13 12:45:48'),(478,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.04109787940979','2016-06-13 12:45:48'),(479,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10621','expenses/saveExpense','0.041417121887207','2016-06-13 12:45:48'),(480,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1871, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.057823896408081','2016-06-13 12:45:48'),(481,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000022\'','expenses/saveExpense','0.029011964797974','2016-06-13 12:45:48'),(482,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'275\'','expenses/saveExpense','0.017155170440674','2016-06-13 12:45:48'),(483,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.018431901931763','2016-06-13 12:45:48'),(484,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000023\' WHERE `ID` =  1871','expenses/saveExpense','0.020333051681519','2016-06-13 12:45:48'),(485,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016817092895508','2016-06-13 12:45:48'),(486,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000023\', \'Cost of Goods Sold [OP-C[00000023]]\', \'Cost of Goods Sold [OP-C[00000023]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.027726173400879','2016-06-13 12:45:48'),(487,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000023\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000023]\', \'User\')','expenses/saveExpense','0.020195960998535','2016-06-13 12:45:48'),(488,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000023\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000023]\', \'User\')','expenses/saveExpense','0.029119968414307','2016-06-13 12:45:48'),(489,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000023\'','expenses/saveExpense','0.036761045455933','2016-06-13 12:45:48'),(490,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1871','expenses/saveExpense','0.024825096130371','2016-06-13 12:45:48'),(491,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.026855945587158','2016-06-13 12:45:48'),(492,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10622','expenses/saveExpense','0.024760961532593','2016-06-13 12:45:48'),(493,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1872, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.020808935165405','2016-06-13 12:45:48'),(494,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000023\'','expenses/saveExpense','0.016412973403931','2016-06-13 12:45:48'),(495,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'275\'','expenses/saveExpense','0.032725095748901','2016-06-13 12:45:48'),(496,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.022701025009155','2016-06-13 12:45:48'),(497,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000024\' WHERE `ID` =  1872','expenses/saveExpense','0.041429996490479','2016-06-13 12:45:48'),(498,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.02007007598877','2016-06-13 12:45:48'),(499,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000024\', \'Cost of Goods Sold [OP-C[00000024]]\', \'Cost of Goods Sold [OP-C[00000024]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.03191089630127','2016-06-13 12:45:48'),(500,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000024\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000024]\', \'User\')','expenses/saveExpense','0.024448871612549','2016-06-13 12:45:48'),(501,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000024\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000024]\', \'User\')','expenses/saveExpense','0.02459716796875','2016-06-13 12:45:48'),(502,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000024\'','expenses/saveExpense','0.033097982406616','2016-06-13 12:45:48'),(503,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.028591871261597','2016-06-13 12:45:48'),(504,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1872','expenses/saveExpense','0.024776935577393','2016-06-13 12:45:48'),(505,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1873, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.024549007415771','2016-06-13 12:45:48'),(506,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10623','expenses/saveExpense','0.028955936431885','2016-06-13 12:45:48'),(507,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'275\'','expenses/saveExpense','0.020118951797485','2016-06-13 12:45:48'),(508,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000024\'','expenses/saveExpense','0.020511150360107','2016-06-13 12:45:48'),(509,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000025\' WHERE `ID` =  1873','expenses/saveExpense','0.016443967819214','2016-06-13 12:45:48'),(510,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.014368057250977','2016-06-13 12:45:48'),(511,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000025\', \'Cost of Goods Sold [OP-C[00000025]]\', \'Cost of Goods Sold [OP-C[00000025]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.019487857818604','2016-06-13 12:45:48'),(512,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019593954086304','2016-06-13 12:45:48'),(513,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000025\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000025]\', \'User\')','expenses/saveExpense','0.020292997360229','2016-06-13 12:45:48'),(514,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000025\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000025]\', \'User\')','expenses/saveExpense','0.029036045074463','2016-06-13 12:45:48'),(515,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000025\'','expenses/saveExpense','0.020150899887085','2016-06-13 12:45:48'),(516,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1873','expenses/saveExpense','0.024745941162109','2016-06-13 12:45:49'),(517,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10624','expenses/saveExpense','0.062718152999878','2016-06-13 12:45:49'),(518,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000025\'','expenses/saveExpense','0.04501485824585','2016-06-13 12:45:49'),(519,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.022830009460449','2016-06-13 12:45:49'),(520,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023619890213013','2016-06-13 12:45:49'),(521,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.098571062088013','2016-06-13 12:45:49'),(522,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1874, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.024463176727295','2016-06-13 12:45:49'),(523,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'275\'','expenses/saveExpense','0.016747951507568','2016-06-13 12:45:49'),(524,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000026\' WHERE `ID` =  1874','expenses/saveExpense','0.024742126464844','2016-06-13 12:45:49'),(525,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000026\', \'Cost of Goods Sold [OP-C[00000026]]\', \'Cost of Goods Sold [OP-C[00000026]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.031955003738403','2016-06-13 12:45:49'),(526,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000026\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000026]\', \'User\')','expenses/saveExpense','0.089330911636353','2016-06-13 12:45:49'),(527,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000026\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000026]\', \'User\')','expenses/saveExpense','0.097436189651489','2016-06-13 12:45:49'),(528,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000026\'','expenses/saveExpense','0.058192014694214','2016-06-13 12:45:49'),(529,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1874','expenses/saveExpense','0.23581099510193','2016-06-13 12:45:49'),(530,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10625','expenses/saveExpense','0.071917057037354','2016-06-13 12:45:49'),(531,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000026\'','expenses/saveExpense','0.036794900894165','2016-06-13 12:45:49'),(532,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.074066877365112','2016-06-13 12:45:49'),(533,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019850969314575','2016-06-13 12:45:49'),(534,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.37150001525879','2016-06-13 12:45:49'),(535,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.035833120346069','2016-06-13 12:45:49'),(536,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1875, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.18610382080078','2016-06-13 12:45:50'),(537,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1876, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.049453020095825','2016-06-13 12:45:50'),(538,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'275\'','expenses/saveExpense','0.019570827484131','2016-06-13 12:45:50'),(539,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'275\'','expenses/saveExpense','0.019647121429443','2016-06-13 12:45:50'),(540,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000027\' WHERE `ID` =  1875','expenses/saveExpense','0.020863056182861','2016-06-13 12:45:50'),(541,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000027\' WHERE `ID` =  1876','expenses/saveExpense','0.020898103713989','2016-06-13 12:45:50'),(542,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000027\', \'Cost of Goods Sold [OP-C[00000027]]\', \'Cost of Goods Sold [OP-C[00000027]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.069177865982056','2016-06-13 12:45:50'),(543,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000027\', \'Cost of Goods Sold [OP-C[00000028]]\', \'Cost of Goods Sold [OP-C[00000028]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.035950899124146','2016-06-13 12:45:50'),(544,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1875','expenses/saveExpense','0.024801015853882','2016-06-13 12:45:50'),(545,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10627','expenses/saveExpense','0.020591974258423','2016-06-13 12:45:50'),(546,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000027\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000028]\', \'User\')','expenses/saveExpense','0.024461030960083','2016-06-13 12:45:50'),(547,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000027\'','expenses/saveExpense','0.020493030548096','2016-06-13 12:45:50'),(548,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000027\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000028]\', \'User\')','expenses/saveExpense','0.020669937133789','2016-06-13 12:45:50'),(549,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.027018070220947','2016-06-13 12:45:50'),(550,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000027\'','expenses/saveExpense','0.020235061645508','2016-06-13 12:45:50'),(551,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1876','expenses/saveExpense','0.020859003067017','2016-06-13 12:45:50'),(552,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.19330716133118','2016-06-13 12:45:50'),(553,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.030906915664673','2016-06-13 12:45:50'),(554,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10626','expenses/saveExpense','0.020373821258545','2016-06-13 12:45:50'),(555,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1878, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.020354032516479','2016-06-13 12:45:50'),(556,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000027\'','expenses/saveExpense','0.00040102005004883','2016-06-13 12:45:50'),(557,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'275\'','expenses/saveExpense','0.022166967391968','2016-06-13 12:45:50'),(558,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000028\' WHERE `ID` =  1878','expenses/saveExpense','0.22475719451904','2016-06-13 12:45:50'),(559,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.21271085739136','2016-06-13 12:45:50'),(560,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000028\', \'Cost of Goods Sold [OP-C[00000029]]\', \'Cost of Goods Sold [OP-C[00000029]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.073312997817993','2016-06-13 12:45:50'),(561,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.04564905166626','2016-06-13 12:45:50'),(562,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000028\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000029]\', \'User\')','expenses/saveExpense','0.07034707069397','2016-06-13 12:45:50'),(563,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000028\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000029]\', \'User\')','expenses/saveExpense','0.041214942932129','2016-06-13 12:45:50'),(564,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000028\'','expenses/saveExpense','0.049687147140503','2016-06-13 12:45:50'),(565,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1878','expenses/saveExpense','0.033148765563965','2016-06-13 12:45:50'),(566,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10628','expenses/saveExpense','0.041428089141846','2016-06-13 12:45:50'),(567,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000028\'','expenses/saveExpense','0.020406007766724','2016-06-13 12:45:51'),(568,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.18191289901733','2016-06-13 12:45:51'),(569,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.027009010314941','2016-06-13 12:45:51'),(570,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1881, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.071481943130493','2016-06-13 12:45:51'),(571,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019481897354126','2016-06-13 12:45:51'),(572,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  \'275\'','expenses/saveExpense','0.018498182296753','2016-06-13 12:45:51'),(573,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.24739003181458','2016-06-13 12:45:51'),(574,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000030\' WHERE `ID` =  1881','expenses/saveExpense','0.11599111557007','2016-06-13 12:45:51'),(575,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1879, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.032473802566528','2016-06-13 12:45:51'),(576,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'275\'','expenses/saveExpense','0.0085630416870117','2016-06-13 12:45:51'),(577,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000030\', \'Cost of Goods Sold [OP-C[00000031]]\', \'Cost of Goods Sold [OP-C[00000031]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.18643999099731','2016-06-13 12:45:51'),(578,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1881','expenses/saveExpense','0.02051305770874','2016-06-13 12:45:51'),(579,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000029\' WHERE `ID` =  1879','expenses/saveExpense','0.020875930786133','2016-06-13 12:45:51'),(580,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10630','expenses/saveExpense','0.053972005844116','2016-06-13 12:45:51'),(581,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000029\', \'Cost of Goods Sold [OP-C[00000030]]\', \'Cost of Goods Sold [OP-C[00000030]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.031852006912231','2016-06-13 12:45:51'),(582,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000030\'','expenses/saveExpense','0.00038814544677734','2016-06-13 12:45:51'),(583,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000029\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000030]\', \'User\')','expenses/saveExpense','0.18917298316956','2016-06-13 12:45:51'),(584,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000029\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000030]\', \'User\')','expenses/saveExpense','0.077666997909546','2016-06-13 12:45:51'),(585,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.046937942504883','2016-06-13 12:45:51'),(586,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000029\'','expenses/saveExpense','0.027482986450195','2016-06-13 12:45:51'),(587,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1882, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.049487113952637','2016-06-13 12:45:51'),(588,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.088567972183228','2016-06-13 12:45:51'),(589,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1879','expenses/saveExpense','0.049822092056274','2016-06-13 12:45:51'),(590,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  \'275\'','expenses/saveExpense','0.073889017105103','2016-06-13 12:45:51'),(591,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1883, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.045274019241333','2016-06-13 12:45:51'),(592,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10629','expenses/saveExpense','0.27917098999023','2016-06-13 12:45:51'),(593,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000031\' WHERE `ID` =  1882','expenses/saveExpense','0.020637035369873','2016-06-13 12:45:51'),(594,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  \'275\'','expenses/saveExpense','0.051439046859741','2016-06-13 12:45:51'),(595,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000031\', \'Cost of Goods Sold [OP-C[00000032]]\', \'Cost of Goods Sold [OP-C[00000032]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.018373012542725','2016-06-13 12:45:51'),(596,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000029\'','expenses/saveExpense','0.028537034988403','2016-06-13 12:45:51'),(597,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000032\' WHERE `ID` =  1883','expenses/saveExpense','0.028925180435181','2016-06-13 12:45:51'),(598,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000031\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000032]\', \'User\')','expenses/saveExpense','0.020060062408447','2016-06-13 12:45:51'),(599,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.057080030441284','2016-06-13 12:45:51'),(600,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000032\', \'Cost of Goods Sold [OP-C[00000033]]\', \'Cost of Goods Sold [OP-C[00000033]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.011197090148926','2016-06-13 12:45:51'),(601,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019861936569214','2016-06-13 12:45:51'),(602,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000031\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000032]\', \'User\')','expenses/saveExpense','0.016188859939575','2016-06-13 12:45:51'),(603,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000032\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000033]\', \'User\')','expenses/saveExpense','0.016172170639038','2016-06-13 12:45:51'),(604,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000031\'','expenses/saveExpense','0.01630711555481','2016-06-13 12:45:51'),(605,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000032\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000033]\', \'User\')','expenses/saveExpense','0.016258955001831','2016-06-13 12:45:51'),(606,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1882','expenses/saveExpense','0.01652193069458','2016-06-13 12:45:51'),(607,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000032\'','expenses/saveExpense','0.016299962997437','2016-06-13 12:45:51'),(608,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1883','expenses/saveExpense','0.0206139087677','2016-06-13 12:45:51'),(609,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10631','expenses/saveExpense','0.024748802185059','2016-06-13 12:45:51'),(610,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10632','expenses/saveExpense','0.020577907562256','2016-06-13 12:45:51'),(611,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000031\'','expenses/saveExpense','0.024660110473633','2016-06-13 12:45:51'),(612,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000032\'','expenses/saveExpense','0.024762153625488','2016-06-13 12:45:51'),(613,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.01898193359375','2016-06-13 12:45:51'),(614,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.027573108673096','2016-06-13 12:45:51'),(615,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.018616914749146','2016-06-13 12:45:51'),(616,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.035817861557007','2016-06-13 12:45:51'),(617,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.047675132751465','2016-06-13 12:45:51'),(618,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1884, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.020319938659668','2016-06-13 12:45:51'),(619,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  \'275\'','expenses/saveExpense','0.012577056884766','2016-06-13 12:45:52'),(620,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000033\' WHERE `ID` =  1884','expenses/saveExpense','0.020627021789551','2016-06-13 12:45:52'),(621,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000033\', \'Cost of Goods Sold [OP-C[00000034]]\', \'Cost of Goods Sold [OP-C[00000034]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.015223979949951','2016-06-13 12:45:52'),(622,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000033\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000034]\', \'User\')','expenses/saveExpense','0.024172782897949','2016-06-13 12:45:52'),(623,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000033\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000034]\', \'User\')','expenses/saveExpense','0.016236066818237','2016-06-13 12:45:52'),(624,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000033\'','expenses/saveExpense','0.020880937576294','2016-06-13 12:45:52'),(625,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1884','expenses/saveExpense','0.028926134109497','2016-06-13 12:45:52'),(626,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10633','expenses/saveExpense','0.016340970993042','2016-06-13 12:45:52'),(627,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000033\'','expenses/saveExpense','0.012266159057617','2016-06-13 12:45:52'),(628,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.010418891906738','2016-06-13 12:45:52'),(629,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.028775930404663','2016-06-13 12:45:52'),(630,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.20946383476257','2016-06-13 12:45:52'),(631,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1886, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.01616096496582','2016-06-13 12:45:52'),(632,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  \'275\'','expenses/saveExpense','0.066867113113403','2016-06-13 12:45:52'),(633,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000034\' WHERE `ID` =  1886','expenses/saveExpense','0.17063307762146','2016-06-13 12:45:52'),(634,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000034\', \'Cost of Goods Sold [OP-C[00000035]]\', \'Cost of Goods Sold [OP-C[00000035]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.06957221031189','2016-06-13 12:45:52'),(635,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000034\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000035]\', \'User\')','expenses/saveExpense','0.070334911346436','2016-06-13 12:45:52'),(636,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000034\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000035]\', \'User\')','expenses/saveExpense','0.04952597618103','2016-06-13 12:45:52'),(637,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000034\'','expenses/saveExpense','0.02466893196106','2016-06-13 12:45:52'),(638,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1886','expenses/saveExpense','0.020696878433228','2016-06-13 12:45:52'),(639,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10634','expenses/saveExpense','0.037166833877563','2016-06-13 12:45:52'),(640,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000034\'','expenses/saveExpense','0.016393899917603','2016-06-13 12:45:52'),(641,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.14721989631653','2016-06-13 12:45:52'),(642,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.03928804397583','2016-06-13 12:45:52'),(643,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1887, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.0241858959198','2016-06-13 12:45:52'),(644,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.053009033203125','2016-06-13 12:45:52'),(645,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  \'275\'','expenses/saveExpense','0.033397197723389','2016-06-13 12:45:52'),(646,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000035\' WHERE `ID` =  1887','expenses/saveExpense','0.033127784729004','2016-06-13 12:45:52'),(647,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000035\', \'Cost of Goods Sold [OP-C[00000036]]\', \'Cost of Goods Sold [OP-C[00000036]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.036123991012573','2016-06-13 12:45:52'),(648,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000035\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.027940034866333','2016-06-13 12:45:52'),(649,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000035\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.04604697227478','2016-06-13 12:45:52'),(650,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000035\'','expenses/saveExpense','0.049391984939575','2016-06-13 12:45:52'),(651,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1887','expenses/saveExpense','0.024794816970825','2016-06-13 12:45:52'),(652,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10635','expenses/saveExpense','0.020846128463745','2016-06-13 12:45:52'),(653,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000035\'','expenses/saveExpense','0.033029079437256','2016-06-13 12:45:52'),(654,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.026632070541382','2016-06-13 12:45:53'),(655,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019752979278564','2016-06-13 12:45:53'),(656,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'45\', \'OP-C\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.17437505722046','2016-06-13 12:45:53'),(657,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1890, `createdBy` = \'User\', `itemdescription` = \'dsdaf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'45\', `amountExcludedTax` = \'45\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1814\'','expenses/saveExpense','0.024532079696655','2016-06-13 12:45:53'),(658,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  \'275\'','expenses/saveExpense','0.019324064254761','2016-06-13 12:45:53'),(659,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000036\' WHERE `ID` =  1890','expenses/saveExpense','0.020178079605103','2016-06-13 12:45:53'),(660,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000036\', \'Cost of Goods Sold [OP-C[00000037]]\', \'Cost of Goods Sold [OP-C[00000037]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 45, 45, \'User\')','expenses/saveExpense','0.015640020370483','2016-06-13 12:45:53'),(661,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000036\', 1, \'dsdaf\', \'32761\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000037]\', \'User\')','expenses/saveExpense','0.020473003387451','2016-06-13 12:45:53'),(662,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000036\', 2, \'dsdaf\', \'32773\', 45, 1, \'1\', \'45\', \'06\', \'16\', \'1\', \'OP-C[00000037]\', \'User\')','expenses/saveExpense','0.011935949325562','2016-06-13 12:45:54'),(663,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000036\'','expenses/saveExpense','0.012326002120972','2016-06-13 12:45:54'),(664,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1890','expenses/saveExpense','0.012228012084961','2016-06-13 12:45:54'),(665,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10636','expenses/saveExpense','0.012383937835693','2016-06-13 12:45:54'),(666,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000036\'','expenses/saveExpense','0.020425081253052','2016-06-13 12:45:54'),(667,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.033766031265259','2016-06-13 12:45:54'),(668,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015659093856812','2016-06-13 12:45:54'),(669,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.044808149337769','2016-06-13 12:46:16'),(670,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1891, \'User\', \'ere\', 1, \'32775\', \'44\', \'44\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.012885093688965','2016-06-13 12:46:16'),(671,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  \'275\'','expenses/saveExpense','0.0073888301849365','2016-06-13 12:46:16'),(672,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000037\' WHERE `ID` =  1891','expenses/saveExpense','0.012809991836548','2016-06-13 12:46:16'),(673,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000037\', \'Operating Expenses [OP-E[00000038]]\', \'Operating Expenses [OP-E[00000038]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.0079741477966309','2016-06-13 12:46:16'),(674,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000037\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000038]\', \'User\')','expenses/saveExpense','0.012546062469482','2016-06-13 12:46:16'),(675,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000037\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000038]\', \'User\')','expenses/saveExpense','0.016211986541748','2016-06-13 12:46:16'),(676,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000037\'','expenses/saveExpense','0.011989116668701','2016-06-13 12:46:16'),(677,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1891','expenses/saveExpense','0.012544870376587','2016-06-13 12:46:16'),(678,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10637','expenses/saveExpense','0.012068033218384','2016-06-13 12:46:17'),(679,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000037\'','expenses/saveExpense','0.012460947036743','2016-06-13 12:46:17'),(680,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.010094165802002','2016-06-13 12:46:17'),(681,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32775\', \'2016\', \'6\', \'44\', \'0\', 44, \'User\', \'2016-06-13: 06:06:16\')','expenses/saveExpense','0.010882139205933','2016-06-13 12:46:17'),(682,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.0210280418396','2016-06-13 12:46:17'),(683,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1892, \'User\', \'ere\', 1, \'32775\', \'44\', \'44\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024426937103271','2016-06-13 12:46:17'),(684,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  \'275\'','expenses/saveExpense','0.028193950653076','2016-06-13 12:46:18'),(685,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000038\' WHERE `ID` =  1892','expenses/saveExpense','0.010878086090088','2016-06-13 12:46:18'),(686,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000038\', \'Operating Expenses [OP-E[00000039]]\', \'Operating Expenses [OP-E[00000039]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.0092110633850098','2016-06-13 12:46:18'),(687,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000038\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.01960301399231','2016-06-13 12:46:18'),(688,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000038\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.01271390914917','2016-06-13 12:46:18'),(689,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000038\'','expenses/saveExpense','0.011553049087524','2016-06-13 12:46:18'),(690,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1892','expenses/saveExpense','0.013041973114014','2016-06-13 12:46:18'),(691,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10638','expenses/saveExpense','0.01153302192688','2016-06-13 12:46:18'),(692,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000038\'','expenses/saveExpense','0.012834072113037','2016-06-13 12:46:18'),(693,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.018202066421509','2016-06-13 12:46:18'),(694,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.01192307472229','2016-06-13 12:46:18'),(695,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.023965120315552','2016-06-13 12:46:18'),(696,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1893, \'User\', \'ere\', 1, \'32775\', \'44\', \'44\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024733066558838','2016-06-13 12:46:18'),(697,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'275\'','expenses/saveExpense','0.014986038208008','2016-06-13 12:46:18'),(698,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000039\' WHERE `ID` =  1893','expenses/saveExpense','0.012593984603882','2016-06-13 12:46:18'),(699,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000039\', \'Operating Expenses [OP-E[00000040]]\', \'Operating Expenses [OP-E[00000040]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.0081799030303955','2016-06-13 12:46:18'),(700,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000039\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000040]\', \'User\')','expenses/saveExpense','0.0075690746307373','2016-06-13 12:46:18'),(701,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000039\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000040]\', \'User\')','expenses/saveExpense','0.0081779956817627','2016-06-13 12:46:18'),(702,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000039\'','expenses/saveExpense','0.012513875961304','2016-06-13 12:46:18'),(703,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1893','expenses/saveExpense','0.012021064758301','2016-06-13 12:46:18'),(704,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10639','expenses/saveExpense','0.016150951385498','2016-06-13 12:46:18'),(705,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000039\'','expenses/saveExpense','0.01285195350647','2016-06-13 12:46:18'),(706,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.009753942489624','2016-06-13 12:46:18'),(707,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.01178503036499','2016-06-13 12:46:18'),(708,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'ewrw\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'44\', `formNo` = \'OP-E\', `paymentDate` = \'2016-06-13\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1891\'','expenses/saveExpense','0.0003969669342041','2016-06-13 12:46:18'),(709,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1891\', `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1815\'','expenses/saveExpense','0.00047111511230469','2016-06-13 12:46:18'),(710,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'ewrw\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'44\', `formNo` = \'OP-E\', `paymentDate` = \'2016-06-13\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1891\'','expenses/saveExpense','0.00039005279541016','2016-06-13 12:46:18'),(711,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  \'275\'','expenses/saveExpense','0.035399913787842','2016-06-13 12:46:18'),(712,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'ewrw\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'44\', `formNo` = \'OP-E\', `paymentDate` = \'2016-06-13\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1891\'','expenses/saveExpense','0.0091378688812256','2016-06-13 12:46:18'),(713,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1891\', `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1815\'','expenses/saveExpense','0.00035285949707031','2016-06-13 12:46:18'),(714,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000041\' WHERE `ID` =  \'1891\'','expenses/saveExpense','0.016494035720825','2016-06-13 12:46:18'),(715,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1891\', `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1815\'','expenses/saveExpense','0.00033903121948242','2016-06-13 12:46:18'),(716,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'275\'','expenses/saveExpense','0.026558876037598','2016-06-13 12:46:18'),(717,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000041\', \'Operating Expenses [OP-E[00000038]]\', \'Operating Expenses [OP-E[00000038]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.031629085540771','2016-06-13 12:46:18'),(718,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000040\' WHERE `ID` =  \'1891\'','expenses/saveExpense','0.018460035324097','2016-06-13 12:46:18'),(719,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'275\'','expenses/saveExpense','0.03709888458252','2016-06-13 12:46:18'),(720,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000041\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000038]\', \'User\')','expenses/saveExpense','0.016102075576782','2016-06-13 12:46:18'),(721,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000040\', \'Operating Expenses [OP-E[00000038]]\', \'Operating Expenses [OP-E[00000038]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.020220994949341','2016-06-13 12:46:18'),(722,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000041\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000038]\', \'User\')','expenses/saveExpense','0.016221046447754','2016-06-13 12:46:19'),(723,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000040\' WHERE `ID` =  \'1891\'','expenses/saveExpense','0.016458034515381','2016-06-13 12:46:19'),(724,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000040\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000038]\', \'User\')','expenses/saveExpense','0.019620895385742','2016-06-13 12:46:19'),(725,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000041\'','expenses/saveExpense','0.016355991363525','2016-06-13 12:46:19'),(726,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000040\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000038]\', \'User\')','expenses/saveExpense','0.024729013442993','2016-06-13 12:46:19'),(727,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000040\', \'Operating Expenses [OP-E[00000038]]\', \'Operating Expenses [OP-E[00000038]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.02363920211792','2016-06-13 12:46:19'),(728,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1891\'','expenses/saveExpense','0.00032782554626465','2016-06-13 12:46:19'),(729,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000040\'','expenses/saveExpense','0.01639986038208','2016-06-13 12:46:19'),(730,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000040\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000038]\', \'User\')','expenses/saveExpense','0.016078948974609','2016-06-13 12:46:19'),(731,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10642','expenses/saveExpense','0.015925884246826','2016-06-13 12:46:19'),(732,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1891\'','expenses/saveExpense','0.00039815902709961','2016-06-13 12:46:19'),(733,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000040\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000038]\', \'User\')','expenses/saveExpense','0.016237020492554','2016-06-13 12:46:19'),(734,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000041\'','expenses/saveExpense','0.016380786895752','2016-06-13 12:46:19'),(735,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10640','expenses/saveExpense','0.015871047973633','2016-06-13 12:46:19'),(736,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000040\'','expenses/saveExpense','0.016350984573364','2016-06-13 12:46:19'),(737,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.022673845291138','2016-06-13 12:46:19'),(738,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000040\'','expenses/saveExpense','0.01633095741272','2016-06-13 12:46:19'),(739,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1891\'','expenses/saveExpense','0.016491889953613','2016-06-13 12:46:19'),(740,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023722887039185','2016-06-13 12:46:19'),(741,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.022716045379639','2016-06-13 12:46:19'),(742,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10641','expenses/saveExpense','0.016398191452026','2016-06-13 12:46:19'),(743,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015321016311646','2016-06-13 12:46:19'),(744,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000040\'','expenses/saveExpense','0.00037789344787598','2016-06-13 12:46:19'),(745,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023746967315674','2016-06-13 12:46:19'),(746,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.022101879119873','2016-06-13 12:46:19'),(747,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015324831008911','2016-06-13 12:46:19'),(748,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015296936035156','2016-06-13 12:46:19'),(749,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023762941360474','2016-06-13 12:46:19'),(750,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023231983184814','2016-06-13 12:46:19'),(751,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.048619031906128','2016-06-13 12:46:20'),(752,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1896, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.058145999908447','2016-06-13 12:46:20'),(753,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'275\'','expenses/saveExpense','0.021347999572754','2016-06-13 12:46:20'),(754,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.034507036209106','2016-06-13 12:46:20'),(755,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000043\' WHERE `ID` =  1896','expenses/saveExpense','0.033347845077515','2016-06-13 12:46:20'),(756,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'ewrw\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'44\', `formNo` = \'OP-E\', `paymentDate` = \'2016-06-13\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1893\'','expenses/saveExpense','0.02754807472229','2016-06-13 12:46:20'),(757,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1895, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.054419040679932','2016-06-13 12:46:20'),(758,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.17703485488892','2016-06-13 12:46:20'),(759,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000043\', \'Operating Expenses [OP-E[00000043]]\', \'Operating Expenses [OP-E[00000043]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.047775030136108','2016-06-13 12:46:20'),(760,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1893\', `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.00036907196044922','2016-06-13 12:46:20'),(761,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1894, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1815\'','expenses/saveExpense','0.052879095077515','2016-06-13 12:46:20'),(762,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'275\'','expenses/saveExpense','0.03445291519165','2016-06-13 12:46:20'),(763,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1896','expenses/saveExpense','0.016417026519775','2016-06-13 12:46:20'),(764,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'275\'','expenses/saveExpense','0.014961004257202','2016-06-13 12:46:20'),(765,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.077258825302124','2016-06-13 12:46:20'),(766,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000042\' WHERE `ID` =  1895','expenses/saveExpense','0.063523054122925','2016-06-13 12:46:20'),(767,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10646','expenses/saveExpense','0.033108949661255','2016-06-13 12:46:20'),(768,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000042\' WHERE `ID` =  \'1893\'','expenses/saveExpense','0.049649000167847','2016-06-13 12:46:20'),(769,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'275\'','expenses/saveExpense','0.023015022277832','2016-06-13 12:46:20'),(770,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1897, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.024829864501953','2016-06-13 12:46:20'),(771,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000042\' WHERE `ID` =  1894','expenses/saveExpense','0.041582822799683','2016-06-13 12:46:20'),(772,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000042\', \'Operating Expenses [OP-E[00000042]]\', \'Operating Expenses [OP-E[00000042]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.039924144744873','2016-06-13 12:46:20'),(773,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000043\'','expenses/saveExpense','0.00035691261291504','2016-06-13 12:46:20'),(774,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000042\', \'Operating Expenses [OP-E[00000040]]\', \'Operating Expenses [OP-E[00000040]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.056663036346436','2016-06-13 12:46:20'),(775,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'275\'','expenses/saveExpense','0.012794971466064','2016-06-13 12:46:20'),(776,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000042\', \'Operating Expenses [OP-E[00000041]]\', \'Operating Expenses [OP-E[00000041]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.056664943695068','2016-06-13 12:46:20'),(777,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000044\' WHERE `ID` =  1897','expenses/saveExpense','0.066326856613159','2016-06-13 12:46:20'),(778,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1893\'','expenses/saveExpense','0.025094985961914','2016-06-13 12:46:20'),(779,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000042\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000042]\', \'User\')','expenses/saveExpense','0.024533033370972','2016-06-13 12:46:20'),(780,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000042\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000041]\', \'User\')','expenses/saveExpense','0.016172885894775','2016-06-13 12:46:20'),(781,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10644','expenses/saveExpense','0.024885892868042','2016-06-13 12:46:20'),(782,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000042\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000042]\', \'User\')','expenses/saveExpense','0.016665935516357','2016-06-13 12:46:20'),(783,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000044\', \'Operating Expenses [OP-E[00000044]]\', \'Operating Expenses [OP-E[00000044]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.015239000320435','2016-06-13 12:46:20'),(784,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000042\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000041]\', \'User\')','expenses/saveExpense','0.02450704574585','2016-06-13 12:46:20'),(785,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000042\'','expenses/saveExpense','0.024397134780884','2016-06-13 12:46:20'),(786,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000044\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000044]\', \'User\')','expenses/saveExpense','0.032240152359009','2016-06-13 12:46:20'),(787,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000042\'','expenses/saveExpense','0.015995025634766','2016-06-13 12:46:20'),(788,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000042\'','expenses/saveExpense','0.02515697479248','2016-06-13 12:46:20'),(789,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1895','expenses/saveExpense','0.033182144165039','2016-06-13 12:46:20'),(790,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000044\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000044]\', \'User\')','expenses/saveExpense','0.029711008071899','2016-06-13 12:46:20'),(791,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023324966430664','2016-06-13 12:46:20'),(792,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1894','expenses/saveExpense','0.041147947311401','2016-06-13 12:46:20'),(793,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10645','expenses/saveExpense','0.033159017562866','2016-06-13 12:46:20'),(794,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000044\'','expenses/saveExpense','0.028114080429077','2016-06-13 12:46:20'),(795,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.032018184661865','2016-06-13 12:46:20'),(796,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10643','expenses/saveExpense','0.033131122589111','2016-06-13 12:46:20'),(797,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000042\'','expenses/saveExpense','0.0015478134155273','2016-06-13 12:46:20'),(798,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1897','expenses/saveExpense','0.046380996704102','2016-06-13 12:46:20'),(799,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000042\'','expenses/saveExpense','0.0016388893127441','2016-06-13 12:46:20'),(800,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.048736810684204','2016-06-13 12:46:20'),(801,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.021161079406738','2016-06-13 12:46:21'),(802,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10647','expenses/saveExpense','0.061504125595093','2016-06-13 12:46:21'),(803,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.070219993591309','2016-06-13 12:46:21'),(804,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.037132024765015','2016-06-13 12:46:21'),(805,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023087978363037','2016-06-13 12:46:21'),(806,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000044\'','expenses/saveExpense','0.043879985809326','2016-06-13 12:46:21'),(807,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.040629863739014','2016-06-13 12:46:21'),(808,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.040186882019043','2016-06-13 12:46:21'),(809,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.020276069641113','2016-06-13 12:46:21'),(810,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023255109786987','2016-06-13 12:46:21'),(811,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.040352821350098','2016-06-13 12:46:21'),(812,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.040612936019897','2016-06-13 12:46:21'),(813,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.053385019302368','2016-06-13 12:46:21'),(814,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.038604021072388','2016-06-13 12:46:26'),(815,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1898, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.013245820999146','2016-06-13 12:46:26'),(816,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  \'275\'','expenses/saveExpense','0.0068588256835938','2016-06-13 12:46:26'),(817,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000045\' WHERE `ID` =  1898','expenses/saveExpense','0.0084030628204346','2016-06-13 12:46:26'),(818,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000045\', \'Operating Expenses [OP-E[00000045]]\', \'Operating Expenses [OP-E[00000045]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.01202392578125','2016-06-13 12:46:26'),(819,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000045\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000045]\', \'User\')','expenses/saveExpense','0.011207103729248','2016-06-13 12:46:26'),(820,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000045\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000045]\', \'User\')','expenses/saveExpense','0.012875080108643','2016-06-13 12:46:26'),(821,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000045\'','expenses/saveExpense','0.01137900352478','2016-06-13 12:46:26'),(822,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1898','expenses/saveExpense','0.0078821182250977','2016-06-13 12:46:26'),(823,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10648','expenses/saveExpense','0.013391017913818','2016-06-13 12:46:26'),(824,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000045\'','expenses/saveExpense','0.011118173599243','2016-06-13 12:46:26'),(825,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.014754056930542','2016-06-13 12:46:26'),(826,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015053987503052','2016-06-13 12:46:26'),(827,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.028704881668091','2016-06-13 12:46:29'),(828,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1899, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.011073112487793','2016-06-13 12:46:29'),(829,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  \'275\'','expenses/saveExpense','0.017818927764893','2016-06-13 12:46:29'),(830,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000046\' WHERE `ID` =  1899','expenses/saveExpense','0.021563053131104','2016-06-13 12:46:29'),(831,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000046\', \'Operating Expenses [OP-E[00000046]]\', \'Operating Expenses [OP-E[00000046]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.010199069976807','2016-06-13 12:46:29'),(832,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000046\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000046]\', \'User\')','expenses/saveExpense','0.0075600147247314','2016-06-13 12:46:29'),(833,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000046\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000046]\', \'User\')','expenses/saveExpense','0.0082008838653564','2016-06-13 12:46:29'),(834,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000046\'','expenses/saveExpense','0.013206958770752','2016-06-13 12:46:29'),(835,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1899','expenses/saveExpense','0.01133394241333','2016-06-13 12:46:29'),(836,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10649','expenses/saveExpense','0.0078260898590088','2016-06-13 12:46:29'),(837,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000046\'','expenses/saveExpense','0.0083420276641846','2016-06-13 12:46:29'),(838,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017003059387207','2016-06-13 12:46:29'),(839,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012521982192993','2016-06-13 12:46:29'),(840,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.03467583656311','2016-06-13 12:46:31'),(841,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1900, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.010754108428955','2016-06-13 12:46:31'),(842,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'275\'','expenses/saveExpense','0.0093498229980469','2016-06-13 12:46:31'),(843,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000047\' WHERE `ID` =  1900','expenses/saveExpense','0.011081218719482','2016-06-13 12:46:31'),(844,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000047\', \'Operating Expenses [OP-E[00000047]]\', \'Operating Expenses [OP-E[00000047]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.012353897094727','2016-06-13 12:46:31'),(845,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000047\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000047]\', \'User\')','expenses/saveExpense','0.010890007019043','2016-06-13 12:46:31'),(846,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000047\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000047]\', \'User\')','expenses/saveExpense','0.00819993019104','2016-06-13 12:46:31'),(847,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000047\'','expenses/saveExpense','0.007749080657959','2016-06-13 12:46:31'),(848,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1900','expenses/saveExpense','0.0084531307220459','2016-06-13 12:46:31'),(849,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10650','expenses/saveExpense','0.0078339576721191','2016-06-13 12:46:31'),(850,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000047\'','expenses/saveExpense','0.0083479881286621','2016-06-13 12:46:31'),(851,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.011157035827637','2016-06-13 12:46:31'),(852,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.010360956192017','2016-06-13 12:46:31'),(853,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.020653009414673','2016-06-13 12:46:31'),(854,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1901, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.02546215057373','2016-06-13 12:46:32'),(855,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'275\'','expenses/saveExpense','0.009105920791626','2016-06-13 12:46:32'),(856,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000048\' WHERE `ID` =  1901','expenses/saveExpense','0.011255025863647','2016-06-13 12:46:32'),(857,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000048\', \'Operating Expenses [OP-E[00000048]]\', \'Operating Expenses [OP-E[00000048]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.012233018875122','2016-06-13 12:46:32'),(858,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000048\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000048]\', \'User\')','expenses/saveExpense','0.010999917984009','2016-06-13 12:46:32'),(859,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000048\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000048]\', \'User\')','expenses/saveExpense','0.0075950622558594','2016-06-13 12:46:32'),(860,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000048\'','expenses/saveExpense','0.008350133895874','2016-06-13 12:46:32'),(861,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1901','expenses/saveExpense','0.013314008712769','2016-06-13 12:46:32'),(862,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10651','expenses/saveExpense','0.011298179626465','2016-06-13 12:46:32'),(863,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000048\'','expenses/saveExpense','0.013229131698608','2016-06-13 12:46:32'),(864,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.0093460083007812','2016-06-13 12:46:32'),(865,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012243986129761','2016-06-13 12:46:32'),(866,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ewrw\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-E\', \'2016-06-13\', \'122\', \'1\')','expenses/saveExpense','0.044074058532715','2016-06-13 12:46:32'),(867,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1902, `createdBy` = \'User\', `itemdescription` = \'ere\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'44\', `amountExcludedTax` = \'44\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1817\'','expenses/saveExpense','0.013267993927002','2016-06-13 12:46:32'),(868,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'275\'','expenses/saveExpense','0.025763988494873','2016-06-13 12:46:32'),(869,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000049\' WHERE `ID` =  1902','expenses/saveExpense','0.012062072753906','2016-06-13 12:46:32'),(870,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000049\', \'Operating Expenses [OP-E[00000049]]\', \'Operating Expenses [OP-E[00000049]]\', \'\', \'3\', \'2016-06-13\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.0098099708557129','2016-06-13 12:46:32'),(871,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000049\', 1, \'ere\', \'32761\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000049]\', \'User\')','expenses/saveExpense','0.0081539154052734','2016-06-13 12:46:32'),(872,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000049\', 2, \'ere\', \'32775\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-E[00000049]\', \'User\')','expenses/saveExpense','0.007580041885376','2016-06-13 12:46:32'),(873,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000049\'','expenses/saveExpense','0.0083229541778564','2016-06-13 12:46:32'),(874,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1902','expenses/saveExpense','0.0078668594360352','2016-06-13 12:46:32'),(875,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10652','expenses/saveExpense','0.0084419250488281','2016-06-13 12:46:32'),(876,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000049\'','expenses/saveExpense','0.013356924057007','2016-06-13 12:46:32'),(877,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.009166955947876','2016-06-13 12:46:32'),(878,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.029021024703979','2016-06-13 12:46:32'),(879,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.11122012138367','2016-06-13 13:11:19'),(880,13,0,'192.168.1.136','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 1\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'9\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.036554098129272','2016-06-13 13:11:44'),(881,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012681484222412','2016-06-13 14:19:17'),(882,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0012650489807129','2016-06-13 14:33:02'),(883,1,0,'192.168.1.195','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.24110984802246','2016-06-13 14:33:20'),(884,1,0,'192.168.1.195','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.028172969818115','2016-06-13 14:33:27'),(885,13,0,'192.168.1.191','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.093006134033203','2016-06-13 14:59:11'),(886,13,0,'192.168.1.195','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012729167938232','2016-06-13 17:27:20'),(887,13,0,'192.168.1.195','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013420581817627','2016-06-13 17:27:22'),(888,13,0,'192.168.1.196','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0015959739685059','2016-06-14 12:23:50'),(889,13,0,'192.168.1.196','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'32775\'','setup/saveExpenses','0.00038409233093262','2016-06-14 12:34:20'),(890,13,0,'192.168.1.196','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'32775\'','setup/saveExpenses','0.00039792060852051','2016-06-14 12:35:07'),(891,13,0,'192.168.1.196','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'32775\'','setup/saveExpenses','0.00039291381835938','2016-06-14 12:35:20'),(892,13,0,'192.168.1.196','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'32776\'','setup/saveExpenses','0.0016818046569824','2016-06-14 12:38:31'),(893,13,0,'192.168.1.196','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-06-14\', \'122\', \'33\', \'TT\', \'122\', \'13\', 3)','transfer/newTransfer','0.078623056411743','2016-06-14 12:40:36'),(894,13,0,'192.168.1.196','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1904, \'32761\', \'33\', \'\')','transfer/newTransfer','0.033159971237183','2016-06-14 12:40:36'),(895,13,0,'192.168.1.196','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'275\'','transfer/newTransfer','0.034424066543579','2016-06-14 12:40:36'),(896,13,0,'192.168.1.196','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000050\' WHERE `ID` =  1904','transfer/newTransfer','0.024806022644043','2016-06-14 12:40:36'),(897,13,0,'192.168.1.196','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000050\', \' [TT[00000001]]]\', \'Transfer [  [TT[00000001]]] ]\', \'\', \'3\', \'2016-06-14\', \'2016\', \'06\', 33, 33, \'User\')','transfer/newTransfer','0.037627935409546','2016-06-14 12:40:36'),(898,13,0,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000050\', 1, \'\', \'32761\', 33, 1, \'1\', \'33\', \'06\', \'2016\', \'0\', \'TT[00000001]\', \'User\')','transfer/newTransfer','0.024516105651855','2016-06-14 12:40:36'),(899,13,0,'192.168.1.196','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000050\', 2, \'\', \'32761\', 33, 1, \'1\', \'33\', \'06\', \'2016\', \'0\', \'TT[00000001]\', \'User\')','transfer/newTransfer','0.01622486114502','2016-06-14 12:40:36'),(900,13,0,'192.168.1.196','update','UPDATE `comp_journal` SET `total_amount_dr` = 33, `total_amount_cr` = 33, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000050\'','transfer/newTransfer','0.016342878341675','2016-06-14 12:40:36'),(901,13,0,'192.168.1.196','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1904','transfer/newTransfer','0.015845060348511','2016-06-14 12:40:36'),(902,13,0,'192.168.1.196','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10664','transfer/newTransfer','0.017141103744507','2016-06-14 12:40:36'),(903,13,0,'192.168.1.196','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000050\'','transfer/newTransfer','0.016375064849854','2016-06-14 12:40:36'),(904,13,0,'192.168.1.196','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','transfer/newTransfer','0.022960901260376','2016-06-14 12:40:36'),(905,13,0,'192.168.1.196','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','transfer/newTransfer','0.13946509361267','2016-06-14 12:40:36'),(906,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'23\', \'OP-C\', \'2016-06-14\', \'123\', \'1\')','expenses/saveExpense','0.18828892707825','2016-06-14 14:53:06'),(907,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1905, \'User\', \'fad\', 1, \'32773\', \'23\', \'23\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.04127311706543','2016-06-14 14:53:06'),(908,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  \'275\'','expenses/saveExpense','0.092978000640869','2016-06-14 14:53:06'),(909,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000051\' WHERE `ID` =  1905','expenses/saveExpense','0.066392183303833','2016-06-14 14:53:06'),(910,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000051\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.054254055023193','2016-06-14 14:53:06'),(911,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000051\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.09946608543396','2016-06-14 14:53:06'),(912,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000051\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.016177892684937','2016-06-14 14:53:06'),(913,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000051\'','expenses/saveExpense','0.040553092956543','2016-06-14 14:53:06'),(914,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1905','expenses/saveExpense','0.017330884933472','2016-06-14 14:53:06'),(915,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10666','expenses/saveExpense','0.02475118637085','2016-06-14 14:53:06'),(916,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000051\'','expenses/saveExpense','0.015798091888428','2016-06-14 14:53:06'),(917,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.025970935821533','2016-06-14 14:53:06'),(918,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.032588958740234','2016-06-14 14:53:06'),(919,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'23\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-14\', `bankId` = \'123\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1905\'','expenses/saveExpense','0.047792196273804','2016-06-14 14:53:10'),(920,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1905\', `createdBy` = \'User\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1819\'','expenses/saveExpense','0.016829013824463','2016-06-14 14:53:10'),(921,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'275\'','expenses/saveExpense','0.048993110656738','2016-06-14 14:53:10'),(922,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000052\' WHERE `ID` =  \'1905\'','expenses/saveExpense','0.015373945236206','2016-06-14 14:53:10'),(923,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000052\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.049711942672729','2016-06-14 14:53:10'),(924,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000052\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.041129112243652','2016-06-14 14:53:10'),(925,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000052\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.024667978286743','2016-06-14 14:53:10'),(926,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000052\'','expenses/saveExpense','0.03302788734436','2016-06-14 14:53:10'),(927,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1905\'','expenses/saveExpense','0.033039093017578','2016-06-14 14:53:10'),(928,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10667','expenses/saveExpense','0.033105850219727','2016-06-14 14:53:10'),(929,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000052\'','expenses/saveExpense','0.074728965759277','2016-06-14 14:53:10'),(930,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.050987005233765','2016-06-14 14:53:10'),(931,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.056982040405273','2016-06-14 14:53:10'),(932,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'23\', \'OP-C\', \'2016-06-14\', \'123\', \'1\')','expenses/saveExpense','0.20070505142212','2016-06-14 14:53:10'),(933,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1906, `createdBy` = \'User\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1819\'','expenses/saveExpense','0.07443904876709','2016-06-14 14:53:10'),(934,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'275\'','expenses/saveExpense','0.086590051651001','2016-06-14 14:53:10'),(935,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000053\' WHERE `ID` =  1906','expenses/saveExpense','0.066426038742065','2016-06-14 14:53:10'),(936,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000053\', \'Cost of Goods Sold [OP-C[00000003]]\', \'Cost of Goods Sold [OP-C[00000003]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.03197193145752','2016-06-14 14:53:10'),(937,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000053\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000003]\', \'User\')','expenses/saveExpense','0.29937696456909','2016-06-14 14:53:11'),(938,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000053\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000003]\', \'User\')','expenses/saveExpense','0.032792091369629','2016-06-14 14:53:11'),(939,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000053\'','expenses/saveExpense','0.066388130187988','2016-06-14 14:53:11'),(940,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1906','expenses/saveExpense','0.066483020782471','2016-06-14 14:53:11'),(941,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10668','expenses/saveExpense','0.033066034317017','2016-06-14 14:53:11'),(942,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000053\'','expenses/saveExpense','0.058068990707397','2016-06-14 14:53:11'),(943,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.065095901489258','2016-06-14 14:53:11'),(944,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031982183456421','2016-06-14 14:53:11'),(945,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1906\'','expenses/removePayment','0.097733974456787','2016-06-14 15:19:14'),(946,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'23\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-14\', `bankId` = \'123\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1905\'','expenses/saveExpense','0.022921085357666','2016-06-14 16:11:18'),(947,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'1905\', \'User\', \'fad\', 1, \'32773\', \'23\', \'23\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016363143920898','2016-06-14 16:11:18'),(948,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'275\'','expenses/saveExpense','0.024525165557861','2016-06-14 16:11:18'),(949,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000054\' WHERE `ID` =  \'1905\'','expenses/saveExpense','0.024772882461548','2016-06-14 16:11:18'),(950,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000054\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.023678064346313','2016-06-14 16:11:18'),(951,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000054\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.016206979751587','2016-06-14 16:11:18'),(952,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000054\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.016222953796387','2016-06-14 16:11:18'),(953,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000054\'','expenses/saveExpense','0.024670124053955','2016-06-14 16:11:18'),(954,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1905\'','expenses/saveExpense','0.016505002975464','2016-06-14 16:11:18'),(955,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10671','expenses/saveExpense','0.016433000564575','2016-06-14 16:11:18'),(956,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000054\'','expenses/saveExpense','0.024743795394897','2016-06-14 16:11:18'),(957,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.021739959716797','2016-06-14 16:11:18'),(958,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.024847030639648','2016-06-14 16:11:18'),(959,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'23\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-14\', `bankId` = \'123\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1905\'','expenses/saveExpense','0.018301963806152','2016-06-14 16:11:19'),(960,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1905\', `createdBy` = \'User\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1820\'','expenses/saveExpense','0.0003659725189209','2016-06-14 16:11:19'),(961,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'275\'','expenses/saveExpense','0.021787166595459','2016-06-14 16:11:19'),(962,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000055\' WHERE `ID` =  \'1905\'','expenses/saveExpense','0.01643705368042','2016-06-14 16:11:19'),(963,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000055\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.015431880950928','2016-06-14 16:11:19'),(964,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000055\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.032810926437378','2016-06-14 16:11:19'),(965,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000055\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.041116952896118','2016-06-14 16:11:19'),(966,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'23\', \'OP-C\', \'2016-06-14\', \'123\', \'1\')','expenses/saveExpense','0.031622886657715','2016-06-14 16:11:19'),(967,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000055\'','expenses/saveExpense','0.016302824020386','2016-06-14 16:11:19'),(968,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1905\'','expenses/saveExpense','0.041560888290405','2016-06-14 16:11:19'),(969,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1908, `createdBy` = \'User\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1820\'','expenses/saveExpense','0.032845020294189','2016-06-14 16:11:19'),(970,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10672','expenses/saveExpense','0.033092021942139','2016-06-14 16:11:19'),(971,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'275\'','expenses/saveExpense','0.030302047729492','2016-06-14 16:11:19'),(972,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000055\'','expenses/saveExpense','0.033041000366211','2016-06-14 16:11:19'),(973,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'23\', \'OP-C\', \'2016-06-14\', \'123\', \'1\')','expenses/saveExpense','0.041049003601074','2016-06-14 16:11:19'),(974,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.047802925109863','2016-06-14 16:11:19'),(975,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000056\' WHERE `ID` =  1908','expenses/saveExpense','0.041450023651123','2016-06-14 16:11:19'),(976,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1909, `createdBy` = \'User\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1820\'','expenses/saveExpense','0.049421072006226','2016-06-14 16:11:19'),(977,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.048532962799072','2016-06-14 16:11:19'),(978,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000056\', \'Cost of Goods Sold [OP-C[00000004]]\', \'Cost of Goods Sold [OP-C[00000004]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.031930923461914','2016-06-14 16:11:19'),(979,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'275\'','expenses/saveExpense','0.037492990493774','2016-06-14 16:11:19'),(980,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000057\' WHERE `ID` =  1909','expenses/saveExpense','0.049759864807129','2016-06-14 16:11:20'),(981,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000056\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000004]\', \'User\')','expenses/saveExpense','0.048110008239746','2016-06-14 16:11:20'),(982,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000057\', \'Cost of Goods Sold [OP-C[00000005]]\', \'Cost of Goods Sold [OP-C[00000005]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.048542022705078','2016-06-14 16:11:20'),(983,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000056\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000004]\', \'User\')','expenses/saveExpense','0.034231901168823','2016-06-14 16:11:20'),(984,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000057\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/saveExpense','0.057904958724976','2016-06-14 16:11:20'),(985,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000056\'','expenses/saveExpense','0.04970908164978','2016-06-14 16:11:20'),(986,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000057\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/saveExpense','0.041216135025024','2016-06-14 16:11:20'),(987,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1908','expenses/saveExpense','0.049761056900024','2016-06-14 16:11:20'),(988,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000057\'','expenses/saveExpense','0.049641847610474','2016-06-14 16:11:20'),(989,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10673','expenses/saveExpense','0.058129072189331','2016-06-14 16:11:20'),(990,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1909','expenses/saveExpense','0.033164024353027','2016-06-14 16:11:20'),(991,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000056\'','expenses/saveExpense','0.058021068572998','2016-06-14 16:11:20'),(992,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10674','expenses/saveExpense','0.041437864303589','2016-06-14 16:11:20'),(993,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.047734975814819','2016-06-14 16:11:20'),(994,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000057\'','expenses/saveExpense','0.033011913299561','2016-06-14 16:11:20'),(995,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.032029867172241','2016-06-14 16:11:20'),(996,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.031111001968384','2016-06-14 16:11:20'),(997,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.032052040100098','2016-06-14 16:11:20'),(998,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'23\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-14\', `bankId` = \'123\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1905\'','expenses/saveExpense','0.023148059844971','2016-06-14 16:11:24'),(999,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1905\', `createdBy` = \'User\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1820\'','expenses/saveExpense','0.03286600112915','2016-06-14 16:11:24'),(1000,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'275\'','expenses/saveExpense','0.024385929107666','2016-06-14 16:11:24'),(1001,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000058\' WHERE `ID` =  \'1905\'','expenses/saveExpense','0.024785995483398','2016-06-14 16:11:24'),(1002,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000058\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.015366077423096','2016-06-14 16:11:24'),(1003,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000058\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.016194105148315','2016-06-14 16:11:24'),(1004,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000058\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.016212940216064','2016-06-14 16:11:24'),(1005,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000058\'','expenses/saveExpense','0.016362905502319','2016-06-14 16:11:24'),(1006,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1905\'','expenses/saveExpense','0.016499996185303','2016-06-14 16:11:24'),(1007,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10675','expenses/saveExpense','0.016448020935059','2016-06-14 16:11:24'),(1008,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000058\'','expenses/saveExpense','0.016414880752563','2016-06-14 16:11:24'),(1009,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019423007965088','2016-06-14 16:11:24'),(1010,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015353918075562','2016-06-14 16:11:24'),(1011,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'23\', \'OP-C\', \'2016-06-14\', \'123\', \'1\')','expenses/saveExpense','0.065844058990479','2016-06-14 16:11:24'),(1012,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1910, `createdBy` = \'User\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1820\'','expenses/saveExpense','0.024476051330566','2016-06-14 16:11:24'),(1013,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  \'275\'','expenses/saveExpense','0.032423973083496','2016-06-14 16:11:24'),(1014,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000059\' WHERE `ID` =  1910','expenses/saveExpense','0.049798011779785','2016-06-14 16:11:24'),(1015,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000059\', \'Cost of Goods Sold [OP-C[00000006]]\', \'Cost of Goods Sold [OP-C[00000006]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.031942129135132','2016-06-14 16:11:24'),(1016,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000059\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/saveExpense','0.032865047454834','2016-06-14 16:11:24'),(1017,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000059\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/saveExpense','0.032853841781616','2016-06-14 16:11:24'),(1018,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000059\'','expenses/saveExpense','0.033002853393555','2016-06-14 16:11:25'),(1019,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1910','expenses/saveExpense','0.049758911132812','2016-06-14 16:11:25'),(1020,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10676','expenses/saveExpense','0.033160209655762','2016-06-14 16:11:25'),(1021,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000059\'','expenses/saveExpense','0.049638032913208','2016-06-14 16:11:25'),(1022,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013136863708496','2016-06-14 16:11:25'),(1023,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.033367872238159','2016-06-14 16:11:25'),(1024,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'23\', \'OP-C\', \'2016-06-14\', \'123\', \'1\')','expenses/saveExpense','0.04197096824646','2016-06-14 16:11:25'),(1025,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1911, `createdBy` = \'User\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1820\'','expenses/saveExpense','0.016155004501343','2016-06-14 16:11:25'),(1026,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  \'275\'','expenses/saveExpense','0.018932819366455','2016-06-14 16:11:25'),(1027,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000060\' WHERE `ID` =  1911','expenses/saveExpense','0.033076047897339','2016-06-14 16:11:25'),(1028,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000060\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.031912088394165','2016-06-14 16:11:25'),(1029,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000060\', 1, \'fad\', \'32762\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/saveExpense','0.032825946807861','2016-06-14 16:11:25'),(1030,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000060\', 2, \'fad\', \'32773\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/saveExpense','0.032848119735718','2016-06-14 16:11:25'),(1031,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000060\'','expenses/saveExpense','0.074697017669678','2016-06-14 16:11:25'),(1032,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1911','expenses/saveExpense','0.033078908920288','2016-06-14 16:11:25'),(1033,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10677','expenses/saveExpense','0.033138990402222','2016-06-14 16:11:25'),(1034,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000060\'','expenses/saveExpense','0.033053874969482','2016-06-14 16:11:25'),(1035,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.064563989639282','2016-06-14 16:11:25'),(1036,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.056879997253418','2016-06-14 16:11:25'),(1037,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'54855\', \'OP-C\', \'2016-06-14\', \'122\', \'1\')','expenses/saveExpense','0.027297019958496','2016-06-14 16:12:47'),(1038,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1912, \'User\', \'dfs\', 1, \'32773\', \'54855\', \'54855\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016386032104492','2016-06-14 16:12:47'),(1039,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 61 WHERE `ID` =  \'275\'','expenses/saveExpense','0.025552988052368','2016-06-14 16:12:47'),(1040,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000061\' WHERE `ID` =  1912','expenses/saveExpense','0.016451120376587','2016-06-14 16:12:47'),(1041,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000061\', \'Cost of Goods Sold [OP-C[00000008]]\', \'Cost of Goods Sold [OP-C[00000008]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 54855, 54855, \'User\')','expenses/saveExpense','0.011198043823242','2016-06-14 16:12:48'),(1042,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000061\', 1, \'dfs\', \'32761\', 54855, 1, \'1\', \'54855\', \'06\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/saveExpense','0.017650127410889','2016-06-14 16:12:48'),(1043,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000061\', 2, \'dfs\', \'32773\', 54855, 1, \'1\', \'54855\', \'06\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/saveExpense','0.016224145889282','2016-06-14 16:12:48'),(1044,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 54855, `total_amount_cr` = 54855, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000061\'','expenses/saveExpense','0.016371965408325','2016-06-14 16:12:48'),(1045,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1912','expenses/saveExpense','0.016500949859619','2016-06-14 16:12:48'),(1046,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10678','expenses/saveExpense','0.016450166702271','2016-06-14 16:12:48'),(1047,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000061\'','expenses/saveExpense','0.016400098800659','2016-06-14 16:12:48'),(1048,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013301134109497','2016-06-14 16:12:48'),(1049,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016566038131714','2016-06-14 16:12:48'),(1050,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'47\', \'OP-C\', \'2016-06-14\', \'122\', \'1\')','expenses/saveExpense','0.067593097686768','2016-06-14 16:14:01'),(1051,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1913, \'User\', \'fadsdfrg\', 1, \'32773\', \'47\', \'47\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.017665863037109','2016-06-14 16:14:01'),(1052,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  \'275\'','expenses/saveExpense','0.019213914871216','2016-06-14 16:14:02'),(1053,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000062\' WHERE `ID` =  1913','expenses/saveExpense','0.017813920974731','2016-06-14 16:14:02'),(1054,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000062\', \'Cost of Goods Sold [OP-C[00000009]]\', \'Cost of Goods Sold [OP-C[00000009]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 47, 47, \'User\')','expenses/saveExpense','0.011268138885498','2016-06-14 16:14:02'),(1055,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000062\', 1, \'fadsdfrg\', \'32761\', 47, 1, \'1\', \'47\', \'06\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/saveExpense','0.01751708984375','2016-06-14 16:14:02'),(1056,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000062\', 2, \'fadsdfrg\', \'32773\', 47, 1, \'1\', \'47\', \'06\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/saveExpense','0.016201019287109','2016-06-14 16:14:02'),(1057,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 47, `total_amount_cr` = 47, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000062\'','expenses/saveExpense','0.016335010528564','2016-06-14 16:14:02'),(1058,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1913','expenses/saveExpense','0.024834871292114','2016-06-14 16:14:02'),(1059,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10679','expenses/saveExpense','0.016436815261841','2016-06-14 16:14:02'),(1060,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000062\'','expenses/saveExpense','0.016379117965698','2016-06-14 16:14:02'),(1061,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012626171112061','2016-06-14 16:14:02'),(1062,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015748023986816','2016-06-14 16:14:02'),(1063,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'456\', \'OP-C\', \'2016-06-14\', \'122\', \'1\')','expenses/saveExpense','0.062183856964111','2016-06-14 16:18:32'),(1064,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1914, \'User\', \'gfghfg\', 1, \'32773\', \'456\', \'456\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01810097694397','2016-06-14 16:18:32'),(1065,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  \'275\'','expenses/saveExpense','0.019775152206421','2016-06-14 16:18:32'),(1066,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000063\' WHERE `ID` =  1914','expenses/saveExpense','0.016443967819214','2016-06-14 16:18:32'),(1067,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000063\', \'Cost of Goods Sold [OP-C[00000010]]\', \'Cost of Goods Sold [OP-C[00000010]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 456, 456, \'User\')','expenses/saveExpense','0.011011123657227','2016-06-14 16:18:32'),(1068,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000063\', 1, \'gfghfg\', \'32761\', 456, 1, \'1\', \'456\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.017864942550659','2016-06-14 16:18:32'),(1069,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000063\', 2, \'gfghfg\', \'32773\', 456, 1, \'1\', \'456\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.12698602676392','2016-06-14 16:18:32'),(1070,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 456, `total_amount_cr` = 456, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000063\'','expenses/saveExpense','0.020787000656128','2016-06-14 16:18:32'),(1071,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1914','expenses/saveExpense','0.01790189743042','2016-06-14 16:18:32'),(1072,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10680','expenses/saveExpense','0.016443014144897','2016-06-14 16:18:32'),(1073,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000063\'','expenses/saveExpense','0.016399145126343','2016-06-14 16:18:32'),(1074,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013072967529297','2016-06-14 16:18:32'),(1075,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016785144805908','2016-06-14 16:18:32'),(1076,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'579\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-14\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1914\'','expenses/saveExpense','0.017908096313477','2016-06-14 16:19:03'),(1077,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1914\', `createdBy` = \'User\', `itemdescription` = \'gfghfg\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'456\', `amountExcludedTax` = \'456\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1823\'','expenses/saveExpense','0.00035595893859863','2016-06-14 16:19:03'),(1078,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'1914\', \'User\', \'hjgf\', 1, \'32773\', \'123\', \'123\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01701283454895','2016-06-14 16:19:03'),(1079,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 64 WHERE `ID` =  \'275\'','expenses/saveExpense','0.018121004104614','2016-06-14 16:19:03'),(1080,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000064\' WHERE `ID` =  \'1914\'','expenses/saveExpense','0.016447067260742','2016-06-14 16:19:03'),(1081,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000064\', \'Cost of Goods Sold [OP-C[00000010]]\', \'Cost of Goods Sold [OP-C[00000010]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 579, 579, \'User\')','expenses/saveExpense','0.015354156494141','2016-06-14 16:19:03'),(1082,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000064\', 1, \'gfghfg\', \'32761\', 456, 1, \'1\', \'456\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.016174077987671','2016-06-14 16:19:03'),(1083,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000064\', 2, \'gfghfg\', \'32773\', 456, 1, \'1\', \'456\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.016225099563599','2016-06-14 16:19:03'),(1084,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000064\', 3, \'hjgf\', \'32761\', 123, 1, \'1\', \'123\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.024550914764404','2016-06-14 16:19:03'),(1085,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000064\', 4, \'hjgf\', \'32773\', 123, 1, \'1\', \'123\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.016222953796387','2016-06-14 16:19:03'),(1086,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 579, `total_amount_cr` = 579, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000064\'','expenses/saveExpense','0.033036947250366','2016-06-14 16:19:03'),(1087,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1914\'','expenses/saveExpense','0.016479015350342','2016-06-14 16:19:03'),(1088,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10681','expenses/saveExpense','0.02479100227356','2016-06-14 16:19:03'),(1089,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000064\'','expenses/saveExpense','0.016391038894653','2016-06-14 16:19:03'),(1090,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012798070907593','2016-06-14 16:19:03'),(1091,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017041921615601','2016-06-14 16:19:03'),(1092,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.0137619972229','2016-06-14 16:19:03'),(1093,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016992807388306','2016-06-14 16:19:03'),(1094,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'579\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-14\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1914\'','expenses/saveExpense','0.017587900161743','2016-06-14 16:19:18'),(1095,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1914\', `createdBy` = \'User\', `itemdescription` = \'gfghfg\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'456\', `amountExcludedTax` = \'456\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1823\'','expenses/saveExpense','0.00037193298339844','2016-06-14 16:19:18'),(1096,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1914\', `createdBy` = \'User\', `itemdescription` = \'hjgf\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'123\', `amountExcludedTax` = \'123\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1824\'','expenses/saveExpense','0.00034999847412109','2016-06-14 16:19:18'),(1097,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 65 WHERE `ID` =  \'275\'','expenses/saveExpense','0.014616012573242','2016-06-14 16:19:18'),(1098,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000065\' WHERE `ID` =  \'1914\'','expenses/saveExpense','0.024780035018921','2016-06-14 16:19:18'),(1099,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000065\', \'Cost of Goods Sold [OP-C[00000010]]\', \'Cost of Goods Sold [OP-C[00000010]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 579, 579, \'User\')','expenses/saveExpense','0.015368938446045','2016-06-14 16:19:18'),(1100,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000065\', 1, \'gfghfg\', \'32761\', 456, 1, \'1\', \'456\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.016184091567993','2016-06-14 16:19:18'),(1101,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000065\', 2, \'gfghfg\', \'32773\', 456, 1, \'1\', \'456\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.016242027282715','2016-06-14 16:19:18'),(1102,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000065\', 3, \'hjgf\', \'32761\', 123, 1, \'1\', \'123\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.016216993331909','2016-06-14 16:19:18'),(1103,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000065\', 4, \'hjgf\', \'32773\', 123, 1, \'1\', \'123\', \'06\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.016213178634644','2016-06-14 16:19:18'),(1104,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 579, `total_amount_cr` = 579, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000065\'','expenses/saveExpense','0.016362905502319','2016-06-14 16:19:18'),(1105,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1914\'','expenses/saveExpense','0.016474008560181','2016-06-14 16:19:18'),(1106,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10682','expenses/saveExpense','0.016475915908813','2016-06-14 16:19:18'),(1107,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000065\'','expenses/saveExpense','0.016385078430176','2016-06-14 16:19:18'),(1108,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012701034545898','2016-06-14 16:19:18'),(1109,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017111778259277','2016-06-14 16:19:18'),(1110,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013679981231689','2016-06-14 16:19:18'),(1111,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017058849334717','2016-06-14 16:19:18'),(1112,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'77\', \'OP-C\', \'2016-06-14\', \'125\', \'1\')','expenses/saveExpense','0.023046970367432','2016-06-14 16:22:54'),(1113,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1915, \'User\', \'gb\', 1, \'32773\', \'77\', \'77\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016411066055298','2016-06-14 16:22:54'),(1114,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  \'275\'','expenses/saveExpense','0.015638113021851','2016-06-14 16:22:54'),(1115,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000066\' WHERE `ID` =  1915','expenses/saveExpense','0.016481161117554','2016-06-14 16:22:54'),(1116,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000066\', \'Cost of Goods Sold [OP-C[00000011]]\', \'Cost of Goods Sold [OP-C[00000011]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 77, 77, \'User\')','expenses/saveExpense','0.011149168014526','2016-06-14 16:22:54'),(1117,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000066\', 1, \'gb\', \'32764\', 77, 1, \'1\', \'77\', \'06\', \'16\', \'1\', \'OP-C[00000011]\', \'User\')','expenses/saveExpense','0.017682075500488','2016-06-14 16:22:54'),(1118,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000066\', 2, \'gb\', \'32773\', 77, 1, \'1\', \'77\', \'06\', \'16\', \'1\', \'OP-C[00000011]\', \'User\')','expenses/saveExpense','0.016211986541748','2016-06-14 16:22:54'),(1119,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 77, `total_amount_cr` = 77, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000066\'','expenses/saveExpense','0.016391038894653','2016-06-14 16:22:54'),(1120,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1915','expenses/saveExpense','0.02480411529541','2016-06-14 16:22:54'),(1121,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10683','expenses/saveExpense','0.016446828842163','2016-06-14 16:22:54'),(1122,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000066\'','expenses/saveExpense','0.016390085220337','2016-06-14 16:22:54'),(1123,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32764\', \'2016\', \'6\', \'0\', \'77\', -77, \'User\', \'2016-06-14: 10:06:54\')','expenses/saveExpense','0.028778791427612','2016-06-14 16:22:54'),(1124,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017146825790405','2016-06-14 16:22:54'),(1125,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001255989074707','2016-06-15 09:04:21'),(1126,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00148606300354','2016-06-15 09:10:37'),(1127,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012671947479248','2016-06-15 09:17:23'),(1128,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.25953507423401','2016-06-15 09:18:19'),(1129,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012650489807129','2016-06-15 09:18:20'),(1130,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'0\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.088994026184082','2016-06-15 09:18:56'),(1131,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012521743774414','2016-06-15 09:18:57'),(1132,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.051789999008179','2016-06-15 09:27:00'),(1133,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001255989074707','2016-06-15 09:27:01'),(1134,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'rr\', \'13\', \'User\', 1, 1, \'68\', \'500\', \'OP-A\', \'2016-06-15\', \'122\', \'1\')','expenses/saveExpense','0.046900987625122','2016-06-15 09:29:34'),(1135,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1916, \'User\', \'ggg\', 1, \'32750\', \'500\', \'500\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016892194747925','2016-06-15 09:29:34'),(1136,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  \'275\'','expenses/saveExpense','0.1449830532074','2016-06-15 09:29:34'),(1137,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000067\' WHERE `ID` =  1916','expenses/saveExpense','0.037344932556152','2016-06-15 09:29:34'),(1138,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000067\', \'Purchase of Asset [OP-A[00000012]]\', \'Purchase of Asset [OP-A[00000012]]\', \'\', \'3\', \'2016-06-15\', \'16\', \'06\', 500, 500, \'User\')','expenses/saveExpense','0.011100053787231','2016-06-15 09:29:34'),(1139,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000067\', 1, \'ggg\', \'32761\', 500, 1, \'1\', \'500\', \'06\', \'16\', \'1\', \'OP-A[00000012]\', \'User\')','expenses/saveExpense','0.0176100730896','2016-06-15 09:29:34'),(1140,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000067\', 2, \'ggg\', \'32750\', 500, 1, \'1\', \'500\', \'06\', \'16\', \'1\', \'OP-A[00000012]\', \'User\')','expenses/saveExpense','0.032875061035156','2016-06-15 09:29:34'),(1141,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000067\'','expenses/saveExpense','0.016357898712158','2016-06-15 09:29:34'),(1142,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1916','expenses/saveExpense','0.033155918121338','2016-06-15 09:29:34'),(1143,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10691','expenses/saveExpense','0.024800062179565','2016-06-15 09:29:34'),(1144,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000067\'','expenses/saveExpense','0.016410827636719','2016-06-15 09:29:34'),(1145,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.022824048995972','2016-06-15 09:29:34'),(1146,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32750\', \'2016\', \'6\', \'500\', \'0\', 500, \'User\', \'2016-06-15: 03:06:34\')','expenses/saveExpense','0.014838933944702','2016-06-15 09:29:34'),(1147,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1916\'','expenses/removePayment','0.10439610481262','2016-06-15 09:34:45'),(1148,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'500\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32751\'','setup/saveAsset','0.074934959411621','2016-06-15 09:37:22'),(1149,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012612342834473','2016-06-15 09:37:24'),(1150,12,0,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.044451951980591','2016-06-15 10:48:52'),(1151,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'For Testing Purposes\', \'1\', \'User\', 1, 1, \'68\', \'1100\', \'OP-E\', \'2016-06-15\', \'82\', \'1\')','expenses/saveExpense','0.062448978424072','2016-06-15 10:53:14'),(1152,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1917, \'User\', \'Repair gear kereta MBX5968\', 1, \'32539\', \'800\', \'800\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.02582311630249','2016-06-15 10:53:14'),(1153,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1917, \'User\', \'Monthly Expenses\', 1, \'32541\', \'200\', \'200\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016524076461792','2016-06-15 10:53:14'),(1154,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1917, \'User\', \'DiGi\', 1, \'32550\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024682998657227','2016-06-15 10:53:14'),(1155,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'273\'','expenses/saveExpense','0.026312828063965','2016-06-15 10:53:14'),(1156,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000021\' WHERE `ID` =  1917','expenses/saveExpense','0.017477989196777','2016-06-15 10:53:14'),(1157,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160600000021\', \'Operating Expenses [OP-E[00000603]]\', \'Operating Expenses [OP-E[00000603]]\', \'\', \'3\', \'2016-06-15\', \'16\', \'06\', 1100, 1100, \'User\')','expenses/saveExpense','0.020843029022217','2016-06-15 10:53:14'),(1158,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000021\', 1, \'Repair gear kereta MBX5968\', \'32515\', 800, 1, \'1\', \'800\', \'06\', \'16\', \'1\', \'OP-E[00000603]\', \'User\')','expenses/saveExpense','0.024537086486816','2016-06-15 10:53:14'),(1159,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000021\', 2, \'Repair gear kereta MBX5968\', \'32539\', 800, 1, \'1\', \'800\', \'06\', \'16\', \'1\', \'OP-E[00000603]\', \'User\')','expenses/saveExpense','0.016123056411743','2016-06-15 10:53:14'),(1160,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000021\', 3, \'Monthly Expenses\', \'32515\', 200, 1, \'1\', \'200\', \'06\', \'16\', \'1\', \'OP-E[00000603]\', \'User\')','expenses/saveExpense','0.016206026077271','2016-06-15 10:53:14'),(1161,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000021\', 4, \'Monthly Expenses\', \'32541\', 200, 1, \'1\', \'200\', \'06\', \'16\', \'1\', \'OP-E[00000603]\', \'User\')','expenses/saveExpense','0.016222953796387','2016-06-15 10:53:14'),(1162,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000021\', 5, \'DiGi\', \'32515\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-E[00000603]\', \'User\')','expenses/saveExpense','0.016202211380005','2016-06-15 10:53:14'),(1163,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160600000021\', 6, \'DiGi\', \'32550\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-E[00000603]\', \'User\')','expenses/saveExpense','0.024518013000488','2016-06-15 10:53:14'),(1164,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1100, `total_amount_cr` = 1100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000021\'','expenses/saveExpense','0.016345024108887','2016-06-15 10:53:14'),(1165,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1917','expenses/saveExpense','0.024780988693237','2016-06-15 10:53:14'),(1166,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10692','expenses/saveExpense','0.016471862792969','2016-06-15 10:53:14'),(1167,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160600000021\'','expenses/saveExpense','0.016396045684814','2016-06-15 10:53:14'),(1168,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013167142868042','2016-06-15 10:53:14'),(1169,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32539\', \'2016\', \'6\', \'800\', \'0\', 800, \'User\', \'2016-06-15: 04:06:14\')','expenses/saveExpense','0.01642107963562','2016-06-15 10:53:14'),(1170,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.032041072845459','2016-06-15 10:53:14'),(1171,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32541\', \'2016\', \'6\', \'200\', \'0\', 200, \'User\', \'2016-06-15: 04:06:14\')','expenses/saveExpense','0.014864921569824','2016-06-15 10:53:14'),(1172,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015399932861328','2016-06-15 10:53:14'),(1173,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32550\', \'2016\', \'6\', \'100\', \'0\', 100, \'User\', \'2016-06-15: 04:06:14\')','expenses/saveExpense','0.014868021011353','2016-06-15 10:53:14'),(1174,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012650489807129','2016-06-15 11:46:01'),(1175,12,0,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012538433074951','2016-06-15 12:26:30'),(1176,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'User\', 1, 1, \'68\', \'36\', \'OP-A\', \'2016-06-15\', \'109\', \'1\')','expenses/saveExpense','0.072086095809937','2016-06-15 12:27:12'),(1177,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1918, \'User\', \'kerusi panjang\', 1, \'32561\', \'36\', \'36\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01482892036438','2016-06-15 12:27:13'),(1178,12,0,'192.168.1.199','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'12\', \'3\', \'16\', \'06\', \'AP\', 1)','expenses/saveExpense','0.03516697883606','2016-06-15 12:27:13'),(1179,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160600000001\' WHERE `ID` =  1918','expenses/saveExpense','0.024738073348999','2016-06-15 12:27:13'),(1180,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP160600000001\', \'Purchase of Asset [OP-A[00000001]]\', \'Purchase of Asset [OP-A[00000001]]\', \'\', \'3\', \'2016-06-15\', \'16\', \'06\', 36, 36, \'User\')','expenses/saveExpense','0.01154613494873','2016-06-15 12:27:13'),(1181,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP160600000001\', 1, \'kerusi panjang\', \'32573\', 36, 1, \'1\', \'36\', \'06\', \'16\', \'1\', \'OP-A[00000001]\', \'User\')','expenses/saveExpense','0.017333984375','2016-06-15 12:27:13'),(1182,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP160600000001\', 2, \'kerusi panjang\', \'32561\', 36, 1, \'1\', \'36\', \'06\', \'16\', \'1\', \'OP-A[00000001]\', \'User\')','expenses/saveExpense','0.016229867935181','2016-06-15 12:27:13'),(1183,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 36, `total_amount_cr` = 36, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP160600000001\'','expenses/saveExpense','0.016389846801758','2016-06-15 12:27:13'),(1184,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1918','expenses/saveExpense','0.033144950866699','2016-06-15 12:27:13'),(1185,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10693','expenses/saveExpense','0.033112049102783','2016-06-15 12:27:13'),(1186,12,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP160600000001\'','expenses/saveExpense','0.04142689704895','2016-06-15 12:27:13'),(1187,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32573\', \'2016\', \'6\', \'0\', \'36\', -36, \'User\', \'2016-06-15: 06:06:12\')','expenses/saveExpense','0.03028678894043','2016-06-15 12:27:13'),(1188,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'2\', \'32561\', \'2016\', \'6\', \'36\', \'0\', 36, \'User\', \'2016-06-15: 06:06:12\')','expenses/saveExpense','0.059169054031372','2016-06-15 12:27:13'),(1189,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'User\', 1, 1, \'68\', \'477\', \'OP-A\', \'2016-06-15\', \'122\', \'1\')','expenses/saveExpense','0.086695909500122','2016-06-15 12:30:21'),(1190,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1919, \'User\', \'kerusi pendek\', 1, \'32750\', \'477\', \'477\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016396999359131','2016-06-15 12:30:21'),(1191,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 68 WHERE `ID` =  \'275\'','expenses/saveExpense','0.031733989715576','2016-06-15 12:30:21'),(1192,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000068\' WHERE `ID` =  1919','expenses/saveExpense','0.016423225402832','2016-06-15 12:30:21'),(1193,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000068\', \'Purchase of Asset [OP-A[00000013]]\', \'Purchase of Asset [OP-A[00000013]]\', \'\', \'3\', \'2016-06-15\', \'16\', \'06\', 477, 477, \'User\')','expenses/saveExpense','0.011398077011108','2016-06-15 12:30:21'),(1194,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000068\', 1, \'kerusi pendek\', \'32761\', 477, 1, \'1\', \'477\', \'06\', \'16\', \'1\', \'OP-A[00000013]\', \'User\')','expenses/saveExpense','0.12825512886047','2016-06-15 12:30:21'),(1195,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000068\', 2, \'kerusi pendek\', \'32750\', 477, 1, \'1\', \'477\', \'06\', \'16\', \'1\', \'OP-A[00000013]\', \'User\')','expenses/saveExpense','0.12753701210022','2016-06-15 12:30:21'),(1196,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 477, `total_amount_cr` = 477, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000068\'','expenses/saveExpense','0.039460897445679','2016-06-15 12:30:21'),(1197,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1919','expenses/saveExpense','0.019877910614014','2016-06-15 12:30:21'),(1198,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10694','expenses/saveExpense','0.017677068710327','2016-06-15 12:30:21'),(1199,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000068\'','expenses/saveExpense','0.016382932662964','2016-06-15 12:30:21'),(1200,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.01295804977417','2016-06-15 12:30:22'),(1201,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32750\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016892910003662','2016-06-15 12:30:22'),(1202,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012528896331787','2016-06-15 12:34:21'),(1203,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'User\', 1, 1, \'68\', \'258\', \'OP-A\', \'2016-06-15\', \'123\', \'1\')','expenses/saveExpense','0.10975813865662','2016-06-15 12:47:27'),(1204,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1920, \'User\', \'Antivirus\', 1, \'32752\', \'258\', \'258\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.014832019805908','2016-06-15 12:47:27'),(1205,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 69 WHERE `ID` =  \'275\'','expenses/saveExpense','0.03222393989563','2016-06-15 12:47:27'),(1206,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000069\' WHERE `ID` =  1920','expenses/saveExpense','0.024800062179565','2016-06-15 12:47:27'),(1207,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000069\', \'Purchase of Asset [OP-A[00000014]]\', \'Purchase of Asset [OP-A[00000014]]\', \'\', \'3\', \'2016-06-15\', \'16\', \'06\', 258, 258, \'User\')','expenses/saveExpense','0.021004915237427','2016-06-15 12:47:27'),(1208,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000069\', 1, \'Antivirus\', \'32762\', 258, 1, \'1\', \'258\', \'06\', \'16\', \'1\', \'OP-A[00000014]\', \'User\')','expenses/saveExpense','0.023303031921387','2016-06-15 12:47:27'),(1209,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000069\', 2, \'Antivirus\', \'32752\', 258, 1, \'1\', \'258\', \'06\', \'16\', \'1\', \'OP-A[00000014]\', \'User\')','expenses/saveExpense','0.13286280632019','2016-06-15 12:47:27'),(1210,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 258, `total_amount_cr` = 258, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000069\'','expenses/saveExpense','0.025879859924316','2016-06-15 12:47:27'),(1211,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1920','expenses/saveExpense','0.016515016555786','2016-06-15 12:47:27'),(1212,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10695','expenses/saveExpense','0.024731874465942','2016-06-15 12:47:27'),(1213,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000069\'','expenses/saveExpense','0.016402006149292','2016-06-15 12:47:27'),(1214,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.01298999786377','2016-06-15 12:47:27'),(1215,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32752\', \'2016\', \'6\', \'258\', \'0\', 258, \'User\', \'2016-06-15: 06:06:27\')','expenses/saveExpense','0.024589061737061','2016-06-15 12:47:28'),(1216,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012960433959961','2016-06-15 12:48:32'),(1217,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1919\'','expenses/removePayment','0.09144115447998','2016-06-15 12:48:47'),(1218,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Computer & Software	\', `openingBalanceDr` = \'200\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32752\'','setup/saveAsset','0.095912933349609','2016-06-15 12:50:57'),(1219,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001255989074707','2016-06-15 12:50:58'),(1220,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012378692626953','2016-06-15 13:07:06'),(1221,13,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'1,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.047351121902466','2016-06-15 13:07:27'),(1222,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012900829315186','2016-06-15 13:07:28'),(1223,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012688636779785','2016-06-15 13:07:29'),(1224,13,0,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013108253479004','2016-06-15 14:52:44'),(1225,13,0,'192.168.1.199','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'1.00\', `createdTS` = \'2016-01-05 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.038496971130371','2016-06-15 14:55:05'),(1226,13,0,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012640953063965','2016-06-15 14:55:08'),(1227,13,0,'192.168.1.199','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan Bank Rakyat	\', `openingBalanceCr` = \'1200\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32767\'','setup/saveLoan','0.094950914382935','2016-06-15 15:00:50'),(1228,12,0,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012609958648682','2016-06-15 15:54:20'),(1229,12,0,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012569427490234','2016-06-15 15:54:34'),(1230,13,0,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013217926025391','2016-06-15 17:13:51'),(1231,12,0,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012378692626953','2016-06-15 17:34:39'),(1232,12,0,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.0012140274047852','2016-06-15 17:34:41'),(1233,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'9\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00048184394836426','2016-06-16 09:26:28'),(1234,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'9\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\'','setup/companySetup','0.093183994293213','2016-06-16 09:26:28'),(1235,12,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'kedai-e.net\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1928\', `countryID` = \'458\', `parlimenID` = \'4\', `phoneNo` = \'123\', `email` = \'farhana@salihin.com.my\', `businessTypeID` = \'1\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'12\' WHERE `ID` =  \'12\'','setup/companySetup','0.021194219589233','2016-06-16 09:55:39'),(1236,12,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'kedai-e.net\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1928\', `countryID` = \'458\', `parlimenID` = \'4\', `phoneNo` = \'123\', `email` = \'farhana@salihin.com.my\', `businessTypeID` = \'1\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'12\' WHERE `ID` =  \'12\'','setup/companySetup','0.049207925796509','2016-06-16 09:55:39'),(1237,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'9\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00049114227294922','2016-06-16 09:57:24'),(1238,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'9\', `businessIndustryID` = 0, `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.0003819465637207','2016-06-16 09:57:24'),(1239,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.027531147003174','2016-06-16 10:01:00'),(1240,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.016105890274048','2016-06-16 10:01:00'),(1241,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.088399887084961','2016-06-16 10:01:30'),(1242,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.017690896987915','2016-06-16 10:01:30'),(1243,12,0,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.016964912414551','2016-06-16 10:24:10'),(1244,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'12\', \'User\', 1, 1, \'68\', \'25\', \'OP-C\', \'2016-06-16\', \'111\', \'1\')','expenses/saveExpense','0.062204837799072','2016-06-16 11:06:31'),(1245,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1921, \'User\', \'tepung\', 1, \'32584\', \'25\', \'25\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016683101654053','2016-06-16 11:06:31'),(1246,12,0,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'279\'','expenses/saveExpense','0.036101102828979','2016-06-16 11:06:31'),(1247,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000002\' WHERE `ID` =  1921','expenses/saveExpense','0.02479100227356','2016-06-16 11:06:31'),(1248,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160600000002\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-06-16\', \'16\', \'06\', 25, 25, \'User\')','expenses/saveExpense','0.021003007888794','2016-06-16 11:06:31'),(1249,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160600000002\', 1, \'tepung\', \'32575\', 25, 1, \'1\', \'25\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.049510955810547','2016-06-16 11:06:31'),(1250,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160600000002\', 2, \'tepung\', \'32584\', 25, 1, \'1\', \'25\', \'06\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.031296968460083','2016-06-16 11:06:31'),(1251,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 25, `total_amount_cr` = 25, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160600000002\'','expenses/saveExpense','0.026249170303345','2016-06-16 11:06:31'),(1252,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1921','expenses/saveExpense','0.024810075759888','2016-06-16 11:06:31'),(1253,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10696','expenses/saveExpense','0.016418933868408','2016-06-16 11:06:31'),(1254,12,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160600000002\'','expenses/saveExpense','0.024760961532593','2016-06-16 11:06:31'),(1255,12,0,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32575\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013203144073486','2016-06-16 11:06:31'),(1256,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'8\', \'32584\', \'2016\', \'6\', \'25\', \'0\', 25, \'User\', \'2016-06-16: 05:06:31\')','expenses/saveExpense','0.024374008178711','2016-06-16 11:06:31'),(1257,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'User\', 1, 1, \'68\', \'123\', \'OP-E\', \'2016-06-16\', \'111\', \'1\')','expenses/saveExpense','0.070833921432495','2016-06-16 11:51:48'),(1258,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1922, \'User\', \'bil elektrik bulan may 2016\', 1, \'32590\', \'123\', \'123\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.017852783203125','2016-06-16 11:51:49'),(1259,12,0,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'279\'','expenses/saveExpense','0.034368991851807','2016-06-16 11:51:49'),(1260,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000003\' WHERE `ID` =  1922','expenses/saveExpense','0.017802953720093','2016-06-16 11:51:49'),(1261,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160600000003\', \'Operating Expenses [OP-E[00000003]]\', \'Operating Expenses [OP-E[00000003]]\', \'\', \'3\', \'2016-06-16\', \'16\', \'06\', 123, 123, \'User\')','expenses/saveExpense','0.037689924240112','2016-06-16 11:51:49'),(1262,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160600000003\', 1, \'bil elektrik bulan may 2016\', \'32575\', 123, 1, \'1\', \'123\', \'06\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/saveExpense','0.031189918518066','2016-06-16 11:51:49'),(1263,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160600000003\', 2, \'bil elektrik bulan may 2016\', \'32590\', 123, 1, \'1\', \'123\', \'06\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/saveExpense','0.017884969711304','2016-06-16 11:51:49'),(1264,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160600000003\'','expenses/saveExpense','0.024677991867065','2016-06-16 11:51:49'),(1265,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1922','expenses/saveExpense','0.016499996185303','2016-06-16 11:51:49'),(1266,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10697','expenses/saveExpense','0.024796009063721','2016-06-16 11:51:49'),(1267,12,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160600000003\'','expenses/saveExpense','0.033061027526855','2016-06-16 11:51:49'),(1268,12,0,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32575\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017182111740112','2016-06-16 11:51:49'),(1269,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'10\', \'32590\', \'2016\', \'6\', \'123\', \'0\', 123, \'User\', \'2016-06-16: 05:06:48\')','expenses/saveExpense','0.024827003479004','2016-06-16 11:51:49'),(1270,12,0,'192.168.1.199','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Pinjaman Mara	\', `openingBalanceCr` = \'580\', `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32578\'','setup/saveLoan','0.16193580627441','2016-06-16 11:53:44'),(1271,13,0,'192.168.1.195','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013179779052734','2016-06-16 16:32:32'),(1272,12,0,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0013017654418945','2016-06-17 11:52:07'),(1273,12,0,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.0013370513916016','2016-06-17 11:52:10'),(1274,12,0,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012521743774414','2016-06-17 11:53:16'),(1275,12,0,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0012450218200684','2016-06-17 11:53:22'),(1276,12,0,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.0011699199676514','2016-06-17 11:53:23'),(1277,12,0,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.0011279582977295','2016-06-17 11:53:46'),(1278,12,0,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.00070309638977051','2016-06-17 11:53:48'),(1279,13,0,'192.168.1.198','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.099074840545654','2016-06-17 12:10:17'),(1280,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00037503242492676','2016-06-17 12:10:17'),(1281,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.029297113418579','2016-06-17 12:10:17'),(1282,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00096392631530762','2016-06-20 15:00:00'),(1283,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0012459754943848','2016-06-20 15:00:49'),(1284,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0012378692626953','2016-06-20 15:01:00'),(1285,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'businessIndustry\', `businessTypeID` = \'businessType\' WHERE `ID` =  \'13\'','setup/updateCompany','0.022649049758911','2016-06-20 15:15:31'),(1286,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'businessIndustry\', `businessTypeID` = \'businessType\' WHERE `ID` =  \'13\'','setup/updateCompany','0.018764972686768','2016-06-20 15:15:31'),(1287,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'businessIndustry\', `businessTypeID` = \'businessType\' WHERE `ID` =  \'13\'','setup/updateCompany','0.079132080078125','2016-06-20 15:15:54'),(1288,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'businessIndustry\', `businessTypeID` = \'businessType\' WHERE `ID` =  \'13\'','setup/updateCompany','0.049864053726196','2016-06-20 15:15:54'),(1289,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'5\' WHERE `ID` =  \'13\'','setup/updateCompany','0.32972097396851','2016-06-20 15:17:24'),(1290,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'5\' WHERE `ID` =  \'13\'','setup/updateCompany','0.024919033050537','2016-06-20 15:17:24'),(1291,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.098513126373291','2016-06-20 16:07:18'),(1292,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.024720907211304','2016-06-20 16:07:18'),(1293,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'13\', `businessIndustryID` = \'\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.02709698677063','2016-06-20 16:13:17'),(1294,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'13\', `businessIndustryID` = \'\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.015792846679688','2016-06-20 16:13:17'),(1295,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'13\', `businessIndustryID` = \'\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.090017795562744','2016-06-20 16:14:19'),(1296,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'13\', `businessIndustryID` = \'\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.022093057632446','2016-06-20 16:14:19'),(1297,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'2\', `businessIndustryID` = \'\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.093982219696045','2016-06-20 16:16:46'),(1298,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `businessTypeID` = \'2\', `businessIndustryID` = \'\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.015735864639282','2016-06-20 16:16:46'),(1299,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'4\' WHERE `ID` =  \'13\'','setup/updateCompany','0.090395927429199','2016-06-20 16:19:48'),(1300,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'4\' WHERE `ID` =  \'13\'','setup/updateCompany','0.016113042831421','2016-06-20 16:19:48'),(1301,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'50\', `formNo` = \'OP-C\', `paymentDate` = \'2016-06-14\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1912\'','expenses/saveExpense','0.021885871887207','2016-06-20 17:34:41'),(1302,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1912\', `createdBy` = \'User\', `itemdescription` = \'dfs\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1821\'','expenses/saveExpense','0.024224996566772','2016-06-20 17:34:41'),(1303,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 70 WHERE `ID` =  \'275\'','expenses/saveExpense','0.021828174591064','2016-06-20 17:34:41'),(1304,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000070\' WHERE `ID` =  \'1912\'','expenses/saveExpense','0.024494171142578','2016-06-20 17:34:41'),(1305,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000070\', \'Cost of Goods Sold [OP-C[00000008]]\', \'Cost of Goods Sold [OP-C[00000008]]\', \'\', \'3\', \'2016-06-14\', \'16\', \'06\', 50, 50, \'User\')','expenses/saveExpense','0.015671968460083','2016-06-20 17:34:41'),(1306,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000070\', 1, \'dfs\', \'32761\', 50, 1, \'1\', \'50\', \'06\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/saveExpense','0.015880107879639','2016-06-20 17:34:41'),(1307,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000070\', 2, \'dfs\', \'32773\', 50, 1, \'1\', \'50\', \'06\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/saveExpense','0.016511917114258','2016-06-20 17:34:41'),(1308,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000070\'','expenses/saveExpense','0.016081094741821','2016-06-20 17:34:41'),(1309,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1912\'','expenses/saveExpense','0.016772985458374','2016-06-20 17:34:41'),(1310,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10699','expenses/saveExpense','0.024506807327271','2016-06-20 17:34:41'),(1311,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000070\'','expenses/saveExpense','0.016655921936035','2016-06-20 17:34:41'),(1312,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012269020080566','2016-06-20 17:34:41'),(1313,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017704010009766','2016-06-20 17:34:41'),(1314,1,0,'192.168.1.195','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\' WHERE `ID` =  \'1\'','setup/updateCompany','0.056536912918091','2016-06-21 08:28:13'),(1315,1,0,'192.168.1.195','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\' WHERE `ID` =  \'1\'','setup/updateCompany','0.016729116439819','2016-06-21 08:28:13'),(1316,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.0004270076751709','2016-06-21 08:37:15'),(1317,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.00034093856811523','2016-06-21 08:37:15'),(1318,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'14\' WHERE `ID` =  \'13\'','setup/updateCompany','0.11970496177673','2016-06-21 08:38:07'),(1319,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'14\' WHERE `ID` =  \'13\'','setup/updateCompany','0.049489974975586','2016-06-21 08:38:07'),(1320,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.0013179779052734','2016-06-21 08:40:53'),(1321,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.0003199577331543','2016-06-21 08:40:53'),(1322,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'15\' WHERE `ID` =  \'13\'','setup/updateCompany','0.088475942611694','2016-06-21 08:41:02'),(1323,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'15\' WHERE `ID` =  \'13\'','setup/updateCompany','0.016707181930542','2016-06-21 08:41:02'),(1324,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'15\' WHERE `ID` =  \'13\'','setup/updateCompany','0.10538601875305','2016-06-21 08:48:26'),(1325,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'15\' WHERE `ID` =  \'13\'','setup/updateCompany','0.014014005661011','2016-06-21 08:48:26'),(1326,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'hh\', \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2016-06-21\', \'122\', \'1\')','expenses/saveExpense','0.03697395324707','2016-06-21 08:55:10'),(1327,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1923, \'User\', \'hfg\', 1, \'32767\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016683101654053','2016-06-21 08:55:10'),(1328,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 71 WHERE `ID` =  \'275\'','expenses/saveExpense','0.029918909072876','2016-06-21 08:55:10'),(1329,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000071\' WHERE `ID` =  1923','expenses/saveExpense','0.031208992004395','2016-06-21 08:55:10'),(1330,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000071\', \'Loan Repayment [OP-L[00000015]]\', \'Loan Repayment [OP-L[00000015]]\', \'\', \'3\', \'2016-06-21\', \'16\', \'06\', 100, 100, \'User\')','expenses/saveExpense','0.020893096923828','2016-06-21 08:55:10'),(1331,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000071\', 1, \'hfg\', \'32761\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-L[00000015]\', \'User\')','expenses/saveExpense','0.02672815322876','2016-06-21 08:55:10'),(1332,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000071\', 2, \'hfg\', \'32767\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-L[00000015]\', \'User\')','expenses/saveExpense','0.022334098815918','2016-06-21 08:55:10'),(1333,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000071\'','expenses/saveExpense','0.018548965454102','2016-06-21 08:55:10'),(1334,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1923','expenses/saveExpense','0.022626876831055','2016-06-21 08:55:10'),(1335,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10701','expenses/saveExpense','0.01864218711853','2016-06-21 08:55:10'),(1336,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000071\'','expenses/saveExpense','0.016072988510132','2016-06-21 08:55:10'),(1337,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012480974197388','2016-06-21 08:55:10'),(1338,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32767\', \'2016\', \'6\', \'100\', \'0\', 100, \'User\', \'2016-06-21: 02:06:10\')','expenses/saveExpense','0.023087024688721','2016-06-21 08:55:10'),(1339,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1923\'','expenses/removePayment','0.024221897125244','2016-06-21 08:56:39'),(1340,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012738704681396','2016-06-21 08:57:40'),(1341,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Machinery & Engine	\', `openingBalanceDr` = \'100\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32754\'','setup/saveAsset','0.094298124313354','2016-06-21 08:57:56'),(1342,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001295804977417','2016-06-21 08:57:58'),(1343,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.041650056838989','2016-06-21 09:14:35'),(1344,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.081102848052979','2016-06-21 09:35:17'),(1345,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.034158945083618','2016-06-21 09:35:17'),(1346,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.0012750625610352','2016-06-21 09:35:22'),(1347,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.0010440349578857','2016-06-21 09:35:22'),(1348,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.13897681236267','2016-06-21 09:55:22'),(1349,1,0,'192.168.1.191','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'15\' WHERE `ID` =  \'1\'','setup/updateCompany','0.027507066726685','2016-06-21 10:42:50'),(1350,1,0,'192.168.1.191','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'15\' WHERE `ID` =  \'1\'','setup/updateCompany','0.016138076782227','2016-06-21 10:42:50'),(1351,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.098497152328491','2016-06-21 11:38:55'),(1352,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.017366170883179','2016-06-21 11:38:55'),(1353,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.00041794776916504','2016-06-21 11:39:16'),(1354,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.00033283233642578','2016-06-21 11:39:16'),(1355,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.00042510032653809','2016-06-21 11:39:26'),(1356,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'\' WHERE `ID` =  \'13\'','setup/updateCompany','0.0003359317779541','2016-06-21 11:39:26'),(1357,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012619495391846','2016-06-21 11:42:05'),(1358,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012598037719727','2016-06-21 11:42:26'),(1359,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'fad\', \'13\', \'User\', 1, 1, \'68\', \'770\', \'OP-A\', \'2017-07-21\', \'123\', \'1\')','expenses/saveExpense','0.15341305732727','2016-06-21 11:45:57'),(1360,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1924, \'User\', \'fad\', 1, \'32755\', \'770\', \'770\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.025339841842651','2016-06-21 11:45:57'),(1361,13,0,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'17\', \'07\', \'AP\', 1)','expenses/saveExpense','0.025992870330811','2016-06-21 11:45:57'),(1362,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP170700000001\' WHERE `ID` =  1924','expenses/saveExpense','0.039322137832642','2016-06-21 11:45:57'),(1363,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP170700000001\', \'Purchase of Asset [OP-A[00000016]]\', \'Purchase of Asset [OP-A[00000016]]\', \'\', \'3\', \'2017-07-21\', \'17\', \'07\', 770, 770, \'User\')','expenses/saveExpense','0.046900987625122','2016-06-21 11:45:57'),(1364,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP170700000001\', 1, \'fad\', \'32762\', 770, 1, \'1\', \'770\', \'07\', \'17\', \'1\', \'OP-A[00000016]\', \'User\')','expenses/saveExpense','0.091464042663574','2016-06-21 11:45:57'),(1365,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP170700000001\', 2, \'fad\', \'32755\', 770, 1, \'1\', \'770\', \'07\', \'17\', \'1\', \'OP-A[00000016]\', \'User\')','expenses/saveExpense','0.032552003860474','2016-06-21 11:45:57'),(1366,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 770, `total_amount_cr` = 770, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP170700000001\'','expenses/saveExpense','0.016697883605957','2016-06-21 11:45:57'),(1367,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1924','expenses/saveExpense','0.016165018081665','2016-06-21 11:45:58'),(1368,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10702','expenses/saveExpense','0.041738986968994','2016-06-21 11:45:58'),(1369,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP170700000001\'','expenses/saveExpense','0.057859182357788','2016-06-21 11:45:58'),(1370,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32762\', \'2017\', \'7\', \'0\', \'770\', -770, \'User\', \'2016-06-21: 05:06:57\')','expenses/saveExpense','0.039645910263062','2016-06-21 11:45:58'),(1371,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32755\', \'2017\', \'7\', \'770\', \'0\', 770, \'User\', \'2016-06-21: 05:06:57\')','expenses/saveExpense','0.046925067901611','2016-06-21 11:45:58'),(1372,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.034427881240845','2016-06-21 11:46:44'),(1373,13,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Renovation	\', `openingBalanceDr` = \'500\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32755\'','setup/saveAsset','0.10148310661316','2016-06-21 11:47:11'),(1374,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0034689903259277','2016-06-21 11:47:12'),(1375,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013082027435303','2016-06-21 11:47:48'),(1376,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012547969818115','2016-06-21 11:48:25'),(1377,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012710094451904','2016-06-21 11:48:41'),(1378,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.11073398590088','2016-06-21 11:56:14'),(1379,13,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Renovation	\', `openingBalanceDr` = \'870\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32755\'','setup/saveAsset','0.098150014877319','2016-06-21 11:56:37'),(1380,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012619495391846','2016-06-21 11:56:38'),(1381,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'20\' WHERE `ID` =  \'13\'','setup/updateCompany','0.042568922042847','2016-06-21 12:01:23'),(1382,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'20\' WHERE `ID` =  \'13\'','setup/updateCompany','0.13725781440735','2016-06-21 12:01:23'),(1383,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001288890838623','2016-06-21 12:23:56'),(1384,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1924\'','expenses/removePayment','0.031291007995605','2016-06-21 12:34:32'),(1385,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'fad\', \'13\', \'User\', 1, 1, \'68\', \'654\', \'OP-A\', \'2016-06-21\', \'124\', \'1\')','expenses/saveExpense','0.070523977279663','2016-06-21 12:36:07'),(1386,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1925, \'User\', \'fad\', 1, \'32755\', \'654\', \'654\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016699075698853','2016-06-21 12:36:07'),(1387,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 72 WHERE `ID` =  \'275\'','expenses/saveExpense','0.02509880065918','2016-06-21 12:36:07'),(1388,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000072\' WHERE `ID` =  1925','expenses/saveExpense','0.016765117645264','2016-06-21 12:36:07'),(1389,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000072\', \'Purchase of Asset [OP-A[00000017]]\', \'Purchase of Asset [OP-A[00000017]]\', \'\', \'3\', \'2016-06-21\', \'16\', \'06\', 654, 654, \'User\')','expenses/saveExpense','0.011377096176147','2016-06-21 12:36:07'),(1390,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000072\', 1, \'fad\', \'32763\', 654, 1, \'1\', \'654\', \'06\', \'16\', \'1\', \'OP-A[00000017]\', \'User\')','expenses/saveExpense','0.14618587493896','2016-06-21 12:36:07'),(1391,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000072\', 2, \'fad\', \'32755\', 654, 1, \'1\', \'654\', \'06\', \'16\', \'1\', \'OP-A[00000017]\', \'User\')','expenses/saveExpense','0.028844833374023','2016-06-21 12:36:07'),(1392,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 654, `total_amount_cr` = 654, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000072\'','expenses/saveExpense','0.016685009002686','2016-06-21 12:36:07'),(1393,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1925','expenses/saveExpense','0.016206026077271','2016-06-21 12:36:07'),(1394,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10703','expenses/saveExpense','0.016700029373169','2016-06-21 12:36:07'),(1395,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000072\'','expenses/saveExpense','0.016151905059814','2016-06-21 12:36:07'),(1396,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.03416895866394','2016-06-21 12:36:07'),(1397,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32755\', \'2016\', \'6\', \'654\', \'0\', 654, \'User\', \'2016-06-21: 06:06:07\')','expenses/saveExpense','0.09709095954895','2016-06-21 12:36:07'),(1398,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.034113168716431','2016-06-21 12:38:05'),(1399,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'fadd\', \'13\', \'User\', 1, 1, \'68\', \'5\', \'OP-A\', \'2017-07-19\', \'124\', \'1\')','expenses/saveExpense','0.051202058792114','2016-06-21 12:38:50'),(1400,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1926, \'User\', \'huihui\', 1, \'32755\', \'5\', \'5\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016087055206299','2016-06-21 12:38:50'),(1401,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'280\'','expenses/saveExpense','0.022253036499023','2016-06-21 12:38:50'),(1402,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20170700000002\' WHERE `ID` =  1926','expenses/saveExpense','0.024451971054077','2016-06-21 12:38:50'),(1403,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20170700000002\', \'Purchase of Asset [OP-A[00000018]]\', \'Purchase of Asset [OP-A[00000018]]\', \'\', \'3\', \'2017-07-19\', \'17\', \'07\', 5, 5, \'User\')','expenses/saveExpense','0.020104885101318','2016-06-21 12:38:50'),(1404,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20170700000002\', 1, \'huihui\', \'32763\', 5, 1, \'1\', \'5\', \'07\', \'17\', \'1\', \'OP-A[00000018]\', \'User\')','expenses/saveExpense','0.033786058425903','2016-06-21 12:38:50'),(1405,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20170700000002\', 2, \'huihui\', \'32755\', 5, 1, \'1\', \'5\', \'07\', \'17\', \'1\', \'OP-A[00000018]\', \'User\')','expenses/saveExpense','0.016518831253052','2016-06-21 12:38:50'),(1406,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 5, `total_amount_cr` = 5, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20170700000002\'','expenses/saveExpense','0.016067028045654','2016-06-21 12:38:50'),(1407,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1926','expenses/saveExpense','0.02513599395752','2016-06-21 12:38:50'),(1408,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10704','expenses/saveExpense','0.016175031661987','2016-06-21 12:38:50'),(1409,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20170700000002\'','expenses/saveExpense','0.016660928726196','2016-06-21 12:38:50'),(1410,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32763\', \'2017\', \'7\', \'0\', \'5\', -5, \'User\', \'2016-06-21: 06:06:50\')','expenses/saveExpense','0.024020910263062','2016-06-21 12:38:50'),(1411,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32755\' AND `a`.`year` =  \'2017\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.015687942504883','2016-06-21 12:38:50'),(1412,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1926\'','expenses/removePayment','0.096408843994141','2016-06-21 12:42:32'),(1413,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.12726807594299','2016-06-21 13:18:03'),(1414,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'fad\', \'13\', \'User\', 1, 1, \'68\', \'2345\', \'OP-A\', \'2015-06-21\', \'123\', \'1\')','expenses/saveExpense','0.11142301559448','2016-06-21 14:27:24'),(1415,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1927, \'User\', \'fad\', 1, \'32755\', \'2345\', \'2345\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.017421007156372','2016-06-21 14:27:25'),(1416,13,0,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'15\', \'06\', \'AP\', 1)','expenses/saveExpense','0.017654895782471','2016-06-21 14:27:25'),(1417,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP150600000001\' WHERE `ID` =  1927','expenses/saveExpense','0.025032997131348','2016-06-21 14:27:25'),(1418,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP150600000001\', \'Purchase of Asset [OP-A[00000019]]\', \'Purchase of Asset [OP-A[00000019]]\', \'\', \'3\', \'2015-06-21\', \'15\', \'06\', 2345, 2345, \'User\')','expenses/saveExpense','0.011590003967285','2016-06-21 14:27:25'),(1419,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP150600000001\', 1, \'fad\', \'32762\', 2345, 1, \'1\', \'2345\', \'06\', \'15\', \'1\', \'OP-A[00000019]\', \'User\')','expenses/saveExpense','0.025629043579102','2016-06-21 14:27:25'),(1420,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP150600000001\', 2, \'fad\', \'32755\', 2345, 1, \'1\', \'2345\', \'06\', \'15\', \'1\', \'OP-A[00000019]\', \'User\')','expenses/saveExpense','0.024264097213745','2016-06-21 14:27:25'),(1421,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2345, `total_amount_cr` = 2345, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP150600000001\'','expenses/saveExpense','0.016654968261719','2016-06-21 14:27:25'),(1422,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1927','expenses/saveExpense','0.016662836074829','2016-06-21 14:27:25'),(1423,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10705','expenses/saveExpense','0.13293194770813','2016-06-21 14:27:25'),(1424,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP150600000001\'','expenses/saveExpense','0.024455070495605','2016-06-21 14:27:25'),(1425,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32762\', \'2015\', \'6\', \'0\', \'2345\', -2345, \'User\', \'2016-06-21: 08:06:24\')','expenses/saveExpense','0.016782999038696','2016-06-21 14:27:25'),(1426,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32755\', \'2015\', \'6\', \'2345\', \'0\', 2345, \'User\', \'2016-06-21: 08:06:24\')','expenses/saveExpense','0.023998975753784','2016-06-21 14:27:25'),(1427,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012521743774414','2016-06-21 14:40:43'),(1428,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'dadadsads\', \'13\', \'User\', 1, 1, \'68\', \'23\', \'OP-A\', \'2016-06-21\', \'124\', \'1\')','expenses/saveExpense','0.103266954422','2016-06-21 14:44:28'),(1429,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1928, \'User\', \'safaf\', 1, \'32755\', \'23\', \'23\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016637086868286','2016-06-21 14:44:28'),(1430,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 73 WHERE `ID` =  \'275\'','expenses/saveExpense','0.033427953720093','2016-06-21 14:44:28'),(1431,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000073\' WHERE `ID` =  1928','expenses/saveExpense','0.016758918762207','2016-06-21 14:44:28'),(1432,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000073\', \'Purchase of Asset [OP-A[00000020]]\', \'Purchase of Asset [OP-A[00000020]]\', \'\', \'3\', \'2016-06-21\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.029050827026367','2016-06-21 14:44:28'),(1433,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000073\', 1, \'safaf\', \'32763\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-A[00000020]\', \'User\')','expenses/saveExpense','0.024790048599243','2016-06-21 14:44:28'),(1434,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000073\', 2, \'safaf\', \'32755\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-A[00000020]\', \'User\')','expenses/saveExpense','0.024211168289185','2016-06-21 14:44:28'),(1435,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000073\'','expenses/saveExpense','0.025005102157593','2016-06-21 14:44:28'),(1436,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1928','expenses/saveExpense','0.016201972961426','2016-06-21 14:44:28'),(1437,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10706','expenses/saveExpense','0.016751050949097','2016-06-21 14:44:28'),(1438,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000073\'','expenses/saveExpense','0.016090869903564','2016-06-21 14:44:28'),(1439,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.026295900344849','2016-06-21 14:44:28'),(1440,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32755\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015109062194824','2016-06-21 14:44:28'),(1441,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'sdaa\', \'13\', \'User\', 1, 1, \'68\', \'44\', \'OP-A\', \'2016-06-21\', \'124\', \'1\')','expenses/saveExpense','0.091287851333618','2016-06-21 14:47:15'),(1442,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1930, \'User\', \'sdafegerg\', 1, \'32755\', \'44\', \'44\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016082048416138','2016-06-21 14:47:15'),(1443,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 74 WHERE `ID` =  \'275\'','expenses/saveExpense','0.022289037704468','2016-06-21 14:47:15'),(1444,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000074\' WHERE `ID` =  1930','expenses/saveExpense','0.024466991424561','2016-06-21 14:47:15'),(1445,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000074\', \'Purchase of Asset [OP-A[00000021]]\', \'Purchase of Asset [OP-A[00000021]]\', \'\', \'3\', \'2016-06-21\', \'16\', \'06\', 44, 44, \'User\')','expenses/saveExpense','0.021236181259155','2016-06-21 14:47:15'),(1446,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000074\', 1, \'sdafegerg\', \'32763\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-A[00000021]\', \'User\')','expenses/saveExpense','0.032532930374146','2016-06-21 14:47:15'),(1447,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000074\', 2, \'sdafegerg\', \'32755\', 44, 1, \'1\', \'44\', \'06\', \'16\', \'1\', \'OP-A[00000021]\', \'User\')','expenses/saveExpense','0.016480922698975','2016-06-21 14:47:15'),(1448,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000074\'','expenses/saveExpense','0.016063928604126','2016-06-21 14:47:15'),(1449,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1930','expenses/saveExpense','0.041758060455322','2016-06-21 14:47:15'),(1450,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10707','expenses/saveExpense','0.024417161941528','2016-06-21 14:47:15'),(1451,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000074\'','expenses/saveExpense','0.033411026000977','2016-06-21 14:47:15'),(1452,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.019897937774658','2016-06-21 14:47:15'),(1453,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32755\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.016343832015991','2016-06-21 14:47:15'),(1454,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'fhfg\', \'13\', \'User\', 1, 1, \'68\', \'358\', \'OP-A\', \'2016-08-18\', \'123\', \'1\')','expenses/saveExpense','0.062483072280884','2016-06-21 15:34:01'),(1455,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1931, \'User\', \'dsfdsg\', 1, \'32755\', \'358\', \'358\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016095876693726','2016-06-21 15:34:01'),(1456,13,0,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.082823991775513','2016-06-21 15:34:01'),(1457,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  1931','expenses/saveExpense','0.033623933792114','2016-06-21 15:34:01'),(1458,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP160800000001\', \'Purchase of Asset [OP-A[00000022]]\', \'Purchase of Asset [OP-A[00000022]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 358, 358, \'User\')','expenses/saveExpense','0.012079000473022','2016-06-21 15:34:01'),(1459,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160800000001\', 1, \'dsfdsg\', \'32762\', 358, 1, \'1\', \'358\', \'08\', \'16\', \'1\', \'OP-A[00000022]\', \'User\')','expenses/saveExpense','0.050114870071411','2016-06-21 15:34:01'),(1460,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160800000001\', 2, \'dsfdsg\', \'32755\', 358, 1, \'1\', \'358\', \'08\', \'16\', \'1\', \'OP-A[00000022]\', \'User\')','expenses/saveExpense','0.016525030136108','2016-06-21 15:34:01'),(1461,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 358, `total_amount_cr` = 358, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.016079902648926','2016-06-21 15:34:01'),(1462,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1931','expenses/saveExpense','0.025112867355347','2016-06-21 15:34:01'),(1463,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10708','expenses/saveExpense','0.016129016876221','2016-06-21 15:34:01'),(1464,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.033392906188965','2016-06-21 15:34:01'),(1465,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32762\', \'2016\', \'8\', \'0\', \'358\', -358, \'User\', \'2016-06-21: 09:06:01\')','expenses/saveExpense','0.037596940994263','2016-06-21 15:34:01'),(1466,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32755\', \'2016\', \'8\', \'358\', \'0\', 358, \'User\', \'2016-06-21: 09:06:01\')','expenses/saveExpense','0.015137195587158','2016-06-21 15:34:01'),(1467,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013189315795898','2016-06-21 15:34:41'),(1468,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013549327850342','2016-06-21 15:50:07'),(1469,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1927\'','expenses/removePayment','0.099334955215454','2016-06-21 15:54:18'),(1470,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-06-22\', \'32767\', \'566\', \'LR\', \'123\', \'13\', 3)','loanReceive/save_new_loan','0.1302809715271','2016-06-22 11:12:47'),(1471,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1932, \'32762\', \'566\', \'fad\')','loanReceive/save_new_loan','0.016797065734863','2016-06-22 11:12:47'),(1472,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 75 WHERE `ID` =  \'275\'','loanReceive/save_new_loan','0.043034076690674','2016-06-22 11:12:47'),(1473,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000075\' WHERE `ID` =  1932','loanReceive/save_new_loan','0.02511191368103','2016-06-22 11:12:47'),(1474,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000075\', \' [LR[00000023]]]\', \'Loan Received [  [LR[00000023]]] ]\', \'\', \'3\', \'2016-06-22\', \'2016\', \'06\', 566, 566, \'User\')','loanReceive/save_new_loan','0.011998891830444','2016-06-22 11:12:47'),(1475,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000075\', 1, \'fad\', \'32767\', 566, 1, \'1\', \'566\', \'06\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/save_new_loan','0.025169849395752','2016-06-22 11:12:47'),(1476,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000075\', 2, \'fad\', \'32762\', 566, 1, \'1\', \'566\', \'06\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/save_new_loan','0.015886068344116','2016-06-22 11:12:47'),(1477,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 566, `total_amount_cr` = 566, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000075\'','loanReceive/save_new_loan','0.016718864440918','2016-06-22 11:12:47'),(1478,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1932','loanReceive/save_new_loan','0.016174793243408','2016-06-22 11:12:47'),(1479,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10709','loanReceive/save_new_loan','0.016728162765503','2016-06-22 11:12:47'),(1480,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000075\'','loanReceive/save_new_loan','0.024420976638794','2016-06-22 11:12:47'),(1481,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.025760173797607','2016-06-22 11:12:47'),(1482,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.015072107315063','2016-06-22 11:12:47'),(1483,13,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 4	\', `openingBalanceCr` = \'1776\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32770\'','setup/saveLoan','0.093707084655762','2016-06-22 11:14:31'),(1484,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-06-22\', \'32769\', \'658\', \'LR\', \'124\', \'13\', 3)','loanReceive/save_new_loan','0.082180976867676','2016-06-22 11:31:33'),(1485,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1933, \'32763\', \'658\', \'fad\')','loanReceive/save_new_loan','0.033403158187866','2016-06-22 11:31:33'),(1486,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 76 WHERE `ID` =  \'275\'','loanReceive/save_new_loan','0.022485971450806','2016-06-22 11:31:33'),(1487,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000076\' WHERE `ID` =  1933','loanReceive/save_new_loan','0.041697978973389','2016-06-22 11:31:33'),(1488,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000076\', \' [LR[00000023]]]\', \'Loan Received [  [LR[00000023]]] ]\', \'\', \'3\', \'2016-06-22\', \'2016\', \'06\', 658, 658, \'User\')','loanReceive/save_new_loan','0.070726871490479','2016-06-22 11:31:33'),(1489,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000076\', 1, \'fad\', \'32769\', 658, 1, \'1\', \'658\', \'06\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/save_new_loan','0.066394805908203','2016-06-22 11:31:33'),(1490,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000076\', 2, \'fad\', \'32763\', 658, 1, \'1\', \'658\', \'06\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/save_new_loan','0.015911102294922','2016-06-22 11:31:33'),(1491,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 658, `total_amount_cr` = 658, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000076\'','loanReceive/save_new_loan','0.016685962677002','2016-06-22 11:31:33'),(1492,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1933','loanReceive/save_new_loan','0.016139984130859','2016-06-22 11:31:33'),(1493,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10710','loanReceive/save_new_loan','0.041874170303345','2016-06-22 11:31:33'),(1494,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000076\'','loanReceive/save_new_loan','0.041055917739868','2016-06-22 11:31:33'),(1495,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32769\', \'2016\', \'6\', \'0\', \'658\', -658, \'User\', \'2016-06-22: 05:06:33\')','loanReceive/save_new_loan','0.053912162780762','2016-06-22 11:31:33'),(1496,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.08174991607666','2016-06-22 11:31:33'),(1497,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-06-22\', \'32767\', \'999\', \'LR\', \'123\', \'13\', 3)','loanReceive/save_new_loan','0.20154500007629','2016-06-22 11:32:58'),(1498,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1934, \'32762\', \'999\', \'hdfh\')','loanReceive/save_new_loan','0.016690969467163','2016-06-22 11:32:59'),(1499,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 77 WHERE `ID` =  \'275\'','loanReceive/save_new_loan','0.030325889587402','2016-06-22 11:32:59'),(1500,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000077\' WHERE `ID` =  1934','loanReceive/save_new_loan','0.016721963882446','2016-06-22 11:32:59'),(1501,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000077\', \' [LR[00000024]]]\', \'Loan Received [  [LR[00000024]]] ]\', \'\', \'3\', \'2016-06-22\', \'2016\', \'06\', 999, 999, \'User\')','loanReceive/save_new_loan','0.020420074462891','2016-06-22 11:32:59'),(1502,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000077\', 1, \'hdfh\', \'32767\', 999, 1, \'1\', \'999\', \'06\', \'2016\', \'0\', \'LR[00000024]\', \'User\')','loanReceive/save_new_loan','0.033374071121216','2016-06-22 11:32:59'),(1503,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000077\', 2, \'hdfh\', \'32762\', 999, 1, \'1\', \'999\', \'06\', \'2016\', \'0\', \'LR[00000024]\', \'User\')','loanReceive/save_new_loan','0.015913009643555','2016-06-22 11:32:59'),(1504,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 999, `total_amount_cr` = 999, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000077\'','loanReceive/save_new_loan','0.025017023086548','2016-06-22 11:32:59'),(1505,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1934','loanReceive/save_new_loan','0.016155958175659','2016-06-22 11:32:59'),(1506,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10711','loanReceive/save_new_loan','0.02510404586792','2016-06-22 11:32:59'),(1507,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000077\'','loanReceive/save_new_loan','0.016149044036865','2016-06-22 11:32:59'),(1508,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.025156021118164','2016-06-22 11:32:59'),(1509,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.015062093734741','2016-06-22 11:32:59'),(1510,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2016-06-22\', \'123\', \'1\')','expenses/saveExpense','0.070858001708984','2016-06-22 12:22:13'),(1511,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1935, \'User\', \'fad\', 1, \'32767\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016401052474976','2016-06-22 12:22:13'),(1512,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 78 WHERE `ID` =  \'275\'','expenses/saveExpense','0.03413200378418','2016-06-22 12:22:13'),(1513,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000078\' WHERE `ID` =  1935','expenses/saveExpense','0.016568183898926','2016-06-22 12:22:13'),(1514,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000078\', \'Loan Repayment [OP-L[00000025]]\', \'Loan Repayment [OP-L[00000025]]\', \'\', \'3\', \'2016-06-22\', \'16\', \'06\', 100, 100, \'User\')','expenses/saveExpense','0.029278039932251','2016-06-22 12:22:13'),(1515,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000078\', 1, \'fad\', \'32762\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-L[00000025]\', \'User\')','expenses/saveExpense','0.033010005950928','2016-06-22 12:22:13'),(1516,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000078\', 2, \'fad\', \'32767\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-L[00000025]\', \'User\')','expenses/saveExpense','0.016139030456543','2016-06-22 12:22:13'),(1517,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000078\'','expenses/saveExpense','0.024829149246216','2016-06-22 12:22:13'),(1518,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1935','expenses/saveExpense','0.016188859939575','2016-06-22 12:22:13'),(1519,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10712','expenses/saveExpense','0.016776084899902','2016-06-22 12:22:13'),(1520,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000078\'','expenses/saveExpense','0.032956123352051','2016-06-22 12:22:13'),(1521,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.025891065597534','2016-06-22 12:22:13'),(1522,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015302896499634','2016-06-22 12:22:13'),(1523,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012760162353516','2016-06-22 12:23:12'),(1524,13,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Store Equipment	\', `openingBalanceDr` = \'2\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32756\'','setup/saveAsset','0.10155487060547','2016-06-22 12:23:23'),(1525,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013308525085449','2016-06-22 12:23:25'),(1526,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.1452579498291','2016-06-22 12:30:41'),(1527,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'dfsf\', \'13\', \'User\', 1, 1, \'68\', \'455\', \'OP-L\', \'2016-06-22\', \'123\', \'1\')','expenses/saveExpense','0.078636884689331','2016-06-22 12:58:40'),(1528,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1936, \'User\', \'asfsf\', 1, \'32768\', \'455\', \'455\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016729831695557','2016-06-22 12:58:40'),(1529,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 79 WHERE `ID` =  \'275\'','expenses/saveExpense','0.033812046051025','2016-06-22 12:58:40'),(1530,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000079\' WHERE `ID` =  1936','expenses/saveExpense','0.016501903533936','2016-06-22 12:58:40'),(1531,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000079\', \'Loan Repayment [OP-L[00000026]]\', \'Loan Repayment [OP-L[00000026]]\', \'\', \'3\', \'2016-06-22\', \'16\', \'06\', 455, 455, \'User\')','expenses/saveExpense','0.029270887374878','2016-06-22 12:58:40'),(1532,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000079\', 1, \'asfsf\', \'32762\', 455, 1, \'1\', \'455\', \'06\', \'16\', \'1\', \'OP-L[00000026]\', \'User\')','expenses/saveExpense','0.024545907974243','2016-06-22 12:58:40'),(1533,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000079\', 2, \'asfsf\', \'32768\', 455, 1, \'1\', \'455\', \'06\', \'16\', \'1\', \'OP-L[00000026]\', \'User\')','expenses/saveExpense','0.024511098861694','2016-06-22 12:58:40'),(1534,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 455, `total_amount_cr` = 455, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000079\'','expenses/saveExpense','0.016435861587524','2016-06-22 12:58:40'),(1535,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1936','expenses/saveExpense','0.016433954238892','2016-06-22 12:58:40'),(1536,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10713','expenses/saveExpense','0.024849891662598','2016-06-22 12:58:40'),(1537,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000079\'','expenses/saveExpense','0.016327142715454','2016-06-22 12:58:40'),(1538,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.022910833358765','2016-06-22 12:58:40'),(1539,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32768\', \'2016\', \'6\', \'455\', \'0\', 455, \'User\', \'2016-06-22: 06:06:40\')','expenses/saveExpense','0.014798879623413','2016-06-22 12:58:40'),(1540,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1936\'','expenses/removePayment','0.032196044921875','2016-06-22 13:00:28'),(1541,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'fadswrg\', \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2016-06-22\', \'122\', \'1\')','expenses/saveExpense','0.06218409538269','2016-06-22 15:07:08'),(1542,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1937, \'User\', \'hdhd\', 1, \'32770\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01703405380249','2016-06-22 15:07:08'),(1543,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 80 WHERE `ID` =  \'275\'','expenses/saveExpense','0.025788068771362','2016-06-22 15:07:08'),(1544,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000080\' WHERE `ID` =  1937','expenses/saveExpense','0.016690969467163','2016-06-22 15:07:08'),(1545,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000080\', \'Loan Repayment [OP-L[00000027]]\', \'Loan Repayment [OP-L[00000027]]\', \'\', \'3\', \'2016-06-22\', \'16\', \'06\', 100, 100, \'User\')','expenses/saveExpense','0.021331071853638','2016-06-22 15:07:08'),(1546,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000080\', 1, \'hdhd\', \'32761\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-L[00000027]\', \'User\')','expenses/saveExpense','0.041186094284058','2016-06-22 15:07:09'),(1547,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000080\', 2, \'hdhd\', \'32770\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-L[00000027]\', \'User\')','expenses/saveExpense','0.01616907119751','2016-06-22 15:07:09'),(1548,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000080\'','expenses/saveExpense','0.016385078430176','2016-06-22 15:07:09'),(1549,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1937','expenses/saveExpense','0.024842023849487','2016-06-22 15:07:09'),(1550,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10714','expenses/saveExpense','0.016465187072754','2016-06-22 15:07:09'),(1551,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000080\'','expenses/saveExpense','0.12817001342773','2016-06-22 15:07:09'),(1552,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.017773866653442','2016-06-22 15:07:09'),(1553,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32770\', \'2016\', \'6\', \'100\', \'0\', 100, \'User\', \'2016-06-22: 09:06:08\')','expenses/saveExpense','0.014266967773438','2016-06-22 15:07:09'),(1554,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-06-22\', \'32770\', \'100\', \'LR\', \'122\', \'13\', 3)','loanReceive/save_new_loan','0.12887001037598','2016-06-22 15:25:32'),(1555,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1938, \'32761\', \'100\', \'hfdhh\')','loanReceive/save_new_loan','0.016907930374146','2016-06-22 15:25:32'),(1556,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 81 WHERE `ID` =  \'275\'','loanReceive/save_new_loan','0.035208940505981','2016-06-22 15:25:32'),(1557,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000081\' WHERE `ID` =  1938','loanReceive/save_new_loan','0.016438961029053','2016-06-22 15:25:32'),(1558,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000081\', \' [LR[00000028]]]\', \'Loan Received [  [LR[00000028]]] ]\', \'\', \'3\', \'2016-06-22\', \'2016\', \'06\', 100, 100, \'User\')','loanReceive/save_new_loan','0.011996984481812','2016-06-22 15:25:32'),(1559,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000081\', 1, \'hfdhh\', \'32770\', 100, 1, \'1\', \'100\', \'06\', \'2016\', \'0\', \'LR[00000028]\', \'User\')','loanReceive/save_new_loan','0.016846895217896','2016-06-22 15:25:32'),(1560,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000081\', 2, \'hfdhh\', \'32761\', 100, 1, \'1\', \'100\', \'06\', \'2016\', \'0\', \'LR[00000028]\', \'User\')','loanReceive/save_new_loan','0.024551868438721','2016-06-22 15:25:32'),(1561,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000081\'','loanReceive/save_new_loan','0.033056020736694','2016-06-22 15:25:32'),(1562,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1938','loanReceive/save_new_loan','0.13651490211487','2016-06-22 15:25:32'),(1563,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10715','loanReceive/save_new_loan','0.029361009597778','2016-06-22 15:25:32'),(1564,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000081\'','loanReceive/save_new_loan','0.016757011413574','2016-06-22 15:25:32'),(1565,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32770\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.02620792388916','2016-06-22 15:25:33'),(1566,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.023627996444702','2016-06-22 15:25:33'),(1567,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1937\'','expenses/removePayment','0.22052907943726','2016-06-22 15:26:15'),(1568,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'fdhdfh\', \'13\', \'User\', 1, 1, \'68\', \'200\', \'OP-L\', \'2017-06-22\', \'123\', \'1\')','expenses/saveExpense','0.029620885848999','2016-06-22 15:27:55'),(1569,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1939, \'User\', \'fsfdf\', 1, \'32770\', \'200\', \'200\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016367197036743','2016-06-22 15:27:55'),(1570,13,0,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'17\', \'06\', \'AP\', 1)','expenses/saveExpense','0.013700008392334','2016-06-22 15:27:55'),(1571,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP170600000001\' WHERE `ID` =  1939','expenses/saveExpense','0.01644492149353','2016-06-22 15:27:55'),(1572,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP170600000001\', \'Loan Repayment [OP-L[00000029]]\', \'Loan Repayment [OP-L[00000029]]\', \'\', \'3\', \'2017-06-22\', \'17\', \'06\', 200, 200, \'User\')','expenses/saveExpense','0.012290954589844','2016-06-22 15:27:55'),(1573,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP170600000001\', 1, \'fsfdf\', \'32762\', 200, 1, \'1\', \'200\', \'06\', \'17\', \'1\', \'OP-L[00000029]\', \'User\')','expenses/saveExpense','0.016554117202759','2016-06-22 15:27:55'),(1574,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP170600000001\', 2, \'fsfdf\', \'32770\', 200, 1, \'1\', \'200\', \'06\', \'17\', \'1\', \'OP-L[00000029]\', \'User\')','expenses/saveExpense','0.016203165054321','2016-06-22 15:27:55'),(1575,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP170600000001\'','expenses/saveExpense','0.016349077224731','2016-06-22 15:27:55'),(1576,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1939','expenses/saveExpense','0.016534090042114','2016-06-22 15:27:55'),(1577,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10716','expenses/saveExpense','0.016455888748169','2016-06-22 15:27:55'),(1578,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP170600000001\'','expenses/saveExpense','0.016396999359131','2016-06-22 15:27:55'),(1579,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32762\', \'2017\', \'6\', \'0\', \'200\', -200, \'User\', \'2016-06-22: 09:06:55\')','expenses/saveExpense','0.013967990875244','2016-06-22 15:27:55'),(1580,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32770\', \'2017\', \'6\', \'200\', \'0\', 200, \'User\', \'2016-06-22: 09:06:55\')','expenses/saveExpense','0.014852046966553','2016-06-22 15:27:55'),(1581,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'17\' WHERE `ID` =  \'13\'','setup/updateCompany','0.13843202590942','2016-06-23 09:49:04'),(1582,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'17\' WHERE `ID` =  \'13\'','setup/updateCompany','0.040105104446411','2016-06-23 09:49:04'),(1583,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'18\', `incorporateDate` = \'01-01-2016\' WHERE `ID` =  \'13\'','setup/updateCompany','0.097774982452393','2016-06-23 09:54:03'),(1584,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'18\', `incorporateDate` = \'01-01-2016\' WHERE `ID` =  \'13\'','setup/updateCompany','0.15252017974854','2016-06-23 09:54:03'),(1585,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'14\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'13\'','setup/updateCompany','0.14330911636353','2016-06-23 10:16:54'),(1586,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'14\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'13\'','setup/updateCompany','0.05797290802002','2016-06-23 10:16:54'),(1587,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'18\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'13\'','setup/updateCompany','0.016221046447754','2016-06-23 10:20:17'),(1588,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'18\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'13\'','setup/updateCompany','0.01772403717041','2016-06-23 10:20:18'),(1589,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'02-01-2016\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.1027090549469','2016-06-23 10:26:00'),(1590,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'02-01-2016\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.016057968139648','2016-06-23 10:26:00'),(1591,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'19\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'13\'','setup/updateCompany','0.025338888168335','2016-06-23 10:29:08'),(1592,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'19\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'13\'','setup/updateCompany','0.016375064849854','2016-06-23 10:29:08'),(1593,13,0,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'19\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.091195106506348','2016-06-23 10:29:50'),(1594,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'19\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.016087055206299','2016-06-23 10:29:50'),(1595,13,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0012919902801514','2016-06-24 15:35:08'),(1596,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0024640560150146','2016-06-24 15:35:11'),(1597,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0024819374084473','2016-06-27 09:43:43'),(1598,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0025491714477539','2016-06-27 09:43:47'),(1599,13,0,'192.168.1.136','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.00042009353637695','2016-06-27 09:44:27'),(1600,13,0,'192.168.1.136','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'19\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00038719177246094','2016-06-27 09:44:27'),(1601,13,0,'192.168.1.136','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'19\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.087265968322754','2016-06-27 09:44:27'),(1602,13,0,'192.168.1.136','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.00041508674621582','2016-06-27 09:45:03'),(1603,13,0,'192.168.1.136','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'19\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.0003819465637207','2016-06-27 09:45:03'),(1604,13,0,'192.168.1.136','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'19\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00040411949157715','2016-06-27 09:45:03'),(1605,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'hgfh\', \'13\', \'User\', 1, 1, \'68\', \'20\', \'OP-E\', \'2016-06-27\', \'122\', \'1\')','expenses/saveExpense','0.037678956985474','2016-06-27 09:46:21'),(1606,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1940, \'User\', \'maxis\', 1, \'32796\', \'20\', \'20\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.051761150360107','2016-06-27 09:46:21'),(1607,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 82 WHERE `ID` =  \'275\'','expenses/saveExpense','0.033452987670898','2016-06-27 09:46:21'),(1608,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000082\' WHERE `ID` =  1940','expenses/saveExpense','0.041465044021606','2016-06-27 09:46:21'),(1609,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000082\', \'Operating Expenses [OP-E[00000030]]\', \'Operating Expenses [OP-E[00000030]]\', \'\', \'3\', \'2016-06-27\', \'16\', \'06\', 20, 20, \'User\')','expenses/saveExpense','0.017838001251221','2016-06-27 09:46:21'),(1610,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000082\', 1, \'maxis\', \'32761\', 20, 1, \'1\', \'20\', \'06\', \'16\', \'1\', \'OP-E[00000030]\', \'User\')','expenses/saveExpense','0.035223007202148','2016-06-27 09:46:21'),(1611,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000082\', 2, \'maxis\', \'32796\', 20, 1, \'1\', \'20\', \'06\', \'16\', \'1\', \'OP-E[00000030]\', \'User\')','expenses/saveExpense','0.024345874786377','2016-06-27 09:46:21'),(1612,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000082\'','expenses/saveExpense','0.024643898010254','2016-06-27 09:46:21'),(1613,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1940','expenses/saveExpense','0.017820119857788','2016-06-27 09:46:21'),(1614,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10717','expenses/saveExpense','0.01494288444519','2016-06-27 09:46:21'),(1615,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000082\'','expenses/saveExpense','0.041506052017212','2016-06-27 09:46:21'),(1616,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.036701917648315','2016-06-27 09:46:21'),(1617,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32796\', \'2016\', \'6\', \'20\', \'0\', 20, \'User\', \'2016-06-27: 03:06:21\')','expenses/saveExpense','0.066078901290894','2016-06-27 09:46:21'),(1618,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1910\'','expenses/removePayment','0.1481499671936','2016-06-27 10:02:44'),(1619,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1905\'','expenses/removePayment','0.10237884521484','2016-06-27 10:02:44'),(1620,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1908\'','expenses/removePayment','0.11676597595215','2016-06-27 10:02:44'),(1621,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1909\'','expenses/removePayment','0.13461995124817','2016-06-27 10:02:44'),(1622,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1911\'','expenses/removePayment','0.20043706893921','2016-06-27 10:02:44'),(1623,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-06-27\', \'32767\', \'1000\', \'LR\', \'122\', \'13\', 3)','loanReceive/save_new_loan','0.07278299331665','2016-06-27 12:53:49'),(1624,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1941, \'32761\', \'1000\', \'hgjg\')','loanReceive/save_new_loan','0.016140937805176','2016-06-27 12:53:49'),(1625,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 83 WHERE `ID` =  \'275\'','loanReceive/save_new_loan','0.023246765136719','2016-06-27 12:53:49'),(1626,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000083\' WHERE `ID` =  1941','loanReceive/save_new_loan','0.026749849319458','2016-06-27 12:53:49'),(1627,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000083\', \' [LR[00000031]]]\', \'Loan Received [  [LR[00000031]]] ]\', \'\', \'3\', \'2016-06-27\', \'2016\', \'06\', 1000, 1000, \'User\')','loanReceive/save_new_loan','0.021181106567383','2016-06-27 12:53:49'),(1628,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000083\', 1, \'hgjg\', \'32767\', 1000, 1, \'1\', \'1000\', \'06\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/save_new_loan','0.063848972320557','2016-06-27 12:53:49'),(1629,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000083\', 2, \'hgjg\', \'32761\', 1000, 1, \'1\', \'1000\', \'06\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/save_new_loan','0.018490076065063','2016-06-27 12:53:49'),(1630,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000083\'','loanReceive/save_new_loan','0.0244140625','2016-06-27 12:53:49'),(1631,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1941','loanReceive/save_new_loan','0.02507495880127','2016-06-27 12:53:49'),(1632,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10718','loanReceive/save_new_loan','0.032889842987061','2016-06-27 12:53:49'),(1633,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000083\'','loanReceive/save_new_loan','0.016661882400513','2016-06-27 12:53:49'),(1634,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.025869131088257','2016-06-27 12:53:49'),(1635,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/save_new_loan','0.14870190620422','2016-06-27 12:53:49'),(1636,12,0,'192.168.1.211','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'12\'','setup/updateCompany','0.17316317558289','2016-06-27 13:39:44'),(1637,12,0,'192.168.1.211','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'12\'','setup/updateCompany','0.05072808265686','2016-06-27 13:39:44'),(1638,12,0,'192.168.1.211','update','UPDATE `company` SET `uploadLogo` = \'12.JPG\' WHERE `ID` =  \'12\'','setup/companySetup','0.029456853866577','2016-06-27 13:40:55'),(1639,12,0,'192.168.1.211','update','UPDATE `company` SET `companyName` = \'kedai-e.net\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1928\', `countryID` = \'458\', `parlimenID` = \'4\', `phoneNo` = \'123\', `email` = \'farhana@salihin.com.my\', `incorporateDate` = \'1970-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'12.JPG\', `updatedBy` = \'15\' WHERE `ID` =  \'12\'','setup/companySetup','0.023928880691528','2016-06-27 13:40:55'),(1640,12,0,'192.168.1.211','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'kedai-e.net\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1928\', `countryID` = \'458\', `parlimenID` = \'4\', `phoneNo` = \'123\', `email` = \'farhana@salihin.com.my\', `incorporateDate` = \'1970-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'12.JPG\', `updatedBy` = \'15\' WHERE `ID` =  \'12\'','setup/companySetup','0.024742841720581','2016-06-27 13:40:55'),(1641,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-06-22\', `bankID` = \'32767\', `payTo` = \'124\', `amountPaid` = \'658.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'1933\'','loanReceive/update_loan','0.097141027450562','2016-06-27 16:32:35'),(1642,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32763\', `amountExcludedTax` = \'658.00\', `itemdescription` = \'fad\' WHERE `ID` =  \'1844\'','loanReceive/update_loan','0.0003361701965332','2016-06-27 16:32:35'),(1643,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 84 WHERE `ID` =  \'275\'','loanReceive/update_loan','0.021685123443604','2016-06-27 16:32:35'),(1644,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000084\' WHERE `ID` =  \'1933\'','loanReceive/update_loan','0.016704082489014','2016-06-27 16:32:35'),(1645,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000084\', \' [LR[00000023]]]\', \'Loan Received [  [LR[00000023]]] ]\', \'\', \'3\', \'2016-06-22\', \'2016\', \'06\', 658, 658, \'User\')','loanReceive/update_loan','0.03734302520752','2016-06-27 16:32:35'),(1646,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000084\', 1, \'fad\', \'32767\', 658, 1, \'1\', \'658\', \'06\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/update_loan','0.016467094421387','2016-06-27 16:32:35'),(1647,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000084\', 2, \'fad\', \'32763\', 658, 1, \'1\', \'658\', \'06\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/update_loan','0.015921831130981','2016-06-27 16:32:35'),(1648,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 658, `total_amount_cr` = 658, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000084\'','loanReceive/update_loan','0.025007963180542','2016-06-27 16:32:35'),(1649,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1933\'','loanReceive/update_loan','0.024538993835449','2016-06-27 16:32:35'),(1650,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10719','loanReceive/update_loan','0.016744136810303','2016-06-27 16:32:35'),(1651,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000084\'','loanReceive/update_loan','0.016111850738525','2016-06-27 16:32:36'),(1652,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/update_loan','0.025784015655518','2016-06-27 16:32:36'),(1653,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/update_loan','0.023343086242676','2016-06-27 16:32:36'),(1654,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-06-22\', `bankID` = \'32767\', `payTo` = \'122\', `amountPaid` = \'100.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'1938\'','loanReceive/update_loan','0.09228777885437','2016-06-27 16:32:47'),(1655,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32761\', `amountExcludedTax` = \'100.00\', `itemdescription` = \'hfdhh\' WHERE `ID` =  \'1849\'','loanReceive/update_loan','0.00033998489379883','2016-06-27 16:32:47'),(1656,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 85 WHERE `ID` =  \'275\'','loanReceive/update_loan','0.018082141876221','2016-06-27 16:32:47'),(1657,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000085\' WHERE `ID` =  \'1938\'','loanReceive/update_loan','0.016101837158203','2016-06-27 16:32:47'),(1658,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000085\', \' [LR[00000028]]]\', \'Loan Received [  [LR[00000028]]] ]\', \'\', \'3\', \'2016-06-22\', \'2016\', \'06\', 100, 100, \'User\')','loanReceive/update_loan','0.012311935424805','2016-06-27 16:32:47'),(1659,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000085\', 1, \'hfdhh\', \'32767\', 100, 1, \'1\', \'100\', \'06\', \'2016\', \'0\', \'LR[00000028]\', \'User\')','loanReceive/update_loan','0.016532897949219','2016-06-27 16:32:47'),(1660,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000085\', 2, \'hfdhh\', \'32761\', 100, 1, \'1\', \'100\', \'06\', \'2016\', \'0\', \'LR[00000028]\', \'User\')','loanReceive/update_loan','0.024812936782837','2016-06-27 16:32:47'),(1661,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000085\'','loanReceive/update_loan','0.016137838363647','2016-06-27 16:32:47'),(1662,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1938\'','loanReceive/update_loan','0.01679801940918','2016-06-27 16:32:47'),(1663,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10720','loanReceive/update_loan','0.01616096496582','2016-06-27 16:32:47'),(1664,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000085\'','loanReceive/update_loan','0.016676187515259','2016-06-27 16:32:47'),(1665,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/update_loan','0.022804021835327','2016-06-27 16:32:47'),(1666,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/update_loan','0.13182902336121','2016-06-27 16:32:47'),(1667,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'200\', `formNo` = \'OP-A\', `paymentDate` = \'2016-06-15\', `bankId` = \'123\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1920\'','expenses/saveExpense','0.030294895172119','2016-06-27 16:47:56'),(1668,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'1920\', \'User\', \'hj\', 1, \'32750\', \'200\', \'200\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.13310503959656','2016-06-27 16:47:56'),(1669,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 86 WHERE `ID` =  \'275\'','expenses/saveExpense','0.023071050643921','2016-06-27 16:47:56'),(1670,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000086\' WHERE `ID` =  \'1920\'','expenses/saveExpense','0.016725063323975','2016-06-27 16:47:56'),(1671,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000086\', \'Purchase of Fixed Asset [OP-A[00000014]]\', \'Purchase of Fixed Asset [OP-A[00000014]]\', \'\', \'3\', \'2016-06-15\', \'16\', \'06\', 200, 200, \'User\')','expenses/saveExpense','0.015101909637451','2016-06-27 16:47:56'),(1672,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000086\', 1, \'hj\', \'32762\', 200, 1, \'1\', \'200\', \'06\', \'16\', \'1\', \'OP-A[00000014]\', \'User\')','expenses/saveExpense','0.016476154327393','2016-06-27 16:47:57'),(1673,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000086\', 2, \'hj\', \'32750\', 200, 1, \'1\', \'200\', \'06\', \'16\', \'1\', \'OP-A[00000014]\', \'User\')','expenses/saveExpense','0.015926837921143','2016-06-27 16:47:57'),(1674,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000086\'','expenses/saveExpense','0.016676902770996','2016-06-27 16:47:57'),(1675,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1920\'','expenses/saveExpense','0.01620888710022','2016-06-27 16:47:57'),(1676,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10721','expenses/saveExpense','0.016704082489014','2016-06-27 16:47:57'),(1677,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000086\'','expenses/saveExpense','0.016126871109009','2016-06-27 16:47:57'),(1678,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.014829158782959','2016-06-27 16:47:57'),(1679,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32750\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015112161636353','2016-06-27 16:47:57'),(1680,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'200\', `formNo` = \'OP-A\', `paymentDate` = \'2016-06-15\', `bankId` = \'123\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1920\'','expenses/saveExpense','0.027196168899536','2016-06-27 16:48:24'),(1681,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1920\', `createdBy` = \'User\', `itemdescription` = \'hjjkjk\', `lineNo` = 1, `accountID` = \'32750\', `amountIncludedTax` = \'200\', `amountExcludedTax` = \'200\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1853\'','expenses/saveExpense','0.024846076965332','2016-06-27 16:48:24'),(1682,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 87 WHERE `ID` =  \'275\'','expenses/saveExpense','0.015133857727051','2016-06-27 16:48:25'),(1683,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000087\' WHERE `ID` =  \'1920\'','expenses/saveExpense','0.016776084899902','2016-06-27 16:48:25'),(1684,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000087\', \'Purchase of Fixed Asset [OP-A[00000014]]\', \'Purchase of Fixed Asset [OP-A[00000014]]\', \'\', \'3\', \'2016-06-15\', \'16\', \'06\', 200, 200, \'User\')','expenses/saveExpense','0.015089988708496','2016-06-27 16:48:25'),(1685,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000087\', 1, \'hjjkjk\', \'32762\', 200, 1, \'1\', \'200\', \'06\', \'16\', \'1\', \'OP-A[00000014]\', \'User\')','expenses/saveExpense','0.02482008934021','2016-06-27 16:48:25'),(1686,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000087\', 2, \'hjjkjk\', \'32750\', 200, 1, \'1\', \'200\', \'06\', \'16\', \'1\', \'OP-A[00000014]\', \'User\')','expenses/saveExpense','0.015923976898193','2016-06-27 16:48:25'),(1687,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000087\'','expenses/saveExpense','0.016668081283569','2016-06-27 16:48:25'),(1688,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1920\'','expenses/saveExpense','0.016181945800781','2016-06-27 16:48:25'),(1689,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10722','expenses/saveExpense','0.016757011413574','2016-06-27 16:48:25'),(1690,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000087\'','expenses/saveExpense','0.01607608795166','2016-06-27 16:48:25'),(1691,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.014822006225586','2016-06-27 16:48:25'),(1692,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32750\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023378133773804','2016-06-27 16:48:25'),(1693,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'ghfghf\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'200\', `formNo` = \'OP-A\', `paymentDate` = \'2016-06-15\', `bankId` = \'123\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1920\'','expenses/saveExpense','0.027671098709106','2016-06-27 16:48:50'),(1694,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1920\', `createdBy` = \'User\', `itemdescription` = \'hjjkjk\', `lineNo` = 1, `accountID` = \'32750\', `amountIncludedTax` = \'200\', `amountExcludedTax` = \'200\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1853\'','expenses/saveExpense','0.00035786628723145','2016-06-27 16:48:50'),(1695,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 88 WHERE `ID` =  \'275\'','expenses/saveExpense','0.017296075820923','2016-06-27 16:48:50'),(1696,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000088\' WHERE `ID` =  \'1920\'','expenses/saveExpense','0.016136884689331','2016-06-27 16:48:50'),(1697,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000088\', \'Purchase of Fixed Asset [OP-A[00000014]]\', \'Purchase of Fixed Asset [OP-A[00000014]]\', \'\', \'3\', \'2016-06-15\', \'16\', \'06\', 200, 200, \'User\')','expenses/saveExpense','0.015655994415283','2016-06-27 16:48:50'),(1698,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000088\', 1, \'hjjkjk\', \'32762\', 200, 1, \'1\', \'200\', \'06\', \'16\', \'1\', \'OP-A[00000014]\', \'User\')','expenses/saveExpense','0.015898942947388','2016-06-27 16:48:50'),(1699,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000088\', 2, \'hjjkjk\', \'32750\', 200, 1, \'1\', \'200\', \'06\', \'16\', \'1\', \'OP-A[00000014]\', \'User\')','expenses/saveExpense','0.016499996185303','2016-06-27 16:48:51'),(1700,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000088\'','expenses/saveExpense','0.016091108322144','2016-06-27 16:48:51'),(1701,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1920\'','expenses/saveExpense','0.016769886016846','2016-06-27 16:48:51'),(1702,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10723','expenses/saveExpense','0.024504899978638','2016-06-27 16:48:51'),(1703,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000088\'','expenses/saveExpense','0.016648054122925','2016-06-27 16:48:51'),(1704,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.014127969741821','2016-06-27 16:48:51'),(1705,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32750\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015941858291626','2016-06-27 16:48:51'),(1706,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'ghh\', \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2016-06-27\', \'122\', \'1\')','expenses/saveExpense','0.098578214645386','2016-06-27 16:56:31'),(1707,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1942, \'User\', \'fdf\', 1, \'32767\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016070127487183','2016-06-27 16:56:31'),(1708,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 89 WHERE `ID` =  \'275\'','expenses/saveExpense','0.01534104347229','2016-06-27 16:56:31'),(1709,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000089\' WHERE `ID` =  1942','expenses/saveExpense','0.015960931777954','2016-06-27 16:56:31'),(1710,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000089\', \'Loan Repayment [OP-L[00000032]]\', \'Loan Repayment [OP-L[00000032]]\', \'\', \'3\', \'2016-06-27\', \'16\', \'06\', 100, 100, \'User\')','expenses/saveExpense','0.012802124023438','2016-06-27 16:56:31'),(1711,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000089\', 1, \'fdf\', \'32761\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-L[00000032]\', \'User\')','expenses/saveExpense','0.13267493247986','2016-06-27 16:56:31'),(1712,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000089\', 2, \'fdf\', \'32767\', 100, 1, \'1\', \'100\', \'06\', \'16\', \'1\', \'OP-L[00000032]\', \'User\')','expenses/saveExpense','0.016525030136108','2016-06-27 16:56:31'),(1713,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000089\'','expenses/saveExpense','0.024408102035522','2016-06-27 16:56:31'),(1714,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1942','expenses/saveExpense','0.01679515838623','2016-06-27 16:56:31'),(1715,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10724','expenses/saveExpense','0.024463891983032','2016-06-27 16:56:31'),(1716,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000089\'','expenses/saveExpense','0.033348083496094','2016-06-27 16:56:31'),(1717,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.013911962509155','2016-06-27 16:56:31'),(1718,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.023690223693848','2016-06-27 16:56:31'),(1719,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 4	\', `openingBalanceCr` = \'1500\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32770\'','setup/saveLoan','0.015573024749756','2016-06-27 16:58:03'),(1720,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1939\'','expenses/removePayment','0.022930860519409','2016-06-27 16:59:21'),(1721,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'hhh\', \'13\', \'User\', 1, 1, \'68\', \'200\', \'OP-L\', \'2016-05-11\', \'122\', \'1\')','expenses/saveExpense','0.037222862243652','2016-06-27 17:02:54'),(1722,13,0,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1943, \'User\', \'ghh\', 1, \'32767\', \'200\', \'200\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016623973846436','2016-06-27 17:02:54'),(1723,13,0,'192.168.1.136','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'16\', \'05\', \'AP\', 1)','expenses/saveExpense','0.021459102630615','2016-06-27 17:02:54'),(1724,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160500000001\' WHERE `ID` =  1943','expenses/saveExpense','0.016787052154541','2016-06-27 17:02:54'),(1725,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP160500000001\', \'Loan Repayment [OP-L[00000033]]\', \'Loan Repayment [OP-L[00000033]]\', \'\', \'3\', \'2016-05-11\', \'16\', \'05\', 200, 200, \'User\')','expenses/saveExpense','0.020706176757812','2016-06-27 17:02:54'),(1726,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160500000001\', 1, \'ghh\', \'32761\', 200, 1, \'1\', \'200\', \'05\', \'16\', \'1\', \'OP-L[00000033]\', \'User\')','expenses/saveExpense','0.016479969024658','2016-06-27 17:02:54'),(1727,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160500000001\', 2, \'ghh\', \'32767\', 200, 1, \'1\', \'200\', \'05\', \'16\', \'1\', \'OP-L[00000033]\', \'User\')','expenses/saveExpense','0.015888929367065','2016-06-27 17:02:54'),(1728,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160500000001\'','expenses/saveExpense','0.016646862030029','2016-06-27 17:02:54'),(1729,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1943','expenses/saveExpense','0.016174077987671','2016-06-27 17:02:54'),(1730,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10725','expenses/saveExpense','0.01681113243103','2016-06-27 17:02:54'),(1731,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160500000001\'','expenses/saveExpense','0.024405956268311','2016-06-27 17:02:54'),(1732,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32761\', \'2016\', \'5\', \'0\', \'200\', -200, \'User\', \'2016-06-27: 11:06:54\')','expenses/saveExpense','0.014137983322144','2016-06-27 17:02:54'),(1733,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32767\', \'2016\', \'5\', \'200\', \'0\', 200, \'User\', \'2016-06-27: 11:06:54\')','expenses/saveExpense','0.014559984207153','2016-06-27 17:02:54'),(1734,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'dadadsads\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'23\', `formNo` = \'OP-A\', `paymentDate` = \'2016-06-21\', `bankId` = \'124\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1928\'','expenses/saveExpense','0.019507169723511','2016-06-27 17:05:03'),(1735,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1928\', `createdBy` = \'User\', `itemdescription` = \'safaf\', `lineNo` = 1, `accountID` = \'32759\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1840\'','expenses/saveExpense','0.015991926193237','2016-06-27 17:05:03'),(1736,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 90 WHERE `ID` =  \'275\'','expenses/saveExpense','0.018112897872925','2016-06-27 17:05:03'),(1737,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000090\' WHERE `ID` =  \'1928\'','expenses/saveExpense','0.016172170639038','2016-06-27 17:05:03'),(1738,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000090\', \'Purchase of Fixed Asset [OP-A[00000020]]\', \'Purchase of Fixed Asset [OP-A[00000020]]\', \'\', \'3\', \'2016-06-21\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.023996114730835','2016-06-27 17:05:03'),(1739,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000090\', 1, \'safaf\', \'32763\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-A[00000020]\', \'User\')','expenses/saveExpense','0.015892028808594','2016-06-27 17:05:03'),(1740,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000090\', 2, \'safaf\', \'32759\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-A[00000020]\', \'User\')','expenses/saveExpense','0.016511917114258','2016-06-27 17:05:03'),(1741,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000090\'','expenses/saveExpense','0.01608419418335','2016-06-27 17:05:03'),(1742,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1928\'','expenses/saveExpense','0.016786813735962','2016-06-27 17:05:03'),(1743,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10726','expenses/saveExpense','0.016161918640137','2016-06-27 17:05:03'),(1744,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000090\'','expenses/saveExpense','0.02501392364502','2016-06-27 17:05:03'),(1745,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.014259099960327','2016-06-27 17:05:03'),(1746,13,0,'192.168.1.136','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32759\', \'2016\', \'6\', \'23\', \'0\', 23, \'User\', \'2016-06-27: 11:06:03\')','expenses/saveExpense','0.015143871307373','2016-06-27 17:05:03'),(1747,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'dadadsads\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'23\', `formNo` = \'OP-A\', `paymentDate` = \'2016-06-21\', `bankId` = \'124\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1928\'','expenses/saveExpense','0.027374029159546','2016-06-27 17:05:18'),(1748,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1928\', `createdBy` = \'User\', `itemdescription` = \'safaf\', `lineNo` = 1, `accountID` = \'32755\', `amountIncludedTax` = \'23\', `amountExcludedTax` = \'23\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1840\'','expenses/saveExpense','0.016508102416992','2016-06-27 17:05:18'),(1749,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 91 WHERE `ID` =  \'275\'','expenses/saveExpense','0.022179126739502','2016-06-27 17:05:19'),(1750,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000091\' WHERE `ID` =  \'1928\'','expenses/saveExpense','0.015410900115967','2016-06-27 17:05:19'),(1751,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160600000091\', \'Purchase of Fixed Asset [OP-A[00000020]]\', \'Purchase of Fixed Asset [OP-A[00000020]]\', \'\', \'3\', \'2016-06-21\', \'16\', \'06\', 23, 23, \'User\')','expenses/saveExpense','0.015286922454834','2016-06-27 17:05:19'),(1752,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000091\', 1, \'safaf\', \'32763\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-A[00000020]\', \'User\')','expenses/saveExpense','0.016301155090332','2016-06-27 17:05:19'),(1753,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160600000091\', 2, \'safaf\', \'32755\', 23, 1, \'1\', \'23\', \'06\', \'16\', \'1\', \'OP-A[00000020]\', \'User\')','expenses/saveExpense','0.02442193031311','2016-06-27 17:05:19'),(1754,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000091\'','expenses/saveExpense','0.024777173995972','2016-06-27 17:05:19'),(1755,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1928\'','expenses/saveExpense','0.01637601852417','2016-06-27 17:05:19'),(1756,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10727','expenses/saveExpense','0.016554117202759','2016-06-27 17:05:19'),(1757,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160600000091\'','expenses/saveExpense','0.024629831314087','2016-06-27 17:05:19'),(1758,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.014575958251953','2016-06-27 17:05:19'),(1759,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32755\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.015260219573975','2016-06-27 17:05:19'),(1760,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013329982757568','2016-06-27 17:05:30'),(1761,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'100\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32759\'','setup/saveAsset','0.088006019592285','2016-06-27 17:05:39'),(1762,13,0,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013241767883301','2016-06-27 17:05:40'),(1763,1,0,'192.168.1.195','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0012969970703125','2016-06-28 09:39:24'),(1764,1,0,'192.168.1.195','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.0014481544494629','2016-06-28 09:39:26'),(1765,14,0,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'13\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'14\'','setup/updateCompany','0.023211002349854','2016-06-28 14:54:44'),(1766,14,0,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'13\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'14\'','setup/updateCompany','0.010890007019043','2016-06-28 14:54:44'),(1767,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.030425786972046','2016-06-28 14:55:09'),(1768,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.040870904922485','2016-06-28 14:55:23'),(1769,14,0,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'Hijrah Demo\', `line1` = \'No, 543\', `line2` = \'\', `line3` = \'Gombak\', `city` = \'Gombak\', `companyPostCode` = \'45555\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'361855444\', `email` = \'amin@supplier02.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'17\' WHERE `ID` =  \'14\'','setup/companySetup','0.015674114227295','2016-06-28 14:55:50'),(1770,14,0,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Hijrah Demo\', `line1` = \'No, 543\', `line2` = \'\', `line3` = \'Gombak\', `city` = \'Gombak\', `companyPostCode` = \'45555\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'361855444\', `email` = \'amin@supplier02.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = \'17\' WHERE `ID` =  \'14\'','setup/companySetup','0.012879133224487','2016-06-28 14:55:50'),(1771,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0014050006866455','2016-06-28 14:55:56'),(1772,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Walkie Talkie\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32820\'','setup/saveAsset','0.029201030731201','2016-06-28 14:56:31'),(1773,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0014510154724121','2016-06-28 14:56:32'),(1774,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0014059543609619','2016-06-28 14:56:39'),(1775,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'1000\', `createdTS` = \'1970-01-01 01:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32813\'','setup/saveAsset','0.023478984832764','2016-06-28 14:57:05'),(1776,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0014491081237793','2016-06-28 14:57:06'),(1777,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'1,000.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32813\'','setup/saveAsset','0.037179946899414','2016-06-28 14:57:28'),(1778,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0034949779510498','2016-06-28 14:57:29'),(1779,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32813\'','setup/saveAsset','0.01977014541626','2016-06-28 14:57:39'),(1780,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013790130615234','2016-06-28 14:57:40'),(1781,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'1,000.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32813\'','setup/saveAsset','0.017796039581299','2016-06-28 14:57:43'),(1782,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013937950134277','2016-06-28 14:57:45'),(1783,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32813\'','setup/saveAsset','0.017725944519043','2016-06-28 14:57:55'),(1784,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013971328735352','2016-06-28 14:57:56'),(1785,14,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan MARA\', `openingBalanceCr` = \'5000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32830\'','setup/saveLoan','0.022511005401611','2016-06-28 15:03:21'),(1786,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013349056243896','2016-06-28 15:14:06'),(1787,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'0\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32813\'','setup/saveAsset','0.021435022354126','2016-06-28 15:15:30'),(1788,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013720989227295','2016-06-28 15:15:33'),(1789,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32813\'','setup/saveAsset','0.031956195831299','2016-06-28 15:16:04'),(1790,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013730525970459','2016-06-28 15:16:05'),(1791,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'opis ekuipment\', `openingBalanceDr` = \'1100\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32814\'','setup/saveAsset','0.030395030975342','2016-06-28 15:16:58'),(1792,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013988018035889','2016-06-28 15:17:00'),(1793,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'1,100.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32814\'','setup/saveAsset','0.022309064865112','2016-06-28 15:17:16'),(1794,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013909339904785','2016-06-28 15:17:17'),(1795,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'1100\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32814\'','setup/saveAsset','0.019338130950928','2016-06-28 15:17:50'),(1796,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013840198516846','2016-06-28 15:17:51'),(1797,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Handphone\', `openingBalanceDr` = \'3000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32821\'','setup/saveAsset','0.022783994674683','2016-06-28 15:19:05'),(1798,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013427734375','2016-06-28 15:19:07'),(1799,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.024583101272583','2016-06-28 15:19:41'),(1800,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013768672943115','2016-06-28 15:19:43'),(1801,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1,000.00\', `createdTS` = \'2015-01-02 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.022195100784302','2016-06-28 15:22:40'),(1802,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0024690628051758','2016-06-28 15:22:41'),(1803,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2015-01-02 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.029853105545044','2016-06-28 15:22:51'),(1804,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0017740726470947','2016-06-28 15:22:52'),(1805,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2015-01-02 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.00042390823364258','2016-06-28 15:23:19'),(1806,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013818740844727','2016-06-28 15:23:20'),(1807,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1,000.00\', `createdTS` = \'2015-01-03 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.026514053344727','2016-06-28 15:23:41'),(1808,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013959407806396','2016-06-28 15:23:43'),(1809,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1000\', `createdTS` = \'2015-01-02 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.030706882476807','2016-06-28 15:31:20'),(1810,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013401508331299','2016-06-28 15:31:22'),(1811,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Computer & Software	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32815\'','setup/saveAsset','0.030102968215942','2016-06-28 15:34:00'),(1812,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013670921325684','2016-06-28 15:34:02'),(1813,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Machinery & Engine	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32817\'','setup/saveAsset','0.025661945343018','2016-06-28 15:34:14'),(1814,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.001331090927124','2016-06-28 15:34:16'),(1815,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Renovation	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32818\'','setup/saveAsset','0.031684160232544','2016-06-28 15:34:31'),(1816,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013840198516846','2016-06-28 15:34:32'),(1817,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Store Equipment	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32819\'','setup/saveAsset','0.024119138717651','2016-06-28 15:34:40'),(1818,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013728141784668','2016-06-28 15:34:42'),(1819,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Walkie Talkie\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32820\'','setup/saveAsset','0.02245020866394','2016-06-28 15:34:50'),(1820,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0014050006866455','2016-06-28 15:34:51'),(1821,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.03292989730835','2016-06-28 15:35:04'),(1822,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013799667358398','2016-06-28 15:35:06'),(1823,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2015-01-30\', \'32830\', \'5000\', \'LR\', \'129\', \'14\', 3)','loanReceive/save_new_loan','0.075046062469482','2016-06-28 15:35:20'),(1824,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1944, \'32824\', \'5000\', \'\')','loanReceive/save_new_loan','0.01170802116394','2016-06-28 15:35:20'),(1825,14,0,'192.168.1.202','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'14\', \'3\', \'2015\', \'01\', \'AP\', 1)','loanReceive/save_new_loan','0.0173020362854','2016-06-28 15:35:20'),(1826,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150100000001\' WHERE `ID` =  1944','loanReceive/save_new_loan','0.016804933547974','2016-06-28 15:35:20'),(1827,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'14\', \'AP20150100000001\', \' [LR[00000001]]]\', \'Loan Received [  [LR[00000001]]] ]\', \'\', \'3\', \'2015-01-30\', \'2015\', \'01\', 5000, 5000, \'User\')','loanReceive/save_new_loan','0.015621185302734','2016-06-28 15:35:20'),(1828,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP20150100000001\', 1, \'\', \'32830\', 5000, 1, \'1\', \'5000\', \'01\', \'2015\', \'0\', \'LR[00000001]\', \'User\')','loanReceive/save_new_loan','0.016166925430298','2016-06-28 15:35:20'),(1829,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP20150100000001\', 2, \'\', \'32824\', 5000, 1, \'1\', \'5000\', \'01\', \'2015\', \'0\', \'LR[00000001]\', \'User\')','loanReceive/save_new_loan','0.012814044952393','2016-06-28 15:35:20'),(1830,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'14\' AND `journalID` =  \'AP20150100000001\'','loanReceive/save_new_loan','0.011475086212158','2016-06-28 15:35:20'),(1831,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1944','loanReceive/save_new_loan','0.02483606338501','2016-06-28 15:35:20'),(1832,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10729','loanReceive/save_new_loan','0.016458034515381','2016-06-28 15:35:20'),(1833,14,0,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'14\' AND `journalID` =  \'AP20150100000001\'','loanReceive/save_new_loan','0.013118028640747','2016-06-28 15:35:20'),(1834,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'4\', \'32830\', \'2015\', \'1\', \'0\', \'5000\', -5000, \'User\', \'2016-06-28: 09:06:20\')','loanReceive/save_new_loan','0.025480031967163','2016-06-28 15:35:20'),(1835,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'3\', \'32824\', \'2015\', \'1\', \'5000\', \'0\', 5000, \'User\', \'2016-06-28: 09:06:20\')','loanReceive/save_new_loan','0.13207912445068','2016-06-28 15:35:20'),(1836,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1,000.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.030636072158813','2016-06-28 15:35:22'),(1837,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.012743949890137','2016-06-28 15:35:24'),(1838,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013659000396729','2016-06-28 15:35:46'),(1839,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2015-02-02\', `bankID` = \'32830\', `payTo` = \'129\', `amountPaid` = \'5000.00\', `companyID` = \'14\', `updateAble` = 1 WHERE `ID` =  \'1944\'','loanReceive/update_loan','0.014678955078125','2016-06-28 15:37:02'),(1840,14,0,'192.168.1.202','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32824\', `amountExcludedTax` = \'5000.00\', `itemdescription` = \'\' WHERE `ID` =  \'1856\'','loanReceive/update_loan','0.00032901763916016','2016-06-28 15:37:02'),(1841,14,0,'192.168.1.202','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'14\', \'3\', \'2015\', \'02\', \'AP\', 1)','loanReceive/update_loan','0.017067909240723','2016-06-28 15:37:02'),(1842,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150200000001\' WHERE `ID` =  \'1944\'','loanReceive/update_loan','0.008126974105835','2016-06-28 15:37:02'),(1843,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'14\', \'AP20150200000001\', \' [LR[00000001]]]\', \'Loan Received [  [LR[00000001]]] ]\', \'\', \'3\', \'2015-02-02\', \'2015\', \'02\', 5000, 5000, \'User\')','loanReceive/update_loan','0.0094399452209473','2016-06-28 15:37:02'),(1844,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP20150200000001\', 1, \'\', \'32830\', 5000, 1, \'1\', \'5000\', \'02\', \'2015\', \'0\', \'LR[00000001]\', \'User\')','loanReceive/update_loan','0.011052846908569','2016-06-28 15:37:02'),(1845,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP20150200000001\', 2, \'\', \'32824\', 5000, 1, \'1\', \'5000\', \'02\', \'2015\', \'0\', \'LR[00000001]\', \'User\')','loanReceive/update_loan','0.0078427791595459','2016-06-28 15:37:02'),(1846,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'14\' AND `journalID` =  \'AP20150200000001\'','loanReceive/update_loan','0.0080900192260742','2016-06-28 15:37:02'),(1847,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1944\'','loanReceive/update_loan','0.0081169605255127','2016-06-28 15:37:02'),(1848,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10730','loanReceive/update_loan','0.021389007568359','2016-06-28 15:37:02'),(1849,14,0,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'14\' AND `journalID` =  \'AP20150200000001\'','loanReceive/update_loan','0.011516094207764','2016-06-28 15:37:02'),(1850,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'4\', \'32830\', \'2015\', \'2\', \'0\', \'5000\', -5000, \'User\', \'2016-06-28: 09:06:02\')','loanReceive/update_loan','0.010447978973389','2016-06-28 15:37:02'),(1851,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'3\', \'32824\', \'2015\', \'2\', \'5000\', \'0\', 5000, \'User\', \'2016-06-28: 09:06:02\')','loanReceive/update_loan','0.0099620819091797','2016-06-28 15:37:02'),(1852,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2015-08-31\', `bankID` = \'32830\', `payTo` = \'129\', `amountPaid` = \'5000.00\', `companyID` = \'14\', `updateAble` = 1 WHERE `ID` =  \'1944\'','loanReceive/update_loan','0.019382953643799','2016-06-28 15:38:10'),(1853,14,0,'192.168.1.202','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32824\', `amountExcludedTax` = \'5000.00\', `itemdescription` = \'additional\' WHERE `ID` =  \'1856\'','loanReceive/update_loan','0.016376972198486','2016-06-28 15:38:10'),(1854,14,0,'192.168.1.202','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'14\', \'3\', \'2015\', \'08\', \'AP\', 1)','loanReceive/update_loan','0.012032032012939','2016-06-28 15:38:10'),(1855,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150800000001\' WHERE `ID` =  \'1944\'','loanReceive/update_loan','0.12983012199402','2016-06-28 15:38:10'),(1856,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'14\', \'AP20150800000001\', \' [LR[00000001]]]\', \'Loan Received [  [LR[00000001]]] ]\', \'\', \'3\', \'2015-08-31\', \'2015\', \'08\', 5000, 5000, \'User\')','loanReceive/update_loan','0.0075509548187256','2016-06-28 15:38:10'),(1857,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP20150800000001\', 1, \'additional\', \'32830\', 5000, 1, \'1\', \'5000\', \'08\', \'2015\', \'0\', \'LR[00000001]\', \'User\')','loanReceive/update_loan','0.012933969497681','2016-06-28 15:38:10'),(1858,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP20150800000001\', 2, \'additional\', \'32824\', 5000, 1, \'1\', \'5000\', \'08\', \'2015\', \'0\', \'LR[00000001]\', \'User\')','loanReceive/update_loan','0.0158531665802','2016-06-28 15:38:10'),(1859,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'14\' AND `journalID` =  \'AP20150800000001\'','loanReceive/update_loan','0.011667966842651','2016-06-28 15:38:10'),(1860,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1944\'','loanReceive/update_loan','0.008141040802002','2016-06-28 15:38:10'),(1861,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10731','loanReceive/update_loan','0.013206005096436','2016-06-28 15:38:10'),(1862,14,0,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'14\' AND `journalID` =  \'AP20150800000001\'','loanReceive/update_loan','0.011331081390381','2016-06-28 15:38:10'),(1863,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'4\', \'32830\', \'2015\', \'8\', \'0\', \'5000\', -5000, \'User\', \'2016-06-28: 09:06:10\')','loanReceive/update_loan','0.010653972625732','2016-06-28 15:38:10'),(1864,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'3\', \'32824\', \'2015\', \'8\', \'5000\', \'0\', 5000, \'User\', \'2016-06-28: 09:06:10\')','loanReceive/update_loan','0.0096979141235352','2016-06-28 15:38:10'),(1865,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1.00\', `createdTS` = \'2015-02-02 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.080047130584717','2016-06-28 15:45:37'),(1866,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.001370906829834','2016-06-28 15:45:38'),(1867,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'1.00\', `createdTS` = \'2015-01-02 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32816\'','setup/saveAsset','0.079670906066895','2016-06-28 15:45:49'),(1868,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.015232086181641','2016-06-28 15:45:51'),(1869,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'1970-01-01 01:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.20422911643982','2016-06-28 15:46:16'),(1870,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013620853424072','2016-06-28 15:46:17'),(1871,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'1970-01-01 01:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.00041985511779785','2016-06-28 15:46:33'),(1872,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.001356840133667','2016-06-28 15:46:35'),(1873,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2025-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.017773151397705','2016-06-28 15:46:53'),(1874,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013751983642578','2016-06-28 15:46:54'),(1875,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2025-11-02 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.015870094299316','2016-06-28 15:47:05'),(1876,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013501644134521','2016-06-28 15:47:08'),(1877,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2005-12-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.080763101577759','2016-06-28 15:47:20'),(1878,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013668537139893','2016-06-28 15:47:22'),(1879,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'1970-01-01 01:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.020729064941406','2016-06-28 15:47:35'),(1880,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013778209686279','2016-06-28 15:47:36'),(1881,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013749599456787','2016-06-28 15:48:44'),(1882,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013477802276611','2016-06-28 15:48:48'),(1883,13,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'100.00\', `createdTS` = \'1970-01-01 01:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32759\'','setup/saveAsset','0.092375040054321','2016-06-28 15:49:09'),(1884,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013680458068848','2016-06-28 15:49:10'),(1885,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013659000396729','2016-06-28 15:49:11'),(1886,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013811588287354','2016-06-28 15:49:50'),(1887,13,0,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'100.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32759\'','setup/saveAsset','0.086081027984619','2016-06-28 15:50:14'),(1888,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013902187347412','2016-06-28 15:50:15'),(1889,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013809204101562','2016-06-28 15:50:39'),(1890,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'14\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2015-09-30\', \'129\', \'1\')','expenses/saveExpense','0.028707981109619','2016-06-28 15:50:43'),(1891,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1945, \'User\', \'1st payment\', 1, \'32830\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.011811971664429','2016-06-28 15:50:43'),(1892,14,0,'192.168.1.202','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'14\', \'3\', \'15\', \'09\', \'AP\', 1)','expenses/saveExpense','0.014832019805908','2016-06-28 15:50:43'),(1893,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP150900000001\' WHERE `ID` =  1945','expenses/saveExpense','0.0081338882446289','2016-06-28 15:50:43'),(1894,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'14\', \'AP150900000001\', \'Loan Repayment [OP-L[00000002]]\', \'Loan Repayment [OP-L[00000002]]\', \'\', \'3\', \'2015-09-30\', \'15\', \'09\', 100, 100, \'User\')','expenses/saveExpense','0.0089371204376221','2016-06-28 15:50:43'),(1895,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP150900000001\', 1, \'1st payment\', \'32824\', 100, 1, \'1\', \'100\', \'09\', \'15\', \'1\', \'OP-L[00000002]\', \'User\')','expenses/saveExpense','0.011468887329102','2016-06-28 15:50:43'),(1896,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP150900000001\', 2, \'1st payment\', \'32830\', 100, 1, \'1\', \'100\', \'09\', \'15\', \'1\', \'OP-L[00000002]\', \'User\')','expenses/saveExpense','0.016503810882568','2016-06-28 15:50:43'),(1897,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'14\' AND `journalID` =  \'AP150900000001\'','expenses/saveExpense','0.13773894309998','2016-06-28 15:50:43'),(1898,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1945','expenses/saveExpense','0.011537075042725','2016-06-28 15:50:43'),(1899,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10732','expenses/saveExpense','0.013073921203613','2016-06-28 15:50:43'),(1900,14,0,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'14\' AND `journalID` =  \'AP150900000001\'','expenses/saveExpense','0.01607608795166','2016-06-28 15:50:43'),(1901,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'3\', \'32824\', \'2015\', \'9\', \'0\', \'100\', -100, \'User\', \'2016-06-28: 09:06:43\')','expenses/saveExpense','0.0093080997467041','2016-06-28 15:50:43'),(1902,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'4\', \'32830\', \'2015\', \'9\', \'100\', \'0\', 100, \'User\', \'2016-06-28: 09:06:43\')','expenses/saveExpense','0.01123309135437','2016-06-28 15:50:43'),(1903,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2015-01-02 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.010923862457275','2016-06-28 15:51:01'),(1904,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013890266418457','2016-06-28 15:51:02'),(1905,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Other Asset	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2015-02-26 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32822\'','setup/saveAsset','0.014979839324951','2016-06-28 15:51:17'),(1906,14,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 14, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 14)','setup/assetSetup','0.0013358592987061','2016-06-28 15:51:19'),(1907,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.001317024230957','2016-06-28 15:52:15'),(1908,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'14\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2015-10-30\', \'129\', \'1\')','expenses/saveExpense','0.086840152740479','2016-06-28 15:53:01'),(1909,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1946, \'User\', \'2nd payment\', 1, \'32830\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.011801958084106','2016-06-28 15:53:01'),(1910,14,0,'192.168.1.202','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'14\', \'3\', \'15\', \'10\', \'AP\', 1)','expenses/saveExpense','0.031668901443481','2016-06-28 15:53:01'),(1911,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP151000000001\' WHERE `ID` =  1946','expenses/saveExpense','0.029481172561646','2016-06-28 15:53:01'),(1912,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'14\', \'AP151000000001\', \'Loan Repayment [OP-L[00000003]]\', \'Loan Repayment [OP-L[00000003]]\', \'\', \'3\', \'2015-10-30\', \'15\', \'10\', 100, 100, \'User\')','expenses/saveExpense','0.066009998321533','2016-06-28 15:53:01'),(1913,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP151000000001\', 1, \'2nd payment\', \'32824\', 100, 1, \'1\', \'100\', \'10\', \'15\', \'1\', \'OP-L[00000003]\', \'User\')','expenses/saveExpense','0.0078320503234863','2016-06-28 15:53:01'),(1914,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP151000000001\', 2, \'2nd payment\', \'32830\', 100, 1, \'1\', \'100\', \'10\', \'15\', \'1\', \'OP-L[00000003]\', \'User\')','expenses/saveExpense','0.012602806091309','2016-06-28 15:53:01'),(1915,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'14\' AND `journalID` =  \'AP151000000001\'','expenses/saveExpense','0.024739980697632','2016-06-28 15:53:01'),(1916,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1946','expenses/saveExpense','0.024513006210327','2016-06-28 15:53:01'),(1917,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10733','expenses/saveExpense','0.012017965316772','2016-06-28 15:53:01'),(1918,14,0,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'14\' AND `journalID` =  \'AP151000000001\'','expenses/saveExpense','0.012495994567871','2016-06-28 15:53:01'),(1919,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'3\', \'32824\', \'2015\', \'10\', \'0\', \'100\', -100, \'User\', \'2016-06-28: 09:06:01\')','expenses/saveExpense','0.0095069408416748','2016-06-28 15:53:01'),(1920,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'4\', \'32830\', \'2015\', \'10\', \'100\', \'0\', 100, \'User\', \'2016-06-28: 09:06:01\')','expenses/saveExpense','0.014847993850708','2016-06-28 15:53:01'),(1921,14,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan MARA\', `openingBalanceCr` = \'5000.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32830\'','setup/saveLoan','0.08928108215332','2016-06-28 15:59:35'),(1922,14,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan MARA\', `openingBalanceCr` = \'5000.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32830\'','setup/saveLoan','0.13767695426941','2016-06-28 15:59:53'),(1923,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'1000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'129\'','bank/saveBank','0.086875915527344','2016-06-28 16:09:44'),(1924,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 1000, `openingBalanceCr` = 0, `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32824\'','bank/saveBank','0.011628866195679','2016-06-28 16:09:44'),(1925,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013411045074463','2016-06-28 16:09:46'),(1926,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'130\'','bank/saveBank','0.13406205177307','2016-06-28 16:12:26'),(1927,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32825\'','bank/saveBank','0.011831998825073','2016-06-28 16:12:26'),(1928,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013320446014404','2016-06-28 16:12:32'),(1929,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'130\'','bank/saveBank','0.090459108352661','2016-06-28 16:12:56'),(1930,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32825\'','bank/saveBank','0.021008014678955','2016-06-28 16:12:56'),(1931,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013558864593506','2016-06-28 16:12:57'),(1932,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'0.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'130\'','bank/saveBank','0.021239042282104','2016-06-28 16:13:16'),(1933,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32825\'','bank/saveBank','0.012382030487061','2016-06-28 16:13:16'),(1934,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.001349925994873','2016-06-28 16:13:17'),(1935,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'2000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'130\'','bank/saveBank','0.088281154632568','2016-06-28 16:13:55'),(1936,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32825\'','bank/saveBank','0.020199060440063','2016-06-28 16:13:55'),(1937,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013589859008789','2016-06-28 16:13:56'),(1938,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'BIMB\', `currentBalance` = \'2,000.00\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'130\'','bank/saveBank','0.093289136886597','2016-06-28 16:15:04'),(1939,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'BIMB\', `openingBalanceDr` = 2, `openingBalanceCr` = 0, `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32825\'','bank/saveBank','0.042023897171021','2016-06-28 16:15:04'),(1940,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013561248779297','2016-06-28 16:15:06'),(1941,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'BIMB\', `currentBalance` = \'2000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'130\'','bank/saveBank','0.016095161437988','2016-06-28 16:15:18'),(1942,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'BIMB\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32825\'','bank/saveBank','0.0123450756073','2016-06-28 16:15:18'),(1943,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013480186462402','2016-06-28 16:15:20'),(1944,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'14\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2015-08-31\', \'129\', \'1\')','expenses/saveExpense','0.041046142578125','2016-06-28 16:15:27'),(1945,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1947, \'User\', \'Advance payment\', 1, \'32830\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.012424945831299','2016-06-28 16:15:27'),(1946,14,0,'192.168.1.202','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'288\'','expenses/saveExpense','0.013562202453613','2016-06-28 16:15:27'),(1947,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150800000002\' WHERE `ID` =  1947','expenses/saveExpense','0.011675119400024','2016-06-28 16:15:27'),(1948,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'14\', \'AP20150800000002\', \'Loan Repayment [OP-L[00000004]]\', \'Loan Repayment [OP-L[00000004]]\', \'\', \'3\', \'2015-08-31\', \'15\', \'08\', 100, 100, \'User\')','expenses/saveExpense','0.009091854095459','2016-06-28 16:15:27'),(1949,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP20150800000002\', 1, \'Advance payment\', \'32824\', 100, 1, \'1\', \'100\', \'08\', \'15\', \'1\', \'OP-L[00000004]\', \'User\')','expenses/saveExpense','0.011435985565186','2016-06-28 16:15:27'),(1950,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP20150800000002\', 2, \'Advance payment\', \'32830\', 100, 1, \'1\', \'100\', \'08\', \'15\', \'1\', \'OP-L[00000004]\', \'User\')','expenses/saveExpense','0.012665033340454','2016-06-28 16:15:27'),(1951,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'14\' AND `journalID` =  \'AP20150800000002\'','expenses/saveExpense','0.019958972930908','2016-06-28 16:15:27'),(1952,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1947','expenses/saveExpense','0.012917995452881','2016-06-28 16:15:27'),(1953,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10734','expenses/saveExpense','0.020011901855469','2016-06-28 16:15:27'),(1954,14,0,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'14\' AND `journalID` =  \'AP20150800000002\'','expenses/saveExpense','0.012810945510864','2016-06-28 16:15:27'),(1955,14,0,'192.168.1.202','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'14\' AND `a`.`acctID` =  \'32824\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0096919536590576','2016-06-28 16:15:27'),(1956,14,0,'192.168.1.202','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'14\' AND `a`.`acctID` =  \'32830\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011860847473145','2016-06-28 16:15:27'),(1957,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank Rakyat\', `currentBalance` = \'1450\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'131\'','bank/saveBank','0.079674959182739','2016-06-28 16:15:57'),(1958,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Rakyat\', `openingBalanceDr` = 1450, `openingBalanceCr` = 0, `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32826\'','bank/saveBank','0.03354811668396','2016-06-28 16:15:57'),(1959,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013489723205566','2016-06-28 16:15:58'),(1960,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013618469238281','2016-06-28 16:18:58'),(1961,13,0,'192.168.1.136','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 2	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'126\'','bank/saveBank','0.29271697998047','2016-06-28 16:19:05'),(1962,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32765\'','bank/saveBank','0.16201901435852','2016-06-28 16:19:05'),(1963,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013659000396729','2016-06-28 16:19:06'),(1964,13,0,'192.168.1.136','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 2	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'126\'','bank/saveBank','0.012682914733887','2016-06-28 16:19:33'),(1965,13,0,'192.168.1.136','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32765\'','bank/saveBank','0.012240886688232','2016-06-28 16:19:33'),(1966,13,0,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013000965118408','2016-06-28 16:19:34'),(1967,14,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013530254364014','2016-06-28 16:25:06'),(1968,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'14\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2016-01-29\', \'129\', \'1\')','expenses/saveExpense','0.090929985046387','2016-06-28 16:29:28'),(1969,14,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1948, \'User\', \'5th payment\', 1, \'32830\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.012112140655518','2016-06-28 16:29:28'),(1970,14,0,'192.168.1.202','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'14\', \'3\', \'16\', \'01\', \'AP\', 1)','expenses/saveExpense','0.0089390277862549','2016-06-28 16:29:28'),(1971,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160100000001\' WHERE `ID` =  1948','expenses/saveExpense','0.016762018203735','2016-06-28 16:29:28'),(1972,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'14\', \'AP160100000001\', \'Loan Repayment [OP-L[00000005]]\', \'Loan Repayment [OP-L[00000005]]\', \'\', \'3\', \'2016-01-29\', \'16\', \'01\', 100, 100, \'User\')','expenses/saveExpense','0.029045820236206','2016-06-28 16:29:28'),(1973,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP160100000001\', 1, \'5th payment\', \'32824\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-L[00000005]\', \'User\')','expenses/saveExpense','0.016515970230103','2016-06-28 16:29:28'),(1974,14,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'14\', \'AP160100000001\', 2, \'5th payment\', \'32830\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-L[00000005]\', \'User\')','expenses/saveExpense','0.015921115875244','2016-06-28 16:29:28'),(1975,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'14\' AND `journalID` =  \'AP160100000001\'','expenses/saveExpense','0.012007236480713','2016-06-28 16:29:28'),(1976,14,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1948','expenses/saveExpense','0.012526988983154','2016-06-28 16:29:28'),(1977,14,0,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10735','expenses/saveExpense','0.016764163970947','2016-06-28 16:29:28'),(1978,14,0,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'14\' AND `journalID` =  \'AP160100000001\'','expenses/saveExpense','0.016071081161499','2016-06-28 16:29:28'),(1979,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'3\', \'32824\', \'2016\', \'1\', \'0\', \'100\', -100, \'User\', \'2016-06-28: 10:06:28\')','expenses/saveExpense','0.017963886260986','2016-06-28 16:29:28'),(1980,14,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'14\', \'4\', \'32830\', \'2016\', \'1\', \'100\', \'0\', 100, \'User\', \'2016-06-28: 10:06:28\')','expenses/saveExpense','0.01110315322876','2016-06-28 16:29:28'),(1981,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'BIMB\', `currentBalance` = \'10000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'130\'','bank/saveBank','0.032848119735718','2016-06-28 16:36:03'),(1982,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'BIMB\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32825\'','bank/saveBank','0.02026891708374','2016-06-28 16:36:03'),(1983,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.001366138458252','2016-06-28 16:36:04'),(1984,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'BIMB\', `currentBalance` = \'10,000.00\', `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'130\'','bank/saveBank','0.11544799804688','2016-06-28 16:37:35'),(1985,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'BIMB\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-06-28 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32825\'','bank/saveBank','0.023859977722168','2016-06-28 16:37:35'),(1986,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013561248779297','2016-06-28 16:37:36'),(1987,4,6,'192.168.1.197','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 4, acctName, id from comp_chart_of_acct where companyid = 4 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 4)','bank/index','0.016078948974609','2016-06-29 15:47:03'),(1988,12,0,'192.168.1.197','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.017705917358398','2016-06-29 15:47:34'),(1989,12,0,'192.168.1.197','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.0013201236724854','2016-06-29 15:47:36'),(1990,12,0,'192.168.1.197','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.002216100692749','2016-06-29 15:51:01'),(1991,1,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0027980804443359','2016-06-30 08:26:10'),(1992,14,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.092480897903442','2016-06-30 10:03:24'),(1993,14,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'10000\', `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'129\'','bank/saveBank','0.047736883163452','2016-06-30 10:03:47'),(1994,14,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2015-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32824\'','bank/saveBank','0.024340867996216','2016-06-30 10:03:47'),(1995,14,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.002324104309082','2016-06-30 10:03:49'),(1996,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0023210048675537','2016-06-30 14:44:36'),(1997,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'10,000.00\', `createdTS` = \'2016-06-30 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'129\'','bank/saveBank','0.096253156661987','2016-06-30 14:53:18'),(1998,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-06-30 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32824\'','bank/saveBank','0.024263143539429','2016-06-30 14:53:18'),(1999,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.001427173614502','2016-06-30 14:53:20'),(2000,14,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'10000\', `createdTS` = \'2016-06-30 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'129\'','bank/saveBank','0.1014199256897','2016-06-30 14:53:36'),(2001,14,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-30 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32824\'','bank/saveBank','0.016010046005249','2016-06-30 14:53:36'),(2002,14,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 14, acctName, id from comp_chart_of_acct where companyid = 14 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 14)','bank/index','0.0013339519500732','2016-06-30 14:53:38'),(2003,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.09452486038208','2016-07-13 11:34:34'),(2004,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.016026020050049','2016-07-13 11:34:34'),(2005,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00048208236694336','2016-07-13 11:37:40'),(2006,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00039100646972656','2016-07-13 11:37:40'),(2007,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00050997734069824','2016-07-13 11:38:57'),(2008,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00038695335388184','2016-07-13 11:38:57'),(2009,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'4\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.011993885040283','2016-07-13 11:39:41'),(2010,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'4\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.019740104675293','2016-07-13 11:39:41'),(2011,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014579296112061','2016-07-13 11:45:39'),(2012,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'4\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00048685073852539','2016-07-13 12:01:14'),(2013,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'4\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.0004119873046875','2016-07-13 12:01:14'),(2014,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.093946933746338','2016-07-13 12:03:48'),(2015,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.015778064727783','2016-07-13 12:03:48'),(2016,13,0,'192.168.1.202','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.00040888786315918','2016-07-13 12:05:38'),(2017,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00043201446533203','2016-07-13 12:05:38'),(2018,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00032901763916016','2016-07-13 12:05:38'),(2019,13,0,'192.168.1.202','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.0004119873046875','2016-07-13 12:06:48'),(2020,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00051689147949219','2016-07-13 12:06:48'),(2021,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00039911270141602','2016-07-13 12:06:48'),(2022,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.041146993637085','2016-07-13 12:06:57'),(2023,13,0,'192.168.1.202','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.00039386749267578','2016-07-13 12:08:57'),(2024,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00038385391235352','2016-07-13 12:08:57'),(2025,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00040006637573242','2016-07-13 12:08:58'),(2026,13,0,'192.168.1.202','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.00077486038208008','2016-07-13 12:09:49'),(2027,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00038003921508789','2016-07-13 12:09:49'),(2028,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.022400140762329','2016-07-13 12:09:49'),(2029,13,0,'192.168.1.202','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.00043606758117676','2016-07-13 12:10:57'),(2030,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00041103363037109','2016-07-13 12:10:57'),(2031,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00043702125549316','2016-07-13 12:10:57'),(2032,13,0,'192.168.1.202','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.00041699409484863','2016-07-13 12:14:18'),(2033,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00039505958557129','2016-07-13 12:14:18'),(2034,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00040316581726074','2016-07-13 12:14:18'),(2035,13,0,'192.168.1.202','update','UPDATE `company` SET `uploadLogo` = \'13.JPG\' WHERE `ID` =  \'13\'','setup/companySetup','0.00040793418884277','2016-07-13 12:16:46'),(2036,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.00037598609924316','2016-07-13 12:16:46'),(2037,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-01-02\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.0003960132598877','2016-07-13 12:16:46'),(2038,13,0,'192.168.1.202','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.091235876083374','2016-07-13 12:36:51'),(2039,13,0,'192.168.1.202','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.02006196975708','2016-07-13 12:36:51'),(2040,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.16735196113586','2016-07-13 12:37:21'),(2041,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.085408926010132','2016-07-13 12:37:28'),(2042,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013649463653564','2016-07-13 12:44:17'),(2043,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013589859008789','2016-07-13 12:56:29'),(2044,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013349056243896','2016-07-13 12:57:25'),(2045,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'2\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.012933015823364','2016-07-13 13:00:30'),(2046,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'2\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.00043201446533203','2016-07-13 13:00:31'),(2047,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'2\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.00034689903259277','2016-07-13 13:00:31'),(2048,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'2\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.00034689903259277','2016-07-13 13:00:31'),(2049,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'2\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.00041007995605469','2016-07-13 13:00:33'),(2050,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013179779052734','2016-07-13 13:00:34'),(2051,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'2.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.087954998016357','2016-07-13 14:14:29'),(2052,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014028549194336','2016-07-13 14:14:33'),(2053,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013790130615234','2016-07-13 14:25:34'),(2054,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013768672943115','2016-07-13 14:31:48'),(2055,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures\', `openingBalanceDr` = \'2.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.018512010574341','2016-07-13 14:32:00'),(2056,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013408660888672','2016-07-13 14:32:02'),(2057,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013701915740967','2016-07-13 14:37:20'),(2058,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013360977172852','2016-07-13 14:42:59'),(2059,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'f&F\', `openingBalanceDr` = \'2.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.090252876281738','2016-07-13 14:43:18'),(2060,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'f&F\', `openingBalanceDr` = \'2.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.10113501548767','2016-07-13 14:43:18'),(2061,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013768672943115','2016-07-13 14:43:22'),(2062,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furnitures & Fittings\', `openingBalanceDr` = \'2.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.015774011611938','2016-07-13 14:43:56'),(2063,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013461112976074','2016-07-13 14:43:58'),(2064,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013699531555176','2016-07-13 14:46:30'),(2065,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'0.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.14416098594666','2016-07-13 14:46:56'),(2066,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.020241022109985','2016-07-13 14:46:56'),(2067,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001331090927124','2016-07-13 14:46:58'),(2068,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10,000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.024204015731812','2016-07-13 14:47:09'),(2069,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.016011953353882','2016-07-13 14:47:09'),(2070,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013248920440674','2016-07-13 14:47:11'),(2071,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.083793878555298','2016-07-13 14:47:24'),(2072,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.011904001235962','2016-07-13 14:47:24'),(2073,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013461112976074','2016-07-13 14:47:26'),(2074,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.079685926437378','2016-07-13 14:47:36'),(2075,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.015943050384521','2016-07-13 14:47:36'),(2076,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013358592987061','2016-07-13 14:47:38'),(2077,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.081051111221313','2016-07-13 14:47:51'),(2078,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.012515783309937','2016-07-13 14:47:51'),(2079,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013270378112793','2016-07-13 14:47:53'),(2080,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.08113694190979','2016-07-13 14:48:05'),(2081,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.00037503242492676','2016-07-13 14:48:05'),(2082,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.00049519538879395','2016-07-13 14:48:05'),(2083,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.093039989471436','2016-07-13 14:48:05'),(2084,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013518333435059','2016-07-13 14:48:07'),(2085,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.081756830215454','2016-07-13 14:48:25'),(2086,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.04227089881897','2016-07-13 14:48:25'),(2087,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013291835784912','2016-07-13 14:48:31'),(2088,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'2000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'124\'','bank/saveBank','0.27740907669067','2016-07-13 14:52:41'),(2089,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32763\'','bank/saveBank','0.023399829864502','2016-07-13 14:52:41'),(2090,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013508796691895','2016-07-13 14:52:44'),(2091,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'2,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'124\'','bank/saveBank','0.022650957107544','2016-07-13 14:52:59'),(2092,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'2,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'124\'','bank/saveBank','0.011200904846191','2016-07-13 14:52:59'),(2093,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 2, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32763\'','bank/saveBank','0.0021131038665771','2016-07-13 14:52:59'),(2094,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 2, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32763\'','bank/saveBank','0.02327299118042','2016-07-13 14:52:59'),(2095,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001331090927124','2016-07-13 14:53:00'),(2096,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'2000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'124\'','bank/saveBank','0.080512046813965','2016-07-13 14:54:51'),(2097,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32763\'','bank/saveBank','0.020859956741333','2016-07-13 14:54:51'),(2098,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013508796691895','2016-07-13 14:54:52'),(2099,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013530254364014','2016-07-13 14:55:00'),(2100,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'2,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'124\'','bank/saveBank','0.010090112686157','2016-07-13 14:55:19'),(2101,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 2, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32763\'','bank/saveBank','0.012238025665283','2016-07-13 14:55:19'),(2102,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013289451599121','2016-07-13 14:55:23'),(2103,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'2000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'124\'','bank/saveBank','0.013676166534424','2016-07-13 14:55:52'),(2104,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32763\'','bank/saveBank','0.0082769393920898','2016-07-13 14:55:52'),(2105,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013508796691895','2016-07-13 14:55:54'),(2106,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'2,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'124\'','bank/saveBank','0.093332052230835','2016-07-13 14:56:08'),(2107,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 2, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32763\'','bank/saveBank','0.012230157852173','2016-07-13 14:56:08'),(2108,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001291036605835','2016-07-13 14:56:11'),(2109,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.3258318901062','2016-07-13 14:59:41'),(2110,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furnitures & Fittings\', `openingBalanceDr` = \'2.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.00042200088500977','2016-07-13 15:00:31'),(2111,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013358592987061','2016-07-13 15:00:33'),(2112,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013110637664795','2016-07-13 15:01:17'),(2113,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'1,000.00\', `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'122\'','bank/saveBank','0.12957096099854','2016-07-13 15:06:52'),(2114,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 1, `openingBalanceCr` = 0, `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32761\'','bank/saveBank','0.011889934539795','2016-07-13 15:06:52'),(2115,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013549327850342','2016-07-13 15:06:54'),(2116,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'1000\', `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'122\'','bank/saveBank','0.096958875656128','2016-07-13 15:07:27'),(2117,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 1000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32761\'','bank/saveBank','0.012308120727539','2016-07-13 15:07:27'),(2118,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013248920440674','2016-07-13 15:07:29'),(2119,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'1,000.00\', `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'122\'','bank/saveBank','0.07902193069458','2016-07-13 15:08:55'),(2120,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 1, `openingBalanceCr` = 0, `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32761\'','bank/saveBank','0.012355804443359','2016-07-13 15:08:55'),(2121,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001317024230957','2016-07-13 15:12:36'),(2122,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.018156051635742','2016-07-13 15:15:21'),(2123,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.016012907028198','2016-07-13 15:15:21'),(2124,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00130295753479','2016-07-13 15:15:23'),(2125,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'1000\', `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'122\'','bank/saveBank','0.089382886886597','2016-07-13 15:15:32'),(2126,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 1000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32761\'','bank/saveBank','0.011804103851318','2016-07-13 15:15:32'),(2127,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001305103302002','2016-07-13 15:15:34'),(2128,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.01329517364502','2016-07-13 15:15:46'),(2129,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.011904954910278','2016-07-13 15:15:46'),(2130,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.00055313110351562','2016-07-13 15:16:35'),(2131,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013079643249512','2016-07-13 15:16:35'),(2132,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.0003359317779541','2016-07-13 15:16:35'),(2133,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'10000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'123\'','bank/saveBank','0.00043201446533203','2016-07-13 15:16:42'),(2134,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32762\'','bank/saveBank','0.00033283233642578','2016-07-13 15:16:42'),(2135,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'2000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'124\'','bank/saveBank','0.079153060913086','2016-07-13 15:22:13'),(2136,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32763\'','bank/saveBank','0.024962902069092','2016-07-13 15:22:13'),(2137,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.035943031311035','2016-07-13 15:22:15'),(2138,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'1,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'122\'','bank/saveBank','0.041188955307007','2016-07-13 15:44:11'),(2139,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 1, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32761\'','bank/saveBank','0.032932043075562','2016-07-13 15:44:11'),(2140,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.11873412132263','2016-07-13 15:44:13'),(2141,13,0,'192.168.1.202','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'1000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'122\'','bank/saveBank','0.017313003540039','2016-07-13 15:44:37'),(2142,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 1000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32761\'','bank/saveBank','0.016582012176514','2016-07-13 15:44:37'),(2143,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013191699981689','2016-07-13 15:44:39'),(2144,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan Bank Rakyat	\', `openingBalanceCr` = \'1200.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32767\'','setup/saveLoan','0.00047802925109863','2016-07-13 15:45:49'),(2145,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013360977172852','2016-07-13 15:46:54'),(2146,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.017301082611084','2016-07-13 15:47:28'),(2147,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furnitures & Fittings\', `openingBalanceDr` = \'2000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.12377500534058','2016-07-13 16:13:42'),(2148,13,0,'192.168.1.202','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.030570030212402','2016-07-13 16:13:43'),(2149,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan MARA\', `openingBalanceCr` = \'5000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32768\'','setup/saveLoan','0.014809846878052','2016-07-13 16:21:41'),(2150,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan MARA\', `openingBalanceCr` = \'5000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32768\'','setup/saveLoan','0.030678033828735','2016-07-13 16:24:53'),(2151,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan MARA\', `openingBalanceCr` = \'5000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32768\'','setup/saveLoan','0.14810299873352','2016-07-13 16:25:32'),(2152,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan Bank Rakyat	\', `openingBalanceCr` = \'1200.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32767\'','setup/saveLoan','0.016068935394287','2016-07-13 16:37:14'),(2153,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'32788\'','setup/saveExpenses','0.025024890899658','2016-07-13 16:44:24'),(2154,13,0,'192.168.1.202','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.075454950332642','2016-07-13 16:56:21'),(2155,13,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'User\', 1, 1, \'68\', \'24\', \'OP-E\', \'2016-07-13\', \'125\', \'1\')','expenses/saveExpense','0.13299989700317','2016-07-13 17:23:46'),(2156,13,0,'192.168.1.202','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1949, \'User\', \'poslaju\', 1, \'32788\', \'24\', \'24\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.029193878173828','2016-07-13 17:23:46'),(2157,13,0,'192.168.1.202','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'16\', \'07\', \'AP\', 1)','expenses/saveExpense','0.022974967956543','2016-07-13 17:23:46'),(2158,13,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160700000001\' WHERE `ID` =  1949','expenses/saveExpense','0.016757011413574','2016-07-13 17:23:46'),(2159,13,0,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP160700000001\', \'Operating Expenses [OP-E[00000034]]\', \'Operating Expenses [OP-E[00000034]]\', \'\', \'3\', \'2016-07-13\', \'16\', \'07\', 24, 24, \'User\')','expenses/saveExpense','0.033277034759521','2016-07-13 17:23:46'),(2160,13,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160700000001\', 1, \'poslaju\', \'32764\', 24, 1, \'1\', \'24\', \'07\', \'16\', \'1\', \'OP-E[00000034]\', \'User\')','expenses/saveExpense','0.037220001220703','2016-07-13 17:23:46'),(2161,13,0,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160700000001\', 2, \'poslaju\', \'32788\', 24, 1, \'1\', \'24\', \'07\', \'16\', \'1\', \'OP-E[00000034]\', \'User\')','expenses/saveExpense','0.011818170547485','2016-07-13 17:23:46'),(2162,13,0,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 24, `total_amount_cr` = 24, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160700000001\'','expenses/saveExpense','0.020756006240845','2016-07-13 17:23:46'),(2163,13,0,'192.168.1.202','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1949','expenses/saveExpense','0.012140989303589','2016-07-13 17:23:46'),(2164,13,0,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10738','expenses/saveExpense','0.024806022644043','2016-07-13 17:23:46'),(2165,13,0,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160700000001\'','expenses/saveExpense','0.028788089752197','2016-07-13 17:23:46'),(2166,13,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32764\', \'2016\', \'7\', \'0\', \'24\', -24, \'User\', \'2016-07-13: 11:07:46\')','expenses/saveExpense','0.034555912017822','2016-07-13 17:23:46'),(2167,13,0,'192.168.1.202','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32788\', \'2016\', \'7\', \'24\', \'0\', 24, \'User\', \'2016-07-13: 11:07:46\')','expenses/saveExpense','0.010487794876099','2016-07-13 17:23:46'),(2168,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0027379989624023','2016-07-15 12:00:39'),(2169,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.037977933883667','2016-07-22 15:09:26'),(2170,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'400\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32753\'','setup/saveAsset','0.099483966827393','2016-07-22 15:13:36'),(2171,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013830661773682','2016-07-22 15:13:37'),(2172,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'4000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32753\'','setup/saveAsset','0.094407081604004','2016-07-22 15:13:51'),(2173,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014081001281738','2016-07-22 15:13:53'),(2174,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.12836408615112','2016-07-22 15:24:53'),(2175,13,0,'192.168.1.203','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'4,400000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'125\'','bank/saveBank','0.10000491142273','2016-07-22 15:27:12'),(2176,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 4, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32764\'','bank/saveBank','0.024893999099731','2016-07-22 15:27:12'),(2177,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.029963970184326','2016-07-22 15:27:21'),(2178,13,0,'192.168.1.203','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'400,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'125\'','bank/saveBank','0.069892883300781','2016-07-22 15:27:41'),(2179,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 400, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32764\'','bank/saveBank','0.016582012176514','2016-07-22 15:27:41'),(2180,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0023510456085205','2016-07-22 15:27:43'),(2181,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013208389282227','2016-07-22 15:27:45'),(2182,13,0,'192.168.1.203','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'4,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'125\'','bank/saveBank','0.26085710525513','2016-07-22 15:30:05'),(2183,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 4, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32764\'','bank/saveBank','0.029065847396851','2016-07-22 15:30:05'),(2184,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00217604637146','2016-07-22 15:30:06'),(2185,13,0,'192.168.1.203','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'2,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'125\'','bank/saveBank','0.021703958511353','2016-07-22 15:30:26'),(2186,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 2, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32764\'','bank/saveBank','0.016049146652222','2016-07-22 15:30:26'),(2187,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0022521018981934','2016-07-22 15:30:28'),(2188,13,0,'192.168.1.203','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'2000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'125\'','bank/saveBank','0.090658903121948','2016-07-22 15:32:29'),(2189,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32764\'','bank/saveBank','0.016587018966675','2016-07-22 15:32:29'),(2190,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013949871063232','2016-07-22 15:32:30'),(2191,13,0,'192.168.1.203','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'20000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'125\'','bank/saveBank','0.090161085128784','2016-07-22 15:33:55'),(2192,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 20000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32764\'','bank/saveBank','0.016012907028198','2016-07-22 15:33:55'),(2193,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013771057128906','2016-07-22 15:33:56'),(2194,7,9,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'ALI ENT\', `line1` = \'kl sentralA\', `line2` = \'klA\', `line3` = \'A\', `city` = \'bangsarA\', `companyPostCode` = \'59100121\', `companyStateID` = \'1928\', `countryID` = \'32\', `parlimenID` = \'\', `phoneNo` = \'016990876812121\', `email` = \'izuwanA@gmail.com\', `incorporateDate` = \'1970-01-01\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'hijrah@email.com\' WHERE `ID` =  \'7\'','setup/companySetup','0.043437957763672','2016-07-25 13:03:13'),(2195,7,9,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'ALI ENT\', `line1` = \'kl sentralA\', `line2` = \'klA\', `line3` = \'A\', `city` = \'bangsarA\', `companyPostCode` = \'59100121\', `companyStateID` = \'1928\', `countryID` = \'32\', `parlimenID` = \'\', `phoneNo` = \'016990876812121\', `email` = \'izuwanA@gmail.com\', `incorporateDate` = \'1970-01-01\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = \'hijrah@email.com\' WHERE `ID` =  \'7\'','setup/companySetup','0.00037407875061035','2016-07-25 13:03:13'),(2196,0,0,'192.168.1.203','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'4\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  0','setup/updateCompany','0.016082048416138','2016-07-25 13:09:33'),(2197,0,0,'192.168.1.203','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'4\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  0','setup/updateCompany','0.017477989196777','2016-07-25 13:09:33'),(2198,13,0,'192.168.1.203','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.084900140762329','2016-07-26 15:49:25'),(2199,13,0,'192.168.1.203','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'5\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = \'10\' WHERE `ID` =  \'13\'','setup/companySetup','0.017158985137939','2016-07-26 15:49:25'),(2200,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.044842958450317','2016-07-26 15:49:31'),(2201,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'600.00\', `createdTS` = \'2016-06-26 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32751\'','setup/saveAsset','0.17612195014954','2016-07-26 16:22:24'),(2202,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.03750205039978','2016-07-26 16:22:25'),(2203,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Computer & Software	\', `openingBalanceDr` = \'300\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32752\'','setup/saveAsset','0.10123705863953','2016-07-26 16:22:36'),(2204,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014288425445557','2016-07-26 16:22:38'),(2205,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'User\', 1, 1, \'68\', \'2000\', \'OP-A\', \'2016-07-26\', \'122\', \'1\')','expenses/saveExpense','0.062490940093994','2016-07-26 16:25:54'),(2206,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1950, \'User\', \'kereta terpakai proton saga\', 1, \'32753\', \'2000\', \'2000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.032741069793701','2016-07-26 16:25:54'),(2207,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'294\'','expenses/saveExpense','0.017347812652588','2016-07-26 16:25:54'),(2208,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000002\' WHERE `ID` =  1950','expenses/saveExpense','0.032809019088745','2016-07-26 16:25:54'),(2209,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000002\', \'Pembelian Aset [OP-A[00000035]]\', \'Pembelian Aset [OP-A[00000035]]\', \'\', \'3\', \'2016-07-26\', \'16\', \'07\', 2000, 2000, \'User\')','expenses/saveExpense','0.029640197753906','2016-07-26 16:25:54'),(2210,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000002\', 1, \'kereta terpakai proton saga\', \'32761\', 2000, 1, \'1\', \'2000\', \'07\', \'16\', \'1\', \'OP-A[00000035]\', \'User\')','expenses/saveExpense','0.040861845016479','2016-07-26 16:25:54'),(2211,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000002\', 2, \'kereta terpakai proton saga\', \'32753\', 2000, 1, \'1\', \'2000\', \'07\', \'16\', \'1\', \'OP-A[00000035]\', \'User\')','expenses/saveExpense','0.016549110412598','2016-07-26 16:25:54'),(2212,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000002\'','expenses/saveExpense','0.016091823577881','2016-07-26 16:25:54'),(2213,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1950','expenses/saveExpense','0.016697883605957','2016-07-26 16:25:54'),(2214,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10741','expenses/saveExpense','0.016139984130859','2016-07-26 16:25:54'),(2215,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000002\'','expenses/saveExpense','0.033390998840332','2016-07-26 16:25:54'),(2216,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.022234916687012','2016-07-26 16:25:54'),(2217,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32753\', \'2016\', \'7\', \'2000\', \'0\', 2000, \'User\', \'2016-07-26: 10:07:54\')','expenses/saveExpense','0.021522998809814','2016-07-26 16:25:54'),(2218,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014610290527344','2016-07-26 16:30:05'),(2219,13,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014491081237793','2016-07-26 16:30:08'),(2220,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014228820800781','2016-07-26 16:30:17'),(2221,13,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'4,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32753\'','setup/saveAsset','0.10128903388977','2016-07-26 16:30:24'),(2222,13,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014369487762451','2016-07-26 16:30:25'),(2223,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'4,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32753\'','setup/saveAsset','0.00042414665222168','2016-07-26 16:30:39'),(2224,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013761520385742','2016-07-26 16:30:41'),(2225,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'4000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32753\'','setup/saveAsset','0.088430166244507','2016-07-26 16:31:18'),(2226,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014569759368896','2016-07-26 16:31:19'),(2227,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Store Equipment	\', `openingBalanceDr` = \'2,000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32756\'','setup/saveAsset','0.092472076416016','2016-07-26 16:31:30'),(2228,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0015430450439453','2016-07-26 16:31:31'),(2229,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.27751302719116','2016-07-26 16:54:07'),(2230,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0015349388122559','2016-07-26 16:54:16'),(2231,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furnitures & Fittings\', `openingBalanceDr` = \'2,000.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.03165602684021','2016-07-26 16:54:27'),(2232,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014970302581787','2016-07-26 16:54:29'),(2233,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0058321952819824','2016-07-27 09:04:56'),(2234,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.058242082595825','2016-07-27 09:22:55'),(2235,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.04016900062561','2016-07-27 09:31:04'),(2236,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014169216156006','2016-07-27 09:31:20'),(2237,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furnitures & Fittings\', `openingBalanceDr` = \'2000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.091742038726807','2016-07-27 09:39:02'),(2238,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0030100345611572','2016-07-27 09:39:03'),(2239,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.11106514930725','2016-07-27 09:52:25'),(2240,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.11561012268066','2016-07-27 09:57:15'),(2241,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013980865478516','2016-07-27 09:57:35'),(2242,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.038662910461426','2016-07-27 09:59:08'),(2243,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0041899681091309','2016-07-27 09:59:52'),(2244,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'600.00\', `createdTS` = \'2016-06-26 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32751\'','setup/saveAsset','0.019049167633057','2016-07-27 09:59:55'),(2245,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014870166778564','2016-07-27 09:59:57'),(2246,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014169216156006','2016-07-27 10:00:36'),(2247,1,114,'192.168.1.197','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0014240741729736','2016-07-27 10:00:41'),(2248,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.018260955810547','2016-07-27 10:00:41'),(2249,1,114,'192.168.1.197','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0013930797576904','2016-07-27 10:00:51'),(2250,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'32776\'','setup/saveExpenses','0.04006290435791','2016-07-27 10:11:01'),(2251,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0026459693908691','2016-07-27 10:20:58'),(2252,1,1,'192.168.1.211','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-27\', \'82\', \'123\', \'TT\', \'83\', \'1\', 3)','transfer/newTransfer','0.23256301879883','2016-07-27 10:31:45'),(2253,1,1,'192.168.1.211','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1951, \'32516\', \'123\', \'\')','transfer/newTransfer','0.034751892089844','2016-07-27 10:31:45'),(2254,1,1,'192.168.1.211','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'1\', \'3\', \'2016\', \'07\', \'AP\', 1)','transfer/newTransfer','0.017918109893799','2016-07-27 10:31:45'),(2255,1,1,'192.168.1.211','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000001\' WHERE `ID` =  1951','transfer/newTransfer','0.033125162124634','2016-07-27 10:31:45'),(2256,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160700000001\', \' [TT[00000604]]]\', \'Bank Transfer [  [TT[00000604]]] ]\', \'\', \'3\', \'2016-07-27\', \'2016\', \'07\', 123, 123, \'1\')','transfer/newTransfer','0.037047863006592','2016-07-27 10:31:45'),(2257,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160700000001\', 1, \'\', \'32515\', 123, 1, \'1\', \'123\', \'07\', \'2016\', \'0\', \'TT[00000604]\', \'1\')','transfer/newTransfer','0.041190147399902','2016-07-27 10:31:45'),(2258,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160700000001\', 2, \'\', \'32516\', 123, 1, \'1\', \'123\', \'07\', \'2016\', \'0\', \'TT[00000604]\', \'1\')','transfer/newTransfer','0.024534940719604','2016-07-27 10:31:45'),(2259,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160700000001\'','transfer/newTransfer','0.014486074447632','2016-07-27 10:31:45'),(2260,1,1,'192.168.1.211','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1951','transfer/newTransfer','0.018386840820312','2016-07-27 10:31:45'),(2261,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10742','transfer/newTransfer','0.016424894332886','2016-07-27 10:31:45'),(2262,1,1,'192.168.1.211','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160700000001\'','transfer/newTransfer','0.033086061477661','2016-07-27 10:31:45'),(2263,1,1,'192.168.1.211','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32515\', \'2016\', \'7\', \'0\', \'123\', -123, \'1\', \'2016-07-27: 04:07:45\')','transfer/newTransfer','0.035658121109009','2016-07-27 10:31:45'),(2264,1,1,'192.168.1.211','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32516\', \'2016\', \'7\', \'123\', \'0\', 123, \'1\', \'2016-07-27: 04:07:45\')','transfer/newTransfer','0.022557973861694','2016-07-27 10:31:45'),(2265,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'3300\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32769\'','setup/saveLoan','0.044339895248413','2016-07-27 10:44:08'),(2266,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.069149971008301','2016-07-27 11:04:52'),(2267,13,0,'192.168.1.203','update','UPDATE `comp_bank` SET `bankName` = \'OCBC\', `currentBalance` = \'20000000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'124\'','bank/saveBank','0.062674999237061','2016-07-27 11:18:41'),(2268,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'OCBC\', `openingBalanceDr` = 20000000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32763\'','bank/saveBank','0.033030986785889','2016-07-27 11:18:41'),(2269,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.010144948959351','2016-07-27 11:18:44'),(2270,1,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0026400089263916','2016-07-27 11:34:55'),(2271,1,1,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.020726919174194','2016-07-27 11:35:03'),(2272,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'32776\'','setup/saveExpenses','0.00041103363037109','2016-07-27 11:39:07'),(2273,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.011465072631836','2016-07-27 11:44:05'),(2274,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014381408691406','2016-07-27 11:45:45'),(2275,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.020416975021362','2016-07-27 11:45:50'),(2276,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0016379356384277','2016-07-27 11:45:56'),(2277,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014269351959229','2016-07-27 11:45:59'),(2278,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013930797576904','2016-07-27 11:46:05'),(2279,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014491081237793','2016-07-27 11:46:42'),(2280,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013630390167236','2016-07-27 11:46:48'),(2281,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013449192047119','2016-07-27 11:46:50'),(2282,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00142502784729','2016-07-27 11:47:03'),(2283,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001431941986084','2016-07-27 11:47:58'),(2284,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.11461901664734','2016-07-27 11:56:43'),(2285,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014479160308838','2016-07-27 11:56:47'),(2286,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.11071610450745','2016-07-27 12:02:09'),(2287,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001392126083374','2016-07-27 12:02:36'),(2288,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0022659301757812','2016-07-27 12:04:54'),(2289,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0021989345550537','2016-07-27 12:04:57'),(2290,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'1500\', \'OP-C\', \'2016-07-27\', \'124\', \'1\')','expenses/saveExpense','0.21922302246094','2016-07-27 15:19:24'),(2291,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1952, \'User\', \'Kain Ela 2 papan\', 1, \'32773\', \'1500\', \'1500\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.025767087936401','2016-07-27 15:19:24'),(2292,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'294\'','expenses/saveExpense','0.021205186843872','2016-07-27 15:19:24'),(2293,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000003\' WHERE `ID` =  1952','expenses/saveExpense','0.012727022171021','2016-07-27 15:19:24'),(2294,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000003\', \'Kos Jualan [OP-C[00000036]]\', \'Kos Jualan [OP-C[00000036]]\', \'\', \'3\', \'2016-07-27\', \'16\', \'07\', 1500, 1500, \'User\')','expenses/saveExpense','0.029543876647949','2016-07-27 15:19:24'),(2295,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000003\', 1, \'Kain Ela 2 papan\', \'32763\', 1500, 1, \'1\', \'1500\', \'07\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.032533884048462','2016-07-27 15:19:24'),(2296,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000003\', 2, \'Kain Ela 2 papan\', \'32773\', 1500, 1, \'1\', \'1500\', \'07\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.011621952056885','2016-07-27 15:19:24'),(2297,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 1500, `total_amount_cr` = 1500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000003\'','expenses/saveExpense','0.016414165496826','2016-07-27 15:19:24'),(2298,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1952','expenses/saveExpense','0.016474008560181','2016-07-27 15:19:24'),(2299,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10743','expenses/saveExpense','0.012711048126221','2016-07-27 15:19:24'),(2300,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000003\'','expenses/saveExpense','0.028461933135986','2016-07-27 15:19:24'),(2301,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32763\', \'2016\', \'7\', \'0\', \'1500\', -1500, \'User\', \'2016-07-27: 09:07:24\')','expenses/saveExpense','0.028470993041992','2016-07-27 15:19:24'),(2302,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'8\', \'32773\', \'2016\', \'7\', \'1500\', \'0\', 1500, \'User\', \'2016-07-27: 09:07:24\')','expenses/saveExpense','0.011003971099854','2016-07-27 15:19:24'),(2303,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1500\', `formNo` = \'OP-C\', `paymentDate` = \'2016-07-27\', `bankId` = \'124\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1952\'','expenses/saveExpense','0.013621807098389','2016-07-27 15:21:31'),(2304,13,0,'192.168.1.203','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1952\', `createdBy` = \'User\', `itemdescription` = \'Kain Ela 2 papan\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'1500\', `amountExcludedTax` = \'1500\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1864\'','expenses/saveExpense','0.00035691261291504','2016-07-27 15:21:31'),(2305,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'294\'','expenses/saveExpense','0.027147054672241','2016-07-27 15:21:31'),(2306,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000004\' WHERE `ID` =  \'1952\'','expenses/saveExpense','0.01080584526062','2016-07-27 15:21:31'),(2307,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000004\', \'Kos Jualan [OP-C[00000036]]\', \'Kos Jualan [OP-C[00000036]]\', \'\', \'3\', \'2016-07-27\', \'16\', \'07\', 1500, 1500, \'User\')','expenses/saveExpense','0.015646934509277','2016-07-27 15:21:31'),(2308,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000004\', 1, \'Kain Ela 2 papan\', \'32763\', 1500, 1, \'1\', \'1500\', \'07\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.011516809463501','2016-07-27 15:21:31'),(2309,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000004\', 2, \'Kain Ela 2 papan\', \'32773\', 1500, 1, \'1\', \'1500\', \'07\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.027688026428223','2016-07-27 15:21:31'),(2310,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 1500, `total_amount_cr` = 1500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000004\'','expenses/saveExpense','0.021497964859009','2016-07-27 15:21:31'),(2311,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1952\'','expenses/saveExpense','0.012830018997192','2016-07-27 15:21:31'),(2312,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10744','expenses/saveExpense','0.020155906677246','2016-07-27 15:21:32'),(2313,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000004\'','expenses/saveExpense','0.012717008590698','2016-07-27 15:21:32'),(2314,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.022067070007324','2016-07-27 15:21:32'),(2315,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.015663146972656','2016-07-27 15:21:32'),(2316,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'2000\', \'OP-C\', \'2016-07-27\', \'123\', \'1\')','expenses/saveExpense','0.070741891860962','2016-07-27 15:36:03'),(2317,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1953, \'User\', \'Kain Ela - Gold 2 Papan\', 1, \'32773\', \'2000\', \'2000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.020949125289917','2016-07-27 15:36:03'),(2318,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'294\'','expenses/saveExpense','0.015703916549683','2016-07-27 15:36:03'),(2319,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000005\' WHERE `ID` =  1953','expenses/saveExpense','0.020833969116211','2016-07-27 15:36:03'),(2320,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000005\', \'Kos Jualan [OP-C[00000037]]\', \'Kos Jualan [OP-C[00000037]]\', \'\', \'3\', \'2016-07-27\', \'16\', \'07\', 2000, 2000, \'User\')','expenses/saveExpense','0.0079808235168457','2016-07-27 15:36:04'),(2321,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000005\', 1, \'Kain Ela - Gold 2 Papan\', \'32762\', 2000, 1, \'1\', \'2000\', \'07\', \'16\', \'1\', \'OP-C[00000037]\', \'User\')','expenses/saveExpense','0.041530132293701','2016-07-27 15:36:04'),(2322,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000005\', 2, \'Kain Ela - Gold 2 Papan\', \'32773\', 2000, 1, \'1\', \'2000\', \'07\', \'16\', \'1\', \'OP-C[00000037]\', \'User\')','expenses/saveExpense','0.012065887451172','2016-07-27 15:36:04'),(2323,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000005\'','expenses/saveExpense','0.012191772460938','2016-07-27 15:36:04'),(2324,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1953','expenses/saveExpense','0.012334108352661','2016-07-27 15:36:04'),(2325,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10745','expenses/saveExpense','0.012290954589844','2016-07-27 15:36:04'),(2326,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000005\'','expenses/saveExpense','0.028900861740112','2016-07-27 15:36:04'),(2327,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32762\', \'2016\', \'7\', \'0\', \'2000\', -2000, \'User\', \'2016-07-27: 09:07:03\')','expenses/saveExpense','0.026301145553589','2016-07-27 15:36:04'),(2328,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.019518852233887','2016-07-27 15:36:04'),(2329,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1500\', `formNo` = \'OP-C\', `paymentDate` = \'2016-07-27\', `bankId` = \'124\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1952\'','expenses/saveExpense','0.021974086761475','2016-07-27 16:36:10'),(2330,13,0,'192.168.1.203','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1952\', `createdBy` = \'User\', `itemdescription` = \'Kain Ela 2 papan\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'1500\', `amountExcludedTax` = \'1500\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1864\'','expenses/saveExpense','0.017661809921265','2016-07-27 16:36:11'),(2331,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'294\'','expenses/saveExpense','0.031344890594482','2016-07-27 16:36:11'),(2332,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000006\' WHERE `ID` =  \'1952\'','expenses/saveExpense','0.013284921646118','2016-07-27 16:36:11'),(2333,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000006\', \'Kos Jualan [OP-C[00000036]]\', \'Kos Jualan [OP-C[00000036]]\', \'\', \'3\', \'2016-07-27\', \'16\', \'07\', 1500, 1500, \'User\')','expenses/saveExpense','0.015363931655884','2016-07-27 16:36:11'),(2334,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000006\', 1, \'Kain Ela 2 papan\', \'32763\', 1500, 1, \'1\', \'1500\', \'07\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.011319875717163','2016-07-27 16:36:11'),(2335,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000006\', 2, \'Kain Ela 2 papan\', \'32773\', 1500, 1, \'1\', \'1500\', \'07\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.012770175933838','2016-07-27 16:36:11'),(2336,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 1500, `total_amount_cr` = 1500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000006\'','expenses/saveExpense','0.01984691619873','2016-07-27 16:36:11'),(2337,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1952\'','expenses/saveExpense','0.01618504524231','2016-07-27 16:36:11'),(2338,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10746','expenses/saveExpense','0.0084099769592285','2016-07-27 16:36:11'),(2339,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000006\'','expenses/saveExpense','0.012937784194946','2016-07-27 16:36:11'),(2340,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.019030094146729','2016-07-27 16:36:11'),(2341,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.01021409034729','2016-07-27 16:36:11'),(2342,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'1899\', \'OP-C\', \'2016-07-28\', \'124\', \'1\')','expenses/saveExpense','0.096478939056396','2016-07-28 09:05:43'),(2343,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1954, \'User\', \'Kain Ela - Biru 1 Papan\', 1, \'32773\', \'1899\', \'1899\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.015583038330078','2016-07-28 09:05:43'),(2344,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'294\'','expenses/saveExpense','0.02487587928772','2016-07-28 09:05:43'),(2345,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000007\' WHERE `ID` =  1954','expenses/saveExpense','0.016686916351318','2016-07-28 09:05:43'),(2346,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000007\', \'Kos Jualan [OP-C[00000038]]\', \'Kos Jualan [OP-C[00000038]]\', \'\', \'3\', \'2016-07-28\', \'16\', \'07\', 1899, 1899, \'User\')','expenses/saveExpense','0.035320043563843','2016-07-28 09:05:43'),(2347,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000007\', 1, \'Kain Ela - Biru 1 Papan\', \'32763\', 1899, 1, \'1\', \'1899\', \'07\', \'16\', \'1\', \'OP-C[00000038]\', \'User\')','expenses/saveExpense','0.026726007461548','2016-07-28 09:05:43'),(2348,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000007\', 2, \'Kain Ela - Biru 1 Papan\', \'32773\', 1899, 1, \'1\', \'1899\', \'07\', \'16\', \'1\', \'OP-C[00000038]\', \'User\')','expenses/saveExpense','0.012336015701294','2016-07-28 09:05:43'),(2349,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 1899, `total_amount_cr` = 1899, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000007\'','expenses/saveExpense','0.011912107467651','2016-07-28 09:05:43'),(2350,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1954','expenses/saveExpense','0.012578964233398','2016-07-28 09:05:43'),(2351,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10747','expenses/saveExpense','0.012028932571411','2016-07-28 09:05:43'),(2352,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000007\'','expenses/saveExpense','0.012539148330688','2016-07-28 09:05:43'),(2353,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.010039091110229','2016-07-28 09:05:43'),(2354,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.011469125747681','2016-07-28 09:05:43'),(2355,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'User\', 1, 1, \'68\', \'10300\', \'OP-E\', \'2016-07-28\', \'124\', \'1\')','expenses/saveExpense','0.1246600151062','2016-07-28 09:20:28'),(2356,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1955, \'User\', \'Mesin jahit 5 buah\', 1, \'32791\', \'10000\', \'10000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.025413036346436','2016-07-28 09:20:28'),(2357,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1955, \'User\', \'Telefon Office\', 1, \'32796\', \'150\', \'150\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.033075094223022','2016-07-28 09:20:28'),(2358,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1955, \'User\', \'Unifi\', 1, \'32796\', \'150\', \'150\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01981520652771','2016-07-28 09:20:28'),(2359,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'294\'','expenses/saveExpense','0.029793977737427','2016-07-28 09:20:28'),(2360,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000008\' WHERE `ID` =  1955','expenses/saveExpense','0.01166296005249','2016-07-28 09:20:28'),(2361,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000008\', \'Operasi Perbelanjaan [OP-E[00000039]]\', \'Operasi Perbelanjaan [OP-E[00000039]]\', \'\', \'3\', \'2016-07-28\', \'16\', \'07\', 10300, 10300, \'User\')','expenses/saveExpense','0.0174400806427','2016-07-28 09:20:28'),(2362,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000008\', 1, \'Mesin jahit 5 buah\', \'32763\', 10000, 1, \'1\', \'10000\', \'07\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.044792890548706','2016-07-28 09:20:28'),(2363,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000008\', 2, \'Mesin jahit 5 buah\', \'32791\', 10000, 1, \'1\', \'10000\', \'07\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.012613773345947','2016-07-28 09:20:28'),(2364,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000008\', 3, \'Telefon Office\', \'32763\', 150, 1, \'1\', \'150\', \'07\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.019747972488403','2016-07-28 09:20:28'),(2365,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000008\', 4, \'Telefon Office\', \'32796\', 150, 1, \'1\', \'150\', \'07\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.016475915908813','2016-07-28 09:20:28'),(2366,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000008\', 5, \'Unifi\', \'32763\', 150, 1, \'1\', \'150\', \'07\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.029306173324585','2016-07-28 09:20:28'),(2367,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000008\', 6, \'Unifi\', \'32796\', 150, 1, \'1\', \'150\', \'07\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.1364598274231','2016-07-28 09:20:28'),(2368,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 10300, `total_amount_cr` = 10300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000008\'','expenses/saveExpense','0.012532949447632','2016-07-28 09:20:28'),(2369,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1955','expenses/saveExpense','0.011981010437012','2016-07-28 09:20:28'),(2370,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10748','expenses/saveExpense','0.012584924697876','2016-07-28 09:20:28'),(2371,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000008\'','expenses/saveExpense','0.028582096099854','2016-07-28 09:20:28'),(2372,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.022261142730713','2016-07-28 09:20:28'),(2373,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32791\', \'2016\', \'7\', \'10000\', \'0\', 10000, \'User\', \'2016-07-28: 03:07:28\')','expenses/saveExpense','0.011265993118286','2016-07-28 09:20:28'),(2374,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.010601997375488','2016-07-28 09:20:28'),(2375,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32796\', \'2016\', \'7\', \'150\', \'0\', 150, \'User\', \'2016-07-28: 03:07:28\')','expenses/saveExpense','0.011337041854858','2016-07-28 09:20:28'),(2376,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.010613918304443','2016-07-28 09:20:28'),(2377,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32796\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.011854887008667','2016-07-28 09:20:28'),(2378,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0016489028930664','2016-07-28 11:25:28'),(2379,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'User\', 1, 1, \'68\', \'8800\', \'OP-A\', \'2016-07-28\', \'124\', \'1\')','expenses/saveExpense','0.1662700176239','2016-07-28 12:30:31'),(2380,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1956, \'User\', \'2 laptop \', 1, \'32752\', \'3300\', \'3300\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.045687913894653','2016-07-28 12:30:31'),(2381,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1956, \'User\', \'Meja 3set\', 1, \'32750\', \'5500\', \'5500\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01610803604126','2016-07-28 12:30:31'),(2382,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'294\'','expenses/saveExpense','0.040956974029541','2016-07-28 12:30:31'),(2383,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000009\' WHERE `ID` =  1956','expenses/saveExpense','0.016065835952759','2016-07-28 12:30:31'),(2384,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000009\', \'Pembelian Aset [OP-A[00000040]]\', \'Pembelian Aset [OP-A[00000040]]\', \'\', \'3\', \'2016-07-28\', \'16\', \'07\', 8800, 8800, \'User\')','expenses/saveExpense','0.037993907928467','2016-07-28 12:30:31'),(2385,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000009\', 1, \'2 laptop \', \'32763\', 3300, 1, \'1\', \'3300\', \'07\', \'16\', \'1\', \'OP-A[00000040]\', \'User\')','expenses/saveExpense','0.040886878967285','2016-07-28 12:30:31'),(2386,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000009\', 2, \'2 laptop \', \'32752\', 3300, 1, \'1\', \'3300\', \'07\', \'16\', \'1\', \'OP-A[00000040]\', \'User\')','expenses/saveExpense','0.016504049301147','2016-07-28 12:30:31'),(2387,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000009\', 3, \'Meja 3set\', \'32763\', 5500, 1, \'1\', \'5500\', \'07\', \'16\', \'1\', \'OP-A[00000040]\', \'User\')','expenses/saveExpense','0.024220943450928','2016-07-28 12:30:31'),(2388,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000009\', 4, \'Meja 3set\', \'32750\', 5500, 1, \'1\', \'5500\', \'07\', \'16\', \'1\', \'OP-A[00000040]\', \'User\')','expenses/saveExpense','0.016488790512085','2016-07-28 12:30:31'),(2389,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 8800, `total_amount_cr` = 8800, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000009\'','expenses/saveExpense','0.016083002090454','2016-07-28 12:30:31'),(2390,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1956','expenses/saveExpense','0.016777038574219','2016-07-28 12:30:31'),(2391,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10749','expenses/saveExpense','0.01616096496582','2016-07-28 12:30:31'),(2392,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000009\'','expenses/saveExpense','0.033353090286255','2016-07-28 12:30:31'),(2393,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.022201061248779','2016-07-28 12:30:31'),(2394,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32752\', \'2016\', \'7\', \'3300\', \'0\', 3300, \'User\', \'2016-07-28: 06:07:31\')','expenses/saveExpense','0.018104076385498','2016-07-28 12:30:31'),(2395,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32763\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.015092849731445','2016-07-28 12:30:31'),(2396,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32750\', \'2016\', \'7\', \'5500\', \'0\', 5500, \'User\', \'2016-07-28: 06:07:31\')','expenses/saveExpense','0.015131950378418','2016-07-28 12:30:31'),(2397,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001471996307373','2016-07-28 19:07:21'),(2398,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0015859603881836','2016-07-28 19:07:31'),(2399,13,0,'192.168.1.192','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-29\', \'122\', \'100\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.23912811279297','2016-07-29 15:34:35'),(2400,13,0,'192.168.1.192','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1957, \'32762\', \'100\', \'Pendahuluan\')','transfer/newTransfer','0.033365964889526','2016-07-29 15:34:35'),(2401,13,0,'192.168.1.192','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'294\'','transfer/newTransfer','0.023795127868652','2016-07-29 15:34:35'),(2402,13,0,'192.168.1.192','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000010\' WHERE `ID` =  1957','transfer/newTransfer','0.016737937927246','2016-07-29 15:34:35'),(2403,13,0,'192.168.1.192','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000010\', \' [TT[00000041]]]\', \'Pemindahan [  [TT[00000041]]] ]\', \'\', \'3\', \'2016-07-29\', \'2016\', \'07\', 100, 100, \'User\')','transfer/newTransfer','0.029036045074463','2016-07-29 15:34:35'),(2404,13,0,'192.168.1.192','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000010\', 1, \'Pendahuluan\', \'32761\', 100, 1, \'1\', \'100\', \'07\', \'2016\', \'0\', \'TT[00000041]\', \'User\')','transfer/newTransfer','0.041460990905762','2016-07-29 15:34:35'),(2405,13,0,'192.168.1.192','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160700000010\', 2, \'Pendahuluan\', \'32762\', 100, 1, \'1\', \'100\', \'07\', \'2016\', \'0\', \'TT[00000041]\', \'User\')','transfer/newTransfer','0.01593017578125','2016-07-29 15:34:35'),(2406,13,0,'192.168.1.192','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000010\'','transfer/newTransfer','0.016688823699951','2016-07-29 15:34:35'),(2407,13,0,'192.168.1.192','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1957','transfer/newTransfer','0.016057968139648','2016-07-29 15:34:35'),(2408,13,0,'192.168.1.192','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10752','transfer/newTransfer','0.016824960708618','2016-07-29 15:34:36'),(2409,13,0,'192.168.1.192','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000010\'','transfer/newTransfer','0.041033983230591','2016-07-29 15:34:36'),(2410,13,0,'192.168.1.192','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.022457122802734','2016-07-29 15:34:36'),(2411,13,0,'192.168.1.192','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/newTransfer','0.015089988708496','2016-07-29 15:34:36'),(2412,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'50\', \'OP-C\', \'2016-08-01\', \'122\', \'1\')','expenses/saveExpense','0.039086103439331','2016-08-01 16:43:16'),(2413,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1958, \'User\', \'benang\', 1, \'32773\', \'50\', \'50\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.039785146713257','2016-08-01 16:43:16'),(2414,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'282\'','expenses/saveExpense','0.026493072509766','2016-08-01 16:43:16'),(2415,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000002\' WHERE `ID` =  1958','expenses/saveExpense','0.023285865783691','2016-08-01 16:43:16'),(2416,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000002\', \'Cost of Goods Sold [OP-C[00000042]]\', \'Cost of Goods Sold [OP-C[00000042]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 50, 50, \'User\')','expenses/saveExpense','0.01422905921936','2016-08-01 16:43:16'),(2417,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000002\', 1, \'benang\', \'32761\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016165971755981','2016-08-01 16:43:16'),(2418,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000002\', 2, \'benang\', \'32773\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016181945800781','2016-08-01 16:43:16'),(2419,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.016347169876099','2016-08-01 16:43:16'),(2420,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1958','expenses/saveExpense','0.016473054885864','2016-08-01 16:43:16'),(2421,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10757','expenses/saveExpense','0.016458988189697','2016-08-01 16:43:16'),(2422,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.016388893127441','2016-08-01 16:43:16'),(2423,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012957096099854','2016-08-01 16:43:16'),(2424,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'8\', \'32773\', \'2016\', \'8\', \'50\', \'0\', 50, \'User\', \'2016-08-01: 10:08:16\')','expenses/saveExpense','0.016319990158081','2016-08-01 16:43:16'),(2425,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'50\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-01\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1958\'','expenses/saveExpense','0.017462968826294','2016-08-01 16:44:18'),(2426,13,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1958\', `createdBy` = \'User\', `itemdescription` = \'benang halus\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1873\'','expenses/saveExpense','0.018043041229248','2016-08-01 16:44:18'),(2427,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'282\'','expenses/saveExpense','0.01217794418335','2016-08-01 16:44:18'),(2428,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000003\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.018187046051025','2016-08-01 16:44:18'),(2429,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000003\', \'Cost of Goods Sold [OP-C[00000042]]\', \'Cost of Goods Sold [OP-C[00000042]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 50, 50, \'User\')','expenses/saveExpense','0.01360297203064','2016-08-01 16:44:18'),(2430,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000003\', 1, \'benang halus\', \'32761\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.017922878265381','2016-08-01 16:44:18'),(2431,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000003\', 2, \'benang halus\', \'32773\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016242027282715','2016-08-01 16:44:18'),(2432,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000003\'','expenses/saveExpense','0.016384840011597','2016-08-01 16:44:18'),(2433,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.024810791015625','2016-08-01 16:44:18'),(2434,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10758','expenses/saveExpense','0.016445875167847','2016-08-01 16:44:18'),(2435,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000003\'','expenses/saveExpense','0.016387939453125','2016-08-01 16:44:18'),(2436,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.021398067474365','2016-08-01 16:44:18'),(2437,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.056720018386841','2016-08-01 16:44:19'),(2438,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-01\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1958\'','expenses/saveExpense','0.023640155792236','2016-08-01 16:44:46'),(2439,13,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1958\', `createdBy` = \'User\', `itemdescription` = \'benang halus\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1873\'','expenses/saveExpense','0.00041699409484863','2016-08-01 16:44:46'),(2440,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'1958\', \'User\', \'benang kasar\', 1, \'32773\', \'50\', \'50\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.015518188476562','2016-08-01 16:44:46'),(2441,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'282\'','expenses/saveExpense','0.024853944778442','2016-08-01 16:44:46'),(2442,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000004\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.016478061676025','2016-08-01 16:44:46'),(2443,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000004\', \'Cost of Goods Sold [OP-C[00000042]]\', \'Cost of Goods Sold [OP-C[00000042]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 100, 100, \'User\')','expenses/saveExpense','0.023700952529907','2016-08-01 16:44:46'),(2444,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000004\', 1, \'benang halus\', \'32761\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016201972961426','2016-08-01 16:44:46'),(2445,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000004\', 2, \'benang halus\', \'32773\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016232967376709','2016-08-01 16:44:46'),(2446,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000004\', 3, \'benang kasar\', \'32761\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.01619291305542','2016-08-01 16:44:46'),(2447,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000004\', 4, \'benang kasar\', \'32773\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016206979751587','2016-08-01 16:44:46'),(2448,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000004\'','expenses/saveExpense','0.016393899917603','2016-08-01 16:44:46'),(2449,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.01648211479187','2016-08-01 16:44:46'),(2450,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10759','expenses/saveExpense','0.016446113586426','2016-08-01 16:44:46'),(2451,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000004\'','expenses/saveExpense','0.016408920288086','2016-08-01 16:44:46'),(2452,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.027487993240356','2016-08-01 16:44:46'),(2453,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013499021530151','2016-08-01 16:44:46'),(2454,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017315149307251','2016-08-01 16:44:46'),(2455,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013498067855835','2016-08-01 16:44:46'),(2456,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-01\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1958\'','expenses/saveExpense','0.017358064651489','2016-08-01 16:45:02'),(2457,13,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1958\', `createdBy` = \'User\', `itemdescription` = \'benang halus\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1873\'','expenses/saveExpense','0.00035786628723145','2016-08-01 16:45:02'),(2458,13,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1958\', `createdBy` = \'User\', `itemdescription` = \'benang tebal\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1874\'','expenses/saveExpense','0.017465114593506','2016-08-01 16:45:02'),(2459,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'282\'','expenses/saveExpense','0.016490936279297','2016-08-01 16:45:02'),(2460,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000005\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.016461133956909','2016-08-01 16:45:02'),(2461,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000005\', \'Cost of Goods Sold [OP-C[00000042]]\', \'Cost of Goods Sold [OP-C[00000042]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 100, 100, \'User\')','expenses/saveExpense','0.015388011932373','2016-08-01 16:45:02'),(2462,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000005\', 1, \'benang halus\', \'32761\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.014508008956909','2016-08-01 16:45:02'),(2463,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000005\', 2, \'benang halus\', \'32773\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.017892837524414','2016-08-01 16:45:02'),(2464,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000005\', 3, \'benang tebal\', \'32761\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016158103942871','2016-08-01 16:45:02'),(2465,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000005\', 4, \'benang tebal\', \'32773\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.01624584197998','2016-08-01 16:45:02'),(2466,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.016335964202881','2016-08-01 16:45:02'),(2467,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.016503095626831','2016-08-01 16:45:02'),(2468,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10760','expenses/saveExpense','0.016456842422485','2016-08-01 16:45:02'),(2469,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.016396045684814','2016-08-01 16:45:02'),(2470,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012797117233276','2016-08-01 16:45:02'),(2471,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.016997814178467','2016-08-01 16:45:02'),(2472,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015414953231812','2016-08-01 16:45:02'),(2473,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015433073043823','2016-08-01 16:45:02'),(2474,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'50\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-01\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1958\'','expenses/saveExpense','0.017616033554077','2016-08-01 16:46:12'),(2475,13,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1958\', `createdBy` = \'User\', `itemdescription` = \'benang halus\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1873\'','expenses/saveExpense','0.00035595893859863','2016-08-01 16:46:12'),(2476,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'282\'','expenses/saveExpense','0.018949031829834','2016-08-01 16:46:12'),(2477,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000006\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.01641321182251','2016-08-01 16:46:12'),(2478,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000006\', \'Cost of Goods Sold [OP-C[00000042]]\', \'Cost of Goods Sold [OP-C[00000042]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 50, 50, \'User\')','expenses/saveExpense','0.023643016815186','2016-08-01 16:46:12'),(2479,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000006\', 1, \'benang halus\', \'32761\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016183853149414','2016-08-01 16:46:12'),(2480,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000006\', 2, \'benang halus\', \'32773\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016201019287109','2016-08-01 16:46:12'),(2481,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.022987127304077','2016-08-01 16:46:12'),(2482,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.018193006515503','2016-08-01 16:46:12'),(2483,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10761','expenses/saveExpense','0.025061130523682','2016-08-01 16:46:12'),(2484,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.13279390335083','2016-08-01 16:46:13'),(2485,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012646913528442','2016-08-01 16:46:13'),(2486,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017077922821045','2016-08-01 16:46:13'),(2487,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'coba\', \'13\', \'User\', 1, 1, \'68\', \'20\', \'OP-E\', \'2016-08-01\', \'122\', \'1\')','expenses/saveExpense','0.089452981948853','2016-08-01 16:47:40'),(2488,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1959, \'User\', \'TNB\', 1, \'32779\', \'20\', \'20\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024605989456177','2016-08-01 16:47:40'),(2489,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'282\'','expenses/saveExpense','0.026508092880249','2016-08-01 16:47:40'),(2490,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000007\' WHERE `ID` =  1959','expenses/saveExpense','0.014307975769043','2016-08-01 16:47:40'),(2491,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000007\', \'Operating Expenses [OP-E[00000043]]\', \'Operating Expenses [OP-E[00000043]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 20, 20, \'User\')','expenses/saveExpense','0.022969961166382','2016-08-01 16:47:40'),(2492,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000007\', 1, \'TNB\', \'32761\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000043]\', \'User\')','expenses/saveExpense','0.041188955307007','2016-08-01 16:47:40'),(2493,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000007\', 2, \'TNB\', \'32779\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000043]\', \'User\')','expenses/saveExpense','0.01622200012207','2016-08-01 16:47:40'),(2494,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.016338109970093','2016-08-01 16:47:40'),(2495,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1959','expenses/saveExpense','0.016502857208252','2016-08-01 16:47:40'),(2496,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10762','expenses/saveExpense','0.016368865966797','2016-08-01 16:47:40'),(2497,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.041463136672974','2016-08-01 16:47:40'),(2498,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.024363040924072','2016-08-01 16:47:40'),(2499,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32779\', \'2016\', \'8\', \'20\', \'0\', 20, \'User\', \'2016-08-01: 10:08:40\')','expenses/saveExpense','0.021321058273315','2016-08-01 16:47:40'),(2500,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-05\', \'108\', \'12\', \'TT\', \'109\', \'12\', 3)','transfer/newTransfer','0.15785884857178','2016-08-05 13:04:35'),(2501,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1960, \'32573\', \'12\', \'test 1\')','transfer/newTransfer','0.033541917800903','2016-08-05 13:04:36'),(2502,12,0,'192.168.1.199','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'12\', \'3\', \'2016\', \'08\', \'AP\', 1)','transfer/newTransfer','0.020976066589355','2016-08-05 13:04:36'),(2503,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000001\' WHERE `ID` =  1960','transfer/newTransfer','0.011726140975952','2016-08-05 13:04:36'),(2504,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160800000001\', \' [TT[00000004]]]\', \'Bank Transfer [  [TT[00000004]]] ]\', \'\', \'3\', \'2016-08-05\', \'2016\', \'08\', 12, 12, \'User\')','transfer/newTransfer','0.0090410709381104','2016-08-05 13:04:36'),(2505,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000001\', 1, \'test 1\', \'32572\', 12, 1, \'1\', \'12\', \'08\', \'2016\', \'0\', \'TT[00000004]\', \'User\')','transfer/newTransfer','0.02453088760376','2016-08-05 13:04:36'),(2506,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000001\', 2, \'test 1\', \'32573\', 12, 1, \'1\', \'12\', \'08\', \'2016\', \'0\', \'TT[00000004]\', \'User\')','transfer/newTransfer','0.0195472240448','2016-08-05 13:04:36'),(2507,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 12, `total_amount_cr` = 12, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000001\'','transfer/newTransfer','0.011988878250122','2016-08-05 13:04:36'),(2508,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1960','transfer/newTransfer','0.012516975402832','2016-08-05 13:04:36'),(2509,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10763','transfer/newTransfer','0.020426988601685','2016-08-05 13:04:36'),(2510,12,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000001\'','transfer/newTransfer','0.029114961624146','2016-08-05 13:04:36'),(2511,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32572\', \'2016\', \'8\', \'0\', \'12\', -12, \'User\', \'2016-08-05: 07:08:35\')','transfer/newTransfer','0.0095710754394531','2016-08-05 13:04:36'),(2512,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32573\', \'2016\', \'8\', \'12\', \'0\', 12, \'User\', \'2016-08-05: 07:08:35\')','transfer/newTransfer','0.010871171951294','2016-08-05 13:04:36'),(2513,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'12\', \'User\', 1, 1, \'68\', \'25\', \'OP-C\', \'2016-08-05\', \'111\', \'1\')','expenses/saveExpense','0.073835134506226','2016-08-05 13:07:34'),(2514,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1961, \'User\', \'minyak masak\', 1, \'32584\', \'25\', \'25\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.013215065002441','2016-08-05 13:07:34'),(2515,12,0,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'298\'','expenses/saveExpense','0.020670175552368','2016-08-05 13:07:34'),(2516,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000002\' WHERE `ID` =  1961','expenses/saveExpense','0.011445999145508','2016-08-05 13:07:34'),(2517,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160800000002\', \'Cost of Goods Sold [OP-C[00000005]]\', \'Cost of Goods Sold [OP-C[00000005]]\', \'\', \'3\', \'2016-08-05\', \'16\', \'08\', 25, 25, \'User\')','expenses/saveExpense','0.0093557834625244','2016-08-05 13:07:34'),(2518,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000002\', 1, \'minyak masak\', \'32575\', 25, 1, \'1\', \'25\', \'08\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/saveExpense','0.011234045028687','2016-08-05 13:07:34'),(2519,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000002\', 2, \'minyak masak\', \'32584\', 25, 1, \'1\', \'25\', \'08\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/saveExpense','0.012891054153442','2016-08-05 13:07:34'),(2520,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 25, `total_amount_cr` = 25, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.011346101760864','2016-08-05 13:07:34'),(2521,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1961','expenses/saveExpense','0.013187170028687','2016-08-05 13:07:34'),(2522,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10764','expenses/saveExpense','0.011471033096313','2016-08-05 13:07:34'),(2523,12,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.016101121902466','2016-08-05 13:07:34'),(2524,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32575\', \'2016\', \'8\', \'0\', \'25\', -25, \'User\', \'2016-08-05: 07:08:33\')','expenses/saveExpense','0.019259929656982','2016-08-05 13:07:34'),(2525,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'8\', \'32584\', \'2016\', \'8\', \'25\', \'0\', 25, \'User\', \'2016-08-05: 07:08:34\')','expenses/saveExpense','0.026180028915405','2016-08-05 13:07:34'),(2526,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'User\', 1, 1, \'68\', \'258\', \'OP-E\', \'2016-08-05\', \'111\', \'1\')','expenses/saveExpense','0.10869312286377','2016-08-05 13:11:11'),(2527,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1962, \'User\', \'iklan\', 1, \'32587\', \'258\', \'258\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.0083551406860352','2016-08-05 13:11:11'),(2528,12,0,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'298\'','expenses/saveExpense','0.014632940292358','2016-08-05 13:11:11'),(2529,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000003\' WHERE `ID` =  1962','expenses/saveExpense','0.011398077011108','2016-08-05 13:11:11'),(2530,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160800000003\', \'Operating Expenses [OP-E[00000006]]\', \'Operating Expenses [OP-E[00000006]]\', \'\', \'3\', \'2016-08-05\', \'16\', \'08\', 258, 258, \'User\')','expenses/saveExpense','0.020750999450684','2016-08-05 13:11:11'),(2531,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000003\', 1, \'iklan\', \'32575\', 258, 1, \'1\', \'258\', \'08\', \'16\', \'1\', \'OP-E[00000006]\', \'User\')','expenses/saveExpense','0.013230085372925','2016-08-05 13:11:11'),(2532,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000003\', 2, \'iklan\', \'32587\', 258, 1, \'1\', \'258\', \'08\', \'16\', \'1\', \'OP-E[00000006]\', \'User\')','expenses/saveExpense','0.010923862457275','2016-08-05 13:11:11'),(2533,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 258, `total_amount_cr` = 258, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000003\'','expenses/saveExpense','0.063315153121948','2016-08-05 13:11:11'),(2534,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1962','expenses/saveExpense','0.016519784927368','2016-08-05 13:11:11'),(2535,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10765','expenses/saveExpense','0.011397838592529','2016-08-05 13:11:11'),(2536,12,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000003\'','expenses/saveExpense','0.0077719688415527','2016-08-05 13:11:11'),(2537,12,0,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32575\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015202045440674','2016-08-05 13:11:11'),(2538,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'10\', \'32587\', \'2016\', \'8\', \'258\', \'0\', 258, \'User\', \'2016-08-05: 07:08:11\')','expenses/saveExpense','0.0095100402832031','2016-08-05 13:11:11'),(2539,1,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'25\', \'OP-C\', \'2016-08-05\', \'82\', \'1\')','expenses/saveExpense','0.05936598777771','2016-08-05 14:40:53'),(2540,1,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1963, \'User\', \'minyak motor\', 1, \'32527\', \'25\', \'25\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.028069019317627','2016-08-05 14:40:53'),(2541,1,0,'192.168.1.199','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'1\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.01718807220459','2016-08-05 14:40:53'),(2542,1,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  1963','expenses/saveExpense','0.0084109306335449','2016-08-05 14:40:53'),(2543,1,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP160800000001\', \'Cost of Goods Sold [OP-C[00000605]]\', \'Cost of Goods Sold [OP-C[00000605]]\', \'\', \'3\', \'2016-08-05\', \'16\', \'08\', 25, 25, \'User\')','expenses/saveExpense','0.017941951751709','2016-08-05 14:40:53'),(2544,1,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP160800000001\', 1, \'minyak motor\', \'32515\', 25, 1, \'1\', \'25\', \'08\', \'16\', \'1\', \'OP-C[00000605]\', \'User\')','expenses/saveExpense','0.024547815322876','2016-08-05 14:40:53'),(2545,1,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP160800000001\', 2, \'minyak motor\', \'32527\', 25, 1, \'1\', \'25\', \'08\', \'16\', \'1\', \'OP-C[00000605]\', \'User\')','expenses/saveExpense','0.010699033737183','2016-08-05 14:40:53'),(2546,1,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 25, `total_amount_cr` = 25, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.0083467960357666','2016-08-05 14:40:53'),(2547,1,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1963','expenses/saveExpense','0.0078449249267578','2016-08-05 14:40:53'),(2548,1,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10767','expenses/saveExpense','0.016740083694458','2016-08-05 14:40:53'),(2549,1,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.013298988342285','2016-08-05 14:40:53'),(2550,1,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32515\', \'2016\', \'8\', \'0\', \'25\', -25, \'User\', \'2016-08-05: 08:08:53\')','expenses/saveExpense','0.016992092132568','2016-08-05 14:40:53'),(2551,1,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'8\', \'32527\', \'2016\', \'8\', \'25\', \'0\', 25, \'User\', \'2016-08-05: 08:08:53\')','expenses/saveExpense','0.011818885803223','2016-08-05 14:40:53'),(2552,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014641284942627','2016-08-05 20:05:13'),(2553,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'User\', 1, 1, \'68\', \'1200\', \'OP-A\', \'2016-08-05\', \'122\', \'1\')','expenses/saveExpense','0.045537948608398','2016-08-05 20:05:51'),(2554,13,0,'192.168.1.203','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1964, \'User\', \'meja\', 1, \'32751\', \'1200\', \'1200\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.025015830993652','2016-08-05 20:05:51'),(2555,13,0,'192.168.1.203','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'282\'','expenses/saveExpense','0.021587133407593','2016-08-05 20:05:52'),(2556,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000008\' WHERE `ID` =  1964','expenses/saveExpense','0.025062084197998','2016-08-05 20:05:52'),(2557,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000008\', \'Purchase of Fixed Asset [OP-A[00000044]]\', \'Purchase of Fixed Asset [OP-A[00000044]]\', \'\', \'3\', \'2016-08-05\', \'16\', \'08\', 1200, 1200, \'User\')','expenses/saveExpense','0.02905797958374','2016-08-05 20:05:52'),(2558,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000008\', 1, \'meja\', \'32761\', 1200, 1, \'1\', \'1200\', \'08\', \'16\', \'1\', \'OP-A[00000044]\', \'User\')','expenses/saveExpense','0.024827003479004','2016-08-05 20:05:52'),(2559,13,0,'192.168.1.203','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000008\', 2, \'meja\', \'32751\', 1200, 1, \'1\', \'1200\', \'08\', \'16\', \'1\', \'OP-A[00000044]\', \'User\')','expenses/saveExpense','0.015933990478516','2016-08-05 20:05:52'),(2560,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `total_amount_dr` = 1200, `total_amount_cr` = 1200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000008\'','expenses/saveExpense','0.02498197555542','2016-08-05 20:05:52'),(2561,13,0,'192.168.1.203','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1964','expenses/saveExpense','0.01653003692627','2016-08-05 20:05:52'),(2562,13,0,'192.168.1.203','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10768','expenses/saveExpense','0.13314604759216','2016-08-05 20:05:52'),(2563,13,0,'192.168.1.203','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000008\'','expenses/saveExpense','0.032687902450562','2016-08-05 20:05:52'),(2564,13,0,'192.168.1.203','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013005018234253','2016-08-05 20:05:52'),(2565,13,0,'192.168.1.203','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32751\', \'2016\', \'8\', \'1200\', \'0\', 1200, \'User\', \'2016-08-05: 14:08:51\')','expenses/saveExpense','0.024660110473633','2016-08-05 20:05:52'),(2566,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-08\', \'122\', \'1\')','expenses/saveExpense','0.087134122848511','2016-08-08 14:29:19'),(2567,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1965, \'User\', \'harini\', 1, \'32773\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.017143964767456','2016-08-08 14:29:20'),(2568,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'282\'','expenses/saveExpense','0.033835887908936','2016-08-08 14:29:20'),(2569,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000009\' WHERE `ID` =  1965','expenses/saveExpense','0.02477502822876','2016-08-08 14:29:20'),(2570,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000009\', \'Cost of Goods Sold [OP-C[00000045]]\', \'Cost of Goods Sold [OP-C[00000045]]\', \'\', \'3\', \'2016-08-08\', \'16\', \'08\', 100, 100, \'User\')','expenses/saveExpense','0.029263019561768','2016-08-08 14:29:20'),(2571,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000009\', 1, \'harini\', \'32761\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000045]\', \'User\')','expenses/saveExpense','0.049542188644409','2016-08-08 14:29:20'),(2572,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000009\', 2, \'harini\', \'32773\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000045]\', \'User\')','expenses/saveExpense','0.024526119232178','2016-08-08 14:29:20'),(2573,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000009\'','expenses/saveExpense','0.033008098602295','2016-08-08 14:29:20'),(2574,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1965','expenses/saveExpense','0.016520977020264','2016-08-08 14:29:20'),(2575,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10770','expenses/saveExpense','0.024773836135864','2016-08-08 14:29:20'),(2576,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000009\'','expenses/saveExpense','0.024695873260498','2016-08-08 14:29:20'),(2577,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.031319141387939','2016-08-08 14:29:20'),(2578,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023672103881836','2016-08-08 14:29:20'),(2579,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'today\', \'13\', \'User\', 1, 1, \'68\', \'30\', \'OP-E\', \'2016-08-08\', \'122\', \'1\')','expenses/saveExpense','0.088134050369263','2016-08-08 14:38:55'),(2580,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1966, \'User\', \'today\', 1, \'32775\', \'30\', \'30\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024661779403687','2016-08-08 14:38:55'),(2581,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'282\'','expenses/saveExpense','0.026409864425659','2016-08-08 14:38:55'),(2582,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000010\' WHERE `ID` =  1966','expenses/saveExpense','0.024054050445557','2016-08-08 14:38:55'),(2583,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000010\', \'Operating Expenses [OP-E[00000046]]\', \'Operating Expenses [OP-E[00000046]]\', \'\', \'3\', \'2016-08-08\', \'16\', \'08\', 30, 30, \'User\')','expenses/saveExpense','0.021713018417358','2016-08-08 14:38:55'),(2584,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000010\', 1, \'today\', \'32761\', 30, 1, \'1\', \'30\', \'08\', \'16\', \'1\', \'OP-E[00000046]\', \'User\')','expenses/saveExpense','0.060014009475708','2016-08-08 14:38:55'),(2585,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000010\', 2, \'today\', \'32775\', 30, 1, \'1\', \'30\', \'08\', \'16\', \'1\', \'OP-E[00000046]\', \'User\')','expenses/saveExpense','0.030743837356567','2016-08-08 14:38:55'),(2586,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000010\'','expenses/saveExpense','0.016370058059692','2016-08-08 14:38:55'),(2587,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1966','expenses/saveExpense','0.016509056091309','2016-08-08 14:38:55'),(2588,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10771','expenses/saveExpense','0.024753093719482','2016-08-08 14:38:55'),(2589,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000010\'','expenses/saveExpense','0.024782180786133','2016-08-08 14:38:55'),(2590,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.021353960037231','2016-08-08 14:38:55'),(2591,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32775\', \'2016\', \'8\', \'30\', \'0\', 30, \'User\', \'2016-08-08: 08:08:55\')','expenses/saveExpense','0.013749122619629','2016-08-08 14:38:55'),(2592,13,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.043473958969116','2016-08-08 14:40:45'),(2593,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.12347102165222','2016-08-08 15:33:16'),(2594,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0027029514312744','2016-08-08 15:49:08'),(2595,13,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'20,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'125\'','bank/saveBank','0.11454892158508','2016-08-08 15:49:44'),(2596,13,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32764\'','bank/saveBank','0.016251087188721','2016-08-08 15:49:44'),(2597,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013511180877686','2016-08-08 15:49:45'),(2598,13,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013999938964844','2016-08-08 15:57:04'),(2599,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.11207103729248','2016-08-08 16:07:25'),(2600,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013458728790283','2016-08-08 16:08:20'),(2601,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013909339904785','2016-08-08 16:08:56'),(2602,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013289451599121','2016-08-08 16:26:34'),(2603,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00136399269104','2016-08-08 16:26:54'),(2604,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001349925994873','2016-08-08 16:27:10'),(2605,13,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014190673828125','2016-08-08 16:28:44'),(2606,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013530254364014','2016-08-08 16:28:46'),(2607,13,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'20.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'125\'','bank/saveBank','0.091330051422119','2016-08-08 16:29:06'),(2608,13,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32764\'','bank/saveBank','0.024643898010254','2016-08-08 16:29:06'),(2609,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013620853424072','2016-08-08 16:29:10'),(2610,13,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'32776\'','setup/saveExpenses','0.08928108215332','2016-08-08 16:30:29'),(2611,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'TRY\', \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-E\', \'2016-08-08\', \'123\', \'1\')','expenses/saveExpense','0.10612201690674','2016-08-08 16:30:57'),(2612,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1967, \'User\', \'try\', 1, \'32776\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.033025979995728','2016-08-08 16:30:57'),(2613,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'282\'','expenses/saveExpense','0.025085210800171','2016-08-08 16:30:57'),(2614,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000011\' WHERE `ID` =  1967','expenses/saveExpense','0.016418933868408','2016-08-08 16:30:57'),(2615,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000011\', \'Operating Expenses [OP-E[00000047]]\', \'Operating Expenses [OP-E[00000047]]\', \'\', \'3\', \'2016-08-08\', \'16\', \'08\', 100, 100, \'User\')','expenses/saveExpense','0.01074481010437','2016-08-08 16:30:57'),(2616,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000011\', 1, \'try\', \'32762\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000047]\', \'User\')','expenses/saveExpense','0.018062114715576','2016-08-08 16:30:57'),(2617,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000011\', 2, \'try\', \'32776\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000047]\', \'User\')','expenses/saveExpense','0.022703886032104','2016-08-08 16:30:57'),(2618,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.026576995849609','2016-08-08 16:30:57'),(2619,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1967','expenses/saveExpense','0.016480922698975','2016-08-08 16:30:57'),(2620,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10772','expenses/saveExpense','0.12665295600891','2016-08-08 16:30:57'),(2621,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.021027088165283','2016-08-08 16:30:57'),(2622,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.016381978988647','2016-08-08 16:30:57'),(2623,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32776\', \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-08: 10:08:57\')','expenses/saveExpense','0.023178815841675','2016-08-08 16:30:57'),(2624,13,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'32776\'','setup/saveExpenses','0.016510009765625','2016-08-08 16:31:38'),(2625,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.018005132675171','2016-08-08 17:39:31'),(2626,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001338005065918','2016-08-08 18:53:15'),(2627,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001345157623291','2016-08-08 18:57:57'),(2628,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00136399269104','2016-08-08 19:00:13'),(2629,13,0,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Asset 8	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32757\'','setup/saveAsset','0.097454071044922','2016-08-08 19:00:17'),(2630,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013561248779297','2016-08-08 19:00:20'),(2631,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014028549194336','2016-08-08 19:00:40'),(2632,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013408660888672','2016-08-08 19:00:43'),(2633,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013821125030518','2016-08-08 19:01:30'),(2634,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013480186462402','2016-08-08 19:01:33'),(2635,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013318061828613','2016-08-08 19:01:37'),(2636,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013270378112793','2016-08-08 19:01:39'),(2637,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013298988342285','2016-08-08 19:01:41'),(2638,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013308525085449','2016-08-08 19:01:48'),(2639,13,0,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014159679412842','2016-08-08 19:04:04'),(2640,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001317024230957','2016-08-08 19:26:35'),(2641,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'500\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-01\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1958\'','expenses/saveExpense','0.024592161178589','2016-08-09 09:01:06'),(2642,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1958\', `createdBy` = \'User\', `itemdescription` = \'benang halus\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'500\', `amountExcludedTax` = \'500\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1873\'','expenses/saveExpense','0.013687133789062','2016-08-09 09:01:06'),(2643,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'282\'','expenses/saveExpense','0.014813899993896','2016-08-09 09:01:06'),(2644,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000012\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.019104957580566','2016-08-09 09:01:06'),(2645,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000012\', \'Cost of Goods Sold [OP-C[00000042]]\', \'Cost of Goods Sold [OP-C[00000042]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 500, 500, \'User\')','expenses/saveExpense','0.023685932159424','2016-08-09 09:01:06'),(2646,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000012\', 1, \'benang halus\', \'32761\', 500, 1, \'1\', \'500\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.016175985336304','2016-08-09 09:01:07'),(2647,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000012\', 2, \'benang halus\', \'32773\', 500, 1, \'1\', \'500\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.0078558921813965','2016-08-09 09:01:07'),(2648,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000012\'','expenses/saveExpense','0.014003992080688','2016-08-09 09:01:07'),(2649,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.010509014129639','2016-08-09 09:01:07'),(2650,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10775','expenses/saveExpense','0.01643705368042','2016-08-09 09:01:07'),(2651,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000012\'','expenses/saveExpense','0.013611078262329','2016-08-09 09:01:07'),(2652,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.016966819763184','2016-08-09 09:01:07'),(2653,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012761831283569','2016-08-09 09:01:07'),(2654,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `memo` = \'coba\', `companyID` = \'13\', `createdBy` = \'User\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'202\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-01\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1959\'','expenses/saveExpense','0.018578052520752','2016-08-09 09:01:23'),(2655,13,0,'192.168.1.136','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1959\', `createdBy` = \'User\', `itemdescription` = \'TNB\', `lineNo` = 1, `accountID` = \'32779\', `amountIncludedTax` = \'202\', `amountExcludedTax` = \'202\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1875\'','expenses/saveExpense','0.016172885894775','2016-08-09 09:01:23'),(2656,13,0,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'282\'','expenses/saveExpense','0.018287897109985','2016-08-09 09:01:23'),(2657,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000013\' WHERE `ID` =  \'1959\'','expenses/saveExpense','0.016448020935059','2016-08-09 09:01:23'),(2658,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000013\', \'Operating Expenses [OP-E[00000043]]\', \'Operating Expenses [OP-E[00000043]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 202, 202, \'User\')','expenses/saveExpense','0.012448072433472','2016-08-09 09:01:23'),(2659,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000013\', 1, \'TNB\', \'32761\', 202, 1, \'1\', \'202\', \'08\', \'16\', \'1\', \'OP-E[00000043]\', \'User\')','expenses/saveExpense','0.019163131713867','2016-08-09 09:01:23'),(2660,13,0,'192.168.1.136','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000013\', 2, \'TNB\', \'32779\', 202, 1, \'1\', \'202\', \'08\', \'16\', \'1\', \'OP-E[00000043]\', \'User\')','expenses/saveExpense','0.0078918933868408','2016-08-09 09:01:23'),(2661,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `total_amount_dr` = 202, `total_amount_cr` = 202, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000013\'','expenses/saveExpense','0.016379833221436','2016-08-09 09:01:23'),(2662,13,0,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1959\'','expenses/saveExpense','0.008152961730957','2016-08-09 09:01:23'),(2663,13,0,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10776','expenses/saveExpense','0.013773202896118','2016-08-09 09:01:23'),(2664,13,0,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000013\'','expenses/saveExpense','0.010760068893433','2016-08-09 09:01:23'),(2665,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022881984710693','2016-08-09 09:01:23'),(2666,13,0,'192.168.1.136','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32779\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012473106384277','2016-08-09 09:01:24'),(2667,13,0,'192.168.1.203','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0026788711547852','2016-08-09 09:09:37'),(2668,13,0,'192.168.1.196','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0015969276428223','2016-08-09 10:07:40'),(2669,13,0,'192.168.1.196','update','UPDATE `comp_bank` SET `bankName` = \'OCBC\', `currentBalance` = \'20,000,00.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'124\'','bank/saveBank','0.082446813583374','2016-08-09 10:07:51'),(2670,13,0,'192.168.1.196','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'OCBC\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32763\'','bank/saveBank','0.011260986328125','2016-08-09 10:07:51'),(2671,13,0,'192.168.1.196','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001406192779541','2016-08-09 10:07:52'),(2672,13,0,'192.168.1.196','update','UPDATE `comp_bank` SET `bankName` = \'OCBC\', `currentBalance` = \'20000\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'124\'','bank/saveBank','0.10309290885925','2016-08-09 10:08:03'),(2673,13,0,'192.168.1.196','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'OCBC\', `openingBalanceDr` = 20000, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32763\'','bank/saveBank','0.011644840240479','2016-08-09 10:08:03'),(2674,13,0,'192.168.1.196','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014359951019287','2016-08-09 10:08:05'),(2675,12,0,'192.168.1.65','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 12, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 12)','setup/assetSetup','0.0014278888702393','2016-08-09 10:11:31'),(2676,1,0,'192.168.1.254','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0016000270843506','2016-08-09 11:00:11'),(2677,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.080176115036011','2016-08-10 09:37:39'),(2678,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013461112976074','2016-08-10 09:53:39'),(2679,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'huhuhu\', \'13\', \'User\', 1, 1, \'68\', \'372\', \'OP-L\', \'2016-08-10\', \'123\', \'1\')','expenses/saveExpense','0.025654077529907','2016-08-10 10:18:46'),(2680,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1968, \'User\', \'fad2\', 1, \'32770\', \'124\', \'124\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.028239011764526','2016-08-10 10:18:46'),(2681,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1968, \'User\', \'fad3\', 1, \'32767\', \'125\', \'125\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01292610168457','2016-08-10 10:18:46'),(2682,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1968, \'User\', \'fad1\', 1, \'32768\', \'123\', \'123\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.011552095413208','2016-08-10 10:18:46'),(2683,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'282\'','expenses/saveExpense','0.013889074325562','2016-08-10 10:18:46'),(2684,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000014\' WHERE `ID` =  1968','expenses/saveExpense','0.01172399520874','2016-08-10 10:18:46'),(2685,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000014\', \'Loan Repayment [OP-L[00000048]]\', \'Loan Repayment [OP-L[00000048]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 372, 372, \'User\')','expenses/saveExpense','0.025721073150635','2016-08-10 10:18:46'),(2686,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000014\', 1, \'fad2\', \'32762\', 124, 1, \'1\', \'124\', \'08\', \'16\', \'1\', \'OP-L[00000048]\', \'User\')','expenses/saveExpense','0.01139497756958','2016-08-10 10:18:46'),(2687,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000014\', 2, \'fad2\', \'32770\', 124, 1, \'1\', \'124\', \'08\', \'16\', \'1\', \'OP-L[00000048]\', \'User\')','expenses/saveExpense','0.012712001800537','2016-08-10 10:18:46'),(2688,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000014\', 3, \'fad3\', \'32762\', 125, 1, \'1\', \'125\', \'08\', \'16\', \'1\', \'OP-L[00000048]\', \'User\')','expenses/saveExpense','0.011443853378296','2016-08-10 10:18:46'),(2689,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000014\', 4, \'fad3\', \'32767\', 125, 1, \'1\', \'125\', \'08\', \'16\', \'1\', \'OP-L[00000048]\', \'User\')','expenses/saveExpense','0.012633085250854','2016-08-10 10:18:46'),(2690,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000014\', 5, \'fad1\', \'32762\', 123, 1, \'1\', \'123\', \'08\', \'16\', \'1\', \'OP-L[00000048]\', \'User\')','expenses/saveExpense','0.011496067047119','2016-08-10 10:18:46'),(2691,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000014\', 6, \'fad1\', \'32768\', 123, 1, \'1\', \'123\', \'08\', \'16\', \'1\', \'OP-L[00000048]\', \'User\')','expenses/saveExpense','0.012633085250854','2016-08-10 10:18:46'),(2692,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 372, `total_amount_cr` = 372, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000014\'','expenses/saveExpense','0.011634111404419','2016-08-10 10:18:46'),(2693,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1968','expenses/saveExpense','0.012919902801514','2016-08-10 10:18:46'),(2694,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10782','expenses/saveExpense','0.011723041534424','2016-08-10 10:18:46'),(2695,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000014\'','expenses/saveExpense','0.01280689239502','2016-08-10 10:18:46'),(2696,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0095651149749756','2016-08-10 10:18:46'),(2697,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32770\', \'2016\', \'8\', \'124\', \'0\', 124, \'User\', \'2016-08-10: 04:08:45\')','expenses/saveExpense','0.011263132095337','2016-08-10 10:18:46'),(2698,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010662078857422','2016-08-10 10:18:46'),(2699,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32767\', \'2016\', \'8\', \'125\', \'0\', 125, \'User\', \'2016-08-10: 04:08:46\')','expenses/saveExpense','0.011255979537964','2016-08-10 10:18:46'),(2700,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010694026947021','2016-08-10 10:18:46'),(2701,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32768\', \'2016\', \'8\', \'123\', \'0\', 123, \'User\', \'2016-08-10: 04:08:46\')','expenses/saveExpense','0.011306047439575','2016-08-10 10:18:46'),(2702,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-10\', \'32767\', \'900000\', \'LR\', \'123\', \'13\', 3)','loanReceive/save_new_loan','0.13885998725891','2016-08-10 10:24:34'),(2703,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1969, \'32762\', \'900000\', \'fad punye\')','loanReceive/save_new_loan','0.011257886886597','2016-08-10 10:24:34'),(2704,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'282\'','loanReceive/save_new_loan','0.021848917007446','2016-08-10 10:24:34'),(2705,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000015\' WHERE `ID` =  1969','loanReceive/save_new_loan','0.016155958175659','2016-08-10 10:24:35'),(2706,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000015\', \' [LR[00000049]]]\', \'Loan Received [  [LR[00000049]]] ]\', \'\', \'3\', \'2016-08-10\', \'2016\', \'08\', 900000, 900000, \'User\')','loanReceive/save_new_loan','0.021296977996826','2016-08-10 10:24:35'),(2707,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000015\', 1, \'fad punye\', \'32767\', 900000, 1, \'1\', \'900000\', \'08\', \'2016\', \'0\', \'LR[00000049]\', \'User\')','loanReceive/save_new_loan','0.012701988220215','2016-08-10 10:24:35'),(2708,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000015\', 2, \'fad punye\', \'32762\', 900000, 1, \'1\', \'900000\', \'08\', \'2016\', \'0\', \'LR[00000049]\', \'User\')','loanReceive/save_new_loan','0.011413097381592','2016-08-10 10:24:35'),(2709,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 900000, `total_amount_cr` = 900000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000015\'','loanReceive/save_new_loan','0.016086101531982','2016-08-10 10:24:35'),(2710,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1969','loanReceive/save_new_loan','0.013283014297485','2016-08-10 10:24:35'),(2711,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10783','loanReceive/save_new_loan','0.011360168457031','2016-08-10 10:24:35'),(2712,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000015\'','loanReceive/save_new_loan','0.016655921936035','2016-08-10 10:24:35'),(2713,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.01097297668457','2016-08-10 10:24:35'),(2714,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.010584831237793','2016-08-10 10:24:35'),(2715,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-10\', `bankID` = \'32767\', `payTo` = \'123\', `amountPaid` = \'100000\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'1969\'','loanReceive/update_loan','0.020127058029175','2016-08-10 11:41:25'),(2716,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'100000\', `itemdescription` = \'fad punye\' WHERE `ID` =  \'1887\'','loanReceive/update_loan','0.033346176147461','2016-08-10 11:41:25'),(2717,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'282\'','loanReceive/update_loan','0.028924942016602','2016-08-10 11:41:25'),(2718,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000016\' WHERE `ID` =  \'1969\'','loanReceive/update_loan','0.010832786560059','2016-08-10 11:41:25'),(2719,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000016\', \' [LR[00000049]]]\', \'Loan Received [  [LR[00000049]]] ]\', \'\', \'3\', \'2016-08-10\', \'2016\', \'08\', 100000, 100000, \'User\')','loanReceive/update_loan','0.0097308158874512','2016-08-10 11:41:25'),(2720,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000016\', 1, \'fad punye\', \'32767\', 100000, 1, \'1\', \'100000\', \'08\', \'2016\', \'0\', \'LR[00000049]\', \'User\')','loanReceive/update_loan','0.010601997375488','2016-08-10 11:41:25'),(2721,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000016\', 2, \'fad punye\', \'32762\', 100000, 1, \'1\', \'100000\', \'08\', \'2016\', \'0\', \'LR[00000049]\', \'User\')','loanReceive/update_loan','0.015883922576904','2016-08-10 11:41:25'),(2722,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 100000, `total_amount_cr` = 100000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000016\'','loanReceive/update_loan','0.016682147979736','2016-08-10 11:41:26'),(2723,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1969\'','loanReceive/update_loan','0.016175985336304','2016-08-10 11:41:26'),(2724,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10784','loanReceive/update_loan','0.025071144104004','2016-08-10 11:41:26'),(2725,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000016\'','loanReceive/update_loan','0.016081809997559','2016-08-10 11:41:26'),(2726,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.014225959777832','2016-08-10 11:41:26'),(2727,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.012137889862061','2016-08-10 11:41:26'),(2728,21,0,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'21\'','setup/updateCompany','0.10483503341675','2016-08-10 12:02:38'),(2729,21,0,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'21\'','setup/updateCompany','0.016694068908691','2016-08-10 12:02:38'),(2730,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.058212041854858','2016-08-10 12:13:55'),(2731,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'250\', \'OP-C\', \'2016-10-08\', \'122\', \'1\')','expenses/saveExpense','0.054175853729248','2016-08-10 12:26:51'),(2732,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1970, \'User\', \'10/08/2016\', 1, \'32773\', \'250\', \'250\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016103029251099','2016-08-10 12:26:51'),(2733,13,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'16\', \'10\', \'AP\', 1)','expenses/saveExpense','0.023277997970581','2016-08-10 12:26:51'),(2734,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP161000000001\' WHERE `ID` =  1970','expenses/saveExpense','0.024476051330566','2016-08-10 12:26:51'),(2735,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP161000000001\', \'Cost of Goods Sold [OP-C[00000050]]\', \'Cost of Goods Sold [OP-C[00000050]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 250, 250, \'User\')','expenses/saveExpense','0.029654979705811','2016-08-10 12:26:51'),(2736,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP161000000001\', 1, \'10/08/2016\', \'32761\', 250, 1, \'1\', \'250\', \'10\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.030478000640869','2016-08-10 12:26:51'),(2737,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP161000000001\', 2, \'10/08/2016\', \'32773\', 250, 1, \'1\', \'250\', \'10\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.018624067306519','2016-08-10 12:26:51'),(2738,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 250, `total_amount_cr` = 250, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP161000000001\'','expenses/saveExpense','0.016074180603027','2016-08-10 12:26:51'),(2739,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1970','expenses/saveExpense','0.016788959503174','2016-08-10 12:26:51'),(2740,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10785','expenses/saveExpense','0.016180038452148','2016-08-10 12:26:51'),(2741,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP161000000001\'','expenses/saveExpense','0.016676902770996','2016-08-10 12:26:51'),(2742,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32761\', \'2016\', \'10\', \'0\', \'250\', -250, \'User\', \'2016-08-10: 06:08:51\')','expenses/saveExpense','0.028279066085815','2016-08-10 12:26:51'),(2743,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'8\', \'32773\', \'2016\', \'10\', \'250\', \'0\', 250, \'User\', \'2016-08-10: 06:08:51\')','expenses/saveExpense','0.017226934432983','2016-08-10 12:26:51'),(2744,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'250\', \'OP-C\', \'2016-10-08\', \'122\', \'1\')','expenses/saveExpense','0.087362051010132','2016-08-10 12:30:24'),(2745,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1971, \'User\', \'10/08/2016\', 1, \'32773\', \'250\', \'250\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016649007797241','2016-08-10 12:30:24'),(2746,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'303\'','expenses/saveExpense','0.029317855834961','2016-08-10 12:30:25'),(2747,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000002\' WHERE `ID` =  1971','expenses/saveExpense','0.01831316947937','2016-08-10 12:30:25'),(2748,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20161000000002\', \'Cost of Goods Sold [OP-C[00000051]]\', \'Cost of Goods Sold [OP-C[00000051]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 250, 250, \'User\')','expenses/saveExpense','0.021296977996826','2016-08-10 12:30:25'),(2749,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000002\', 1, \'10/08/2016\', \'32761\', 250, 1, \'1\', \'250\', \'10\', \'16\', \'1\', \'OP-C[00000051]\', \'User\')','expenses/saveExpense','0.042160034179688','2016-08-10 12:30:25'),(2750,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000002\', 2, \'10/08/2016\', \'32773\', 250, 1, \'1\', \'250\', \'10\', \'16\', \'1\', \'OP-C[00000051]\', \'User\')','expenses/saveExpense','0.031924962997437','2016-08-10 12:30:25'),(2751,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 250, `total_amount_cr` = 250, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000002\'','expenses/saveExpense','0.049662828445435','2016-08-10 12:30:25'),(2752,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1971','expenses/saveExpense','0.024578094482422','2016-08-10 12:30:25'),(2753,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10786','expenses/saveExpense','0.025084018707275','2016-08-10 12:30:25'),(2754,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000002\'','expenses/saveExpense','0.032775163650513','2016-08-10 12:30:25'),(2755,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.030746936798096','2016-08-10 12:30:25'),(2756,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.013268947601318','2016-08-10 12:30:25'),(2757,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'User\', 1, 1, \'68\', \'250\', \'OP-C\', \'2016-10-08\', \'122\', \'1\')','expenses/saveExpense','0.08448314666748','2016-08-10 12:30:55'),(2758,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1972, \'User\', \'try\', 1, \'32773\', \'250\', \'250\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024405002593994','2016-08-10 12:30:55'),(2759,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'303\'','expenses/saveExpense','0.046158075332642','2016-08-10 12:30:56'),(2760,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000003\' WHERE `ID` =  1972','expenses/saveExpense','0.017189979553223','2016-08-10 12:30:56'),(2761,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20161000000003\', \'Cost of Goods Sold [OP-C[00000052]]\', \'Cost of Goods Sold [OP-C[00000052]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 250, 250, \'User\')','expenses/saveExpense','0.021293878555298','2016-08-10 12:30:56'),(2762,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000003\', 1, \'try\', \'32761\', 250, 1, \'1\', \'250\', \'10\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.024278879165649','2016-08-10 12:30:56'),(2763,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000003\', 2, \'try\', \'32773\', 250, 1, \'1\', \'250\', \'10\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.016512870788574','2016-08-10 12:30:56'),(2764,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 250, `total_amount_cr` = 250, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000003\'','expenses/saveExpense','0.016075134277344','2016-08-10 12:30:56'),(2765,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1972','expenses/saveExpense','0.025092124938965','2016-08-10 12:30:56'),(2766,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10787','expenses/saveExpense','0.022576093673706','2016-08-10 12:30:56'),(2767,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000003\'','expenses/saveExpense','0.018611907958984','2016-08-10 12:30:56'),(2768,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.022495985031128','2016-08-10 12:30:56'),(2769,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.023985862731934','2016-08-10 12:30:56'),(2770,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-10-08\', \'83\', \'1\')','expenses/saveExpense','0.078867197036743','2016-08-10 12:46:04'),(2771,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1973, \'User\', \'Kasut\', 1, \'32527\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024991989135742','2016-08-10 12:46:04'),(2772,1,0,'192.168.1.254','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'1\', \'3\', \'16\', \'10\', \'AP\', 1)','expenses/saveExpense','0.023820161819458','2016-08-10 12:46:04'),(2773,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP161000000001\' WHERE `ID` =  1973','expenses/saveExpense','0.025076866149902','2016-08-10 12:46:04'),(2774,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP161000000001\', \'Cost of Goods Sold [OP-C[00000606]]\', \'Cost of Goods Sold [OP-C[00000606]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 100, 100, \'User\')','expenses/saveExpense','0.010504961013794','2016-08-10 12:46:04'),(2775,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP161000000001\', 1, \'Kasut\', \'32516\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000606]\', \'User\')','expenses/saveExpense','0.032878875732422','2016-08-10 12:46:04'),(2776,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP161000000001\', 2, \'Kasut\', \'32527\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-C[00000606]\', \'User\')','expenses/saveExpense','0.018064975738525','2016-08-10 12:46:04'),(2777,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP161000000001\'','expenses/saveExpense','0.025032997131348','2016-08-10 12:46:04'),(2778,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1973','expenses/saveExpense','0.016201019287109','2016-08-10 12:46:05'),(2779,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10788','expenses/saveExpense','0.022922992706299','2016-08-10 12:46:05'),(2780,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP161000000001\'','expenses/saveExpense','0.026602983474731','2016-08-10 12:46:05'),(2781,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32516\', \'2016\', \'10\', \'0\', \'100\', -100, \'User\', \'2016-08-10: 06:08:04\')','expenses/saveExpense','0.050990104675293','2016-08-10 12:46:05'),(2782,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'8\', \'32527\', \'2016\', \'10\', \'100\', \'0\', 100, \'User\', \'2016-08-10: 06:08:04\')','expenses/saveExpense','0.01280689239502','2016-08-10 12:46:05'),(2783,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'85\', \'1\')','expenses/saveExpense','0.26188802719116','2016-08-10 12:51:51'),(2784,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1974, \'User\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024412870407104','2016-08-10 12:51:51'),(2785,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'304\'','expenses/saveExpense','0.033500909805298','2016-08-10 12:51:51'),(2786,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000002\' WHERE `ID` =  1974','expenses/saveExpense','0.024716854095459','2016-08-10 12:51:51'),(2787,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000002\', \'Cost of Goods Sold [OP-C[00000607]]\', \'Cost of Goods Sold [OP-C[00000607]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'User\')','expenses/saveExpense','0.1461079120636','2016-08-10 12:51:51'),(2788,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000002\', 1, \'Kasut\', \'32518\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000607]\', \'User\')','expenses/saveExpense','0.015807151794434','2016-08-10 12:51:51'),(2789,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000002\', 2, \'Kasut\', \'32527\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000607]\', \'User\')','expenses/saveExpense','0.016534805297852','2016-08-10 12:51:51'),(2790,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000002\'','expenses/saveExpense','0.024429798126221','2016-08-10 12:51:51'),(2791,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1974','expenses/saveExpense','0.025106906890869','2016-08-10 12:51:51'),(2792,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10789','expenses/saveExpense','0.016176223754883','2016-08-10 12:51:51'),(2793,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000002\'','expenses/saveExpense','0.016694068908691','2016-08-10 12:51:51'),(2794,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32518\', \'2016\', \'10\', \'0\', \'1000\', -1000, \'User\', \'2016-08-10: 06:08:50\')','expenses/saveExpense','0.011807918548584','2016-08-10 12:51:51'),(2795,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.017544984817505','2016-08-10 12:51:51'),(2796,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'try\', \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-E\', \'2016-10-08\', \'122\', \'1\')','expenses/saveExpense','0.10285711288452','2016-08-10 12:53:48'),(2797,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1975, \'User\', \'today\', 1, \'32775\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.014775991439819','2016-08-10 12:53:48'),(2798,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'303\'','expenses/saveExpense','0.025695085525513','2016-08-10 12:53:48'),(2799,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000004\' WHERE `ID` =  1975','expenses/saveExpense','0.016746044158936','2016-08-10 12:53:48'),(2800,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20161000000004\', \'Operating Expenses [OP-E[00000053]]\', \'Operating Expenses [OP-E[00000053]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 100, 100, \'User\')','expenses/saveExpense','0.010679960250854','2016-08-10 12:53:48'),(2801,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000004\', 1, \'today\', \'32761\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-E[00000053]\', \'User\')','expenses/saveExpense','0.016213893890381','2016-08-10 12:53:48'),(2802,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000004\', 2, \'today\', \'32775\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-E[00000053]\', \'User\')','expenses/saveExpense','0.026278972625732','2016-08-10 12:53:48'),(2803,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000004\'','expenses/saveExpense','0.016700029373169','2016-08-10 12:53:48'),(2804,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1975','expenses/saveExpense','0.016196966171265','2016-08-10 12:53:48'),(2805,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10790','expenses/saveExpense','0.016733884811401','2016-08-10 12:53:48'),(2806,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000004\'','expenses/saveExpense','0.016134977340698','2016-08-10 12:53:48'),(2807,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.012778043746948','2016-08-10 12:53:48'),(2808,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32775\', \'2016\', \'10\', \'100\', \'0\', 100, \'User\', \'2016-08-10: 06:08:48\')','expenses/saveExpense','0.01659083366394','2016-08-10 12:53:48'),(2809,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'wow!\', \'13\', \'User\', 1, 1, \'68\', \'99\', \'OP-E\', \'2016-10-08\', \'122\', \'1\')','expenses/saveExpense','0.098219871520996','2016-08-10 12:54:29'),(2810,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1976, \'User\', \'wow\', 1, \'32775\', \'99\', \'99\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.017908096313477','2016-08-10 12:54:29'),(2811,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'303\'','expenses/saveExpense','0.015839099884033','2016-08-10 12:54:29'),(2812,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000005\' WHERE `ID` =  1976','expenses/saveExpense','0.016003131866455','2016-08-10 12:54:29'),(2813,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20161000000005\', \'Operating Expenses [OP-E[00000054]]\', \'Operating Expenses [OP-E[00000054]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 99, 99, \'User\')','expenses/saveExpense','0.011226892471313','2016-08-10 12:54:29'),(2814,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000005\', 1, \'wow\', \'32761\', 99, 1, \'1\', \'99\', \'10\', \'16\', \'1\', \'OP-E[00000054]\', \'User\')','expenses/saveExpense','0.01770806312561','2016-08-10 12:54:29'),(2815,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000005\', 2, \'wow\', \'32775\', 99, 1, \'1\', \'99\', \'10\', \'16\', \'1\', \'OP-E[00000054]\', \'User\')','expenses/saveExpense','0.016531944274902','2016-08-10 12:54:29'),(2816,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 99, `total_amount_cr` = 99, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000005\'','expenses/saveExpense','0.016077041625977','2016-08-10 12:54:29'),(2817,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1976','expenses/saveExpense','0.02511191368103','2016-08-10 12:54:29'),(2818,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10791','expenses/saveExpense','0.01612401008606','2016-08-10 12:54:29'),(2819,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000005\'','expenses/saveExpense','0.016758918762207','2016-08-10 12:54:29'),(2820,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.012711048126221','2016-08-10 12:54:29'),(2821,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.017222881317139','2016-08-10 12:54:29'),(2822,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-10\', \'122\', \'100\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.21367907524109','2016-08-10 13:01:06'),(2823,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1977, \'32762\', \'100\', \'wow\')','transfer/newTransfer','0.028981924057007','2016-08-10 13:01:06'),(2824,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'282\'','transfer/newTransfer','0.022684097290039','2016-08-10 13:01:06'),(2825,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000017\' WHERE `ID` =  1977','transfer/newTransfer','0.024467945098877','2016-08-10 13:01:06'),(2826,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000017\', \' [TT[00000055]]]\', \'Bank Transfer [  [TT[00000055]]] ]\', \'\', \'3\', \'2016-08-10\', \'2016\', \'08\', 100, 100, \'User\')','transfer/newTransfer','0.021270990371704','2016-08-10 13:01:06'),(2827,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000017\', 1, \'wow\', \'32761\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000055]\', \'User\')','transfer/newTransfer','0.015892028808594','2016-08-10 13:01:06'),(2828,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000017\', 2, \'wow\', \'32762\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000055]\', \'User\')','transfer/newTransfer','0.033144950866699','2016-08-10 13:01:06'),(2829,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000017\'','transfer/newTransfer','0.016132831573486','2016-08-10 13:01:06'),(2830,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1977','transfer/newTransfer','0.016742944717407','2016-08-10 13:01:06'),(2831,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10792','transfer/newTransfer','0.016170978546143','2016-08-10 13:01:06'),(2832,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000017\'','transfer/newTransfer','0.016649961471558','2016-08-10 13:01:06'),(2833,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.012529134750366','2016-08-10 13:01:07'),(2834,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.050251960754395','2016-08-10 13:01:07'),(2835,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'84\', \'1\')','expenses/saveExpense','0.062315940856934','2016-08-10 13:01:25'),(2836,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1978, \'User\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016077041625977','2016-08-10 13:01:25'),(2837,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'304\'','expenses/saveExpense','0.02407693862915','2016-08-10 13:01:25'),(2838,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000003\' WHERE `ID` =  1978','expenses/saveExpense','0.016144990921021','2016-08-10 13:01:25'),(2839,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000003\', \'Cost of Goods Sold [OP-C[00000608]]\', \'Cost of Goods Sold [OP-C[00000608]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'User\')','expenses/saveExpense','0.011188983917236','2016-08-10 13:01:25'),(2840,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000003\', 1, \'Kasut\', \'32517\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000608]\', \'User\')','expenses/saveExpense','0.042711019515991','2016-08-10 13:01:25'),(2841,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000003\', 2, \'Kasut\', \'32527\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000608]\', \'User\')','expenses/saveExpense','0.016525983810425','2016-08-10 13:01:25'),(2842,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000003\'','expenses/saveExpense','0.016103982925415','2016-08-10 13:01:25'),(2843,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1978','expenses/saveExpense','0.016763925552368','2016-08-10 13:01:25'),(2844,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10793','expenses/saveExpense','0.016170024871826','2016-08-10 13:01:25'),(2845,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000003\'','expenses/saveExpense','0.033432960510254','2016-08-10 13:01:25'),(2846,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32517\', \'2016\', \'10\', \'0\', \'1000\', -1000, \'User\', \'2016-08-10: 07:08:25\')','expenses/saveExpense','0.11762595176697','2016-08-10 13:01:25'),(2847,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.023967027664185','2016-08-10 13:01:25'),(2848,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'wow\', \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2016-10-08\', \'122\', \'1\')','expenses/saveExpense','0.031398057937622','2016-08-10 13:01:34'),(2849,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1979, \'User\', \'wow\', 1, \'32768\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016685962677002','2016-08-10 13:01:34'),(2850,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'303\'','expenses/saveExpense','0.018662214279175','2016-08-10 13:01:34'),(2851,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000006\' WHERE `ID` =  1979','expenses/saveExpense','0.018148899078369','2016-08-10 13:01:34'),(2852,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20161000000006\', \'Loan Repayment [OP-L[00000056]]\', \'Loan Repayment [OP-L[00000056]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 100, 100, \'User\')','expenses/saveExpense','0.01085901260376','2016-08-10 13:01:34'),(2853,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000006\', 1, \'wow\', \'32761\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-L[00000056]\', \'User\')','expenses/saveExpense','0.017974853515625','2016-08-10 13:01:34'),(2854,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000006\', 2, \'wow\', \'32768\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-L[00000056]\', \'User\')','expenses/saveExpense','0.015936851501465','2016-08-10 13:01:34'),(2855,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000006\'','expenses/saveExpense','0.016676902770996','2016-08-10 13:01:34'),(2856,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1979','expenses/saveExpense','0.016196966171265','2016-08-10 13:01:34'),(2857,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10794','expenses/saveExpense','0.016731023788452','2016-08-10 13:01:34'),(2858,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000006\'','expenses/saveExpense','0.016113996505737','2016-08-10 13:01:34'),(2859,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.013065099716187','2016-08-10 13:01:34'),(2860,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32768\', \'2016\', \'10\', \'100\', \'0\', 100, \'User\', \'2016-08-10: 07:08:34\')','expenses/saveExpense','0.12863707542419','2016-08-10 13:01:34'),(2861,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'woi\', \'13\', \'User\', 1, 1, \'68\', \'100\', \'OP-L\', \'2016-10-08\', \'122\', \'1\')','expenses/saveExpense','0.022742986679077','2016-08-10 13:02:39'),(2862,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1980, \'User\', \'wow\', 1, \'32767\', \'100\', \'100\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.017973899841309','2016-08-10 13:02:39'),(2863,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'303\'','expenses/saveExpense','0.018472909927368','2016-08-10 13:02:39'),(2864,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000007\' WHERE `ID` =  1980','expenses/saveExpense','0.016723871231079','2016-08-10 13:02:39'),(2865,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20161000000007\', \'Loan Repayment [OP-L[00000057]]\', \'Loan Repayment [OP-L[00000057]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 100, 100, \'User\')','expenses/saveExpense','0.011041879653931','2016-08-10 13:02:39'),(2866,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000007\', 1, \'wow\', \'32761\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-L[00000057]\', \'User\')','expenses/saveExpense','0.017903089523315','2016-08-10 13:02:40'),(2867,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000007\', 2, \'wow\', \'32767\', 100, 1, \'1\', \'100\', \'10\', \'16\', \'1\', \'OP-L[00000057]\', \'User\')','expenses/saveExpense','0.024277925491333','2016-08-10 13:02:40'),(2868,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000007\'','expenses/saveExpense','0.016693115234375','2016-08-10 13:02:40'),(2869,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1980','expenses/saveExpense','0.016175985336304','2016-08-10 13:02:40'),(2870,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10795','expenses/saveExpense','0.016700983047485','2016-08-10 13:02:40'),(2871,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000007\'','expenses/saveExpense','0.016083002090454','2016-08-10 13:02:40'),(2872,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.013385057449341','2016-08-10 13:02:40'),(2873,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32767\', \'2016\', \'10\', \'100\', \'0\', 100, \'User\', \'2016-08-10: 07:08:39\')','expenses/saveExpense','0.016247987747192','2016-08-10 13:02:40'),(2874,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-10-08\', \'32767\', \'200\', \'LR\', \'122\', \'13\', 3)','loanReceive/save_new_loan','0.10045504570007','2016-08-10 13:03:50'),(2875,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (1983, \'32761\', \'200\', \'wow\')','loanReceive/save_new_loan','0.016788005828857','2016-08-10 13:03:50'),(2876,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'303\'','loanReceive/save_new_loan','0.029179096221924','2016-08-10 13:03:50'),(2877,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000008\' WHERE `ID` =  1983','loanReceive/save_new_loan','0.13338708877563','2016-08-10 13:03:50'),(2878,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20161000000008\', \' [LR[00000058]]]\', \'Loan Received [  [LR[00000058]]] ]\', \'\', \'3\', \'2016-10-08\', \'2016\', \'10\', 200, 200, \'User\')','loanReceive/save_new_loan','0.010909080505371','2016-08-10 13:03:50'),(2879,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000008\', 1, \'wow\', \'32767\', 200, 1, \'1\', \'200\', \'10\', \'2016\', \'0\', \'LR[00000058]\', \'User\')','loanReceive/save_new_loan','0.026195049285889','2016-08-10 13:03:50'),(2880,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20161000000008\', 2, \'wow\', \'32761\', 200, 1, \'1\', \'200\', \'10\', \'2016\', \'0\', \'LR[00000058]\', \'User\')','loanReceive/save_new_loan','0.01594090461731','2016-08-10 13:03:50'),(2881,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000008\'','loanReceive/save_new_loan','0.016685962677002','2016-08-10 13:03:50'),(2882,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1983','loanReceive/save_new_loan','0.016195058822632','2016-08-10 13:03:50'),(2883,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10796','loanReceive/save_new_loan','0.026982069015503','2016-08-10 13:03:50'),(2884,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20161000000008\'','loanReceive/save_new_loan','0.022555112838745','2016-08-10 13:03:50'),(2885,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','loanReceive/save_new_loan','0.047766923904419','2016-08-10 13:03:50'),(2886,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','loanReceive/save_new_loan','0.01568603515625','2016-08-10 13:03:50'),(2887,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'User\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'83\', \'1\')','expenses/saveExpense','0.037163972854614','2016-08-10 13:49:57'),(2888,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1985, \'User\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.033375978469849','2016-08-10 13:49:57'),(2889,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'304\'','expenses/saveExpense','0.032021999359131','2016-08-10 13:49:57'),(2890,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000004\' WHERE `ID` =  1985','expenses/saveExpense','0.024996995925903','2016-08-10 13:49:57'),(2891,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000004\', \'Cost of Goods Sold [OP-C[00000612]]\', \'Cost of Goods Sold [OP-C[00000612]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'User\')','expenses/saveExpense','0.010906934738159','2016-08-10 13:49:57'),(2892,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000004\', 1, \'Kasut\', \'32516\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000612]\', \'User\')','expenses/saveExpense','0.049532890319824','2016-08-10 13:49:57'),(2893,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000004\', 2, \'Kasut\', \'32527\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000612]\', \'User\')','expenses/saveExpense','0.01752781867981','2016-08-10 13:49:57'),(2894,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000004\'','expenses/saveExpense','0.016702890396118','2016-08-10 13:49:57'),(2895,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1985','expenses/saveExpense','0.016197919845581','2016-08-10 13:49:57'),(2896,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10797','expenses/saveExpense','0.025084018707275','2016-08-10 13:49:57'),(2897,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000004\'','expenses/saveExpense','0.032799959182739','2016-08-10 13:49:57'),(2898,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.030879020690918','2016-08-10 13:49:57'),(2899,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.023412942886353','2016-08-10 13:49:57'),(2900,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1000\', `formNo` = \'OP-C\', `paymentDate` = \'2016-10-08\', `bankId` = \'83\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1985\'','expenses/saveExpense','0.01744818687439','2016-08-10 13:51:02'),(2901,1,0,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1985\', `createdBy` = \'User\', `itemdescription` = \'Kasut\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1900\'','expenses/saveExpense','0.0014309883117676','2016-08-10 13:51:02'),(2902,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'304\'','expenses/saveExpense','0.020194053649902','2016-08-10 13:51:02'),(2903,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000005\' WHERE `ID` =  \'1985\'','expenses/saveExpense','0.016731023788452','2016-08-10 13:51:02'),(2904,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000005\', \'Cost of Goods Sold [OP-C[00000612]]\', \'Cost of Goods Sold [OP-C[00000612]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'User\')','expenses/saveExpense','0.023429870605469','2016-08-10 13:51:02'),(2905,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000005\', 1, \'Kasut\', \'32516\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000612]\', \'User\')','expenses/saveExpense','0.016494989395142','2016-08-10 13:51:02'),(2906,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000005\', 2, \'Kasut\', \'32527\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000612]\', \'User\')','expenses/saveExpense','0.015918970108032','2016-08-10 13:51:02'),(2907,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000005\'','expenses/saveExpense','0.01670503616333','2016-08-10 13:51:02'),(2908,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1985\'','expenses/saveExpense','0.016201019287109','2016-08-10 13:51:02'),(2909,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10799','expenses/saveExpense','0.016755819320679','2016-08-10 13:51:02'),(2910,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000005\'','expenses/saveExpense','0.016105890274048','2016-08-10 13:51:02'),(2911,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.034466028213501','2016-08-10 13:51:02'),(2912,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.01513409614563','2016-08-10 13:51:02'),(2913,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'83\', \'1\')','expenses/saveExpense','0.11145091056824','2016-08-10 13:55:55'),(2914,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1986, \'1\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016103982925415','2016-08-10 13:55:55'),(2915,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'304\'','expenses/saveExpense','0.030732154846191','2016-08-10 13:55:55'),(2916,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000006\' WHERE `ID` =  1986','expenses/saveExpense','0.02448296546936','2016-08-10 13:55:55'),(2917,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000006\', \'Cost of Goods Sold [OP-C[00000613]]\', \'Cost of Goods Sold [OP-C[00000613]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'1\')','expenses/saveExpense','0.14167499542236','2016-08-10 13:55:55'),(2918,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000006\', 1, \'Kasut\', \'32516\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000613]\', \'User\')','expenses/saveExpense','0.028828144073486','2016-08-10 13:55:55'),(2919,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000006\', 2, \'Kasut\', \'32527\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000613]\', \'User\')','expenses/saveExpense','0.016494989395142','2016-08-10 13:55:55'),(2920,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000006\'','expenses/saveExpense','0.016132831573486','2016-08-10 13:55:55'),(2921,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1986','expenses/saveExpense','0.016790151596069','2016-08-10 13:55:55'),(2922,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10801','expenses/saveExpense','0.024493932723999','2016-08-10 13:55:55'),(2923,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000006\'','expenses/saveExpense','0.016670942306519','2016-08-10 13:55:55'),(2924,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.02168607711792','2016-08-10 13:55:55'),(2925,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.016563892364502','2016-08-10 13:55:55'),(2926,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'82\', \'1\')','expenses/saveExpense','0.099360942840576','2016-08-10 13:56:33'),(2927,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1987, \'1\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.01668906211853','2016-08-10 13:56:33'),(2928,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'304\'','expenses/saveExpense','0.025547981262207','2016-08-10 13:56:33'),(2929,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000007\' WHERE `ID` =  1987','expenses/saveExpense','0.016731977462769','2016-08-10 13:56:33'),(2930,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000007\', \'Cost of Goods Sold [OP-C[00000614]]\', \'Cost of Goods Sold [OP-C[00000614]]\', \'\', \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'1\')','expenses/saveExpense','0.011565923690796','2016-08-10 13:56:33'),(2931,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000007\', 1, \'Kasut\', \'32515\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000614]\', \'User\')','expenses/saveExpense','0.017341136932373','2016-08-10 13:56:33'),(2932,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000007\', 2, \'Kasut\', \'32527\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000614]\', \'User\')','expenses/saveExpense','0.015946865081787','2016-08-10 13:56:33'),(2933,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000007\'','expenses/saveExpense','0.016670227050781','2016-08-10 13:56:33'),(2934,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1987','expenses/saveExpense','0.016180038452148','2016-08-10 13:56:33'),(2935,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10802','expenses/saveExpense','0.016736030578613','2016-08-10 13:56:33'),(2936,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000007\'','expenses/saveExpense','0.01606011390686','2016-08-10 13:56:33'),(2937,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32515\', \'2016\', \'10\', \'0\', \'1000\', -1000, \'User\', \'2016-08-10: 07:08:33\')','expenses/saveExpense','0.014250040054321','2016-08-10 13:56:33'),(2938,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/saveExpense','0.015115022659302','2016-08-10 13:56:33'),(2939,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'83\', \'1\')','expenses/saveExpense','0.053716897964478','2016-08-10 14:00:13'),(2940,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1992, \'1\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.024729013442993','2016-08-10 14:00:13'),(2941,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'304\'','expenses/saveExpense','0.018852949142456','2016-08-10 14:00:13'),(2942,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000008\' WHERE `ID` =  1992','expenses/saveExpense','0.016458988189697','2016-08-10 14:00:13'),(2943,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000008\', \'Cost of Goods Sold [OP-C[00000619]]\', \'Cost of Goods Sold [OP-C[00000619]]\', NULL, \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'1\')','expenses/saveExpense','0.029222965240479','2016-08-10 14:00:13'),(2944,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1992','expenses/saveExpense','0.074836015701294','2016-08-10 14:00:13'),(2945,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10803','expenses/saveExpense','0.033070087432861','2016-08-10 14:00:13'),(2946,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000008\'','expenses/saveExpense','0.060152053833008','2016-08-10 14:00:13'),(2947,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'83\', \'1\')','expenses/saveExpense','0.04938793182373','2016-08-10 14:03:25'),(2948,1,0,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 1993, `createdBy` = \'1\', `itemdescription` = \'Kasut\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'\', `taxRate` = \'\', `taxAmount` = \'\', `taxBL` = \'\' WHERE `ID` =  \'1903\'','expenses/saveExpense','0.017266035079956','2016-08-10 14:03:25'),(2949,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'304\'','expenses/saveExpense','0.023205995559692','2016-08-10 14:03:25'),(2950,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000009\' WHERE `ID` =  1993','expenses/saveExpense','0.016448974609375','2016-08-10 14:03:25'),(2951,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000009\', \'Cost of Goods Sold [OP-C[00000620]]\', \'Cost of Goods Sold [OP-C[00000620]]\', NULL, \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'1\')','expenses/saveExpense','0.015367984771729','2016-08-10 14:03:25'),(2952,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1993','expenses/saveExpense','0.016473054885864','2016-08-10 14:03:25'),(2953,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10804','expenses/saveExpense','0.016439914703369','2016-08-10 14:03:25'),(2954,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000009\'','expenses/saveExpense','0.00078892707824707','2016-08-10 14:03:25'),(2955,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'83\', \'1\')','expenses/saveExpense','0.03712797164917','2016-08-10 14:05:20'),(2956,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1994, \'1\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'\', \'\', \'\', \'\')','expenses/saveExpense','0.016388177871704','2016-08-10 14:05:20'),(2957,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'304\'','expenses/saveExpense','0.017049789428711','2016-08-10 14:05:20'),(2958,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000010\' WHERE `ID` =  1994','expenses/saveExpense','0.016446113586426','2016-08-10 14:05:20'),(2959,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000010\', \'Cost of Goods Sold [OP-C[00000621]]\', \'Cost of Goods Sold [OP-C[00000621]]\', NULL, \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'1\')','expenses/saveExpense','0.011677026748657','2016-08-10 14:05:20'),(2960,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1994','expenses/saveExpense','0.017497062683105','2016-08-10 14:05:20'),(2961,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10805','expenses/saveExpense','0.01644492149353','2016-08-10 14:05:20'),(2962,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000010\'','expenses/saveExpense','0.0003659725189209','2016-08-10 14:05:20'),(2963,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'84\', \'1\')','expenses/saveExpense','0.050412893295288','2016-08-10 14:08:27'),(2964,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1995, \'1\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.014654874801636','2016-08-10 14:08:27'),(2965,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'304\'','expenses/saveExpense','0.015691995620728','2016-08-10 14:08:27'),(2966,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000011\' WHERE `ID` =  1995','expenses/saveExpense','0.016458988189697','2016-08-10 14:08:27'),(2967,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000011\', \'Cost of Goods Sold [OP-C[00000622]]\', \'Cost of Goods Sold [OP-C[00000622]]\', NULL, \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'1\')','expenses/saveExpense','0.010773897171021','2016-08-10 14:08:27'),(2968,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1995','expenses/saveExpense','0.026740074157715','2016-08-10 14:08:27'),(2969,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10806','expenses/saveExpense','0.033107042312622','2016-08-10 14:08:27'),(2970,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000011\'','expenses/saveExpense','0.0091688632965088','2016-08-10 14:08:27'),(2971,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-10-08\', \'83\', \'1\')','expenses/saveExpense','0.064381837844849','2016-08-10 14:29:46'),(2972,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1996, \'1\', \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016381978988647','2016-08-10 14:29:46'),(2973,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'304\'','expenses/saveExpense','0.033074855804443','2016-08-10 14:29:46'),(2974,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000012\' WHERE `ID` =  1996','expenses/saveExpense','0.016402959823608','2016-08-10 14:29:46'),(2975,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000012\', \'Cost of Goods Sold [OP-C[00000623]]\', \'Cost of Goods Sold [OP-C[00000623]]\', NULL, \'3\', \'2016-10-08\', \'16\', \'10\', 1000, 1000, \'1\')','expenses/saveExpense','0.010546207427979','2016-08-10 14:29:46'),(2976,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1996','expenses/saveExpense','0.018568992614746','2016-08-10 14:29:46'),(2977,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10807','expenses/saveExpense','0.016564130783081','2016-08-10 14:29:46'),(2978,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000012\'','expenses/saveExpense','0.0089271068572998','2016-08-10 14:29:46'),(2979,1,0,'192.168.1.254','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'8\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'1\'','setup/updateCompany','0.23260307312012','2016-08-10 15:06:43'),(2980,1,0,'192.168.1.254','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'8\', `incorporateDate` = \'2015-01-01\' WHERE `ID` =  \'1\'','setup/updateCompany','0.016724109649658','2016-08-10 15:06:44'),(2981,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', 0, 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-08-10\', \'83\', \'1\')','expenses/saveExpense','0.045882940292358','2016-08-10 15:07:14'),(2982,1,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1997, 0, \'Kasut\', 1, \'32527\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.024435043334961','2016-08-10 15:07:14'),(2983,1,0,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'300\'','expenses/saveExpense','0.023336887359619','2016-08-10 15:07:14'),(2984,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000002\' WHERE `ID` =  1997','expenses/saveExpense','0.024717092514038','2016-08-10 15:07:14'),(2985,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000002\', \'Cost of Goods Sold [OP-C[00000624]]\', \'Cost of Goods Sold [OP-C[00000624]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 1000, 1000, 0)','expenses/saveExpense','0.12855291366577','2016-08-10 15:07:14'),(2986,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000002\', 1, \'Kasut\', \'32516\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000624]\', \'User\')','expenses/saveExpense','0.016552925109863','2016-08-10 15:07:14'),(2987,1,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000002\', 2, \'Kasut\', \'32527\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000624]\', \'User\')','expenses/saveExpense','0.016510009765625','2016-08-10 15:07:14'),(2988,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.024462938308716','2016-08-10 15:07:15'),(2989,1,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1997','expenses/saveExpense','0.016784906387329','2016-08-10 15:07:15'),(2990,1,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10808','expenses/saveExpense','0.016160011291504','2016-08-10 15:07:15'),(2991,1,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.016695976257324','2016-08-10 15:07:15'),(2992,1,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32516\', \'2016\', \'8\', \'0\', \'1000\', -1000, \'User\', \'2016-08-10: 09:08:14\')','expenses/saveExpense','0.034262180328369','2016-08-10 15:07:15'),(2993,1,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01570987701416','2016-08-10 15:07:15'),(2994,13,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'12\', `incorporateDate` = \'2016-08-10\' WHERE `ID` =  \'13\'','setup/updateCompany','0.022313117980957','2016-08-10 15:15:34'),(2995,13,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'12\', `incorporateDate` = \'2016-08-10\' WHERE `ID` =  \'13\'','setup/updateCompany','0.04165506362915','2016-08-10 15:15:34'),(2996,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, 1, \'68\', \'1\', \'OP-C\', \'2016-08-10\', \'122\', \'1\')','expenses/saveExpense','0.070857048034668','2016-08-10 15:22:03'),(2997,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1998, \'10\', \'hoi\', 1, \'32773\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016248941421509','2016-08-10 15:22:03'),(2998,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'282\'','expenses/saveExpense','0.022529125213623','2016-08-10 15:22:03'),(2999,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000018\' WHERE `ID` =  1998','expenses/saveExpense','0.016144990921021','2016-08-10 15:22:03'),(3000,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000018\', \'Cost of Goods Sold [OP-C[00000059]]\', \'Cost of Goods Sold [OP-C[00000059]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 1, 1, \'10\')','expenses/saveExpense','0.012815952301025','2016-08-10 15:22:03'),(3001,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000018\', 1, \'hoi\', \'32761\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/saveExpense','0.049223899841309','2016-08-10 15:22:03'),(3002,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000018\', 2, \'hoi\', \'32773\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/saveExpense','0.024874925613403','2016-08-10 15:22:03'),(3003,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000018\'','expenses/saveExpense','0.016130924224854','2016-08-10 15:22:03'),(3004,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1998','expenses/saveExpense','0.016752958297729','2016-08-10 15:22:03'),(3005,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10812','expenses/saveExpense','0.016198873519897','2016-08-10 15:22:03');
INSERT INTO `_log_query` VALUES (3006,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000018\'','expenses/saveExpense','0.033324956893921','2016-08-10 15:22:03'),(3007,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012742042541504','2016-08-10 15:22:03'),(3008,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015599012374878','2016-08-10 15:22:03'),(3009,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'wau\', \'13\', \'10\', 1, 1, \'68\', \'2\', \'OP-E\', \'2016-08-10\', \'122\', \'1\')','expenses/saveExpense','0.035275936126709','2016-08-10 15:23:06'),(3010,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (1999, \'10\', \'toys\', 1, \'32775\', \'2\', \'2\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016346216201782','2016-08-10 15:23:06'),(3011,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'282\'','expenses/saveExpense','0.024922132492065','2016-08-10 15:23:06'),(3012,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000019\' WHERE `ID` =  1999','expenses/saveExpense','0.0245201587677','2016-08-10 15:23:06'),(3013,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000019\', \'Operating Expenses [OP-E[00000060]]\', \'Operating Expenses [OP-E[00000060]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 2, 2, \'10\')','expenses/saveExpense','0.012914896011353','2016-08-10 15:23:06'),(3014,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000019\', 1, \'toys\', \'32761\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-E[00000060]\', \'User\')','expenses/saveExpense','0.016010046005249','2016-08-10 15:23:07'),(3015,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000019\', 2, \'toys\', \'32775\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-E[00000060]\', \'User\')','expenses/saveExpense','0.12853002548218','2016-08-10 15:23:07'),(3016,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000019\'','expenses/saveExpense','0.029078960418701','2016-08-10 15:23:07'),(3017,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  1999','expenses/saveExpense','0.016674041748047','2016-08-10 15:23:07'),(3018,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10813','expenses/saveExpense','0.016279220581055','2016-08-10 15:23:07'),(3019,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000019\'','expenses/saveExpense','0.016574859619141','2016-08-10 15:23:07'),(3020,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014303922653198','2016-08-10 15:23:07'),(3021,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015582084655762','2016-08-10 15:23:07'),(3022,3,0,'192.168.1.254','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'3\'','setup/updateCompany','0.038723945617676','2016-08-10 15:23:16'),(3023,3,0,'192.168.1.254','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'3\'','setup/updateCompany','0.016451120376587','2016-08-10 15:23:16'),(3024,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'wau\', `companyID` = \'13\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-10\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'1999\'','expenses/saveExpense','0.029092073440552','2016-08-10 15:23:50'),(3025,13,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'1999\', `createdBy` = \'10\', `itemdescription` = \'toys\', `lineNo` = 1, `accountID` = \'32775\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1912\'','expenses/saveExpense','0.024526119232178','2016-08-10 15:23:50'),(3026,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'282\'','expenses/saveExpense','0.031650066375732','2016-08-10 15:23:50'),(3027,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000020\' WHERE `ID` =  \'1999\'','expenses/saveExpense','0.17015695571899','2016-08-10 15:23:50'),(3028,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000020\', \'Operating Expenses [OP-E[00000060]]\', \'Operating Expenses [OP-E[00000060]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 1, 1, \'10\')','expenses/saveExpense','0.086323022842407','2016-08-10 15:23:50'),(3029,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000020\', 1, \'toys\', \'32761\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000060]\', \'User\')','expenses/saveExpense','0.066304922103882','2016-08-10 15:23:50'),(3030,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000020\', 2, \'toys\', \'32775\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000060]\', \'User\')','expenses/saveExpense','0.032928943634033','2016-08-10 15:23:50'),(3031,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000020\'','expenses/saveExpense','0.041374921798706','2016-08-10 15:23:50'),(3032,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1999\'','expenses/saveExpense','0.033087015151978','2016-08-10 15:23:50'),(3033,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10814','expenses/saveExpense','0.033133029937744','2016-08-10 15:23:50'),(3034,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000020\'','expenses/saveExpense','0.032977104187012','2016-08-10 15:23:50'),(3035,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015573978424072','2016-08-10 15:23:50'),(3036,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32775\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015610933303833','2016-08-10 15:23:50'),(3037,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'asset\', \'13\', \'10\', 1, 1, \'68\', \'3\', \'OP-A\', \'2016-08-10\', \'122\', \'1\')','expenses/saveExpense','0.25532484054565','2016-08-10 15:24:47'),(3038,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2000, \'10\', \'harini\', 1, \'32752\', \'3\', \'3\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01642894744873','2016-08-10 15:24:47'),(3039,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'282\'','expenses/saveExpense','0.01445198059082','2016-08-10 15:24:47'),(3040,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000021\' WHERE `ID` =  2000','expenses/saveExpense','0.024958848953247','2016-08-10 15:24:47'),(3041,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000021\', \'Purchase of Fixed Asset [OP-A[00000061]]\', \'Purchase of Fixed Asset [OP-A[00000061]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 3, 3, \'10\')','expenses/saveExpense','0.0123450756073','2016-08-10 15:24:47'),(3042,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000021\', 1, \'harini\', \'32761\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-A[00000061]\', \'User\')','expenses/saveExpense','0.016389131546021','2016-08-10 15:24:47'),(3043,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000021\', 2, \'harini\', \'32752\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-A[00000061]\', \'User\')','expenses/saveExpense','0.016049146652222','2016-08-10 15:24:47'),(3044,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000021\'','expenses/saveExpense','0.016572952270508','2016-08-10 15:24:47'),(3045,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2000','expenses/saveExpense','0.016313076019287','2016-08-10 15:24:47'),(3046,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10815','expenses/saveExpense','0.016628980636597','2016-08-10 15:24:47'),(3047,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000021\'','expenses/saveExpense','0.032934188842773','2016-08-10 15:24:47'),(3048,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014502048492432','2016-08-10 15:24:48'),(3049,13,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'2\', \'32752\', \'2016\', \'8\', \'3\', \'0\', 3, \'User\', \'2016-08-10: 09:08:47\')','expenses/saveExpense','0.023198843002319','2016-08-10 15:24:48'),(3050,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-10\', \'122\', \'1\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.03693413734436','2016-08-10 15:29:28'),(3051,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2001, \'32762\', \'1\', \'findahlah\')','transfer/newTransfer','0.016461133956909','2016-08-10 15:29:28'),(3052,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'282\'','transfer/newTransfer','0.03167200088501','2016-08-10 15:29:28'),(3053,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000022\' WHERE `ID` =  2001','transfer/newTransfer','0.016431093215942','2016-08-10 15:29:28'),(3054,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000022\', \' [TT[00000062]]]\', \'Bank Transfer [  [TT[00000062]]] ]\', \'\', \'3\', \'2016-08-10\', \'2016\', \'08\', 1, 1, \'User\')','transfer/newTransfer','0.012694120407104','2016-08-10 15:29:28'),(3055,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000022\', 1, \'findahlah\', \'32761\', 1, 1, \'1\', \'1\', \'08\', \'2016\', \'0\', \'TT[00000062]\', \'User\')','transfer/newTransfer','0.03287410736084','2016-08-10 15:29:28'),(3056,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000022\', 2, \'findahlah\', \'32762\', 1, 1, \'1\', \'1\', \'08\', \'2016\', \'0\', \'TT[00000062]\', \'User\')','transfer/newTransfer','0.016294002532959','2016-08-10 15:29:28'),(3057,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000022\'','transfer/newTransfer','0.016336917877197','2016-08-10 15:29:28'),(3058,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2001','transfer/newTransfer','0.024851083755493','2016-08-10 15:29:28'),(3059,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10816','transfer/newTransfer','0.033050060272217','2016-08-10 15:29:28'),(3060,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000022\'','transfer/newTransfer','0.016502141952515','2016-08-10 15:29:28'),(3061,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.014327049255371','2016-08-10 15:29:28'),(3062,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.13522100448608','2016-08-10 15:29:28'),(3063,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'hai\', \'13\', \'10\', 1, 1, \'68\', \'50\', \'OP-L\', \'2016-08-10\', \'123\', \'1\')','expenses/saveExpense','0.062708854675293','2016-08-10 15:31:19'),(3064,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2002, \'10\', \'Loan\', 1, \'32768\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016394853591919','2016-08-10 15:31:19'),(3065,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'282\'','expenses/saveExpense','0.028618097305298','2016-08-10 15:31:19'),(3066,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000023\' WHERE `ID` =  2002','expenses/saveExpense','0.016479969024658','2016-08-10 15:31:19'),(3067,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000023\', \'Loan Repayment [OP-L[00000063]]\', \'Loan Repayment [OP-L[00000063]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 50, 50, \'10\')','expenses/saveExpense','0.029384136199951','2016-08-10 15:31:19'),(3068,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000023\', 1, \'Loan\', \'32762\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000063]\', \'User\')','expenses/saveExpense','0.016212940216064','2016-08-10 15:31:19'),(3069,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000023\', 2, \'Loan\', \'32768\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000063]\', \'User\')','expenses/saveExpense','0.016206979751587','2016-08-10 15:31:19'),(3070,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000023\'','expenses/saveExpense','0.016424894332886','2016-08-10 15:31:19'),(3071,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2002','expenses/saveExpense','0.016407012939453','2016-08-10 15:31:19'),(3072,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10817','expenses/saveExpense','0.01648998260498','2016-08-10 15:31:19'),(3073,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000023\'','expenses/saveExpense','0.024749994277954','2016-08-10 15:31:19'),(3074,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.025963068008423','2016-08-10 15:31:19'),(3075,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32768\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014914035797119','2016-08-10 15:31:19'),(3076,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'hai\', `companyID` = \'13\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'51\', `formNo` = \'OP-L\', `paymentDate` = \'2016-08-10\', `bankId` = \'123\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2002\'','expenses/saveExpense','0.019836902618408','2016-08-10 15:32:15'),(3077,13,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2002\', `createdBy` = \'10\', `itemdescription` = \'Loan\', `lineNo` = 1, `accountID` = \'32768\', `amountIncludedTax` = \'51\', `amountExcludedTax` = \'51\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1915\'','expenses/saveExpense','0.016258955001831','2016-08-10 15:32:15'),(3078,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'282\'','expenses/saveExpense','0.015651226043701','2016-08-10 15:32:15'),(3079,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000024\' WHERE `ID` =  \'2002\'','expenses/saveExpense','0.016427040100098','2016-08-10 15:32:15'),(3080,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000024\', \'Loan Repayment [OP-L[00000063]]\', \'Loan Repayment [OP-L[00000063]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 51, 51, \'10\')','expenses/saveExpense','0.015372037887573','2016-08-10 15:32:15'),(3081,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000024\', 1, \'Loan\', \'32762\', 51, 1, \'1\', \'51\', \'08\', \'16\', \'1\', \'OP-L[00000063]\', \'User\')','expenses/saveExpense','0.024560928344727','2016-08-10 15:32:15'),(3082,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000024\', 2, \'Loan\', \'32768\', 51, 1, \'1\', \'51\', \'08\', \'16\', \'1\', \'OP-L[00000063]\', \'User\')','expenses/saveExpense','0.016240835189819','2016-08-10 15:32:15'),(3083,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 51, `total_amount_cr` = 51, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000024\'','expenses/saveExpense','0.016386032104492','2016-08-10 15:32:15'),(3084,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2002\'','expenses/saveExpense','0.016480922698975','2016-08-10 15:32:15'),(3085,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10818','expenses/saveExpense','0.016719818115234','2016-08-10 15:32:15'),(3086,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000024\'','expenses/saveExpense','0.13279104232788','2016-08-10 15:32:15'),(3087,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.12117099761963','2016-08-10 15:32:15'),(3088,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32768\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.033648014068604','2016-08-10 15:32:15'),(3089,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-10\', \'32767\', \'20\', \'LR\', \'122\', \'13\', 3)','loanReceive/save_new_loan','0.10024094581604','2016-08-10 15:32:48'),(3090,13,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2003, \'32761\', \'20\', \'why?\')','loanReceive/save_new_loan','0.038171052932739','2016-08-10 15:32:48'),(3091,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'282\'','loanReceive/save_new_loan','0.10856199264526','2016-08-10 15:32:48'),(3092,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000025\' WHERE `ID` =  2003','loanReceive/save_new_loan','0.016340970993042','2016-08-10 15:32:48'),(3093,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000025\', \' [LR[00000064]]]\', \'Loan Received [  [LR[00000064]]] ]\', \'\', \'3\', \'2016-08-10\', \'2016\', \'08\', 20, 20, \'User\')','loanReceive/save_new_loan','0.012069940567017','2016-08-10 15:32:48'),(3094,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000025\', 1, \'why?\', \'32767\', 20, 1, \'1\', \'20\', \'08\', \'2016\', \'0\', \'LR[00000064]\', \'User\')','loanReceive/save_new_loan','0.016672134399414','2016-08-10 15:32:48'),(3095,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000025\', 2, \'why?\', \'32761\', 20, 1, \'1\', \'20\', \'08\', \'2016\', \'0\', \'LR[00000064]\', \'User\')','loanReceive/save_new_loan','0.01626992225647','2016-08-10 15:32:48'),(3096,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000025\'','loanReceive/save_new_loan','0.016396999359131','2016-08-10 15:32:48'),(3097,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2003','loanReceive/save_new_loan','0.016480207443237','2016-08-10 15:32:48'),(3098,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10819','loanReceive/save_new_loan','0.016469955444336','2016-08-10 15:32:48'),(3099,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000025\'','loanReceive/save_new_loan','0.016446113586426','2016-08-10 15:32:48'),(3100,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.14589905738831','2016-08-10 15:32:48'),(3101,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.033660173416138','2016-08-10 15:32:48'),(3102,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-10\', `bankID` = \'32767\', `payTo` = \'122\', `amountPaid` = \'10\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2003\'','loanReceive/update_loan','0.018978834152222','2016-08-10 15:33:13'),(3103,13,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32761\', `amountExcludedTax` = \'10\', `itemdescription` = \'why?\' WHERE `ID` =  \'1916\'','loanReceive/update_loan','0.025354146957397','2016-08-10 15:33:13'),(3104,13,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'282\'','loanReceive/update_loan','0.026886940002441','2016-08-10 15:33:13'),(3105,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000026\' WHERE `ID` =  \'2003\'','loanReceive/update_loan','0.016433954238892','2016-08-10 15:33:13'),(3106,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000026\', \' [LR[00000064]]]\', \'Loan Received [  [LR[00000064]]] ]\', \'\', \'3\', \'2016-08-10\', \'2016\', \'08\', 10, 10, \'User\')','loanReceive/update_loan','0.012015104293823','2016-08-10 15:33:13'),(3107,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000026\', 1, \'why?\', \'32767\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'LR[00000064]\', \'User\')','loanReceive/update_loan','0.016821146011353','2016-08-10 15:33:13'),(3108,13,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000026\', 2, \'why?\', \'32761\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'LR[00000064]\', \'User\')','loanReceive/update_loan','0.024585962295532','2016-08-10 15:33:13'),(3109,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000026\'','loanReceive/update_loan','0.038386821746826','2016-08-10 15:33:13'),(3110,13,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2003\'','loanReceive/update_loan','0.018833875656128','2016-08-10 15:33:13'),(3111,13,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10820','loanReceive/update_loan','0.017102956771851','2016-08-10 15:33:13'),(3112,13,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000026\'','loanReceive/update_loan','0.016398906707764','2016-08-10 15:33:13'),(3113,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.014448881149292','2016-08-10 15:33:13'),(3114,13,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.02368688583374','2016-08-10 15:33:13'),(3115,3,0,'192.168.1.254','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 3, acctName, id from comp_chart_of_acct where companyid = 3 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 3)','bank/index','0.0014169216156006','2016-08-10 15:47:41'),(3116,13,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0022909641265869','2016-08-10 16:19:36'),(3117,13,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'komputer & perisian\', `openingBalanceDr` = \'300.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32752\'','setup/saveAsset','0.09611988067627','2016-08-10 16:20:00'),(3118,13,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014090538024902','2016-08-10 16:20:02'),(3119,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014610290527344','2016-08-10 16:20:23'),(3120,13,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'MBB\', `currentBalance` = \'1,000.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'122\'','bank/saveBank','0.10133600234985','2016-08-10 16:20:30'),(3121,13,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MBB\', `openingBalanceDr` = 1, `openingBalanceCr` = 0, `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32761\'','bank/saveBank','0.016316175460815','2016-08-10 16:20:30'),(3122,13,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014040470123291','2016-08-10 16:20:31'),(3123,13,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Rakyat	\', `openingBalanceCr` = \'1200.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32767\'','setup/saveLoan','0.020582914352417','2016-08-10 16:20:55'),(3124,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014700889587402','2016-08-10 16:33:57'),(3125,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014200210571289','2016-08-10 16:34:02'),(3126,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0014200210571289','2016-08-10 16:34:12'),(3127,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013837814331055','2016-08-10 16:34:38'),(3128,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.10016894340515','2016-08-10 16:49:54'),(3129,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.014171838760376','2016-08-10 16:53:08'),(3130,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013868808746338','2016-08-10 16:53:23'),(3131,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013508796691895','2016-08-10 16:53:49'),(3132,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001399040222168','2016-08-10 16:54:27'),(3133,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013837814331055','2016-08-10 16:54:27'),(3134,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013720989227295','2016-08-10 16:55:01'),(3135,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013298988342285','2016-08-10 16:55:01'),(3136,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014011859893799','2016-08-10 16:55:18'),(3137,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013659000396729','2016-08-10 16:55:19'),(3138,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013880729675293','2016-08-10 16:55:30'),(3139,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014350414276123','2016-08-10 16:57:03'),(3140,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014200210571289','2016-08-10 16:57:33'),(3141,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013408660888672','2016-08-10 16:57:33'),(3142,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013940334320068','2016-08-10 16:57:45'),(3143,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001384973526001','2016-08-10 16:58:53'),(3144,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013818740844727','2016-08-10 16:59:20'),(3145,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013351440429688','2016-08-10 16:59:22'),(3146,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013070106506348','2016-08-10 16:59:47'),(3147,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013730525970459','2016-08-10 17:00:22'),(3148,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013999938964844','2016-08-10 17:00:32'),(3149,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014510154724121','2016-08-10 17:03:08'),(3150,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013539791107178','2016-08-10 17:03:09'),(3151,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014290809631348','2016-08-10 17:03:32'),(3152,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013968944549561','2016-08-10 17:05:04'),(3153,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013740062713623','2016-08-10 17:05:37'),(3154,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014231204986572','2016-08-10 17:06:20'),(3155,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013971328735352','2016-08-10 17:06:42'),(3156,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001399040222168','2016-08-10 17:08:16'),(3157,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013928413391113','2016-08-10 17:08:16'),(3158,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014050006866455','2016-08-10 17:08:35'),(3159,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013859272003174','2016-08-10 17:09:03'),(3160,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014050006866455','2016-08-10 17:10:04'),(3161,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013010501861572','2016-08-10 17:10:04'),(3162,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00136399269104','2016-08-10 17:11:13'),(3163,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013308525085449','2016-08-10 17:11:13'),(3164,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001384973526001','2016-08-10 17:12:26'),(3165,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013289451599121','2016-08-10 17:12:26'),(3166,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001417875289917','2016-08-10 17:12:35'),(3167,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013420581817627','2016-08-10 17:12:57'),(3168,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0016310214996338','2016-08-10 17:13:17'),(3169,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013999938964844','2016-08-10 17:14:16'),(3170,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013930797576904','2016-08-10 17:14:33'),(3171,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001410961151123','2016-08-10 17:14:33'),(3172,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001378059387207','2016-08-10 17:14:55'),(3173,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013818740844727','2016-08-10 17:15:12'),(3174,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013360977172852','2016-08-10 17:15:12'),(3175,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013880729675293','2016-08-10 17:15:22'),(3176,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00136399269104','2016-08-10 17:15:23'),(3177,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014050006866455','2016-08-10 17:15:51'),(3178,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013489723205566','2016-08-10 17:15:51'),(3179,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0014100074768066','2016-08-10 17:16:13'),(3180,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013887882232666','2016-08-10 17:16:31'),(3181,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0013978481292725','2016-08-10 17:16:48'),(3182,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013651847839355','2016-08-10 17:17:21'),(3183,13,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.001392126083374','2016-08-10 17:33:33'),(3184,3,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'3\', 0, 1, 1, \'68\', \'3500\', \'OP-C\', \'2016-08-01\', \'115\', \'1\')','expenses/saveExpense','0.063297986984253','2016-08-10 17:36:37'),(3185,3,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2004, 0, \'Kasut\', 1, \'32647\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016386032104492','2016-08-10 17:36:37'),(3186,3,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2004, 0, \'Baju\', 1, \'32647\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.015587091445923','2016-08-10 17:36:37'),(3187,3,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2004, 0, \'Seluar\', 1, \'32647\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.025601148605347','2016-08-10 17:36:37'),(3188,3,0,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2004, 0, \'Topi\', 1, \'32647\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.015568017959595','2016-08-10 17:36:37'),(3189,3,0,'192.168.1.254','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'3\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.021983861923218','2016-08-10 17:36:37'),(3190,3,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  2004','expenses/saveExpense','0.041378021240234','2016-08-10 17:36:37'),(3191,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'3\', \'AP160800000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-08-01\', \'16\', \'08\', 3500, 3500, 0)','expenses/saveExpense','0.011837005615234','2016-08-10 17:36:37'),(3192,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'3\', \'AP160800000001\', 1, \'Kasut\', \'32635\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.13362288475037','2016-08-10 17:36:37'),(3193,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'3\', \'AP160800000001\', 2, \'Kasut\', \'32647\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.016227006912231','2016-08-10 17:36:37'),(3194,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'3\', \'AP160800000001\', 3, \'Baju\', \'32635\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.016240119934082','2016-08-10 17:36:37'),(3195,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'3\', \'AP160800000001\', 4, \'Baju\', \'32647\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.024553060531616','2016-08-10 17:36:37'),(3196,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'3\', \'AP160800000001\', 5, \'Seluar\', \'32635\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.041248798370361','2016-08-10 17:36:37'),(3197,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'3\', \'AP160800000001\', 6, \'Seluar\', \'32647\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.016123056411743','2016-08-10 17:36:37'),(3198,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'3\', \'AP160800000001\', 7, \'Topi\', \'32635\', 500, 1, \'1\', \'500\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.016264200210571','2016-08-10 17:36:37'),(3199,3,0,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'3\', \'AP160800000001\', 8, \'Topi\', \'32647\', 500, 1, \'1\', \'500\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.024571895599365','2016-08-10 17:36:37'),(3200,3,0,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3500, `total_amount_cr` = 3500, `total_amount` = 0 WHERE `companyID` =  \'3\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.02369499206543','2016-08-10 17:36:37'),(3201,3,0,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2004','expenses/saveExpense','0.025833129882812','2016-08-10 17:36:37'),(3202,3,0,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10821','expenses/saveExpense','0.016454935073853','2016-08-10 17:36:37'),(3203,3,0,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.033066034317017','2016-08-10 17:36:37'),(3204,3,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'3\', \'32635\', \'2016\', \'8\', \'0\', \'1000\', -1000, \'User\', \'2016-08-10: 11:08:37\')','expenses/saveExpense','0.012659072875977','2016-08-10 17:36:38'),(3205,3,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'32635\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.024745225906372','2016-08-10 17:36:38'),(3206,3,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'32635\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015436887741089','2016-08-10 17:36:38'),(3207,3,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'32635\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015367984771729','2016-08-10 17:36:38'),(3208,3,0,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'8\', \'32647\', \'2016\', \'8\', \'1000\', \'0\', 1000, \'User\', \'2016-08-10: 11:08:37\')','expenses/saveExpense','0.014840841293335','2016-08-10 17:36:38'),(3209,3,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'32647\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015411138534546','2016-08-10 17:36:38'),(3210,3,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'32647\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015413045883179','2016-08-10 17:36:38'),(3211,3,0,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'32647\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015300035476685','2016-08-10 17:36:38'),(3212,13,0,'192.168.1.202','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'3300.00\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32769\'','setup/saveLoan','0.2111439704895','2016-08-10 18:14:50'),(3213,0,0,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.00043582916259766','2016-08-11 10:52:46'),(3214,0,0,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.00032806396484375','2016-08-11 10:52:46'),(3215,13,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.26852583885193','2016-08-11 11:09:13'),(3216,0,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.040431976318359','2016-08-11 11:10:09'),(3217,0,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.00032997131347656','2016-08-11 11:10:09'),(3218,0,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'14\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.00041294097900391','2016-08-11 11:16:38'),(3219,0,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'14\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.00032687187194824','2016-08-11 11:16:38'),(3220,0,0,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.001183032989502','2016-08-11 12:39:47'),(3221,0,0,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.00034999847412109','2016-08-11 12:39:47'),(3222,13,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.086874961853027','2016-08-11 12:46:06'),(3223,22,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 22, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 22)','setup/assetSetup','0.19953107833862','2016-08-11 13:08:34'),(3224,22,0,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 22, acctName, id from comp_chart_of_acct where companyid = 22 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 22)','bank/index','0.10340809822083','2016-08-11 13:08:41'),(3225,22,0,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 22, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 22)','setup/assetSetup','0.041769981384277','2016-08-11 13:21:58'),(3226,21,0,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'21\'','setup/updateCompany','0.012464046478271','2016-08-11 15:29:33'),(3227,21,0,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'21\'','setup/updateCompany','0.017186880111694','2016-08-11 15:29:33'),(3228,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.10615301132202','2016-08-11 15:29:41'),(3229,21,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 21, acctName, id from comp_chart_of_acct where companyid = 21 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 21)','bank/index','0.05329418182373','2016-08-11 15:29:44'),(3230,21,0,'192.168.1.201','update','UPDATE `company` SET `uploadLogo` = \'21.JPG\' WHERE `ID` =  \'21\'','setup/companySetup','0.078358888626099','2016-08-11 15:32:41'),(3231,21,0,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'Pokemon Go Sdn. Bhd.\', `line1` = \'LOT 5555\', `line2` = \'\', `line3` = \'BATU CAVES\', `city` = \'BATU CAVES\', `companyPostCode` = \'53100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01190902134\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'21.JPG\', `updatedBy` = 0 WHERE `ID` =  \'21\'','setup/companySetup','0.00038003921508789','2016-08-11 15:32:41'),(3232,21,0,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Pokemon Go Sdn. Bhd.\', `line1` = \'LOT 5555\', `line2` = \'\', `line3` = \'BATU CAVES\', `city` = \'BATU CAVES\', `companyPostCode` = \'53100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01190902134\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'11\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'21.JPG\', `updatedBy` = 0 WHERE `ID` =  \'21\'','setup/companySetup','0.033881187438965','2016-08-11 15:32:41'),(3233,21,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'21\', 0, 1, 1, \'68\', \'30\', \'OP-C\', \'2016-01-01\', \'141\', \'1\')','expenses/saveExpense','0.02916693687439','2016-08-11 15:33:30'),(3234,21,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2005, 0, \'January\', 1, \'32893\', \'30\', \'30\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.04111909866333','2016-08-11 15:33:30'),(3235,21,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'21\', \'3\', \'16\', \'01\', \'AP\', 1)','expenses/saveExpense','0.023190975189209','2016-08-11 15:33:30'),(3236,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160100000001\' WHERE `ID` =  2005','expenses/saveExpense','0.024828910827637','2016-08-11 15:33:30'),(3237,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AP160100000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 30, 30, 0)','expenses/saveExpense','0.0086610317230225','2016-08-11 15:33:30'),(3238,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP160100000001\', 1, \'January\', \'32881\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.011595964431763','2016-08-11 15:33:30'),(3239,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP160100000001\', 2, \'January\', \'32893\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.012500047683716','2016-08-11 15:33:30'),(3240,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AP160100000001\'','expenses/saveExpense','0.01610279083252','2016-08-11 15:33:30'),(3241,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2005','expenses/saveExpense','0.016771078109741','2016-08-11 15:33:30'),(3242,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10823','expenses/saveExpense','0.011847972869873','2016-08-11 15:33:30'),(3243,21,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AP160100000001\'','expenses/saveExpense','0.041404008865356','2016-08-11 15:33:30'),(3244,21,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'32881\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.018772840499878','2016-08-11 15:33:30'),(3245,21,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'8\', \'32893\', \'2016\', \'1\', \'30\', \'0\', 30, \'User\', \'2016-08-11: 09:08:30\')','expenses/saveExpense','0.027115821838379','2016-08-11 15:33:30'),(3246,21,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'Expenses\', \'21\', 0, 1, 1, \'68\', \'35\', \'OP-E\', \'2016-08-11\', \'141\', \'1\')','expenses/saveExpense','0.03296685218811','2016-08-11 15:39:09'),(3247,21,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2006, 0, \'January\', 1, \'32906\', \'35\', \'35\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012586116790771','2016-08-11 15:39:09'),(3248,21,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'21\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.022918939590454','2016-08-11 15:39:09'),(3249,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  2006','expenses/saveExpense','0.01219916343689','2016-08-11 15:39:09'),(3250,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AP160800000001\', \'Operating Expenses [OP-E[00000002]]\', \'Operating Expenses [OP-E[00000002]]\', \'\', \'3\', \'2016-08-11\', \'16\', \'08\', 35, 35, 0)','expenses/saveExpense','0.021018028259277','2016-08-11 15:39:09'),(3251,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP160800000001\', 1, \'January\', \'32881\', 35, 1, \'1\', \'35\', \'08\', \'16\', \'1\', \'OP-E[00000002]\', \'User\')','expenses/saveExpense','0.012456178665161','2016-08-11 15:39:09'),(3252,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP160800000001\', 2, \'January\', \'32906\', 35, 1, \'1\', \'35\', \'08\', \'16\', \'1\', \'OP-E[00000002]\', \'User\')','expenses/saveExpense','0.011665105819702','2016-08-11 15:39:09'),(3253,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 35, `total_amount_cr` = 35, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.024712085723877','2016-08-11 15:39:09'),(3254,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2006','expenses/saveExpense','0.012413024902344','2016-08-11 15:39:09'),(3255,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10824','expenses/saveExpense','0.012171030044556','2016-08-11 15:39:09'),(3256,21,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.012641906738281','2016-08-11 15:39:09'),(3257,21,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'3\', \'32881\', \'2016\', \'8\', \'0\', \'35\', -35, \'User\', \'2016-08-11: 09:08:09\')','expenses/saveExpense','0.021644115447998','2016-08-11 15:39:09'),(3258,21,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'10\', \'32906\', \'2016\', \'8\', \'35\', \'0\', 35, \'User\', \'2016-08-11: 09:08:09\')','expenses/saveExpense','0.010820150375366','2016-08-11 15:39:09'),(3259,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'Expenses\', `companyID` = \'21\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'35\', `formNo` = \'OP-E\', `paymentDate` = \'2016-01-01\', `bankId` = \'141\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2006\'','expenses/saveExpense','0.015469074249268','2016-08-11 15:39:51'),(3260,21,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2006\', `createdBy` = 0, `itemdescription` = \'January\', `lineNo` = 1, `accountID` = \'32906\', `amountIncludedTax` = \'35\', `amountExcludedTax` = \'35\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1922\'','expenses/saveExpense','0.00035905838012695','2016-08-11 15:39:51'),(3261,21,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'308\'','expenses/saveExpense','0.018912076950073','2016-08-11 15:39:51'),(3262,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000002\' WHERE `ID` =  \'2006\'','expenses/saveExpense','0.020829916000366','2016-08-11 15:39:51'),(3263,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AP20160100000002\', \'Operating Expenses [OP-E[00000002]]\', \'Operating Expenses [OP-E[00000002]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 35, 35, 0)','expenses/saveExpense','0.010607004165649','2016-08-11 15:39:51'),(3264,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20160100000002\', 1, \'January\', \'32881\', 35, 1, \'1\', \'35\', \'01\', \'16\', \'1\', \'OP-E[00000002]\', \'User\')','expenses/saveExpense','0.012311220169067','2016-08-11 15:39:51'),(3265,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20160100000002\', 2, \'January\', \'32906\', 35, 1, \'1\', \'35\', \'01\', \'16\', \'1\', \'OP-E[00000002]\', \'User\')','expenses/saveExpense','0.011829137802124','2016-08-11 15:39:51'),(3266,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 35, `total_amount_cr` = 35, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20160100000002\'','expenses/saveExpense','0.012418985366821','2016-08-11 15:39:51'),(3267,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2006\'','expenses/saveExpense','0.012096881866455','2016-08-11 15:39:51'),(3268,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10825','expenses/saveExpense','0.012548923492432','2016-08-11 15:39:51'),(3269,21,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20160100000002\'','expenses/saveExpense','0.012009143829346','2016-08-11 15:39:51'),(3270,21,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'32881\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.010607004165649','2016-08-11 15:39:51'),(3271,21,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'10\', \'32906\', \'2016\', \'1\', \'35\', \'0\', 35, \'User\', \'2016-08-11: 09:08:51\')','expenses/saveExpense','0.014585018157959','2016-08-11 15:39:51'),(3272,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'Expenses\', `companyID` = \'21\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'35\', `formNo` = \'OP-E\', `paymentDate` = \'2016-01-01\', `bankId` = \'141\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2006\'','expenses/saveExpense','0.015054941177368','2016-08-11 15:40:12'),(3273,21,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2006\', `createdBy` = 0, `itemdescription` = \'January\', `lineNo` = 1, `accountID` = \'32906\', `amountIncludedTax` = \'35\', `amountExcludedTax` = \'35\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1922\'','expenses/saveExpense','0.00034809112548828','2016-08-11 15:40:12'),(3274,21,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'308\'','expenses/saveExpense','0.023197174072266','2016-08-11 15:40:12'),(3275,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000003\' WHERE `ID` =  \'2006\'','expenses/saveExpense','0.012235164642334','2016-08-11 15:40:12'),(3276,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AP20160100000003\', \'Operating Expenses [OP-E[00000002]]\', \'Operating Expenses [OP-E[00000002]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 35, 35, 0)','expenses/saveExpense','0.015676021575928','2016-08-11 15:40:12'),(3277,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20160100000003\', 1, \'January\', \'32881\', 35, 1, \'1\', \'35\', \'01\', \'16\', \'1\', \'OP-E[00000002]\', \'User\')','expenses/saveExpense','0.011785984039307','2016-08-11 15:40:12'),(3278,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20160100000003\', 2, \'January\', \'32906\', 35, 1, \'1\', \'35\', \'01\', \'16\', \'1\', \'OP-E[00000002]\', \'User\')','expenses/saveExpense','0.012345790863037','2016-08-11 15:40:12'),(3279,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 35, `total_amount_cr` = 35, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20160100000003\'','expenses/saveExpense','0.011956214904785','2016-08-11 15:40:12'),(3280,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2006\'','expenses/saveExpense','0.012594938278198','2016-08-11 15:40:12'),(3281,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10826','expenses/saveExpense','0.012050867080688','2016-08-11 15:40:12'),(3282,21,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20160100000003\'','expenses/saveExpense','0.012503862380981','2016-08-11 15:40:12'),(3283,21,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'32881\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.010111093521118','2016-08-11 15:40:12'),(3284,21,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'32906\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011460065841675','2016-08-11 15:40:12'),(3285,21,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'Asset\', \'21\', 0, 1, 1, \'68\', \'25\', \'OP-A\', \'2016-01-01\', \'141\', \'1\')','expenses/saveExpense','0.029169082641602','2016-08-11 15:41:47'),(3286,21,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2007, 0, \'January\', 1, \'32870\', \'25\', \'25\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.020470142364502','2016-08-11 15:41:48'),(3287,21,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'308\'','expenses/saveExpense','0.013685941696167','2016-08-11 15:41:48'),(3288,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000004\' WHERE `ID` =  2007','expenses/saveExpense','0.012042045593262','2016-08-11 15:41:48'),(3289,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'21\', \'AP20160100000004\', \'Purchase of Fixed Asset [OP-A[00000003]]\', \'Purchase of Fixed Asset [OP-A[00000003]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 25, 25, 0)','expenses/saveExpense','0.0086009502410889','2016-08-11 15:41:48'),(3290,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20160100000004\', 1, \'January\', \'32881\', 25, 1, \'1\', \'25\', \'01\', \'16\', \'1\', \'OP-A[00000003]\', \'User\')','expenses/saveExpense','0.011789083480835','2016-08-11 15:41:48'),(3291,21,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'21\', \'AP20160100000004\', 2, \'January\', \'32870\', 25, 1, \'1\', \'25\', \'01\', \'16\', \'1\', \'OP-A[00000003]\', \'User\')','expenses/saveExpense','0.012279987335205','2016-08-11 15:41:48'),(3292,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 25, `total_amount_cr` = 25, `total_amount` = 0 WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20160100000004\'','expenses/saveExpense','0.011960983276367','2016-08-11 15:41:48'),(3293,21,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2007','expenses/saveExpense','0.0081741809844971','2016-08-11 15:41:48'),(3294,21,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10827','expenses/saveExpense','0.01226806640625','2016-08-11 15:41:48'),(3295,21,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'21\' AND `journalID` =  \'AP20160100000004\'','expenses/saveExpense','0.012535095214844','2016-08-11 15:41:48'),(3296,21,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'21\' AND `a`.`acctID` =  \'32881\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.013137817382812','2016-08-11 15:41:48'),(3297,21,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'21\', \'2\', \'32870\', \'2016\', \'1\', \'25\', \'0\', 25, \'User\', \'2016-08-11: 09:08:47\')','expenses/saveExpense','0.010917901992798','2016-08-11 15:41:48'),(3298,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.0015208721160889','2016-08-11 15:43:23'),(3299,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'10000\', `createdTS` = \'2016-08-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32870\'','setup/saveAsset','0.082361936569214','2016-08-11 15:43:53'),(3300,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.0015368461608887','2016-08-11 15:43:55'),(3301,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'2000\', `createdTS` = \'2016-08-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32871\'','setup/saveAsset','0.28556203842163','2016-08-11 15:44:07'),(3302,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.0014610290527344','2016-08-11 15:44:09'),(3303,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Computer & Software	\', `openingBalanceDr` = \'5000\', `createdTS` = \'2016-08-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32872\'','setup/saveAsset','0.07892894744873','2016-08-11 15:44:19'),(3304,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.0014598369598389','2016-08-11 15:44:21'),(3305,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'4000\', `createdTS` = \'2016-08-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32873\'','setup/saveAsset','0.086990833282471','2016-08-11 15:44:31'),(3306,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.0014529228210449','2016-08-11 15:44:33'),(3307,21,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 21, acctName, id from comp_chart_of_acct where companyid = 21 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 21)','bank/index','0.0015151500701904','2016-08-11 15:44:56'),(3308,21,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'10000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'141\'','bank/saveBank','0.082913875579834','2016-08-11 15:45:06'),(3309,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32881\'','bank/saveBank','0.016031980514526','2016-08-11 15:45:06'),(3310,21,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 21, acctName, id from comp_chart_of_acct where companyid = 21 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 21)','bank/index','0.0014739036560059','2016-08-11 15:45:08'),(3311,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.0014760494232178','2016-08-11 15:45:12'),(3312,21,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 21, acctName, id from comp_chart_of_acct where companyid = 21 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 21)','bank/index','0.0015368461608887','2016-08-11 15:45:18'),(3313,21,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'8999\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'142\'','bank/saveBank','0.087163925170898','2016-08-11 15:45:27'),(3314,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceDr` = 8999, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32882\'','bank/saveBank','0.018106937408447','2016-08-11 15:45:27'),(3315,21,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 21, acctName, id from comp_chart_of_acct where companyid = 21 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 21)','bank/index','0.0014669895172119','2016-08-11 15:45:28'),(3316,21,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'12999\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'143\'','bank/saveBank','0.088670969009399','2016-08-11 15:45:37'),(3317,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 12999, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32883\'','bank/saveBank','0.012063980102539','2016-08-11 15:45:37'),(3318,21,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 21, acctName, id from comp_chart_of_acct where companyid = 21 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 21)','bank/index','0.0014479160308838','2016-08-11 15:45:38'),(3319,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 1	\', `openingBalanceCr` = \'10000\', `createdTS` = \'2016-08-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32887\'','setup/saveLoan','0.023913860321045','2016-08-11 15:48:14'),(3320,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 2	\', `openingBalanceCr` = \'20000\', `createdTS` = \'2016-08-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32888\'','setup/saveLoan','0.091175079345703','2016-08-11 15:48:23'),(3321,21,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'50000\', `createdTS` = \'2016-08-10 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32889\'','setup/saveLoan','0.019248008728027','2016-08-11 15:48:36'),(3322,21,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 21, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 21)','setup/assetSetup','0.0014569759368896','2016-08-11 15:50:09'),(3323,23,0,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'23\'','setup/updateCompany','0.016649961471558','2016-08-11 16:34:49'),(3324,23,0,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'23\'','setup/updateCompany','0.012572050094604','2016-08-11 16:34:49'),(3325,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.035335063934326','2016-08-11 16:35:18'),(3326,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0024349689483643','2016-08-11 16:39:11'),(3327,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'10000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32996\'','setup/saveAsset','0.022665023803711','2016-08-11 16:39:23'),(3328,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0014960765838623','2016-08-11 16:39:25'),(3329,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'2000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32997\'','setup/saveAsset','0.088529825210571','2016-08-11 16:39:33'),(3330,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0015649795532227','2016-08-11 16:39:35'),(3331,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Computer & Software	\', `openingBalanceDr` = \'5000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32998\'','setup/saveAsset','0.025997877120972','2016-08-11 16:39:44'),(3332,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.001554012298584','2016-08-11 16:39:45'),(3333,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Motor Vehicle	\', `openingBalanceDr` = \'200000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32999\'','setup/saveAsset','0.014225959777832','2016-08-11 16:39:55'),(3334,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0015699863433838','2016-08-11 16:39:57'),(3335,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.016043186187744','2016-08-11 16:40:03'),(3336,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'10000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'148\'','bank/saveBank','0.010372877120972','2016-08-11 16:40:11'),(3337,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33007\'','bank/saveBank','0.01244592666626','2016-08-11 16:40:11'),(3338,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0016119480133057','2016-08-11 16:40:12'),(3339,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'12999\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'149\'','bank/saveBank','0.098114013671875','2016-08-11 16:40:22'),(3340,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceDr` = 12999, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33008\'','bank/saveBank','0.024659872055054','2016-08-11 16:40:22'),(3341,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.001572847366333','2016-08-11 16:40:23'),(3342,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank3	\', `currentBalance` = \'8999\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'150\'','bank/saveBank','0.019804000854492','2016-08-11 16:40:31'),(3343,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank3	\', `openingBalanceDr` = 8999, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33009\'','bank/saveBank','0.012768030166626','2016-08-11 16:40:31'),(3344,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0015571117401123','2016-08-11 16:40:32'),(3345,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 1	\', `openingBalanceCr` = \'30000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33013\'','setup/saveLoan','0.016770124435425','2016-08-11 16:40:43'),(3346,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 2	\', `openingBalanceCr` = \'70000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33014\'','setup/saveLoan','0.088099002838135','2016-08-11 16:40:51'),(3347,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'10000\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33015\'','setup/saveLoan','0.018911123275757','2016-08-11 16:41:00'),(3348,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'30\', \'OP-C\', \'2016-01-01\', \'148\', \'1\')','expenses/saveExpense','0.029146909713745','2016-08-11 16:58:17'),(3349,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2008, 0, \'January\', 1, \'33019\', \'30\', \'30\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0077681541442871','2016-08-11 16:58:17'),(3350,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'01\', \'AP\', 1)','expenses/saveExpense','0.02266001701355','2016-08-11 16:58:17'),(3351,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160100000001\' WHERE `ID` =  2008','expenses/saveExpense','0.01313591003418','2016-08-11 16:58:17'),(3352,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160100000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 30, 30, 0)','expenses/saveExpense','0.0076789855957031','2016-08-11 16:58:17'),(3353,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160100000001\', 1, \'January\', \'33007\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.0075850486755371','2016-08-11 16:58:17'),(3354,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160100000001\', 2, \'January\', \'33019\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.0081748962402344','2016-08-11 16:58:17'),(3355,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160100000001\'','expenses/saveExpense','0.016106128692627','2016-08-11 16:58:17'),(3356,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2008','expenses/saveExpense','0.0084609985351562','2016-08-11 16:58:17'),(3357,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10829','expenses/saveExpense','0.013128995895386','2016-08-11 16:58:17'),(3358,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160100000001\'','expenses/saveExpense','0.028051137924194','2016-08-11 16:58:17'),(3359,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.021334171295166','2016-08-11 16:58:17'),(3360,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'1\', \'30\', \'0\', 30, \'User\', \'2016-08-11: 10:08:17\')','expenses/saveExpense','0.013068199157715','2016-08-11 16:58:17'),(3361,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'20\', \'OP-C\', \'2016-02-02\', \'149\', \'1\')','expenses/saveExpense','0.092854976654053','2016-08-11 16:59:19'),(3362,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2009, 0, \'February\', 1, \'33019\', \'20\', \'20\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0077979564666748','2016-08-11 16:59:19'),(3363,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'02\', \'AP\', 1)','expenses/saveExpense','0.012965202331543','2016-08-11 16:59:19'),(3364,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160200000001\' WHERE `ID` =  2009','expenses/saveExpense','0.011094093322754','2016-08-11 16:59:19'),(3365,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160200000001\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-02-02\', \'16\', \'02\', 20, 20, 0)','expenses/saveExpense','0.0097880363464355','2016-08-11 16:59:19'),(3366,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160200000001\', 1, \'February\', \'33008\', 20, 1, \'1\', \'20\', \'02\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.010688066482544','2016-08-11 16:59:19'),(3367,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160200000001\', 2, \'February\', \'33019\', 20, 1, \'1\', \'20\', \'02\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/saveExpense','0.0082798004150391','2016-08-11 16:59:19'),(3368,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160200000001\'','expenses/saveExpense','0.01313304901123','2016-08-11 16:59:19'),(3369,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2009','expenses/saveExpense','0.019745111465454','2016-08-11 16:59:19'),(3370,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10830','expenses/saveExpense','0.013203144073486','2016-08-11 16:59:19'),(3371,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160200000001\'','expenses/saveExpense','0.011327028274536','2016-08-11 16:59:19'),(3372,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33008\', \'2016\', \'2\', \'0\', \'20\', -20, \'User\', \'2016-08-11: 10:08:19\')','expenses/saveExpense','0.013936042785645','2016-08-11 16:59:19'),(3373,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'2\', \'20\', \'0\', 20, \'User\', \'2016-08-11: 10:08:19\')','expenses/saveExpense','0.011558055877686','2016-08-11 16:59:19'),(3374,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'February\', \'23\', 0, 1, 1, \'68\', \'30\', \'OP-E\', \'2016-01-01\', \'148\', \'1\')','expenses/saveExpense','0.029216051101685','2016-08-11 17:01:23'),(3375,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2010, 0, \'Fevruary\', 1, \'33030\', \'30\', \'30\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.032803058624268','2016-08-11 17:01:23'),(3376,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'311\'','expenses/saveExpense','0.0099749565124512','2016-08-11 17:01:23'),(3377,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000002\' WHERE `ID` =  2010','expenses/saveExpense','0.011201143264771','2016-08-11 17:01:23'),(3378,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000002\', \'Operating Expenses [OP-E[00000003]]\', \'Operating Expenses [OP-E[00000003]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 30, 30, 0)','expenses/saveExpense','0.01236891746521','2016-08-11 17:01:23'),(3379,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000002\', 1, \'Fevruary\', \'33007\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/saveExpense','0.02486515045166','2016-08-11 17:01:23'),(3380,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000002\', 2, \'Fevruary\', \'33030\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/saveExpense','0.0075860023498535','2016-08-11 17:01:23'),(3381,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000002\'','expenses/saveExpense','0.016684055328369','2016-08-11 17:01:23'),(3382,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2010','expenses/saveExpense','0.0078768730163574','2016-08-11 17:01:23'),(3383,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10832','expenses/saveExpense','0.0084161758422852','2016-08-11 17:01:23'),(3384,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000002\'','expenses/saveExpense','0.013320207595825','2016-08-11 17:01:23'),(3385,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0092010498046875','2016-08-11 17:01:23'),(3386,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'10\', \'33030\', \'2016\', \'1\', \'30\', \'0\', 30, \'User\', \'2016-08-11: 11:08:23\')','expenses/saveExpense','0.037170886993408','2016-08-11 17:01:23'),(3387,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', 0, 1, 1, \'68\', \'130\', \'OP-C\', \'2016-08-11\', \'122\', \'1\')','expenses/saveExpense','0.053880929946899','2016-08-11 17:13:48'),(3388,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2011, 0, \'fad\', 1, \'32773\', \'130\', \'130\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0083801746368408','2016-08-11 17:13:48'),(3389,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'282\'','expenses/saveExpense','0.021531105041504','2016-08-11 17:13:48'),(3390,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000027\' WHERE `ID` =  2011','expenses/saveExpense','0.016760110855103','2016-08-11 17:13:48'),(3391,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000027\', \'Cost of Goods Sold [OP-C[00000065]]\', \'Cost of Goods Sold [OP-C[00000065]]\', \'\', \'3\', \'2016-08-11\', \'16\', \'08\', 130, 130, 0)','expenses/saveExpense','0.020745038986206','2016-08-11 17:13:48'),(3392,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000027\', 1, \'fad\', \'32761\', 130, 1, \'1\', \'130\', \'08\', \'16\', \'1\', \'OP-C[00000065]\', \'User\')','expenses/saveExpense','0.013345003128052','2016-08-11 17:13:48'),(3393,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000027\', 2, \'fad\', \'32773\', 130, 1, \'1\', \'130\', \'08\', \'16\', \'1\', \'OP-C[00000065]\', \'User\')','expenses/saveExpense','0.010767936706543','2016-08-11 17:13:48'),(3394,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 130, `total_amount_cr` = 130, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000027\'','expenses/saveExpense','0.016650915145874','2016-08-11 17:13:48'),(3395,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2011','expenses/saveExpense','0.016201972961426','2016-08-11 17:13:48'),(3396,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10833','expenses/saveExpense','0.0084218978881836','2016-08-11 17:13:48'),(3397,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000027\'','expenses/saveExpense','0.013293981552124','2016-08-11 17:13:48'),(3398,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014201164245605','2016-08-11 17:13:48'),(3399,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01227593421936','2016-08-11 17:13:48'),(3400,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', 0, 1, 1, \'68\', \'4321\', \'OP-C\', \'2016-08-11\', \'126\', \'1\')','expenses/saveExpense','0.023081064224243','2016-08-11 17:16:41'),(3401,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2012, 0, \'fad23213\', 1, \'32773\', \'4321\', \'4321\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.033071041107178','2016-08-11 17:16:41'),(3402,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'282\'','expenses/saveExpense','0.1352710723877','2016-08-11 17:16:41'),(3403,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000028\' WHERE `ID` =  2012','expenses/saveExpense','0.020652055740356','2016-08-11 17:16:41'),(3404,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000028\', \'Cost of Goods Sold [OP-C[00000066]]\', \'Cost of Goods Sold [OP-C[00000066]]\', \'\', \'3\', \'2016-08-11\', \'16\', \'08\', 4321, 4321, 0)','expenses/saveExpense','0.009835958480835','2016-08-11 17:16:41'),(3405,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000028\', 1, \'fad23213\', \'32765\', 4321, 1, \'1\', \'4321\', \'08\', \'16\', \'1\', \'OP-C[00000066]\', \'User\')','expenses/saveExpense','0.010600090026855','2016-08-11 17:16:41'),(3406,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000028\', 2, \'fad23213\', \'32773\', 4321, 1, \'1\', \'4321\', \'08\', \'16\', \'1\', \'OP-C[00000066]\', \'User\')','expenses/saveExpense','0.0081958770751953','2016-08-11 17:16:41'),(3407,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 4321, `total_amount_cr` = 4321, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000028\'','expenses/saveExpense','0.013346910476685','2016-08-11 17:16:41'),(3408,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2012','expenses/saveExpense','0.011214017868042','2016-08-11 17:16:41'),(3409,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10834','expenses/saveExpense','0.0078608989715576','2016-08-11 17:16:41'),(3410,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000028\'','expenses/saveExpense','0.0083248615264893','2016-08-11 17:16:41'),(3411,13,0,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32765\', \'2016\', \'8\', \'0\', \'4321\', -4321, \'User\', \'2016-08-11: 11:08:41\')','expenses/saveExpense','0.038697957992554','2016-08-11 17:16:41'),(3412,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012667894363403','2016-08-11 17:16:41'),(3413,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'January\', `companyID` = \'23\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'30\', `formNo` = \'OP-E\', `paymentDate` = \'2016-01-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2010\'','expenses/saveExpense','0.026289939880371','2016-08-11 17:23:17'),(3414,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2010\', `createdBy` = 0, `itemdescription` = \'Fevruary\', `lineNo` = 1, `accountID` = \'33030\', `amountIncludedTax` = \'30\', `amountExcludedTax` = \'30\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1926\'','expenses/saveExpense','0.00034785270690918','2016-08-11 17:23:17'),(3415,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'311\'','expenses/saveExpense','0.0088589191436768','2016-08-11 17:23:17'),(3416,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000003\' WHERE `ID` =  \'2010\'','expenses/saveExpense','0.0078310966491699','2016-08-11 17:23:17'),(3417,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000003\', \'Operating Expenses [OP-E[00000003]]\', \'Operating Expenses [OP-E[00000003]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 30, 30, 0)','expenses/saveExpense','0.012799024581909','2016-08-11 17:23:17'),(3418,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000003\', 1, \'Fevruary\', \'33007\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/saveExpense','0.010470867156982','2016-08-11 17:23:17'),(3419,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000003\', 2, \'Fevruary\', \'33030\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/saveExpense','0.0081961154937744','2016-08-11 17:23:17'),(3420,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000003\'','expenses/saveExpense','0.0077619552612305','2016-08-11 17:23:17'),(3421,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2010\'','expenses/saveExpense','0.0084609985351562','2016-08-11 17:23:17'),(3422,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10836','expenses/saveExpense','0.0078229904174805','2016-08-11 17:23:17'),(3423,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000003\'','expenses/saveExpense','0.0083730220794678','2016-08-11 17:23:17'),(3424,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.028284072875977','2016-08-11 17:23:17'),(3425,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33030\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0099210739135742','2016-08-11 17:23:17'),(3426,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'January\', `companyID` = \'23\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'30\', `formNo` = \'OP-E\', `paymentDate` = \'2016-01-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2010\'','expenses/saveExpense','0.015964984893799','2016-08-11 17:23:29'),(3427,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2010\', `createdBy` = 0, `itemdescription` = \'January\', `lineNo` = 1, `accountID` = \'33030\', `amountIncludedTax` = \'30\', `amountExcludedTax` = \'30\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1926\'','expenses/saveExpense','0.018656015396118','2016-08-11 17:23:29'),(3428,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'311\'','expenses/saveExpense','0.012035846710205','2016-08-11 17:23:29'),(3429,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000004\' WHERE `ID` =  \'2010\'','expenses/saveExpense','0.0078151226043701','2016-08-11 17:23:29'),(3430,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000004\', \'Operating Expenses [OP-E[00000003]]\', \'Operating Expenses [OP-E[00000003]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 30, 30, 0)','expenses/saveExpense','0.015712976455688','2016-08-11 17:23:29'),(3431,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000004\', 1, \'January\', \'33007\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/saveExpense','0.015917062759399','2016-08-11 17:23:29'),(3432,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000004\', 2, \'January\', \'33030\', 30, 1, \'1\', \'30\', \'01\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/saveExpense','0.008188009262085','2016-08-11 17:23:29'),(3433,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000004\'','expenses/saveExpense','0.016088962554932','2016-08-11 17:23:29'),(3434,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2010\'','expenses/saveExpense','0.0084569454193115','2016-08-11 17:23:29'),(3435,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10837','expenses/saveExpense','0.0078320503234863','2016-08-11 17:23:29'),(3436,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000004\'','expenses/saveExpense','0.0083730220794678','2016-08-11 17:23:29'),(3437,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011687040328979','2016-08-11 17:23:29'),(3438,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33030\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0099141597747803','2016-08-11 17:23:29'),(3439,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'February\', \'23\', 0, 1, 1, \'68\', \'40\', \'OP-E\', \'2016-08-11\', \'149\', \'1\')','expenses/saveExpense','0.14233803749084','2016-08-11 17:25:23'),(3440,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2013, 0, \'February\', 1, \'33029\', \'40\', \'40\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.010735988616943','2016-08-11 17:25:23'),(3441,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.011468887329102','2016-08-11 17:25:23'),(3442,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  2013','expenses/saveExpense','0.010918855667114','2016-08-11 17:25:23'),(3443,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160800000001\', \'Operating Expenses [OP-E[00000004]]\', \'Operating Expenses [OP-E[00000004]]\', \'\', \'3\', \'2016-08-11\', \'16\', \'08\', 40, 40, 0)','expenses/saveExpense','0.12655401229858','2016-08-11 17:25:23'),(3444,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160800000001\', 1, \'February\', \'33008\', 40, 1, \'1\', \'40\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'User\')','expenses/saveExpense','0.010633945465088','2016-08-11 17:25:23'),(3445,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160800000001\', 2, \'February\', \'33029\', 40, 1, \'1\', \'40\', \'08\', \'16\', \'1\', \'OP-E[00000004]\', \'User\')','expenses/saveExpense','0.015919923782349','2016-08-11 17:25:23'),(3446,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.0083720684051514','2016-08-11 17:25:23'),(3447,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2013','expenses/saveExpense','0.016201019287109','2016-08-11 17:25:23'),(3448,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10838','expenses/saveExpense','0.0083131790161133','2016-08-11 17:25:23'),(3449,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.016215085983276','2016-08-11 17:25:23'),(3450,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33008\', \'2016\', \'8\', \'0\', \'40\', -40, \'User\', \'2016-08-11: 11:08:23\')','expenses/saveExpense','0.011507987976074','2016-08-11 17:25:23'),(3451,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'10\', \'33029\', \'2016\', \'8\', \'40\', \'0\', 40, \'User\', \'2016-08-11: 11:08:23\')','expenses/saveExpense','0.017333984375','2016-08-11 17:25:23'),(3452,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'February\', `companyID` = \'23\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'40\', `formNo` = \'OP-E\', `paymentDate` = \'2016-02-02\', `bankId` = \'149\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2013\'','expenses/saveExpense','0.019605875015259','2016-08-11 17:25:40'),(3453,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2013\', `createdBy` = 0, `itemdescription` = \'February\', `lineNo` = 1, `accountID` = \'33029\', `amountIncludedTax` = \'40\', `amountExcludedTax` = \'40\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1929\'','expenses/saveExpense','0.00035595893859863','2016-08-11 17:25:40'),(3454,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'312\'','expenses/saveExpense','0.010946035385132','2016-08-11 17:25:40'),(3455,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000002\' WHERE `ID` =  \'2013\'','expenses/saveExpense','0.010929107666016','2016-08-11 17:25:40'),(3456,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160200000002\', \'Operating Expenses [OP-E[00000004]]\', \'Operating Expenses [OP-E[00000004]]\', \'\', \'3\', \'2016-02-02\', \'16\', \'02\', 40, 40, 0)','expenses/saveExpense','0.012616157531738','2016-08-11 17:25:40'),(3457,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160200000002\', 1, \'February\', \'33008\', 40, 1, \'1\', \'40\', \'02\', \'16\', \'1\', \'OP-E[00000004]\', \'User\')','expenses/saveExpense','0.01068902015686','2016-08-11 17:25:40'),(3458,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160200000002\', 2, \'February\', \'33029\', 40, 1, \'1\', \'40\', \'02\', \'16\', \'1\', \'OP-E[00000004]\', \'User\')','expenses/saveExpense','0.015945911407471','2016-08-11 17:25:40'),(3459,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160200000002\'','expenses/saveExpense','0.016655206680298','2016-08-11 17:25:40'),(3460,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2013\'','expenses/saveExpense','0.01620888710022','2016-08-11 17:25:40'),(3461,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10839','expenses/saveExpense','0.030600070953369','2016-08-11 17:25:40'),(3462,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160200000002\'','expenses/saveExpense','0.019186019897461','2016-08-11 17:25:40'),(3463,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.12843990325928','2016-08-11 17:25:40'),(3464,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'10\', \'33029\', \'2016\', \'2\', \'40\', \'0\', 40, \'User\', \'2016-08-11: 11:08:40\')','expenses/saveExpense','0.008875846862793','2016-08-11 17:25:40'),(3465,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'January\', \'23\', 0, 1, 1, \'68\', \'40\', \'OP-A\', \'2016-01-01\', \'149\', \'1\')','expenses/saveExpense','0.1498851776123','2016-08-11 17:26:44'),(3466,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2014, 0, \'January\', 1, \'32998\', \'40\', \'40\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.018573999404907','2016-08-11 17:26:44'),(3467,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'311\'','expenses/saveExpense','0.017382144927979','2016-08-11 17:26:44'),(3468,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000005\' WHERE `ID` =  2014','expenses/saveExpense','0.01613187789917','2016-08-11 17:26:44'),(3469,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000005\', \'Purchase of Fixed Asset [OP-A[00000005]]\', \'Purchase of Fixed Asset [OP-A[00000005]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 40, 40, 0)','expenses/saveExpense','0.029682874679565','2016-08-11 17:26:44'),(3470,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000005\', 1, \'January\', \'33008\', 40, 1, \'1\', \'40\', \'01\', \'16\', \'1\', \'OP-A[00000005]\', \'User\')','expenses/saveExpense','0.015913963317871','2016-08-11 17:26:44'),(3471,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000005\', 2, \'January\', \'32998\', 40, 1, \'1\', \'40\', \'01\', \'16\', \'1\', \'OP-A[00000005]\', \'User\')','expenses/saveExpense','0.0081939697265625','2016-08-11 17:26:44'),(3472,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000005\'','expenses/saveExpense','0.016093015670776','2016-08-11 17:26:44'),(3473,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2014','expenses/saveExpense','0.0084700584411621','2016-08-11 17:26:44'),(3474,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10840','expenses/saveExpense','0.016149044036865','2016-08-11 17:26:44'),(3475,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000005\'','expenses/saveExpense','0.0083749294281006','2016-08-11 17:26:44'),(3476,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33008\', \'2016\', \'1\', \'0\', \'40\', -40, \'User\', \'2016-08-11: 11:08:44\')','expenses/saveExpense','0.011374950408936','2016-08-11 17:26:44'),(3477,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'2\', \'32998\', \'2016\', \'1\', \'40\', \'0\', 40, \'User\', \'2016-08-11: 11:08:44\')','expenses/saveExpense','0.0091769695281982','2016-08-11 17:26:44'),(3478,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'February\', \'23\', 0, 1, 1, \'68\', \'35\', \'OP-A\', \'2016-02-02\', \'149\', \'1\')','expenses/saveExpense','0.024445056915283','2016-08-11 17:27:18'),(3479,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2015, 0, \'February\', 1, \'32997\', \'35\', \'35\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.018509149551392','2016-08-11 17:27:18'),(3480,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'312\'','expenses/saveExpense','0.012343168258667','2016-08-11 17:27:18'),(3481,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000003\' WHERE `ID` =  2015','expenses/saveExpense','0.018718004226685','2016-08-11 17:27:18'),(3482,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160200000003\', \'Purchase of Fixed Asset [OP-A[00000006]]\', \'Purchase of Fixed Asset [OP-A[00000006]]\', \'\', \'3\', \'2016-02-02\', \'16\', \'02\', 35, 35, 0)','expenses/saveExpense','0.010478019714355','2016-08-11 17:27:18'),(3483,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160200000003\', 1, \'February\', \'33008\', 35, 1, \'1\', \'35\', \'02\', \'16\', \'1\', \'OP-A[00000006]\', \'User\')','expenses/saveExpense','0.018408060073853','2016-08-11 17:27:18'),(3484,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160200000003\', 2, \'February\', \'32997\', 35, 1, \'1\', \'35\', \'02\', \'16\', \'1\', \'OP-A[00000006]\', \'User\')','expenses/saveExpense','0.0082299709320068','2016-08-11 17:27:18'),(3485,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 35, `total_amount_cr` = 35, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160200000003\'','expenses/saveExpense','0.024426937103271','2016-08-11 17:27:18'),(3486,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2015','expenses/saveExpense','0.02257513999939','2016-08-11 17:27:18'),(3487,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10841','expenses/saveExpense','0.018619060516357','2016-08-11 17:27:18'),(3488,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160200000003\'','expenses/saveExpense','0.0083839893341064','2016-08-11 17:27:18'),(3489,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.020272016525269','2016-08-11 17:27:18'),(3490,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'2\', \'32997\', \'2016\', \'2\', \'35\', \'0\', 35, \'User\', \'2016-08-11: 11:08:18\')','expenses/saveExpense','0.025712013244629','2016-08-11 17:27:18'),(3491,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'February\', `companyID` = \'23\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'35\', `formNo` = \'OP-A\', `paymentDate` = \'2016-02-02\', `bankId` = \'149\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2015\'','expenses/saveExpense','0.022243976593018','2016-08-11 17:27:21'),(3492,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2015\', `createdBy` = 0, `itemdescription` = \'February\', `lineNo` = 1, `accountID` = \'32997\', `amountIncludedTax` = \'35\', `amountExcludedTax` = \'35\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1931\'','expenses/saveExpense','0.018718004226685','2016-08-11 17:27:21'),(3493,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'312\'','expenses/saveExpense','0.023874998092651','2016-08-11 17:27:21'),(3494,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000004\' WHERE `ID` =  \'2015\'','expenses/saveExpense','0.016742944717407','2016-08-11 17:27:21'),(3495,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160200000004\', \'Purchase of Fixed Asset [OP-A[00000006]]\', \'Purchase of Fixed Asset [OP-A[00000006]]\', \'\', \'3\', \'2016-02-02\', \'16\', \'02\', 35, 35, 0)','expenses/saveExpense','0.013038873672485','2016-08-11 17:27:21'),(3496,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160200000004\', 1, \'February\', \'33008\', 35, 1, \'1\', \'35\', \'02\', \'16\', \'1\', \'OP-A[00000006]\', \'User\')','expenses/saveExpense','0.026904821395874','2016-08-11 17:27:21'),(3497,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160200000004\', 2, \'February\', \'32997\', 35, 1, \'1\', \'35\', \'02\', \'16\', \'1\', \'OP-A[00000006]\', \'User\')','expenses/saveExpense','0.041234970092773','2016-08-11 17:27:21'),(3498,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 35, `total_amount_cr` = 35, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160200000004\'','expenses/saveExpense','0.06608510017395','2016-08-11 17:27:21'),(3499,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2015\'','expenses/saveExpense','0.033127069473267','2016-08-11 17:27:21'),(3500,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10842','expenses/saveExpense','0.0331130027771','2016-08-11 17:27:21'),(3501,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160200000004\'','expenses/saveExpense','0.044460773468018','2016-08-11 17:27:21'),(3502,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.032004833221436','2016-08-11 17:27:21'),(3503,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'32997\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.048434972763062','2016-08-11 17:27:21'),(3504,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0015668869018555','2016-08-11 17:47:18'),(3505,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.081076860427856','2016-08-11 17:47:27'),(3506,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', 0, 1, 1, \'68\', \'29\', \'OP-C\', \'2016-08-12\', \'123\', \'1\')','expenses/saveExpense','0.070464134216309','2016-08-12 12:07:38'),(3507,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2016, 0, \'Ahfat18\', 1, \'32773\', \'29\', \'29\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.025113105773926','2016-08-12 12:07:38'),(3508,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'282\'','expenses/saveExpense','0.03892707824707','2016-08-12 12:07:38'),(3509,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000029\' WHERE `ID` =  2016','expenses/saveExpense','0.016748905181885','2016-08-12 12:07:38'),(3510,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000029\', \'Cost of Goods Sold [OP-C[00000067]]\', \'Cost of Goods Sold [OP-C[00000067]]\', \'\', \'3\', \'2016-08-12\', \'16\', \'08\', 29, 29, 0)','expenses/saveExpense','0.011818170547485','2016-08-12 12:07:38'),(3511,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000029\', 1, \'Ahfat18\', \'32762\', 29, 1, \'1\', \'29\', \'08\', \'16\', \'1\', \'OP-C[00000067]\', \'User\')','expenses/saveExpense','0.024547100067139','2016-08-12 12:07:38'),(3512,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000029\', 2, \'Ahfat18\', \'32773\', 29, 1, \'1\', \'29\', \'08\', \'16\', \'1\', \'OP-C[00000067]\', \'User\')','expenses/saveExpense','0.024561882019043','2016-08-12 12:07:38'),(3513,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 29, `total_amount_cr` = 29, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000029\'','expenses/saveExpense','0.017254829406738','2016-08-12 12:07:38'),(3514,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2016','expenses/saveExpense','0.024566173553467','2016-08-12 12:07:38'),(3515,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10843','expenses/saveExpense','0.02504301071167','2016-08-12 12:07:38'),(3516,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000029\'','expenses/saveExpense','0.01609992980957','2016-08-12 12:07:38'),(3517,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.025761842727661','2016-08-12 12:07:38'),(3518,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022249937057495','2016-08-12 12:07:39'),(3519,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'5\', \'OP-C\', \'2016-08-12\', \'148\', \'1\')','expenses/saveExpense','0.10233306884766','2016-08-12 12:09:29'),(3520,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2017, 0, \'abg fadh\', 1, \'33019\', \'5\', \'5\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.024436950683594','2016-08-12 12:09:29'),(3521,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'314\'','expenses/saveExpense','0.024000883102417','2016-08-12 12:09:29'),(3522,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000002\' WHERE `ID` =  2017','expenses/saveExpense','0.024518966674805','2016-08-12 12:09:29'),(3523,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000002\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-08-12\', \'16\', \'08\', 5, 5, 0)','expenses/saveExpense','0.012101888656616','2016-08-12 12:09:29'),(3524,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000002\', 1, \'abg fadh\', \'33007\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/saveExpense','0.01677680015564','2016-08-12 12:09:29'),(3525,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000002\', 2, \'abg fadh\', \'33019\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/saveExpense','0.016515970230103','2016-08-12 12:09:29'),(3526,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5, `total_amount_cr` = 5, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.03276515007019','2016-08-12 12:09:30'),(3527,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2017','expenses/saveExpense','0.016775131225586','2016-08-12 12:09:30'),(3528,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10844','expenses/saveExpense','0.016171216964722','2016-08-12 12:09:30'),(3529,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.016695022583008','2016-08-12 12:09:30'),(3530,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33007\', \'2016\', \'8\', \'0\', \'5\', -5, \'User\', \'2016-08-12: 06:08:29\')','expenses/saveExpense','0.01366114616394','2016-08-12 12:09:30'),(3531,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'8\', \'5\', \'0\', 5, \'User\', \'2016-08-12: 06:08:29\')','expenses/saveExpense','0.015132904052734','2016-08-12 12:09:30'),(3532,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.034418821334839','2016-08-12 15:50:51'),(3533,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'10,000.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'148\'','bank/saveBank','0.04325795173645','2016-08-12 15:51:01'),(3534,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33007\'','bank/saveBank','0.016329050064087','2016-08-12 15:51:01'),(3535,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0015499591827393','2016-08-12 15:51:02'),(3536,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'10.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'148\'','bank/saveBank','0.30810308456421','2016-08-12 15:52:02'),(3537,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33007\'','bank/saveBank','0.022832870483398','2016-08-12 15:52:02'),(3538,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0015380382537842','2016-08-12 15:52:04'),(3539,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0015130043029785','2016-08-12 15:52:11'),(3540,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'10,000.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32996\'','setup/saveAsset','0.01832389831543','2016-08-12 15:52:20'),(3541,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'10,000.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32996\'','setup/saveAsset','0.00042104721069336','2016-08-12 15:52:23'),(3542,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.001572847366333','2016-08-12 15:52:26'),(3543,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'10.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32996\'','setup/saveAsset','0.079102993011475','2016-08-12 15:52:50'),(3544,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0015239715576172','2016-08-12 15:52:52'),(3545,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 1	\', `openingBalanceCr` = \'30000.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33013\'','setup/saveLoan','0.032165050506592','2016-08-12 15:53:20'),(3546,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 1	\', `openingBalanceCr` = \'30000.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33013\'','setup/saveLoan','0.028285980224609','2016-08-12 15:53:46'),(3547,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'33021\'','setup/saveExpenses','0.041031122207642','2016-08-12 15:54:57'),(3548,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'33021\'','setup/saveExpenses','0.091113090515137','2016-08-12 15:55:22'),(3549,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0015840530395508','2016-08-12 15:57:03'),(3550,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 1	\', `currentBalance` = \'20\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'151\'','bank/saveBank','0.14262199401855','2016-08-12 15:57:15'),(3551,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 1	\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33010\'','bank/saveBank','0.037714958190918','2016-08-12 15:57:15'),(3552,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0015678405761719','2016-08-12 15:57:17'),(3553,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 1	\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'151\'','bank/saveBank','0.022840023040771','2016-08-12 15:58:25'),(3554,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 1	\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33010\'','bank/saveBank','0.016315937042236','2016-08-12 15:58:25'),(3555,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0016191005706787','2016-08-12 15:58:26'),(3556,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'10\', `formNo` = \'OP-C\', `paymentDate` = \'2016-01-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2008\'','expenses/saveExpense','0.022227048873901','2016-08-12 16:21:25'),(3557,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2008\', `createdBy` = 0, `itemdescription` = \'January\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1924\'','expenses/saveExpense','0.016196012496948','2016-08-12 16:21:25'),(3558,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'311\'','expenses/saveExpense','0.042078971862793','2016-08-12 16:21:25'),(3559,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000006\' WHERE `ID` =  \'2008\'','expenses/saveExpense','0.031210899353027','2016-08-12 16:21:25'),(3560,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000006\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 10, 10, 0)','expenses/saveExpense','0.015387058258057','2016-08-12 16:21:25'),(3561,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000006\', 1, \'January\', \'33007\', 10, 1, \'1\', \'10\', \'01\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.016230821609497','2016-08-12 16:21:25'),(3562,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000006\', 2, \'January\', \'33019\', 10, 1, \'1\', \'10\', \'01\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.01623010635376','2016-08-12 16:21:25'),(3563,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000006\'','expenses/saveExpense','0.016398906707764','2016-08-12 16:21:25'),(3564,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2008\'','expenses/saveExpense','0.01646900177002','2016-08-12 16:21:25'),(3565,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10859','expenses/saveExpense','0.016469955444336','2016-08-12 16:21:25'),(3566,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000006\'','expenses/saveExpense','0.024717092514038','2016-08-12 16:21:25'),(3567,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.039437055587769','2016-08-12 16:21:25'),(3568,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.023710966110229','2016-08-12 16:21:25'),(3569,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'30\', \'OP-C\', \'2016-03-03\', \'150\', \'1\')','expenses/saveExpense','0.095756053924561','2016-08-12 16:22:31'),(3570,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2018, 0, \'MARCH\', 1, \'33019\', \'30\', \'30\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.033499002456665','2016-08-12 16:22:31'),(3571,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'03\', \'AP\', 1)','expenses/saveExpense','0.026412010192871','2016-08-12 16:22:31'),(3572,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160300000001\' WHERE `ID` =  2018','expenses/saveExpense','0.02477502822876','2016-08-12 16:22:31'),(3573,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160300000001\', \'Cost of Goods Sold [OP-C[00000008]]\', \'Cost of Goods Sold [OP-C[00000008]]\', \'\', \'3\', \'2016-03-03\', \'16\', \'03\', 30, 30, 0)','expenses/saveExpense','0.020734071731567','2016-08-12 16:22:31'),(3574,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160300000001\', 1, \'MARCH\', \'33009\', 30, 1, \'1\', \'30\', \'03\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/saveExpense','0.049240112304688','2016-08-12 16:22:31'),(3575,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160300000001\', 2, \'MARCH\', \'33019\', 30, 1, \'1\', \'30\', \'03\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/saveExpense','0.016841888427734','2016-08-12 16:22:31'),(3576,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160300000001\'','expenses/saveExpense','0.01640510559082','2016-08-12 16:22:31'),(3577,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2018','expenses/saveExpense','0.024802923202515','2016-08-12 16:22:31'),(3578,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10860','expenses/saveExpense','0.016470909118652','2016-08-12 16:22:31'),(3579,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160300000001\'','expenses/saveExpense','0.033032894134521','2016-08-12 16:22:31'),(3580,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'3\'','expenses/saveExpense','0.031146049499512','2016-08-12 16:22:31'),(3581,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'3\', \'30\', \'0\', 30, \'User\', \'2016-08-12: 10:08:31\')','expenses/saveExpense','0.013736009597778','2016-08-12 16:22:31'),(3582,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'40\', \'OP-C\', \'2016-04-04\', \'148\', \'1\')','expenses/saveExpense','0.071238040924072','2016-08-12 16:31:56'),(3583,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2019, 0, \'APRIL\', 1, \'33019\', \'40\', \'40\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016374111175537','2016-08-12 16:31:56'),(3584,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'04\', \'AP\', 1)','expenses/saveExpense','0.0379319190979','2016-08-12 16:31:56'),(3585,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160400000001\' WHERE `ID` =  2019','expenses/saveExpense','0.016457080841064','2016-08-12 16:31:57'),(3586,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160400000001\', \'Cost of Goods Sold [OP-C[00000009]]\', \'Cost of Goods Sold [OP-C[00000009]]\', \'\', \'3\', \'2016-04-04\', \'16\', \'04\', 40, 40, 0)','expenses/saveExpense','0.011993169784546','2016-08-12 16:31:57'),(3587,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160400000001\', 1, \'APRIL\', \'33007\', 40, 1, \'1\', \'40\', \'04\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/saveExpense','0.025237083435059','2016-08-12 16:31:57'),(3588,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160400000001\', 2, \'APRIL\', \'33019\', 40, 1, \'1\', \'40\', \'04\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/saveExpense','0.016226053237915','2016-08-12 16:31:57'),(3589,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160400000001\'','expenses/saveExpense','0.024712085723877','2016-08-12 16:31:57'),(3590,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2019','expenses/saveExpense','0.016461133956909','2016-08-12 16:31:57'),(3591,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10861','expenses/saveExpense','0.024823904037476','2016-08-12 16:31:57'),(3592,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160400000001\'','expenses/saveExpense','0.016400098800659','2016-08-12 16:31:57'),(3593,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'4\'','expenses/saveExpense','0.022496938705444','2016-08-12 16:31:57'),(3594,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'4\', \'40\', \'0\', 40, \'User\', \'2016-08-12: 10:08:56\')','expenses/saveExpense','0.015166997909546','2016-08-12 16:31:57'),(3595,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'50\', \'OP-C\', \'2016-05-05\', \'149\', \'1\')','expenses/saveExpense','0.10194802284241','2016-08-12 16:32:44'),(3596,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2020, 0, \'MAY\', 1, \'33019\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016395092010498','2016-08-12 16:32:44'),(3597,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'05\', \'AP\', 1)','expenses/saveExpense','0.023224115371704','2016-08-12 16:32:44'),(3598,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160500000001\' WHERE `ID` =  2020','expenses/saveExpense','0.016460180282593','2016-08-12 16:32:44'),(3599,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160500000001\', \'Cost of Goods Sold [OP-C[00000010]]\', \'Cost of Goods Sold [OP-C[00000010]]\', \'\', \'3\', \'2016-05-05\', \'16\', \'05\', 50, 50, 0)','expenses/saveExpense','0.020915031433105','2016-08-12 16:32:44'),(3600,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160500000001\', 1, \'MAY\', \'33008\', 50, 1, \'1\', \'50\', \'05\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.072556972503662','2016-08-12 16:32:44'),(3601,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160500000001\', 2, \'MAY\', \'33019\', 50, 1, \'1\', \'50\', \'05\', \'16\', \'1\', \'OP-C[00000010]\', \'User\')','expenses/saveExpense','0.026089191436768','2016-08-12 16:32:44'),(3602,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160500000001\'','expenses/saveExpense','0.025012969970703','2016-08-12 16:32:44'),(3603,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2020','expenses/saveExpense','0.016468048095703','2016-08-12 16:32:44'),(3604,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10862','expenses/saveExpense','0.016526937484741','2016-08-12 16:32:44'),(3605,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160500000001\'','expenses/saveExpense','0.016394853591919','2016-08-12 16:32:44'),(3606,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','expenses/saveExpense','0.022708892822266','2016-08-12 16:32:44'),(3607,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'5\', \'50\', \'0\', 50, \'User\', \'2016-08-12: 10:08:44\')','expenses/saveExpense','0.023117065429688','2016-08-12 16:32:44'),(3608,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'60\', \'OP-C\', \'2016-06-06\', \'150\', \'1\')','expenses/saveExpense','0.091003894805908','2016-08-12 16:33:04'),(3609,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2021, 0, \'JUNE\', 1, \'33019\', \'60\', \'60\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.024724006652832','2016-08-12 16:33:04'),(3610,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'06\', \'AP\', 1)','expenses/saveExpense','0.018818140029907','2016-08-12 16:33:04'),(3611,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160600000001\' WHERE `ID` =  2021','expenses/saveExpense','0.016442060470581','2016-08-12 16:33:04'),(3612,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160600000001\', \'Cost of Goods Sold [OP-C[00000011]]\', \'Cost of Goods Sold [OP-C[00000011]]\', \'\', \'3\', \'2016-06-06\', \'16\', \'06\', 60, 60, 0)','expenses/saveExpense','0.037745952606201','2016-08-12 16:33:04'),(3613,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160600000001\', 1, \'JUNE\', \'33009\', 60, 1, \'1\', \'60\', \'06\', \'16\', \'1\', \'OP-C[00000011]\', \'User\')','expenses/saveExpense','0.016198873519897','2016-08-12 16:33:04'),(3614,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160600000001\', 2, \'JUNE\', \'33019\', 60, 1, \'1\', \'60\', \'06\', \'16\', \'1\', \'OP-C[00000011]\', \'User\')','expenses/saveExpense','0.016210079193115','2016-08-12 16:33:04'),(3615,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 60, `total_amount_cr` = 60, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160600000001\'','expenses/saveExpense','0.033080101013184','2016-08-12 16:33:05'),(3616,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2021','expenses/saveExpense','0.016488075256348','2016-08-12 16:33:05'),(3617,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10863','expenses/saveExpense','0.016458034515381','2016-08-12 16:33:05'),(3618,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160600000001\'','expenses/saveExpense','0.016422033309937','2016-08-12 16:33:05'),(3619,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','expenses/saveExpense','0.012563943862915','2016-08-12 16:33:05'),(3620,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'6\', \'60\', \'0\', 60, \'User\', \'2016-08-12: 10:08:04\')','expenses/saveExpense','0.015336990356445','2016-08-12 16:33:05'),(3621,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'70\', \'OP-C\', \'2016-07-07\', \'148\', \'1\')','expenses/saveExpense','0.10842394828796','2016-08-12 16:33:23'),(3622,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2022, 0, \'JULY\', 1, \'33019\', \'70\', \'70\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016987085342407','2016-08-12 16:33:23'),(3623,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'07\', \'AP\', 1)','expenses/saveExpense','0.021992921829224','2016-08-12 16:33:23'),(3624,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160700000001\' WHERE `ID` =  2022','expenses/saveExpense','0.016904830932617','2016-08-12 16:33:23'),(3625,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160700000001\', \'Cost of Goods Sold [OP-C[00000012]]\', \'Cost of Goods Sold [OP-C[00000012]]\', \'\', \'3\', \'2016-07-07\', \'16\', \'07\', 70, 70, 0)','expenses/saveExpense','0.012120962142944','2016-08-12 16:33:23'),(3626,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160700000001\', 1, \'JULY\', \'33007\', 70, 1, \'1\', \'70\', \'07\', \'16\', \'1\', \'OP-C[00000012]\', \'User\')','expenses/saveExpense','0.01667308807373','2016-08-12 16:33:23'),(3627,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160700000001\', 2, \'JULY\', \'33019\', 70, 1, \'1\', \'70\', \'07\', \'16\', \'1\', \'OP-C[00000012]\', \'User\')','expenses/saveExpense','0.016238927841187','2016-08-12 16:33:23'),(3628,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 70, `total_amount_cr` = 70, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160700000001\'','expenses/saveExpense','0.01639199256897','2016-08-12 16:33:23'),(3629,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2022','expenses/saveExpense','0.016465187072754','2016-08-12 16:33:23'),(3630,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10864','expenses/saveExpense','0.016483068466187','2016-08-12 16:33:23'),(3631,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160700000001\'','expenses/saveExpense','0.016396999359131','2016-08-12 16:33:24'),(3632,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','expenses/saveExpense','0.014497995376587','2016-08-12 16:33:24'),(3633,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'7\', \'70\', \'0\', 70, \'User\', \'2016-08-12: 10:08:23\')','expenses/saveExpense','0.014878988265991','2016-08-12 16:33:24'),(3634,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'80\', \'OP-C\', \'2016-08-08\', \'149\', \'1\')','expenses/saveExpense','0.033473968505859','2016-08-12 16:34:01'),(3635,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2023, 0, \'AUGUST\', 1, \'33019\', \'80\', \'80\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016370058059692','2016-08-12 16:34:01'),(3636,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'314\'','expenses/saveExpense','0.017227172851562','2016-08-12 16:34:01'),(3637,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000003\' WHERE `ID` =  2023','expenses/saveExpense','0.024744033813477','2016-08-12 16:34:01'),(3638,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000003\', \'Cost of Goods Sold [OP-C[00000013]]\', \'Cost of Goods Sold [OP-C[00000013]]\', \'\', \'3\', \'2016-08-08\', \'16\', \'08\', 80, 80, 0)','expenses/saveExpense','0.011857032775879','2016-08-12 16:34:01'),(3639,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000003\', 1, \'AUGUST\', \'33008\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000013]\', \'User\')','expenses/saveExpense','0.017017126083374','2016-08-12 16:34:01'),(3640,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000003\', 2, \'AUGUST\', \'33019\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000013]\', \'User\')','expenses/saveExpense','0.016199827194214','2016-08-12 16:34:01'),(3641,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 80, `total_amount_cr` = 80, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000003\'','expenses/saveExpense','0.01633095741272','2016-08-12 16:34:01'),(3642,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2023','expenses/saveExpense','0.016463041305542','2016-08-12 16:34:01'),(3643,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10865','expenses/saveExpense','0.024783134460449','2016-08-12 16:34:01'),(3644,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000003\'','expenses/saveExpense','0.049706935882568','2016-08-12 16:34:01'),(3645,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014463901519775','2016-08-12 16:34:01'),(3646,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015358209609985','2016-08-12 16:34:01'),(3647,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0015740394592285','2016-08-15 09:59:13'),(3648,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 2	\', `currentBalance` = \'10\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'152\'','bank/saveBank','0.049010992050171','2016-08-15 09:59:53'),(3649,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 2	\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33011\'','bank/saveBank','0.019495010375977','2016-08-15 09:59:53'),(3650,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0015938282012939','2016-08-15 09:59:55'),(3651,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 1	\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'151\'','bank/saveBank','0.2132260799408','2016-08-15 10:00:14'),(3652,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 1	\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33010\'','bank/saveBank','0.019723892211914','2016-08-15 10:00:14'),(3653,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0016138553619385','2016-08-15 10:00:16'),(3654,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 1	\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'151\'','bank/saveBank','0.072180986404419','2016-08-15 10:01:00'),(3655,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 1	\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33010\'','bank/saveBank','0.054656028747559','2016-08-15 10:01:01'),(3656,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.014495849609375','2016-08-15 10:01:02'),(3657,23,0,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 2	\', `currentBalance` = \'0\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'152\'','bank/saveBank','0.11068296432495','2016-08-15 10:01:08'),(3658,23,0,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33011\'','bank/saveBank','0.049637079238892','2016-08-15 10:01:08'),(3659,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.078545093536377','2016-08-15 10:01:10'),(3660,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-15\', \'148\', \'100\', \'TT\', \'149\', \'23\', 3)','transfer/newTransfer','0.063687086105347','2016-08-15 10:02:08'),(3661,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2024, \'33008\', \'100\', \'Transfer\')','transfer/newTransfer','0.016485929489136','2016-08-15 10:02:08'),(3662,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'314\'','transfer/newTransfer','0.038327932357788','2016-08-15 10:02:08'),(3663,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000004\' WHERE `ID` =  2024','transfer/newTransfer','0.016439199447632','2016-08-15 10:02:08'),(3664,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000004\', \' [TT[00000014]]]\', \'Bank Transfer [  [TT[00000014]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 100, 100, \'User\')','transfer/newTransfer','0.017893075942993','2016-08-15 10:02:08'),(3665,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000004\', 1, \'Transfer\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000014]\', \'User\')','transfer/newTransfer','0.041463136672974','2016-08-15 10:02:08'),(3666,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000004\', 2, \'Transfer\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000014]\', \'User\')','transfer/newTransfer','0.010696172714233','2016-08-15 10:02:08'),(3667,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000004\'','transfer/newTransfer','0.016395807266235','2016-08-15 10:02:08'),(3668,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2024','transfer/newTransfer','0.016493082046509','2016-08-15 10:02:08'),(3669,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10866','transfer/newTransfer','0.0081338882446289','2016-08-15 10:02:08'),(3670,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000004\'','transfer/newTransfer','0.013334989547729','2016-08-15 10:02:08'),(3671,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017023801803589','2016-08-15 10:02:08'),(3672,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.012315034866333','2016-08-15 10:02:08'),(3673,13,0,'192.168.1.198','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'13\'\nAND `a`.`ID` =  \'10811\'','report/journalDetails','1.0900070667267','2016-08-15 10:07:54'),(3674,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-15\', \'33013\', \'10\', \'LR\', \'148\', \'23\', 3)','loanReceive/save_new_loan','0.076076984405518','2016-08-15 10:10:20'),(3675,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2025, \'33007\', \'10\', \'received\')','loanReceive/save_new_loan','0.017866134643555','2016-08-15 10:10:20'),(3676,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'314\'','loanReceive/save_new_loan','0.029460906982422','2016-08-15 10:10:20'),(3677,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000005\' WHERE `ID` =  2025','loanReceive/save_new_loan','0.016470909118652','2016-08-15 10:10:20'),(3678,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000005\', \' [LR[00000015]]]\', \'Loan Received [  [LR[00000015]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 10, 10, \'User\')','loanReceive/save_new_loan','0.011281967163086','2016-08-15 10:10:20'),(3679,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000005\', 1, \'received\', \'33013\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/save_new_loan','0.017468929290771','2016-08-15 10:10:20'),(3680,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000005\', 2, \'received\', \'33007\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/save_new_loan','0.016220092773438','2016-08-15 10:10:20'),(3681,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000005\'','loanReceive/save_new_loan','0.02472996711731','2016-08-15 10:10:20'),(3682,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2025','loanReceive/save_new_loan','0.024825096130371','2016-08-15 10:10:20'),(3683,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10867','loanReceive/save_new_loan','0.016463994979858','2016-08-15 10:10:20'),(3684,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000005\'','loanReceive/save_new_loan','0.016427993774414','2016-08-15 10:10:20'),(3685,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33013\', \'2016\', \'8\', \'0\', \'10\', -10, \'User\', \'2016-08-15: 04:08:20\')','loanReceive/save_new_loan','0.035791873931885','2016-08-15 10:10:20'),(3686,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015393972396851','2016-08-15 10:10:20'),(3687,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.002964973449707','2016-08-15 10:32:12'),(3688,23,0,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0016019344329834','2016-08-15 10:32:35'),(3689,13,0,'192.168.1.227','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'kereta\', \'13\', 0, 1, 1, \'68\', \'10000\', \'OP-L\', \'2016-08-15\', \'122\', \'1\')','expenses/saveExpense','0.046866893768311','2016-08-15 12:13:24'),(3690,13,0,'192.168.1.227','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2026, 0, \'kereta\', 1, \'32767\', \'10000\', \'10000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016414880752563','2016-08-15 12:13:24'),(3691,13,0,'192.168.1.227','update','UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  \'282\'','expenses/saveExpense','0.024319887161255','2016-08-15 12:13:24'),(3692,13,0,'192.168.1.227','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000030\' WHERE `ID` =  2026','expenses/saveExpense','0.023744106292725','2016-08-15 12:13:24'),(3693,13,0,'192.168.1.227','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000030\', \'Pembayaran Balik Pinjaman [OP-L[00000068]]\', \'Pembayaran Balik Pinjaman [OP-L[00000068]]\', \'\', \'3\', \'2016-08-15\', \'16\', \'08\', 10000, 10000, 0)','expenses/saveExpense','0.013466835021973','2016-08-15 12:13:24'),(3694,13,0,'192.168.1.227','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000030\', 1, \'kereta\', \'32761\', 10000, 1, \'1\', \'10000\', \'08\', \'16\', \'1\', \'OP-L[00000068]\', \'User\')','expenses/saveExpense','0.080283880233765','2016-08-15 12:13:25'),(3695,13,0,'192.168.1.227','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000030\', 2, \'kereta\', \'32767\', 10000, 1, \'1\', \'10000\', \'08\', \'16\', \'1\', \'OP-L[00000068]\', \'User\')','expenses/saveExpense','0.044026136398315','2016-08-15 12:13:25'),(3696,13,0,'192.168.1.227','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000030\'','expenses/saveExpense','0.15672492980957','2016-08-15 12:13:25'),(3697,13,0,'192.168.1.227','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2026','expenses/saveExpense','0.017544984817505','2016-08-15 12:13:25'),(3698,13,0,'192.168.1.227','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10868','expenses/saveExpense','0.024770975112915','2016-08-15 12:13:25'),(3699,13,0,'192.168.1.227','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000030\'','expenses/saveExpense','0.016432046890259','2016-08-15 12:13:25'),(3700,13,0,'192.168.1.227','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022841930389404','2016-08-15 12:13:25'),(3701,13,0,'192.168.1.227','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015408039093018','2016-08-15 12:13:25'),(3702,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'testing\', \'23\', 0, 1, 1, \'68\', \'1000\', \'OP-L\', \'2017-01-05\', \'148\', \'1\')','expenses/saveExpense','0.030391931533813','2016-08-15 12:18:21'),(3703,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2027, 0, \'payment\', 1, \'33013\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.017879962921143','2016-08-15 12:18:21'),(3704,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'17\', \'01\', \'AP\', 1)','expenses/saveExpense','0.012070894241333','2016-08-15 12:18:21'),(3705,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP170100000001\' WHERE `ID` =  2027','expenses/saveExpense','0.026167154312134','2016-08-15 12:18:21'),(3706,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP170100000001\', \'Loan Repayment [OP-L[00000016]]\', \'Loan Repayment [OP-L[00000016]]\', \'\', \'3\', \'2017-01-05\', \'17\', \'01\', 1000, 1000, 0)','expenses/saveExpense','0.011162996292114','2016-08-15 12:18:21'),(3707,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP170100000001\', 1, \'payment\', \'33007\', 1000, 1, \'1\', \'1000\', \'01\', \'17\', \'1\', \'OP-L[00000016]\', \'User\')','expenses/saveExpense','0.017584085464478','2016-08-15 12:18:21'),(3708,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP170100000001\', 2, \'payment\', \'33013\', 1000, 1, \'1\', \'1000\', \'01\', \'17\', \'1\', \'OP-L[00000016]\', \'User\')','expenses/saveExpense','0.016221046447754','2016-08-15 12:18:21'),(3709,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP170100000001\'','expenses/saveExpense','0.016399145126343','2016-08-15 12:18:21'),(3710,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2027','expenses/saveExpense','0.016484022140503','2016-08-15 12:18:21'),(3711,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10869','expenses/saveExpense','0.016459941864014','2016-08-15 12:18:21'),(3712,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP170100000001\'','expenses/saveExpense','0.033083200454712','2016-08-15 12:18:21'),(3713,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33007\', \'2017\', \'1\', \'0\', \'1000\', -1000, \'User\', \'2016-08-15: 06:08:21\')','expenses/saveExpense','0.012895107269287','2016-08-15 12:18:21'),(3714,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33013\', \'2017\', \'1\', \'1000\', \'0\', 1000, \'User\', \'2016-08-15: 06:08:21\')','expenses/saveExpense','0.015950918197632','2016-08-15 12:18:21'),(3715,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'testing\', `companyID` = \'23\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1000\', `formNo` = \'OP-L\', `paymentDate` = \'2017-01-05\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2027\'','expenses/saveExpense','0.03590989112854','2016-08-15 12:18:26'),(3716,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2027\', `createdBy` = 0, `itemdescription` = \'payment\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1943\'','expenses/saveExpense','0.00034785270690918','2016-08-15 12:18:27'),(3717,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'330\'','expenses/saveExpense','0.011120080947876','2016-08-15 12:18:27'),(3718,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20170100000002\' WHERE `ID` =  \'2027\'','expenses/saveExpense','0.026270151138306','2016-08-15 12:18:27'),(3719,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20170100000002\', \'Loan Repayment [OP-L[00000016]]\', \'Loan Repayment [OP-L[00000016]]\', \'\', \'3\', \'2017-01-05\', \'17\', \'01\', 1000, 1000, 0)','expenses/saveExpense','0.015364170074463','2016-08-15 12:18:27'),(3720,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20170100000002\', 1, \'payment\', \'33007\', 1000, 1, \'1\', \'1000\', \'01\', \'17\', \'1\', \'OP-L[00000016]\', \'User\')','expenses/saveExpense','0.016227960586548','2016-08-15 12:18:27'),(3721,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20170100000002\', 2, \'payment\', \'33013\', 1000, 1, \'1\', \'1000\', \'01\', \'17\', \'1\', \'OP-L[00000016]\', \'User\')','expenses/saveExpense','0.016227960586548','2016-08-15 12:18:27'),(3722,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20170100000002\'','expenses/saveExpense','0.016389131546021','2016-08-15 12:18:27'),(3723,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2027\'','expenses/saveExpense','0.016486167907715','2016-08-15 12:18:27'),(3724,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10870','expenses/saveExpense','0.016451120376587','2016-08-15 12:18:27'),(3725,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20170100000002\'','expenses/saveExpense','0.016392946243286','2016-08-15 12:18:27'),(3726,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2017\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.013317823410034','2016-08-15 12:18:27'),(3727,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2017\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.016587018966675','2016-08-15 12:18:27'),(3728,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'payment\', \'23\', 0, 1, 1, \'68\', \'5000\', \'OP-L\', \'2018-02-01\', \'148\', \'1\')','expenses/saveExpense','0.097115993499756','2016-08-15 12:20:16'),(3729,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2028, 0, \'payment\', 1, \'33013\', \'5000\', \'5000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.041301965713501','2016-08-15 12:20:16'),(3730,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'18\', \'02\', \'AP\', 1)','expenses/saveExpense','0.02662992477417','2016-08-15 12:20:16'),(3731,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP180200000001\' WHERE `ID` =  2028','expenses/saveExpense','0.025907039642334','2016-08-15 12:20:16'),(3732,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP180200000001\', \'Loan Repayment [OP-L[00000017]]\', \'Loan Repayment [OP-L[00000017]]\', \'\', \'3\', \'2018-02-01\', \'18\', \'02\', 5000, 5000, 0)','expenses/saveExpense','0.028569936752319','2016-08-15 12:20:16'),(3733,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP180200000001\', 1, \'payment\', \'33007\', 5000, 1, \'1\', \'5000\', \'02\', \'18\', \'1\', \'OP-L[00000017]\', \'User\')','expenses/saveExpense','0.041206836700439','2016-08-15 12:20:16'),(3734,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP180200000001\', 2, \'payment\', \'33013\', 5000, 1, \'1\', \'5000\', \'02\', \'18\', \'1\', \'OP-L[00000017]\', \'User\')','expenses/saveExpense','0.024566173553467','2016-08-15 12:20:16'),(3735,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP180200000001\'','expenses/saveExpense','0.016355991363525','2016-08-15 12:20:16'),(3736,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2028','expenses/saveExpense','0.024801969528198','2016-08-15 12:20:16'),(3737,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10871','expenses/saveExpense','0.024784088134766','2016-08-15 12:20:16'),(3738,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP180200000001\'','expenses/saveExpense','0.016415119171143','2016-08-15 12:20:16'),(3739,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33007\', \'2018\', \'2\', \'0\', \'5000\', -5000, \'User\', \'2016-08-15: 06:08:16\')','expenses/saveExpense','0.037153959274292','2016-08-15 12:20:16'),(3740,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33013\', \'2018\', \'2\', \'5000\', \'0\', 5000, \'User\', \'2016-08-15: 06:08:16\')','expenses/saveExpense','0.014387130737305','2016-08-15 12:20:16'),(3741,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'Payment\', \'23\', 0, 1, 1, \'68\', \'5500\', \'OP-L\', \'2018-03-02\', \'148\', \'1\')','expenses/saveExpense','0.072609901428223','2016-08-15 12:21:50'),(3742,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2029, 0, \'Payment\', 1, \'33013\', \'5500\', \'5500\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016625165939331','2016-08-15 12:21:50'),(3743,23,0,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'18\', \'03\', \'AP\', 1)','expenses/saveExpense','0.10091280937195','2016-08-15 12:21:50'),(3744,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP180300000001\' WHERE `ID` =  2029','expenses/saveExpense','0.015201091766357','2016-08-15 12:21:50'),(3745,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP180300000001\', \'Loan Repayment [OP-L[00000018]]\', \'Loan Repayment [OP-L[00000018]]\', \'\', \'3\', \'2018-03-02\', \'18\', \'03\', 5500, 5500, 0)','expenses/saveExpense','0.013915061950684','2016-08-15 12:21:50'),(3746,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP180300000001\', 1, \'Payment\', \'33007\', 5500, 1, \'1\', \'5500\', \'03\', \'18\', \'1\', \'OP-L[00000018]\', \'User\')','expenses/saveExpense','0.016224145889282','2016-08-15 12:21:50'),(3747,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP180300000001\', 2, \'Payment\', \'33013\', 5500, 1, \'1\', \'5500\', \'03\', \'18\', \'1\', \'OP-L[00000018]\', \'User\')','expenses/saveExpense','0.016241073608398','2016-08-15 12:21:50'),(3748,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5500, `total_amount_cr` = 5500, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP180300000001\'','expenses/saveExpense','0.016386985778809','2016-08-15 12:21:50'),(3749,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2029','expenses/saveExpense','0.016490936279297','2016-08-15 12:21:50'),(3750,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10872','expenses/saveExpense','0.016420125961304','2016-08-15 12:21:50'),(3751,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP180300000001\'','expenses/saveExpense','0.016450881958008','2016-08-15 12:21:50'),(3752,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33007\', \'2018\', \'3\', \'0\', \'5500\', -5500, \'User\', \'2016-08-15: 06:08:50\')','expenses/saveExpense','0.01399302482605','2016-08-15 12:21:50'),(3753,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33013\', \'2018\', \'3\', \'5500\', \'0\', 5500, \'User\', \'2016-08-15: 06:08:50\')','expenses/saveExpense','0.01488208770752','2016-08-15 12:21:50'),(3754,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-15\', \'150\', \'200\', \'TT\', \'148\', \'23\', 3)','transfer/newTransfer','0.3325469493866','2016-08-15 14:49:40'),(3755,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2030, \'33007\', \'200\', \'bank3 to bank1\')','transfer/newTransfer','0.041486024856567','2016-08-15 14:49:40'),(3756,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'314\'','transfer/newTransfer','0.037978887557983','2016-08-15 14:49:40'),(3757,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000006\' WHERE `ID` =  2030','transfer/newTransfer','0.014317989349365','2016-08-15 14:49:40'),(3758,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000006\', \' [TT[00000019]]]\', \'Bank Transfer [  [TT[00000019]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 200, 200, \'User\')','transfer/newTransfer','0.029416084289551','2016-08-15 14:49:40'),(3759,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000006\', 1, \'bank3 to bank1\', \'33009\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'TT[00000019]\', \'User\')','transfer/newTransfer','0.026422023773193','2016-08-15 14:49:40'),(3760,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000006\', 2, \'bank3 to bank1\', \'33007\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'TT[00000019]\', \'User\')','transfer/newTransfer','0.016236066818237','2016-08-15 14:49:40'),(3761,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000006\'','transfer/newTransfer','0.042339086532593','2016-08-15 14:49:40'),(3762,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2030','transfer/newTransfer','0.023854970932007','2016-08-15 14:49:40'),(3763,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10873','transfer/newTransfer','0.016471147537231','2016-08-15 14:49:40'),(3764,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000006\'','transfer/newTransfer','0.016427040100098','2016-08-15 14:49:40'),(3765,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33009\', \'2016\', \'8\', \'0\', \'200\', -200, \'User\', \'2016-08-15: 08:08:40\')','transfer/newTransfer','0.03422999382019','2016-08-15 14:49:40'),(3766,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017516136169434','2016-08-15 14:49:40'),(3767,1,1,'192.168.1.211','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-15\', \'82\', \'100\', \'TT\', \'83\', \'1\', 3)','transfer/newTransfer','0.032413005828857','2016-08-15 15:10:15'),(3768,1,1,'192.168.1.211','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2031, \'32516\', \'100\', \'Transfer 1\')','transfer/newTransfer','0.016786098480225','2016-08-15 15:10:15'),(3769,1,1,'192.168.1.211','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'300\'','transfer/newTransfer','0.029911041259766','2016-08-15 15:10:15'),(3770,1,1,'192.168.1.211','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000003\' WHERE `ID` =  2031','transfer/newTransfer','0.026962995529175','2016-08-15 15:10:15'),(3771,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000003\', \' [TT[00000625]]]\', \'Bank Transfer [  [TT[00000625]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 100, 100, \'1\')','transfer/newTransfer','0.029217958450317','2016-08-15 15:10:15'),(3772,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000003\', 1, \'Transfer 1\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000625]\', \'1\')','transfer/newTransfer','0.016206026077271','2016-08-15 15:10:15'),(3773,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000003\', 2, \'Transfer 1\', \'32516\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000625]\', \'1\')','transfer/newTransfer','0.0140700340271','2016-08-15 15:10:15'),(3774,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000003\'','transfer/newTransfer','0.018571138381958','2016-08-15 15:10:15'),(3775,1,1,'192.168.1.211','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2031','transfer/newTransfer','0.016449213027954','2016-08-15 15:10:15'),(3776,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10874','transfer/newTransfer','0.016433000564575','2016-08-15 15:10:15'),(3777,1,1,'192.168.1.211','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000003\'','transfer/newTransfer','0.033161878585815','2016-08-15 15:10:15'),(3778,1,1,'192.168.1.211','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.031105995178223','2016-08-15 15:10:15'),(3779,1,1,'192.168.1.211','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'1\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.023283958435059','2016-08-15 15:10:15'),(3780,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-15\', `bankID` = \'150\', `payTo` = \'152\', `amountPaid` = \'200.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2030\'','transfer/saveTransfer','0.021138191223145','2016-08-15 15:12:09'),(3781,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33011\', `amountExcludedTax` = \'200.00\', `itemdescription` = \'bank3 to petty 2\' WHERE `ID` =  \'1946\'','transfer/saveTransfer','0.019293069839478','2016-08-15 15:12:09'),(3782,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.016671180725098','2016-08-15 15:12:09'),(3783,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000007\' WHERE `ID` =  \'2030\'','transfer/saveTransfer','0.024766206741333','2016-08-15 15:12:09'),(3784,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000007\', \' [TT[00000019]]]\', \'Bank Transfer [  [TT[00000019]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 200, 200, \'User\')','transfer/saveTransfer','0.010540008544922','2016-08-15 15:12:09'),(3785,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000007\', 1, \'bank3 to petty 2\', \'33009\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'TT[00000019]\', \'User\')','transfer/saveTransfer','0.018265008926392','2016-08-15 15:12:09'),(3786,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000007\', 2, \'bank3 to petty 2\', \'33011\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'TT[00000019]\', \'User\')','transfer/saveTransfer','0.016242027282715','2016-08-15 15:12:09'),(3787,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000007\'','transfer/saveTransfer','0.01637601852417','2016-08-15 15:12:09'),(3788,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2030\'','transfer/saveTransfer','0.016507148742676','2016-08-15 15:12:09'),(3789,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10875','transfer/saveTransfer','0.016499042510986','2016-08-15 15:12:09'),(3790,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000007\'','transfer/saveTransfer','0.016386032104492','2016-08-15 15:12:09'),(3791,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.017180919647217','2016-08-15 15:12:09'),(3792,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33011\', \'2016\', \'8\', \'200\', \'0\', 200, \'User\', \'2016-08-15: 09:08:09\')','transfer/saveTransfer','0.016849040985107','2016-08-15 15:12:09'),(3793,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-15\', `bankID` = \'148\', `payTo` = \'149\', `amountPaid` = \'100.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2024\'','transfer/saveTransfer','0.099511861801147','2016-08-15 15:12:38'),(3794,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33008\', `amountExcludedTax` = \'100.00\', `itemdescription` = \'Transfer 1 ke b2\' WHERE `ID` =  \'1940\'','transfer/saveTransfer','0.010290145874023','2016-08-15 15:12:38'),(3795,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.011275053024292','2016-08-15 15:12:38'),(3796,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000008\' WHERE `ID` =  \'2024\'','transfer/saveTransfer','0.03520393371582','2016-08-15 15:12:38'),(3797,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000008\', \' [TT[00000014]]]\', \'Bank Transfer [  [TT[00000014]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 100, 100, \'User\')','transfer/saveTransfer','0.010418891906738','2016-08-15 15:12:38'),(3798,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000008\', 1, \'Transfer 1 ke b2\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000014]\', \'User\')','transfer/saveTransfer','0.018353939056396','2016-08-15 15:12:38'),(3799,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000008\', 2, \'Transfer 1 ke b2\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'TT[00000014]\', \'User\')','transfer/saveTransfer','0.024538993835449','2016-08-15 15:12:38'),(3800,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000008\'','transfer/saveTransfer','0.016387939453125','2016-08-15 15:12:38'),(3801,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2024\'','transfer/saveTransfer','0.016487121582031','2016-08-15 15:12:38'),(3802,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10876','transfer/saveTransfer','0.014050960540771','2016-08-15 15:12:38'),(3803,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000008\'','transfer/saveTransfer','0.018815994262695','2016-08-15 15:12:38'),(3804,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.012042999267578','2016-08-15 15:12:38'),(3805,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.017874956130981','2016-08-15 15:12:38'),(3806,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'pymt\', \'23\', 0, 1, 1, \'68\', \'100\', \'OP-L\', \'2016-08-15\', \'149\', \'1\')','expenses/saveExpense','0.037552118301392','2016-08-15 15:18:04'),(3807,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2032, 0, \'10/08/2016\', 1, \'33013\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.041093111038208','2016-08-15 15:18:04'),(3808,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'314\'','expenses/saveExpense','0.024213075637817','2016-08-15 15:18:04'),(3809,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000009\' WHERE `ID` =  2032','expenses/saveExpense','0.024770975112915','2016-08-15 15:18:04'),(3810,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000009\', \'Loan Repayment [OP-L[00000020]]\', \'Loan Repayment [OP-L[00000020]]\', \'\', \'3\', \'2016-08-15\', \'16\', \'08\', 100, 100, 0)','expenses/saveExpense','0.045936107635498','2016-08-15 15:18:04'),(3811,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000009\', 1, \'10/08/2016\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/saveExpense','0.041204929351807','2016-08-15 15:18:04'),(3812,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000009\', 2, \'10/08/2016\', \'33013\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/saveExpense','0.016247034072876','2016-08-15 15:18:04'),(3813,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000009\'','expenses/saveExpense','0.024735927581787','2016-08-15 15:18:04'),(3814,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2032','expenses/saveExpense','0.016463041305542','2016-08-15 15:18:04'),(3815,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10877','expenses/saveExpense','0.0081119537353516','2016-08-15 15:18:04'),(3816,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000009\'','expenses/saveExpense','0.033091068267822','2016-08-15 15:18:04'),(3817,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022202014923096','2016-08-15 15:18:05'),(3818,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01812219619751','2016-08-15 15:18:05'),(3819,12,0,'192.168.1.199','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-08-10\' WHERE `ID` =  \'12\'','setup/updateCompany','0.10186100006104','2016-08-15 17:43:10'),(3820,12,0,'192.168.1.199','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-08-10\' WHERE `ID` =  \'12\'','setup/updateCompany','0.01668381690979','2016-08-15 17:43:10'),(3821,0,0,'192.168.1.199','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `online` = 0 WHERE `fldid` =  \'User\'','logout/index','0.0068740844726562','2016-08-15 17:47:42'),(3822,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-05\', `bankID` = \'108\', `payTo` = \'110\', `amountPaid` = \'12.00\', `companyID` = \'12\', `updateAble` = 1 WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.020905017852783','2016-08-15 17:49:47'),(3823,12,0,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32574\', `amountExcludedTax` = \'12.00\', `itemdescription` = \'bank 1 ke bank 3\' WHERE `ID` =  \'1876\'','transfer/saveTransfer','0.010864019393921','2016-08-15 17:49:47'),(3824,12,0,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'298\'','transfer/saveTransfer','0.015902042388916','2016-08-15 17:49:47'),(3825,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000004\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.021956920623779','2016-08-15 17:49:47'),(3826,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160800000004\', \' [TT[00000004]]]\', \'Bank Transfer [  [TT[00000004]]] ]\', \'\', \'3\', \'2016-08-05\', \'2016\', \'08\', 12, 12, \'User\')','transfer/saveTransfer','0.010205984115601','2016-08-15 17:49:47'),(3827,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000004\', 1, \'bank 1 ke bank 3\', \'32572\', 12, 1, \'1\', \'12\', \'08\', \'2016\', \'0\', \'TT[00000004]\', \'User\')','transfer/saveTransfer','0.018631935119629','2016-08-15 17:49:47'),(3828,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000004\', 2, \'bank 1 ke bank 3\', \'32574\', 12, 1, \'1\', \'12\', \'08\', \'2016\', \'0\', \'TT[00000004]\', \'User\')','transfer/saveTransfer','0.0082008838653564','2016-08-15 17:49:47'),(3829,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 12, `total_amount_cr` = 12, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000004\'','transfer/saveTransfer','0.016060829162598','2016-08-15 17:49:47'),(3830,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.0084660053253174','2016-08-15 17:49:47'),(3831,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10878','transfer/saveTransfer','0.016152143478394','2016-08-15 17:49:47'),(3832,12,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000004\'','transfer/saveTransfer','0.008350133895874','2016-08-15 17:49:47'),(3833,12,0,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.022129058837891','2016-08-15 17:49:47'),(3834,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32574\', \'2016\', \'8\', \'12\', \'0\', 12, \'User\', \'2016-08-15: 11:08:47\')','transfer/saveTransfer','0.012430906295776','2016-08-15 17:49:47'),(3835,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'80\', \'OP-C\', \'2016-08-08\', \'148\', \'1\')','expenses/saveExpense','0.061081886291504','2016-08-16 10:27:15'),(3836,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2033, 0, \'8/8/2016\', 1, \'33019\', \'80\', \'80\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01780104637146','2016-08-16 10:27:15'),(3837,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'314\'','expenses/saveExpense','0.02894401550293','2016-08-16 10:27:15'),(3838,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000010\' WHERE `ID` =  2033','expenses/saveExpense','0.01093602180481','2016-08-16 10:27:15'),(3839,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000010\', \'Cost of Goods Sold [OP-C[00000021]]\', \'Cost of Goods Sold [OP-C[00000021]]\', \'\', \'3\', \'2016-08-08\', \'16\', \'08\', 80, 80, 0)','expenses/saveExpense','0.0096909999847412','2016-08-16 10:27:15'),(3840,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000010\', 1, \'8/8/2016\', \'33007\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000021]\', \'User\')','expenses/saveExpense','0.010679960250854','2016-08-16 10:27:15'),(3841,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000010\', 2, \'8/8/2016\', \'33019\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000021]\', \'User\')','expenses/saveExpense','0.015940189361572','2016-08-16 10:27:15'),(3842,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 80, `total_amount_cr` = 80, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000010\'','expenses/saveExpense','0.0083448886871338','2016-08-16 10:27:15'),(3843,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2033','expenses/saveExpense','0.016200065612793','2016-08-16 10:27:15'),(3844,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10879','expenses/saveExpense','0.0084362030029297','2016-08-16 10:27:15'),(3845,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000010\'','expenses/saveExpense','0.032774925231934','2016-08-16 10:27:15'),(3846,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011944055557251','2016-08-16 10:27:15'),(3847,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017935037612915','2016-08-16 10:27:15'),(3848,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', 0, 1, 1, \'68\', \'90\', \'OP-C\', \'2016-08-08\', \'149\', \'1\')','expenses/saveExpense','0.079128980636597','2016-08-16 10:34:13'),(3849,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2034, `createdBy` = 0, `itemdescription` = \'AUGUST\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'90\', `amountExcludedTax` = \'90\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1939\'','expenses/saveExpense','0.02424693107605','2016-08-16 10:34:13'),(3850,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'314\'','expenses/saveExpense','0.021529912948608','2016-08-16 10:34:13'),(3851,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000011\' WHERE `ID` =  2034','expenses/saveExpense','0.016189813613892','2016-08-16 10:34:13'),(3852,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000011\', \'Cost of Goods Sold [OP-C[00000022]]\', \'Cost of Goods Sold [OP-C[00000022]]\', \'\', \'3\', \'2016-08-08\', \'16\', \'08\', 90, 90, 0)','expenses/saveExpense','0.010024070739746','2016-08-16 10:34:13'),(3853,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000011\', 1, \'AUGUST\', \'33008\', 90, 1, \'1\', \'90\', \'08\', \'16\', \'1\', \'OP-C[00000022]\', \'User\')','expenses/saveExpense','0.043642997741699','2016-08-16 10:34:13'),(3854,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000011\', 2, \'AUGUST\', \'33019\', 90, 1, \'1\', \'90\', \'08\', \'16\', \'1\', \'OP-C[00000022]\', \'User\')','expenses/saveExpense','0.0081830024719238','2016-08-16 10:34:13'),(3855,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 90, `total_amount_cr` = 90, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.013653039932251','2016-08-16 10:34:13'),(3856,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2034','expenses/saveExpense','0.010900020599365','2016-08-16 10:34:13'),(3857,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10880','expenses/saveExpense','0.016162872314453','2016-08-16 10:34:13'),(3858,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.041682004928589','2016-08-16 10:34:13'),(3859,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022271871566772','2016-08-16 10:34:13'),(3860,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012966871261597','2016-08-16 10:34:13'),(3861,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-15\', `bankID` = \'148\', `payTo` = \'150\', `amountPaid` = \'110.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2024\'','transfer/saveTransfer','0.044859170913696','2016-08-16 10:50:30'),(3862,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33009\', `amountExcludedTax` = \'110.00\', `itemdescription` = \'Transfer 1 ke b3\' WHERE `ID` =  \'1940\'','transfer/saveTransfer','0.025048971176147','2016-08-16 10:50:30'),(3863,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.031661987304688','2016-08-16 10:50:30'),(3864,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000012\' WHERE `ID` =  \'2024\'','transfer/saveTransfer','0.024462938308716','2016-08-16 10:50:30'),(3865,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000012\', \' [TT[00000014]]]\', \'Bank Transfer [  [TT[00000014]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 110, 110, \'User\')','transfer/saveTransfer','0.010052919387817','2016-08-16 10:50:30'),(3866,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000012\', 1, \'Transfer 1 ke b3\', \'33007\', 110, 1, \'1\', \'110\', \'08\', \'2016\', \'0\', \'TT[00000014]\', \'User\')','transfer/saveTransfer','0.026950120925903','2016-08-16 10:50:30'),(3867,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000012\', 2, \'Transfer 1 ke b3\', \'33009\', 110, 1, \'1\', \'110\', \'08\', \'2016\', \'0\', \'TT[00000014]\', \'User\')','transfer/saveTransfer','0.016519069671631','2016-08-16 10:50:30'),(3868,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 110, `total_amount_cr` = 110, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000012\'','transfer/saveTransfer','0.013705015182495','2016-08-16 10:50:30'),(3869,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2024\'','transfer/saveTransfer','0.010841131210327','2016-08-16 10:50:30'),(3870,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10881','transfer/saveTransfer','0.016188144683838','2016-08-16 10:50:30'),(3871,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000012\'','transfer/saveTransfer','0.030649900436401','2016-08-16 10:50:30'),(3872,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.030617952346802','2016-08-16 10:50:30'),(3873,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.012936115264893','2016-08-16 10:50:30'),(3874,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-15\', `bankID` = \'150\', `payTo` = \'148\', `amountPaid` = \'220.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2030\'','transfer/saveTransfer','0.093519926071167','2016-08-16 10:51:51'),(3875,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'220.00\', `itemdescription` = \'bank3 to bank 1\' WHERE `ID` =  \'1946\'','transfer/saveTransfer','0.016097068786621','2016-08-16 10:51:51'),(3876,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.012817144393921','2016-08-16 10:51:51'),(3877,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000013\' WHERE `ID` =  \'2030\'','transfer/saveTransfer','0.018737077713013','2016-08-16 10:51:51'),(3878,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000013\', \' [TT[00000019]]]\', \'Bank Transfer [  [TT[00000019]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 220, 220, \'User\')','transfer/saveTransfer','0.010148048400879','2016-08-16 10:51:51'),(3879,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000013\', 1, \'bank3 to bank 1\', \'33009\', 220, 1, \'1\', \'220\', \'08\', \'2016\', \'0\', \'TT[00000019]\', \'User\')','transfer/saveTransfer','0.018523931503296','2016-08-16 10:51:51'),(3880,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000013\', 2, \'bank3 to bank 1\', \'33007\', 220, 1, \'1\', \'220\', \'08\', \'2016\', \'0\', \'TT[00000019]\', \'User\')','transfer/saveTransfer','0.016510009765625','2016-08-16 10:51:51'),(3881,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 220, `total_amount_cr` = 220, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000013\'','transfer/saveTransfer','0.016091108322144','2016-08-16 10:51:51'),(3882,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2030\'','transfer/saveTransfer','0.016736030578613','2016-08-16 10:51:51'),(3883,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10882','transfer/saveTransfer','0.016233921051025','2016-08-16 10:51:51'),(3884,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000013\'','transfer/saveTransfer','0.016720056533813','2016-08-16 10:51:51'),(3885,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.010993957519531','2016-08-16 10:51:51'),(3886,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.018022060394287','2016-08-16 10:51:51'),(3887,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'148\', \'66\', \'TT\', \'148\', \'23\', 3)','transfer/newTransfer','0.14550399780273','2016-08-16 10:53:56'),(3888,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2035, \'33007\', \'66\', \'66\')','transfer/newTransfer','0.016779899597168','2016-08-16 10:53:56'),(3889,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'314\'','transfer/newTransfer','0.013569116592407','2016-08-16 10:53:56'),(3890,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000014\' WHERE `ID` =  2035','transfer/newTransfer','0.019038200378418','2016-08-16 10:53:56'),(3891,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000014\', \' [TT[00000023]]]\', \'Bank Transfer [  [TT[00000023]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 66, 66, \'User\')','transfer/newTransfer','0.009876012802124','2016-08-16 10:53:56'),(3892,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000014\', 1, \'66\', \'33007\', 66, 1, \'1\', \'66\', \'08\', \'2016\', \'0\', \'TT[00000023]\', \'User\')','transfer/newTransfer','0.018722057342529','2016-08-16 10:53:56'),(3893,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000014\', 2, \'66\', \'33007\', 66, 1, \'1\', \'66\', \'08\', \'2016\', \'0\', \'TT[00000023]\', \'User\')','transfer/newTransfer','0.015869855880737','2016-08-16 10:53:56'),(3894,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 66, `total_amount_cr` = 66, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000014\'','transfer/newTransfer','0.016837120056152','2016-08-16 10:53:56'),(3895,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2035','transfer/newTransfer','0.016142129898071','2016-08-16 10:53:56'),(3896,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10883','transfer/newTransfer','0.016770124435425','2016-08-16 10:53:56'),(3897,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000014\'','transfer/newTransfer','0.016128063201904','2016-08-16 10:53:56'),(3898,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.01215386390686','2016-08-16 10:53:56'),(3899,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017666101455688','2016-08-16 10:53:56'),(3900,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'pymt\', `companyID` = \'23\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'200\', `formNo` = \'OP-L\', `paymentDate` = \'2016-08-15\', `bankId` = \'149\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2032\'','expenses/saveExpense','0.022042036056519','2016-08-16 10:56:25'),(3901,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2032\', `createdBy` = 0, `itemdescription` = \'10/08/2016\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'200\', `amountExcludedTax` = \'200\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1948\'','expenses/saveExpense','0.015921831130981','2016-08-16 10:56:25'),(3902,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'314\'','expenses/saveExpense','0.024778127670288','2016-08-16 10:56:25'),(3903,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000015\' WHERE `ID` =  \'2032\'','expenses/saveExpense','0.016648054122925','2016-08-16 10:56:25'),(3904,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000015\', \'Loan Repayment [OP-L[00000020]]\', \'Loan Repayment [OP-L[00000020]]\', \'\', \'3\', \'2016-08-15\', \'16\', \'08\', 200, 200, 0)','expenses/saveExpense','0.12934708595276','2016-08-16 10:56:25'),(3905,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000015\', 1, \'10/08/2016\', \'33008\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/saveExpense','0.018424987792969','2016-08-16 10:56:25'),(3906,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000015\', 2, \'10/08/2016\', \'33013\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/saveExpense','0.016525983810425','2016-08-16 10:56:25'),(3907,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000015\'','expenses/saveExpense','0.016086101531982','2016-08-16 10:56:25'),(3908,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2032\'','expenses/saveExpense','0.016800165176392','2016-08-16 10:56:25'),(3909,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10884','expenses/saveExpense','0.016146898269653','2016-08-16 10:56:25'),(3910,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000015\'','expenses/saveExpense','0.016695976257324','2016-08-16 10:56:25'),(3911,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012017965316772','2016-08-16 10:56:25'),(3912,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017958879470825','2016-08-16 10:56:25'),(3913,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-15\', `bankID` = \'33013\', `payTo` = \'148\', `amountPaid` = \'20\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.10934090614319','2016-08-16 10:56:58'),(3914,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'20\', `itemdescription` = \'received\' WHERE `ID` =  \'1941\'','loanReceive/update_loan','0.024441003799438','2016-08-16 10:56:58'),(3915,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'314\'','loanReceive/update_loan','0.02048921585083','2016-08-16 10:56:58'),(3916,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000016\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.016139030456543','2016-08-16 10:56:58'),(3917,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000016\', \' [LR[00000015]]]\', \'Loan Received [  [LR[00000015]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 20, 20, \'User\')','loanReceive/update_loan','0.010324954986572','2016-08-16 10:56:58'),(3918,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000016\', 1, \'received\', \'33013\', 20, 1, \'1\', \'20\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.018378019332886','2016-08-16 10:56:58'),(3919,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000016\', 2, \'received\', \'33007\', 20, 1, \'1\', \'20\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.016488075256348','2016-08-16 10:56:58'),(3920,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000016\'','loanReceive/update_loan','0.030642032623291','2016-08-16 10:56:58'),(3921,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.018932104110718','2016-08-16 10:56:58'),(3922,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10885','loanReceive/update_loan','0.016197919845581','2016-08-16 10:56:58'),(3923,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000016\'','loanReceive/update_loan','0.016658782958984','2016-08-16 10:56:58'),(3924,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.022423982620239','2016-08-16 10:56:58'),(3925,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.013154029846191','2016-08-16 10:56:58'),(3926,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'122\', \'123\', \'TT\', \'122\', \'13\', 3)','transfer/newTransfer','0.094741106033325','2016-08-16 10:57:01'),(3927,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2036, \'32761\', \'123\', \'fad\')','transfer/newTransfer','0.051814079284668','2016-08-16 10:57:01'),(3928,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  \'282\'','transfer/newTransfer','0.018777847290039','2016-08-16 10:57:01'),(3929,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000031\' WHERE `ID` =  2036','transfer/newTransfer','0.016165018081665','2016-08-16 10:57:01'),(3930,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000031\', \' [TT[00000069]]]\', \'Bank Transfer [  [TT[00000069]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 123, 123, \'User\')','transfer/newTransfer','0.020461082458496','2016-08-16 10:57:01'),(3931,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000031\', 1, \'fad\', \'32761\', 123, 1, \'1\', \'123\', \'08\', \'2016\', \'0\', \'TT[00000069]\', \'User\')','transfer/newTransfer','0.014420032501221','2016-08-16 10:57:01'),(3932,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000031\', 2, \'fad\', \'32761\', 123, 1, \'1\', \'123\', \'08\', \'2016\', \'0\', \'TT[00000069]\', \'User\')','transfer/newTransfer','0.018649816513062','2016-08-16 10:57:01'),(3933,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000031\'','transfer/newTransfer','0.016107082366943','2016-08-16 10:57:01'),(3934,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2036','transfer/newTransfer','0.016768932342529','2016-08-16 10:57:01'),(3935,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10886','transfer/newTransfer','0.016180992126465','2016-08-16 10:57:01'),(3936,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000031\'','transfer/newTransfer','0.016710996627808','2016-08-16 10:57:01'),(3937,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.030815839767456','2016-08-16 10:57:01'),(3938,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.015680074691772','2016-08-16 10:57:01'),(3939,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-15\', `bankID` = \'33013\', `payTo` = \'148\', `amountPaid` = \'30\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.021826028823853','2016-08-16 10:57:38'),(3940,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'30\', `itemdescription` = \'received\' WHERE `ID` =  \'1941\'','loanReceive/update_loan','0.016672849655151','2016-08-16 10:57:38'),(3941,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'314\'','loanReceive/update_loan','0.017560005187988','2016-08-16 10:57:38'),(3942,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000017\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.016712188720703','2016-08-16 10:57:38'),(3943,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000017\', \' [LR[00000015]]]\', \'Loan Received [  [LR[00000015]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 30, 30, \'User\')','loanReceive/update_loan','0.010036945343018','2016-08-16 10:57:38'),(3944,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000017\', 1, \'received\', \'33013\', 30, 1, \'1\', \'30\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.018544912338257','2016-08-16 10:57:38'),(3945,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000017\', 2, \'received\', \'33007\', 30, 1, \'1\', \'30\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.015948057174683','2016-08-16 10:57:38'),(3946,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000017\'','loanReceive/update_loan','0.016677141189575','2016-08-16 10:57:38'),(3947,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.016207933425903','2016-08-16 10:57:38'),(3948,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10887','loanReceive/update_loan','0.016757965087891','2016-08-16 10:57:38'),(3949,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000017\'','loanReceive/update_loan','0.016083002090454','2016-08-16 10:57:38'),(3950,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.023093938827515','2016-08-16 10:57:38'),(3951,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.013016939163208','2016-08-16 10:57:38'),(3952,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33014\', \'50\', \'LR\', \'148\', \'23\', 3)','loanReceive/save_new_loan','0.10543894767761','2016-08-16 10:58:08'),(3953,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2037, \'33007\', \'50\', \'cuba lagi\')','loanReceive/save_new_loan','0.016196012496948','2016-08-16 10:58:08'),(3954,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'314\'','loanReceive/save_new_loan','0.053237915039062','2016-08-16 10:58:08'),(3955,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000018\' WHERE `ID` =  2037','loanReceive/save_new_loan','0.016156911849976','2016-08-16 10:58:08'),(3956,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000018\', \' [LR[00000024]]]\', \'Loan Received [  [LR[00000024]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 50, 50, \'User\')','loanReceive/save_new_loan','0.010493040084839','2016-08-16 10:58:08'),(3957,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000018\', 1, \'cuba lagi\', \'33014\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000024]\', \'User\')','loanReceive/save_new_loan','0.018165826797485','2016-08-16 10:58:08'),(3958,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000018\', 2, \'cuba lagi\', \'33007\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000024]\', \'User\')','loanReceive/save_new_loan','0.016520023345947','2016-08-16 10:58:08'),(3959,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000018\'','loanReceive/save_new_loan','0.016114950180054','2016-08-16 10:58:08'),(3960,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2037','loanReceive/save_new_loan','0.016760110855103','2016-08-16 10:58:09'),(3961,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10888','loanReceive/save_new_loan','0.016199111938477','2016-08-16 10:58:09'),(3962,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000018\'','loanReceive/save_new_loan','0.050375938415527','2016-08-16 10:58:09'),(3963,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33014\', \'2016\', \'8\', \'0\', \'50\', -50, \'User\', \'2016-08-16: 04:08:08\')','loanReceive/save_new_loan','0.030148983001709','2016-08-16 10:58:09'),(3964,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.12983393669128','2016-08-16 10:58:09'),(3965,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0016031265258789','2016-08-16 10:58:47'),(3966,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'149\', \'10000\', \'TT\', \'148\', \'23\', 3)','transfer/newTransfer','0.038594007492065','2016-08-16 10:59:54'),(3967,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2038, \'33007\', \'10000\', \'harini try\')','transfer/newTransfer','0.14304113388062','2016-08-16 10:59:54'),(3968,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'314\'','transfer/newTransfer','0.039223909378052','2016-08-16 10:59:54'),(3969,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000019\' WHERE `ID` =  2038','transfer/newTransfer','0.024497032165527','2016-08-16 10:59:55'),(3970,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000019\', \' [TT[00000025]]]\', \'Bank Transfer [  [TT[00000025]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 10000, 10000, \'User\')','transfer/newTransfer','0.010505199432373','2016-08-16 10:59:55'),(3971,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000019\', 1, \'harini try\', \'33008\', 10000, 1, \'1\', \'10000\', \'08\', \'2016\', \'0\', \'TT[00000025]\', \'User\')','transfer/newTransfer','0.018145084381104','2016-08-16 10:59:55'),(3972,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000019\', 2, \'harini try\', \'33007\', 10000, 1, \'1\', \'10000\', \'08\', \'2016\', \'0\', \'TT[00000025]\', \'User\')','transfer/newTransfer','0.016517162322998','2016-08-16 10:59:55'),(3973,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000019\'','transfer/newTransfer','0.016127824783325','2016-08-16 10:59:55'),(3974,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2038','transfer/newTransfer','0.016752004623413','2016-08-16 10:59:55'),(3975,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10889','transfer/newTransfer','0.016193866729736','2016-08-16 10:59:55'),(3976,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000019\'','transfer/newTransfer','0.016711950302124','2016-08-16 10:59:55'),(3977,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.012201070785522','2016-08-16 10:59:55'),(3978,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017645835876465','2016-08-16 10:59:55'),(3979,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'149\', `payTo` = \'148\', `amountPaid` = \'9000\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2038\'','transfer/saveTransfer','0.087001085281372','2016-08-16 11:00:38'),(3980,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'9000\', `itemdescription` = \'harini try\' WHERE `ID` =  \'1953\'','transfer/saveTransfer','0.024425029754639','2016-08-16 11:00:38'),(3981,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.023297071456909','2016-08-16 11:00:38'),(3982,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000020\' WHERE `ID` =  \'2038\'','transfer/saveTransfer','0.016151905059814','2016-08-16 11:00:38'),(3983,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000020\', \' [TT[00000025]]]\', \'Bank Transfer [  [TT[00000025]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 9000, 9000, \'User\')','transfer/saveTransfer','0.020902156829834','2016-08-16 11:00:38'),(3984,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000020\', 1, \'harini try\', \'33008\', 9000, 1, \'1\', \'9000\', \'08\', \'2016\', \'0\', \'TT[00000025]\', \'User\')','transfer/saveTransfer','0.024189949035645','2016-08-16 11:00:38'),(3985,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000020\', 2, \'harini try\', \'33007\', 9000, 1, \'1\', \'9000\', \'08\', \'2016\', \'0\', \'TT[00000025]\', \'User\')','transfer/saveTransfer','0.024815797805786','2016-08-16 11:00:38'),(3986,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 9000, `total_amount_cr` = 9000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000020\'','transfer/saveTransfer','0.016078948974609','2016-08-16 11:00:38'),(3987,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2038\'','transfer/saveTransfer','0.016743898391724','2016-08-16 11:00:38'),(3988,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10890','transfer/saveTransfer','0.024519920349121','2016-08-16 11:00:38'),(3989,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000020\'','transfer/saveTransfer','0.016670942306519','2016-08-16 11:00:38'),(3990,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.025154113769531','2016-08-16 11:00:38'),(3991,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.015647888183594','2016-08-16 11:00:38'),(3992,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'149\', `payTo` = \'148\', `amountPaid` = \'8000\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2038\'','transfer/saveTransfer','0.20666790008545','2016-08-16 11:01:01'),(3993,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'8000\', `itemdescription` = \'harini try\' WHERE `ID` =  \'1953\'','transfer/saveTransfer','0.054772138595581','2016-08-16 11:01:01'),(3994,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.012903928756714','2016-08-16 11:01:01'),(3995,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000021\' WHERE `ID` =  \'2038\'','transfer/saveTransfer','0.018532037734985','2016-08-16 11:01:01'),(3996,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000021\', \' [TT[00000025]]]\', \'Bank Transfer [  [TT[00000025]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 8000, 8000, \'User\')','transfer/saveTransfer','0.010384082794189','2016-08-16 11:01:01'),(3997,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000021\', 1, \'harini try\', \'33008\', 8000, 1, \'1\', \'8000\', \'08\', \'2016\', \'0\', \'TT[00000025]\', \'User\')','transfer/saveTransfer','0.018321990966797','2016-08-16 11:01:01'),(3998,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000021\', 2, \'harini try\', \'33007\', 8000, 1, \'1\', \'8000\', \'08\', \'2016\', \'0\', \'TT[00000025]\', \'User\')','transfer/saveTransfer','0.015927076339722','2016-08-16 11:01:01'),(3999,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 8000, `total_amount_cr` = 8000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000021\'','transfer/saveTransfer','0.016666173934937','2016-08-16 11:01:01'),(4000,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2038\'','transfer/saveTransfer','0.016216039657593','2016-08-16 11:01:01'),(4001,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10891','transfer/saveTransfer','0.016764879226685','2016-08-16 11:01:01'),(4002,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000021\'','transfer/saveTransfer','0.016106843948364','2016-08-16 11:01:01'),(4003,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.011922836303711','2016-08-16 11:01:01'),(4004,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.017163038253784','2016-08-16 11:01:01'),(4005,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', 0, 1, 1, \'68\', \'2580\', \'OP-A\', \'2016-08-16\', \'110\', \'1\')','expenses/saveExpense','0.043868064880371','2016-08-16 11:02:22'),(4006,12,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2039, 0, \'pc baru\', 1, \'32563\', \'2580\', \'2580\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.018038988113403','2016-08-16 11:02:22'),(4007,12,0,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'298\'','expenses/saveExpense','0.0096521377563477','2016-08-16 11:02:22'),(4008,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000005\' WHERE `ID` =  2039','expenses/saveExpense','0.018243074417114','2016-08-16 11:02:22'),(4009,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160800000005\', \'Purchase of Fixed Asset [OP-A[00000007]]\', \'Purchase of Fixed Asset [OP-A[00000007]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 2580, 2580, 0)','expenses/saveExpense','0.010645151138306','2016-08-16 11:02:22'),(4010,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000005\', 1, \'pc baru\', \'32574\', 2580, 1, \'1\', \'2580\', \'08\', \'16\', \'1\', \'OP-A[00000007]\', \'User\')','expenses/saveExpense','0.01796817779541','2016-08-16 11:02:22'),(4011,12,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000005\', 2, \'pc baru\', \'32563\', 2580, 1, \'1\', \'2580\', \'08\', \'16\', \'1\', \'OP-A[00000007]\', \'User\')','expenses/saveExpense','0.016481876373291','2016-08-16 11:02:23'),(4012,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 2580, `total_amount_cr` = 2580, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.01612401008606','2016-08-16 11:02:23'),(4013,12,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2039','expenses/saveExpense','0.016816139221191','2016-08-16 11:02:23'),(4014,12,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10893','expenses/saveExpense','0.016147136688232','2016-08-16 11:02:23'),(4015,12,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.016692876815796','2016-08-16 11:02:23'),(4016,12,0,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32574\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012418985366821','2016-08-16 11:02:23'),(4017,12,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'2\', \'32563\', \'2016\', \'8\', \'2580\', \'0\', 2580, \'User\', \'2016-08-16: 05:08:22\')','expenses/saveExpense','0.016882181167603','2016-08-16 11:02:23'),(4018,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'122\', `payTo` = \'122\', `amountPaid` = \'124\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2036\'','transfer/saveTransfer','0.01177191734314','2016-08-16 11:21:14'),(4019,13,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32761\', `amountExcludedTax` = \'124\', `itemdescription` = \'fad\' WHERE `ID` =  \'1951\'','transfer/saveTransfer','0.017871141433716','2016-08-16 11:21:14'),(4020,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.031345844268799','2016-08-16 11:21:14'),(4021,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000032\' WHERE `ID` =  \'2036\'','transfer/saveTransfer','0.033351898193359','2016-08-16 11:21:14'),(4022,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000032\', \' [TT[00000069]]]\', \'Bank Transfer [  [TT[00000069]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 124, 124, \'User\')','transfer/saveTransfer','0.029122829437256','2016-08-16 11:21:14'),(4023,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000032\', 1, \'fad\', \'32761\', 124, 1, \'1\', \'124\', \'08\', \'2016\', \'0\', \'TT[00000069]\', \'User\')','transfer/saveTransfer','0.041186094284058','2016-08-16 11:21:14'),(4024,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000032\', 2, \'fad\', \'32761\', 124, 1, \'1\', \'124\', \'08\', \'2016\', \'0\', \'TT[00000069]\', \'User\')','transfer/saveTransfer','0.032882928848267','2016-08-16 11:21:14'),(4025,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 124, `total_amount_cr` = 124, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000032\'','transfer/saveTransfer','0.041334867477417','2016-08-16 11:21:14'),(4026,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2036\'','transfer/saveTransfer','0.033126831054688','2016-08-16 11:21:14'),(4027,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10894','transfer/saveTransfer','0.033117055892944','2016-08-16 11:21:14'),(4028,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000032\'','transfer/saveTransfer','0.047822952270508','2016-08-16 11:21:14'),(4029,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.038953065872192','2016-08-16 11:21:14'),(4030,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.032024145126343','2016-08-16 11:21:14'),(4031,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'126\', \'125\', \'TT\', \'126\', \'13\', 3)','transfer/newTransfer','0.28964781761169','2016-08-16 11:21:39'),(4032,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2040, \'32765\', \'125\', \'huhu\')','transfer/newTransfer','0.016242027282715','2016-08-16 11:21:39'),(4033,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  \'282\'','transfer/newTransfer','0.10370397567749','2016-08-16 11:21:39'),(4034,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000033\' WHERE `ID` =  2040','transfer/newTransfer','0.024808168411255','2016-08-16 11:21:39'),(4035,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000033\', \' [TT[00000070]]]\', \'Bank Transfer [  [TT[00000070]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 125, 125, \'User\')','transfer/newTransfer','0.010962963104248','2016-08-16 11:21:39'),(4036,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000033\', 1, \'huhu\', \'32765\', 125, 1, \'1\', \'125\', \'08\', \'2016\', \'0\', \'TT[00000070]\', \'User\')','transfer/newTransfer','0.026011943817139','2016-08-16 11:21:39'),(4037,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000033\', 2, \'huhu\', \'32765\', 125, 1, \'1\', \'125\', \'08\', \'2016\', \'0\', \'TT[00000070]\', \'User\')','transfer/newTransfer','0.016522884368896','2016-08-16 11:21:39'),(4038,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 125, `total_amount_cr` = 125, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000033\'','transfer/newTransfer','0.024444103240967','2016-08-16 11:21:39'),(4039,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2040','transfer/newTransfer','0.016746997833252','2016-08-16 11:21:39'),(4040,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10895','transfer/newTransfer','0.016181945800781','2016-08-16 11:21:39'),(4041,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000033\'','transfer/newTransfer','0.016724109649658','2016-08-16 11:21:39'),(4042,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.024696826934814','2016-08-16 11:21:39'),(4043,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017162084579468','2016-08-16 11:21:39'),(4044,25,0,'192.168.1.220','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'8\', `incorporateDate` = \'2016-08-16\' WHERE `ID` =  \'25\'','setup/updateCompany','0.10374116897583','2016-08-16 11:23:19'),(4045,25,0,'192.168.1.220','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'8\', `incorporateDate` = \'2016-08-16\' WHERE `ID` =  \'25\'','setup/updateCompany','0.017714023590088','2016-08-16 11:23:19'),(4046,24,0,'192.168.1.204','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'18\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'24\'','setup/updateCompany','0.091722965240479','2016-08-16 11:24:17'),(4047,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'18\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'24\'','setup/updateCompany','0.016742944717407','2016-08-16 11:24:17'),(4048,25,0,'192.168.1.220','update','UPDATE `company` SET `uploadLogo` = \'25.JPG\' WHERE `ID` =  \'25\'','setup/companySetup','0.03162407875061','2016-08-16 11:25:10'),(4049,25,0,'192.168.1.220','update','UPDATE `company` SET `companyName` = \'kedai cermin mata\', `line1` = \'no 54\', `line2` = \'jalan cermin\', `line3` = \'kawasan industri cermin\', `city` = \'bandar mata\', `companyPostCode` = \'85000\', `companyStateID` = \'1930\', `countryID` = \'458\', `parlimenID` = \'192\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-08-16\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'25.JPG\', `updatedBy` = 0 WHERE `ID` =  \'25\'','setup/companySetup','0.00047993659973145','2016-08-16 11:25:10'),(4050,25,0,'192.168.1.220','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'kedai cermin mata\', `line1` = \'no 54\', `line2` = \'jalan cermin\', `line3` = \'kawasan industri cermin\', `city` = \'bandar mata\', `companyPostCode` = \'85000\', `companyStateID` = \'1930\', `countryID` = \'458\', `parlimenID` = \'192\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-08-16\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'25.JPG\', `updatedBy` = 0 WHERE `ID` =  \'25\'','setup/companySetup','0.024439096450806','2016-08-16 11:25:10'),(4051,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'122\', \'142\', \'TT\', \'122\', \'13\', 3)','transfer/newTransfer','0.14095592498779','2016-08-16 11:26:43'),(4052,13,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2041, \'32761\', \'142\', \'142\')','transfer/newTransfer','0.016182899475098','2016-08-16 11:26:43'),(4053,13,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  \'282\'','transfer/newTransfer','0.028223037719727','2016-08-16 11:26:43'),(4054,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000034\' WHERE `ID` =  2041','transfer/newTransfer','0.016177177429199','2016-08-16 11:26:43'),(4055,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000034\', \' [TT[00000071]]]\', \'Bank Transfer [  [TT[00000071]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 142, 142, \'User\')','transfer/newTransfer','0.010971069335938','2016-08-16 11:26:43'),(4056,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000034\', 1, \'142\', \'32761\', 142, 1, \'1\', \'142\', \'08\', \'2016\', \'0\', \'TT[00000071]\', \'User\')','transfer/newTransfer','0.03429102897644','2016-08-16 11:26:43'),(4057,13,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000034\', 2, \'142\', \'32761\', 142, 1, \'1\', \'142\', \'08\', \'2016\', \'0\', \'TT[00000071]\', \'User\')','transfer/newTransfer','0.016498804092407','2016-08-16 11:26:43'),(4058,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 142, `total_amount_cr` = 142, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000034\'','transfer/newTransfer','0.016127824783325','2016-08-16 11:26:43'),(4059,13,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2041','transfer/newTransfer','0.050089120864868','2016-08-16 11:26:43'),(4060,13,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10896','transfer/newTransfer','0.016158819198608','2016-08-16 11:26:43'),(4061,13,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000034\'','transfer/newTransfer','0.033377885818481','2016-08-16 11:26:43'),(4062,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.022518873214722','2016-08-16 11:26:43'),(4063,13,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.024011135101318','2016-08-16 11:26:43'),(4064,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.0012269020080566','2016-08-16 11:29:44'),(4065,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.0012490749359131','2016-08-16 11:29:50'),(4066,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0012588500976562','2016-08-16 11:32:19'),(4067,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.0012211799621582','2016-08-16 11:32:35'),(4068,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.097497940063477','2016-08-16 11:32:38'),(4069,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0015861988067627','2016-08-16 11:33:24'),(4070,24,0,'192.168.1.204','update','UPDATE `company` SET `uploadLogo` = \'24.JPG\' WHERE `ID` =  \'24\'','setup/companySetup','0.11514210700989','2016-08-16 11:33:30'),(4071,24,0,'192.168.1.204','update','UPDATE `company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.00039005279541016','2016-08-16 11:33:30'),(4072,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.043636083602905','2016-08-16 11:33:30'),(4073,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.021780014038086','2016-08-16 11:33:42'),(4074,24,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.21172189712524','2016-08-16 11:33:46'),(4075,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.052160978317261','2016-08-16 11:33:51'),(4076,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.028838872909546','2016-08-16 11:33:51'),(4077,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016529560089111','2016-08-16 11:34:01'),(4078,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'maybank\', `currentBalance` = \'1000\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'155\'','bank/saveBank','0.020117044448853','2016-08-16 11:34:29'),(4079,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'maybank\', `openingBalanceDr` = 1000, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33070\'','bank/saveBank','0.016026020050049','2016-08-16 11:34:29'),(4080,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0015928745269775','2016-08-16 11:34:31'),(4081,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'150\', \'444\', \'TT\', \'150\', \'23\', 3)','transfer/newTransfer','0.079187870025635','2016-08-16 11:34:31'),(4082,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2042, \'33009\', \'444\', \'fad\')','transfer/newTransfer','0.025120973587036','2016-08-16 11:34:32'),(4083,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'314\'','transfer/newTransfer','0.029162883758545','2016-08-16 11:34:32'),(4084,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000022\' WHERE `ID` =  2042','transfer/newTransfer','0.016726016998291','2016-08-16 11:34:32'),(4085,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000022\', \' [TT[00000026]]]\', \'Bank Transfer [  [TT[00000026]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 444, 444, \'User\')','transfer/newTransfer','0.019467830657959','2016-08-16 11:34:32'),(4086,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000022\', 1, \'fad\', \'33009\', 444, 1, \'1\', \'444\', \'08\', \'2016\', \'0\', \'TT[00000026]\', \'User\')','transfer/newTransfer','0.017490863800049','2016-08-16 11:34:32'),(4087,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000022\', 2, \'fad\', \'33009\', 444, 1, \'1\', \'444\', \'08\', \'2016\', \'0\', \'TT[00000026]\', \'User\')','transfer/newTransfer','0.015985012054443','2016-08-16 11:34:32'),(4088,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 444, `total_amount_cr` = 444, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000022\'','transfer/newTransfer','0.049715042114258','2016-08-16 11:34:32'),(4089,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2042','transfer/newTransfer','0.016711950302124','2016-08-16 11:34:32'),(4090,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10897','transfer/newTransfer','0.031829118728638','2016-08-16 11:34:32'),(4091,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000022\'','transfer/newTransfer','0.042375087738037','2016-08-16 11:34:32'),(4092,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.0311439037323','2016-08-16 11:34:32'),(4093,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.03199577331543','2016-08-16 11:34:32'),(4094,24,0,'192.168.1.204','update','UPDATE `comp_bank` SET `bankName` = \'Maybank\', `currentBalance` = \'100\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'162\'','bank/saveBank','0.025058031082153','2016-08-16 11:34:32'),(4095,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Maybank\', `openingBalanceDr` = 100, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33133\'','bank/saveBank','0.016621112823486','2016-08-16 11:34:32'),(4096,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.0038259029388428','2016-08-16 11:34:34'),(4097,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'cimb\', `currentBalance` = \'20\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'156\'','bank/saveBank','0.061956882476807','2016-08-16 11:34:45'),(4098,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'cimb\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33071\'','bank/saveBank','0.016627073287964','2016-08-16 11:34:45'),(4099,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016510486602783','2016-08-16 11:34:46'),(4100,24,0,'192.168.1.204','update','UPDATE `comp_bank` SET `bankName` = \'Bank Islam\', `currentBalance` = \'100\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'163\'','bank/saveBank','0.090415000915527','2016-08-16 11:34:50'),(4101,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Islam\', `openingBalanceDr` = 100, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33134\'','bank/saveBank','0.050171852111816','2016-08-16 11:34:50'),(4102,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.0016469955444336','2016-08-16 11:34:52'),(4103,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'Bank islam\', `currentBalance` = \'as\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'157\'','bank/saveBank','0.024097204208374','2016-08-16 11:35:03'),(4104,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank islam\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33072\'','bank/saveBank','0.01604700088501','2016-08-16 11:35:03'),(4105,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016579627990723','2016-08-16 11:35:06'),(4106,24,0,'192.168.1.204','update','UPDATE `comp_bank` SET `bankName` = \'RHB Bank\', `currentBalance` = \'100\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'164\'','bank/saveBank','0.020184993743896','2016-08-16 11:35:07'),(4107,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'RHB Bank\', `openingBalanceDr` = 100, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33135\'','bank/saveBank','0.016028165817261','2016-08-16 11:35:07'),(4108,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.0016419887542725','2016-08-16 11:35:09'),(4109,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016331672668457','2016-08-16 11:35:27'),(4110,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'Bank islam\', `currentBalance` = \'10\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'157\'','bank/saveBank','0.092848062515259','2016-08-16 11:35:36'),(4111,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank islam\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33072\'','bank/saveBank','0.058579921722412','2016-08-16 11:35:36'),(4112,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0017080307006836','2016-08-16 11:35:38'),(4113,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 1	\', `currentBalance` = \'3000\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'158\'','bank/saveBank','0.14447903633118','2016-08-16 11:35:55'),(4114,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 1	\', `openingBalanceDr` = 3000, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33073\'','bank/saveBank','0.016642093658447','2016-08-16 11:35:55'),(4115,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.023540019989014','2016-08-16 11:35:57'),(4116,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 2	\', `currentBalance` = \'0.50\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'159\'','bank/saveBank','0.088589906692505','2016-08-16 11:36:10'),(4117,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 2	\', `openingBalanceDr` = 0.5, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33074\'','bank/saveBank','0.016623020172119','2016-08-16 11:36:10'),(4118,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0015759468078613','2016-08-16 11:36:11'),(4119,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'buy stock\', `openingBalanceCr` = \'100\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33076\'','setup/saveLoan','0.091455936431885','2016-08-16 11:37:27'),(4120,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'24\', 0, 1, 1, \'68\', \'400\', \'OP-C\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.12060213088989','2016-08-16 11:39:06'),(4121,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2043, 0, \'telefon\', 1, \'33145\', \'400\', \'400\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.041013956069946','2016-08-16 11:39:06'),(4122,24,0,'192.168.1.204','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'24\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.016149997711182','2016-08-16 11:39:06'),(4123,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  2043','expenses/saveExpense','0.025547981262207','2016-08-16 11:39:06'),(4124,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP160800000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 400, 400, 0)','expenses/saveExpense','0.037398099899292','2016-08-16 11:39:06'),(4125,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP160800000001\', 1, \'telefon\', \'33133\', 400, 1, \'1\', \'400\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.041553974151611','2016-08-16 11:39:06'),(4126,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP160800000001\', 2, \'telefon\', \'33145\', 400, 1, \'1\', \'400\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.015910148620605','2016-08-16 11:39:06'),(4127,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 400, `total_amount_cr` = 400, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.050022125244141','2016-08-16 11:39:06'),(4128,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2043','expenses/saveExpense','0.016183853149414','2016-08-16 11:39:06'),(4129,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10900','expenses/saveExpense','0.016753911972046','2016-08-16 11:39:06'),(4130,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.032763957977295','2016-08-16 11:39:06'),(4131,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.039290904998779','2016-08-16 11:39:06'),(4132,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'8\', \'33145\', \'2016\', \'8\', \'400\', \'0\', 400, \'User\', \'2016-08-16: 05:08:06\')','expenses/saveExpense','0.019773960113525','2016-08-16 11:39:06'),(4133,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'24\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'480\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-16\', `bankId` = \'162\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2043\'','expenses/saveExpense','0.02175498008728','2016-08-16 11:39:34'),(4134,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2043\', `createdBy` = 0, `itemdescription` = \'telefon\', `lineNo` = 1, `accountID` = \'33145\', `amountIncludedTax` = \'400\', `amountExcludedTax` = \'400\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1958\'','expenses/saveExpense','0.0013759136199951','2016-08-16 11:39:34'),(4135,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2043\', 0, \'lampu\', 1, \'33145\', \'80\', \'80\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.023221015930176','2016-08-16 11:39:34'),(4136,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'334\'','expenses/saveExpense','0.034862041473389','2016-08-16 11:39:34'),(4137,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000002\' WHERE `ID` =  \'2043\'','expenses/saveExpense','0.025060892105103','2016-08-16 11:39:34'),(4138,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000002\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 480, 480, 0)','expenses/saveExpense','0.015115022659302','2016-08-16 11:39:34'),(4139,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000002\', 1, \'telefon\', \'33133\', 400, 1, \'1\', \'400\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.02485203742981','2016-08-16 11:39:34'),(4140,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000002\', 2, \'telefon\', \'33145\', 400, 1, \'1\', \'400\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.015934944152832','2016-08-16 11:39:34'),(4141,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000002\', 3, \'lampu\', \'33133\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.016506910324097','2016-08-16 11:39:34'),(4142,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000002\', 4, \'lampu\', \'33145\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/saveExpense','0.015944957733154','2016-08-16 11:39:35'),(4143,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 480, `total_amount_cr` = 480, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.025008916854858','2016-08-16 11:39:35'),(4144,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2043\'','expenses/saveExpense','0.016226053237915','2016-08-16 11:39:35'),(4145,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10901','expenses/saveExpense','0.02507209777832','2016-08-16 11:39:35'),(4146,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.016116857528687','2016-08-16 11:39:35'),(4147,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014721155166626','2016-08-16 11:39:35'),(4148,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33145\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015133142471313','2016-08-16 11:39:35'),(4149,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015710115432739','2016-08-16 11:39:35'),(4150,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33145\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015130996704102','2016-08-16 11:39:35'),(4151,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'150\', `payTo` = \'150\', `amountPaid` = \'4447\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.024465084075928','2016-08-16 11:40:28'),(4152,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33009\', `amountExcludedTax` = \'4447\', `itemdescription` = \'fad\' WHERE `ID` =  \'1957\'','transfer/saveTransfer','0.016088962554932','2016-08-16 11:40:28'),(4153,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.022255897521973','2016-08-16 11:40:28'),(4154,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000023\' WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.01611590385437','2016-08-16 11:40:28'),(4155,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000023\', \' [TT[00000026]]]\', \'Bank Transfer [  [TT[00000026]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 4447, 4447, \'User\')','transfer/saveTransfer','0.012176036834717','2016-08-16 11:40:28'),(4156,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000023\', 1, \'fad\', \'33009\', 4447, 1, \'1\', \'4447\', \'08\', \'2016\', \'0\', \'TT[00000026]\', \'User\')','transfer/saveTransfer','0.016481876373291','2016-08-16 11:40:28'),(4157,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000023\', 2, \'fad\', \'33009\', 4447, 1, \'1\', \'4447\', \'08\', \'2016\', \'0\', \'TT[00000026]\', \'User\')','transfer/saveTransfer','0.016522169113159','2016-08-16 11:40:28'),(4158,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 4447, `total_amount_cr` = 4447, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000023\'','transfer/saveTransfer','0.016088962554932','2016-08-16 11:40:28'),(4159,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.016769170761108','2016-08-16 11:40:28'),(4160,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10902','transfer/saveTransfer','0.016201972961426','2016-08-16 11:40:28'),(4161,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000023\'','transfer/saveTransfer','0.016680002212524','2016-08-16 11:40:28'),(4162,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.025509834289551','2016-08-16 11:40:28'),(4163,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.015705108642578','2016-08-16 11:40:28'),(4164,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-05\', `bankID` = \'162\', `payTo` = \'164\', `amountPaid` = \'\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.019777059555054','2016-08-16 11:40:58'),(4165,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33135\', `amountExcludedTax` = \'\', `itemdescription` = \'maybank ke rhb\' WHERE `ID` =  \'1876\'','transfer/saveTransfer','0.016728162765503','2016-08-16 11:40:58'),(4166,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'334\'','transfer/saveTransfer','0.016669988632202','2016-08-16 11:40:58'),(4167,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000003\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016727924346924','2016-08-16 11:40:58'),(4168,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000003\', \' [TT[00000004]]]\', \'Bank Transfer [  [TT[00000004]]] ]\', \'\', \'3\', \'2016-08-05\', \'2016\', \'08\', 0, 0, \'User\')','transfer/saveTransfer','0.0121169090271','2016-08-16 11:40:58'),(4169,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016861915588379','2016-08-16 11:40:58'),(4170,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10903','transfer/saveTransfer','0.016130924224854','2016-08-16 11:40:58'),(4171,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000003\'','transfer/saveTransfer','0.00038409233093262','2016-08-16 11:40:58'),(4172,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'148\', \'7788\', \'TT\', \'148\', \'23\', 3)','transfer/newTransfer','0.12605285644531','2016-08-16 11:41:07'),(4173,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2044, \'33007\', \'7788\', \'fasd\')','transfer/newTransfer','0.016769886016846','2016-08-16 11:41:07'),(4174,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'314\'','transfer/newTransfer','0.016494035720825','2016-08-16 11:41:07'),(4175,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000024\' WHERE `ID` =  2044','transfer/newTransfer','0.016765117645264','2016-08-16 11:41:07'),(4176,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000024\', \' [TT[00000027]]]\', \'Bank Transfer [  [TT[00000027]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 7788, 7788, \'User\')','transfer/newTransfer','0.037168979644775','2016-08-16 11:41:07'),(4177,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000024\', 1, \'fasd\', \'33007\', 7788, 1, \'1\', \'7788\', \'08\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/newTransfer','0.016483068466187','2016-08-16 11:41:07'),(4178,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000024\', 2, \'fasd\', \'33007\', 7788, 1, \'1\', \'7788\', \'08\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/newTransfer','0.024281024932861','2016-08-16 11:41:07'),(4179,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 7788, `total_amount_cr` = 7788, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000024\'','transfer/newTransfer','0.016689777374268','2016-08-16 11:41:07'),(4180,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2044','transfer/newTransfer','0.016142129898071','2016-08-16 11:41:07'),(4181,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10904','transfer/newTransfer','0.016803979873657','2016-08-16 11:41:07'),(4182,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000024\'','transfer/newTransfer','0.01612401008606','2016-08-16 11:41:07'),(4183,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.012765884399414','2016-08-16 11:41:07'),(4184,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.023919105529785','2016-08-16 11:41:07'),(4185,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-05\', `bankID` = \'162\', `payTo` = \'164\', `amountPaid` = \'\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.10167598724365','2016-08-16 11:41:26'),(4186,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33135\', `amountExcludedTax` = \'\', `itemdescription` = \'maybank ke rhb\' WHERE `ID` =  \'1876\'','transfer/saveTransfer','0.00033283233642578','2016-08-16 11:41:26'),(4187,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'334\'','transfer/saveTransfer','0.01677680015564','2016-08-16 11:41:26'),(4188,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000004\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016139984130859','2016-08-16 11:41:26'),(4189,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000004\', \' [TT[00000004]]]\', \'Bank Transfer [  [TT[00000004]]] ]\', \'\', \'3\', \'2016-08-05\', \'2016\', \'08\', 0, 0, \'User\')','transfer/saveTransfer','0.012516021728516','2016-08-16 11:41:26'),(4190,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016608953475952','2016-08-16 11:41:26'),(4191,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10905','transfer/saveTransfer','0.016746044158936','2016-08-16 11:41:26'),(4192,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000004\'','transfer/saveTransfer','0.0033049583435059','2016-08-16 11:41:26'),(4193,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.34485816955566','2016-08-16 11:43:21'),(4194,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-05\', `bankID` = \'162\', `payTo` = \'164\', `amountPaid` = \'\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.058300971984863','2016-08-16 11:43:24'),(4195,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33135\', `amountExcludedTax` = \'\', `itemdescription` = \'maybank ke rhb\' WHERE `ID` =  \'1876\'','transfer/saveTransfer','0.050082921981812','2016-08-16 11:43:24'),(4196,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'334\'','transfer/saveTransfer','0.024134874343872','2016-08-16 11:43:24'),(4197,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000005\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016334056854248','2016-08-16 11:43:25'),(4198,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000005\', \' [TT[00000004]]]\', \'Bank Transfer [  [TT[00000004]]] ]\', \'\', \'3\', \'2016-08-05\', \'2016\', \'08\', 0, 0, \'User\')','transfer/saveTransfer','0.012279987335205','2016-08-16 11:43:25'),(4199,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016350984573364','2016-08-16 11:43:25'),(4200,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10907','transfer/saveTransfer','0.016499996185303','2016-08-16 11:43:25'),(4201,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000005\'','transfer/saveTransfer','0.036368846893311','2016-08-16 11:43:25'),(4202,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'300\', \'OP-A\', \'2016-08-16\', \'163\', \'1\')','expenses/saveExpense','0.045468807220459','2016-08-16 11:45:32'),(4203,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2045, 0, \'Sofa\', 1, \'33122\', \'300\', \'300\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.050082921981812','2016-08-16 11:45:32'),(4204,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'334\'','expenses/saveExpense','0.030075788497925','2016-08-16 11:45:32'),(4205,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000006\' WHERE `ID` =  2045','expenses/saveExpense','0.024842977523804','2016-08-16 11:45:32'),(4206,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000006\', \'Purchase of Fixed Asset [OP-A[00000005]]\', \'Purchase of Fixed Asset [OP-A[00000005]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 300, 300, 0)','expenses/saveExpense','0.03741979598999','2016-08-16 11:45:32'),(4207,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000006\', 1, \'Sofa\', \'33134\', 300, 1, \'1\', \'300\', \'08\', \'16\', \'1\', \'OP-A[00000005]\', \'User\')','expenses/saveExpense','0.066229104995728','2016-08-16 11:45:32'),(4208,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000006\', 2, \'Sofa\', \'33122\', 300, 1, \'1\', \'300\', \'08\', \'16\', \'1\', \'OP-A[00000005]\', \'User\')','expenses/saveExpense','0.016200065612793','2016-08-16 11:45:32'),(4209,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.016386032104492','2016-08-16 11:45:32'),(4210,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2045','expenses/saveExpense','0.016433954238892','2016-08-16 11:45:32'),(4211,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10908','expenses/saveExpense','0.024845838546753','2016-08-16 11:45:32'),(4212,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.016363143920898','2016-08-16 11:45:32'),(4213,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'3\', \'33134\', \'2016\', \'8\', \'0\', \'300\', -300, \'User\', \'2016-08-16: 05:08:32\')','expenses/saveExpense','0.034568071365356','2016-08-16 11:45:32'),(4214,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'2\', \'33122\', \'2016\', \'8\', \'300\', \'0\', 300, \'User\', \'2016-08-16: 05:08:32\')','expenses/saveExpense','0.014822959899902','2016-08-16 11:45:33'),(4215,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'148\', `payTo` = \'148\', `amountPaid` = \'7799\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.087575197219849','2016-08-16 11:45:42'),(4216,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'7799\', `itemdescription` = \'fasd\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016397953033447','2016-08-16 11:45:42'),(4217,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.049782991409302','2016-08-16 11:45:42'),(4218,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000025\' WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.033056020736694','2016-08-16 11:45:42'),(4219,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000025\', \' [TT[00000027]]]\', \'Bank Transfer [  [TT[00000027]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 7799, 7799, \'User\')','transfer/saveTransfer','0.026190042495728','2016-08-16 11:45:42'),(4220,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000025\', 1, \'fasd\', \'33007\', 7799, 1, \'1\', \'7799\', \'08\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/saveTransfer','0.057439804077148','2016-08-16 11:45:42'),(4221,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000025\', 2, \'fasd\', \'33007\', 7799, 1, \'1\', \'7799\', \'08\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/saveTransfer','0.041685819625854','2016-08-16 11:45:42'),(4222,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 7799, `total_amount_cr` = 7799, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000025\'','transfer/saveTransfer','0.04135799407959','2016-08-16 11:45:42'),(4223,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.041019916534424','2016-08-16 11:45:42'),(4224,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10909','transfer/saveTransfer','0.033595085144043','2016-08-16 11:45:42'),(4225,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000025\'','transfer/saveTransfer','0.033039808273315','2016-08-16 11:45:42'),(4226,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.031052827835083','2016-08-16 11:45:42'),(4227,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.032029151916504','2016-08-16 11:45:42'),(4228,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'148\', \'6666\', \'TT\', \'148\', \'23\', 3)','transfer/newTransfer','0.058336973190308','2016-08-16 11:46:39'),(4229,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2046, \'33007\', \'6666\', \'fad\')','transfer/newTransfer','0.049834012985229','2016-08-16 11:46:39'),(4230,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'314\'','transfer/newTransfer','0.03244686126709','2016-08-16 11:46:39'),(4231,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000026\' WHERE `ID` =  2046','transfer/newTransfer','0.024389028549194','2016-08-16 11:46:39'),(4232,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000026\', \' [TT[00000028]]]\', \'Bank Transfer [  [TT[00000028]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 6666, 6666, \'User\')','transfer/newTransfer','0.012676954269409','2016-08-16 11:46:39'),(4233,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000026\', 1, \'fad\', \'33007\', 6666, 1, \'1\', \'6666\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/newTransfer','0.024156093597412','2016-08-16 11:46:39'),(4234,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000026\', 2, \'fad\', \'33007\', 6666, 1, \'1\', \'6666\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/newTransfer','0.016613960266113','2016-08-16 11:46:39'),(4235,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 6666, `total_amount_cr` = 6666, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000026\'','transfer/newTransfer','0.01633882522583','2016-08-16 11:46:39'),(4236,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2046','transfer/newTransfer','0.01648998260498','2016-08-16 11:46:39'),(4237,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10910','transfer/newTransfer','0.016480922698975','2016-08-16 11:46:39'),(4238,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000026\'','transfer/newTransfer','0.04144287109375','2016-08-16 11:46:39'),(4239,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.022876024246216','2016-08-16 11:46:39'),(4240,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.015426874160767','2016-08-16 11:46:39'),(4241,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'148\', `payTo` = \'148\', `amountPaid` = \'7777\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.027949094772339','2016-08-16 11:46:59'),(4242,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'7777\', `itemdescription` = \'fad\' WHERE `ID` =  \'1962\'','transfer/saveTransfer','0.049737215042114','2016-08-16 11:46:59'),(4243,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.0223548412323','2016-08-16 11:46:59'),(4244,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000027\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.016438007354736','2016-08-16 11:46:59'),(4245,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000027\', \' [TT[00000028]]]\', \'Bank Transfer [  [TT[00000028]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 7777, 7777, \'User\')','transfer/saveTransfer','0.011564016342163','2016-08-16 11:46:59'),(4246,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000027\', 1, \'fad\', \'33007\', 7777, 1, \'1\', \'7777\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.017046928405762','2016-08-16 11:46:59'),(4247,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000027\', 2, \'fad\', \'33007\', 7777, 1, \'1\', \'7777\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.01616907119751','2016-08-16 11:46:59'),(4248,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 7777, `total_amount_cr` = 7777, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000027\'','transfer/saveTransfer','0.016401052474976','2016-08-16 11:46:59'),(4249,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.01663613319397','2016-08-16 11:46:59'),(4250,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10911','transfer/saveTransfer','0.016477823257446','2016-08-16 11:46:59'),(4251,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000027\'','transfer/saveTransfer','0.016412019729614','2016-08-16 11:46:59'),(4252,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.026456117630005','2016-08-16 11:46:59'),(4253,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.015398979187012','2016-08-16 11:46:59'),(4254,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.0016930103302002','2016-08-16 11:47:14'),(4255,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'100\', \'OP-E\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.27062106132507','2016-08-16 11:48:48'),(4256,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2047, 0, \'Demam\', 1, \'33155\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.04240608215332','2016-08-16 11:48:48'),(4257,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'334\'','expenses/saveExpense','0.023942947387695','2016-08-16 11:48:48'),(4258,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000007\' WHERE `ID` =  2047','expenses/saveExpense','0.024795055389404','2016-08-16 11:48:48'),(4259,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000007\', \'Operating Expenses [OP-E[00000006]]\', \'Operating Expenses [OP-E[00000006]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 100, 100, 0)','expenses/saveExpense','0.037458896636963','2016-08-16 11:48:48'),(4260,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000007\', 1, \'Demam\', \'33133\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000006]\', \'User\')','expenses/saveExpense','0.048610925674438','2016-08-16 11:48:48'),(4261,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000007\', 2, \'Demam\', \'33155\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000006]\', \'User\')','expenses/saveExpense','0.017138004302979','2016-08-16 11:48:48'),(4262,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.023797988891602','2016-08-16 11:48:48'),(4263,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2047','expenses/saveExpense','0.017390966415405','2016-08-16 11:48:48'),(4264,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10913','expenses/saveExpense','0.023847818374634','2016-08-16 11:48:48'),(4265,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.017364978790283','2016-08-16 11:48:48'),(4266,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023425102233887','2016-08-16 11:48:48'),(4267,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'10\', \'33155\', \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-16: 05:08:48\')','expenses/saveExpense','0.019572019577026','2016-08-16 11:48:48'),(4268,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'25\', 0, 1, 1, \'68\', \'100\', \'OP-A\', \'2016-08-16\', \'155\', \'1\')','expenses/saveExpense','0.053870916366577','2016-08-16 11:48:48'),(4269,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2048, 0, \'kerusi\', 1, \'33059\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.033042192459106','2016-08-16 11:48:48'),(4270,25,0,'192.168.1.220','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'25\', \'3\', \'16\', \'08\', \'AP\', 1)','expenses/saveExpense','0.039921998977661','2016-08-16 11:48:48'),(4271,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160800000001\' WHERE `ID` =  2048','expenses/saveExpense','0.04974889755249','2016-08-16 11:48:48'),(4272,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP160800000001\', \'Purchase of Fixed Asset [OP-A[00000001]]\', \'Purchase of Fixed Asset [OP-A[00000001]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 100, 100, 0)','expenses/saveExpense','0.029079914093018','2016-08-16 11:48:48'),(4273,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP160800000001\', 1, \'kerusi\', \'33070\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-A[00000001]\', \'User\')','expenses/saveExpense','0.032894134521484','2016-08-16 11:48:48'),(4274,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP160800000001\', 2, \'kerusi\', \'33059\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-A[00000001]\', \'User\')','expenses/saveExpense','0.032823085784912','2016-08-16 11:48:48'),(4275,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.057109117507935','2016-08-16 11:48:48'),(4276,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2048','expenses/saveExpense','0.050595998764038','2016-08-16 11:48:48'),(4277,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10914','expenses/saveExpense','0.033128976821899','2016-08-16 11:48:48'),(4278,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP160800000001\'','expenses/saveExpense','0.091449975967407','2016-08-16 11:48:48'),(4279,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'3\', \'33070\', \'2016\', \'8\', \'0\', \'100\', -100, \'User\', \'2016-08-16: 05:08:48\')','expenses/saveExpense','0.029796123504639','2016-08-16 11:48:48'),(4280,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'2\', \'33059\', \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-16: 05:08:48\')','expenses/saveExpense','0.014806032180786','2016-08-16 11:48:48'),(4281,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0026240348815918','2016-08-16 11:49:39'),(4282,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'50\', \'OP-E\', \'2016-08-16\', \'164\', \'1\')','expenses/saveExpense','0.096893072128296','2016-08-16 11:50:53'),(4283,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2049, 0, \'Minyak hitam\', 1, \'33157\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.040297985076904','2016-08-16 11:50:53'),(4284,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'334\'','expenses/saveExpense','0.024857997894287','2016-08-16 11:50:53'),(4285,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000008\' WHERE `ID` =  2049','expenses/saveExpense','0.016459941864014','2016-08-16 11:50:53'),(4286,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000008\', \'Operating Expenses [OP-E[00000007]]\', \'Operating Expenses [OP-E[00000007]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 50, 50, 0)','expenses/saveExpense','0.036115884780884','2016-08-16 11:50:53'),(4287,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000008\', 1, \'Minyak hitam\', \'33135\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-E[00000007]\', \'User\')','expenses/saveExpense','0.059153079986572','2016-08-16 11:50:53'),(4288,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000008\', 2, \'Minyak hitam\', \'33157\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-E[00000007]\', \'User\')','expenses/saveExpense','0.024564981460571','2016-08-16 11:50:53'),(4289,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000008\'','expenses/saveExpense','0.033017873764038','2016-08-16 11:50:53'),(4290,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2049','expenses/saveExpense','0.033186912536621','2016-08-16 11:50:53'),(4291,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10915','expenses/saveExpense','0.16077089309692','2016-08-16 11:50:53'),(4292,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000008\'','expenses/saveExpense','0.030325174331665','2016-08-16 11:50:53'),(4293,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'3\', \'33135\', \'2016\', \'8\', \'0\', \'50\', -50, \'User\', \'2016-08-16: 05:08:53\')','expenses/saveExpense','0.036633014678955','2016-08-16 11:50:53'),(4294,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'10\', \'33157\', \'2016\', \'8\', \'50\', \'0\', 50, \'User\', \'2016-08-16: 05:08:53\')','expenses/saveExpense','0.022852182388306','2016-08-16 11:50:53'),(4295,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'24\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'50\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-16\', `bankId` = \'164\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2049\'','expenses/saveExpense','0.019078016281128','2016-08-16 11:50:54'),(4296,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2049\', `createdBy` = 0, `itemdescription` = \'Minyak hitam\', `lineNo` = 1, `accountID` = \'33157\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1965\'','expenses/saveExpense','0.00033092498779297','2016-08-16 11:50:54'),(4297,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'334\'','expenses/saveExpense','0.022707939147949','2016-08-16 11:50:54'),(4298,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000009\' WHERE `ID` =  \'2049\'','expenses/saveExpense','0.016481161117554','2016-08-16 11:50:54'),(4299,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000009\', \'Operating Expenses [OP-E[00000007]]\', \'Operating Expenses [OP-E[00000007]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 50, 50, 0)','expenses/saveExpense','0.023669004440308','2016-08-16 11:50:54'),(4300,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000009\', 1, \'Minyak hitam\', \'33135\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-E[00000007]\', \'User\')','expenses/saveExpense','0.016178131103516','2016-08-16 11:50:54'),(4301,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000009\', 2, \'Minyak hitam\', \'33157\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-E[00000007]\', \'User\')','expenses/saveExpense','0.016288042068481','2016-08-16 11:50:54'),(4302,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000009\'','expenses/saveExpense','0.041346073150635','2016-08-16 11:50:54'),(4303,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2049\'','expenses/saveExpense','0.033143997192383','2016-08-16 11:50:54'),(4304,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10916','expenses/saveExpense','0.01640796661377','2016-08-16 11:50:54'),(4305,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000009\'','expenses/saveExpense','0.016459941864014','2016-08-16 11:50:55'),(4306,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'50\', \'OP-E\', \'2016-08-16\', \'164\', \'1\')','expenses/saveExpense','0.043807029724121','2016-08-16 11:50:55'),(4307,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.031070947647095','2016-08-16 11:50:55'),(4308,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2050, `createdBy` = 0, `itemdescription` = \'Minyak hitam\', `lineNo` = 1, `accountID` = \'33157\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1965\'','expenses/saveExpense','0.032875061035156','2016-08-16 11:50:55'),(4309,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33157\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.040369987487793','2016-08-16 11:50:55'),(4310,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'334\'','expenses/saveExpense','0.031246900558472','2016-08-16 11:50:55'),(4311,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000010\' WHERE `ID` =  2050','expenses/saveExpense','0.033105850219727','2016-08-16 11:50:55'),(4312,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000010\', \'Operating Expenses [OP-E[00000008]]\', \'Operating Expenses [OP-E[00000008]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 50, 50, 0)','expenses/saveExpense','0.040201902389526','2016-08-16 11:50:55'),(4313,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000010\', 1, \'Minyak hitam\', \'33135\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-E[00000008]\', \'User\')','expenses/saveExpense','0.032809019088745','2016-08-16 11:50:55'),(4314,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000010\', 2, \'Minyak hitam\', \'33157\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-E[00000008]\', \'User\')','expenses/saveExpense','0.032859086990356','2016-08-16 11:50:55'),(4315,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000010\'','expenses/saveExpense','0.058069944381714','2016-08-16 11:50:55'),(4316,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2050','expenses/saveExpense','0.073736190795898','2016-08-16 11:50:55'),(4317,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10917','expenses/saveExpense','0.03413200378418','2016-08-16 11:50:55'),(4318,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000010\'','expenses/saveExpense','0.032989978790283','2016-08-16 11:50:55'),(4319,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.031074047088623','2016-08-16 11:50:55'),(4320,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33157\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032010078430176','2016-08-16 11:50:55'),(4321,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.016824960708618','2016-08-16 11:51:57'),(4322,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016219615936279','2016-08-16 11:56:01'),(4323,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.013628959655762','2016-08-16 11:59:31'),(4324,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'cimb\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'156\'','bank/saveBank','0.0011999607086182','2016-08-16 11:59:41'),(4325,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'cimb\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33071\'','bank/saveBank','0.0013041496276855','2016-08-16 11:59:41'),(4326,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0031969547271729','2016-08-16 11:59:43'),(4327,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'Bank islam\', `currentBalance` = \'10.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'157\'','bank/saveBank','0.0012228488922119','2016-08-16 11:59:48'),(4328,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank islam\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33072\'','bank/saveBank','0.0013580322265625','2016-08-16 11:59:48'),(4329,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.2571918964386','2016-08-16 11:59:49'),(4330,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'Bank islam\', `currentBalance` = \'10.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'157\'','bank/saveBank','0.0012311935424805','2016-08-16 12:00:04'),(4331,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank islam\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33072\'','bank/saveBank','0.00033020973205566','2016-08-16 12:00:04'),(4332,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.001633882522583','2016-08-16 12:00:06'),(4333,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'Bank islam\', `currentBalance` = \'10.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'157\'','bank/saveBank','0.00041389465332031','2016-08-16 12:00:12'),(4334,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank islam\', `openingBalanceDr` = 10, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33072\'','bank/saveBank','0.0003349781036377','2016-08-16 12:00:12'),(4335,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0014259815216064','2016-08-16 12:00:14'),(4336,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'cimb\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'156\'','bank/saveBank','0.00049400329589844','2016-08-16 12:00:34'),(4337,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'cimb\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33071\'','bank/saveBank','0.0003349781036377','2016-08-16 12:00:34'),(4338,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016710758209229','2016-08-16 12:00:37'),(4339,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'cimb\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'156\'','bank/saveBank','0.083554983139038','2016-08-16 12:01:10'),(4340,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'cimb\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33071\'','bank/saveBank','0.011861801147461','2016-08-16 12:01:10'),(4341,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.024594783782959','2016-08-16 12:01:12'),(4342,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0017240047454834','2016-08-16 12:01:25'),(4343,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'cimb\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'156\'','bank/saveBank','0.014655113220215','2016-08-16 12:01:32'),(4344,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'cimb\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33071\'','bank/saveBank','0.011878967285156','2016-08-16 12:01:32'),(4345,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.026571989059448','2016-08-16 12:01:34'),(4346,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'148\', `payTo` = \'148\', `amountPaid` = \'12345\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.032573938369751','2016-08-16 12:01:52'),(4347,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'12345\', `itemdescription` = \'fad\' WHERE `ID` =  \'1962\'','transfer/saveTransfer','0.051197052001953','2016-08-16 12:01:52'),(4348,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.024719953536987','2016-08-16 12:01:52'),(4349,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000028\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.016387939453125','2016-08-16 12:01:52'),(4350,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000028\', \' [TT[00000028]]]\', \'Bank Transfer [  [TT[00000028]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 12345, 12345, \'User\')','transfer/saveTransfer','0.02055811882019','2016-08-16 12:01:52'),(4351,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000028\', 1, \'fad\', \'33007\', 12345, 1, \'1\', \'12345\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.014570951461792','2016-08-16 12:01:52'),(4352,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000028\', 2, \'fad\', \'33007\', 12345, 1, \'1\', \'12345\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.034518957138062','2016-08-16 12:01:52'),(4353,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 12345, `total_amount_cr` = 12345, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000028\'','transfer/saveTransfer','0.033023834228516','2016-08-16 12:01:52'),(4354,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.016450166702271','2016-08-16 12:01:52'),(4355,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10922','transfer/saveTransfer','0.016485929489136','2016-08-16 12:01:52'),(4356,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000028\'','transfer/saveTransfer','0.03304386138916','2016-08-16 12:01:52'),(4357,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.023962020874023','2016-08-16 12:01:52'),(4358,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.18950700759888','2016-08-16 12:01:52'),(4359,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.03295111656189','2016-08-16 12:02:06'),(4360,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.13503313064575','2016-08-16 12:02:24'),(4361,23,0,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0016341209411621','2016-08-16 12:02:29'),(4362,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0059518814086914','2016-08-16 12:02:37'),(4363,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.17846488952637','2016-08-16 12:02:41'),(4364,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'148\', \'9090\', \'TT\', \'148\', \'23\', 3)','transfer/newTransfer','0.33241391181946','2016-08-16 12:02:41'),(4365,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2051, \'33007\', \'9090\', \'fadhirul\')','transfer/newTransfer','0.081686019897461','2016-08-16 12:02:41'),(4366,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'314\'','transfer/newTransfer','0.058145999908447','2016-08-16 12:02:41'),(4367,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000029\' WHERE `ID` =  2051','transfer/newTransfer','0.033102989196777','2016-08-16 12:02:41'),(4368,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000029\', \' [TT[00000029]]]\', \'Bank Transfer [  [TT[00000029]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 9090, 9090, \'User\')','transfer/newTransfer','0.070769071578979','2016-08-16 12:02:41'),(4369,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000029\', 1, \'fadhirul\', \'33007\', 9090, 1, \'1\', \'9090\', \'08\', \'2016\', \'0\', \'TT[00000029]\', \'User\')','transfer/newTransfer','0.19112300872803','2016-08-16 12:02:41'),(4370,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000029\', 2, \'fadhirul\', \'33007\', 9090, 1, \'1\', \'9090\', \'08\', \'2016\', \'0\', \'TT[00000029]\', \'User\')','transfer/newTransfer','0.08283805847168','2016-08-16 12:02:41'),(4371,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 9090, `total_amount_cr` = 9090, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000029\'','transfer/newTransfer','0.14135003089905','2016-08-16 12:02:41'),(4372,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2051','transfer/newTransfer','0.050293922424316','2016-08-16 12:02:42'),(4373,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10923','transfer/newTransfer','0.024249792098999','2016-08-16 12:02:42'),(4374,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000029\'','transfer/newTransfer','0.05803108215332','2016-08-16 12:02:42'),(4375,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.024111032485962','2016-08-16 12:02:42'),(4376,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.015406847000122','2016-08-16 12:02:42'),(4377,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0045549869537354','2016-08-16 12:02:43'),(4378,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'cimb\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'156\'','bank/saveBank','0.0015840530395508','2016-08-16 12:02:49'),(4379,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'cimb\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33071\'','bank/saveBank','0.0016040802001953','2016-08-16 12:02:49'),(4380,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.030280828475952','2016-08-16 12:02:50'),(4381,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016598701477051','2016-08-16 12:03:04'),(4382,25,0,'192.168.1.220','update','UPDATE `comp_bank` SET `bankName` = \'cimb\', `currentBalance` = \'20.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'156\'','bank/saveBank','0.00037884712219238','2016-08-16 12:03:09'),(4383,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'cimb\', `openingBalanceDr` = 20, `openingBalanceCr` = 0, `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33071\'','bank/saveBank','0.00033307075500488','2016-08-16 12:03:09'),(4384,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.016643047332764','2016-08-16 12:03:10'),(4385,24,0,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.33897089958191','2016-08-16 12:06:02'),(4386,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'25\', 0, 1, 1, \'68\', \'10\', \'OP-E\', \'2016-08-16\', \'156\', \'1\')','expenses/saveExpense','0.097636938095093','2016-08-16 12:11:51'),(4387,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2052, 0, \'despatch \', 1, \'33097\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.039273977279663','2016-08-16 12:11:51'),(4388,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'336\'','expenses/saveExpense','0.027915954589844','2016-08-16 12:11:51'),(4389,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000002\' WHERE `ID` =  2052','expenses/saveExpense','0.10309886932373','2016-08-16 12:11:51'),(4390,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000002\', \'Operating Expenses [OP-E[00000002]]\', \'Operating Expenses [OP-E[00000002]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 10, 10, 0)','expenses/saveExpense','0.049061059951782','2016-08-16 12:11:51'),(4391,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000002\', 1, \'despatch \', \'33071\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-E[00000002]\', \'User\')','expenses/saveExpense','0.042914152145386','2016-08-16 12:11:51'),(4392,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000002\', 2, \'despatch \', \'33097\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-E[00000002]\', \'User\')','expenses/saveExpense','0.016243934631348','2016-08-16 12:11:51'),(4393,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.033036947250366','2016-08-16 12:11:51'),(4394,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2052','expenses/saveExpense','0.016506910324097','2016-08-16 12:11:51'),(4395,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10924','expenses/saveExpense','0.02476692199707','2016-08-16 12:11:51'),(4396,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000002\'','expenses/saveExpense','0.033057928085327','2016-08-16 12:11:51'),(4397,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'3\', \'33071\', \'2016\', \'8\', \'0\', \'10\', -10, \'User\', \'2016-08-16: 06:08:51\')','expenses/saveExpense','0.038847923278809','2016-08-16 12:11:51'),(4398,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'10\', \'33097\', \'2016\', \'8\', \'10\', \'0\', 10, \'User\', \'2016-08-16: 06:08:51\')','expenses/saveExpense','0.014850854873657','2016-08-16 12:11:51'),(4399,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'33158\'','setup/saveExpenses','0.092551946640015','2016-08-16 12:17:12'),(4400,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2049\'','expenses/removePayment','0.024719953536987','2016-08-16 12:18:39'),(4401,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'25\', 0, 1, 1, \'68\', \'200\', \'OP-C\', \'2016-08-16\', \'158\', \'1\')','expenses/saveExpense','0.041223049163818','2016-08-16 12:19:44'),(4402,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2053, 0, \'cermin\', 1, \'33082\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.018656015396118','2016-08-16 12:19:44'),(4403,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'336\'','expenses/saveExpense','0.022435903549194','2016-08-16 12:19:44'),(4404,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000003\' WHERE `ID` =  2053','expenses/saveExpense','0.01645302772522','2016-08-16 12:19:44'),(4405,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000003\', \'Cost of Goods Sold [OP-C[00000003]]\', \'Cost of Goods Sold [OP-C[00000003]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 200, 200, 0)','expenses/saveExpense','0.018695831298828','2016-08-16 12:19:44'),(4406,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000003\', 1, \'cermin\', \'33073\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-C[00000003]\', \'User\')','expenses/saveExpense','0.026711940765381','2016-08-16 12:19:44'),(4407,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000003\', 2, \'cermin\', \'33082\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-C[00000003]\', \'User\')','expenses/saveExpense','0.016212940216064','2016-08-16 12:19:44'),(4408,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000003\'','expenses/saveExpense','0.016397953033447','2016-08-16 12:19:44'),(4409,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2053','expenses/saveExpense','0.024832963943481','2016-08-16 12:19:44'),(4410,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10925','expenses/saveExpense','0.02476692199707','2016-08-16 12:19:44'),(4411,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000003\'','expenses/saveExpense','0.030935049057007','2016-08-16 12:19:44'),(4412,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33073\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014681100845337','2016-08-16 12:19:44'),(4413,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'8\', \'33082\', \'2016\', \'8\', \'200\', \'0\', 200, \'User\', \'2016-08-16: 06:08:44\')','expenses/saveExpense','0.025041103363037','2016-08-16 12:19:44'),(4414,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'158\', \'3000\', \'TT\', \'155\', \'25\', 3)','transfer/newTransfer','0.07024884223938','2016-08-16 12:26:25'),(4415,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2055, \'33070\', \'3000\', \'simpan duit\')','transfer/newTransfer','0.052138090133667','2016-08-16 12:26:25'),(4416,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'336\'','transfer/newTransfer','0.032134056091309','2016-08-16 12:26:25'),(4417,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000004\' WHERE `ID` =  2055','transfer/newTransfer','0.026978015899658','2016-08-16 12:26:25'),(4418,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000004\', \' [TT[00000004]]]\', \'Bank Transfer [  [TT[00000004]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 3000, 3000, \'User\')','transfer/newTransfer','0.020826816558838','2016-08-16 12:26:25'),(4419,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000004\', 1, \'simpan duit\', \'33073\', 3000, 1, \'1\', \'3000\', \'08\', \'2016\', \'0\', \'TT[00000004]\', \'User\')','transfer/newTransfer','0.025017023086548','2016-08-16 12:26:25'),(4420,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000004\', 2, \'simpan duit\', \'33070\', 3000, 1, \'1\', \'3000\', \'08\', \'2016\', \'0\', \'TT[00000004]\', \'User\')','transfer/newTransfer','0.14908480644226','2016-08-16 12:26:25'),(4421,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000004\'','transfer/newTransfer','0.016372919082642','2016-08-16 12:26:25'),(4422,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2055','transfer/newTransfer','0.016494989395142','2016-08-16 12:26:25'),(4423,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10926','transfer/newTransfer','0.024781942367554','2016-08-16 12:26:25'),(4424,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000004\'','transfer/newTransfer','0.033070802688599','2016-08-16 12:26:25'),(4425,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33073\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.012180089950562','2016-08-16 12:26:25'),(4426,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017641067504883','2016-08-16 12:26:25'),(4427,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Mara\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33139\'','setup/saveLoan','0.03246283531189','2016-08-16 12:27:49'),(4428,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Ah long\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33140\'','setup/saveLoan','0.094222784042358','2016-08-16 12:28:02'),(4429,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'bayar lebih dari yang ada\', \'25\', 0, 1, 1, \'68\', \'20\', \'OP-E\', \'2016-08-16\', \'156\', \'1\')','expenses/saveExpense','0.039577007293701','2016-08-16 12:28:38'),(4430,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2056, 0, \'bayar despatch\', 1, \'33097\', \'20\', \'20\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016417026519775','2016-08-16 12:28:38'),(4431,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'336\'','expenses/saveExpense','0.022681951522827','2016-08-16 12:28:38'),(4432,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000005\' WHERE `ID` =  2056','expenses/saveExpense','0.016448020935059','2016-08-16 12:28:38'),(4433,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000005\', \'Operating Expenses [OP-E[00000005]]\', \'Operating Expenses [OP-E[00000005]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 20, 20, 0)','expenses/saveExpense','0.020815849304199','2016-08-16 12:28:38'),(4434,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000005\', 1, \'bayar despatch\', \'33071\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000005]\', \'User\')','expenses/saveExpense','0.016211032867432','2016-08-16 12:28:38'),(4435,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000005\', 2, \'bayar despatch\', \'33097\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000005]\', \'User\')','expenses/saveExpense','0.016226053237915','2016-08-16 12:28:38'),(4436,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.016390800476074','2016-08-16 12:28:38'),(4437,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2056','expenses/saveExpense','0.016502141952515','2016-08-16 12:28:38'),(4438,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10927','expenses/saveExpense','0.12650680541992','2016-08-16 12:28:38'),(4439,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.037630796432495','2016-08-16 12:28:38'),(4440,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.028285026550293','2016-08-16 12:28:38'),(4441,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33097\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013422966003418','2016-08-16 12:28:38'),(4442,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'50\', \'OP-L\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.071386098861694','2016-08-16 12:28:56'),(4443,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2057, 0, \'bantuan\', 1, \'33139\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.043522119522095','2016-08-16 12:28:56'),(4444,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'334\'','expenses/saveExpense','0.022773027420044','2016-08-16 12:28:56'),(4445,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000011\' WHERE `ID` =  2057','expenses/saveExpense','0.018440008163452','2016-08-16 12:28:57'),(4446,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000011\', \'Loan Repayment [OP-L[00000009]]\', \'Loan Repayment [OP-L[00000009]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 50, 50, 0)','expenses/saveExpense','0.0103440284729','2016-08-16 12:28:57'),(4447,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000011\', 1, \'bantuan\', \'33133\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000009]\', \'User\')','expenses/saveExpense','0.01826286315918','2016-08-16 12:28:57'),(4448,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000011\', 2, \'bantuan\', \'33139\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000009]\', \'User\')','expenses/saveExpense','0.016180992126465','2016-08-16 12:28:57'),(4449,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.016433954238892','2016-08-16 12:28:57'),(4450,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2057','expenses/saveExpense','0.024811029434204','2016-08-16 12:28:57'),(4451,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10928','expenses/saveExpense','0.016451120376587','2016-08-16 12:28:57'),(4452,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.016402006149292','2016-08-16 12:28:57'),(4453,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011750936508179','2016-08-16 12:28:57'),(4454,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'4\', \'33139\', \'2016\', \'8\', \'50\', \'0\', 50, \'User\', \'2016-08-16: 06:08:56\')','expenses/saveExpense','0.017124891281128','2016-08-16 12:28:57'),(4455,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'152\', \'545\', \'TT\', \'152\', \'23\', 3)','transfer/newTransfer','0.10252404212952','2016-08-16 12:31:01'),(4456,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2058, \'33011\', \'545\', \'test123\')','transfer/newTransfer','0.019011974334717','2016-08-16 12:31:01'),(4457,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  \'314\'','transfer/newTransfer','0.016745090484619','2016-08-16 12:31:01'),(4458,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000030\' WHERE `ID` =  2058','transfer/newTransfer','0.016470909118652','2016-08-16 12:31:01'),(4459,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000030\', \' [TT[00000029]]]\', \'Bank Transfer [  [TT[00000029]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 545, 545, \'User\')','transfer/newTransfer','0.010087013244629','2016-08-16 12:31:01'),(4460,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000030\', 1, \'test123\', \'33011\', 545, 1, \'1\', \'545\', \'08\', \'2016\', \'0\', \'TT[00000029]\', \'User\')','transfer/newTransfer','0.018601894378662','2016-08-16 12:31:01'),(4461,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000030\', 2, \'test123\', \'33011\', 545, 1, \'1\', \'545\', \'08\', \'2016\', \'0\', \'TT[00000029]\', \'User\')','transfer/newTransfer','0.016229867935181','2016-08-16 12:31:01'),(4462,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 545, `total_amount_cr` = 545, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000030\'','transfer/newTransfer','0.016374111175537','2016-08-16 12:31:01'),(4463,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2058','transfer/newTransfer','0.024825811386108','2016-08-16 12:31:01'),(4464,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10929','transfer/newTransfer','0.016501903533936','2016-08-16 12:31:01'),(4465,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000030\'','transfer/newTransfer','0.016414165496826','2016-08-16 12:31:01'),(4466,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33011\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.012324094772339','2016-08-16 12:31:01'),(4467,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33011\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017513990402222','2016-08-16 12:31:01'),(4468,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33139\', \'450\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.13427400588989','2016-08-16 12:36:53'),(4469,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2059, \'33133\', \'450\', \'Beli aircond\')','loanReceive/save_new_loan','0.019032955169678','2016-08-16 12:36:53'),(4470,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.020829200744629','2016-08-16 12:36:53'),(4471,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000012\' WHERE `ID` =  2059','loanReceive/save_new_loan','0.018903970718384','2016-08-16 12:36:53'),(4472,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000012\', \' [LR[00000010]]]\', \'Loan Received [  [LR[00000010]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 450, 450, \'User\')','loanReceive/save_new_loan','0.020752906799316','2016-08-16 12:36:53'),(4473,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000012\', 1, \'Beli aircond\', \'33139\', 450, 1, \'1\', \'450\', \'08\', \'2016\', \'0\', \'LR[00000010]\', \'User\')','loanReceive/save_new_loan','0.016193866729736','2016-08-16 12:36:53'),(4474,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000012\', 2, \'Beli aircond\', \'33133\', 450, 1, \'1\', \'450\', \'08\', \'2016\', \'0\', \'LR[00000010]\', \'User\')','loanReceive/save_new_loan','0.016236066818237','2016-08-16 12:36:53'),(4475,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 450, `total_amount_cr` = 450, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000012\'','loanReceive/save_new_loan','0.01637601852417','2016-08-16 12:36:53'),(4476,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2059','loanReceive/save_new_loan','0.033174991607666','2016-08-16 12:36:53'),(4477,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10930','loanReceive/save_new_loan','0.02479887008667','2016-08-16 12:36:53'),(4478,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000012\'','loanReceive/save_new_loan','0.016393184661865','2016-08-16 12:36:53'),(4479,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.012221097946167','2016-08-16 12:36:53'),(4480,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.025825023651123','2016-08-16 12:36:53'),(4481,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'bayar habis loan\', \'25\', 0, 1, 1, \'68\', \'100\', \'OP-L\', \'2016-08-16\', \'159\', \'1\')','expenses/saveExpense','0.058279991149902','2016-08-16 12:39:04'),(4482,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2060, 0, \'bayar habis loan\', 1, \'33076\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.022886991500854','2016-08-16 12:39:04'),(4483,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'336\'','expenses/saveExpense','0.024377107620239','2016-08-16 12:39:04'),(4484,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000006\' WHERE `ID` =  2060','expenses/saveExpense','0.016475200653076','2016-08-16 12:39:04'),(4485,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000006\', \'Loan Repayment [OP-L[00000006]]\', \'Loan Repayment [OP-L[00000006]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 100, 100, 0)','expenses/saveExpense','0.018397092819214','2016-08-16 12:39:04'),(4486,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000006\', 1, \'bayar habis loan\', \'33074\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000006]\', \'User\')','expenses/saveExpense','0.0186448097229','2016-08-16 12:39:04'),(4487,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000006\', 2, \'bayar habis loan\', \'33076\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000006]\', \'User\')','expenses/saveExpense','0.016233205795288','2016-08-16 12:39:04'),(4488,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.016386985778809','2016-08-16 12:39:04'),(4489,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2060','expenses/saveExpense','0.016469955444336','2016-08-16 12:39:04'),(4490,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10931','expenses/saveExpense','0.016491174697876','2016-08-16 12:39:04'),(4491,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.01639199256897','2016-08-16 12:39:04'),(4492,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.019682884216309','2016-08-16 12:39:04'),(4493,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'4\', \'33076\', \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-16: 06:08:04\')','expenses/saveExpense','0.012428045272827','2016-08-16 12:39:04'),(4494,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'try masuk negative value\', \'25\', 0, 1, 1, \'68\', \'-50\', \'OP-L\', \'2016-08-16\', \'159\', \'1\')','expenses/saveExpense','0.096436023712158','2016-08-16 12:40:43'),(4495,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2061, 0, \'bayar loan yang tak wujud\', 1, \'33076\', \'-50\', \'-50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0798020362854','2016-08-16 12:40:43'),(4496,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'336\'','expenses/saveExpense','0.036257028579712','2016-08-16 12:40:43'),(4497,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000007\' WHERE `ID` =  2061','expenses/saveExpense','0.016443967819214','2016-08-16 12:40:43'),(4498,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000007\', \'Loan Repayment [OP-L[00000007]]\', \'Loan Repayment [OP-L[00000007]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', -50, -50, 0)','expenses/saveExpense','0.010114908218384','2016-08-16 12:40:43'),(4499,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000007\', 1, \'bayar loan yang tak wujud\', \'33074\', -50, 1, \'1\', \'-50\', \'08\', \'16\', \'1\', \'OP-L[00000007]\', \'User\')','expenses/saveExpense','0.018481016159058','2016-08-16 12:40:43'),(4500,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000007\', 2, \'bayar loan yang tak wujud\', \'33076\', -50, 1, \'1\', \'-50\', \'08\', \'16\', \'1\', \'OP-L[00000007]\', \'User\')','expenses/saveExpense','0.016227960586548','2016-08-16 12:40:43'),(4501,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = -50, `total_amount_cr` = -50, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.024722814559937','2016-08-16 12:40:43'),(4502,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2061','expenses/saveExpense','0.024811983108521','2016-08-16 12:40:43'),(4503,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10932','expenses/saveExpense','0.016467094421387','2016-08-16 12:40:43'),(4504,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.01640796661377','2016-08-16 12:40:43'),(4505,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011945962905884','2016-08-16 12:40:43'),(4506,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017940044403076','2016-08-16 12:40:43'),(4507,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'try masuk negative value\', \'25\', 0, 1, 1, \'68\', \'-50\', \'OP-L\', \'2016-08-16\', \'159\', \'1\')','expenses/saveExpense','0.04071307182312','2016-08-16 12:40:44'),(4508,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2062, 0, \'bayar loan yang tak wujud\', 1, \'33076\', \'-50\', \'-50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016397953033447','2016-08-16 12:40:44'),(4509,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'336\'','expenses/saveExpense','0.012299060821533','2016-08-16 12:40:44'),(4510,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000008\' WHERE `ID` =  2062','expenses/saveExpense','0.010587930679321','2016-08-16 12:40:44'),(4511,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000008\', \'Loan Repayment [OP-L[00000008]]\', \'Loan Repayment [OP-L[00000008]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', -50, -50, 0)','expenses/saveExpense','0.010044097900391','2016-08-16 12:40:44'),(4512,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000008\', 1, \'bayar loan yang tak wujud\', \'33074\', -50, 1, \'1\', \'-50\', \'08\', \'16\', \'1\', \'OP-L[00000008]\', \'User\')','expenses/saveExpense','0.010333061218262','2016-08-16 12:40:44'),(4513,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000008\', 2, \'bayar loan yang tak wujud\', \'33076\', -50, 1, \'1\', \'-50\', \'08\', \'16\', \'1\', \'OP-L[00000008]\', \'User\')','expenses/saveExpense','0.1259880065918','2016-08-16 12:40:44'),(4514,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = -50, `total_amount_cr` = -50, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000008\'','expenses/saveExpense','0.020565986633301','2016-08-16 12:40:44'),(4515,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2062','expenses/saveExpense','0.019209146499634','2016-08-16 12:40:44'),(4516,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10933','expenses/saveExpense','0.0081357955932617','2016-08-16 12:40:44'),(4517,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000008\'','expenses/saveExpense','0.024724006652832','2016-08-16 12:40:44'),(4518,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014478921890259','2016-08-16 12:40:44'),(4519,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012985944747925','2016-08-16 12:40:44'),(4520,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'-200\', \'OP-L\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.079141855239868','2016-08-16 12:45:15'),(4521,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2063, 0, \'barang\', 1, \'33139\', \'-200\', \'-200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.010523080825806','2016-08-16 12:45:15'),(4522,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'334\'','expenses/saveExpense','0.018995046615601','2016-08-16 12:45:15'),(4523,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000013\' WHERE `ID` =  2063','expenses/saveExpense','0.018802165985107','2016-08-16 12:45:15'),(4524,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000013\', \'Loan Repayment [OP-L[00000011]]\', \'Loan Repayment [OP-L[00000011]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', -200, -200, 0)','expenses/saveExpense','0.010139942169189','2016-08-16 12:45:15'),(4525,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000013\', 1, \'barang\', \'33133\', -200, 1, \'1\', \'-200\', \'08\', \'16\', \'1\', \'OP-L[00000011]\', \'User\')','expenses/saveExpense','0.018553018569946','2016-08-16 12:45:15'),(4526,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000013\', 2, \'barang\', \'33139\', -200, 1, \'1\', \'-200\', \'08\', \'16\', \'1\', \'OP-L[00000011]\', \'User\')','expenses/saveExpense','0.016239166259766','2016-08-16 12:45:15'),(4527,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = -200, `total_amount_cr` = -200, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000013\'','expenses/saveExpense','0.01637601852417','2016-08-16 12:45:15'),(4528,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2063','expenses/saveExpense','0.033383846282959','2016-08-16 12:45:15'),(4529,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10934','expenses/saveExpense','0.224524974823','2016-08-16 12:45:15'),(4530,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000013\'','expenses/saveExpense','0.022376775741577','2016-08-16 12:45:15'),(4531,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017256021499634','2016-08-16 12:45:15'),(4532,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.018058061599731','2016-08-16 12:45:15'),(4533,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'-150\', \'OP-L\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.099889993667603','2016-08-16 12:47:57'),(4534,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2064, 0, \'brg2\', 1, \'33139\', \'-150\', \'-150\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01921010017395','2016-08-16 12:47:57'),(4535,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'334\'','expenses/saveExpense','0.036906957626343','2016-08-16 12:47:57'),(4536,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000014\' WHERE `ID` =  2064','expenses/saveExpense','0.12926292419434','2016-08-16 12:47:57'),(4537,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000014\', \'Loan Repayment [OP-L[00000012]]\', \'Loan Repayment [OP-L[00000012]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', -150, -150, 0)','expenses/saveExpense','0.0096859931945801','2016-08-16 12:47:57'),(4538,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000014\', 1, \'brg2\', \'33133\', -150, 1, \'1\', \'-150\', \'08\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/saveExpense','0.016480207443237','2016-08-16 12:47:57'),(4539,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000014\', 2, \'brg2\', \'33139\', -150, 1, \'1\', \'-150\', \'08\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/saveExpense','0.010416984558105','2016-08-16 12:47:57'),(4540,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = -150, `total_amount_cr` = -150, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000014\'','expenses/saveExpense','0.016402006149292','2016-08-16 12:47:57'),(4541,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2064','expenses/saveExpense','0.016470909118652','2016-08-16 12:47:57'),(4542,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10935','expenses/saveExpense','0.016463994979858','2016-08-16 12:47:57'),(4543,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000014\'','expenses/saveExpense','0.013578176498413','2016-08-16 12:47:57'),(4544,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017343044281006','2016-08-16 12:47:57'),(4545,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012588977813721','2016-08-16 12:47:57'),(4546,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'500\', \'OP-L\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.067601919174194','2016-08-16 12:52:42'),(4547,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2065, 0, \'brg2\', 1, \'33139\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.12213706970215','2016-08-16 12:52:42'),(4548,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'334\'','expenses/saveExpense','0.03992486000061','2016-08-16 12:52:42'),(4549,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000015\' WHERE `ID` =  2065','expenses/saveExpense','0.0081119537353516','2016-08-16 12:52:42'),(4550,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000015\', \'Loan Repayment [OP-L[00000013]]\', \'Loan Repayment [OP-L[00000013]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 500, 500, 0)','expenses/saveExpense','0.026715993881226','2016-08-16 12:52:42'),(4551,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000015\', 1, \'brg2\', \'33133\', 500, 1, \'1\', \'500\', \'08\', \'16\', \'1\', \'OP-L[00000013]\', \'User\')','expenses/saveExpense','0.010323047637939','2016-08-16 12:52:42'),(4552,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000015\', 2, \'brg2\', \'33139\', 500, 1, \'1\', \'500\', \'08\', \'16\', \'1\', \'OP-L[00000013]\', \'User\')','expenses/saveExpense','0.016273975372314','2016-08-16 12:52:42'),(4553,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000015\'','expenses/saveExpense','0.013609886169434','2016-08-16 12:52:42'),(4554,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2065','expenses/saveExpense','0.035896062850952','2016-08-16 12:52:42'),(4555,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10936','expenses/saveExpense','0.024772882461548','2016-08-16 12:52:42'),(4556,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000015\'','expenses/saveExpense','0.013935089111328','2016-08-16 12:52:42'),(4557,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.027835130691528','2016-08-16 12:52:42'),(4558,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012890100479126','2016-08-16 12:52:42'),(4559,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33076\', \'10\', \'LR\', \'159\', \'25\', 3)','loanReceive/save_new_loan','0.13241505622864','2016-08-16 13:55:42'),(4560,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2066, \'33074\', \'10\', \'\')','loanReceive/save_new_loan','0.0081260204315186','2016-08-16 13:55:42'),(4561,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'336\'','loanReceive/save_new_loan','0.020560026168823','2016-08-16 13:55:42'),(4562,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000009\' WHERE `ID` =  2066','loanReceive/save_new_loan','0.016442060470581','2016-08-16 13:55:42'),(4563,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000009\', \' [LR[00000009]]]\', \'Pinjaman [  [LR[00000009]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 10, 10, \'User\')','loanReceive/save_new_loan','0.12641787528992','2016-08-16 13:55:42'),(4564,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000009\', 1, \'\', \'33076\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'LR[00000009]\', \'User\')','loanReceive/save_new_loan','0.024250030517578','2016-08-16 13:55:42'),(4565,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000009\', 2, \'\', \'33074\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'LR[00000009]\', \'User\')','loanReceive/save_new_loan','0.010921001434326','2016-08-16 13:55:42'),(4566,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000009\'','loanReceive/save_new_loan','0.013365983963013','2016-08-16 13:55:42'),(4567,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2066','loanReceive/save_new_loan','0.019490957260132','2016-08-16 13:55:42'),(4568,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10937','loanReceive/save_new_loan','0.0081348419189453','2016-08-16 13:55:42'),(4569,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000009\'','loanReceive/save_new_loan','0.016426086425781','2016-08-16 13:55:42'),(4570,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.016939163208008','2016-08-16 13:55:42'),(4571,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.012665987014771','2016-08-16 13:55:42'),(4572,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33076\', \'-10\', \'LR\', \'159\', \'25\', 3)','loanReceive/save_new_loan','0.1588830947876','2016-08-16 13:56:48'),(4573,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2067, \'33074\', \'-10\', \'terima pinjaman\')','loanReceive/save_new_loan','0.016191005706787','2016-08-16 13:56:49'),(4574,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'336\'','loanReceive/save_new_loan','0.018706083297729','2016-08-16 13:56:49'),(4575,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000010\' WHERE `ID` =  2067','loanReceive/save_new_loan','0.019228935241699','2016-08-16 13:56:49'),(4576,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000010\', \' [LR[00000010]]]\', \'Pinjaman [  [LR[00000010]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', -10, -10, \'User\')','loanReceive/save_new_loan','0.020805835723877','2016-08-16 13:56:49'),(4577,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000010\', 1, \'terima pinjaman\', \'33076\', -10, 1, \'1\', \'-10\', \'08\', \'2016\', \'0\', \'LR[00000010]\', \'User\')','loanReceive/save_new_loan','0.038044929504395','2016-08-16 13:56:49'),(4578,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000010\', 2, \'terima pinjaman\', \'33074\', -10, 1, \'1\', \'-10\', \'08\', \'2016\', \'0\', \'LR[00000010]\', \'User\')','loanReceive/save_new_loan','0.027667999267578','2016-08-16 13:56:49'),(4579,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = -10, `total_amount_cr` = -10, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000010\'','loanReceive/save_new_loan','0.024724006652832','2016-08-16 13:56:49'),(4580,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2067','loanReceive/save_new_loan','0.0081470012664795','2016-08-16 13:56:49'),(4581,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10938','loanReceive/save_new_loan','0.016420125961304','2016-08-16 13:56:49'),(4582,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000010\'','loanReceive/save_new_loan','0.033120155334473','2016-08-16 13:56:49'),(4583,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.017007112503052','2016-08-16 13:56:49'),(4584,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015401840209961','2016-08-16 13:56:49'),(4585,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016388893127441','2016-08-16 14:10:51'),(4586,25,0,'192.168.1.220','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'farouqtakwan@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'farouq takwan\', `position` = 0, `email` = \'farouqtakwan@gmail.com\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'\', `modified_dt` = \'2016-08-16 08-16-46\', `modified_user` = 0 WHERE `fldid` =  \'32\'','userProfile/userMaster','0.079617977142334','2016-08-16 14:17:20'),(4587,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2064\'','expenses/removePayment','0.096179008483887','2016-08-16 14:17:27'),(4588,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'100\', \'OP-L\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.040463924407959','2016-08-16 14:18:36'),(4589,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2068, 0, \'beli kipas\', 1, \'33139\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.12467789649963','2016-08-16 14:18:36'),(4590,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'334\'','expenses/saveExpense','0.016419172286987','2016-08-16 14:18:36'),(4591,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000016\' WHERE `ID` =  2068','expenses/saveExpense','0.016442060470581','2016-08-16 14:18:36'),(4592,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000016\', \'Loan Repayment [OP-L[00000014]]\', \'Loan Repayment [OP-L[00000014]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 100, 100, 0)','expenses/saveExpense','0.0092301368713379','2016-08-16 14:18:36'),(4593,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000016\', 1, \'beli kipas\', \'33133\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000014]\', \'User\')','expenses/saveExpense','0.01095986366272','2016-08-16 14:18:36'),(4594,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000016\', 2, \'beli kipas\', \'33139\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000014]\', \'User\')','expenses/saveExpense','0.013120889663696','2016-08-16 14:18:36'),(4595,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000016\'','expenses/saveExpense','0.011124849319458','2016-08-16 14:18:36'),(4596,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2068','expenses/saveExpense','0.021733999252319','2016-08-16 14:18:36'),(4597,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10940','expenses/saveExpense','0.011213064193726','2016-08-16 14:18:36'),(4598,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000016\'','expenses/saveExpense','0.0080699920654297','2016-08-16 14:18:36'),(4599,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01152491569519','2016-08-16 14:18:36'),(4600,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.009814977645874','2016-08-16 14:18:36'),(4601,24,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.0016849040985107','2016-08-16 14:19:46'),(4602,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'450\', \'OP-A\', \'2016-08-16\', \'163\', \'1\')','expenses/saveExpense','0.1557948589325','2016-08-16 14:20:32'),(4603,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2069, 0, \'mesen jahit\', 1, \'33126\', \'450\', \'450\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.013106107711792','2016-08-16 14:20:32'),(4604,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'334\'','expenses/saveExpense','0.025074005126953','2016-08-16 14:20:32'),(4605,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000017\' WHERE `ID` =  2069','expenses/saveExpense','0.01323390007019','2016-08-16 14:20:32'),(4606,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000017\', \'Purchase of Fixed Asset [OP-A[00000015]]\', \'Purchase of Fixed Asset [OP-A[00000015]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 450, 450, 0)','expenses/saveExpense','0.0073668956756592','2016-08-16 14:20:32'),(4607,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000017\', 1, \'mesen jahit\', \'33134\', 450, 1, \'1\', \'450\', \'08\', \'16\', \'1\', \'OP-A[00000015]\', \'User\')','expenses/saveExpense','0.01299786567688','2016-08-16 14:20:32'),(4608,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000017\', 2, \'mesen jahit\', \'33126\', 450, 1, \'1\', \'450\', \'08\', \'16\', \'1\', \'OP-A[00000015]\', \'User\')','expenses/saveExpense','0.011111974716187','2016-08-16 14:20:33'),(4609,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 450, `total_amount_cr` = 450, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000017\'','expenses/saveExpense','0.013197898864746','2016-08-16 14:20:33'),(4610,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2069','expenses/saveExpense','0.01132607460022','2016-08-16 14:20:33'),(4611,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10941','expenses/saveExpense','0.013278007507324','2016-08-16 14:20:33'),(4612,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000017\'','expenses/saveExpense','0.011270999908447','2016-08-16 14:20:33'),(4613,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01729679107666','2016-08-16 14:20:33'),(4614,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'2\', \'33126\', \'2016\', \'8\', \'450\', \'0\', 450, \'User\', \'2016-08-16: 08:08:32\')','expenses/saveExpense','0.0097231864929199','2016-08-16 14:20:33'),(4615,25,0,'192.168.1.220','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'\', `position` = 0, `email` = \'\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'\', `imageFile` = \'\', `modified_dt` = \'2016-08-16 08-20-05\', `modified_user` = 0 WHERE `fldid` =  \'32\'','userProfile/userMaster','0.039567947387695','2016-08-16 14:23:18'),(4616,24,0,'192.168.1.204','update','UPDATE `company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.00048589706420898','2016-08-16 14:28:56'),(4617,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.00039887428283691','2016-08-16 14:28:56'),(4618,24,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.0016839504241943','2016-08-16 14:34:22'),(4619,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0025918483734131','2016-08-16 14:55:15'),(4620,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-05\', `bankID` = \'162\', `payTo` = \'164\', `amountPaid` = \'60\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.030261993408203','2016-08-16 14:55:34'),(4621,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33135\', `amountExcludedTax` = \'60\', `itemdescription` = \'maybank ke rhb\' WHERE `ID` =  \'1876\'','transfer/saveTransfer','0.014764785766602','2016-08-16 14:55:34'),(4622,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'334\'','transfer/saveTransfer','0.016528129577637','2016-08-16 14:55:34'),(4623,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000018\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.013384103775024','2016-08-16 14:55:34'),(4624,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000018\', \' [TT[00000004]]]\', \'Bank Transfer [  [TT[00000004]]] ]\', \'\', \'3\', \'2016-08-05\', \'2016\', \'08\', 60, 60, \'User\')','transfer/saveTransfer','0.0071930885314941','2016-08-16 14:55:34'),(4625,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000018\', 1, \'maybank ke rhb\', \'33133\', 60, 1, \'1\', \'60\', \'08\', \'2016\', \'0\', \'TT[00000004]\', \'User\')','transfer/saveTransfer','0.0081222057342529','2016-08-16 14:55:34'),(4626,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000018\', 2, \'maybank ke rhb\', \'33135\', 60, 1, \'1\', \'60\', \'08\', \'2016\', \'0\', \'TT[00000004]\', \'User\')','transfer/saveTransfer','0.12929201126099','2016-08-16 14:55:34'),(4627,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 60, `total_amount_cr` = 60, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000018\'','transfer/saveTransfer','0.011385917663574','2016-08-16 14:55:34'),(4628,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016480922698975','2016-08-16 14:55:34'),(4629,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10943','transfer/saveTransfer','0.013445138931274','2016-08-16 14:55:34'),(4630,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000018\'','transfer/saveTransfer','0.01111102104187','2016-08-16 14:55:34'),(4631,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.013052225112915','2016-08-16 14:55:34'),(4632,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.015382051467896','2016-08-16 14:55:34'),(4633,24,0,'192.168.1.204','update','UPDATE `tbl_usermaster` SET `imageFile` = \'31-1471330697-abuyo.JPG\' WHERE `fldid` =  \'31\'','userProfile/userMaster','0.01952600479126','2016-08-16 14:58:17'),(4634,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'superabu92@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'superabu92@gmail.com\', `position` = 0, `email` = \'superabu92@gmail.com\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'31-1471330697-abuyo.JPG\', `modified_dt` = \'2016-08-16 08-57-25\', `modified_user` = 0 WHERE `fldid` =  \'31\'','userProfile/userMaster','0.019352912902832','2016-08-16 14:58:17'),(4635,24,0,'192.168.1.204','update','UPDATE `tbl_usermaster` SET `imageFile` = \'31-1471330697-abuyo.JPG\' WHERE `fldid` =  \'31\'','userProfile/userMaster','0.00032901763916016','2016-08-16 14:58:17'),(4636,25,0,'192.168.1.220','update','UPDATE `tbl_usermaster` SET `imageFile` = \'32-1471330717-Turban.jpg\' WHERE `fldid` =  \'32\'','userProfile/userMaster','0.00039815902709961','2016-08-16 14:58:37'),(4637,25,0,'192.168.1.220','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'farouqtakwan@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'farouqtakwan@gmail.com\', `position` = 0, `email` = \'\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'\', `imageFile` = \'32-1471330717-Turban.jpg\', `modified_dt` = \'2016-08-16 08-57-13\', `modified_user` = 0 WHERE `fldid` =  \'32\'','userProfile/userMaster','0.062593936920166','2016-08-16 14:58:37'),(4638,25,0,'192.168.1.220','update','UPDATE `tbl_usermaster` SET `imageFile` = \'32-1471330717-Turban.jpg\' WHERE `fldid` =  \'32\'','userProfile/userMaster','0.00032305717468262','2016-08-16 14:58:37'),(4639,25,0,'192.168.1.220','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'farouqtakwan@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'farouqtakwan@gmail.com\', `position` = 0, `email` = \'\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'\', `imageFile` = \'32-1471330717-Turban.jpg\', `modified_dt` = \'2016-08-16 08-59-39\', `modified_user` = 0 WHERE `fldid` =  \'32\'','userProfile/userMaster','0.081924915313721','2016-08-16 15:00:02'),(4640,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'148\', `payTo` = \'148\', `amountPaid` = \'1234567.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.2271900177002','2016-08-16 15:11:19'),(4641,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'1234567.00\', `itemdescription` = \'fad\' WHERE `ID` =  \'1962\'','transfer/saveTransfer','0.016380071640015','2016-08-16 15:11:19'),(4642,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.010330200195312','2016-08-16 15:11:19'),(4643,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000031\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.019998073577881','2016-08-16 15:11:19'),(4644,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000031\', \' [TT[00000028]]]\', \'Bank Transfer [  [TT[00000028]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 1234567, 1234567, \'User\')','transfer/saveTransfer','0.017225980758667','2016-08-16 15:11:19'),(4645,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000031\', 1, \'fad\', \'33007\', 1234567, 1, \'1\', \'1234567\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.011431217193604','2016-08-16 15:11:19'),(4646,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000031\', 2, \'fad\', \'33007\', 1234567, 1, \'1\', \'1234567\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.012671947479248','2016-08-16 15:11:19'),(4647,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1234567, `total_amount_cr` = 1234567, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000031\'','transfer/saveTransfer','0.011611938476562','2016-08-16 15:11:19'),(4648,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.012887954711914','2016-08-16 15:11:19'),(4649,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10945','transfer/saveTransfer','0.011627912521362','2016-08-16 15:11:19'),(4650,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000031\'','transfer/saveTransfer','0.016481876373291','2016-08-16 15:11:19'),(4651,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.010873794555664','2016-08-16 15:11:19'),(4652,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.010648965835571','2016-08-16 15:11:19'),(4653,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'148\', \'5555\', \'TT\', \'150\', \'23\', 3)','transfer/newTransfer','0.03200101852417','2016-08-16 15:11:45'),(4654,23,0,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2070, \'33009\', \'5555\', \'Hye\')','transfer/newTransfer','0.012836933135986','2016-08-16 15:11:45'),(4655,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  \'314\'','transfer/newTransfer','0.012356042861938','2016-08-16 15:11:45'),(4656,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000032\' WHERE `ID` =  2070','transfer/newTransfer','0.01307201385498','2016-08-16 15:11:45'),(4657,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000032\', \' [TT[00000030]]]\', \'Bank Transfer [  [TT[00000030]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 5555, 5555, \'User\')','transfer/newTransfer','0.12405610084534','2016-08-16 15:11:45'),(4658,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000032\', 1, \'Hye\', \'33007\', 5555, 1, \'1\', \'5555\', \'08\', \'2016\', \'0\', \'TT[00000030]\', \'User\')','transfer/newTransfer','0.012607097625732','2016-08-16 15:11:45'),(4659,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000032\', 2, \'Hye\', \'33009\', 5555, 1, \'1\', \'5555\', \'08\', \'2016\', \'0\', \'TT[00000030]\', \'User\')','transfer/newTransfer','0.016518115997314','2016-08-16 15:11:45'),(4660,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 5555, `total_amount_cr` = 5555, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000032\'','transfer/newTransfer','0.011341094970703','2016-08-16 15:11:45'),(4661,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2070','transfer/newTransfer','0.013189077377319','2016-08-16 15:11:45'),(4662,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10946','transfer/newTransfer','0.011420011520386','2016-08-16 15:11:45'),(4663,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000032\'','transfer/newTransfer','0.021459102630615','2016-08-16 15:11:45'),(4664,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017534017562866','2016-08-16 15:11:45'),(4665,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.023788928985596','2016-08-16 15:11:45'),(4666,24,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.0016579627990723','2016-08-16 15:18:03'),(4667,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Renovation	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33127\'','setup/saveAsset','0.023433923721313','2016-08-16 15:18:11'),(4668,24,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.0016820430755615','2016-08-16 15:18:13'),(4669,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Computer & Software	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33124\'','setup/saveAsset','0.091100931167603','2016-08-16 15:18:28'),(4670,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Computer & Software	\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33124\'','setup/saveAsset','0.00042009353637695','2016-08-16 15:18:30'),(4671,24,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.0016601085662842','2016-08-16 15:18:39'),(4672,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'superabu92@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'superabu92@gmail.com\', `position` = 0, `email` = \'superabu92@gmail.com\', `phone_off` = 0, `Phone_mobile` = \'0132897186\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'31-1471330697-abuyo.JPG\', `modified_dt` = \'2016-08-16 09-19-31\', `modified_user` = 0 WHERE `fldid` =  \'31\'','userProfile/userMaster','0.082617998123169','2016-08-16 15:19:43'),(4673,25,0,'192.168.1.220','update','UPDATE `company` SET `uploadLogo` = \'25.JPG\' WHERE `ID` =  \'25\'','setup/companySetup','0.00041699409484863','2016-08-16 15:20:07'),(4674,25,0,'192.168.1.220','update','UPDATE `company` SET `companyName` = \'kedai cermin mata\', `line1` = \'no 54\', `line2` = \'jalan cermin\', `line3` = \'kawasan industri cermin\', `city` = \'bandar mata\', `companyPostCode` = \'85000\', `companyStateID` = \'1930\', `countryID` = \'458\', `parlimenID` = \'192\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-08-16\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'25.JPG\', `updatedBy` = 0 WHERE `ID` =  \'25\'','setup/companySetup','0.00040292739868164','2016-08-16 15:20:07'),(4675,25,0,'192.168.1.220','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'kedai cermin mata\', `line1` = \'no 54\', `line2` = \'jalan cermin\', `line3` = \'kawasan industri cermin\', `city` = \'bandar mata\', `companyPostCode` = \'85000\', `companyStateID` = \'1930\', `countryID` = \'458\', `parlimenID` = \'192\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-08-16\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'25.JPG\', `updatedBy` = 0 WHERE `ID` =  \'25\'','setup/companySetup','0.00040912628173828','2016-08-16 15:20:07'),(4676,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'148\', `payTo` = \'148\', `amountPaid` = \'77899.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.29738807678223','2016-08-16 15:24:42'),(4677,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'77899.00\', `itemdescription` = \'fasd\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.011820077896118','2016-08-16 15:24:42'),(4678,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.013612985610962','2016-08-16 15:24:42'),(4679,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000033\' WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.011709928512573','2016-08-16 15:24:42'),(4680,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000033\', \' [TT[00000027]]]\', \'Bank Transfer [  [TT[00000027]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 77899, 77899, \'User\')','transfer/saveTransfer','0.0087709426879883','2016-08-16 15:24:42'),(4681,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000033\', 1, \'fasd\', \'33007\', 77899, 1, \'1\', \'77899\', \'08\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/saveTransfer','0.011483192443848','2016-08-16 15:24:42'),(4682,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000033\', 2, \'fasd\', \'33007\', 77899, 1, \'1\', \'77899\', \'08\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/saveTransfer','0.012646913528442','2016-08-16 15:24:42'),(4683,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 77899, `total_amount_cr` = 77899, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000033\'','transfer/saveTransfer','0.01163911819458','2016-08-16 15:24:42'),(4684,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.012902021408081','2016-08-16 15:24:42'),(4685,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10948','transfer/saveTransfer','0.011730909347534','2016-08-16 15:24:42'),(4686,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000033\'','transfer/saveTransfer','0.012797832489014','2016-08-16 15:24:42'),(4687,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.0097000598907471','2016-08-16 15:24:42'),(4688,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.024027109146118','2016-08-16 15:24:42'),(4689,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = \'pymt\', `companyID` = \'23\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'2200\', `formNo` = \'OP-L\', `paymentDate` = \'2016-08-15\', `bankId` = \'149\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2032\'','expenses/saveExpense','0.02204704284668','2016-08-16 15:25:30'),(4690,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2032\', `createdBy` = 0, `itemdescription` = \'10/08/2016\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'2200\', `amountExcludedTax` = \'2200\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1948\'','expenses/saveExpense','0.011465787887573','2016-08-16 15:25:30'),(4691,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  \'314\'','expenses/saveExpense','0.009829044342041','2016-08-16 15:25:30'),(4692,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000034\' WHERE `ID` =  \'2032\'','expenses/saveExpense','0.011554956436157','2016-08-16 15:25:30'),(4693,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000034\', \'Loan Repayment [OP-L[00000020]]\', \'Loan Repayment [OP-L[00000020]]\', \'\', \'3\', \'2016-08-15\', \'16\', \'08\', 2200, 2200, 0)','expenses/saveExpense','0.011975049972534','2016-08-16 15:25:30'),(4694,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000034\', 1, \'10/08/2016\', \'33008\', 2200, 1, \'1\', \'2200\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/saveExpense','0.011338949203491','2016-08-16 15:25:30'),(4695,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000034\', 2, \'10/08/2016\', \'33013\', 2200, 1, \'1\', \'2200\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/saveExpense','0.012758016586304','2016-08-16 15:25:30'),(4696,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2200, `total_amount_cr` = 2200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000034\'','expenses/saveExpense','0.028198957443237','2016-08-16 15:25:30'),(4697,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2032\'','expenses/saveExpense','0.12963390350342','2016-08-16 15:25:30'),(4698,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10949','expenses/saveExpense','0.011590957641602','2016-08-16 15:25:30'),(4699,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000034\'','expenses/saveExpense','0.012941837310791','2016-08-16 15:25:30'),(4700,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0096719264984131','2016-08-16 15:25:30'),(4701,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011924028396606','2016-08-16 15:25:30'),(4702,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33140\', \'10\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.099560022354126','2016-08-16 15:30:34'),(4703,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2071, \'33133\', \'10\', \'nasi lemak\')','loanReceive/save_new_loan','0.011820077896118','2016-08-16 15:30:34'),(4704,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.013495922088623','2016-08-16 15:30:34'),(4705,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000019\' WHERE `ID` =  2071','loanReceive/save_new_loan','0.011672019958496','2016-08-16 15:30:34'),(4706,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000019\', \' [LR[00000016]]]\', \'Loan Received [  [LR[00000016]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 10, 10, \'User\')','loanReceive/save_new_loan','0.020792961120605','2016-08-16 15:30:34'),(4707,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000019\', 1, \'nasi lemak\', \'33140\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'LR[00000016]\', \'User\')','loanReceive/save_new_loan','0.012369155883789','2016-08-16 15:30:34'),(4708,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000019\', 2, \'nasi lemak\', \'33133\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'LR[00000016]\', \'User\')','loanReceive/save_new_loan','0.011736154556274','2016-08-16 15:30:34'),(4709,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000019\'','loanReceive/save_new_loan','0.012517929077148','2016-08-16 15:30:34'),(4710,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2071','loanReceive/save_new_loan','0.011996984481812','2016-08-16 15:30:34'),(4711,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10950','loanReceive/save_new_loan','0.012664079666138','2016-08-16 15:30:34'),(4712,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000019\'','loanReceive/save_new_loan','0.011915922164917','2016-08-16 15:30:34'),(4713,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'4\', \'33140\', \'2016\', \'8\', \'0\', \'10\', -10, \'User\', \'2016-08-16: 09:08:34\')','loanReceive/save_new_loan','0.021435022354126','2016-08-16 15:30:34'),(4714,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.011845111846924','2016-08-16 15:30:34'),(4715,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'510\', \'OP-L\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.094981908798218','2016-08-16 15:32:47'),(4716,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2072, 0, \'bayar\', 1, \'33139\', \'510\', \'510\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.020117998123169','2016-08-16 15:32:47'),(4717,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'334\'','expenses/saveExpense','0.031568050384521','2016-08-16 15:32:47'),(4718,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000020\' WHERE `ID` =  2072','expenses/saveExpense','0.016446113586426','2016-08-16 15:32:47'),(4719,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000020\', \'Loan Repayment [OP-L[00000017]]\', \'Loan Repayment [OP-L[00000017]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 510, 510, 0)','expenses/saveExpense','0.017247915267944','2016-08-16 15:32:47'),(4720,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000020\', 1, \'bayar\', \'33133\', 510, 1, \'1\', \'510\', \'08\', \'16\', \'1\', \'OP-L[00000017]\', \'User\')','expenses/saveExpense','0.049226045608521','2016-08-16 15:32:47'),(4721,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000020\', 2, \'bayar\', \'33139\', 510, 1, \'1\', \'510\', \'08\', \'16\', \'1\', \'OP-L[00000017]\', \'User\')','expenses/saveExpense','0.011780023574829','2016-08-16 15:32:47'),(4722,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 510, `total_amount_cr` = 510, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000020\'','expenses/saveExpense','0.016409158706665','2016-08-16 15:32:47'),(4723,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2072','expenses/saveExpense','0.012899875640869','2016-08-16 15:32:47'),(4724,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10951','expenses/saveExpense','0.011733055114746','2016-08-16 15:32:47'),(4725,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000020\'','expenses/saveExpense','0.029408931732178','2016-08-16 15:32:47'),(4726,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013936042785645','2016-08-16 15:32:47'),(4727,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010951042175293','2016-08-16 15:32:47'),(4728,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'24\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'510\', `formNo` = \'OP-L\', `paymentDate` = \'2016-08-16\', `bankId` = \'162\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2072\'','expenses/saveExpense','0.010694980621338','2016-08-16 15:32:48'),(4729,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2072\', `createdBy` = 0, `itemdescription` = \'bayar\', `lineNo` = 1, `accountID` = \'33139\', `amountIncludedTax` = \'510\', `amountExcludedTax` = \'510\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1986\'','expenses/saveExpense','0.0003511905670166','2016-08-16 15:32:48'),(4730,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'334\'','expenses/saveExpense','0.017802953720093','2016-08-16 15:32:48'),(4731,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000021\' WHERE `ID` =  \'2072\'','expenses/saveExpense','0.012313842773438','2016-08-16 15:32:48'),(4732,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000021\', \'Loan Repayment [OP-L[00000017]]\', \'Loan Repayment [OP-L[00000017]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 510, 510, 0)','expenses/saveExpense','0.011200904846191','2016-08-16 15:32:48'),(4733,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000021\', 1, \'bayar\', \'33133\', 510, 1, \'1\', \'510\', \'08\', \'16\', \'1\', \'OP-L[00000017]\', \'User\')','expenses/saveExpense','0.012107849121094','2016-08-16 15:32:48'),(4734,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000021\', 2, \'bayar\', \'33139\', 510, 1, \'1\', \'510\', \'08\', \'16\', \'1\', \'OP-L[00000017]\', \'User\')','expenses/saveExpense','0.012033224105835','2016-08-16 15:32:48'),(4735,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 510, `total_amount_cr` = 510, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000021\'','expenses/saveExpense','0.012248039245605','2016-08-16 15:32:48'),(4736,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2072\'','expenses/saveExpense','0.01230001449585','2016-08-16 15:32:48'),(4737,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10952','expenses/saveExpense','0.012356042861938','2016-08-16 15:32:48'),(4738,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000021\'','expenses/saveExpense','0.012166976928711','2016-08-16 15:32:48'),(4739,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01038384437561','2016-08-16 15:32:48'),(4740,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.019546985626221','2016-08-16 15:32:48'),(4741,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33139\', \'50\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.27759909629822','2016-08-16 15:33:44'),(4742,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2074, \'33133\', \'50\', \'saje\')','loanReceive/save_new_loan','0.020549774169922','2016-08-16 15:33:44'),(4743,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.023088932037354','2016-08-16 15:33:44'),(4744,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000022\' WHERE `ID` =  2074','loanReceive/save_new_loan','0.010696172714233','2016-08-16 15:33:44'),(4745,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000022\', \' [LR[00000018]]]\', \'Loan Received [  [LR[00000018]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 50, 50, \'User\')','loanReceive/save_new_loan','0.0083620548248291','2016-08-16 15:33:44'),(4746,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000022\', 1, \'saje\', \'33139\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000018]\', \'User\')','loanReceive/save_new_loan','0.016515970230103','2016-08-16 15:33:44'),(4747,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000022\', 2, \'saje\', \'33133\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000018]\', \'User\')','loanReceive/save_new_loan','0.015953063964844','2016-08-16 15:33:44'),(4748,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000022\'','loanReceive/save_new_loan','0.028793096542358','2016-08-16 15:33:44'),(4749,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2074','loanReceive/save_new_loan','0.020743846893311','2016-08-16 15:33:44'),(4750,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10953','loanReceive/save_new_loan','0.012203931808472','2016-08-16 15:33:44'),(4751,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000022\'','loanReceive/save_new_loan','0.022948026657104','2016-08-16 15:33:44'),(4752,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.014167785644531','2016-08-16 15:33:44'),(4753,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.010834932327271','2016-08-16 15:33:44'),(4754,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33139\', \'50\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.032788991928101','2016-08-16 15:34:06'),(4755,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2075, \'33133\', \'50\', \'saje\')','loanReceive/save_new_loan','0.01270604133606','2016-08-16 15:34:06'),(4756,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.018353939056396','2016-08-16 15:34:06'),(4757,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000023\' WHERE `ID` =  2075','loanReceive/save_new_loan','0.012547016143799','2016-08-16 15:34:06'),(4758,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000023\', \' [LR[00000019]]]\', \'Loan Received [  [LR[00000019]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 50, 50, \'User\')','loanReceive/save_new_loan','0.016361951828003','2016-08-16 15:34:06'),(4759,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000023\', 1, \'saje\', \'33139\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000019]\', \'User\')','loanReceive/save_new_loan','0.01225209236145','2016-08-16 15:34:06'),(4760,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000023\', 2, \'saje\', \'33133\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000019]\', \'User\')','loanReceive/save_new_loan','0.01177716255188','2016-08-16 15:34:06'),(4761,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000023\'','loanReceive/save_new_loan','0.012503147125244','2016-08-16 15:34:06'),(4762,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2075','loanReceive/save_new_loan','0.020410060882568','2016-08-16 15:34:06'),(4763,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10954','loanReceive/save_new_loan','0.016418933868408','2016-08-16 15:34:06'),(4764,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000023\'','loanReceive/save_new_loan','0.012240171432495','2016-08-16 15:34:06'),(4765,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.014626026153564','2016-08-16 15:34:06'),(4766,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.019215822219849','2016-08-16 15:34:06'),(4767,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'50\', \'OP-L\', \'2016-08-16\', \'164\', \'1\')','expenses/saveExpense','0.037175178527832','2016-08-16 15:35:32'),(4768,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2076, 0, \'saje\', 1, \'33140\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012363910675049','2016-08-16 15:35:32'),(4769,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'334\'','expenses/saveExpense','0.013863086700439','2016-08-16 15:35:32'),(4770,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000024\' WHERE `ID` =  2076','expenses/saveExpense','0.012657880783081','2016-08-16 15:35:32'),(4771,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000024\', \'Loan Repayment [OP-L[00000019]]\', \'Loan Repayment [OP-L[00000019]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 50, 50, 0)','expenses/saveExpense','0.0078389644622803','2016-08-16 15:35:32'),(4772,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000024\', 1, \'saje\', \'33135\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000019]\', \'User\')','expenses/saveExpense','0.012360095977783','2016-08-16 15:35:32'),(4773,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000024\', 2, \'saje\', \'33140\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000019]\', \'User\')','expenses/saveExpense','0.011741161346436','2016-08-16 15:35:32'),(4774,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000024\'','expenses/saveExpense','0.012524127960205','2016-08-16 15:35:32'),(4775,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2076','expenses/saveExpense','0.012029886245728','2016-08-16 15:35:32'),(4776,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10955','expenses/saveExpense','0.012571811676025','2016-08-16 15:35:32'),(4777,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000024\'','expenses/saveExpense','0.02861499786377','2016-08-16 15:35:32'),(4778,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023162841796875','2016-08-16 15:35:32'),(4779,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33140\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.13163709640503','2016-08-16 15:35:32'),(4780,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33139\', \'50\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.090727090835571','2016-08-16 15:36:19'),(4781,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2077, \'33133\', \'50\', \'ape\')','loanReceive/save_new_loan','0.012160062789917','2016-08-16 15:36:19'),(4782,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.025321006774902','2016-08-16 15:36:19'),(4783,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000025\' WHERE `ID` =  2077','loanReceive/save_new_loan','0.014621019363403','2016-08-16 15:36:19'),(4784,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000025\', \' [LR[00000020]]]\', \'Loan Received [  [LR[00000020]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 50, 50, \'User\')','loanReceive/save_new_loan','0.0083479881286621','2016-08-16 15:36:19'),(4785,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000025\', 1, \'ape\', \'33139\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000020]\', \'User\')','loanReceive/save_new_loan','0.011938095092773','2016-08-16 15:36:19'),(4786,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000025\', 2, \'ape\', \'33133\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000020]\', \'User\')','loanReceive/save_new_loan','0.024545907974243','2016-08-16 15:36:19'),(4787,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000025\'','loanReceive/save_new_loan','0.020658016204834','2016-08-16 15:36:19'),(4788,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2077','loanReceive/save_new_loan','0.020534992218018','2016-08-16 15:36:19'),(4789,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10956','loanReceive/save_new_loan','0.024707078933716','2016-08-16 15:36:19'),(4790,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000025\'','loanReceive/save_new_loan','0.020720958709717','2016-08-16 15:36:19'),(4791,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.033468961715698','2016-08-16 15:36:19'),(4792,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.023672103881836','2016-08-16 15:36:19'),(4793,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'50\', \'OP-L\', \'2016-08-16\', \'164\', \'1\')','expenses/saveExpense','0.033284187316895','2016-08-16 15:36:51'),(4794,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2078, 0, \'ape\', 1, \'33140\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.011968851089478','2016-08-16 15:36:51'),(4795,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'334\'','expenses/saveExpense','0.013892889022827','2016-08-16 15:36:51'),(4796,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000026\' WHERE `ID` =  2078','expenses/saveExpense','0.012133836746216','2016-08-16 15:36:51'),(4797,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000026\', \'Loan Repayment [OP-L[00000021]]\', \'Loan Repayment [OP-L[00000021]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 50, 50, 0)','expenses/saveExpense','0.0084569454193115','2016-08-16 15:36:51'),(4798,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000026\', 1, \'ape\', \'33135\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000021]\', \'User\')','expenses/saveExpense','0.020218133926392','2016-08-16 15:36:51'),(4799,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000026\', 2, \'ape\', \'33140\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000021]\', \'User\')','expenses/saveExpense','0.012217998504639','2016-08-16 15:36:51'),(4800,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000026\'','expenses/saveExpense','0.012060880661011','2016-08-16 15:36:51'),(4801,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2078','expenses/saveExpense','0.012447118759155','2016-08-16 15:36:51'),(4802,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10957','expenses/saveExpense','0.012155055999756','2016-08-16 15:36:51'),(4803,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000026\'','expenses/saveExpense','0.025019884109497','2016-08-16 15:36:51'),(4804,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010223865509033','2016-08-16 15:36:51'),(4805,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33140\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011382102966309','2016-08-16 15:36:51'),(4806,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33139\', \'50\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.15851306915283','2016-08-16 15:37:57'),(4807,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2079, \'33133\', \'50\', \'qwer\')','loanReceive/save_new_loan','0.0097548961639404','2016-08-16 15:37:58'),(4808,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.021878957748413','2016-08-16 15:37:58'),(4809,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000027\' WHERE `ID` =  2079','loanReceive/save_new_loan','0.012063980102539','2016-08-16 15:37:58'),(4810,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000027\', \' [LR[00000022]]]\', \'Loan Received [  [LR[00000022]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 50, 50, \'User\')','loanReceive/save_new_loan','0.0084998607635498','2016-08-16 15:37:58'),(4811,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000027\', 1, \'qwer\', \'33139\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000022]\', \'User\')','loanReceive/save_new_loan','0.01181697845459','2016-08-16 15:37:58'),(4812,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000027\', 2, \'qwer\', \'33133\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000022]\', \'User\')','loanReceive/save_new_loan','0.012281894683838','2016-08-16 15:37:58'),(4813,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000027\'','loanReceive/save_new_loan','0.012012958526611','2016-08-16 15:37:58'),(4814,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2079','loanReceive/save_new_loan','0.012506008148193','2016-08-16 15:37:58'),(4815,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10958','loanReceive/save_new_loan','0.012083053588867','2016-08-16 15:37:58'),(4816,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000027\'','loanReceive/save_new_loan','0.012484788894653','2016-08-16 15:37:58'),(4817,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.021598100662231','2016-08-16 15:37:58'),(4818,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015388011932373','2016-08-16 15:37:58'),(4819,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33139\', \'50\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.097900152206421','2016-08-16 15:38:19'),(4820,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2080, \'33133\', \'50\', \'asd\')','loanReceive/save_new_loan','0.012402057647705','2016-08-16 15:38:19'),(4821,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.010838985443115','2016-08-16 15:38:19'),(4822,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000028\' WHERE `ID` =  2080','loanReceive/save_new_loan','0.012256860733032','2016-08-16 15:38:19'),(4823,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000028\', \' [LR[00000023]]]\', \'Loan Received [  [LR[00000023]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 50, 50, \'User\')','loanReceive/save_new_loan','0.00819993019104','2016-08-16 15:38:19'),(4824,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000028\', 1, \'asd\', \'33139\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/save_new_loan','0.012045860290527','2016-08-16 15:38:19'),(4825,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000028\', 2, \'asd\', \'33133\', 50, 1, \'1\', \'50\', \'08\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/save_new_loan','0.012090921401978','2016-08-16 15:38:19'),(4826,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000028\'','loanReceive/save_new_loan','0.012202978134155','2016-08-16 15:38:19'),(4827,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2080','loanReceive/save_new_loan','0.0123450756073','2016-08-16 15:38:19'),(4828,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10959','loanReceive/save_new_loan','0.012279033660889','2016-08-16 15:38:19'),(4829,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000028\'','loanReceive/save_new_loan','0.016416072845459','2016-08-16 15:38:19'),(4830,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.018355131149292','2016-08-16 15:38:19'),(4831,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.01148509979248','2016-08-16 15:38:19'),(4832,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'100\', \'OP-L\', \'2016-08-16\', \'164\', \'1\')','expenses/saveExpense','0.033437013626099','2016-08-16 15:39:06'),(4833,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2081, 0, \'asd\', 1, \'33140\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.024726867675781','2016-08-16 15:39:06'),(4834,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'334\'','expenses/saveExpense','0.020159959793091','2016-08-16 15:39:06'),(4835,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000029\' WHERE `ID` =  2081','expenses/saveExpense','0.010520935058594','2016-08-16 15:39:06'),(4836,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000029\', \'Loan Repayment [OP-L[00000024]]\', \'Loan Repayment [OP-L[00000024]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 100, 100, 0)','expenses/saveExpense','0.020808935165405','2016-08-16 15:39:06'),(4837,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000029\', 1, \'asd\', \'33135\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000024]\', \'User\')','expenses/saveExpense','0.011938810348511','2016-08-16 15:39:06'),(4838,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000029\', 2, \'asd\', \'33140\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000024]\', \'User\')','expenses/saveExpense','0.012129068374634','2016-08-16 15:39:06'),(4839,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000029\'','expenses/saveExpense','0.012131929397583','2016-08-16 15:39:06'),(4840,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2081','expenses/saveExpense','0.012386798858643','2016-08-16 15:39:06'),(4841,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10960','expenses/saveExpense','0.012243032455444','2016-08-16 15:39:06'),(4842,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000029\'','expenses/saveExpense','0.012254953384399','2016-08-16 15:39:06'),(4843,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010240077972412','2016-08-16 15:39:06'),(4844,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33140\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015048980712891','2016-08-16 15:39:07'),(4845,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'buy stock\', `openingBalanceCr` = \'100.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33076\'','setup/saveLoan','0.00043702125549316','2016-08-16 15:46:42'),(4846,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'ceti haram\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33077\'','setup/saveLoan','0.082477807998657','2016-08-16 15:47:33'),(4847,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'ceti halal\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33078\'','setup/saveLoan','0.016644954681396','2016-08-16 15:47:45'),(4848,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33140\', \'190\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.13906383514404','2016-08-16 15:50:17'),(4849,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2082, \'33133\', \'190\', \'qwe\')','loanReceive/save_new_loan','0.020118951797485','2016-08-16 15:50:17'),(4850,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.023551940917969','2016-08-16 15:50:17'),(4851,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000030\' WHERE `ID` =  2082','loanReceive/save_new_loan','0.0085728168487549','2016-08-16 15:50:17'),(4852,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000030\', \' [LR[00000025]]]\', \'Loan Received [  [LR[00000025]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 190, 190, \'User\')','loanReceive/save_new_loan','0.008044958114624','2016-08-16 15:50:17'),(4853,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000030\', 1, \'qwe\', \'33140\', 190, 1, \'1\', \'190\', \'08\', \'2016\', \'0\', \'LR[00000025]\', \'User\')','loanReceive/save_new_loan','0.015914916992188','2016-08-16 15:50:17'),(4854,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000030\', 2, \'qwe\', \'33133\', 190, 1, \'1\', \'190\', \'08\', \'2016\', \'0\', \'LR[00000025]\', \'User\')','loanReceive/save_new_loan','0.012573957443237','2016-08-16 15:50:17'),(4855,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 190, `total_amount_cr` = 190, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000030\'','loanReceive/save_new_loan','0.016403913497925','2016-08-16 15:50:17'),(4856,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2082','loanReceive/save_new_loan','0.012135982513428','2016-08-16 15:50:17'),(4857,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10961','loanReceive/save_new_loan','0.01249098777771','2016-08-16 15:50:17'),(4858,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000030\'','loanReceive/save_new_loan','0.016420841217041','2016-08-16 15:50:17'),(4859,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33140\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.01378607749939','2016-08-16 15:50:17'),(4860,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.011740922927856','2016-08-16 15:50:17'),(4861,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'190\', \'OP-L\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.03354811668396','2016-08-16 15:50:58'),(4862,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2083, 0, \'qqwq\', 1, \'33139\', \'190\', \'190\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.020015954971313','2016-08-16 15:50:58'),(4863,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  \'334\'','expenses/saveExpense','0.0081870555877686','2016-08-16 15:50:58'),(4864,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000031\' WHERE `ID` =  2083','expenses/saveExpense','0.011847019195557','2016-08-16 15:50:58'),(4865,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000031\', \'Loan Repayment [OP-L[00000026]]\', \'Loan Repayment [OP-L[00000026]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 190, 190, 0)','expenses/saveExpense','0.0087919235229492','2016-08-16 15:50:58'),(4866,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000031\', 1, \'qqwq\', \'33133\', 190, 1, \'1\', \'190\', \'08\', \'16\', \'1\', \'OP-L[00000026]\', \'User\')','expenses/saveExpense','0.011580944061279','2016-08-16 15:50:58'),(4867,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000031\', 2, \'qqwq\', \'33139\', 190, 1, \'1\', \'190\', \'08\', \'16\', \'1\', \'OP-L[00000026]\', \'User\')','expenses/saveExpense','0.012499094009399','2016-08-16 15:50:58'),(4868,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 190, `total_amount_cr` = 190, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000031\'','expenses/saveExpense','0.024720907211304','2016-08-16 15:50:58'),(4869,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2083','expenses/saveExpense','0.012168884277344','2016-08-16 15:50:58'),(4870,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10962','expenses/saveExpense','0.012417793273926','2016-08-16 15:50:58'),(4871,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000031\'','expenses/saveExpense','0.012113094329834','2016-08-16 15:50:58'),(4872,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010504007339478','2016-08-16 15:50:58'),(4873,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011087894439697','2016-08-16 15:50:58'),(4874,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33140\', \'200\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.036561965942383','2016-08-16 15:53:19'),(4875,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2084, \'33133\', \'200\', \'grg\')','loanReceive/save_new_loan','0.017307996749878','2016-08-16 15:53:19'),(4876,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.012243986129761','2016-08-16 15:53:19'),(4877,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000032\' WHERE `ID` =  2084','loanReceive/save_new_loan','0.01291298866272','2016-08-16 15:53:19'),(4878,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000032\', \' [LR[00000027]]]\', \'Loan Received [  [LR[00000027]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 200, 200, \'User\')','loanReceive/save_new_loan','0.0076489448547363','2016-08-16 15:53:19'),(4879,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000032\', 1, \'grg\', \'33140\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'LR[00000027]\', \'User\')','loanReceive/save_new_loan','0.012655019760132','2016-08-16 15:53:19'),(4880,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000032\', 2, \'grg\', \'33133\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'LR[00000027]\', \'User\')','loanReceive/save_new_loan','0.12811279296875','2016-08-16 15:53:19'),(4881,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000032\'','loanReceive/save_new_loan','0.021148920059204','2016-08-16 15:53:19'),(4882,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2084','loanReceive/save_new_loan','0.011718034744263','2016-08-16 15:53:19'),(4883,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10963','loanReceive/save_new_loan','0.012900829315186','2016-08-16 15:53:19'),(4884,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000032\'','loanReceive/save_new_loan','0.01164984703064','2016-08-16 15:53:19'),(4885,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33140\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.021846771240234','2016-08-16 15:53:19'),(4886,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.010584115982056','2016-08-16 15:53:19'),(4887,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'200\', \'OP-L\', \'2016-08-16\', \'162\', \'1\')','expenses/saveExpense','0.03715705871582','2016-08-16 15:54:59'),(4888,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2085, 0, \'fre\', 1, \'33140\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016690969467163','2016-08-16 15:54:59'),(4889,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  \'334\'','expenses/saveExpense','0.021783113479614','2016-08-16 15:54:59'),(4890,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000033\' WHERE `ID` =  2085','expenses/saveExpense','0.01283597946167','2016-08-16 15:54:59'),(4891,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000033\', \'Loan Repayment [OP-L[00000028]]\', \'Loan Repayment [OP-L[00000028]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 200, 200, 0)','expenses/saveExpense','0.0078089237213135','2016-08-16 15:54:59'),(4892,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000033\', 1, \'fre\', \'33133\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-L[00000028]\', \'User\')','expenses/saveExpense','0.01645302772522','2016-08-16 15:54:59'),(4893,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000033\', 2, \'fre\', \'33140\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-L[00000028]\', \'User\')','expenses/saveExpense','0.012306928634644','2016-08-16 15:54:59'),(4894,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000033\'','expenses/saveExpense','0.011969804763794','2016-08-16 15:54:59'),(4895,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2085','expenses/saveExpense','0.01257586479187','2016-08-16 15:54:59'),(4896,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10964','expenses/saveExpense','0.012009143829346','2016-08-16 15:54:59'),(4897,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000033\'','expenses/saveExpense','0.012510776519775','2016-08-16 15:54:59'),(4898,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010055065155029','2016-08-16 15:54:59'),(4899,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33140\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011473894119263','2016-08-16 15:54:59'),(4900,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'33086\'','setup/saveExpenses','0.014339923858643','2016-08-16 15:58:53'),(4901,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'33084\'','setup/saveExpenses','0.043600082397461','2016-08-16 15:59:28'),(4902,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'33085\'','setup/saveExpenses','0.011440992355347','2016-08-16 15:59:40'),(4903,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'33087\'','setup/saveExpenses','0.08621883392334','2016-08-16 15:59:52'),(4904,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'33089\'','setup/saveExpenses','0.026082992553711','2016-08-16 16:00:06'),(4905,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\' WHERE `ID` =  \'33090\'','setup/saveExpenses','0.013591051101685','2016-08-16 16:00:19'),(4906,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'exp\', \'25\', 0, 1, 1, \'68\', \'60\', \'OP-E\', \'2016-08-16\', \'155\', \'1\')','expenses/saveExpense','0.042081117630005','2016-08-16 16:01:21'),(4907,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2086, 0, \'bayar bil api air\', 1, \'33088\', \'60\', \'60\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.020128965377808','2016-08-16 16:01:21'),(4908,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'336\'','expenses/saveExpense','0.018276929855347','2016-08-16 16:01:21'),(4909,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000011\' WHERE `ID` =  2086','expenses/saveExpense','0.016438961029053','2016-08-16 16:01:21'),(4910,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000011\', \'Operating Expenses [OP-E[00000011]]\', \'Operating Expenses [OP-E[00000011]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 60, 60, 0)','expenses/saveExpense','0.0076589584350586','2016-08-16 16:01:21'),(4911,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000011\', 1, \'bayar bil api air\', \'33070\', 60, 1, \'1\', \'60\', \'08\', \'16\', \'1\', \'OP-E[00000011]\', \'User\')','expenses/saveExpense','0.012673854827881','2016-08-16 16:01:21'),(4912,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000011\', 2, \'bayar bil api air\', \'33088\', 60, 1, \'1\', \'60\', \'08\', \'16\', \'1\', \'OP-E[00000011]\', \'User\')','expenses/saveExpense','0.011441946029663','2016-08-16 16:01:21'),(4913,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 60, `total_amount_cr` = 60, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.012871026992798','2016-08-16 16:01:21'),(4914,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2086','expenses/saveExpense','0.011691093444824','2016-08-16 16:01:21'),(4915,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10965','expenses/saveExpense','0.012914180755615','2016-08-16 16:01:21'),(4916,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.019950866699219','2016-08-16 16:01:21'),(4917,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01422381401062','2016-08-16 16:01:21'),(4918,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'10\', \'33088\', \'2016\', \'8\', \'60\', \'0\', 60, \'User\', \'2016-08-16: 10:08:21\')','expenses/saveExpense','0.011041879653931','2016-08-16 16:01:21'),(4919,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'superabu92@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'superabu92@gmail.com\', `position` = 0, `email` = \'superabu92@gmail.com\', `phone_off` = 0, `Phone_mobile` = \'0132897186\', `department` = 0, `section` = 0, `language` = \'ar\', `imageFile` = \'31-1471330697-abuyo.JPG\', `modified_dt` = \'2016-08-16 10-01-59\', `modified_user` = 0 WHERE `fldid` =  \'31\'','userProfile/userMaster','0.015182018280029','2016-08-16 16:02:20'),(4920,23,0,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'7\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'23\'','setup/updateCompany','0.085908889770508','2016-08-16 16:06:12'),(4921,23,0,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'7\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'23\'','setup/updateCompany','0.013017892837524','2016-08-16 16:06:12'),(4922,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33141\'','setup/saveLoan','0.022136926651001','2016-08-16 16:07:12'),(4923,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33141\'','setup/saveLoan','0.00040793418884277','2016-08-16 16:07:19'),(4924,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 4	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33142\'','setup/saveLoan','0.083398103713989','2016-08-16 16:07:29'),(4925,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'bayar loan negative\', \'25\', 0, 1, 1, \'68\', \'50\', \'OP-L\', \'2016-08-16\', \'155\', \'1\')','expenses/saveExpense','0.037531852722168','2016-08-16 16:07:33'),(4926,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2087, 0, \'bayar 50 hinggit hutang\', 1, \'33076\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012694835662842','2016-08-16 16:07:33'),(4927,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'336\'','expenses/saveExpense','0.013513088226318','2016-08-16 16:07:33'),(4928,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000012\' WHERE `ID` =  2087','expenses/saveExpense','0.016174077987671','2016-08-16 16:07:33'),(4929,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000012\', \'Loan Repayment [OP-L[00000012]]\', \'Loan Repayment [OP-L[00000012]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 50, 50, 0)','expenses/saveExpense','0.037822008132935','2016-08-16 16:07:33'),(4930,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000012\', 1, \'bayar 50 hinggit hutang\', \'33070\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/saveExpense','0.012386083602905','2016-08-16 16:07:33'),(4931,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000012\', 2, \'bayar 50 hinggit hutang\', \'33076\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/saveExpense','0.0245521068573','2016-08-16 16:07:34'),(4932,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000012\'','expenses/saveExpense','0.011581897735596','2016-08-16 16:07:34'),(4933,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2087','expenses/saveExpense','0.016741037368774','2016-08-16 16:07:34'),(4934,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10966','expenses/saveExpense','0.01269006729126','2016-08-16 16:07:34'),(4935,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000012\'','expenses/saveExpense','0.011872053146362','2016-08-16 16:07:34'),(4936,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022308111190796','2016-08-16 16:07:34'),(4937,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011878967285156','2016-08-16 16:07:34'),(4938,24,0,'192.168.1.204','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 5	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-08-16 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33143\'','setup/saveLoan','0.09284496307373','2016-08-16 16:07:41'),(4939,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-02-17\', `bankID` = \'33139\', `payTo` = \'162\', `amountPaid` = \'450.00\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'2059\'','loanReceive/update_loan','0.04155707359314','2016-08-16 16:17:22'),(4940,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33133\', `amountExcludedTax` = \'450.00\', `itemdescription` = \'Beli aircond\' WHERE `ID` =  \'1973\'','loanReceive/update_loan','0.00034689903259277','2016-08-16 16:17:22'),(4941,24,0,'192.168.1.204','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'24\', \'3\', \'2016\', \'02\', \'AP\', 1)','loanReceive/update_loan','0.023249864578247','2016-08-16 16:17:22'),(4942,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000001\' WHERE `ID` =  \'2059\'','loanReceive/update_loan','0.016165971755981','2016-08-16 16:17:22'),(4943,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160200000001\', \' [LR[00000010]]]\', \'Loan Received [  [LR[00000010]]] ]\', \'\', \'3\', \'2016-02-17\', \'2016\', \'02\', 450, 450, \'User\')','loanReceive/update_loan','0.0089731216430664','2016-08-16 16:17:22'),(4944,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160200000001\', 1, \'Beli aircond\', \'33139\', 450, 1, \'1\', \'450\', \'02\', \'2016\', \'0\', \'LR[00000010]\', \'User\')','loanReceive/update_loan','0.024529933929443','2016-08-16 16:17:22'),(4945,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160200000001\', 2, \'Beli aircond\', \'33133\', 450, 1, \'1\', \'450\', \'02\', \'2016\', \'0\', \'LR[00000010]\', \'User\')','loanReceive/update_loan','0.011584997177124','2016-08-16 16:17:22'),(4946,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 450, `total_amount_cr` = 450, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160200000001\'','loanReceive/update_loan','0.0209801197052','2016-08-16 16:17:22'),(4947,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2059\'','loanReceive/update_loan','0.011828899383545','2016-08-16 16:17:22'),(4948,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10967','loanReceive/update_loan','0.029495000839233','2016-08-16 16:17:22'),(4949,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160200000001\'','loanReceive/update_loan','0.01176905632019','2016-08-16 16:17:22'),(4950,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'4\', \'33139\', \'2016\', \'2\', \'0\', \'450\', -450, \'User\', \'2016-08-16: 10:08:22\')','loanReceive/update_loan','0.013573169708252','2016-08-16 16:17:22'),(4951,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'3\', \'33133\', \'2016\', \'2\', \'450\', \'0\', 450, \'User\', \'2016-08-16: 10:08:22\')','loanReceive/update_loan','0.011427879333496','2016-08-16 16:17:22'),(4952,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-06-15\', `bankID` = \'33139\', `payTo` = \'162\', `amountPaid` = \'50.00\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'2079\'','loanReceive/update_loan','0.091310024261475','2016-08-16 16:17:41'),(4953,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33133\', `amountExcludedTax` = \'50.00\', `itemdescription` = \'qwer\' WHERE `ID` =  \'1992\'','loanReceive/update_loan','0.00034785270690918','2016-08-16 16:17:41'),(4954,24,0,'192.168.1.204','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'24\', \'3\', \'2016\', \'06\', \'AP\', 1)','loanReceive/update_loan','0.013491868972778','2016-08-16 16:17:41'),(4955,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000001\' WHERE `ID` =  \'2079\'','loanReceive/update_loan','0.011612892150879','2016-08-16 16:17:41'),(4956,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160600000001\', \' [LR[00000022]]]\', \'Loan Received [  [LR[00000022]]] ]\', \'\', \'3\', \'2016-06-15\', \'2016\', \'06\', 50, 50, \'User\')','loanReceive/update_loan','0.0090038776397705','2016-08-16 16:17:41'),(4957,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160600000001\', 1, \'qwer\', \'33139\', 50, 1, \'1\', \'50\', \'06\', \'2016\', \'0\', \'LR[00000022]\', \'User\')','loanReceive/update_loan','0.011377096176147','2016-08-16 16:17:41'),(4958,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160600000001\', 2, \'qwer\', \'33133\', 50, 1, \'1\', \'50\', \'06\', \'2016\', \'0\', \'LR[00000022]\', \'User\')','loanReceive/update_loan','0.012746095657349','2016-08-16 16:17:41'),(4959,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160600000001\'','loanReceive/update_loan','0.011528968811035','2016-08-16 16:17:41'),(4960,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2079\'','loanReceive/update_loan','0.021353960037231','2016-08-16 16:17:41'),(4961,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10968','loanReceive/update_loan','0.011626005172729','2016-08-16 16:17:41'),(4962,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160600000001\'','loanReceive/update_loan','0.012887001037598','2016-08-16 16:17:41'),(4963,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'4\', \'33139\', \'2016\', \'6\', \'0\', \'50\', -50, \'User\', \'2016-08-16: 10:08:41\')','loanReceive/update_loan','0.0225830078125','2016-08-16 16:17:41'),(4964,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'3\', \'33133\', \'2016\', \'6\', \'50\', \'0\', 50, \'User\', \'2016-08-16: 10:08:41\')','loanReceive/update_loan','0.018054962158203','2016-08-16 16:17:41'),(4965,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'33013\', \'100\', \'LR\', \'149\', \'23\', 3)','loanReceive/save_new_loan','0.31272792816162','2016-08-16 16:17:50'),(4966,23,0,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2088, \'33008\', \'100\', \'Loan1 Bank2\')','loanReceive/save_new_loan','0.028300046920776','2016-08-16 16:17:50'),(4967,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  \'314\'','loanReceive/save_new_loan','0.012702941894531','2016-08-16 16:17:50'),(4968,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000035\' WHERE `ID` =  2088','loanReceive/save_new_loan','0.021447896957397','2016-08-16 16:17:50'),(4969,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000035\', \' [LR[00000031]]]\', \'Loan Received [  [LR[00000031]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 100, 100, \'User\')','loanReceive/save_new_loan','0.0075070858001709','2016-08-16 16:17:50'),(4970,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000035\', 1, \'Loan1 Bank2\', \'33013\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/save_new_loan','0.016499042510986','2016-08-16 16:17:50'),(4971,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000035\', 2, \'Loan1 Bank2\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/save_new_loan','0.012498140335083','2016-08-16 16:17:50'),(4972,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000035\'','loanReceive/save_new_loan','0.011763095855713','2016-08-16 16:17:50'),(4973,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2088','loanReceive/save_new_loan','0.012850046157837','2016-08-16 16:17:50'),(4974,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10969','loanReceive/save_new_loan','0.01646614074707','2016-08-16 16:17:50'),(4975,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000035\'','loanReceive/save_new_loan','0.011451005935669','2016-08-16 16:17:50'),(4976,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.011090040206909','2016-08-16 16:17:50'),(4977,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.018754005432129','2016-08-16 16:17:50'),(4978,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-19\', `bankID` = \'33140\', `payTo` = \'162\', `amountPaid` = \'190.00\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'2082\'','loanReceive/update_loan','0.018685102462769','2016-08-16 16:17:57'),(4979,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33133\', `amountExcludedTax` = \'190.00\', `itemdescription` = \'qwe\' WHERE `ID` =  \'1995\'','loanReceive/update_loan','0.00036501884460449','2016-08-16 16:17:57'),(4980,24,0,'192.168.1.204','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'24\', \'3\', \'2016\', \'07\', \'AP\', 1)','loanReceive/update_loan','0.010350942611694','2016-08-16 16:17:57'),(4981,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000001\' WHERE `ID` =  \'2082\'','loanReceive/update_loan','0.012941122055054','2016-08-16 16:17:57'),(4982,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160700000001\', \' [LR[00000025]]]\', \'Loan Received [  [LR[00000025]]] ]\', \'\', \'3\', \'2016-07-19\', \'2016\', \'07\', 190, 190, \'User\')','loanReceive/update_loan','0.0075500011444092','2016-08-16 16:17:57'),(4983,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160700000001\', 1, \'qwe\', \'33140\', 190, 1, \'1\', \'190\', \'07\', \'2016\', \'0\', \'LR[00000025]\', \'User\')','loanReceive/update_loan','0.012662172317505','2016-08-16 16:17:57'),(4984,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160700000001\', 2, \'qwe\', \'33133\', 190, 1, \'1\', \'190\', \'07\', \'2016\', \'0\', \'LR[00000025]\', \'User\')','loanReceive/update_loan','0.011439085006714','2016-08-16 16:17:57'),(4985,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 190, `total_amount_cr` = 190, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160700000001\'','loanReceive/update_loan','0.012844800949097','2016-08-16 16:17:57'),(4986,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2082\'','loanReceive/update_loan','0.011713981628418','2016-08-16 16:17:57'),(4987,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10970','loanReceive/update_loan','0.012907028198242','2016-08-16 16:17:57'),(4988,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160700000001\'','loanReceive/update_loan','0.011620044708252','2016-08-16 16:17:57'),(4989,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'4\', \'33140\', \'2016\', \'7\', \'0\', \'190\', -190, \'User\', \'2016-08-16: 10:08:57\')','loanReceive/update_loan','0.022232055664062','2016-08-16 16:17:57'),(4990,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'3\', \'33133\', \'2016\', \'7\', \'190\', \'0\', 190, \'User\', \'2016-08-16: 10:08:57\')','loanReceive/update_loan','0.011307954788208','2016-08-16 16:17:57'),(4991,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'33013\', `payTo` = \'149\', `amountPaid` = \'200\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.085747003555298','2016-08-16 16:18:09'),(4992,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33008\', `amountExcludedTax` = \'200\', `itemdescription` = \'Loan1 Bank2\' WHERE `ID` =  \'2001\'','loanReceive/update_loan','0.013350009918213','2016-08-16 16:18:09'),(4993,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  \'314\'','loanReceive/update_loan','0.011639833450317','2016-08-16 16:18:09'),(4994,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000036\' WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.011543035507202','2016-08-16 16:18:09'),(4995,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000036\', \' [LR[00000031]]]\', \'Loan Received [  [LR[00000031]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 200, 200, \'User\')','loanReceive/update_loan','0.0089080333709717','2016-08-16 16:18:09'),(4996,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000036\', 1, \'Loan1 Bank2\', \'33013\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/update_loan','0.01133394241333','2016-08-16 16:18:09'),(4997,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000036\', 2, \'Loan1 Bank2\', \'33008\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/update_loan','0.012730121612549','2016-08-16 16:18:09'),(4998,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000036\'','loanReceive/update_loan','0.011523008346558','2016-08-16 16:18:09'),(4999,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.0078451633453369','2016-08-16 16:18:09'),(5000,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10971','loanReceive/update_loan','0.0084028244018555','2016-08-16 16:18:09'),(5001,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000036\'','loanReceive/update_loan','0.012911081314087','2016-08-16 16:18:09'),(5002,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.0095310211181641','2016-08-16 16:18:09'),(5003,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.011866092681885','2016-08-16 16:18:09'),(5004,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-02-17\', `bankID` = \'33140\', `payTo` = \'162\', `amountPaid` = \'10.00\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'2071\'','loanReceive/update_loan','0.0241379737854','2016-08-16 16:19:47'),(5005,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33133\', `amountExcludedTax` = \'10.00\', `itemdescription` = \'nasi lemak\' WHERE `ID` =  \'1985\'','loanReceive/update_loan','0.00034689903259277','2016-08-16 16:19:47'),(5006,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'338\'','loanReceive/update_loan','0.013460159301758','2016-08-16 16:19:47'),(5007,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000002\' WHERE `ID` =  \'2071\'','loanReceive/update_loan','0.013013124465942','2016-08-16 16:19:47'),(5008,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160200000002\', \' [LR[00000016]]]\', \'Loan Received [  [LR[00000016]]] ]\', \'\', \'3\', \'2016-02-17\', \'2016\', \'02\', 10, 10, \'User\')','loanReceive/update_loan','0.012464046478271','2016-08-16 16:19:47'),(5009,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160200000002\', 1, \'nasi lemak\', \'33140\', 10, 1, \'1\', \'10\', \'02\', \'2016\', \'0\', \'LR[00000016]\', \'User\')','loanReceive/update_loan','0.010957002639771','2016-08-16 16:19:47'),(5010,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160200000002\', 2, \'nasi lemak\', \'33133\', 10, 1, \'1\', \'10\', \'02\', \'2016\', \'0\', \'LR[00000016]\', \'User\')','loanReceive/update_loan','0.01314902305603','2016-08-16 16:19:47'),(5011,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160200000002\'','loanReceive/update_loan','0.011145830154419','2016-08-16 16:19:47'),(5012,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2071\'','loanReceive/update_loan','0.013358116149902','2016-08-16 16:19:47'),(5013,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10972','loanReceive/update_loan','0.01131796836853','2016-08-16 16:19:47'),(5014,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160200000002\'','loanReceive/update_loan','0.013265132904053','2016-08-16 16:19:47'),(5015,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'4\', \'33140\', \'2016\', \'2\', \'0\', \'10\', -10, \'User\', \'2016-08-16: 10:08:47\')','loanReceive/update_loan','0.0086760520935059','2016-08-16 16:19:47'),(5016,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','loanReceive/update_loan','0.012248039245605','2016-08-16 16:19:47'),(5017,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-11\', `bankID` = \'33013\', `payTo` = \'149\', `amountPaid` = \'200.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.010879039764404','2016-08-16 16:20:07'),(5018,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33008\', `amountExcludedTax` = \'200.00\', `itemdescription` = \'Loan1 Bank2\' WHERE `ID` =  \'2001\'','loanReceive/update_loan','0.00033903121948242','2016-08-16 16:20:07'),(5019,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'329\'','loanReceive/update_loan','0.016703128814697','2016-08-16 16:20:07'),(5020,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000002\' WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.011431932449341','2016-08-16 16:20:07'),(5021,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160700000002\', \' [LR[00000031]]]\', \'Loan Received [  [LR[00000031]]] ]\', \'\', \'3\', \'2016-07-11\', \'2016\', \'07\', 200, 200, \'User\')','loanReceive/update_loan','0.0091519355773926','2016-08-16 16:20:07'),(5022,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160700000002\', 1, \'Loan1 Bank2\', \'33013\', 200, 1, \'1\', \'200\', \'07\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/update_loan','0.012911081314087','2016-08-16 16:20:07'),(5023,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160700000002\', 2, \'Loan1 Bank2\', \'33008\', 200, 1, \'1\', \'200\', \'07\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/update_loan','0.011209011077881','2016-08-16 16:20:07'),(5024,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160700000002\'','loanReceive/update_loan','0.011279106140137','2016-08-16 16:20:07'),(5025,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.013260841369629','2016-08-16 16:20:07'),(5026,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10973','loanReceive/update_loan','0.016479015350342','2016-08-16 16:20:07'),(5027,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160700000002\'','loanReceive/update_loan','0.010976076126099','2016-08-16 16:20:07'),(5028,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33013\', \'2016\', \'7\', \'0\', \'200\', -200, \'User\', \'2016-08-16: 10:08:07\')','loanReceive/update_loan','0.010996103286743','2016-08-16 16:20:07'),(5029,23,0,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33008\', \'2016\', \'7\', \'200\', \'0\', 200, \'User\', \'2016-08-16: 10:08:07\')','loanReceive/update_loan','0.0094418525695801','2016-08-16 16:20:07'),(5030,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-06-09\', `bankID` = \'33139\', `payTo` = \'162\', `amountPaid` = \'50.00\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'2080\'','loanReceive/update_loan','0.033655881881714','2016-08-16 16:20:16'),(5031,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33133\', `amountExcludedTax` = \'50.00\', `itemdescription` = \'asd\' WHERE `ID` =  \'1993\'','loanReceive/update_loan','0.00034093856811523','2016-08-16 16:20:16'),(5032,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'339\'','loanReceive/update_loan','0.010975122451782','2016-08-16 16:20:16'),(5033,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160600000002\' WHERE `ID` =  \'2080\'','loanReceive/update_loan','0.013072967529297','2016-08-16 16:20:16'),(5034,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160600000002\', \' [LR[00000023]]]\', \'Loan Received [  [LR[00000023]]] ]\', \'\', \'3\', \'2016-06-09\', \'2016\', \'06\', 50, 50, \'User\')','loanReceive/update_loan','0.0073471069335938','2016-08-16 16:20:16'),(5035,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160600000002\', 1, \'asd\', \'33139\', 50, 1, \'1\', \'50\', \'06\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/update_loan','0.01283597946167','2016-08-16 16:20:16'),(5036,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160600000002\', 2, \'asd\', \'33133\', 50, 1, \'1\', \'50\', \'06\', \'2016\', \'0\', \'LR[00000023]\', \'User\')','loanReceive/update_loan','0.011332035064697','2016-08-16 16:20:16'),(5037,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160600000002\'','loanReceive/update_loan','0.024354934692383','2016-08-16 16:20:16'),(5038,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2080\'','loanReceive/update_loan','0.008436918258667','2016-08-16 16:20:16'),(5039,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10974','loanReceive/update_loan','0.01313591003418','2016-08-16 16:20:16'),(5040,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160600000002\'','loanReceive/update_loan','0.011425971984863','2016-08-16 16:20:17'),(5041,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/update_loan','0.010883092880249','2016-08-16 16:20:17'),(5042,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'6\'','loanReceive/update_loan','0.010449886322021','2016-08-16 16:20:17'),(5043,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-15\', `bankID` = \'33013\', `payTo` = \'148\', `amountPaid` = \'40.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.0092678070068359','2016-08-16 16:20:34'),(5044,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'40.00\', `itemdescription` = \'received\' WHERE `ID` =  \'1941\'','loanReceive/update_loan','0.021581888198853','2016-08-16 16:20:34'),(5045,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  \'314\'','loanReceive/update_loan','0.013153076171875','2016-08-16 16:20:34'),(5046,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000037\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.011080980300903','2016-08-16 16:20:34'),(5047,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000037\', \' [LR[00000015]]]\', \'Loan Received [  [LR[00000015]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', 40, 40, \'User\')','loanReceive/update_loan','0.0095300674438477','2016-08-16 16:20:34'),(5048,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000037\', 1, \'received\', \'33013\', 40, 1, \'1\', \'40\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.010844945907593','2016-08-16 16:20:34'),(5049,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000037\', 2, \'received\', \'33007\', 40, 1, \'1\', \'40\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.0081899166107178','2016-08-16 16:20:34'),(5050,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000037\'','loanReceive/update_loan','0.013136863708496','2016-08-16 16:20:34'),(5051,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.011376857757568','2016-08-16 16:20:34'),(5052,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10975','loanReceive/update_loan','0.013201951980591','2016-08-16 16:20:34'),(5053,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000037\'','loanReceive/update_loan','0.01134204864502','2016-08-16 16:20:34'),(5054,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.011166095733643','2016-08-16 16:20:34'),(5055,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.010281085968018','2016-08-16 16:20:34'),(5056,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-15\', `bankID` = \'33076\', `payTo` = \'159\', `amountPaid` = \'-10.00\', `companyID` = \'25\', `updateAble` = 1 WHERE `ID` =  \'2067\'','loanReceive/update_loan','0.023021936416626','2016-08-16 16:20:34'),(5057,25,0,'192.168.1.220','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33074\', `amountExcludedTax` = \'-10.00\', `itemdescription` = \'terima pinjaman\' WHERE `ID` =  \'1981\'','loanReceive/update_loan','0.00033092498779297','2016-08-16 16:20:34'),(5058,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'336\'','loanReceive/update_loan','0.022547006607056','2016-08-16 16:20:34'),(5059,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000013\' WHERE `ID` =  \'2067\'','loanReceive/update_loan','0.016416072845459','2016-08-16 16:20:34'),(5060,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000013\', \' [LR[00000010]]]\', \'Loan Received [  [LR[00000010]]] ]\', \'\', \'3\', \'2016-08-15\', \'2016\', \'08\', -10, -10, \'User\')','loanReceive/update_loan','0.042909860610962','2016-08-16 16:20:34'),(5061,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000013\', 1, \'terima pinjaman\', \'33076\', -10, 1, \'1\', \'-10\', \'08\', \'2016\', \'0\', \'LR[00000010]\', \'User\')','loanReceive/update_loan','0.027040958404541','2016-08-16 16:20:34'),(5062,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000013\', 2, \'terima pinjaman\', \'33074\', -10, 1, \'1\', \'-10\', \'08\', \'2016\', \'0\', \'LR[00000010]\', \'User\')','loanReceive/update_loan','0.016175985336304','2016-08-16 16:20:34'),(5063,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = -10, `total_amount_cr` = -10, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000013\'','loanReceive/update_loan','0.016266822814941','2016-08-16 16:20:34'),(5064,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2067\'','loanReceive/update_loan','0.016562938690186','2016-08-16 16:20:34'),(5065,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10976','loanReceive/update_loan','0.01645302772522','2016-08-16 16:20:34'),(5066,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000013\'','loanReceive/update_loan','0.016345024108887','2016-08-16 16:20:34'),(5067,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.01444411277771','2016-08-16 16:20:34'),(5068,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.012161016464233','2016-08-16 16:20:34'),(5069,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'33013\', `payTo` = \'149\', `amountPaid` = \'200.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.01958179473877','2016-08-16 16:20:36'),(5070,23,0,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33008\', `amountExcludedTax` = \'200.00\', `itemdescription` = \'Loan1 Bank2\' WHERE `ID` =  \'2001\'','loanReceive/update_loan','0.0003349781036377','2016-08-16 16:20:36'),(5071,23,0,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  \'314\'','loanReceive/update_loan','0.027184963226318','2016-08-16 16:20:36'),(5072,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000038\' WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.01138710975647','2016-08-16 16:20:36'),(5073,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000038\', \' [LR[00000031]]]\', \'Loan Received [  [LR[00000031]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 200, 200, \'User\')','loanReceive/update_loan','0.012137889862061','2016-08-16 16:20:36'),(5074,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000038\', 1, \'Loan1 Bank2\', \'33013\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/update_loan','0.0081741809844971','2016-08-16 16:20:36'),(5075,23,0,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000038\', 2, \'Loan1 Bank2\', \'33008\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/update_loan','0.012950897216797','2016-08-16 16:20:36'),(5076,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000038\'','loanReceive/update_loan','0.024712085723877','2016-08-16 16:20:36'),(5077,23,0,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.011133909225464','2016-08-16 16:20:36'),(5078,23,0,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10977','loanReceive/update_loan','0.030167818069458','2016-08-16 16:20:36'),(5079,23,0,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000038\'','loanReceive/update_loan','0.011056900024414','2016-08-16 16:20:36'),(5080,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.014439105987549','2016-08-16 16:20:36'),(5081,23,0,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.026725053787231','2016-08-16 16:20:36'),(5082,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-10\', `bankID` = \'33013\', `payTo` = \'148\', `amountPaid` = \'40.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.090619087219238','2016-08-16 16:21:00'),(5083,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'40.00\', `itemdescription` = \'received\' WHERE `ID` =  \'1941\'','loanReceive/update_loan','0.0003359317779541','2016-08-16 16:21:01'),(5084,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'314\'','loanReceive/update_loan','0.01612114906311','2016-08-16 16:21:01'),(5085,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000039\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.0077509880065918','2016-08-16 16:21:01'),(5086,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000039\', \' [LR[00000015]]]\', \'Loan Received [  [LR[00000015]]] ]\', \'\', \'3\', \'2016-08-10\', \'2016\', \'08\', 40, 40, \'User\')','loanReceive/update_loan','0.0089139938354492','2016-08-16 16:21:01'),(5087,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000039\', 1, \'received\', \'33013\', 40, 1, \'1\', \'40\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.01069188117981','2016-08-16 16:21:01'),(5088,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000039\', 2, \'received\', \'33007\', 40, 1, \'1\', \'40\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.0081851482391357','2016-08-16 16:21:01'),(5089,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000039\'','loanReceive/update_loan','0.013298988342285','2016-08-16 16:21:01'),(5090,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.011225938796997','2016-08-16 16:21:01'),(5091,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10978','loanReceive/update_loan','0.013395071029663','2016-08-16 16:21:01'),(5092,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000039\'','loanReceive/update_loan','0.011139869689941','2016-08-16 16:21:01'),(5093,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.011358976364136','2016-08-16 16:21:01'),(5094,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.010174989700317','2016-08-16 16:21:01'),(5095,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'24\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'50\', `formNo` = \'OP-L\', `paymentDate` = \'2016-03-18\', `bankId` = \'162\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2057\'','expenses/saveExpense','0.035787105560303','2016-08-16 16:21:23'),(5096,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2057\', `createdBy` = 0, `itemdescription` = \'bantuan\', `lineNo` = 1, `accountID` = \'33139\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1971\'','expenses/saveExpense','0.00035309791564941','2016-08-16 16:21:23'),(5097,24,0,'192.168.1.204','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'24\', \'3\', \'16\', \'03\', \'AP\', 1)','expenses/saveExpense','0.035215854644775','2016-08-16 16:21:23'),(5098,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160300000001\' WHERE `ID` =  \'2057\'','expenses/saveExpense','0.0096099376678467','2016-08-16 16:21:23'),(5099,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP160300000001\', \'Loan Repayment [OP-L[00000009]]\', \'Loan Repayment [OP-L[00000009]]\', \'\', \'3\', \'2016-03-18\', \'16\', \'03\', 50, 50, 0)','expenses/saveExpense','0.023468017578125','2016-08-16 16:21:23'),(5100,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP160300000001\', 1, \'bantuan\', \'33133\', 50, 1, \'1\', \'50\', \'03\', \'16\', \'1\', \'OP-L[00000009]\', \'User\')','expenses/saveExpense','0.0080649852752686','2016-08-16 16:21:23'),(5101,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP160300000001\', 2, \'bantuan\', \'33139\', 50, 1, \'1\', \'50\', \'03\', \'16\', \'1\', \'OP-L[00000009]\', \'User\')','expenses/saveExpense','0.016041040420532','2016-08-16 16:21:23'),(5102,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP160300000001\'','expenses/saveExpense','0.016690015792847','2016-08-16 16:21:23'),(5103,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2057\'','expenses/saveExpense','0.016185998916626','2016-08-16 16:21:23'),(5104,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10979','expenses/saveExpense','0.0084168910980225','2016-08-16 16:21:23'),(5105,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP160300000001\'','expenses/saveExpense','0.013483047485352','2016-08-16 16:21:23'),(5106,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'3\', \'33133\', \'2016\', \'3\', \'0\', \'50\', -50, \'User\', \'2016-08-16: 10:08:23\')','expenses/saveExpense','0.0085859298706055','2016-08-16 16:21:23'),(5107,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'4\', \'33139\', \'2016\', \'3\', \'50\', \'0\', 50, \'User\', \'2016-08-16: 10:08:23\')','expenses/saveExpense','0.02030086517334','2016-08-16 16:21:23'),(5108,25,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-02-03\', `bankID` = \'33076\', `payTo` = \'159\', `amountPaid` = \'10.00\', `companyID` = \'25\', `updateAble` = 1 WHERE `ID` =  \'2066\'','loanReceive/update_loan','0.016360998153687','2016-08-16 16:21:34'),(5109,25,0,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33074\', `amountExcludedTax` = \'10.00\', `itemdescription` = \'\' WHERE `ID` =  \'1980\'','loanReceive/update_loan','0.00032401084899902','2016-08-16 16:21:34'),(5110,25,0,'192.168.1.199','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'25\', \'3\', \'2016\', \'02\', \'AP\', 1)','loanReceive/update_loan','0.01154899597168','2016-08-16 16:21:34'),(5111,25,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000001\' WHERE `ID` =  \'2066\'','loanReceive/update_loan','0.011106014251709','2016-08-16 16:21:34'),(5112,25,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160200000001\', \' [LR[00000009]]]\', \'Loan Received [  [LR[00000009]]] ]\', \'\', \'3\', \'2016-02-03\', \'2016\', \'02\', 10, 10, \'User\')','loanReceive/update_loan','0.0094921588897705','2016-08-16 16:21:34'),(5113,25,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160200000001\', 1, \'\', \'33076\', 10, 1, \'1\', \'10\', \'02\', \'2016\', \'0\', \'LR[00000009]\', \'User\')','loanReceive/update_loan','0.01085901260376','2016-08-16 16:21:34'),(5114,25,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160200000001\', 2, \'\', \'33074\', 10, 1, \'1\', \'10\', \'02\', \'2016\', \'0\', \'LR[00000009]\', \'User\')','loanReceive/update_loan','0.0076041221618652','2016-08-16 16:21:34'),(5115,25,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160200000001\'','loanReceive/update_loan','0.0083580017089844','2016-08-16 16:21:34'),(5116,25,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2066\'','loanReceive/update_loan','0.013510942459106','2016-08-16 16:21:34'),(5117,25,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10980','loanReceive/update_loan','0.011066913604736','2016-08-16 16:21:34'),(5118,25,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160200000001\'','loanReceive/update_loan','0.013417959213257','2016-08-16 16:21:35'),(5119,25,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'4\', \'33076\', \'2016\', \'2\', \'0\', \'10\', -10, \'User\', \'2016-08-16: 10:08:34\')','loanReceive/update_loan','0.016853809356689','2016-08-16 16:21:35'),(5120,25,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'3\', \'33074\', \'2016\', \'2\', \'10\', \'0\', 10, \'User\', \'2016-08-16: 10:08:34\')','loanReceive/update_loan','0.031116962432861','2016-08-16 16:21:35'),(5121,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-07\', `bankID` = \'33013\', `payTo` = \'149\', `amountPaid` = \'200.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.022157907485962','2016-08-16 16:21:39'),(5122,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33008\', `amountExcludedTax` = \'200.00\', `itemdescription` = \'Loan1 Bank2\' WHERE `ID` =  \'2001\'','loanReceive/update_loan','0.00033998489379883','2016-08-16 16:21:39'),(5123,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'314\'','loanReceive/update_loan','0.027307987213135','2016-08-16 16:21:39'),(5124,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000040\' WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.0083901882171631','2016-08-16 16:21:39'),(5125,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000040\', \' [LR[00000031]]]\', \'Loan Received [  [LR[00000031]]] ]\', \'\', \'3\', \'2016-08-07\', \'2016\', \'08\', 200, 200, \'User\')','loanReceive/update_loan','0.0096099376678467','2016-08-16 16:21:39'),(5126,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000040\', 1, \'Loan1 Bank2\', \'33013\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/update_loan','0.010711193084717','2016-08-16 16:21:39'),(5127,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000040\', 2, \'Loan1 Bank2\', \'33008\', 200, 1, \'1\', \'200\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/update_loan','0.015928030014038','2016-08-16 16:21:39'),(5128,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000040\'','loanReceive/update_loan','0.0083291530609131','2016-08-16 16:21:39'),(5129,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2088\'','loanReceive/update_loan','0.016184091567993','2016-08-16 16:21:39'),(5130,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10981','loanReceive/update_loan','0.0084338188171387','2016-08-16 16:21:39'),(5131,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000040\'','loanReceive/update_loan','0.016149044036865','2016-08-16 16:21:39'),(5132,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.01472806930542','2016-08-16 16:21:39'),(5133,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.040371894836426','2016-08-16 16:21:39'),(5134,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-11\', `bankID` = \'33013\', `payTo` = \'148\', `amountPaid` = \'40.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.081467866897583','2016-08-16 16:21:58'),(5135,23,0,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'40.00\', `itemdescription` = \'received\' WHERE `ID` =  \'1941\'','loanReceive/update_loan','0.00035810470581055','2016-08-16 16:21:58'),(5136,23,0,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  \'314\'','loanReceive/update_loan','0.02974009513855','2016-08-16 16:21:58'),(5137,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000041\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.0500168800354','2016-08-16 16:21:58'),(5138,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000041\', \' [LR[00000015]]]\', \'Loan Received [  [LR[00000015]]] ]\', \'\', \'3\', \'2016-08-11\', \'2016\', \'08\', 40, 40, \'User\')','loanReceive/update_loan','0.028875827789307','2016-08-16 16:21:58'),(5139,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000041\', 1, \'received\', \'33013\', 40, 1, \'1\', \'40\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.0081298351287842','2016-08-16 16:21:58'),(5140,23,0,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000041\', 2, \'received\', \'33007\', 40, 1, \'1\', \'40\', \'08\', \'2016\', \'0\', \'LR[00000015]\', \'User\')','loanReceive/update_loan','0.024249076843262','2016-08-16 16:21:58'),(5141,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000041\'','loanReceive/update_loan','0.024694919586182','2016-08-16 16:21:58'),(5142,23,0,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2025\'','loanReceive/update_loan','0.024808883666992','2016-08-16 16:21:58'),(5143,23,0,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10982','loanReceive/update_loan','0.02479100227356','2016-08-16 16:21:58'),(5144,23,0,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000041\'','loanReceive/update_loan','0.024697065353394','2016-08-16 16:21:58'),(5145,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.022804975509644','2016-08-16 16:21:58'),(5146,23,0,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.023993015289307','2016-08-16 16:21:58'),(5147,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `memo` = \'try masuk negative value\', `companyID` = \'25\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'-50\', `formNo` = \'OP-L\', `paymentDate` = \'2016-08-15\', `bankId` = \'159\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2061\'','expenses/saveExpense','0.052883863449097','2016-08-16 16:21:59'),(5148,25,0,'192.168.1.220','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2061\', `createdBy` = 0, `itemdescription` = \'bayar loan yang tak wujud\', `lineNo` = 1, `accountID` = \'33076\', `amountIncludedTax` = \'-50\', `amountExcludedTax` = \'-50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1975\'','expenses/saveExpense','0.00036501884460449','2016-08-16 16:21:59'),(5149,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'336\'','expenses/saveExpense','0.039541959762573','2016-08-16 16:21:59'),(5150,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000014\' WHERE `ID` =  \'2061\'','expenses/saveExpense','0.033108949661255','2016-08-16 16:21:59'),(5151,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000014\', \'Loan Repayment [OP-L[00000007]]\', \'Loan Repayment [OP-L[00000007]]\', \'\', \'3\', \'2016-08-15\', \'16\', \'08\', -50, -50, 0)','expenses/saveExpense','0.023689985275269','2016-08-16 16:21:59'),(5152,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000014\', 1, \'bayar loan yang tak wujud\', \'33074\', -50, 1, \'1\', \'-50\', \'08\', \'16\', \'1\', \'OP-L[00000007]\', \'User\')','expenses/saveExpense','0.024561166763306','2016-08-16 16:21:59'),(5153,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000014\', 2, \'bayar loan yang tak wujud\', \'33076\', -50, 1, \'1\', \'-50\', \'08\', \'16\', \'1\', \'OP-L[00000007]\', \'User\')','expenses/saveExpense','0.032849073410034','2016-08-16 16:21:59'),(5154,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = -50, `total_amount_cr` = -50, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000014\'','expenses/saveExpense','0.033017158508301','2016-08-16 16:21:59'),(5155,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2061\'','expenses/saveExpense','0.033149003982544','2016-08-16 16:21:59'),(5156,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10983','expenses/saveExpense','0.024221897125244','2016-08-16 16:21:59'),(5157,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000014\'','expenses/saveExpense','0.016623973846436','2016-08-16 16:21:59'),(5158,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011945962905884','2016-08-16 16:21:59'),(5159,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017928123474121','2016-08-16 16:21:59'),(5160,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `memo` = \'bayar habis loan\', `companyID` = \'25\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-L\', `paymentDate` = \'2016-08-15\', `bankId` = \'159\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2060\'','expenses/saveExpense','0.021823883056641','2016-08-16 16:23:28'),(5161,25,0,'192.168.1.220','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2060\', `createdBy` = 0, `itemdescription` = \'bayar habis loan\', `lineNo` = 1, `accountID` = \'33076\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1974\'','expenses/saveExpense','0.00034904479980469','2016-08-16 16:23:28'),(5162,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'336\'','expenses/saveExpense','0.021562099456787','2016-08-16 16:23:28'),(5163,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000015\' WHERE `ID` =  \'2060\'','expenses/saveExpense','0.016761064529419','2016-08-16 16:23:28'),(5164,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000015\', \'Loan Repayment [OP-L[00000006]]\', \'Loan Repayment [OP-L[00000006]]\', \'\', \'3\', \'2016-08-15\', \'16\', \'08\', 100, 100, 0)','expenses/saveExpense','0.023425102233887','2016-08-16 16:23:28'),(5165,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000015\', 1, \'bayar habis loan\', \'33074\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000006]\', \'User\')','expenses/saveExpense','0.030462980270386','2016-08-16 16:23:28'),(5166,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000015\', 2, \'bayar habis loan\', \'33076\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-L[00000006]\', \'User\')','expenses/saveExpense','0.024517059326172','2016-08-16 16:23:28'),(5167,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000015\'','expenses/saveExpense','0.019038915634155','2016-08-16 16:23:28'),(5168,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2060\'','expenses/saveExpense','0.016204118728638','2016-08-16 16:23:28'),(5169,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10984','expenses/saveExpense','0.016706943511963','2016-08-16 16:23:28'),(5170,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000015\'','expenses/saveExpense','0.032710075378418','2016-08-16 16:23:28'),(5171,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.025360107421875','2016-08-16 16:23:28'),(5172,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012627124786377','2016-08-16 16:23:28'),(5173,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'esok bayar loan\', \'25\', 0, 1, 1, \'68\', \'50\', \'OP-L\', \'2016-08-17\', \'155\', \'1\')','expenses/saveExpense','0.053825855255127','2016-08-16 16:25:19'),(5174,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2089, 0, \'bayar loan awal\', 1, \'33076\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016704797744751','2016-08-16 16:25:19'),(5175,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'336\'','expenses/saveExpense','0.038214921951294','2016-08-16 16:25:19'),(5176,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000016\' WHERE `ID` =  2089','expenses/saveExpense','0.016713857650757','2016-08-16 16:25:19'),(5177,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000016\', \'Loan Repayment [OP-L[00000013]]\', \'Loan Repayment [OP-L[00000013]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 50, 50, 0)','expenses/saveExpense','0.0099570751190186','2016-08-16 16:25:19'),(5178,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000016\', 1, \'bayar loan awal\', \'33070\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000013]\', \'User\')','expenses/saveExpense','0.01877498626709','2016-08-16 16:25:19'),(5179,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000016\', 2, \'bayar loan awal\', \'33076\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000013]\', \'User\')','expenses/saveExpense','0.024294853210449','2016-08-16 16:25:19'),(5180,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000016\'','expenses/saveExpense','0.016668081283569','2016-08-16 16:25:19'),(5181,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2089','expenses/saveExpense','0.016211986541748','2016-08-16 16:25:19'),(5182,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10985','expenses/saveExpense','0.016752004623413','2016-08-16 16:25:19'),(5183,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000016\'','expenses/saveExpense','0.01611590385437','2016-08-16 16:25:19'),(5184,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023228168487549','2016-08-16 16:25:19'),(5185,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017976999282837','2016-08-16 16:25:19'),(5186,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'24\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'368\', `formNo` = \'OP-A\', `paymentDate` = \'2016-08-16\', `bankId` = \'163\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2045\'','expenses/saveExpense','0.030364990234375','2016-08-16 16:33:25'),(5187,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2045\', 0, \'meja\', 1, \'33122\', \'68\', \'68\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.024410009384155','2016-08-16 16:33:25'),(5188,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2045\', `createdBy` = 0, `itemdescription` = \'Sofa\', `lineNo` = 1, `accountID` = \'33122\', `amountIncludedTax` = \'300\', `amountExcludedTax` = \'300\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1961\'','expenses/saveExpense','0.00035619735717773','2016-08-16 16:33:25'),(5189,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  \'334\'','expenses/saveExpense','0.025308847427368','2016-08-16 16:33:25'),(5190,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000034\' WHERE `ID` =  \'2045\'','expenses/saveExpense','0.13681292533875','2016-08-16 16:33:25'),(5191,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000034\', \'Purchase of Fixed Asset [OP-A[00000005]]\', \'Purchase of Fixed Asset [OP-A[00000005]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 368, 368, 0)','expenses/saveExpense','0.028291940689087','2016-08-16 16:33:25'),(5192,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000034\', 1, \'Sofa\', \'33134\', 300, 1, \'1\', \'300\', \'08\', \'16\', \'1\', \'OP-A[00000005]\', \'User\')','expenses/saveExpense','0.015920162200928','2016-08-16 16:33:25'),(5193,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000034\', 2, \'Sofa\', \'33122\', 300, 1, \'1\', \'300\', \'08\', \'16\', \'1\', \'OP-A[00000005]\', \'User\')','expenses/saveExpense','0.016513824462891','2016-08-16 16:33:25'),(5194,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000034\', 3, \'meja\', \'33134\', 68, 1, \'1\', \'68\', \'08\', \'16\', \'1\', \'OP-A[00000005]\', \'User\')','expenses/saveExpense','0.015963077545166','2016-08-16 16:33:25'),(5195,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000034\', 4, \'meja\', \'33122\', 68, 1, \'1\', \'68\', \'08\', \'16\', \'1\', \'OP-A[00000005]\', \'User\')','expenses/saveExpense','0.024850845336914','2016-08-16 16:33:25'),(5196,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 368, `total_amount_cr` = 368, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000034\'','expenses/saveExpense','0.032756090164185','2016-08-16 16:33:25'),(5197,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2045\'','expenses/saveExpense','0.025079965591431','2016-08-16 16:33:25'),(5198,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10986','expenses/saveExpense','0.016195058822632','2016-08-16 16:33:25'),(5199,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000034\'','expenses/saveExpense','0.016694068908691','2016-08-16 16:33:25'),(5200,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011857986450195','2016-08-16 16:33:25'),(5201,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33122\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017979860305786','2016-08-16 16:33:25'),(5202,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012843132019043','2016-08-16 16:33:25'),(5203,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33122\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.018013000488281','2016-08-16 16:33:25'),(5204,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'23\', \'OP-A\', \'2016-08-16\', \'164\', \'1\')','expenses/saveExpense','0.15762400627136','2016-08-16 16:35:02'),(5205,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2090, 0, \'lampu\', 1, \'33122\', \'23\', \'23\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.018455982208252','2016-08-16 16:35:02'),(5206,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  \'334\'','expenses/saveExpense','0.028558015823364','2016-08-16 16:35:02'),(5207,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000035\' WHERE `ID` =  2090','expenses/saveExpense','0.024478197097778','2016-08-16 16:35:02'),(5208,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000035\', \'Purchase of Fixed Asset [OP-A[00000029]]\', \'Purchase of Fixed Asset [OP-A[00000029]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 23, 23, 0)','expenses/saveExpense','0.010303974151611','2016-08-16 16:35:02'),(5209,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000035\', 1, \'lampu\', \'33135\', 23, 1, \'1\', \'23\', \'08\', \'16\', \'1\', \'OP-A[00000029]\', \'User\')','expenses/saveExpense','0.018411874771118','2016-08-16 16:35:02'),(5210,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000035\', 2, \'lampu\', \'33122\', 23, 1, \'1\', \'23\', \'08\', \'16\', \'1\', \'OP-A[00000029]\', \'User\')','expenses/saveExpense','0.016529083251953','2016-08-16 16:35:02'),(5211,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000035\'','expenses/saveExpense','0.016061067581177','2016-08-16 16:35:02'),(5212,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2090','expenses/saveExpense','0.016813039779663','2016-08-16 16:35:02'),(5213,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10987','expenses/saveExpense','0.016164779663086','2016-08-16 16:35:02'),(5214,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000035\'','expenses/saveExpense','0.016718864440918','2016-08-16 16:35:02'),(5215,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011997938156128','2016-08-16 16:35:02'),(5216,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33122\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017920970916748','2016-08-16 16:35:02'),(5217,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'bayar lebih dari yang ada\', \'25\', 0, 1, 1, \'68\', \'20\', \'OP-E\', \'2016-08-16\', \'156\', \'1\')','expenses/saveExpense','0.034149169921875','2016-08-16 16:36:25'),(5218,25,0,'192.168.1.220','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2091, `createdBy` = 0, `itemdescription` = \'bayar despatch\', `lineNo` = 1, `accountID` = \'33097\', `amountIncludedTax` = \'20\', `amountExcludedTax` = \'20\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1970\'','expenses/saveExpense','0.01857590675354','2016-08-16 16:36:25'),(5219,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'336\'','expenses/saveExpense','0.027194976806641','2016-08-16 16:36:25'),(5220,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000017\' WHERE `ID` =  2091','expenses/saveExpense','0.016732931137085','2016-08-16 16:36:25'),(5221,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000017\', \'Operating Expenses [OP-E[00000014]]\', \'Operating Expenses [OP-E[00000014]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 20, 20, 0)','expenses/saveExpense','0.010092973709106','2016-08-16 16:36:25'),(5222,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000017\', 1, \'bayar despatch\', \'33071\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000014]\', \'User\')','expenses/saveExpense','0.018653869628906','2016-08-16 16:36:25'),(5223,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000017\', 2, \'bayar despatch\', \'33097\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-E[00000014]\', \'User\')','expenses/saveExpense','0.015928030014038','2016-08-16 16:36:25'),(5224,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000017\'','expenses/saveExpense','0.016695976257324','2016-08-16 16:36:25'),(5225,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2091','expenses/saveExpense','0.016189098358154','2016-08-16 16:36:25'),(5226,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10988','expenses/saveExpense','0.016755104064941','2016-08-16 16:36:25'),(5227,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000017\'','expenses/saveExpense','0.016085863113403','2016-08-16 16:36:25'),(5228,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012407064437866','2016-08-16 16:36:25'),(5229,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33097\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017554998397827','2016-08-16 16:36:25'),(5230,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', 0, 1, 1, \'68\', \'40\', \'OP-A\', \'2016-08-16\', \'164\', \'1\')','expenses/saveExpense','0.10368299484253','2016-08-16 16:36:32'),(5231,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2092, 0, \'almari\', 1, \'33122\', \'40\', \'40\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016137838363647','2016-08-16 16:36:32'),(5232,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  \'334\'','expenses/saveExpense','0.023944139480591','2016-08-16 16:36:32'),(5233,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000036\' WHERE `ID` =  2092','expenses/saveExpense','0.016146898269653','2016-08-16 16:36:32'),(5234,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000036\', \'Purchase of Fixed Asset [OP-A[00000030]]\', \'Purchase of Fixed Asset [OP-A[00000030]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 40, 40, 0)','expenses/saveExpense','0.010370969772339','2016-08-16 16:36:32'),(5235,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000036\', 1, \'almari\', \'33135\', 40, 1, \'1\', \'40\', \'08\', \'16\', \'1\', \'OP-A[00000030]\', \'User\')','expenses/saveExpense','0.018338918685913','2016-08-16 16:36:32'),(5236,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000036\', 2, \'almari\', \'33122\', 40, 1, \'1\', \'40\', \'08\', \'16\', \'1\', \'OP-A[00000030]\', \'User\')','expenses/saveExpense','0.024845838546753','2016-08-16 16:36:32'),(5237,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000036\'','expenses/saveExpense','0.014004945755005','2016-08-16 16:36:32'),(5238,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2092','expenses/saveExpense','0.01648998260498','2016-08-16 16:36:32'),(5239,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10989','expenses/saveExpense','0.016440868377686','2016-08-16 16:36:32'),(5240,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000036\'','expenses/saveExpense','0.018807888031006','2016-08-16 16:36:32'),(5241,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012017011642456','2016-08-16 16:36:32'),(5242,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33122\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.026091814041138','2016-08-16 16:36:32'),(5243,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'24\', `createdBy` = 0, `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'40\', `formNo` = \'OP-A\', `paymentDate` = \'2016-08-16\', `bankId` = \'164\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2092\'','expenses/saveExpense','0.02173900604248','2016-08-16 16:36:56'),(5244,24,0,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2092\', `createdBy` = 0, `itemdescription` = \'almari\', `lineNo` = 1, `accountID` = \'33122\', `amountIncludedTax` = \'40\', `amountExcludedTax` = \'40\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2005\'','expenses/saveExpense','0.00034904479980469','2016-08-16 16:36:56'),(5245,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  \'334\'','expenses/saveExpense','0.047417879104614','2016-08-16 16:36:56'),(5246,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000037\' WHERE `ID` =  \'2092\'','expenses/saveExpense','0.016163110733032','2016-08-16 16:36:56'),(5247,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000037\', \'Purchase of Fixed Asset [OP-A[00000030]]\', \'Purchase of Fixed Asset [OP-A[00000030]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 40, 40, 0)','expenses/saveExpense','0.013360023498535','2016-08-16 16:36:56'),(5248,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000037\', 1, \'almari\', \'33135\', 40, 1, \'1\', \'40\', \'08\', \'16\', \'1\', \'OP-A[00000030]\', \'User\')','expenses/saveExpense','0.018273830413818','2016-08-16 16:36:56'),(5249,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000037\', 2, \'almari\', \'33122\', 40, 1, \'1\', \'40\', \'08\', \'16\', \'1\', \'OP-A[00000030]\', \'User\')','expenses/saveExpense','0.016531944274902','2016-08-16 16:36:56'),(5250,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 40, `total_amount_cr` = 40, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000037\'','expenses/saveExpense','0.016104221343994','2016-08-16 16:36:56'),(5251,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2092\'','expenses/saveExpense','0.016762018203735','2016-08-16 16:36:56'),(5252,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10990','expenses/saveExpense','0.016172170639038','2016-08-16 16:36:56'),(5253,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000037\'','expenses/saveExpense','0.016700983047485','2016-08-16 16:36:56'),(5254,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012184143066406','2016-08-16 16:36:56'),(5255,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33122\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017796993255615','2016-08-16 16:36:56'),(5256,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'33084\'','setup/saveExpenses','0.10424089431763','2016-08-16 17:00:45'),(5257,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'33085\'','setup/saveExpenses','0.092755079269409','2016-08-16 17:00:53'),(5258,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'33086\'','setup/saveExpenses','0.095150947570801','2016-08-16 17:01:04'),(5259,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'33086\'','setup/saveExpenses','0.00039005279541016','2016-08-16 17:01:05'),(5260,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-02-09\', \'162\', \'230\', \'TT\', \'163\', \'24\', 3)','transfer/newTransfer','0.079750061035156','2016-08-16 17:01:47'),(5261,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2093, \'33134\', \'230\', \'saje\')','transfer/newTransfer','0.018357992172241','2016-08-16 17:01:47'),(5262,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'338\'','transfer/newTransfer','0.028409004211426','2016-08-16 17:01:47'),(5263,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000003\' WHERE `ID` =  2093','transfer/newTransfer','0.022552967071533','2016-08-16 17:01:47'),(5264,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160200000003\', \' [TT[00000031]]]\', \'Bank Transfer [  [TT[00000031]]] ]\', \'\', \'3\', \'2016-02-09\', \'2016\', \'02\', 230, 230, \'User\')','transfer/newTransfer','0.023014068603516','2016-08-16 17:01:48'),(5265,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160200000003\', 1, \'saje\', \'33133\', 230, 1, \'1\', \'230\', \'02\', \'2016\', \'0\', \'TT[00000031]\', \'User\')','transfer/newTransfer','0.015906095504761','2016-08-16 17:01:48'),(5266,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160200000003\', 2, \'saje\', \'33134\', 230, 1, \'1\', \'230\', \'02\', \'2016\', \'0\', \'TT[00000031]\', \'User\')','transfer/newTransfer','0.016548156738281','2016-08-16 17:01:48'),(5267,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 230, `total_amount_cr` = 230, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160200000003\'','transfer/newTransfer','0.016113042831421','2016-08-16 17:01:48'),(5268,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2093','transfer/newTransfer','0.016771078109741','2016-08-16 17:01:48'),(5269,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10991','transfer/newTransfer','0.016175985336304','2016-08-16 17:01:48'),(5270,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160200000003\'','transfer/newTransfer','0.016711950302124','2016-08-16 17:01:48'),(5271,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','transfer/newTransfer','0.016149997711182','2016-08-16 17:01:48'),(5272,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'3\', \'33134\', \'2016\', \'2\', \'230\', \'0\', 230, \'User\', \'2016-08-16: 11:08:47\')','transfer/newTransfer','0.017092943191528','2016-08-16 17:01:48'),(5273,25,0,'192.168.1.220','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'33087\'','setup/saveExpenses','0.088115930557251','2016-08-16 17:02:10'),(5274,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-03-17\', \'162\', \'100\', \'TT\', \'163\', \'24\', 3)','transfer/newTransfer','0.065898895263672','2016-08-16 17:02:17'),(5275,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2094, \'33134\', \'100\', \'saje\')','transfer/newTransfer','0.018660068511963','2016-08-16 17:02:17'),(5276,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'341\'','transfer/newTransfer','0.024656057357788','2016-08-16 17:02:17'),(5277,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160300000002\' WHERE `ID` =  2094','transfer/newTransfer','0.016699075698853','2016-08-16 17:02:17'),(5278,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160300000002\', \' [TT[00000032]]]\', \'Bank Transfer [  [TT[00000032]]] ]\', \'\', \'3\', \'2016-03-17\', \'2016\', \'03\', 100, 100, \'User\')','transfer/newTransfer','0.037225961685181','2016-08-16 17:02:17'),(5279,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160300000002\', 1, \'saje\', \'33133\', 100, 1, \'1\', \'100\', \'03\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/newTransfer','0.014765024185181','2016-08-16 17:02:17'),(5280,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160300000002\', 2, \'saje\', \'33134\', 100, 1, \'1\', \'100\', \'03\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/newTransfer','0.14262294769287','2016-08-16 17:02:17'),(5281,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160300000002\'','transfer/newTransfer','0.016710996627808','2016-08-16 17:02:17'),(5282,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2094','transfer/newTransfer','0.016195774078369','2016-08-16 17:02:17'),(5283,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10992','transfer/newTransfer','0.032911062240601','2016-08-16 17:02:17'),(5284,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160300000002\'','transfer/newTransfer','0.01671290397644','2016-08-16 17:02:17'),(5285,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'3\'','transfer/newTransfer','0.011653900146484','2016-08-16 17:02:17'),(5286,24,0,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'3\', \'33134\', \'2016\', \'3\', \'100\', \'0\', 100, \'User\', \'2016-08-16: 11:08:17\')','transfer/newTransfer','0.016881942749023','2016-08-16 17:02:17'),(5287,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'162\', \'10\', \'TT\', \'164\', \'24\', 3)','transfer/newTransfer','0.19418287277222','2016-08-16 17:04:38'),(5288,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2095, \'33135\', \'10\', \'tah\')','transfer/newTransfer','0.016189098358154','2016-08-16 17:04:39'),(5289,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  \'334\'','transfer/newTransfer','0.010108947753906','2016-08-16 17:04:39'),(5290,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000038\' WHERE `ID` =  2095','transfer/newTransfer','0.018865823745728','2016-08-16 17:04:39'),(5291,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000038\', \' [TT[00000033]]]\', \'Bank Transfer [  [TT[00000033]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 10, 10, \'User\')','transfer/newTransfer','0.12667393684387','2016-08-16 17:04:39'),(5292,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000038\', 1, \'tah\', \'33133\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'TT[00000033]\', \'User\')','transfer/newTransfer','0.028527021408081','2016-08-16 17:04:39'),(5293,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000038\', 2, \'tah\', \'33135\', 10, 1, \'1\', \'10\', \'08\', \'2016\', \'0\', \'TT[00000033]\', \'User\')','transfer/newTransfer','0.022739171981812','2016-08-16 17:04:39'),(5294,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000038\'','transfer/newTransfer','0.01610803604126','2016-08-16 17:04:39'),(5295,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2095','transfer/newTransfer','0.016772031784058','2016-08-16 17:04:39'),(5296,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10993','transfer/newTransfer','0.016186952590942','2016-08-16 17:04:39'),(5297,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000038\'','transfer/newTransfer','0.016710996627808','2016-08-16 17:04:39'),(5298,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.031090974807739','2016-08-16 17:04:39'),(5299,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.013193845748901','2016-08-16 17:04:39'),(5300,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'162\', \'80\', \'TT\', \'163\', \'24\', 3)','transfer/newTransfer','0.10608100891113','2016-08-16 17:05:10'),(5301,24,0,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2096, \'33134\', \'80\', \'saje\')','transfer/newTransfer','0.01618218421936','2016-08-16 17:05:10'),(5302,24,0,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'334\'','transfer/newTransfer','0.01649808883667','2016-08-16 17:05:10'),(5303,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000039\' WHERE `ID` =  2096','transfer/newTransfer','0.016139984130859','2016-08-16 17:05:11'),(5304,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000039\', \' [TT[00000034]]]\', \'Bank Transfer [  [TT[00000034]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 80, 80, \'User\')','transfer/newTransfer','0.010658025741577','2016-08-16 17:05:11'),(5305,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000039\', 1, \'saje\', \'33133\', 80, 1, \'1\', \'80\', \'08\', \'2016\', \'0\', \'TT[00000034]\', \'User\')','transfer/newTransfer','0.018057107925415','2016-08-16 17:05:11'),(5306,24,0,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000039\', 2, \'saje\', \'33134\', 80, 1, \'1\', \'80\', \'08\', \'2016\', \'0\', \'TT[00000034]\', \'User\')','transfer/newTransfer','0.016518831253052','2016-08-16 17:05:11'),(5307,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 80, `total_amount_cr` = 80, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000039\'','transfer/newTransfer','0.02444314956665','2016-08-16 17:05:11'),(5308,24,0,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2096','transfer/newTransfer','0.016746044158936','2016-08-16 17:05:11'),(5309,24,0,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10994','transfer/newTransfer','0.016179084777832','2016-08-16 17:05:11'),(5310,24,0,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000039\'','transfer/newTransfer','0.016704082489014','2016-08-16 17:05:11'),(5311,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.022464990615845','2016-08-16 17:05:11'),(5312,24,0,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.023981094360352','2016-08-16 17:05:11'),(5313,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'beli aset test journal\', \'25\', 0, 1, 1, \'68\', \'1200\', \'OP-A\', \'2016-08-16\', \'155\', \'1\')','expenses/saveExpense','0.045788049697876','2016-08-16 17:09:08'),(5314,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2097, 0, \'pc baru\', 1, \'33061\', \'1200\', \'1200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016090154647827','2016-08-16 17:09:08'),(5315,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'336\'','expenses/saveExpense','0.030154943466187','2016-08-16 17:09:08'),(5316,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000018\' WHERE `ID` =  2097','expenses/saveExpense','0.01616096496582','2016-08-16 17:09:08'),(5317,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000018\', \'Purchase of Fixed Asset [OP-A[00000015]]\', \'Purchase of Fixed Asset [OP-A[00000015]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 1200, 1200, 0)','expenses/saveExpense','0.021116018295288','2016-08-16 17:09:08'),(5318,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000018\', 1, \'pc baru\', \'33070\', 1200, 1, \'1\', \'1200\', \'08\', \'16\', \'1\', \'OP-A[00000015]\', \'User\')','expenses/saveExpense','0.030817031860352','2016-08-16 17:09:08'),(5319,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000018\', 2, \'pc baru\', \'33061\', 1200, 1, \'1\', \'1200\', \'08\', \'16\', \'1\', \'OP-A[00000015]\', \'User\')','expenses/saveExpense','0.018290996551514','2016-08-16 17:09:08'),(5320,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 1200, `total_amount_cr` = 1200, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000018\'','expenses/saveExpense','0.016084909439087','2016-08-16 17:09:08'),(5321,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2097','expenses/saveExpense','0.01679801940918','2016-08-16 17:09:08'),(5322,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10995','expenses/saveExpense','0.016175031661987','2016-08-16 17:09:08'),(5323,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000018\'','expenses/saveExpense','0.016698837280273','2016-08-16 17:09:08'),(5324,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.025482892990112','2016-08-16 17:09:08'),(5325,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'2\', \'33061\', \'2016\', \'8\', \'1200\', \'0\', 1200, \'User\', \'2016-08-16: 11:08:08\')','expenses/saveExpense','0.013088941574097','2016-08-16 17:09:08'),(5326,25,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-07-12\', \'33079\', \'25\', \'LR\', \'157\', \'25\', 3)','loanReceive/save_new_loan','0.11156296730042','2016-08-16 17:13:10'),(5327,25,0,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2098, \'33072\', \'25\', \'july loan 4 masuk bank islam rm25\')','loanReceive/save_new_loan','0.016181945800781','2016-08-16 17:13:10'),(5328,25,0,'192.168.1.199','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'25\', \'3\', \'2016\', \'07\', \'AP\', 1)','loanReceive/save_new_loan','0.015702962875366','2016-08-16 17:13:10'),(5329,25,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000001\' WHERE `ID` =  2098','loanReceive/save_new_loan','0.016150951385498','2016-08-16 17:13:10'),(5330,25,0,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160700000001\', \' [LR[00000016]]]\', \'Loan Received [  [LR[00000016]]] ]\', \'\', \'3\', \'2016-07-12\', \'2016\', \'07\', 25, 25, \'User\')','loanReceive/save_new_loan','0.010797023773193','2016-08-16 17:13:10'),(5331,25,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160700000001\', 1, \'july loan 4 masuk bank islam rm25\', \'33079\', 25, 1, \'1\', \'25\', \'07\', \'2016\', \'0\', \'LR[00000016]\', \'User\')','loanReceive/save_new_loan','0.017892122268677','2016-08-16 17:13:10'),(5332,25,0,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160700000001\', 2, \'july loan 4 masuk bank islam rm25\', \'33072\', 25, 1, \'1\', \'25\', \'07\', \'2016\', \'0\', \'LR[00000016]\', \'User\')','loanReceive/save_new_loan','0.016532897949219','2016-08-16 17:13:10'),(5333,25,0,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 25, `total_amount_cr` = 25, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160700000001\'','loanReceive/save_new_loan','0.016098022460938','2016-08-16 17:13:10'),(5334,25,0,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2098','loanReceive/save_new_loan','0.016800165176392','2016-08-16 17:13:10'),(5335,25,0,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  10998','loanReceive/save_new_loan','0.016164064407349','2016-08-16 17:13:10'),(5336,25,0,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160700000001\'','loanReceive/save_new_loan','0.016686916351318','2016-08-16 17:13:10'),(5337,25,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'4\', \'33079\', \'2016\', \'7\', \'0\', \'25\', -25, \'User\', \'2016-08-16: 11:08:09\')','loanReceive/save_new_loan','0.030272960662842','2016-08-16 17:13:10'),(5338,25,0,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'3\', \'33072\', \'2016\', \'7\', \'25\', \'0\', 25, \'User\', \'2016-08-16: 11:08:09\')','loanReceive/save_new_loan','0.023480176925659','2016-08-16 17:13:10'),(5339,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'beli aset dr akaun tak berapa berduit\', \'25\', 0, 1, 1, \'68\', \'20\', \'OP-A\', \'2016-08-16\', \'157\', \'1\')','expenses/saveExpense','0.037487983703613','2016-08-16 17:16:41'),(5340,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2099, 0, \'motor \', 1, \'33062\', \'20\', \'20\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.014602899551392','2016-08-16 17:16:41'),(5341,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'336\'','expenses/saveExpense','0.027351856231689','2016-08-16 17:16:41'),(5342,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000019\' WHERE `ID` =  2099','expenses/saveExpense','0.032779216766357','2016-08-16 17:16:41'),(5343,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000019\', \'Purchase of Fixed Asset [OP-A[00000017]]\', \'Purchase of Fixed Asset [OP-A[00000017]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 20, 20, 0)','expenses/saveExpense','0.01092004776001','2016-08-16 17:16:41'),(5344,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000019\', 1, \'motor \', \'33072\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-A[00000017]\', \'User\')','expenses/saveExpense','0.017813920974731','2016-08-16 17:16:41'),(5345,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000019\', 2, \'motor \', \'33062\', 20, 1, \'1\', \'20\', \'08\', \'16\', \'1\', \'OP-A[00000017]\', \'User\')','expenses/saveExpense','0.016534090042114','2016-08-16 17:16:41'),(5346,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000019\'','expenses/saveExpense','0.01610803604126','2016-08-16 17:16:41'),(5347,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2099','expenses/saveExpense','0.016735076904297','2016-08-16 17:16:42'),(5348,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11000','expenses/saveExpense','0.016210079193115','2016-08-16 17:16:42'),(5349,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000019\'','expenses/saveExpense','0.025017023086548','2016-08-16 17:16:42'),(5350,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'3\', \'33072\', \'2016\', \'8\', \'0\', \'20\', -20, \'User\', \'2016-08-16: 11:08:41\')','expenses/saveExpense','0.01211404800415','2016-08-16 17:16:42'),(5351,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'2\', \'33062\', \'2016\', \'8\', \'20\', \'0\', 20, \'User\', \'2016-08-16: 11:08:41\')','expenses/saveExpense','0.016770124435425','2016-08-16 17:16:42'),(5352,24,0,'192.168.1.204','update','UPDATE `company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2014-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.092036008834839','2016-08-16 17:20:49'),(5353,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2014-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.040734052658081','2016-08-16 17:20:49'),(5354,24,0,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.001594066619873','2016-08-16 17:21:03'),(5355,24,0,'192.168.1.204','update','UPDATE `company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.090575933456421','2016-08-16 17:21:28'),(5356,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.016440868377686','2016-08-16 17:21:28'),(5357,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'beli motor\', \'25\', 0, 1, 1, \'68\', \'3000\', \'OP-A\', \'2016-08-16\', \'157\', \'1\')','expenses/saveExpense','0.045552015304565','2016-08-16 17:23:00'),(5358,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2100, 0, \'beli motor baru\', 1, \'33062\', \'3000\', \'3000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016658067703247','2016-08-16 17:23:00'),(5359,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'336\'','expenses/saveExpense','0.029873847961426','2016-08-16 17:23:00'),(5360,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000020\' WHERE `ID` =  2100','expenses/saveExpense','0.016768932342529','2016-08-16 17:23:00'),(5361,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000020\', \'Purchase of Fixed Asset [OP-A[00000018]]\', \'Purchase of Fixed Asset [OP-A[00000018]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 3000, 3000, 0)','expenses/saveExpense','0.045490026473999','2016-08-16 17:23:00'),(5362,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000020\', 1, \'beli motor baru\', \'33072\', 3000, 1, \'1\', \'3000\', \'08\', \'16\', \'1\', \'OP-A[00000018]\', \'User\')','expenses/saveExpense','0.016490936279297','2016-08-16 17:23:00'),(5363,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000020\', 2, \'beli motor baru\', \'33062\', 3000, 1, \'1\', \'3000\', \'08\', \'16\', \'1\', \'OP-A[00000018]\', \'User\')','expenses/saveExpense','0.12828397750854','2016-08-16 17:23:00'),(5364,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000020\'','expenses/saveExpense','0.029310941696167','2016-08-16 17:23:00'),(5365,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2100','expenses/saveExpense','0.01620888710022','2016-08-16 17:23:00'),(5366,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11004','expenses/saveExpense','0.016727924346924','2016-08-16 17:23:00'),(5367,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000020\'','expenses/saveExpense','0.016134023666382','2016-08-16 17:23:00'),(5368,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33072\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.025867938995361','2016-08-16 17:23:00'),(5369,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33062\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013701200485229','2016-08-16 17:23:00'),(5370,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'buat iklan \', \'25\', 0, 1, 1, \'68\', \'100\', \'OP-E\', \'2016-08-16\', \'155\', \'1\')','expenses/saveExpense','0.1026611328125','2016-08-16 17:31:04'),(5371,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2101, 0, \'buat iklan\', 1, \'33085\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.024992942810059','2016-08-16 17:31:04'),(5372,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'336\'','expenses/saveExpense','0.026202917098999','2016-08-16 17:31:04'),(5373,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000021\' WHERE `ID` =  2101','expenses/saveExpense','0.016749143600464','2016-08-16 17:31:04'),(5374,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000021\', \'Operating Expenses [OP-E[00000019]]\', \'Operating Expenses [OP-E[00000019]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 100, 100, 0)','expenses/saveExpense','0.010847091674805','2016-08-16 17:31:04'),(5375,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000021\', 1, \'buat iklan\', \'33070\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000019]\', \'User\')','expenses/saveExpense','0.034219026565552','2016-08-16 17:31:04'),(5376,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000021\', 2, \'buat iklan\', \'33085\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000019]\', \'User\')','expenses/saveExpense','0.032863855361938','2016-08-16 17:31:04'),(5377,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000021\'','expenses/saveExpense','0.033030033111572','2016-08-16 17:31:04'),(5378,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2101','expenses/saveExpense','0.033134937286377','2016-08-16 17:31:04'),(5379,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11005','expenses/saveExpense','0.03312611579895','2016-08-16 17:31:04'),(5380,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000021\'','expenses/saveExpense','0.05834698677063','2016-08-16 17:31:04'),(5381,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.05578088760376','2016-08-16 17:31:04'),(5382,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'10\', \'33085\', \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-16: 11:08:04\')','expenses/saveExpense','0.048513889312744','2016-08-16 17:31:04'),(5383,25,0,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016820430755615','2016-08-16 17:34:32'),(5384,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'beli penyapu\', \'25\', 0, 1, 1, \'68\', \'5\', \'OP-A\', \'2016-08-16\', \'155\', \'1\')','expenses/saveExpense','0.034005165100098','2016-08-16 17:35:39'),(5385,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2102, 0, \'penyapu\', 1, \'33065\', \'5\', \'5\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016707897186279','2016-08-16 17:35:39'),(5386,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'336\'','expenses/saveExpense','0.012593984603882','2016-08-16 17:35:39'),(5387,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000022\' WHERE `ID` =  2102','expenses/saveExpense','0.018027067184448','2016-08-16 17:35:39'),(5388,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000022\', \'Purchase of Fixed Asset [OP-A[00000020]]\', \'Purchase of Fixed Asset [OP-A[00000020]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 5, 5, 0)','expenses/saveExpense','0.010885000228882','2016-08-16 17:35:39'),(5389,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000022\', 1, \'penyapu\', \'33070\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-A[00000020]\', \'User\')','expenses/saveExpense','0.017826080322266','2016-08-16 17:35:39'),(5390,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000022\', 2, \'penyapu\', \'33065\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-A[00000020]\', \'User\')','expenses/saveExpense','0.015905141830444','2016-08-16 17:35:39'),(5391,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 5, `total_amount_cr` = 5, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000022\'','expenses/saveExpense','0.016685009002686','2016-08-16 17:35:39'),(5392,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2102','expenses/saveExpense','0.016201019287109','2016-08-16 17:35:39'),(5393,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11006','expenses/saveExpense','0.016727924346924','2016-08-16 17:35:39'),(5394,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000022\'','expenses/saveExpense','0.016113996505737','2016-08-16 17:35:39'),(5395,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013211965560913','2016-08-16 17:35:39'),(5396,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'2\', \'33065\', \'2016\', \'8\', \'5\', \'0\', 5, \'User\', \'2016-08-16: 11:08:39\')','expenses/saveExpense','0.016175985336304','2016-08-16 17:35:39'),(5397,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'member club\', \'25\', 0, 1, 1, \'68\', \'10\', \'OP-E\', \'2016-08-16\', \'155\', \'1\')','expenses/saveExpense','0.037439823150635','2016-08-16 17:48:33'),(5398,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2103, 0, \'member club\', 1, \'33099\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016084909439087','2016-08-16 17:48:33'),(5399,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'336\'','expenses/saveExpense','0.030526876449585','2016-08-16 17:48:33'),(5400,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000023\' WHERE `ID` =  2103','expenses/saveExpense','0.016154050827026','2016-08-16 17:48:33'),(5401,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000023\', \'Operating Expenses [OP-E[00000021]]\', \'Operating Expenses [OP-E[00000021]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 10, 10, 0)','expenses/saveExpense','0.029454946517944','2016-08-16 17:48:33'),(5402,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000023\', 1, \'member club\', \'33070\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-E[00000021]\', \'User\')','expenses/saveExpense','0.024247169494629','2016-08-16 17:48:33'),(5403,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000023\', 2, \'member club\', \'33099\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-E[00000021]\', \'User\')','expenses/saveExpense','0.016531944274902','2016-08-16 17:48:33'),(5404,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000023\'','expenses/saveExpense','0.016032934188843','2016-08-16 17:48:33'),(5405,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2103','expenses/saveExpense','0.016819000244141','2016-08-16 17:48:33'),(5406,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11009','expenses/saveExpense','0.016172885894775','2016-08-16 17:48:33'),(5407,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000023\'','expenses/saveExpense','0.033350944519043','2016-08-16 17:48:33'),(5408,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013067960739136','2016-08-16 17:48:33'),(5409,25,0,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'10\', \'33099\', \'2016\', \'8\', \'10\', \'0\', 10, \'User\', \'2016-08-16: 11:08:33\')','expenses/saveExpense','0.016274929046631','2016-08-16 17:48:33'),(5410,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-16\', \'155\', \'1000\', \'TT\', \'158\', \'25\', 3)','transfer/newTransfer','0.14905500411987','2016-08-16 17:58:40'),(5411,25,0,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2104, \'33073\', \'1000\', \'pindah duit ke tangan\')','transfer/newTransfer','0.016188859939575','2016-08-16 17:58:40'),(5412,25,0,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'336\'','transfer/newTransfer','0.022371053695679','2016-08-16 17:58:40'),(5413,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000024\' WHERE `ID` =  2104','transfer/newTransfer','0.024494171142578','2016-08-16 17:58:40'),(5414,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000024\', \' [TT[00000022]]]\', \'Bank Transfer [  [TT[00000022]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 1000, 1000, \'User\')','transfer/newTransfer','0.011571884155273','2016-08-16 17:58:40'),(5415,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000024\', 1, \'pindah duit ke tangan\', \'33070\', 1000, 1, \'1\', \'1000\', \'08\', \'2016\', \'0\', \'TT[00000022]\', \'User\')','transfer/newTransfer','0.017096996307373','2016-08-16 17:58:40'),(5416,25,0,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000024\', 2, \'pindah duit ke tangan\', \'33073\', 1000, 1, \'1\', \'1000\', \'08\', \'2016\', \'0\', \'TT[00000022]\', \'User\')','transfer/newTransfer','0.02485990524292','2016-08-16 17:58:40'),(5417,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000024\'','transfer/newTransfer','0.016090154647827','2016-08-16 17:58:40'),(5418,25,0,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2104','transfer/newTransfer','0.01679515838623','2016-08-16 17:58:40'),(5419,25,0,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11010','transfer/newTransfer','0.016185998916626','2016-08-16 17:58:40'),(5420,25,0,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000024\'','transfer/newTransfer','0.025023937225342','2016-08-16 17:58:40'),(5421,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33070\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.039456844329834','2016-08-16 17:58:40'),(5422,25,0,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33073\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.1483039855957','2016-08-16 17:58:40'),(5423,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.1083710193634','2016-08-17 09:21:29'),(5424,24,0,'192.168.1.204','update','UPDATE `tbl_usermaster` SET `imageFile` = \'31-1471397907-abuyo.JPG\' WHERE `fldid` =  \'31\'','userProfile/userMaster','0.00039386749267578','2016-08-17 09:38:27'),(5425,24,0,'192.168.1.204','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'superabu92@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'superabu92@gmail.com\', `position` = 0, `email` = \'superabu92@gmail.com\', `phone_off` = 0, `Phone_mobile` = \'0132897186\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'31-1471397907-abuyo.JPG\', `modified_dt` = \'2016-08-17 03-37-45\', `modified_user` = 0 WHERE `fldid` =  \'31\'','userProfile/userMaster','0.11139798164368','2016-08-17 09:38:27'),(5426,24,0,'192.168.1.204','update','UPDATE `tbl_usermaster` SET `imageFile` = \'31-1471397907-abuyo.JPG\' WHERE `fldid` =  \'31\'','userProfile/userMaster','0.00034499168395996','2016-08-17 09:38:27'),(5427,25,0,'192.168.1.220','update','UPDATE `tbl_usermaster` SET `imageFile` = \'32-1471398092-Turban.jpg\' WHERE `fldid` =  \'32\'','userProfile/userMaster','0.00040102005004883','2016-08-17 09:41:33'),(5428,25,0,'192.168.1.220','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'farouqtakwan@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'farouqtakwan@gmail.com\', `position` = 0, `email` = \'\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'32-1471398092-Turban.jpg\', `modified_dt` = \'2016-08-17 03-41-09\', `modified_user` = 0 WHERE `fldid` =  \'32\'','userProfile/userMaster','0.11965990066528','2016-08-17 09:41:33'),(5429,25,0,'192.168.1.220','update','UPDATE `tbl_usermaster` SET `imageFile` = \'32-1471398092-Turban.jpg\' WHERE `fldid` =  \'32\'','userProfile/userMaster','0.00032901763916016','2016-08-17 09:41:33'),(5430,25,0,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0018200874328613','2016-08-17 09:44:10'),(5431,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'170816\', \'OP-C\', \'2016-08-17\', \'148\', \'1\')','expenses/saveExpense','0.045536994934082','2016-08-17 09:57:25'),(5432,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2105, \'28\', \'17/08/2016\', 1, \'33019\', \'170816\', \'170816\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016703844070435','2016-08-17 09:57:25'),(5433,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'314\'','expenses/saveExpense','0.021545171737671','2016-08-17 09:57:25'),(5434,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000042\' WHERE `ID` =  2105','expenses/saveExpense','0.016751050949097','2016-08-17 09:57:25'),(5435,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000042\', \'Cost of Goods Sold [OP-C[00000032]]\', \'Cost of Goods Sold [OP-C[00000032]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 170816, 170816, \'28\')','expenses/saveExpense','0.028866052627563','2016-08-17 09:57:25'),(5436,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000042\', 1, \'17/08/2016\', \'33007\', 170816, 1, \'1\', \'170816\', \'08\', \'16\', \'1\', \'OP-C[00000032]\', \'User\')','expenses/saveExpense','0.02479887008667','2016-08-17 09:57:25'),(5437,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000042\', 2, \'17/08/2016\', \'33019\', 170816, 1, \'1\', \'170816\', \'08\', \'16\', \'1\', \'OP-C[00000032]\', \'User\')','expenses/saveExpense','0.01594614982605','2016-08-17 09:57:25'),(5438,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 170816, `total_amount_cr` = 170816, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000042\'','expenses/saveExpense','0.016683101654053','2016-08-17 09:57:25'),(5439,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2105','expenses/saveExpense','0.01618504524231','2016-08-17 09:57:25'),(5440,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11011','expenses/saveExpense','0.016797065734863','2016-08-17 09:57:25'),(5441,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000042\'','expenses/saveExpense','0.024431943893433','2016-08-17 09:57:25'),(5442,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012341976165771','2016-08-17 09:57:26'),(5443,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.024408102035522','2016-08-17 09:57:26'),(5444,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2033\'','expenses/removePayment','0.030998945236206','2016-08-17 09:58:47'),(5445,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2034\'','expenses/removePayment','0.040864944458008','2016-08-17 09:58:47'),(5446,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2017\'','expenses/removePayment','0.040552854537964','2016-08-17 09:58:47'),(5447,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2023\'','expenses/removePayment','0.087105989456177','2016-08-17 09:59:35'),(5448,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'17816\', \'OP-C\', \'2016-08-17\', \'148\', \'1\')','expenses/saveExpense','0.037154912948608','2016-08-17 10:01:01'),(5449,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2106, \'28\', \'17082016\', 1, \'33019\', \'17816\', \'17816\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.025049209594727','2016-08-17 10:01:01'),(5450,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'314\'','expenses/saveExpense','0.021560192108154','2016-08-17 10:01:01'),(5451,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000043\' WHERE `ID` =  2106','expenses/saveExpense','0.016736030578613','2016-08-17 10:01:01'),(5452,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000043\', \'Cost of Goods Sold [OP-C[00000033]]\', \'Cost of Goods Sold [OP-C[00000033]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 17816, 17816, \'28\')','expenses/saveExpense','0.01167106628418','2016-08-17 10:01:01'),(5453,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000043\', 1, \'17082016\', \'33007\', 17816, 1, \'1\', \'17816\', \'08\', \'16\', \'1\', \'OP-C[00000033]\', \'User\')','expenses/saveExpense','0.016996145248413','2016-08-17 10:01:01'),(5454,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000043\', 2, \'17082016\', \'33019\', 17816, 1, \'1\', \'17816\', \'08\', \'16\', \'1\', \'OP-C[00000033]\', \'User\')','expenses/saveExpense','0.015954971313477','2016-08-17 10:01:01'),(5455,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 17816, `total_amount_cr` = 17816, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000043\'','expenses/saveExpense','0.025007009506226','2016-08-17 10:01:01'),(5456,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2106','expenses/saveExpense','0.016206979751587','2016-08-17 10:01:01'),(5457,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11012','expenses/saveExpense','0.01676082611084','2016-08-17 10:01:01'),(5458,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000043\'','expenses/saveExpense','0.12849402427673','2016-08-17 10:01:01'),(5459,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.10461807250977','2016-08-17 10:01:01'),(5460,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.10083103179932','2016-08-17 10:01:01'),(5461,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'178016\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-17\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2106\'','expenses/saveExpense','0.13146495819092','2016-08-17 10:02:27'),(5462,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2106\', `createdBy` = \'28\', `itemdescription` = \'17082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'178016\', `amountExcludedTax` = \'178016\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2019\'','expenses/saveExpense','0.029031991958618','2016-08-17 10:02:27'),(5463,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'314\'','expenses/saveExpense','0.013983964920044','2016-08-17 10:02:27'),(5464,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000044\' WHERE `ID` =  \'2106\'','expenses/saveExpense','0.01673698425293','2016-08-17 10:02:27'),(5465,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000044\', \'Cost of Goods Sold [OP-C[00000033]]\', \'Cost of Goods Sold [OP-C[00000033]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 178016, 178016, \'28\')','expenses/saveExpense','0.015110969543457','2016-08-17 10:02:27'),(5466,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000044\', 1, \'17082016\', \'33007\', 178016, 1, \'1\', \'178016\', \'08\', \'16\', \'1\', \'OP-C[00000033]\', \'User\')','expenses/saveExpense','0.016518115997314','2016-08-17 10:02:27'),(5467,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000044\', 2, \'17082016\', \'33019\', 178016, 1, \'1\', \'178016\', \'08\', \'16\', \'1\', \'OP-C[00000033]\', \'User\')','expenses/saveExpense','0.015944004058838','2016-08-17 10:02:27'),(5468,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 178016, `total_amount_cr` = 178016, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000044\'','expenses/saveExpense','0.016691923141479','2016-08-17 10:02:27'),(5469,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2106\'','expenses/saveExpense','0.016190052032471','2016-08-17 10:02:27'),(5470,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11015','expenses/saveExpense','0.016731977462769','2016-08-17 10:02:27'),(5471,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000044\'','expenses/saveExpense','0.016093015670776','2016-08-17 10:02:27'),(5472,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.048135995864868','2016-08-17 10:02:27'),(5473,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015128135681152','2016-08-17 10:02:27'),(5474,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `otherPaymentType`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-17\', 1, \'33139\', \'90\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.12531089782715','2016-08-17 10:29:46'),(5475,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2107, \'33133\', \'90\', \'ntah\')','loanReceive/save_new_loan','0.016206026077271','2016-08-17 10:29:46'),(5476,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.014796018600464','2016-08-17 10:29:46'),(5477,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000040\' WHERE `ID` =  2107','loanReceive/save_new_loan','0.016410112380981','2016-08-17 10:29:46'),(5478,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000040\', \' [LR[00000035]]]\', \'Pinjaman [  [LR[00000035]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 90, 90, \'User\')','loanReceive/save_new_loan','0.12862706184387','2016-08-17 10:29:46'),(5479,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000040\', 1, \'ntah\', \'33139\', 90, 1, \'1\', \'90\', \'08\', \'2016\', \'0\', \'LR[00000035]\', \'User\')','loanReceive/save_new_loan','0.016475915908813','2016-08-17 10:29:46'),(5480,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000040\', 2, \'ntah\', \'33133\', 90, 1, \'1\', \'90\', \'08\', \'2016\', \'0\', \'LR[00000035]\', \'User\')','loanReceive/save_new_loan','0.016527891159058','2016-08-17 10:29:46'),(5481,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 90, `total_amount_cr` = 90, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000040\'','loanReceive/save_new_loan','0.016103982925415','2016-08-17 10:29:46'),(5482,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2107','loanReceive/save_new_loan','0.016760110855103','2016-08-17 10:29:46'),(5483,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11022','loanReceive/save_new_loan','0.016155958175659','2016-08-17 10:29:46'),(5484,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000040\'','loanReceive/save_new_loan','0.033401966094971','2016-08-17 10:29:46'),(5485,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.014163970947266','2016-08-17 10:29:46'),(5486,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.024019002914429','2016-08-17 10:29:46'),(5487,24,31,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.038716077804565','2016-08-17 10:33:49'),(5488,24,31,'192.168.1.204','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 24, acctName, id from comp_chart_of_acct where companyid = 24 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 24)','bank/index','0.0025279521942139','2016-08-17 10:36:21'),(5489,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016498565673828','2016-08-17 10:36:26'),(5490,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0017399787902832','2016-08-17 10:36:34'),(5491,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016558170318604','2016-08-17 10:37:27'),(5492,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.052288055419922','2016-08-17 10:37:31'),(5493,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'162\', \'60\', \'TT\', \'163\', \'24\', 3)','transfer/newTransfer','0.12935996055603','2016-08-17 10:46:33'),(5494,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2108, \'33134\', \'60\', \'sedekah\')','transfer/newTransfer','0.016718149185181','2016-08-17 10:46:33'),(5495,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  \'334\'','transfer/newTransfer','0.027883052825928','2016-08-17 10:46:33'),(5496,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000041\' WHERE `ID` =  2108','transfer/newTransfer','0.02513599395752','2016-08-17 10:46:33'),(5497,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000041\', \' [TT[00000036]]]\', \'Pemindahan [  [TT[00000036]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 60, 60, \'User\')','transfer/newTransfer','0.020425081253052','2016-08-17 10:46:33'),(5498,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000041\', 1, \'sedekah\', \'33133\', 60, 1, \'1\', \'60\', \'08\', \'2016\', \'0\', \'TT[00000036]\', \'User\')','transfer/newTransfer','0.016512155532837','2016-08-17 10:46:33'),(5499,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000041\', 2, \'sedekah\', \'33134\', 60, 1, \'1\', \'60\', \'08\', \'2016\', \'0\', \'TT[00000036]\', \'User\')','transfer/newTransfer','0.13663387298584','2016-08-17 10:46:33'),(5500,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 60, `total_amount_cr` = 60, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000041\'','transfer/newTransfer','0.029326915740967','2016-08-17 10:46:33'),(5501,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2108','transfer/newTransfer','0.024504899978638','2016-08-17 10:46:33'),(5502,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11023','transfer/newTransfer','0.016770124435425','2016-08-17 10:46:33'),(5503,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000041\'','transfer/newTransfer','0.024453163146973','2016-08-17 10:46:33'),(5504,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.014734029769897','2016-08-17 10:46:33'),(5505,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.015064001083374','2016-08-17 10:46:33'),(5506,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'motor baru tapi dah rosak\', \'25\', \'32\', 1, 1, \'68\', \'100\', \'OP-E\', \'2016-08-17\', \'159\', \'1\')','expenses/saveExpense','0.037477970123291','2016-08-17 10:59:34'),(5507,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2109, \'32\', \'motor baru dah rosak\', 1, \'33094\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016188859939575','2016-08-17 10:59:34'),(5508,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'336\'','expenses/saveExpense','0.02220606803894','2016-08-17 10:59:34'),(5509,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000025\' WHERE `ID` =  2109','expenses/saveExpense','0.024484872817993','2016-08-17 10:59:34'),(5510,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000025\', \'Belanja Operasi [OP-E[00000023]]\', \'Belanja Operasi [OP-E[00000023]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 100, 100, \'32\')','expenses/saveExpense','0.029447078704834','2016-08-17 10:59:34'),(5511,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000025\', 1, \'motor baru dah rosak\', \'33074\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000023]\', \'User\')','expenses/saveExpense','0.032558917999268','2016-08-17 10:59:34'),(5512,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000025\', 2, \'motor baru dah rosak\', \'33094\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000023]\', \'User\')','expenses/saveExpense','0.016532897949219','2016-08-17 10:59:34'),(5513,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000025\'','expenses/saveExpense','0.01607608795166','2016-08-17 10:59:34'),(5514,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2109','expenses/saveExpense','0.016778945922852','2016-08-17 10:59:34'),(5515,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11025','expenses/saveExpense','0.016166925430298','2016-08-17 10:59:34'),(5516,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000025\'','expenses/saveExpense','0.016693115234375','2016-08-17 10:59:34'),(5517,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012686014175415','2016-08-17 10:59:34'),(5518,25,32,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'10\', \'33094\', \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-17: 04:08:34\')','expenses/saveExpense','0.015166997909546','2016-08-17 10:59:34'),(5519,13,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0017311573028564','2016-08-17 11:01:27'),(5520,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0017020702362061','2016-08-17 11:01:37'),(5521,23,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'100\', `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'148\'','bank/saveBank','0.088299036026001','2016-08-17 11:01:45'),(5522,23,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 100, `openingBalanceCr` = 0, `createdTS` = \'2016-08-11 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33007\'','bank/saveBank','0.12839579582214','2016-08-17 11:01:45'),(5523,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0017099380493164','2016-08-17 11:01:47'),(5524,13,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0018310546875','2016-08-17 11:01:53'),(5525,13,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0017271041870117','2016-08-17 11:01:56'),(5526,13,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0017180442810059','2016-08-17 11:01:59'),(5527,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'baiki siling\', \'25\', \'32\', 1, 1, \'68\', \'200\', \'OP-A\', \'2016-08-17\', \'158\', \'1\')','expenses/saveExpense','0.037515878677368','2016-08-17 11:02:00'),(5528,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2110, \'32\', \'baiki siling\', 1, \'33064\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016270875930786','2016-08-17 11:02:00'),(5529,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'336\'','expenses/saveExpense','0.023119926452637','2016-08-17 11:02:00'),(5530,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000026\' WHERE `ID` =  2110','expenses/saveExpense','0.016228914260864','2016-08-17 11:02:00'),(5531,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000026\', \'Pembelian Aset [OP-A[00000024]]\', \'Pembelian Aset [OP-A[00000024]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 200, 200, \'32\')','expenses/saveExpense','0.012715816497803','2016-08-17 11:02:00'),(5532,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000026\', 1, \'baiki siling\', \'33073\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-A[00000024]\', \'User\')','expenses/saveExpense','0.015997886657715','2016-08-17 11:02:00'),(5533,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000026\', 2, \'baiki siling\', \'33064\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-A[00000024]\', \'User\')','expenses/saveExpense','0.016462802886963','2016-08-17 11:02:00'),(5534,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000026\'','expenses/saveExpense','0.032814025878906','2016-08-17 11:02:00'),(5535,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2110','expenses/saveExpense','0.016727924346924','2016-08-17 11:02:00'),(5536,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11027','expenses/saveExpense','0.016155004501343','2016-08-17 11:02:00'),(5537,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000026\'','expenses/saveExpense','0.033361911773682','2016-08-17 11:02:00'),(5538,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33073\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.02557110786438','2016-08-17 11:02:00'),(5539,25,32,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'2\', \'33064\', \'2016\', \'8\', \'200\', \'0\', 200, \'User\', \'2016-08-17: 05:08:00\')','expenses/saveExpense','0.023437976837158','2016-08-17 11:02:00'),(5540,13,10,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.2274169921875','2016-08-17 11:02:02'),(5541,13,10,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.18046402931213','2016-08-17 11:02:07'),(5542,13,10,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furnitures & Fittings\', `openingBalanceDr` = \'2001\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32750\'','setup/saveAsset','0.093055009841919','2016-08-17 11:02:18'),(5543,13,10,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0017099380493164','2016-08-17 11:02:19'),(5544,23,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.001633882522583','2016-08-17 11:02:24'),(5545,23,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0016648769378662','2016-08-17 11:02:34'),(5546,13,10,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank Rakyat	\', `openingBalanceCr` = \'1100\', `createdTS` = \'2016-06-13 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'32767\'','setup/saveLoan','0.089480876922607','2016-08-17 11:02:49'),(5547,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'25\', \'32\', 1, 1, \'68\', \'15\', \'OP-C\', \'2016-08-17\', \'159\', \'1\')','expenses/saveExpense','0.054142951965332','2016-08-17 11:03:25'),(5548,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2111, \'32\', \'ayam\', 1, \'33082\', \'15\', \'15\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016373872756958','2016-08-17 11:03:25'),(5549,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'336\'','expenses/saveExpense','0.023124933242798','2016-08-17 11:03:25'),(5550,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000027\' WHERE `ID` =  2111','expenses/saveExpense','0.016594886779785','2016-08-17 11:03:25'),(5551,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000027\', \'Kos Jualan [OP-C[00000025]]\', \'Kos Jualan [OP-C[00000025]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 15, 15, \'32\')','expenses/saveExpense','0.012387990951538','2016-08-17 11:03:25'),(5552,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000027\', 1, \'ayam\', \'33074\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000025]\', \'User\')','expenses/saveExpense','0.016321897506714','2016-08-17 11:03:25'),(5553,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000027\', 2, \'ayam\', \'33082\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000025]\', \'User\')','expenses/saveExpense','0.016130924224854','2016-08-17 11:03:25'),(5554,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 15, `total_amount_cr` = 15, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000027\'','expenses/saveExpense','0.016502141952515','2016-08-17 11:03:25'),(5555,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2111','expenses/saveExpense','0.016350030899048','2016-08-17 11:03:25'),(5556,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11028','expenses/saveExpense','0.024930000305176','2016-08-17 11:03:25'),(5557,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000027\'','expenses/saveExpense','0.04128885269165','2016-08-17 11:03:25'),(5558,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.021501064300537','2016-08-17 11:03:25'),(5559,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33082\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015306949615479','2016-08-17 11:03:25'),(5560,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0.00052595138549805','2016-08-17 11:17:26'),(5561,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountDetailsfc%\"','glreports/accountDetailsfc','0.0010108947753906','2016-08-17 11:17:26'),(5562,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountDetailsfc','0.00089597702026367','2016-08-17 11:17:26'),(5563,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00048398971557617','2016-08-17 11:17:26'),(5564,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00045490264892578','2016-08-17 11:17:26'),(5565,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00045204162597656','2016-08-17 11:17:26'),(5566,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00044989585876465','2016-08-17 11:17:26'),(5567,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00045084953308105','2016-08-17 11:17:26'),(5568,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00045108795166016','2016-08-17 11:17:26'),(5569,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00045204162597656','2016-08-17 11:17:26'),(5570,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00044894218444824','2016-08-17 11:17:26'),(5571,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00045180320739746','2016-08-17 11:17:26'),(5572,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.00044703483581543','2016-08-17 11:17:26'),(5573,24,31,'192.168.1.204','others','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'33144\'\nLIMIT 1','glreports/accountDetailsfc','0.00046491622924805','2016-08-17 11:17:27'),(5574,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as journalNo, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctCode` =  \'33144\'\nAND `a`.`year` =  \'2016\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201612\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0.16237998008728','2016-08-17 11:17:27'),(5575,24,31,'192.168.1.204','others','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and b.companyID = 24\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'33144\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.032443046569824','2016-08-17 11:17:27'),(5576,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0.00044703483581543','2016-08-17 11:17:27'),(5577,24,31,'192.168.1.204','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'24\'\nAND `accountID` =  \'33144\'\nAND `year` =  \'2016\'','glreports/accountDetailsfc','0.00033307075500488','2016-08-17 11:17:27'),(5578,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  2015\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0.00043702125549316','2016-08-17 11:17:27'),(5579,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountDetailsfc','0.00039100646972656','2016-08-17 11:17:27'),(5580,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountDetailsfc','0.00048398971557617','2016-08-17 11:17:27'),(5581,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066304206848145','2016-08-17 11:17:36'),(5582,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052881240844727','2016-08-17 11:17:36'),(5583,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052118301391602','2016-08-17 11:17:36'),(5584,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051212310791016','2016-08-17 11:17:36'),(5585,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043601036071777','2016-08-17 11:17:36'),(5586,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042956829071045','2016-08-17 11:17:36'),(5587,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042917966842651','2016-08-17 11:17:36'),(5588,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043036937713623','2016-08-17 11:17:36'),(5589,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.19121885299683','2016-08-17 11:17:36'),(5590,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0004730224609375','2016-08-17 11:17:36'),(5591,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00054383277893066','2016-08-17 11:17:36'),(5592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062894821166992','2016-08-17 11:17:39'),(5593,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:17:39'),(5594,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:17:39'),(5595,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:17:39'),(5596,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:17:39'),(5597,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058197975158691','2016-08-17 11:17:39'),(5598,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:17:39'),(5599,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 11:17:40'),(5600,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:17:40'),(5601,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:17:40'),(5602,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:17:40'),(5603,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:17:40'),(5604,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061798095703125','2016-08-17 11:17:41'),(5605,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:17:41'),(5606,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:17:41'),(5607,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:17:41'),(5608,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:17:41'),(5609,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:17:41'),(5610,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:17:41'),(5611,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:17:41'),(5612,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:17:41'),(5613,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:17:41'),(5614,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:17:41'),(5615,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:17:41'),(5616,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058913230895996','2016-08-17 11:17:44'),(5617,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 11:17:45'),(5618,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-17 11:17:45'),(5619,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:17:45'),(5620,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005028247833252','2016-08-17 11:17:45'),(5621,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:17:45'),(5622,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:17:45'),(5623,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:17:45'),(5624,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:17:45'),(5625,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:17:45'),(5626,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:17:45'),(5627,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:17:45'),(5628,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:17:45'),(5629,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050115585327148','2016-08-17 11:17:46'),(5630,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.048012971878052','2016-08-17 11:17:50'),(5631,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014050006866455','2016-08-17 11:17:50'),(5632,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 11:17:50'),(5633,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 11:17:50'),(5634,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013701915740967','2016-08-17 11:17:50'),(5635,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-17 11:17:50'),(5636,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 11:17:50'),(5637,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 11:17:50'),(5638,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 11:17:50'),(5639,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 11:17:50'),(5640,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 11:17:50'),(5641,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 11:17:50'),(5642,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'25\'','setup/loanSetup','0.0016779899597168','2016-08-17 11:17:51'),(5643,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.00049710273742676','2016-08-17 11:17:51'),(5644,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00053191184997559','2016-08-17 11:17:51'),(5645,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/assetReport','0.091889142990112','2016-08-17 11:18:35'),(5646,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/assetReport%\"','glreports/assetReport','0.011039018630981','2016-08-17 11:18:35'),(5647,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/assetReport','0.00090384483337402','2016-08-17 11:18:35'),(5648,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00048303604125977','2016-08-17 11:18:35'),(5649,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.012556076049805','2016-08-17 11:18:35'),(5650,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045013427734375','2016-08-17 11:18:35'),(5651,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044608116149902','2016-08-17 11:18:35'),(5652,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044798851013184','2016-08-17 11:18:35'),(5653,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044488906860352','2016-08-17 11:18:35'),(5654,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044798851013184','2016-08-17 11:18:35'),(5655,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044798851013184','2016-08-17 11:18:35'),(5656,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045013427734375','2016-08-17 11:18:35'),(5657,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044393539428711','2016-08-17 11:18:35'),(5658,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceDr` as openingBal, ifnull(c.openingBalanceDr, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceDr, ifnull(c.balanceAsset, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceAsset\nFROM (`view_asset_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  2\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/assetReport','0.1488139629364','2016-08-17 11:18:35'),(5659,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/assetReport','0.00082206726074219','2016-08-17 11:18:35'),(5660,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/assetReport','0.0003669261932373','2016-08-17 11:18:35'),(5661,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/assetReport','0.00045394897460938','2016-08-17 11:18:35'),(5662,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.019746065139771','2016-08-17 11:18:53'),(5663,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00049901008605957','2016-08-17 11:18:53'),(5664,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0004270076751709','2016-08-17 11:18:53'),(5665,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00040292739868164','2016-08-17 11:18:53'),(5666,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043380975723267','2016-08-17 11:18:53'),(5667,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042999029159546','2016-08-17 11:18:53'),(5668,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042794942855835','2016-08-17 11:18:53'),(5669,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.04312801361084','2016-08-17 11:18:53'),(5670,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.024368047714233','2016-08-17 11:18:53'),(5671,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00037384033203125','2016-08-17 11:18:53'),(5672,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00044703483581543','2016-08-17 11:18:53'),(5673,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00061893463134766','2016-08-17 11:18:57'),(5674,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.000518798828125','2016-08-17 11:18:57'),(5675,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051283836364746','2016-08-17 11:18:57'),(5676,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00050711631774902','2016-08-17 11:18:57'),(5677,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00075411796569824','2016-08-17 11:18:57'),(5678,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041103363037109','2016-08-17 11:18:57'),(5679,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051617622375488','2016-08-17 11:18:57'),(5680,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056314468383789','2016-08-17 11:18:57'),(5681,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005028247833252','2016-08-17 11:18:57'),(5682,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:18:57'),(5683,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:18:57'),(5684,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056219100952148','2016-08-17 11:18:57'),(5685,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:18:57'),(5686,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:18:57'),(5687,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 11:18:57'),(5688,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 11:18:57'),(5689,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:18:57'),(5690,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:18:57'),(5691,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:18:57'),(5692,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.084944009780884','2016-08-17 11:19:02'),(5693,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.0010268688201904','2016-08-17 11:19:02'),(5694,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'719\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00042891502380371','2016-08-17 11:19:02'),(5695,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'719\'','sales/edit_sale','0.0014848709106445','2016-08-17 11:19:02'),(5696,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'719\'','sales/edit_sale','0.00043988227844238','2016-08-17 11:19:02'),(5697,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040197372436523','2016-08-17 11:19:02'),(5698,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050806999206543','2016-08-17 11:19:02'),(5699,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.016952991485596','2016-08-17 11:19:34'),(5700,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013160705566406','2016-08-17 11:19:34'),(5701,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012531280517578','2016-08-17 11:19:34'),(5702,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012500286102295','2016-08-17 11:19:34'),(5703,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.020352125167847','2016-08-17 11:19:34'),(5704,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004270076751709','2016-08-17 11:19:34'),(5705,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 11:19:34'),(5706,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.084964036941528','2016-08-17 11:20:02'),(5707,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00089907646179199','2016-08-17 11:20:02'),(5708,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.0011870861053467','2016-08-17 11:20:02'),(5709,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.0011680126190186','2016-08-17 11:20:02'),(5710,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.0013508796691895','2016-08-17 11:20:19'),(5711,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.016487836837769','2016-08-17 11:20:19'),(5712,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00091814994812012','2016-08-17 11:20:19'),(5713,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00048112869262695','2016-08-17 11:20:19'),(5714,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045490264892578','2016-08-17 11:20:19'),(5715,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045394897460938','2016-08-17 11:20:19'),(5716,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00046300888061523','2016-08-17 11:20:19'),(5717,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 11:20:19'),(5718,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 11:20:19'),(5719,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 11:20:19'),(5720,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 11:20:19'),(5721,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 11:20:19'),(5722,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-17 11:20:20'),(5723,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.1638810634613','2016-08-17 11:20:20'),(5724,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084996223449707','2016-08-17 11:20:20'),(5725,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00042200088500977','2016-08-17 11:20:20'),(5726,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051403045654297','2016-08-17 11:20:20'),(5727,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.00051188468933105','2016-08-17 11:21:19'),(5728,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.0010008811950684','2016-08-17 11:21:19'),(5729,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00088119506835938','2016-08-17 11:21:19'),(5730,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00048089027404785','2016-08-17 11:21:19'),(5731,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045609474182129','2016-08-17 11:21:19'),(5732,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045394897460938','2016-08-17 11:21:19'),(5733,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 11:21:19'),(5734,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 11:21:19'),(5735,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-17 11:21:19'),(5736,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 11:21:19'),(5737,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 11:21:19'),(5738,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 11:21:19'),(5739,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 11:21:19'),(5740,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14181089401245','2016-08-17 11:21:19'),(5741,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084400177001953','2016-08-17 11:21:19'),(5742,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00041508674621582','2016-08-17 11:21:19'),(5743,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051188468933105','2016-08-17 11:21:19'),(5744,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0060739517211914','2016-08-17 11:21:33'),(5745,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053215026855469','2016-08-17 11:21:33'),(5746,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052309036254883','2016-08-17 11:21:33'),(5747,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051212310791016','2016-08-17 11:21:33'),(5748,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043605089187622','2016-08-17 11:21:33'),(5749,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043384790420532','2016-08-17 11:21:33'),(5750,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043369054794312','2016-08-17 11:21:33'),(5751,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043342113494873','2016-08-17 11:21:33'),(5752,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.089577913284302','2016-08-17 11:21:33'),(5753,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00043702125549316','2016-08-17 11:21:33'),(5754,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051712989807129','2016-08-17 11:21:33'),(5755,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063610076904297','2016-08-17 11:21:37'),(5756,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:21:37'),(5757,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:21:37'),(5758,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:21:37'),(5759,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:21:37'),(5760,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:21:37'),(5761,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:21:38'),(5762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 11:21:38'),(5763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:21:38'),(5764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:21:38'),(5765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 11:21:38'),(5766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:21:38'),(5767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062203407287598','2016-08-17 11:21:39'),(5768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:21:39'),(5769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:21:39'),(5770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:21:39'),(5771,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:21:39'),(5772,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:21:39'),(5773,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:21:39'),(5774,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:21:39'),(5775,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:21:39'),(5776,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:21:39'),(5777,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 11:21:39'),(5778,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:21:39'),(5779,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059199333190918','2016-08-17 11:21:43'),(5780,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00057816505432129','2016-08-17 11:21:45'),(5781,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-17 11:21:45'),(5782,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:21:45'),(5783,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:21:45'),(5784,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:21:45'),(5785,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:21:45'),(5786,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:21:45'),(5787,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:21:45'),(5788,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:21:45'),(5789,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:21:45'),(5790,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:21:45'),(5791,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:21:45'),(5792,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:21:45'),(5793,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.082739114761353','2016-08-17 11:21:50'),(5794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014200210571289','2016-08-17 11:21:50'),(5795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-17 11:21:50'),(5796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-17 11:21:50'),(5797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013759136199951','2016-08-17 11:21:50'),(5798,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:21:50'),(5799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013871192932129','2016-08-17 11:21:50'),(5800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-17 11:21:50'),(5801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 11:21:50'),(5802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 11:21:50'),(5803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013501644134521','2016-08-17 11:21:50'),(5804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 11:21:50'),(5805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015738010406494','2016-08-17 11:21:52'),(5806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014011859893799','2016-08-17 11:21:52'),(5807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013890266418457','2016-08-17 11:21:52'),(5808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013802051544189','2016-08-17 11:21:52'),(5809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 11:21:52'),(5810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 11:21:52'),(5811,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 11:21:52'),(5812,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 11:21:52'),(5813,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 11:21:52'),(5814,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 11:21:52'),(5815,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 11:21:52'),(5816,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-17 11:21:52'),(5817,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041420459747314','2016-08-17 11:21:55'),(5818,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040411949157715','2016-08-17 11:21:55'),(5819,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 11:21:55'),(5820,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041220188140869','2016-08-17 11:21:55'),(5821,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-17 11:21:55'),(5822,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040030479431152','2016-08-17 11:21:55'),(5823,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 11:21:55'),(5824,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 11:21:55'),(5825,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00061297416687012','2016-08-17 11:21:55'),(5826,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 11:21:55'),(5827,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-17 11:21:55'),(5828,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-17 11:21:55'),(5829,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055503845214844','2016-08-17 11:21:55'),(5830,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040891170501709','2016-08-17 11:21:55'),(5831,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00050592422485352','2016-08-17 11:21:55'),(5832,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-17 11:21:55'),(5833,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.09773588180542','2016-08-17 11:21:55'),(5834,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043562889099121','2016-08-17 11:21:55'),(5835,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04264497756958','2016-08-17 11:21:55'),(5836,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038536071777344','2016-08-17 11:21:55'),(5837,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.0082950592041016','2016-08-17 11:21:55'),(5838,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.052576065063477','2016-08-17 11:21:55'),(5839,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.06900691986084','2016-08-17 11:21:55'),(5840,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0070228576660156','2016-08-17 11:21:57'),(5841,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 11:21:57'),(5842,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 11:21:57'),(5843,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-17 11:21:57'),(5844,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004072904586792','2016-08-17 11:21:57'),(5845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040371417999268','2016-08-17 11:21:57'),(5846,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040249824523926','2016-08-17 11:21:57'),(5847,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 11:21:57'),(5848,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-17 11:21:57'),(5849,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040841102600098','2016-08-17 11:21:57'),(5850,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-17 11:21:57'),(5851,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 11:21:57'),(5852,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062108039855957','2016-08-17 11:21:58'),(5853,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:21:58'),(5854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:21:58'),(5855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:21:58'),(5856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:21:58'),(5857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:21:58'),(5858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:21:58'),(5859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 11:21:58'),(5860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:21:58'),(5861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:21:58'),(5862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050520896911621','2016-08-17 11:21:59'),(5863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:21:59'),(5864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061893463134766','2016-08-17 11:22:00'),(5865,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:22:00'),(5866,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:22:00'),(5867,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:22:00'),(5868,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:22:00'),(5869,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:22:00'),(5870,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:22:00'),(5871,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:22:00'),(5872,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:00'),(5873,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:22:00'),(5874,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:22:00'),(5875,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:22:00'),(5876,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.025354146957397','2016-08-17 11:22:02'),(5877,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041861534118652','2016-08-17 11:22:02'),(5878,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.02314305305481','2016-08-17 11:22:03'),(5879,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052118301391602','2016-08-17 11:22:03'),(5880,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051403045654297','2016-08-17 11:22:03'),(5881,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051116943359375','2016-08-17 11:22:03'),(5882,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00075387954711914','2016-08-17 11:22:03'),(5883,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0004119873046875','2016-08-17 11:22:04'),(5884,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051403045654297','2016-08-17 11:22:04'),(5885,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058197975158691','2016-08-17 11:22:05'),(5886,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058293342590332','2016-08-17 11:22:06'),(5887,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 11:22:06'),(5888,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:22:06'),(5889,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 11:22:07'),(5890,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:07'),(5891,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:07'),(5892,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:07'),(5893,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:07'),(5894,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:22:07'),(5895,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:07'),(5896,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:22:07'),(5897,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:22:07'),(5898,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 11:22:07'),(5899,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00061488151550293','2016-08-17 11:22:08'),(5900,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052213668823242','2016-08-17 11:22:08'),(5901,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051999092102051','2016-08-17 11:22:08'),(5902,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051212310791016','2016-08-17 11:22:08'),(5903,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.063612937927246','2016-08-17 11:22:08'),(5904,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043105125427246','2016-08-17 11:22:08'),(5905,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04311203956604','2016-08-17 11:22:08'),(5906,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043614864349365','2016-08-17 11:22:08'),(5907,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.046329975128174','2016-08-17 11:22:08'),(5908,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00040102005004883','2016-08-17 11:22:08'),(5909,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00045299530029297','2016-08-17 11:22:08'),(5910,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063681602478027','2016-08-17 11:22:13'),(5911,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:22:13'),(5912,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:22:13'),(5913,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:22:13'),(5914,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:22:13'),(5915,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:22:13'),(5916,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:22:13'),(5917,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 11:22:13'),(5918,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:22:13'),(5919,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 11:22:13'),(5920,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 11:22:13'),(5921,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:22:13'),(5922,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062394142150879','2016-08-17 11:22:15'),(5923,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:22:15'),(5924,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:22:15'),(5925,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:22:15'),(5926,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:22:15'),(5927,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:22:15'),(5928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:22:15'),(5929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:22:15'),(5930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:15'),(5931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:22:15'),(5932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:22:15'),(5933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:22:15'),(5934,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.013914108276367','2016-08-17 11:22:33'),(5935,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053501129150391','2016-08-17 11:22:33'),(5936,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051617622375488','2016-08-17 11:22:33'),(5937,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051188468933105','2016-08-17 11:22:33'),(5938,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00075507164001465','2016-08-17 11:22:33'),(5939,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0004119873046875','2016-08-17 11:22:33'),(5940,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051498413085938','2016-08-17 11:22:33'),(5941,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00057387351989746','2016-08-17 11:22:36'),(5942,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-17 11:22:36'),(5943,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00049185752868652','2016-08-17 11:22:36'),(5944,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00047492980957031','2016-08-17 11:22:36'),(5945,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00046610832214355','2016-08-17 11:22:36'),(5946,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.11339092254639','2016-08-17 11:22:36'),(5947,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043437004089355','2016-08-17 11:22:36'),(5948,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043262958526611','2016-08-17 11:22:36'),(5949,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043278932571411','2016-08-17 11:22:36'),(5950,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.06217885017395','2016-08-17 11:22:36'),(5951,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00044703483581543','2016-08-17 11:22:36'),(5952,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053119659423828','2016-08-17 11:22:36'),(5953,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062179565429688','2016-08-17 11:22:46'),(5954,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:22:47'),(5955,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:22:47'),(5956,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0010178089141846','2016-08-17 11:22:47'),(5957,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:22:47'),(5958,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:22:47'),(5959,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 11:22:47'),(5960,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 11:22:47'),(5961,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:47'),(5962,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:22:47'),(5963,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:22:47'),(5964,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:22:47'),(5965,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/new_sale','0.096130847930908','2016-08-17 11:22:47'),(5966,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/new_sale','0.00099492073059082','2016-08-17 11:22:47'),(5967,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.00040602684020996','2016-08-17 11:22:47'),(5968,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.00050497055053711','2016-08-17 11:22:47'),(5969,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063085556030273','2016-08-17 11:22:51'),(5970,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 11:22:51'),(5971,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:22:51'),(5972,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:22:51'),(5973,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:22:51'),(5974,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:22:51'),(5975,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:51'),(5976,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:22:51'),(5977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:22:51'),(5978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:22:51'),(5979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:22:51'),(5980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:22:51'),(5981,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057792663574219','2016-08-17 11:22:53'),(5982,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052309036254883','2016-08-17 11:22:53'),(5983,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052118301391602','2016-08-17 11:22:53'),(5984,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051283836364746','2016-08-17 11:22:53'),(5985,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043535947799683','2016-08-17 11:22:53'),(5986,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042962074279785','2016-08-17 11:22:53'),(5987,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042777061462402','2016-08-17 11:22:53'),(5988,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043015956878662','2016-08-17 11:22:53'),(5989,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.0096518993377686','2016-08-17 11:22:53'),(5990,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00036215782165527','2016-08-17 11:22:53'),(5991,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00044608116149902','2016-08-17 11:22:53'),(5992,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066280364990234','2016-08-17 11:22:57'),(5993,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:22:57'),(5994,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:22:57'),(5995,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:22:57'),(5996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:22:57'),(5997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:22:57'),(5998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:22:57'),(5999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 11:22:57'),(6000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:22:57'),(6001,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:22:57'),(6002,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:22:57'),(6003,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:22:57'),(6004,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006258487701416','2016-08-17 11:22:59'),(6005,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 11:22:59'),(6006,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:22:59'),(6007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:22:59'),(6008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:22:59'),(6009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:22:59'),(6010,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:22:59'),(6011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:22:59'),(6012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:22:59'),(6013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:22:59'),(6014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:22:59'),(6015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:22:59'),(6016,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059080123901367','2016-08-17 11:23:03'),(6017,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058794021606445','2016-08-17 11:23:07'),(6018,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 11:23:07'),(6019,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:23:07'),(6020,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:23:07'),(6021,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:23:07'),(6022,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:23:07'),(6023,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:23:07'),(6024,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:23:07'),(6025,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:23:07'),(6026,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:23:07'),(6027,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:23:07'),(6028,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:23:07'),(6029,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049996376037598','2016-08-17 11:23:07'),(6030,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.12467503547668','2016-08-17 11:23:13'),(6031,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00142502784729','2016-08-17 11:23:13'),(6032,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001384973526001','2016-08-17 11:23:13'),(6033,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013720989227295','2016-08-17 11:23:13'),(6034,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:23:13'),(6035,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:23:13'),(6036,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 11:23:13'),(6037,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013628005981445','2016-08-17 11:23:13'),(6038,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 11:23:13'),(6039,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013809204101562','2016-08-17 11:23:13'),(6040,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 11:23:13'),(6041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 11:23:13'),(6042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015769004821777','2016-08-17 11:23:14'),(6043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 11:23:14'),(6044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001384973526001','2016-08-17 11:23:15'),(6045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 11:23:15'),(6046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013759136199951','2016-08-17 11:23:15'),(6047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 11:23:15'),(6048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 11:23:15'),(6049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013551712036133','2016-08-17 11:23:15'),(6050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014009475708008','2016-08-17 11:23:15'),(6051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013651847839355','2016-08-17 11:23:15'),(6052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 11:23:15'),(6053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 11:23:15'),(6054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042710304260254','2016-08-17 11:23:18'),(6055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 11:23:18'),(6056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041549205780029','2016-08-17 11:23:18'),(6057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041248798370361','2016-08-17 11:23:18'),(6058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004047155380249','2016-08-17 11:23:18'),(6059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 11:23:18'),(6060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 11:23:18'),(6061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-17 11:23:18'),(6062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-17 11:23:18'),(6063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 11:23:18');
INSERT INTO `_log_query` VALUES (6064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041129589080811','2016-08-17 11:23:18'),(6065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040059089660645','2016-08-17 11:23:18'),(6066,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043060779571533','2016-08-17 11:23:20'),(6067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041050910949707','2016-08-17 11:23:20'),(6068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040528774261475','2016-08-17 11:23:20'),(6069,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041799545288086','2016-08-17 11:23:20'),(6070,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-17 11:23:20'),(6071,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040419101715088','2016-08-17 11:23:20'),(6072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-17 11:23:20'),(6073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-17 11:23:20'),(6074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040349960327148','2016-08-17 11:23:20'),(6075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 11:23:20'),(6076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004033088684082','2016-08-17 11:23:20'),(6077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040111541748047','2016-08-17 11:23:20'),(6078,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011742115020752','2016-08-17 11:23:25'),(6079,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.00099301338195801','2016-08-17 11:23:25'),(6080,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'742\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00042200088500977','2016-08-17 11:23:25'),(6081,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'742\'','sales/edit_sale','0.0006251335144043','2016-08-17 11:23:25'),(6082,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'742\'','sales/edit_sale','0.0004429817199707','2016-08-17 11:23:25'),(6083,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00042605400085449','2016-08-17 11:23:25'),(6084,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00051593780517578','2016-08-17 11:23:25'),(6085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015239715576172','2016-08-17 11:23:25'),(6086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041289329528809','2016-08-17 11:23:25'),(6087,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063586235046387','2016-08-17 11:23:30'),(6088,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00047707557678223','2016-08-17 11:23:30'),(6089,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052213668823242','2016-08-17 11:23:30'),(6090,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 11:23:30'),(6091,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.075706958770752','2016-08-17 11:23:30'),(6092,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043075084686279','2016-08-17 11:23:30'),(6093,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043041944503784','2016-08-17 11:23:30'),(6094,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043308973312378','2016-08-17 11:23:30'),(6095,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.23681306838989','2016-08-17 11:23:30'),(6096,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045394897460938','2016-08-17 11:23:30'),(6097,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051498413085938','2016-08-17 11:23:30'),(6098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062394142150879','2016-08-17 11:23:33'),(6099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:23:33'),(6100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:23:33'),(6101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:23:33'),(6102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:23:33'),(6103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:23:33'),(6104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:23:33'),(6105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 11:23:33'),(6106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:23:33'),(6107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:23:33'),(6108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:23:33'),(6109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 11:23:33'),(6110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064802169799805','2016-08-17 11:23:34'),(6111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:23:34'),(6112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:23:34'),(6113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:23:34'),(6114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:23:34'),(6115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:23:34'),(6116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:23:34'),(6117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:23:34'),(6118,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:23:34'),(6119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:23:34'),(6120,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:23:34'),(6121,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:23:34'),(6122,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059103965759277','2016-08-17 11:23:38'),(6123,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0010249614715576','2016-08-17 11:23:40'),(6124,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 11:23:41'),(6125,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:23:41'),(6126,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:23:41'),(6127,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:23:41'),(6128,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:23:41'),(6129,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:23:41'),(6130,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:23:41'),(6131,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:23:41'),(6132,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:23:41'),(6133,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:23:41'),(6134,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:23:41'),(6135,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:23:41'),(6136,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.077478885650635','2016-08-17 11:23:45'),(6137,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 11:23:45'),(6138,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 11:23:45'),(6139,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013518333435059','2016-08-17 11:23:45'),(6140,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013518333435059','2016-08-17 11:23:45'),(6141,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 11:23:45'),(6142,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 11:23:45'),(6143,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013542175292969','2016-08-17 11:23:45'),(6144,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:23:45'),(6145,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013802051544189','2016-08-17 11:23:45'),(6146,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013418197631836','2016-08-17 11:23:45'),(6147,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-17 11:23:45'),(6148,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015981197357178','2016-08-17 11:23:48'),(6149,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014090538024902','2016-08-17 11:23:49'),(6150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013940334320068','2016-08-17 11:23:49'),(6151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 11:23:49'),(6152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-17 11:23:49'),(6153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 11:23:49'),(6154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013601779937744','2016-08-17 11:23:49'),(6155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 11:23:49'),(6156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013918876647949','2016-08-17 11:23:49'),(6157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 11:23:49'),(6158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014069080352783','2016-08-17 11:23:49'),(6159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:23:49'),(6160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043098926544189','2016-08-17 11:23:52'),(6161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004086971282959','2016-08-17 11:23:52'),(6162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040769577026367','2016-08-17 11:23:52'),(6163,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004086971282959','2016-08-17 11:23:52'),(6164,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040597915649414','2016-08-17 11:23:52'),(6165,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 11:23:52'),(6166,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040781497955322','2016-08-17 11:23:52'),(6167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 11:23:52'),(6168,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040698051452637','2016-08-17 11:23:52'),(6169,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 11:23:52'),(6170,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040690898895264','2016-08-17 11:23:52'),(6171,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041170120239258','2016-08-17 11:23:52'),(6172,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042738914489746','2016-08-17 11:23:54'),(6173,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-17 11:23:54'),(6174,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 11:23:54'),(6175,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 11:23:54'),(6176,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040409564971924','2016-08-17 11:23:54'),(6177,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040388107299805','2016-08-17 11:23:54'),(6178,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-17 11:23:54'),(6179,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040481090545654','2016-08-17 11:23:54'),(6180,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040318965911865','2016-08-17 11:23:54'),(6181,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004094123840332','2016-08-17 11:23:54'),(6182,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040240287780762','2016-08-17 11:23:54'),(6183,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-17 11:23:54'),(6184,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.017065048217773','2016-08-17 11:23:54'),(6185,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012650489807129','2016-08-17 11:23:54'),(6186,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012509822845459','2016-08-17 11:23:54'),(6187,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012290477752686','2016-08-17 11:23:54'),(6188,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.053621053695679','2016-08-17 11:23:54'),(6189,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0011820793151855','2016-08-17 11:23:54'),(6190,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0011980533599854','2016-08-17 11:23:54'),(6191,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015909671783447','2016-08-17 11:23:58'),(6192,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041770935058594','2016-08-17 11:23:58'),(6193,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00067400932312012','2016-08-17 11:24:06'),(6194,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:24:06'),(6195,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:24:06'),(6196,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:24:06'),(6197,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:24:06'),(6198,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:24:06'),(6199,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:24:06'),(6200,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 11:24:06'),(6201,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:24:06'),(6202,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:24:06'),(6203,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:24:06'),(6204,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:24:06'),(6205,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0047399997711182','2016-08-17 11:24:06'),(6206,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044839382171631','2016-08-17 11:24:06'),(6207,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043978691101074','2016-08-17 11:24:06'),(6208,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043399333953857','2016-08-17 11:24:06'),(6209,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043210983276367','2016-08-17 11:24:06'),(6210,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004396915435791','2016-08-17 11:24:06'),(6211,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043289661407471','2016-08-17 11:24:06'),(6212,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043468475341797','2016-08-17 11:24:06'),(6213,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043270587921143','2016-08-17 11:24:06'),(6214,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043671131134033','2016-08-17 11:24:06'),(6215,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043849945068359','2016-08-17 11:24:06'),(6216,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043158531188965','2016-08-17 11:24:06'),(6217,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013928413391113','2016-08-17 11:24:22'),(6218,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013139247894287','2016-08-17 11:24:22'),(6219,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012550354003906','2016-08-17 11:24:22'),(6220,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012500286102295','2016-08-17 11:24:22'),(6221,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022640228271484','2016-08-17 11:24:22'),(6222,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004270076751709','2016-08-17 11:24:22'),(6223,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048208236694336','2016-08-17 11:24:22'),(6224,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0025510787963867','2016-08-17 11:24:32'),(6225,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.001054048538208','2016-08-17 11:24:32'),(6226,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2052\'','expenses/addNew','0.0022740364074707','2016-08-17 11:24:32'),(6227,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2052\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0023479461669922','2016-08-17 11:24:32'),(6228,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000002\'','expenses/addNew','0.00053715705871582','2016-08-17 11:24:32'),(6229,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038909912109375','2016-08-17 11:24:32'),(6230,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047707557678223','2016-08-17 11:24:32'),(6231,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0026969909667969','2016-08-17 11:24:55'),(6232,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010409355163574','2016-08-17 11:24:55'),(6233,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2056\'','expenses/addNew','0.0022380352020264','2016-08-17 11:24:55'),(6234,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2056\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0023720264434814','2016-08-17 11:24:55'),(6235,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000005\'','expenses/addNew','0.00047802925109863','2016-08-17 11:24:55'),(6236,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038695335388184','2016-08-17 11:24:55'),(6237,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048303604125977','2016-08-17 11:24:55'),(6238,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00062179565429688','2016-08-17 11:25:08'),(6239,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00052285194396973','2016-08-17 11:25:09'),(6240,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00052881240844727','2016-08-17 11:25:09'),(6241,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00050997734069824','2016-08-17 11:25:09'),(6242,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00073599815368652','2016-08-17 11:25:09'),(6243,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041389465332031','2016-08-17 11:25:09'),(6244,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050997734069824','2016-08-17 11:25:09'),(6245,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.001223087310791','2016-08-17 11:25:17'),(6246,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.00098896026611328','2016-08-17 11:25:17'),(6247,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'723\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00042200088500977','2016-08-17 11:25:17'),(6248,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'723\'','sales/edit_sale','0.0006260871887207','2016-08-17 11:25:17'),(6249,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'723\'','sales/edit_sale','0.00046300888061523','2016-08-17 11:25:17'),(6250,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00039792060852051','2016-08-17 11:25:17'),(6251,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050592422485352','2016-08-17 11:25:17'),(6252,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'10920\'','report/journalDetails','0.0017578601837158','2016-08-17 11:25:19'),(6253,24,31,'192.168.1.204','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000005\'\nORDER BY `sequence`','report/journalDetails','0.00088000297546387','2016-08-17 11:25:19'),(6254,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00040698051452637','2016-08-17 11:25:19'),(6255,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00050020217895508','2016-08-17 11:25:19'),(6256,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00060296058654785','2016-08-17 11:25:35'),(6257,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051999092102051','2016-08-17 11:25:35'),(6258,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00052785873413086','2016-08-17 11:25:35'),(6259,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051116943359375','2016-08-17 11:25:35'),(6260,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00071597099304199','2016-08-17 11:25:35'),(6261,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041508674621582','2016-08-17 11:25:35'),(6262,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051188468933105','2016-08-17 11:25:35'),(6263,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0018479824066162','2016-08-17 11:26:19'),(6264,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00049400329589844','2016-08-17 11:26:20'),(6265,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00052714347839355','2016-08-17 11:26:20'),(6266,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016639232635498','2016-08-17 11:26:44'),(6267,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'25\'','setup/assetSetup','0.0015919208526611','2016-08-17 11:26:44'),(6268,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.0004270076751709','2016-08-17 11:26:44'),(6269,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00050711631774902','2016-08-17 11:26:44'),(6270,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016648769378662','2016-08-17 11:26:52'),(6271,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00087404251098633','2016-08-17 11:26:52'),(6272,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00042080879211426','2016-08-17 11:26:52'),(6273,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00048613548278809','2016-08-17 11:26:52'),(6274,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'25\'','setup/loanSetup','0.0016548633575439','2016-08-17 11:26:55'),(6275,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.0004270076751709','2016-08-17 11:26:55'),(6276,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00051188468933105','2016-08-17 11:26:55'),(6277,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0017988681793213','2016-08-17 11:27:00'),(6278,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00041604042053223','2016-08-17 11:27:00'),(6279,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00046205520629883','2016-08-17 11:27:00'),(6280,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0015740394592285','2016-08-17 11:27:14'),(6281,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00089716911315918','2016-08-17 11:27:15'),(6282,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00041794776916504','2016-08-17 11:27:15'),(6283,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00048398971557617','2016-08-17 11:27:15'),(6284,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016520023345947','2016-08-17 11:27:25'),(6285,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'25\'','setup/assetSetup','0.0015938282012939','2016-08-17 11:27:25'),(6286,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.00042295455932617','2016-08-17 11:27:25'),(6287,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00050902366638184','2016-08-17 11:27:25'),(6288,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0018050670623779','2016-08-17 11:27:29'),(6289,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00045585632324219','2016-08-17 11:27:29'),(6290,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00051188468933105','2016-08-17 11:27:29'),(6291,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'25\'','setup/loanSetup','0.0016310214996338','2016-08-17 11:27:43'),(6292,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.0004279613494873','2016-08-17 11:27:43'),(6293,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00051212310791016','2016-08-17 11:27:43'),(6294,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.22601413726807','2016-08-17 11:27:52'),(6295,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053596496582031','2016-08-17 11:27:52'),(6296,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-17 11:27:52'),(6297,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051379203796387','2016-08-17 11:27:52'),(6298,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.07874608039856','2016-08-17 11:27:52'),(6299,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043128967285156','2016-08-17 11:27:52'),(6300,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043121099472046','2016-08-17 11:27:52'),(6301,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043300151824951','2016-08-17 11:27:52'),(6302,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.23054909706116','2016-08-17 11:27:52'),(6303,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045204162597656','2016-08-17 11:27:52'),(6304,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051999092102051','2016-08-17 11:27:52'),(6305,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0006561279296875','2016-08-17 11:27:55'),(6306,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:27:55'),(6307,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:27:55'),(6308,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:27:55'),(6309,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:27:55'),(6310,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:27:55'),(6311,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:27:55'),(6312,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 11:27:55'),(6313,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:27:55'),(6314,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:27:55'),(6315,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:27:55'),(6316,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:27:55'),(6317,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00061702728271484','2016-08-17 11:27:57'),(6318,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:27:57'),(6319,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:27:57'),(6320,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:27:57'),(6321,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:27:57'),(6322,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:27:57'),(6323,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:27:57'),(6324,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 11:27:57'),(6325,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:27:57'),(6326,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:27:57'),(6327,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:27:57'),(6328,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:27:57'),(6329,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058579444885254','2016-08-17 11:28:00'),(6330,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058698654174805','2016-08-17 11:28:03'),(6331,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-17 11:28:03'),(6332,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:28:03'),(6333,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 11:28:03'),(6334,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:28:03'),(6335,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:28:03'),(6336,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:28:03'),(6337,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:28:03'),(6338,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:28:03'),(6339,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:28:03'),(6340,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:28:03'),(6341,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:28:03'),(6342,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050115585327148','2016-08-17 11:28:03'),(6343,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 11:28:03'),(6344,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:28:03'),(6345,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:28:03'),(6346,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:28:03'),(6347,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00049996376037598','2016-08-17 11:28:03'),(6348,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:28:03'),(6349,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:28:03'),(6350,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:28:03'),(6351,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:28:03'),(6352,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:28:03'),(6353,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:28:03'),(6354,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:28:03'),(6355,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:28:03'),(6356,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00049996376037598','2016-08-17 11:28:03'),(6357,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:28:03'),(6358,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:28:03'),(6359,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:28:03'),(6360,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:28:03'),(6361,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:28:03'),(6362,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:28:03'),(6363,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:28:03'),(6364,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:28:03'),(6365,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00049996376037598','2016-08-17 11:28:03'),(6366,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:28:03'),(6367,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.029479026794434','2016-08-17 11:28:07'),(6368,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 11:28:07'),(6369,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001399040222168','2016-08-17 11:28:07'),(6370,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-17 11:28:07'),(6371,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 11:28:07'),(6372,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 11:28:07'),(6373,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 11:28:07'),(6374,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 11:28:07'),(6375,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 11:28:07'),(6376,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 11:28:07'),(6377,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 11:28:07'),(6378,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 11:28:08'),(6379,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015759468078613','2016-08-17 11:28:09'),(6380,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 11:28:09'),(6381,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-17 11:28:09'),(6382,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 11:28:09'),(6383,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 11:28:09'),(6384,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-17 11:28:09'),(6385,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 11:28:09'),(6386,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:28:09'),(6387,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 11:28:09'),(6388,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013618469238281','2016-08-17 11:28:09'),(6389,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013618469238281','2016-08-17 11:28:09'),(6390,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 11:28:09'),(6391,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.017145872116089','2016-08-17 11:28:11'),(6392,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041129589080811','2016-08-17 11:28:11'),(6393,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040340423583984','2016-08-17 11:28:11'),(6394,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004025936126709','2016-08-17 11:28:11'),(6395,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040218830108643','2016-08-17 11:28:11'),(6396,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040228366851807','2016-08-17 11:28:11'),(6397,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004025936126709','2016-08-17 11:28:11'),(6398,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040898323059082','2016-08-17 11:28:11'),(6399,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-17 11:28:11'),(6400,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040309429168701','2016-08-17 11:28:11'),(6401,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040528774261475','2016-08-17 11:28:11'),(6402,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040161609649658','2016-08-17 11:28:11'),(6403,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041890144348145','2016-08-17 11:28:12'),(6404,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039889812469482','2016-08-17 11:28:12'),(6405,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004025936126709','2016-08-17 11:28:12'),(6406,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040102005004883','2016-08-17 11:28:13'),(6407,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040781497955322','2016-08-17 11:28:13'),(6408,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040919780731201','2016-08-17 11:28:13'),(6409,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040268898010254','2016-08-17 11:28:13'),(6410,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040030479431152','2016-08-17 11:28:13'),(6411,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039827823638916','2016-08-17 11:28:13'),(6412,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 11:28:13'),(6413,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040249824523926','2016-08-17 11:28:13'),(6414,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039830207824707','2016-08-17 11:28:13'),(6415,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015718936920166','2016-08-17 11:28:16'),(6416,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040459632873535','2016-08-17 11:28:16'),(6417,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062012672424316','2016-08-17 11:28:20'),(6418,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:28:20'),(6419,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:28:20'),(6420,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:28:20'),(6421,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:28:20'),(6422,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:28:20'),(6423,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:28:20'),(6424,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 11:28:20'),(6425,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:28:20'),(6426,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 11:28:20'),(6427,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 11:28:20'),(6428,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:28:20'),(6429,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046529769897461','2016-08-17 11:28:20'),(6430,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043938159942627','2016-08-17 11:28:20'),(6431,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045099258422852','2016-08-17 11:28:20'),(6432,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045051574707031','2016-08-17 11:28:20'),(6433,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044028759002686','2016-08-17 11:28:20'),(6434,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044918060302734','2016-08-17 11:28:20'),(6435,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044729709625244','2016-08-17 11:28:20'),(6436,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045149326324463','2016-08-17 11:28:20'),(6437,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004486083984375','2016-08-17 11:28:20'),(6438,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045089721679688','2016-08-17 11:28:20'),(6439,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043830871582031','2016-08-17 11:28:20'),(6440,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044810771942139','2016-08-17 11:28:20'),(6441,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00060915946960449','2016-08-17 11:31:06'),(6442,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053691864013672','2016-08-17 11:31:06'),(6443,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053691864013672','2016-08-17 11:31:06'),(6444,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051593780517578','2016-08-17 11:31:06'),(6445,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00075292587280273','2016-08-17 11:31:06'),(6446,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042200088500977','2016-08-17 11:31:06'),(6447,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051617622375488','2016-08-17 11:31:06'),(6448,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/new_sale','0.001255989074707','2016-08-17 11:31:17'),(6449,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/new_sale','0.00099897384643555','2016-08-17 11:31:17'),(6450,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.00041294097900391','2016-08-17 11:31:17'),(6451,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.0005030632019043','2016-08-17 11:31:17'),(6452,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011498928070068','2016-08-17 11:31:59'),(6453,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.00099086761474609','2016-08-17 11:31:59'),(6454,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'744\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.0004270076751709','2016-08-17 11:31:59'),(6455,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'744\'','sales/edit_sale','0.00063514709472656','2016-08-17 11:31:59'),(6456,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'744\'','sales/edit_sale','0.00044488906860352','2016-08-17 11:31:59'),(6457,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040006637573242','2016-08-17 11:31:59'),(6458,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050806999206543','2016-08-17 11:31:59'),(6459,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011599063873291','2016-08-17 11:32:06'),(6460,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.0010039806365967','2016-08-17 11:32:06'),(6461,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'744\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00042510032653809','2016-08-17 11:32:06'),(6462,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'744\'','sales/edit_sale','0.00063395500183105','2016-08-17 11:32:06'),(6463,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'744\'','sales/edit_sale','0.00044393539428711','2016-08-17 11:32:06'),(6464,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00041794776916504','2016-08-17 11:32:06'),(6465,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00051093101501465','2016-08-17 11:32:06'),(6466,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0006260871887207','2016-08-17 11:33:54'),(6467,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053095817565918','2016-08-17 11:33:54'),(6468,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052618980407715','2016-08-17 11:33:54'),(6469,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051712989807129','2016-08-17 11:33:54'),(6470,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13839817047119','2016-08-17 11:33:54'),(6471,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043703079223633','2016-08-17 11:33:54'),(6472,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043529987335205','2016-08-17 11:33:54'),(6473,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043715000152588','2016-08-17 11:33:54'),(6474,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.24294900894165','2016-08-17 11:33:54'),(6475,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045013427734375','2016-08-17 11:33:54'),(6476,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051999092102051','2016-08-17 11:33:54'),(6477,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.017717838287354','2016-08-17 11:33:57'),(6478,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:33:57'),(6479,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:33:57'),(6480,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:33:57'),(6481,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:33:57'),(6482,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 11:33:57'),(6483,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:33:57'),(6484,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 11:33:57'),(6485,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:33:57'),(6486,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:33:57'),(6487,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:33:57'),(6488,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:33:57'),(6489,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0010690689086914','2016-08-17 11:33:58'),(6490,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 11:33:58'),(6491,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:33:58'),(6492,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:33:58'),(6493,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:33:58'),(6494,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:33:58'),(6495,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:33:58'),(6496,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 11:33:58'),(6497,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:33:58'),(6498,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:33:58'),(6499,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:33:58'),(6500,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:33:58'),(6501,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058817863464355','2016-08-17 11:34:02'),(6502,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059103965759277','2016-08-17 11:34:03'),(6503,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054121017456055','2016-08-17 11:34:03'),(6504,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:34:03'),(6505,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056815147399902','2016-08-17 11:34:03'),(6506,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:34:03'),(6507,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:34:03'),(6508,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:34:03'),(6509,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:34:03'),(6510,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:34:03'),(6511,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:34:03'),(6512,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:34:03'),(6513,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:34:03'),(6514,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005037784576416','2016-08-17 11:34:03'),(6515,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:34:03'),(6516,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:34:03'),(6517,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:34:03'),(6518,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:34:03'),(6519,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-17 11:34:03'),(6520,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:34:03'),(6521,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:34:03'),(6522,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:34:03'),(6523,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:34:03'),(6524,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:34:03'),(6525,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:34:03'),(6526,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:34:03'),(6527,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:34:03'),(6528,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046896934509277','2016-08-17 11:34:03'),(6529,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046610832214355','2016-08-17 11:34:03'),(6530,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046515464782715','2016-08-17 11:34:03'),(6531,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046491622924805','2016-08-17 11:34:03'),(6532,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046205520629883','2016-08-17 11:34:03'),(6533,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046420097351074','2016-08-17 11:34:03'),(6534,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00041913986206055','2016-08-17 11:34:03'),(6535,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0003969669342041','2016-08-17 11:34:03'),(6536,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00039410591125488','2016-08-17 11:34:03'),(6537,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00038003921508789','2016-08-17 11:34:04'),(6538,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00038909912109375','2016-08-17 11:34:04'),(6539,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.16892504692078','2016-08-17 11:34:09'),(6540,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-17 11:34:09'),(6541,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 11:34:09'),(6542,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:34:09'),(6543,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013628005981445','2016-08-17 11:34:09'),(6544,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 11:34:09'),(6545,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:34:09'),(6546,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 11:34:09'),(6547,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 11:34:09'),(6548,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013678073883057','2016-08-17 11:34:09'),(6549,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 11:34:09'),(6550,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 11:34:09'),(6551,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0016031265258789','2016-08-17 11:34:10'),(6552,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 11:34:10'),(6553,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 11:34:10'),(6554,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 11:34:10'),(6555,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 11:34:10'),(6556,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 11:34:10'),(6557,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 11:34:10'),(6558,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013601779937744','2016-08-17 11:34:10'),(6559,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 11:34:10'),(6560,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 11:34:10'),(6561,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-17 11:34:10'),(6562,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 11:34:10'),(6563,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004741907119751','2016-08-17 11:34:12'),(6564,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040969848632812','2016-08-17 11:34:12'),(6565,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00406813621521','2016-08-17 11:34:12'),(6566,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041959285736084','2016-08-17 11:34:12'),(6567,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-17 11:34:12'),(6568,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-17 11:34:12'),(6569,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040340423583984','2016-08-17 11:34:12'),(6570,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-17 11:34:12'),(6571,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-17 11:34:12'),(6572,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041329860687256','2016-08-17 11:34:12'),(6573,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040750503540039','2016-08-17 11:34:12'),(6574,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040321350097656','2016-08-17 11:34:12'),(6575,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042688846588135','2016-08-17 11:34:13'),(6576,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00406813621521','2016-08-17 11:34:14'),(6577,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041129589080811','2016-08-17 11:34:14'),(6578,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040369033813477','2016-08-17 11:34:14'),(6579,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040709972381592','2016-08-17 11:34:14'),(6580,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 11:34:14'),(6581,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040500164031982','2016-08-17 11:34:14'),(6582,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004025936126709','2016-08-17 11:34:14'),(6583,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040669441223145','2016-08-17 11:34:14'),(6584,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040221214294434','2016-08-17 11:34:14'),(6585,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041158199310303','2016-08-17 11:34:14'),(6586,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-17 11:34:14'),(6587,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015699863433838','2016-08-17 11:34:18'),(6588,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.004065990447998','2016-08-17 11:34:18'),(6589,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00068092346191406','2016-08-17 11:34:22'),(6590,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:34:22'),(6591,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:34:22'),(6592,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:34:22'),(6593,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:34:22'),(6594,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:34:22'),(6595,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:34:22'),(6596,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 11:34:22'),(6597,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:34:22'),(6598,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:34:22'),(6599,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 11:34:22'),(6600,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:34:22'),(6601,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046439170837402','2016-08-17 11:34:22'),(6602,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044429302215576','2016-08-17 11:34:22'),(6603,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044350624084473','2016-08-17 11:34:22'),(6604,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044288635253906','2016-08-17 11:34:22'),(6605,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044510364532471','2016-08-17 11:34:22'),(6606,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045030117034912','2016-08-17 11:34:22'),(6607,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044858455657959','2016-08-17 11:34:22'),(6608,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043888092041016','2016-08-17 11:34:22'),(6609,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044820308685303','2016-08-17 11:34:22'),(6610,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044791698455811','2016-08-17 11:34:22'),(6611,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044629573822021','2016-08-17 11:34:22'),(6612,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044050216674805','2016-08-17 11:34:22'),(6613,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013880729675293','2016-08-17 11:34:55'),(6614,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012609958648682','2016-08-17 11:34:55'),(6615,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001237154006958','2016-08-17 11:34:55'),(6616,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012359619140625','2016-08-17 11:34:55'),(6617,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021240711212158','2016-08-17 11:34:55'),(6618,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00040602684020996','2016-08-17 11:34:55'),(6619,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-17 11:34:55'),(6620,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.001924991607666','2016-08-17 11:34:58'),(6621,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010819435119629','2016-08-17 11:34:58'),(6622,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00044012069702148','2016-08-17 11:34:58'),(6623,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051307678222656','2016-08-17 11:34:58'),(6624,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0006260871887207','2016-08-17 11:36:46'),(6625,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005340576171875','2016-08-17 11:36:46'),(6626,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051999092102051','2016-08-17 11:36:46'),(6627,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 11:36:46'),(6628,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10645818710327','2016-08-17 11:36:46'),(6629,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043901920318604','2016-08-17 11:36:46'),(6630,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043508052825928','2016-08-17 11:36:46'),(6631,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043961048126221','2016-08-17 11:36:46'),(6632,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.33346199989319','2016-08-17 11:36:46'),(6633,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00044608116149902','2016-08-17 11:36:46'),(6634,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052094459533691','2016-08-17 11:36:46'),(6635,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.019418001174927','2016-08-17 11:36:53'),(6636,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:36:53'),(6637,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:36:54'),(6638,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:36:54'),(6639,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 11:36:54'),(6640,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:36:54'),(6641,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:36:54'),(6642,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 11:36:54'),(6643,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:36:54'),(6644,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:36:54'),(6645,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:36:54'),(6646,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:36:54'),(6647,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063300132751465','2016-08-17 11:36:55'),(6648,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:36:55'),(6649,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:36:55'),(6650,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:36:55'),(6651,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:36:55'),(6652,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:36:56'),(6653,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:36:56'),(6654,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:36:56'),(6655,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:36:56'),(6656,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:36:56'),(6657,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:36:56'),(6658,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:36:56'),(6659,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059008598327637','2016-08-17 11:37:00'),(6660,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058102607727051','2016-08-17 11:37:02'),(6661,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 11:37:02'),(6662,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:37:02'),(6663,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:37:02'),(6664,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:37:02'),(6665,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:37:03'),(6666,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:37:03'),(6667,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:37:03'),(6668,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:37:03'),(6669,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:37:03'),(6670,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:37:03'),(6671,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051522254943848','2016-08-17 11:37:03'),(6672,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 11:37:03'),(6673,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.047131061553955','2016-08-17 11:37:09'),(6674,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013909339904785','2016-08-17 11:37:09'),(6675,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 11:37:09'),(6676,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 11:37:09'),(6677,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013191699981689','2016-08-17 11:37:09'),(6678,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 11:37:09'),(6679,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 11:37:09'),(6680,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013601779937744','2016-08-17 11:37:09'),(6681,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 11:37:09'),(6682,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 11:37:09'),(6683,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 11:37:09'),(6684,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 11:37:09'),(6685,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0016160011291504','2016-08-17 11:37:10'),(6686,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013918876647949','2016-08-17 11:37:10'),(6687,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014138221740723','2016-08-17 11:37:10'),(6688,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 11:37:10'),(6689,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014030933380127','2016-08-17 11:37:10'),(6690,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013868808746338','2016-08-17 11:37:10'),(6691,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:37:11'),(6692,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013878345489502','2016-08-17 11:37:11'),(6693,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014028549194336','2016-08-17 11:37:11'),(6694,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 11:37:11'),(6695,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 11:37:11'),(6696,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 11:37:11'),(6697,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043749809265137','2016-08-17 11:37:14'),(6698,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041689872741699','2016-08-17 11:37:14'),(6699,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041890144348145','2016-08-17 11:37:14'),(6700,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042581558227539','2016-08-17 11:37:14'),(6701,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041508674621582','2016-08-17 11:37:14'),(6702,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042359828948975','2016-08-17 11:37:14'),(6703,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041558742523193','2016-08-17 11:37:14'),(6704,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041999816894531','2016-08-17 11:37:14'),(6705,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041518211364746','2016-08-17 11:37:14'),(6706,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041599273681641','2016-08-17 11:37:14'),(6707,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042378902435303','2016-08-17 11:37:14'),(6708,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042040348052979','2016-08-17 11:37:14'),(6709,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042800903320312','2016-08-17 11:37:15'),(6710,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040631294250488','2016-08-17 11:37:16'),(6711,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040340423583984','2016-08-17 11:37:16'),(6712,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 11:37:16'),(6713,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 11:37:16'),(6714,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-17 11:37:16'),(6715,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040779113769531','2016-08-17 11:37:16'),(6716,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 11:37:16'),(6717,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 11:37:16'),(6718,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 11:37:16'),(6719,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040631294250488','2016-08-17 11:37:16'),(6720,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040287971496582','2016-08-17 11:37:16'),(6721,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.022974014282227','2016-08-17 11:37:21'),(6722,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053596496582031','2016-08-17 11:37:21'),(6723,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00052809715270996','2016-08-17 11:37:21'),(6724,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051784515380859','2016-08-17 11:37:21'),(6725,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00073504447937012','2016-08-17 11:37:21'),(6726,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042104721069336','2016-08-17 11:37:21'),(6727,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00052404403686523','2016-08-17 11:37:21'),(6728,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0190749168396','2016-08-17 11:37:29'),(6729,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041959285736084','2016-08-17 11:37:29'),(6730,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063014030456543','2016-08-17 11:37:37'),(6731,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:37:37'),(6732,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:37:37'),(6733,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:37:37'),(6734,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:37:37'),(6735,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:37:37'),(6736,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:37:37'),(6737,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 11:37:37'),(6738,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:37:37'),(6739,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 11:37:37'),(6740,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:37:37'),(6741,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 11:37:37'),(6742,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044889450073242','2016-08-17 11:37:37'),(6743,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004371166229248','2016-08-17 11:37:37'),(6744,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043439865112305','2016-08-17 11:37:37'),(6745,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043201446533203','2016-08-17 11:37:37'),(6746,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043420791625977','2016-08-17 11:37:37'),(6747,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043208599090576','2016-08-17 11:37:37'),(6748,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004317045211792','2016-08-17 11:37:37'),(6749,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043330192565918','2016-08-17 11:37:37'),(6750,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004392147064209','2016-08-17 11:37:37'),(6751,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00058794021606445','2016-08-17 11:37:37'),(6752,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043289661407471','2016-08-17 11:37:37'),(6753,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053596496582031','2016-08-17 11:37:37'),(6754,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043289661407471','2016-08-17 11:37:37'),(6755,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.0005190372467041','2016-08-17 11:37:37'),(6756,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043039321899414','2016-08-17 11:37:37'),(6757,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051498413085938','2016-08-17 11:37:37'),(6758,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00072193145751953','2016-08-17 11:37:37'),(6759,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00043201446533203','2016-08-17 11:37:37'),(6760,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051403045654297','2016-08-17 11:37:37'),(6761,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00062108039855957','2016-08-17 11:38:35'),(6762,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052809715270996','2016-08-17 11:38:35'),(6763,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052499771118164','2016-08-17 11:38:35'),(6764,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051593780517578','2016-08-17 11:38:35'),(6765,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043828010559082','2016-08-17 11:38:35'),(6766,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043715953826904','2016-08-17 11:38:35'),(6767,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043528079986572','2016-08-17 11:38:35'),(6768,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042724847793579','2016-08-17 11:38:35'),(6769,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.0092630386352539','2016-08-17 11:38:35'),(6770,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0003359317779541','2016-08-17 11:38:35'),(6771,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00040388107299805','2016-08-17 11:38:35'),(6772,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062990188598633','2016-08-17 11:38:41'),(6773,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:38:41'),(6774,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 11:38:41'),(6775,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:38:41'),(6776,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:38:41'),(6777,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:38:41'),(6778,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:38:41'),(6779,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-17 11:38:41'),(6780,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:38:41'),(6781,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:38:41'),(6782,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:38:41'),(6783,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:38:41'),(6784,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 11:38:42'),(6785,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:38:42'),(6786,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:38:42'),(6787,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:38:42'),(6788,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:38:42'),(6789,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:38:42'),(6790,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:38:42'),(6791,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:38:42'),(6792,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:38:42'),(6793,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:38:42'),(6794,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 11:38:42'),(6795,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:38:42'),(6796,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059103965759277','2016-08-17 11:38:45'),(6797,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00056219100952148','2016-08-17 11:38:46'),(6798,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 11:38:46'),(6799,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:38:46'),(6800,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:38:46'),(6801,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:38:46'),(6802,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:38:46'),(6803,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:38:46'),(6804,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 11:38:46'),(6805,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:38:46'),(6806,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:38:46'),(6807,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:38:46'),(6808,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:38:46'),(6809,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:38:46'),(6810,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:38:46'),(6811,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:38:46'),(6812,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:38:47'),(6813,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:38:47'),(6814,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:38:47'),(6815,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:38:47'),(6816,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:38:47'),(6817,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:38:47'),(6818,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:38:47'),(6819,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 11:38:47'),(6820,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:38:47'),(6821,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:38:47'),(6822,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051522254943848','2016-08-17 11:38:47'),(6823,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 11:38:47'),(6824,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 11:38:47'),(6825,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:38:47'),(6826,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:38:47'),(6827,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:38:47'),(6828,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:38:47'),(6829,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:38:47'),(6830,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:38:47'),(6831,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:38:47'),(6832,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 11:38:47'),(6833,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:38:47'),(6834,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015649795532227','2016-08-17 11:38:51'),(6835,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 11:38:51'),(6836,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:38:51'),(6837,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 11:38:51'),(6838,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 11:38:51'),(6839,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 11:38:51'),(6840,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:38:51'),(6841,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:38:51'),(6842,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013701915740967','2016-08-17 11:38:51'),(6843,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 11:38:51'),(6844,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-17 11:38:51'),(6845,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 11:38:51'),(6846,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0016660690307617','2016-08-17 11:38:53'),(6847,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001392126083374','2016-08-17 11:38:53'),(6848,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013852119445801','2016-08-17 11:38:53'),(6849,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-17 11:38:53'),(6850,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:38:53'),(6851,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 11:38:53'),(6852,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 11:38:53'),(6853,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 11:38:53'),(6854,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 11:38:53'),(6855,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 11:38:53'),(6856,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 11:38:53'),(6857,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-17 11:38:53'),(6858,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042259693145752','2016-08-17 11:38:55'),(6859,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040719509124756','2016-08-17 11:38:55'),(6860,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040271282196045','2016-08-17 11:38:55'),(6861,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040240287780762','2016-08-17 11:38:55'),(6862,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-17 11:38:55'),(6863,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040431022644043','2016-08-17 11:38:56'),(6864,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040349960327148','2016-08-17 11:38:56'),(6865,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004080057144165','2016-08-17 11:38:56'),(6866,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-17 11:38:56'),(6867,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040168762207031','2016-08-17 11:38:56'),(6868,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040361881256104','2016-08-17 11:38:56'),(6869,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003986120223999','2016-08-17 11:38:56'),(6870,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064992904663086','2016-08-17 11:38:57'),(6871,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-17 11:38:57'),(6872,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052094459533691','2016-08-17 11:38:57'),(6873,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 11:38:57'),(6874,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10391020774841','2016-08-17 11:38:57'),(6875,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043849945068359','2016-08-17 11:38:57'),(6876,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043853044509888','2016-08-17 11:38:57'),(6877,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042989253997803','2016-08-17 11:38:57'),(6878,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043833017349243','2016-08-17 11:38:57'),(6879,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040979385375977','2016-08-17 11:38:57'),(6880,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.17012190818787','2016-08-17 11:38:57'),(6881,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040481090545654','2016-08-17 11:38:57'),(6882,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049805641174316','2016-08-17 11:38:57'),(6883,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041680335998535','2016-08-17 11:38:57'),(6884,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051498413085938','2016-08-17 11:38:57'),(6885,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041170120239258','2016-08-17 11:38:57'),(6886,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-17 11:38:57'),(6887,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040419101715088','2016-08-17 11:38:57'),(6888,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004094123840332','2016-08-17 11:38:57'),(6889,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-17 11:38:57'),(6890,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-17 11:38:57'),(6891,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040690898895264','2016-08-17 11:38:57'),(6892,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039730072021484','2016-08-17 11:38:57'),(6893,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.024317979812622','2016-08-17 11:39:00'),(6894,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0047218799591064','2016-08-17 11:39:00'),(6895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062203407287598','2016-08-17 11:39:00'),(6896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 11:39:00'),(6897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:39:00'),(6898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 11:39:00'),(6899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:39:00'),(6900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 11:39:00'),(6901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:39:00'),(6902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 11:39:00'),(6903,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-17 11:39:00'),(6904,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 11:39:00'),(6905,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:39:00'),(6906,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:39:00'),(6907,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062084197998047','2016-08-17 11:39:02'),(6908,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:39:02'),(6909,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:39:02'),(6910,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:39:02'),(6911,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:39:02'),(6912,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:39:02'),(6913,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:39:02'),(6914,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:39:02'),(6915,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:39:02'),(6916,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:39:02'),(6917,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:39:02'),(6918,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:39:02'),(6919,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062704086303711','2016-08-17 11:39:04'),(6920,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:39:04'),(6921,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:39:04'),(6922,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:39:04'),(6923,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:39:04'),(6924,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:39:04'),(6925,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 11:39:04'),(6926,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 11:39:04'),(6927,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:39:04'),(6928,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:39:04'),(6929,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:39:05'),(6930,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:39:05'),(6931,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046179294586182','2016-08-17 11:39:05'),(6932,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045161247253418','2016-08-17 11:39:05'),(6933,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044939517974854','2016-08-17 11:39:05'),(6934,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045080184936523','2016-08-17 11:39:05'),(6935,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044989585876465','2016-08-17 11:39:05'),(6936,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045080184936523','2016-08-17 11:39:05'),(6937,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044920444488525','2016-08-17 11:39:05'),(6938,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044999122619629','2016-08-17 11:39:05'),(6939,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044200420379639','2016-08-17 11:39:05'),(6940,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044088363647461','2016-08-17 11:39:05'),(6941,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044369697570801','2016-08-17 11:39:05'),(6942,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004443883895874','2016-08-17 11:39:05'),(6943,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0005638599395752','2016-08-17 11:39:05'),(6944,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058102607727051','2016-08-17 11:39:06'),(6945,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 11:39:06'),(6946,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:39:06'),(6947,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 11:39:06'),(6948,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:39:06'),(6949,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:39:06'),(6950,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:39:06'),(6951,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:39:06'),(6952,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:39:06'),(6953,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:39:06'),(6954,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:39:06'),(6955,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:39:06'),(6956,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005028247833252','2016-08-17 11:39:06'),(6957,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015969276428223','2016-08-17 11:39:10'),(6958,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 11:39:10'),(6959,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 11:39:10'),(6960,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 11:39:10'),(6961,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 11:39:10'),(6962,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 11:39:10'),(6963,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-17 11:39:10'),(6964,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 11:39:10'),(6965,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 11:39:10'),(6966,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 11:39:10'),(6967,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013358592987061','2016-08-17 11:39:10'),(6968,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 11:39:10'),(6969,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015411376953125','2016-08-17 11:39:13'),(6970,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 11:39:13'),(6971,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:39:13'),(6972,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 11:39:13'),(6973,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 11:39:13'),(6974,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 11:39:13'),(6975,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 11:39:13'),(6976,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013551712036133','2016-08-17 11:39:13'),(6977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-17 11:39:13'),(6978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 11:39:13'),(6979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013878345489502','2016-08-17 11:39:13'),(6980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 11:39:13'),(6981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042519569396973','2016-08-17 11:39:17'),(6982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040488243103027','2016-08-17 11:39:17'),(6983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-17 11:39:17'),(6984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-17 11:39:17'),(6985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004115104675293','2016-08-17 11:39:17'),(6986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 11:39:17'),(6987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041561126708984','2016-08-17 11:39:17'),(6988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040750503540039','2016-08-17 11:39:17'),(6989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041239261627197','2016-08-17 11:39:17'),(6990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040769577026367','2016-08-17 11:39:17'),(6991,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 11:39:17'),(6992,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040581226348877','2016-08-17 11:39:17'),(6993,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042250156402588','2016-08-17 11:39:19'),(6994,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004044771194458','2016-08-17 11:39:19'),(6995,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040500164031982','2016-08-17 11:39:19'),(6996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041179656982422','2016-08-17 11:39:19'),(6997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041208267211914','2016-08-17 11:39:19'),(6998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040340423583984','2016-08-17 11:39:19'),(6999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 11:39:19'),(7000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-17 11:39:19'),(7001,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 11:39:19'),(7002,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041050910949707','2016-08-17 11:39:19'),(7003,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041279792785645','2016-08-17 11:39:19'),(7004,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040647983551025','2016-08-17 11:39:19'),(7005,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015568733215332','2016-08-17 11:39:24'),(7006,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041298866271973','2016-08-17 11:39:24'),(7007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061702728271484','2016-08-17 11:39:31'),(7008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 11:39:32'),(7009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:39:32'),(7010,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:39:32'),(7011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:39:32'),(7012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:39:32'),(7013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:39:32'),(7014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053119659423828','2016-08-17 11:39:32'),(7015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:39:32'),(7016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:39:32'),(7017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:39:32'),(7018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:39:32'),(7019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046119689941406','2016-08-17 11:39:32'),(7020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045320987701416','2016-08-17 11:39:32'),(7021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045299530029297','2016-08-17 11:39:32'),(7022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045509338378906','2016-08-17 11:39:32'),(7023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045299530029297','2016-08-17 11:39:32'),(7024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044150352478027','2016-08-17 11:39:32'),(7025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004547119140625','2016-08-17 11:39:32'),(7026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045309066772461','2016-08-17 11:39:32'),(7027,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045158863067627','2016-08-17 11:39:32'),(7028,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045461654663086','2016-08-17 11:39:32'),(7029,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044560432434082','2016-08-17 11:39:32'),(7030,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045449733734131','2016-08-17 11:39:32'),(7031,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062799453735352','2016-08-17 11:39:52'),(7032,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052690505981445','2016-08-17 11:39:52'),(7033,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052285194396973','2016-08-17 11:39:52'),(7034,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 11:39:52'),(7035,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.17869806289673','2016-08-17 11:39:52'),(7036,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043475866317749','2016-08-17 11:39:52'),(7037,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043435096740723','2016-08-17 11:39:52'),(7038,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.04355788230896','2016-08-17 11:39:52'),(7039,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.10044384002686','2016-08-17 11:39:52'),(7040,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00044417381286621','2016-08-17 11:39:52'),(7041,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051307678222656','2016-08-17 11:39:52'),(7042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.017922163009644','2016-08-17 11:39:55'),(7043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:39:55'),(7044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:39:55'),(7045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:39:56'),(7046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:39:56'),(7047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:39:56'),(7048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:39:56'),(7049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057601928710938','2016-08-17 11:39:56'),(7050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:39:56'),(7051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:39:56'),(7052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:39:56'),(7053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:39:56'),(7054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-17 11:39:57'),(7055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:39:57'),(7056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:39:57'),(7057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:39:57'),(7058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:39:57'),(7059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 11:39:57'),(7060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:39:57'),(7061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:39:57'),(7062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:39:57'),(7063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:39:57'),(7064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:39:57'),(7065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:39:57'),(7066,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058889389038086','2016-08-17 11:40:00'),(7067,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058388710021973','2016-08-17 11:40:02'),(7068,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:40:02'),(7069,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:40:02'),(7070,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005028247833252','2016-08-17 11:40:02'),(7071,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:02'),(7072,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051522254943848','2016-08-17 11:40:02'),(7073,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:02'),(7074,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:40:02'),(7075,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:40:02'),(7076,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:40:02'),(7077,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:40:02'),(7078,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:40:02'),(7079,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 11:40:02'),(7080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.15073204040527','2016-08-17 11:40:10'),(7081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013902187347412','2016-08-17 11:40:10'),(7082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:40:10'),(7083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 11:40:10'),(7084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 11:40:10'),(7085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014128684997559','2016-08-17 11:40:10'),(7086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013477802276611','2016-08-17 11:40:10'),(7087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013577938079834','2016-08-17 11:40:10'),(7088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 11:40:10'),(7089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 11:40:10'),(7090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 11:40:10'),(7091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-17 11:40:10'),(7092,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015771389007568','2016-08-17 11:40:11'),(7093,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:40:11'),(7094,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014269351959229','2016-08-17 11:40:11'),(7095,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013728141784668','2016-08-17 11:40:11'),(7096,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:40:11'),(7097,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 11:40:11'),(7098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 11:40:11'),(7099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013771057128906','2016-08-17 11:40:11'),(7100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014159679412842','2016-08-17 11:40:11'),(7101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 11:40:11'),(7102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013418197631836','2016-08-17 11:40:11'),(7103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-17 11:40:11'),(7104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044639110565186','2016-08-17 11:40:13'),(7105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041201114654541','2016-08-17 11:40:13'),(7106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041909217834473','2016-08-17 11:40:13'),(7107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041890144348145','2016-08-17 11:40:13'),(7108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042810440063477','2016-08-17 11:40:13'),(7109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041079521179199','2016-08-17 11:40:13'),(7110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041680335998535','2016-08-17 11:40:13'),(7111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042111873626709','2016-08-17 11:40:13'),(7112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041928291320801','2016-08-17 11:40:13'),(7113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041561126708984','2016-08-17 11:40:14'),(7114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004209041595459','2016-08-17 11:40:14'),(7115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041940212249756','2016-08-17 11:40:14'),(7116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042550563812256','2016-08-17 11:40:15'),(7117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040638446807861','2016-08-17 11:40:15'),(7118,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041260719299316','2016-08-17 11:40:15'),(7119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040969848632812','2016-08-17 11:40:15'),(7120,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041639804840088','2016-08-17 11:40:15'),(7121,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 11:40:15'),(7122,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 11:40:15'),(7123,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041601657867432','2016-08-17 11:40:15'),(7124,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004115104675293','2016-08-17 11:40:15'),(7125,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040900707244873','2016-08-17 11:40:15'),(7126,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041220188140869','2016-08-17 11:40:15'),(7127,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040900707244873','2016-08-17 11:40:15'),(7128,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015439987182617','2016-08-17 11:40:20'),(7129,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 11:40:20'),(7130,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00061798095703125','2016-08-17 11:40:28'),(7131,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052905082702637','2016-08-17 11:40:28'),(7132,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005180835723877','2016-08-17 11:40:28'),(7133,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051188468933105','2016-08-17 11:40:28'),(7134,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00077414512634277','2016-08-17 11:40:28'),(7135,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 11:40:28'),(7136,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042510032653809','2016-08-17 11:40:28'),(7137,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 11:40:28'),(7138,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051188468933105','2016-08-17 11:40:28'),(7139,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:40:28'),(7140,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:40:28'),(7141,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:40:28'),(7142,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:28'),(7143,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:40:28'),(7144,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 11:40:28'),(7145,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:40:28'),(7146,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 11:40:28'),(7147,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:40:28'),(7148,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:40:28'),(7149,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044589042663574','2016-08-17 11:40:29'),(7150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044400691986084','2016-08-17 11:40:29'),(7151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043981075286865','2016-08-17 11:40:29'),(7152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043349266052246','2016-08-17 11:40:29'),(7153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044419765472412','2016-08-17 11:40:29'),(7154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043799877166748','2016-08-17 11:40:29'),(7155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043749809265137','2016-08-17 11:40:29'),(7156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043799877166748','2016-08-17 11:40:29'),(7157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043299198150635','2016-08-17 11:40:29'),(7158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004356861114502','2016-08-17 11:40:29'),(7159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043618679046631','2016-08-17 11:40:29'),(7160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043308734893799','2016-08-17 11:40:29'),(7161,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00061202049255371','2016-08-17 11:40:46'),(7162,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052499771118164','2016-08-17 11:40:46'),(7163,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052118301391602','2016-08-17 11:40:46'),(7164,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051307678222656','2016-08-17 11:40:46'),(7165,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.15195298194885','2016-08-17 11:40:46'),(7166,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043777942657471','2016-08-17 11:40:46'),(7167,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043455123901367','2016-08-17 11:40:46'),(7168,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.04361891746521','2016-08-17 11:40:46'),(7169,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.096663951873779','2016-08-17 11:40:46'),(7170,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00043487548828125','2016-08-17 11:40:46'),(7171,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051307678222656','2016-08-17 11:40:46'),(7172,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00066208839416504','2016-08-17 11:40:50'),(7173,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:40:51'),(7174,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 11:40:51'),(7175,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:40:51'),(7176,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:40:51'),(7177,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 11:40:51'),(7178,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:40:51'),(7179,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 11:40:51'),(7180,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:40:51'),(7181,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:40:51'),(7182,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050520896911621','2016-08-17 11:40:51'),(7183,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:40:51'),(7184,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062918663024902','2016-08-17 11:40:53'),(7185,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:53'),(7186,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:40:53'),(7187,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:40:53'),(7188,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:40:54'),(7189,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:40:54'),(7190,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:40:54'),(7191,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 11:40:54'),(7192,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:40:54'),(7193,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 11:40:54'),(7194,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 11:40:54'),(7195,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:40:54'),(7196,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058484077453613','2016-08-17 11:40:57'),(7197,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 11:40:58'),(7198,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 11:40:58'),(7199,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:40:58'),(7200,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:40:58'),(7201,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:40:58'),(7202,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:40:58'),(7203,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:40:58'),(7204,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:40:58'),(7205,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:40:58'),(7206,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:58'),(7207,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:58'),(7208,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:40:58'),(7209,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 11:40:58'),(7210,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 11:40:58'),(7211,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 11:40:58'),(7212,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:40:58'),(7213,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 11:40:58'),(7214,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:40:58'),(7215,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:58'),(7216,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:40:58'),(7217,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053119659423828','2016-08-17 11:40:58'),(7218,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 11:40:58'),(7219,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 11:40:58'),(7220,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:40:58'),(7221,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:58'),(7222,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:40:58'),(7223,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 11:40:58'),(7224,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:40:58'),(7225,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:40:58'),(7226,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:40:58'),(7227,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:40:58'),(7228,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005347728729248','2016-08-17 11:40:58'),(7229,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:40:58'),(7230,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:40:58'),(7231,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:40:58'),(7232,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 11:40:58'),(7233,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047707557678223','2016-08-17 11:40:58'),(7234,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.038192987442017','2016-08-17 11:41:02'),(7235,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001384973526001','2016-08-17 11:41:02'),(7236,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014009475708008','2016-08-17 11:41:02'),(7237,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013928413391113','2016-08-17 11:41:02'),(7238,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 11:41:02'),(7239,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 11:41:02'),(7240,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 11:41:02'),(7241,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 11:41:02'),(7242,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 11:41:02'),(7243,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 11:41:02'),(7244,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 11:41:02'),(7245,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 11:41:02'),(7246,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015749931335449','2016-08-17 11:41:04'),(7247,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-17 11:41:04'),(7248,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-17 11:41:04'),(7249,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 11:41:04'),(7250,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013718605041504','2016-08-17 11:41:04'),(7251,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 11:41:04'),(7252,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 11:41:04'),(7253,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 11:41:04'),(7254,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013751983642578','2016-08-17 11:41:04'),(7255,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 11:41:04'),(7256,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 11:41:04'),(7257,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013301372528076','2016-08-17 11:41:04'),(7258,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0095880031585693','2016-08-17 11:41:06'),(7259,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041449069976807','2016-08-17 11:41:06'),(7260,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040688514709473','2016-08-17 11:41:06'),(7261,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040829181671143','2016-08-17 11:41:06'),(7262,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040750503540039','2016-08-17 11:41:06'),(7263,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004054069519043','2016-08-17 11:41:06'),(7264,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 11:41:06'),(7265,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041429996490479','2016-08-17 11:41:06'),(7266,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040860176086426','2016-08-17 11:41:06'),(7267,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041229724884033','2016-08-17 11:41:06'),(7268,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041298866271973','2016-08-17 11:41:06'),(7269,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040779113769531','2016-08-17 11:41:06'),(7270,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042879581451416','2016-08-17 11:41:07'),(7271,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 11:41:07'),(7272,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004101037979126','2016-08-17 11:41:07'),(7273,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004061222076416','2016-08-17 11:41:07'),(7274,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040340423583984','2016-08-17 11:41:07'),(7275,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-17 11:41:07'),(7276,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 11:41:07'),(7277,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041029453277588','2016-08-17 11:41:07'),(7278,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040268898010254','2016-08-17 11:41:07'),(7279,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040338039398193','2016-08-17 11:41:07'),(7280,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-17 11:41:07'),(7281,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040221214294434','2016-08-17 11:41:07'),(7282,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.01343297958374','2016-08-17 11:41:08'),(7283,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012919902801514','2016-08-17 11:41:08'),(7284,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.001251220703125','2016-08-17 11:41:08'),(7285,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012750625610352','2016-08-17 11:41:08'),(7286,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.026741981506348','2016-08-17 11:41:09'),(7287,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004270076751709','2016-08-17 11:41:09'),(7288,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00051498413085938','2016-08-17 11:41:09'),(7289,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0016398429870605','2016-08-17 11:41:10'),(7290,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041530132293701','2016-08-17 11:41:11'),(7291,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00059294700622559','2016-08-17 11:41:17'),(7292,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:41:17'),(7293,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:41:17'),(7294,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00064897537231445','2016-08-17 11:41:17'),(7295,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012879371643066','2016-08-17 11:41:17'),(7296,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 11:41:17'),(7297,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012660026550293','2016-08-17 11:41:17'),(7298,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 11:41:17'),(7299,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012290477752686','2016-08-17 11:41:17'),(7300,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-17 11:41:17'),(7301,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012290477752686','2016-08-17 11:41:17'),(7302,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 11:41:17'),(7303,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021388530731201','2016-08-17 11:41:17'),(7304,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 11:41:17'),(7305,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042605400085449','2016-08-17 11:41:17'),(7306,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00048303604125977','2016-08-17 11:41:17'),(7307,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 11:41:17'),(7308,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047802925109863','2016-08-17 11:41:17'),(7309,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046896934509277','2016-08-17 11:41:17'),(7310,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045599937438965','2016-08-17 11:41:17'),(7311,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043637752532959','2016-08-17 11:41:17'),(7312,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043900012969971','2016-08-17 11:41:17'),(7313,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043079853057861','2016-08-17 11:41:17'),(7314,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042920112609863','2016-08-17 11:41:17'),(7315,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043590068817139','2016-08-17 11:41:17'),(7316,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043790340423584','2016-08-17 11:41:17'),(7317,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043890476226807','2016-08-17 11:41:17'),(7318,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043821334838867','2016-08-17 11:41:17'),(7319,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043790340423584','2016-08-17 11:41:17'),(7320,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043280124664307','2016-08-17 11:41:17'),(7321,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043168067932129','2016-08-17 11:41:17'),(7322,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'\nGROUP BY `b`.`journalID`','transfer/index','0.010114908218384','2016-08-17 11:41:33'),(7323,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','transfer/index','0.0010359287261963','2016-08-17 11:41:33'),(7324,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','transfer/index','0.0004270076751709','2016-08-17 11:41:33'),(7325,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','transfer/index','0.00050783157348633','2016-08-17 11:41:33'),(7326,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00062799453735352','2016-08-17 11:42:08'),(7327,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052809715270996','2016-08-17 11:42:08'),(7328,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051999092102051','2016-08-17 11:42:08'),(7329,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051188468933105','2016-08-17 11:42:08'),(7330,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.0007781982421875','2016-08-17 11:42:08'),(7331,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041985511779785','2016-08-17 11:42:08'),(7332,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050997734069824','2016-08-17 11:42:08'),(7333,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00057411193847656','2016-08-17 11:42:09'),(7334,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00049591064453125','2016-08-17 11:42:09'),(7335,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00047707557678223','2016-08-17 11:42:09'),(7336,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00046706199645996','2016-08-17 11:42:09'),(7337,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00070500373840332','2016-08-17 11:42:09'),(7338,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00037193298339844','2016-08-17 11:42:09'),(7339,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00045895576477051','2016-08-17 11:42:09'),(7340,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063014030456543','2016-08-17 11:42:16'),(7341,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053715705871582','2016-08-17 11:42:16'),(7342,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052785873413086','2016-08-17 11:42:16'),(7343,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051689147949219','2016-08-17 11:42:16'),(7344,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.15983200073242','2016-08-17 11:42:16'),(7345,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043788194656372','2016-08-17 11:42:16'),(7346,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043591976165771','2016-08-17 11:42:16'),(7347,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043734073638916','2016-08-17 11:42:16'),(7348,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.23006892204285','2016-08-17 11:42:16'),(7349,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00051403045654297','2016-08-17 11:42:16'),(7350,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052189826965332','2016-08-17 11:42:16'),(7351,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066995620727539','2016-08-17 11:42:20'),(7352,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:42:20'),(7353,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:42:20'),(7354,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-17 11:42:20'),(7355,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:42:20'),(7356,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:42:20'),(7357,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:42:20'),(7358,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-17 11:42:20'),(7359,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:42:20'),(7360,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:42:20'),(7361,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:42:20'),(7362,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:42:20'),(7363,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063085556030273','2016-08-17 11:42:23'),(7364,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:42:23'),(7365,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:42:23'),(7366,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:42:23'),(7367,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:42:23'),(7368,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:42:23'),(7369,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:42:23'),(7370,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:42:23'),(7371,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:42:23'),(7372,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 11:42:23'),(7373,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:42:23'),(7374,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 11:42:23'),(7375,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059199333190918','2016-08-17 11:42:27'),(7376,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059890747070312','2016-08-17 11:42:31'),(7377,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 11:42:31'),(7378,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:42:31'),(7379,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:42:31'),(7380,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:42:31'),(7381,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:42:31'),(7382,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 11:42:31'),(7383,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:42:31'),(7384,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:42:31'),(7385,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:42:31'),(7386,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:42:31'),(7387,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:42:31'),(7388,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:42:31'),(7389,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.027845144271851','2016-08-17 11:42:35'),(7390,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014591217041016','2016-08-17 11:42:35'),(7391,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014429092407227','2016-08-17 11:42:35'),(7392,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013818740844727','2016-08-17 11:42:35'),(7393,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-17 11:42:35'),(7394,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 11:42:35'),(7395,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013811588287354','2016-08-17 11:42:35'),(7396,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 11:42:35'),(7397,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 11:42:35'),(7398,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 11:42:35'),(7399,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 11:42:35'),(7400,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 11:42:35'),(7401,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00057196617126465','2016-08-17 11:42:36'),(7402,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051999092102051','2016-08-17 11:42:36'),(7403,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051593780517578','2016-08-17 11:42:36'),(7404,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051307678222656','2016-08-17 11:42:36'),(7405,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00072598457336426','2016-08-17 11:42:36'),(7406,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0086638927459717','2016-08-17 11:42:36'),(7407,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.0016579627990723','2016-08-17 11:42:37'),(7408,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015649795532227','2016-08-17 11:42:37'),(7409,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-17 11:42:37'),(7410,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013799667358398','2016-08-17 11:42:37'),(7411,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013718605041504','2016-08-17 11:42:37'),(7412,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-17 11:42:37'),(7413,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 11:42:37'),(7414,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 11:42:37'),(7415,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 11:42:37'),(7416,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013818740844727','2016-08-17 11:42:37'),(7417,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 11:42:37'),(7418,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:42:37'),(7419,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 11:42:37'),(7420,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043148994445801','2016-08-17 11:42:39'),(7421,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041379928588867','2016-08-17 11:42:39'),(7422,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041098594665527','2016-08-17 11:42:39'),(7423,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041139125823975','2016-08-17 11:42:39'),(7424,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041358470916748','2016-08-17 11:42:39'),(7425,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040960311889648','2016-08-17 11:42:39'),(7426,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040988922119141','2016-08-17 11:42:39'),(7427,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041530132293701','2016-08-17 11:42:39'),(7428,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041110515594482','2016-08-17 11:42:39'),(7429,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004094123840332','2016-08-17 11:42:39'),(7430,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041217803955078','2016-08-17 11:42:39'),(7431,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040788650512695','2016-08-17 11:42:39'),(7432,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044798851013184','2016-08-17 11:42:41'),(7433,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042757987976074','2016-08-17 11:42:41'),(7434,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042431354522705','2016-08-17 11:42:41'),(7435,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041899681091309','2016-08-17 11:42:41'),(7436,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042438507080078','2016-08-17 11:42:41'),(7437,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041670799255371','2016-08-17 11:42:41'),(7438,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042119026184082','2016-08-17 11:42:41'),(7439,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042061805725098','2016-08-17 11:42:41'),(7440,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041890144348145','2016-08-17 11:42:41'),(7441,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042481422424316','2016-08-17 11:42:41'),(7442,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041840076446533','2016-08-17 11:42:41'),(7443,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041739940643311','2016-08-17 11:42:41'),(7444,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015981197357178','2016-08-17 11:42:46'),(7445,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0042099952697754','2016-08-17 11:42:46'),(7446,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066709518432617','2016-08-17 11:42:50'),(7447,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:42:50'),(7448,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:42:50'),(7449,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:42:50'),(7450,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:42:50'),(7451,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:42:50'),(7452,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:42:50'),(7453,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 11:42:50'),(7454,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:42:50'),(7455,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:42:50'),(7456,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 11:42:50'),(7457,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:42:50'),(7458,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0048329830169678','2016-08-17 11:42:50'),(7459,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004647970199585','2016-08-17 11:42:50'),(7460,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045018196105957','2016-08-17 11:42:50'),(7461,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046019554138184','2016-08-17 11:42:50'),(7462,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044798851013184','2016-08-17 11:42:50'),(7463,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045459270477295','2016-08-17 11:42:50'),(7464,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046000480651855','2016-08-17 11:42:50'),(7465,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046191215515137','2016-08-17 11:42:50'),(7466,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044319629669189','2016-08-17 11:42:51'),(7467,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045969486236572','2016-08-17 11:42:51'),(7468,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045750141143799','2016-08-17 11:42:51'),(7469,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045959949493408','2016-08-17 11:42:51'),(7470,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062012672424316','2016-08-17 11:43:01'),(7471,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056314468383789','2016-08-17 11:43:01'),(7472,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-17 11:43:01'),(7473,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051617622375488','2016-08-17 11:43:01'),(7474,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.059215068817139','2016-08-17 11:43:01'),(7475,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043576002120972','2016-08-17 11:43:01'),(7476,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043446063995361','2016-08-17 11:43:01'),(7477,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043706893920898','2016-08-17 11:43:01'),(7478,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.16437077522278','2016-08-17 11:43:01'),(7479,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045895576477051','2016-08-17 11:43:01'),(7480,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005180835723877','2016-08-17 11:43:01'),(7481,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063896179199219','2016-08-17 11:43:06'),(7482,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 11:43:06'),(7483,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:43:07'),(7484,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:43:07'),(7485,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:43:07'),(7486,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:43:07'),(7487,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:43:07'),(7488,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-17 11:43:07'),(7489,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:43:07'),(7490,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:43:07'),(7491,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 11:43:07'),(7492,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:43:07'),(7493,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065088272094727','2016-08-17 11:43:08'),(7494,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 11:43:08'),(7495,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:43:08'),(7496,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:43:08'),(7497,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 11:43:08'),(7498,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:43:08'),(7499,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:43:08'),(7500,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:43:08'),(7501,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:43:08'),(7502,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:43:08'),(7503,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:43:08'),(7504,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:43:08'),(7505,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059795379638672','2016-08-17 11:43:11'),(7506,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058603286743164','2016-08-17 11:43:13'),(7507,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 11:43:13'),(7508,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:43:13'),(7509,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:43:13'),(7510,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:43:13'),(7511,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:43:13'),(7512,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:43:13'),(7513,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:43:13'),(7514,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:43:13'),(7515,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:43:13'),(7516,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:43:13'),(7517,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:43:13'),(7518,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 11:43:13'),(7519,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.079584836959839','2016-08-17 11:43:17'),(7520,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014548301696777','2016-08-17 11:43:17'),(7521,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014059543609619','2016-08-17 11:43:17'),(7522,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014050006866455','2016-08-17 11:43:17'),(7523,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014021396636963','2016-08-17 11:43:17'),(7524,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013930797576904','2016-08-17 11:43:17'),(7525,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013828277587891','2016-08-17 11:43:17'),(7526,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013868808746338','2016-08-17 11:43:17'),(7527,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014111995697021','2016-08-17 11:43:17'),(7528,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013909339904785','2016-08-17 11:43:17'),(7529,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013759136199951','2016-08-17 11:43:17'),(7530,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-17 11:43:17'),(7531,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015950202941895','2016-08-17 11:43:18'),(7532,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001453161239624','2016-08-17 11:43:18'),(7533,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 11:43:18'),(7534,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 11:43:18'),(7535,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 11:43:18'),(7536,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:43:18'),(7537,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:43:18'),(7538,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 11:43:18'),(7539,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-17 11:43:18'),(7540,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 11:43:18'),(7541,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-17 11:43:18'),(7542,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-17 11:43:18'),(7543,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004302978515625','2016-08-17 11:43:20'),(7544,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041980743408203','2016-08-17 11:43:20'),(7545,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041661262512207','2016-08-17 11:43:20'),(7546,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041511058807373','2016-08-17 11:43:20'),(7547,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041749477386475','2016-08-17 11:43:20'),(7548,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041360855102539','2016-08-17 11:43:20'),(7549,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041730403900146','2016-08-17 11:43:21'),(7550,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004148006439209','2016-08-17 11:43:21'),(7551,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041220188140869','2016-08-17 11:43:21'),(7552,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042121410369873','2016-08-17 11:43:21'),(7553,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041060447692871','2016-08-17 11:43:21'),(7554,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041408538818359','2016-08-17 11:43:21'),(7555,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042397975921631','2016-08-17 11:43:22'),(7556,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004133939743042','2016-08-17 11:43:22'),(7557,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040779113769531','2016-08-17 11:43:22'),(7558,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041720867156982','2016-08-17 11:43:22'),(7559,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040481090545654','2016-08-17 11:43:22'),(7560,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040950775146484','2016-08-17 11:43:22'),(7561,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040478706359863','2016-08-17 11:43:22'),(7562,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 11:43:22'),(7563,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-17 11:43:22'),(7564,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040478706359863','2016-08-17 11:43:22'),(7565,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-17 11:43:22'),(7566,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 11:43:22'),(7567,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015978813171387','2016-08-17 11:43:25'),(7568,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0042369365692139','2016-08-17 11:43:25'),(7569,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-17 11:43:31'),(7570,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:43:32'),(7571,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 11:43:32'),(7572,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:43:32'),(7573,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:43:32'),(7574,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:43:32'),(7575,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:43:32'),(7576,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 11:43:32'),(7577,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:43:32'),(7578,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:43:32'),(7579,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:43:32'),(7580,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:43:32'),(7581,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046160221099854','2016-08-17 11:43:32'),(7582,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044019222259521','2016-08-17 11:43:32'),(7583,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043699741363525','2016-08-17 11:43:32'),(7584,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043809413909912','2016-08-17 11:43:32'),(7585,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043509006500244','2016-08-17 11:43:32'),(7586,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043709278106689','2016-08-17 11:43:32'),(7587,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043909549713135','2016-08-17 11:43:32'),(7588,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043911933898926','2016-08-17 11:43:32'),(7589,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043790340423584','2016-08-17 11:43:32'),(7590,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043549537658691','2016-08-17 11:43:32'),(7591,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044219493865967','2016-08-17 11:43:32'),(7592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043280124664307','2016-08-17 11:43:32'),(7593,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.0006251335144043','2016-08-17 11:43:42'),(7594,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00052595138549805','2016-08-17 11:43:42'),(7595,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051999092102051','2016-08-17 11:43:42'),(7596,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051712989807129','2016-08-17 11:43:42'),(7597,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.079600095748901','2016-08-17 11:43:42'),(7598,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041007995605469','2016-08-17 11:43:42'),(7599,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051283836364746','2016-08-17 11:43:42'),(7600,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00065302848815918','2016-08-17 11:44:00'),(7601,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054597854614258','2016-08-17 11:44:00'),(7602,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052213668823242','2016-08-17 11:44:00'),(7603,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051712989807129','2016-08-17 11:44:00'),(7604,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10411500930786','2016-08-17 11:44:00'),(7605,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043491125106812','2016-08-17 11:44:00'),(7606,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043483018875122','2016-08-17 11:44:00'),(7607,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042847871780396','2016-08-17 11:44:00'),(7608,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.12727618217468','2016-08-17 11:44:00'),(7609,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0004429817199707','2016-08-17 11:44:00'),(7610,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051784515380859','2016-08-17 11:44:00'),(7611,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062990188598633','2016-08-17 11:44:03'),(7612,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:44:03'),(7613,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:44:03'),(7614,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-17 11:44:03'),(7615,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:44:03'),(7616,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:44:03'),(7617,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:44:03'),(7618,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 11:44:03'),(7619,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:44:03'),(7620,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:44:03'),(7621,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:44:03'),(7622,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:44:03'),(7623,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062108039855957','2016-08-17 11:44:04'),(7624,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:44:04'),(7625,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:44:04'),(7626,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:44:04'),(7627,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:44:04'),(7628,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:44:04'),(7629,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:44:04'),(7630,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 11:44:04'),(7631,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:44:04'),(7632,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:44:04'),(7633,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:44:04'),(7634,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:44:04'),(7635,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00062084197998047','2016-08-17 11:44:07'),(7636,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059700012207031','2016-08-17 11:44:09'),(7637,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-17 11:44:09'),(7638,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 11:44:09'),(7639,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:44:09'),(7640,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:44:09'),(7641,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-17 11:44:09'),(7642,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:44:09'),(7643,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 11:44:09'),(7644,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:44:09'),(7645,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:44:09'),(7646,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:44:09'),(7647,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:44:09'),(7648,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:44:09'),(7649,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:44:09'),(7650,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:44:09'),(7651,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:44:09'),(7652,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:44:09'),(7653,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:44:09'),(7654,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:44:09'),(7655,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:44:09'),(7656,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:44:09'),(7657,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:44:09'),(7658,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050520896911621','2016-08-17 11:44:09'),(7659,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:44:09'),(7660,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:44:09'),(7661,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:44:09'),(7662,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:44:09'),(7663,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:44:09'),(7664,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-17 11:44:09'),(7665,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:44:09'),(7666,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:44:09'),(7667,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:44:09'),(7668,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00048995018005371','2016-08-17 11:44:09'),(7669,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046896934509277','2016-08-17 11:44:09'),(7670,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046610832214355','2016-08-17 11:44:09'),(7671,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045609474182129','2016-08-17 11:44:09'),(7672,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047588348388672','2016-08-17 11:44:09'),(7673,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.081521987915039','2016-08-17 11:44:13'),(7674,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013771057128906','2016-08-17 11:44:13'),(7675,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013802051544189','2016-08-17 11:44:13'),(7676,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 11:44:13'),(7677,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013809204101562','2016-08-17 11:44:13'),(7678,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 11:44:13'),(7679,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-17 11:44:13'),(7680,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 11:44:13'),(7681,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013551712036133','2016-08-17 11:44:13'),(7682,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 11:44:13'),(7683,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 11:44:13'),(7684,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 11:44:14'),(7685,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015819072723389','2016-08-17 11:44:15'),(7686,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013909339904785','2016-08-17 11:44:15'),(7687,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013799667358398','2016-08-17 11:44:15'),(7688,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:44:15'),(7689,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 11:44:15'),(7690,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013968944549561','2016-08-17 11:44:15'),(7691,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 11:44:15'),(7692,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:44:15'),(7693,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 11:44:15'),(7694,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 11:44:15'),(7695,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 11:44:15'),(7696,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 11:44:15'),(7697,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.014230966567993','2016-08-17 11:44:17'),(7698,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040698051452637','2016-08-17 11:44:17'),(7699,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004054069519043','2016-08-17 11:44:17'),(7700,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040650367736816','2016-08-17 11:44:17'),(7701,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-17 11:44:17'),(7702,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-17 11:44:17'),(7703,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-17 11:44:17'),(7704,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 11:44:17'),(7705,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040318965911865','2016-08-17 11:44:17'),(7706,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040328502655029','2016-08-17 11:44:17'),(7707,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040700435638428','2016-08-17 11:44:17'),(7708,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040321350097656','2016-08-17 11:44:17'),(7709,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042431354522705','2016-08-17 11:44:18'),(7710,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004072904586792','2016-08-17 11:44:18'),(7711,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041120052337646','2016-08-17 11:44:19'),(7712,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-17 11:44:19'),(7713,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040318965911865','2016-08-17 11:44:19'),(7714,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-17 11:44:19'),(7715,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041129589080811','2016-08-17 11:44:19'),(7716,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040349960327148','2016-08-17 11:44:19'),(7717,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.2615180015564','2016-08-17 11:44:19'),(7718,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-17 11:44:19'),(7719,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041720867156982','2016-08-17 11:44:19'),(7720,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041539669036865','2016-08-17 11:44:19'),(7721,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.13373494148254','2016-08-17 11:44:20'),(7722,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.10467600822449','2016-08-17 11:44:20'),(7723,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.092828989028931','2016-08-17 11:44:20'),(7724,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.084350109100342','2016-08-17 11:44:20'),(7725,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.077651023864746','2016-08-17 11:44:20'),(7726,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.015367984771729','2016-08-17 11:44:20'),(7727,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.0034902095794678','2016-08-17 11:44:20'),(7728,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'25\'','setup/loanSetup','0.001643180847168','2016-08-17 11:44:50'),(7729,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.00044083595275879','2016-08-17 11:44:50'),(7730,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00051498413085938','2016-08-17 11:44:50'),(7731,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.084523916244507','2016-08-17 11:50:11'),(7732,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowListPrint','0.1078770160675','2016-08-17 11:50:11'),(7733,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowListPrint','0.10733008384705','2016-08-17 11:50:11'),(7734,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowListPrint','0.10708808898926','2016-08-17 11:50:11'),(7735,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowListPrint','0.10719418525696','2016-08-17 11:50:11'),(7736,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowListPrint','0.10729193687439','2016-08-17 11:50:11'),(7737,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00058794021606445','2016-08-17 11:50:11'),(7738,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062108039855957','2016-08-17 11:51:32'),(7739,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 11:51:32'),(7740,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 11:51:32'),(7741,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 11:51:32'),(7742,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.044163942337036','2016-08-17 11:51:32'),(7743,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043658018112183','2016-08-17 11:51:32'),(7744,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043498992919922','2016-08-17 11:51:32'),(7745,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043626070022583','2016-08-17 11:51:32'),(7746,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.014369964599609','2016-08-17 11:51:32'),(7747,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0003659725189209','2016-08-17 11:51:32'),(7748,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0004429817199707','2016-08-17 11:51:32'),(7749,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062894821166992','2016-08-17 11:51:35'),(7750,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049495697021484','2016-08-17 11:51:35'),(7751,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:51:35'),(7752,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:51:35'),(7753,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:51:35'),(7754,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 11:51:35'),(7755,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:51:35'),(7756,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 11:51:35'),(7757,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:51:35'),(7758,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:51:35'),(7759,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 11:51:35'),(7760,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:51:35'),(7761,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061678886413574','2016-08-17 11:51:39'),(7762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:51:39'),(7763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:51:39'),(7764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 11:51:39'),(7765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:51:39'),(7766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:51:39'),(7767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:51:39'),(7768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 11:51:39'),(7769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:51:39'),(7770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:51:39'),(7771,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:51:39'),(7772,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:51:39'),(7773,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059604644775391','2016-08-17 11:51:48'),(7774,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058102607727051','2016-08-17 11:51:50'),(7775,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 11:51:50'),(7776,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:51:50'),(7777,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:51:50'),(7778,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:51:50'),(7779,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:51:50'),(7780,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:51:50'),(7781,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:51:50'),(7782,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:51:50'),(7783,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:51:50'),(7784,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:51:50'),(7785,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:51:50'),(7786,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 11:51:50'),(7787,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0021200180053711','2016-08-17 11:51:58'),(7788,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014050006866455','2016-08-17 11:51:58'),(7789,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 11:51:58'),(7790,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-17 11:51:58'),(7791,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 11:51:58'),(7792,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 11:51:58'),(7793,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 11:51:58'),(7794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-17 11:51:58'),(7795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:51:58'),(7796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 11:51:58'),(7797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:51:58'),(7798,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:51:58'),(7799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015590190887451','2016-08-17 11:52:00'),(7800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 11:52:00'),(7801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 11:52:00'),(7802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 11:52:00'),(7803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 11:52:00'),(7804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:52:00'),(7805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 11:52:00'),(7806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 11:52:00'),(7807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013651847839355','2016-08-17 11:52:00'),(7808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 11:52:00'),(7809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 11:52:00'),(7810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-17 11:52:00'),(7811,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043621063232422','2016-08-17 11:52:02'),(7812,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041952133178711','2016-08-17 11:52:02'),(7813,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043399333953857','2016-08-17 11:52:02'),(7814,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004213809967041','2016-08-17 11:52:02'),(7815,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041530132293701','2016-08-17 11:52:02'),(7816,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042510032653809','2016-08-17 11:52:02'),(7817,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004180908203125','2016-08-17 11:52:03'),(7818,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042250156402588','2016-08-17 11:52:03'),(7819,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042159557342529','2016-08-17 11:52:03'),(7820,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041911602020264','2016-08-17 11:52:03'),(7821,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041511058807373','2016-08-17 11:52:03'),(7822,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043051242828369','2016-08-17 11:52:03'),(7823,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004349946975708','2016-08-17 11:52:04'),(7824,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-17 11:52:04'),(7825,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040349960327148','2016-08-17 11:52:04'),(7826,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 11:52:04'),(7827,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040361881256104','2016-08-17 11:52:04'),(7828,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-17 11:52:04'),(7829,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040459632873535','2016-08-17 11:52:04'),(7830,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040168762207031','2016-08-17 11:52:04'),(7831,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004047155380249','2016-08-17 11:52:04'),(7832,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 11:52:04'),(7833,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040221214294434','2016-08-17 11:52:04'),(7834,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-17 11:52:04'),(7835,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015921592712402','2016-08-17 11:52:11'),(7836,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 11:52:11'),(7837,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.01658296585083','2016-08-17 11:52:16'),(7838,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:52:16'),(7839,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:52:16'),(7840,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:52:16'),(7841,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:52:16'),(7842,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:52:17'),(7843,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:52:17'),(7844,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 11:52:17'),(7845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:52:17'),(7846,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:52:17'),(7847,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:52:17'),(7848,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:52:17'),(7849,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045309066772461','2016-08-17 11:52:17'),(7850,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004425048828125','2016-08-17 11:52:17'),(7851,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044000148773193','2016-08-17 11:52:17'),(7852,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043880939483643','2016-08-17 11:52:17'),(7853,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043330192565918','2016-08-17 11:52:17'),(7854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043680667877197','2016-08-17 11:52:17'),(7855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043420791625977','2016-08-17 11:52:17'),(7856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043540000915527','2016-08-17 11:52:17'),(7857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044121742248535','2016-08-17 11:52:17'),(7858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004417896270752','2016-08-17 11:52:17'),(7859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043530464172363','2016-08-17 11:52:17'),(7860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043990612030029','2016-08-17 11:52:17'),(7861,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0014231204986572','2016-08-17 11:52:59'),(7862,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012798309326172','2016-08-17 11:52:59'),(7863,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012428760528564','2016-08-17 11:52:59'),(7864,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001244068145752','2016-08-17 11:52:59'),(7865,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0023250579833984','2016-08-17 11:52:59'),(7866,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043702125549316','2016-08-17 11:52:59'),(7867,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-17 11:52:59'),(7868,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063204765319824','2016-08-17 11:53:08'),(7869,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 11:53:08'),(7870,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:53:08'),(7871,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:53:08'),(7872,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:53:08'),(7873,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 11:53:08'),(7874,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:53:08'),(7875,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 11:53:08'),(7876,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:53:08'),(7877,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:53:08'),(7878,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:53:08'),(7879,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 11:53:08'),(7880,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061607360839844','2016-08-17 11:53:09'),(7881,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:53:10'),(7882,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:53:10'),(7883,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:53:10'),(7884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:53:10'),(7885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:53:10'),(7886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:53:10'),(7887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:53:10'),(7888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 11:53:10'),(7889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 11:53:10'),(7890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:53:10'),(7891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:53:10'),(7892,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018348693847656','2016-08-17 11:53:11'),(7893,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010409355163574','2016-08-17 11:53:11'),(7894,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2063\'','expenses/addNew','0.002295970916748','2016-08-17 11:53:11'),(7895,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2063\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0024080276489258','2016-08-17 11:53:11'),(7896,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000013\'','expenses/addNew','0.00054001808166504','2016-08-17 11:53:12'),(7897,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.0003960132598877','2016-08-17 11:53:12'),(7898,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047993659973145','2016-08-17 11:53:12'),(7899,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00057601928710938','2016-08-17 11:53:14'),(7900,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058698654174805','2016-08-17 11:53:16'),(7901,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 11:53:16'),(7902,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:53:16'),(7903,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:53:16'),(7904,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:53:17'),(7905,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:53:17'),(7906,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:53:17'),(7907,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:53:17'),(7908,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:53:17'),(7909,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:53:17'),(7910,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:53:17'),(7911,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:53:17'),(7912,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050520896911621','2016-08-17 11:53:17'),(7913,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0017859935760498','2016-08-17 11:53:19'),(7914,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010068416595459','2016-08-17 11:53:19'),(7915,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2063\'','expenses/addNew','0.0022919178009033','2016-08-17 11:53:19'),(7916,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2063\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0024068355560303','2016-08-17 11:53:19'),(7917,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000013\'','expenses/addNew','0.00056886672973633','2016-08-17 11:53:19'),(7918,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00040793418884277','2016-08-17 11:53:19'),(7919,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.0004880428314209','2016-08-17 11:53:19'),(7920,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0016210079193115','2016-08-17 11:53:22'),(7921,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001399040222168','2016-08-17 11:53:22'),(7922,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013940334320068','2016-08-17 11:53:22'),(7923,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013890266418457','2016-08-17 11:53:22'),(7924,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013871192932129','2016-08-17 11:53:22'),(7925,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-17 11:53:23'),(7926,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013718605041504','2016-08-17 11:53:23'),(7927,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013818740844727','2016-08-17 11:53:23'),(7928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 11:53:23'),(7929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-17 11:53:23'),(7930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 11:53:23'),(7931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:53:23'),(7932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015499591827393','2016-08-17 11:53:24'),(7933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 11:53:24'),(7934,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 11:53:24'),(7935,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 11:53:24'),(7936,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 11:53:25'),(7937,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 11:53:25'),(7938,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-17 11:53:25'),(7939,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 11:53:25'),(7940,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 11:53:25'),(7941,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013628005981445','2016-08-17 11:53:25'),(7942,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-17 11:53:25'),(7943,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 11:53:25'),(7944,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044059753417969','2016-08-17 11:53:27'),(7945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042119026184082','2016-08-17 11:53:28'),(7946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042140483856201','2016-08-17 11:53:28'),(7947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041670799255371','2016-08-17 11:53:28'),(7948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041418075561523','2016-08-17 11:53:28'),(7949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041589736938477','2016-08-17 11:53:28'),(7950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041999816894531','2016-08-17 11:53:28'),(7951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042140483856201','2016-08-17 11:53:28'),(7952,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042421817779541','2016-08-17 11:53:28'),(7953,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041449069976807','2016-08-17 11:53:28'),(7954,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041251182556152','2016-08-17 11:53:28'),(7955,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041511058807373','2016-08-17 11:53:28'),(7956,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043189525604248','2016-08-17 11:53:29'),(7957,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041580200195312','2016-08-17 11:53:30'),(7958,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004094123840332','2016-08-17 11:53:30'),(7959,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-17 11:53:30'),(7960,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041120052337646','2016-08-17 11:53:30'),(7961,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040581226348877','2016-08-17 11:53:30'),(7962,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042359828948975','2016-08-17 11:53:30'),(7963,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040569305419922','2016-08-17 11:53:30'),(7964,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 11:53:30'),(7965,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041279792785645','2016-08-17 11:53:30'),(7966,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00412917137146','2016-08-17 11:53:30'),(7967,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004101037979126','2016-08-17 11:53:30'),(7968,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015559196472168','2016-08-17 11:53:34'),(7969,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041229724884033','2016-08-17 11:53:35'),(7970,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0017340183258057','2016-08-17 11:53:35'),(7971,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.00098085403442383','2016-08-17 11:53:35'),(7972,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2085\'','expenses/addNew','0.0022561550140381','2016-08-17 11:53:35'),(7973,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2085\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0023820400238037','2016-08-17 11:53:35'),(7974,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000033\'','expenses/addNew','0.00053000450134277','2016-08-17 11:53:35'),(7975,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039100646972656','2016-08-17 11:53:35'),(7976,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047802925109863','2016-08-17 11:53:35'),(7977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062918663024902','2016-08-17 11:53:42'),(7978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:53:42'),(7979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:53:42'),(7980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:53:42'),(7981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:53:42'),(7982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:53:42'),(7983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 11:53:42'),(7984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 11:53:42'),(7985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:53:42'),(7986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:53:42'),(7987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:53:42'),(7988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 11:53:42'),(7989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044431686401367','2016-08-17 11:53:42'),(7990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043492317199707','2016-08-17 11:53:42'),(7991,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043478012084961','2016-08-17 11:53:42'),(7992,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043280124664307','2016-08-17 11:53:42'),(7993,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043489933013916','2016-08-17 11:53:42'),(7994,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043330192565918','2016-08-17 11:53:42'),(7995,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043280124664307','2016-08-17 11:53:42'),(7996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043649673461914','2016-08-17 11:53:42'),(7997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043280124664307','2016-08-17 11:53:42'),(7998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004378080368042','2016-08-17 11:53:42'),(7999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043430328369141','2016-08-17 11:53:42'),(8000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043189525604248','2016-08-17 11:53:42'),(8001,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0017600059509277','2016-08-17 11:53:46'),(8002,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.00097990036010742','2016-08-17 11:53:46'),(8003,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2083\'','expenses/addNew','0.0022940635681152','2016-08-17 11:53:46'),(8004,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2083\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0024259090423584','2016-08-17 11:53:46'),(8005,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000031\'','expenses/addNew','0.00052499771118164','2016-08-17 11:53:46'),(8006,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039100646972656','2016-08-17 11:53:46'),(8007,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048303604125977','2016-08-17 11:53:46'),(8008,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0006251335144043','2016-08-17 11:54:02'),(8009,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053191184997559','2016-08-17 11:54:02'),(8010,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052690505981445','2016-08-17 11:54:02'),(8011,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 11:54:02'),(8012,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.044296026229858','2016-08-17 11:54:02'),(8013,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043896913528442','2016-08-17 11:54:02'),(8014,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043558835983276','2016-08-17 11:54:02'),(8015,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042773962020874','2016-08-17 11:54:02'),(8016,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.13820385932922','2016-08-17 11:54:02'),(8017,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00040411949157715','2016-08-17 11:54:02'),(8018,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00046610832214355','2016-08-17 11:54:02'),(8019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063204765319824','2016-08-17 11:54:05'),(8020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:54:05'),(8021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:54:05'),(8022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 11:54:05'),(8023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:54:05'),(8024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:54:06'),(8025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:54:06'),(8026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 11:54:06'),(8027,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:54:06'),(8028,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:54:06'),(8029,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:54:06'),(8030,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 11:54:06'),(8031,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061607360839844','2016-08-17 11:54:07'),(8032,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:54:07'),(8033,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:54:07'),(8034,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:54:07'),(8035,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:54:07'),(8036,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:54:07'),(8037,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:54:07'),(8038,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:54:07'),(8039,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:54:07'),(8040,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:54:07'),(8041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 11:54:07'),(8042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:54:07'),(8043,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060510635375977','2016-08-17 11:54:10'),(8044,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059294700622559','2016-08-17 11:54:11'),(8045,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 11:54:12'),(8046,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:54:12'),(8047,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:54:12'),(8048,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:54:12'),(8049,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:54:12'),(8050,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056791305541992','2016-08-17 11:54:12'),(8051,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-17 11:54:12'),(8052,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:54:12'),(8053,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:54:12'),(8054,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:54:12'),(8055,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:54:12'),(8056,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:54:12'),(8057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.020435094833374','2016-08-17 11:54:16'),(8058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013527870178223','2016-08-17 11:54:16'),(8059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013198852539062','2016-08-17 11:54:16'),(8060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-17 11:54:16'),(8061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012919902801514','2016-08-17 11:54:16'),(8062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013060569763184','2016-08-17 11:54:16'),(8063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012950897216797','2016-08-17 11:54:16'),(8064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001309871673584','2016-08-17 11:54:16'),(8065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013020038604736','2016-08-17 11:54:16'),(8066,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001309871673584','2016-08-17 11:54:16'),(8067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012948513031006','2016-08-17 11:54:16'),(8068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001291036605835','2016-08-17 11:54:16'),(8069,24,31,'192.168.1.204','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'24\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printAll','0.02910304069519','2016-08-17 11:54:17'),(8070,24,31,'192.168.1.204','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=24 and formID=55','expenses/printAll','0.0068528652191162','2016-08-17 11:54:17'),(8071,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','expenses/printAll','0.045351982116699','2016-08-17 11:54:17'),(8072,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/printAll','0.0022878646850586','2016-08-17 11:54:17'),(8073,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','expenses/printAll','0.00063514709472656','2016-08-17 11:54:17'),(8074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0016078948974609','2016-08-17 11:54:17'),(8075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 11:54:17'),(8076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 11:54:17'),(8077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 11:54:17'),(8078,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 11:54:17'),(8079,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 11:54:17'),(8080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013442039489746','2016-08-17 11:54:17'),(8081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 11:54:17'),(8082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 11:54:17'),(8083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 11:54:17'),(8084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-17 11:54:17'),(8085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0017728805541992','2016-08-17 11:54:17'),(8086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042669773101807','2016-08-17 11:54:20'),(8087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-17 11:54:20'),(8088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 11:54:20'),(8089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 11:54:20'),(8090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040750503540039','2016-08-17 11:54:20'),(8091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040459632873535','2016-08-17 11:54:20'),(8092,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041048526763916','2016-08-17 11:54:20'),(8093,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041360855102539','2016-08-17 11:54:20'),(8094,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040891170501709','2016-08-17 11:54:20'),(8095,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040640830993652','2016-08-17 11:54:20'),(8096,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004054069519043','2016-08-17 11:54:20'),(8097,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040578842163086','2016-08-17 11:54:20'),(8098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041999816894531','2016-08-17 11:54:21'),(8099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040500164031982','2016-08-17 11:54:21'),(8100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040478706359863','2016-08-17 11:54:21'),(8101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041258335113525','2016-08-17 11:54:21'),(8102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040421485900879','2016-08-17 11:54:21'),(8103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040500164031982','2016-08-17 11:54:21'),(8104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040519237518311','2016-08-17 11:54:21'),(8105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 11:54:21'),(8106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-17 11:54:21'),(8107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040690898895264','2016-08-17 11:54:21'),(8108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040860176086426','2016-08-17 11:54:21'),(8109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040309429168701','2016-08-17 11:54:21'),(8110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015380382537842','2016-08-17 11:54:26'),(8111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040361881256104','2016-08-17 11:54:26'),(8112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.019720792770386','2016-08-17 11:54:33'),(8113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 11:54:34'),(8114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:54:34'),(8115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:54:34'),(8116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:54:34'),(8117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 11:54:34'),(8118,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:54:34'),(8119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 11:54:34'),(8120,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:54:34'),(8121,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:54:34'),(8122,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:54:34'),(8123,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:54:34'),(8124,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045430660247803','2016-08-17 11:54:34'),(8125,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044269561767578','2016-08-17 11:54:34'),(8126,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044848918914795','2016-08-17 11:54:34'),(8127,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043900012969971','2016-08-17 11:54:34'),(8128,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044651031494141','2016-08-17 11:54:34'),(8129,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044500827789307','2016-08-17 11:54:34'),(8130,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044379234313965','2016-08-17 11:54:34'),(8131,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004410982131958','2016-08-17 11:54:34'),(8132,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004425048828125','2016-08-17 11:54:34'),(8133,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044589042663574','2016-08-17 11:54:34'),(8134,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004425048828125','2016-08-17 11:54:34'),(8135,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004410982131958','2016-08-17 11:54:34'),(8136,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016171932220459','2016-08-17 11:54:47'),(8137,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'25\'','setup/assetSetup','0.0015869140625','2016-08-17 11:54:47'),(8138,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.00043106079101562','2016-08-17 11:54:47'),(8139,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00050902366638184','2016-08-17 11:54:47'),(8140,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0014119148254395','2016-08-17 11:55:29'),(8141,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013198852539062','2016-08-17 11:55:29'),(8142,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012681484222412','2016-08-17 11:55:29'),(8143,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012528896331787','2016-08-17 11:55:30'),(8144,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022377967834473','2016-08-17 11:55:30'),(8145,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043010711669922','2016-08-17 11:55:30'),(8146,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 11:55:30'),(8147,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.084501028060913','2016-08-17 11:55:44'),(8148,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011083126068115','2016-08-17 11:55:44'),(8149,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00089907646179199','2016-08-17 11:55:44'),(8150,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047612190246582','2016-08-17 11:55:44'),(8151,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 11:55:44'),(8152,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00046396255493164','2016-08-17 11:55:44'),(8153,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 11:55:44'),(8154,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00046801567077637','2016-08-17 11:55:44'),(8155,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-17 11:55:44'),(8156,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 11:55:44'),(8157,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044679641723633','2016-08-17 11:55:44'),(8158,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00046610832214355','2016-08-17 11:55:44'),(8159,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.0004580020904541','2016-08-17 11:55:44'),(8160,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.20028495788574','2016-08-17 11:55:44'),(8161,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084781646728516','2016-08-17 11:55:44'),(8162,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00041508674621582','2016-08-17 11:55:44'),(8163,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051093101501465','2016-08-17 11:55:44'),(8164,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0014219284057617','2016-08-17 11:56:01'),(8165,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0013129711151123','2016-08-17 11:56:01'),(8166,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012829303741455','2016-08-17 11:56:01'),(8167,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.001262903213501','2016-08-17 11:56:01'),(8168,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0020020008087158','2016-08-17 11:56:01'),(8169,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041103363037109','2016-08-17 11:56:01'),(8170,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048303604125977','2016-08-17 11:56:01'),(8171,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0017490386962891','2016-08-17 11:56:08'),(8172,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010418891906738','2016-08-17 11:56:08'),(8173,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2111\'','expenses/addNew','0.0022768974304199','2016-08-17 11:56:08'),(8174,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2111\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0023849010467529','2016-08-17 11:56:08'),(8175,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000027\'','expenses/addNew','0.00052213668823242','2016-08-17 11:56:08'),(8176,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038480758666992','2016-08-17 11:56:08'),(8177,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048279762268066','2016-08-17 11:56:08'),(8178,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.00136399269104','2016-08-17 11:56:22'),(8179,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012800693511963','2016-08-17 11:56:22'),(8180,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.00124192237854','2016-08-17 11:56:22'),(8181,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012409687042236','2016-08-17 11:56:22'),(8182,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0023050308227539','2016-08-17 11:56:22'),(8183,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004420280456543','2016-08-17 11:56:22'),(8184,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048708915710449','2016-08-17 11:56:23'),(8185,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018270015716553','2016-08-17 11:56:25'),(8186,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010879039764404','2016-08-17 11:56:25'),(8187,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00044894218444824','2016-08-17 11:56:25'),(8188,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051593780517578','2016-08-17 11:56:25'),(8189,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.00052404403686523','2016-08-17 11:56:28'),(8190,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.0010030269622803','2016-08-17 11:56:28'),(8191,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00089311599731445','2016-08-17 11:56:28'),(8192,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00048208236694336','2016-08-17 11:56:28'),(8193,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045609474182129','2016-08-17 11:56:28'),(8194,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 11:56:28'),(8195,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 11:56:28'),(8196,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 11:56:28'),(8197,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 11:56:28'),(8198,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 11:56:28'),(8199,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-17 11:56:28'),(8200,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 11:56:28'),(8201,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 11:56:28'),(8202,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14358901977539','2016-08-17 11:56:29'),(8203,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00085616111755371','2016-08-17 11:56:29'),(8204,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00041508674621582','2016-08-17 11:56:29'),(8205,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051617622375488','2016-08-17 11:56:29'),(8206,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063490867614746','2016-08-17 11:57:07'),(8207,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-17 11:57:07'),(8208,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052189826965332','2016-08-17 11:57:07'),(8209,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051784515380859','2016-08-17 11:57:07'),(8210,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043812990188599','2016-08-17 11:57:07'),(8211,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043810844421387','2016-08-17 11:57:07'),(8212,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043462038040161','2016-08-17 11:57:07'),(8213,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042267799377441','2016-08-17 11:57:07'),(8214,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.080506086349487','2016-08-17 11:57:07'),(8215,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0003972053527832','2016-08-17 11:57:07'),(8216,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00046992301940918','2016-08-17 11:57:07'),(8217,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00067901611328125','2016-08-17 11:57:11'),(8218,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:57:11'),(8219,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:57:11'),(8220,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:57:11'),(8221,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:57:11'),(8222,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:57:11'),(8223,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:57:11'),(8224,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 11:57:11'),(8225,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:57:11'),(8226,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 11:57:11'),(8227,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:57:11'),(8228,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:57:11'),(8229,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061893463134766','2016-08-17 11:57:12'),(8230,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:57:13'),(8231,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 11:57:13'),(8232,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 11:57:13'),(8233,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 11:57:13'),(8234,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 11:57:13'),(8235,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:57:13'),(8236,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 11:57:13'),(8237,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:57:13'),(8238,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:57:13'),(8239,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:57:13'),(8240,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 11:57:13'),(8241,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059890747070312','2016-08-17 11:57:17'),(8242,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059008598327637','2016-08-17 11:57:18'),(8243,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-17 11:57:18'),(8244,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:57:18'),(8245,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 11:57:18'),(8246,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:57:18'),(8247,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:57:18'),(8248,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:57:18'),(8249,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:57:18'),(8250,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:57:18'),(8251,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:57:18'),(8252,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:57:18'),(8253,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:57:18'),(8254,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:57:18'),(8255,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.32598114013672','2016-08-17 11:57:24'),(8256,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013999938964844','2016-08-17 11:57:24'),(8257,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-17 11:57:24'),(8258,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 11:57:24'),(8259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013761520385742','2016-08-17 11:57:24'),(8260,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 11:57:24'),(8261,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 11:57:24'),(8262,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 11:57:24'),(8263,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 11:57:24'),(8264,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013701915740967','2016-08-17 11:57:24'),(8265,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 11:57:24'),(8266,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 11:57:24'),(8267,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001615047454834','2016-08-17 11:57:25'),(8268,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014090538024902','2016-08-17 11:57:25'),(8269,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013930797576904','2016-08-17 11:57:25'),(8270,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 11:57:25'),(8271,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013761520385742','2016-08-17 11:57:26'),(8272,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 11:57:26'),(8273,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 11:57:26'),(8274,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014181137084961','2016-08-17 11:57:26'),(8275,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013799667358398','2016-08-17 11:57:26'),(8276,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 11:57:26'),(8277,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013890266418457','2016-08-17 11:57:26'),(8278,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013492107391357','2016-08-17 11:57:26'),(8279,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043559074401855','2016-08-17 11:57:28'),(8280,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041029453277588','2016-08-17 11:57:29'),(8281,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041141510009766','2016-08-17 11:57:29'),(8282,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-17 11:57:29'),(8283,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040738582611084','2016-08-17 11:57:29'),(8284,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040688514709473','2016-08-17 11:57:29'),(8285,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040900707244873','2016-08-17 11:57:29'),(8286,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040931701660156','2016-08-17 11:57:29'),(8287,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 11:57:29'),(8288,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040619373321533','2016-08-17 11:57:29'),(8289,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040478706359863','2016-08-17 11:57:29'),(8290,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004086971282959','2016-08-17 11:57:29'),(8291,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042769908905029','2016-08-17 11:57:30'),(8292,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040969848632812','2016-08-17 11:57:30'),(8293,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040748119354248','2016-08-17 11:57:30'),(8294,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041298866271973','2016-08-17 11:57:30'),(8295,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040760040283203','2016-08-17 11:57:31'),(8296,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040619373321533','2016-08-17 11:57:31'),(8297,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041542053222656','2016-08-17 11:57:31'),(8298,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-17 11:57:31'),(8299,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-17 11:57:31'),(8300,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-17 11:57:31'),(8301,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-17 11:57:31'),(8302,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040438175201416','2016-08-17 11:57:31'),(8303,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0016539096832275','2016-08-17 11:57:35'),(8304,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0043759346008301','2016-08-17 11:57:36'),(8305,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00057721138000488','2016-08-17 11:57:37'),(8306,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052499771118164','2016-08-17 11:57:37'),(8307,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052499771118164','2016-08-17 11:57:37'),(8308,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 11:57:37'),(8309,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.083284854888916','2016-08-17 11:57:37'),(8310,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043847799301147','2016-08-17 11:57:37'),(8311,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.17330002784729','2016-08-17 11:57:37'),(8312,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043904066085815','2016-08-17 11:57:37'),(8313,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.012238025665283','2016-08-17 11:57:37'),(8314,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.14608287811279','2016-08-17 11:57:37'),(8315,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0016448497772217','2016-08-17 11:57:37'),(8316,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00063204765319824','2016-08-17 11:57:41'),(8317,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 11:57:41'),(8318,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:57:41'),(8319,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:57:41'),(8320,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:57:41'),(8321,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 11:57:41'),(8322,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:57:41'),(8323,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 11:57:41'),(8324,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:57:41'),(8325,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.29782509803772','2016-08-17 11:57:41'),(8326,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:57:41'),(8327,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 11:57:41'),(8328,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058817863464355','2016-08-17 11:57:42'),(8329,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-17 11:57:43'),(8330,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047683715820312','2016-08-17 11:57:43'),(8331,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00049304962158203','2016-08-17 11:57:43'),(8332,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047612190246582','2016-08-17 11:57:43'),(8333,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:57:43'),(8334,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046992301940918','2016-08-17 11:57:43'),(8335,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 11:57:43'),(8336,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046515464782715','2016-08-17 11:57:43'),(8337,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:57:43'),(8338,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046300888061523','2016-08-17 11:57:43'),(8339,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 11:57:43'),(8340,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0004570484161377','2016-08-17 11:57:43'),(8341,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:57:43'),(8342,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047707557678223','2016-08-17 11:57:43'),(8343,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 11:57:43'),(8344,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046396255493164','2016-08-17 11:57:43'),(8345,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 11:57:43'),(8346,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046992301940918','2016-08-17 11:57:43'),(8347,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 11:57:43'),(8348,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047612190246582','2016-08-17 11:57:43'),(8349,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 11:57:43'),(8350,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046396255493164','2016-08-17 11:57:43'),(8351,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 11:57:43'),(8352,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.020977020263672','2016-08-17 11:57:43'),(8353,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043768882751465','2016-08-17 11:57:43'),(8354,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043299198150635','2016-08-17 11:57:43'),(8355,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043871402740479','2016-08-17 11:57:43'),(8356,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044369697570801','2016-08-17 11:57:43'),(8357,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044028759002686','2016-08-17 11:57:43'),(8358,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043678283691406','2016-08-17 11:57:43'),(8359,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044050216674805','2016-08-17 11:57:43'),(8360,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044100284576416','2016-08-17 11:57:43'),(8361,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043900012969971','2016-08-17 11:57:43'),(8362,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043888092041016','2016-08-17 11:57:43'),(8363,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043430328369141','2016-08-17 11:57:43'),(8364,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.016649007797241','2016-08-17 11:57:46'),(8365,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058698654174805','2016-08-17 11:57:47'),(8366,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-17 11:57:47'),(8367,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 11:57:47'),(8368,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:57:47'),(8369,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 11:57:47'),(8370,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 11:57:47'),(8371,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:57:47'),(8372,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:57:47'),(8373,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 11:57:47'),(8374,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:57:47'),(8375,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-17 11:57:47'),(8376,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:57:47'),(8377,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:57:47'),(8378,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:57:47'),(8379,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:57:47'),(8380,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 11:57:47'),(8381,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:57:47'),(8382,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 11:57:47'),(8383,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:57:47'),(8384,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 11:57:47'),(8385,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 11:57:47'),(8386,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 11:57:47'),(8387,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005028247833252','2016-08-17 11:57:47'),(8388,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:57:47'),(8389,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 11:57:47'),(8390,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:57:47'),(8391,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 11:57:47'),(8392,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 11:57:47'),(8393,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 11:57:47'),(8394,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055980682373047','2016-08-17 11:57:47'),(8395,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 11:57:47'),(8396,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051522254943848','2016-08-17 11:57:47'),(8397,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 11:57:47'),(8398,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 11:57:47'),(8399,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 11:57:47'),(8400,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 11:57:47'),(8401,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 11:57:47'),(8402,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0025620460510254','2016-08-17 11:57:47'),(8403,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.014878988265991','2016-08-17 11:57:47'),(8404,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00043201446533203','2016-08-17 11:57:47'),(8405,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051116943359375','2016-08-17 11:57:47'),(8406,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `paymentDate` >= \'2016-08-01\'\nAND `paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.23414897918701','2016-08-17 12:00:35'),(8407,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010480880737305','2016-08-17 12:00:35'),(8408,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0017068386077881','2016-08-17 12:00:35'),(8409,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041389465332031','2016-08-17 12:00:35'),(8410,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00053811073303223','2016-08-17 12:00:35'),(8411,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.14594602584839','2016-08-17 12:01:18'),(8412,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.0024230480194092','2016-08-17 12:01:18'),(8413,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.00051379203796387','2016-08-17 12:01:18'),(8414,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0018410682678223','2016-08-17 12:01:18'),(8415,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00039482116699219','2016-08-17 12:01:18'),(8416,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00048613548278809','2016-08-17 12:01:18'),(8417,24,31,'192.168.1.204','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'24\'','setup/loanSetup','0.0016539096832275','2016-08-17 12:02:10'),(8418,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.00043296813964844','2016-08-17 12:02:10'),(8419,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00051307678222656','2016-08-17 12:02:10'),(8420,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00060105323791504','2016-08-17 12:02:54'),(8421,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054597854614258','2016-08-17 12:02:54'),(8422,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 12:02:54'),(8423,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051283836364746','2016-08-17 12:02:54'),(8424,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.082754135131836','2016-08-17 12:02:54'),(8425,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043491840362549','2016-08-17 12:02:54'),(8426,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043370008468628','2016-08-17 12:02:54'),(8427,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043509960174561','2016-08-17 12:02:54'),(8428,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.030972003936768','2016-08-17 12:02:54'),(8429,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00037908554077148','2016-08-17 12:02:54'),(8430,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00045084953308105','2016-08-17 12:02:54'),(8431,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064206123352051','2016-08-17 12:02:57'),(8432,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:02:57'),(8433,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:02:57'),(8434,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:02:57'),(8435,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:02:58'),(8436,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:02:58'),(8437,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 12:02:58'),(8438,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 12:02:58'),(8439,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:02:58'),(8440,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:02:58'),(8441,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 12:02:58'),(8442,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:02:58'),(8443,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.011766910552979','2016-08-17 12:02:59'),(8444,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:02:59'),(8445,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005638599395752','2016-08-17 12:02:59'),(8446,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:02:59'),(8447,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:02:59'),(8448,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 12:02:59'),(8449,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:02:59'),(8450,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 12:02:59'),(8451,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:02:59'),(8452,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:02:59'),(8453,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 12:02:59'),(8454,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:02:59'),(8455,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.01278281211853','2016-08-17 12:03:02'),(8456,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058889389038086','2016-08-17 12:03:03'),(8457,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00060319900512695','2016-08-17 12:03:03'),(8458,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:03:03'),(8459,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 12:03:03'),(8460,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:03:03'),(8461,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:03:03'),(8462,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:03:03'),(8463,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:03:03'),(8464,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:03:03'),(8465,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:03:03'),(8466,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:03:03'),(8467,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:03:03'),(8468,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 12:03:03'),(8469,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00059008598327637','2016-08-17 12:03:34'),(8470,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054121017456055','2016-08-17 12:03:34'),(8471,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051617622375488','2016-08-17 12:03:34'),(8472,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051093101501465','2016-08-17 12:03:34'),(8473,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043800830841064','2016-08-17 12:03:34'),(8474,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043663024902344','2016-08-17 12:03:34'),(8475,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043412923812866','2016-08-17 12:03:34'),(8476,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.0435950756073','2016-08-17 12:03:34'),(8477,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.02112078666687','2016-08-17 12:03:34'),(8478,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00036311149597168','2016-08-17 12:03:34'),(8479,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00044703483581543','2016-08-17 12:03:34'),(8480,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-17 12:03:39'),(8481,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:03:39'),(8482,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:03:39'),(8483,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:03:39'),(8484,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:03:39'),(8485,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:03:39'),(8486,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:03:39'),(8487,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 12:03:39'),(8488,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:03:39'),(8489,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:03:39'),(8490,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 12:03:39'),(8491,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:03:39'),(8492,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-17 12:03:40'),(8493,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:03:40'),(8494,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:03:40'),(8495,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:03:40'),(8496,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:03:40'),(8497,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 12:03:40'),(8498,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:03:40'),(8499,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:03:40'),(8500,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:03:40'),(8501,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:03:40'),(8502,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 12:03:40'),(8503,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:03:40'),(8504,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0005190372467041','2016-08-17 12:03:43'),(8505,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062918663024902','2016-08-17 12:03:43'),(8506,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053715705871582','2016-08-17 12:03:43'),(8507,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.000518798828125','2016-08-17 12:03:43'),(8508,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 12:03:43'),(8509,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.044019937515259','2016-08-17 12:03:43'),(8510,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043667078018188','2016-08-17 12:03:43'),(8511,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.044080018997192','2016-08-17 12:03:43'),(8512,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043807029724121','2016-08-17 12:03:43'),(8513,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.019617080688477','2016-08-17 12:03:43'),(8514,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00041103363037109','2016-08-17 12:03:43'),(8515,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005030632019043','2016-08-17 12:03:43'),(8516,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00061798095703125','2016-08-17 12:03:48'),(8517,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005190372467041','2016-08-17 12:03:48'),(8518,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051403045654297','2016-08-17 12:03:48'),(8519,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051093101501465','2016-08-17 12:03:48'),(8520,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00076603889465332','2016-08-17 12:03:48'),(8521,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042200088500977','2016-08-17 12:03:48'),(8522,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050902366638184','2016-08-17 12:03:48'),(8523,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.10843896865845','2016-08-17 12:03:55'),(8524,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.001317024230957','2016-08-17 12:03:55'),(8525,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012578964233398','2016-08-17 12:03:55'),(8526,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012497901916504','2016-08-17 12:03:55'),(8527,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.019924163818359','2016-08-17 12:03:55'),(8528,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00040483474731445','2016-08-17 12:03:55'),(8529,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 12:03:55'),(8530,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0014009475708008','2016-08-17 12:04:03'),(8531,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013120174407959','2016-08-17 12:04:03'),(8532,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012600421905518','2016-08-17 12:04:03'),(8533,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012528896331787','2016-08-17 12:04:04'),(8534,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022590160369873','2016-08-17 12:04:04'),(8535,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004279613494873','2016-08-17 12:04:04'),(8536,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 12:04:04'),(8537,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013561248779297','2016-08-17 12:04:12'),(8538,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012648105621338','2016-08-17 12:04:12'),(8539,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012400150299072','2016-08-17 12:04:12'),(8540,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012340545654297','2016-08-17 12:04:12'),(8541,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.026473999023438','2016-08-17 12:04:12'),(8542,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043106079101562','2016-08-17 12:04:12'),(8543,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048613548278809','2016-08-17 12:04:12'),(8544,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `paymentDate` >= \'2016-08-01\'\nAND `paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.10921192169189','2016-08-17 12:04:24'),(8545,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010459423065186','2016-08-17 12:04:24'),(8546,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0017001628875732','2016-08-17 12:04:24'),(8547,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00042009353637695','2016-08-17 12:04:24'),(8548,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050997734069824','2016-08-17 12:04:24'),(8549,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.054589986801147','2016-08-17 12:04:32'),(8550,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.011108160018921','2016-08-17 12:04:32'),(8551,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00042605400085449','2016-08-17 12:04:32'),(8552,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00090479850769043','2016-08-17 12:04:32'),(8553,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047898292541504','2016-08-17 12:04:32'),(8554,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:04:32'),(8555,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045585632324219','2016-08-17 12:04:32'),(8556,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044703483581543','2016-08-17 12:04:32'),(8557,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:04:32'),(8558,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044703483581543','2016-08-17 12:04:32'),(8559,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045013427734375','2016-08-17 12:04:32'),(8560,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044894218444824','2016-08-17 12:04:32'),(8561,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045108795166016','2016-08-17 12:04:32'),(8562,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:04:32'),(8563,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.0033981800079346','2016-08-17 12:04:32'),(8564,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00052690505981445','2016-08-17 12:04:32'),(8565,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0051538944244385','2016-08-17 12:04:32'),(8566,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.001079797744751','2016-08-17 12:04:32'),(8567,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.06709098815918','2016-08-17 12:04:32'),(8568,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00045990943908691','2016-08-17 12:04:32'),(8569,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050997734069824','2016-08-17 12:04:32'),(8570,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.017277956008911','2016-08-17 12:04:32'),(8571,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.00052905082702637','2016-08-17 12:04:47'),(8572,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.0010039806365967','2016-08-17 12:04:47'),(8573,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00089001655578613','2016-08-17 12:04:47'),(8574,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047898292541504','2016-08-17 12:04:47'),(8575,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045490264892578','2016-08-17 12:04:47'),(8576,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 12:04:47'),(8577,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-17 12:04:47'),(8578,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 12:04:47'),(8579,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 12:04:47'),(8580,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 12:04:47'),(8581,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 12:04:47'),(8582,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 12:04:47'),(8583,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044608116149902','2016-08-17 12:04:47'),(8584,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.16870188713074','2016-08-17 12:04:47'),(8585,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084400177001953','2016-08-17 12:04:47'),(8586,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00041699409484863','2016-08-17 12:04:47'),(8587,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051307678222656','2016-08-17 12:04:47'),(8588,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'25\'','setup/companySetup','0.15539693832397','2016-08-17 12:05:02'),(8589,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.0015459060668945','2016-08-17 12:05:02'),(8590,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.001107931137085','2016-08-17 12:05:02'),(8591,25,32,'192.168.1.220','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1930\'','setup/companySetup','0.0005791187286377','2016-08-17 12:05:02'),(8592,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00041317939758301','2016-08-17 12:05:02'),(8593,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00048589706420898','2016-08-17 12:05:02'),(8594,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00040102005004883','2016-08-17 12:05:02'),(8595,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00047993659973145','2016-08-17 12:05:02'),(8596,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0017311573028564','2016-08-17 12:05:08'),(8597,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'25\'','setup/assetSetup','0.0016241073608398','2016-08-17 12:05:08'),(8598,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.00042891502380371','2016-08-17 12:05:09'),(8599,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00051212310791016','2016-08-17 12:05:09'),(8600,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0027167797088623','2016-08-17 12:05:19'),(8601,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00087690353393555','2016-08-17 12:05:19'),(8602,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00042414665222168','2016-08-17 12:05:19'),(8603,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00048398971557617','2016-08-17 12:05:19'),(8604,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0019030570983887','2016-08-17 12:05:25'),(8605,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00047802925109863','2016-08-17 12:05:25'),(8606,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00052213668823242','2016-08-17 12:05:25'),(8607,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0018420219421387','2016-08-17 12:05:35'),(8608,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00046396255493164','2016-08-17 12:05:35'),(8609,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00051307678222656','2016-08-17 12:05:35'),(8610,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.017975091934204','2016-08-17 12:05:45'),(8611,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054311752319336','2016-08-17 12:05:45'),(8612,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051999092102051','2016-08-17 12:05:45'),(8613,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051593780517578','2016-08-17 12:05:45'),(8614,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.04422402381897','2016-08-17 12:05:45'),(8615,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043812990188599','2016-08-17 12:05:45'),(8616,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.044142007827759','2016-08-17 12:05:45'),(8617,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043923139572144','2016-08-17 12:05:45'),(8618,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.055704116821289','2016-08-17 12:05:45'),(8619,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00040388107299805','2016-08-17 12:05:45'),(8620,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0004730224609375','2016-08-17 12:05:45'),(8621,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00063490867614746','2016-08-17 12:05:48'),(8622,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 12:05:48'),(8623,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:05:49'),(8624,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:05:49'),(8625,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-17 12:05:49'),(8626,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:05:49'),(8627,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051021575927734','2016-08-17 12:05:49'),(8628,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 12:05:49'),(8629,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:05:49'),(8630,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:05:49'),(8631,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 12:05:49'),(8632,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:05:49'),(8633,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-17 12:05:50'),(8634,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:05:50'),(8635,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:05:50'),(8636,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:05:50'),(8637,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 12:05:50'),(8638,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:05:50'),(8639,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:05:50'),(8640,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-17 12:05:50'),(8641,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:05:50'),(8642,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 12:05:50'),(8643,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:05:50'),(8644,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:05:50'),(8645,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0017819404602051','2016-08-17 12:05:50'),(8646,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00045299530029297','2016-08-17 12:05:50'),(8647,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00051212310791016','2016-08-17 12:05:50'),(8648,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/new_sale','0.001209020614624','2016-08-17 12:05:50'),(8649,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/new_sale','0.001054048538208','2016-08-17 12:05:50'),(8650,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.00041413307189941','2016-08-17 12:05:50'),(8651,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.003244161605835','2016-08-17 12:05:50'),(8652,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016839504241943','2016-08-17 12:05:57'),(8653,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00088000297546387','2016-08-17 12:05:57'),(8654,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00043201446533203','2016-08-17 12:05:57'),(8655,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00048708915710449','2016-08-17 12:05:57'),(8656,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/new_sale','0.0011980533599854','2016-08-17 12:06:01'),(8657,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/new_sale','0.00099301338195801','2016-08-17 12:06:01'),(8658,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.0004119873046875','2016-08-17 12:06:02'),(8659,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.0005030632019043','2016-08-17 12:06:02'),(8660,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'25\'','setup/loanSetup','0.0016570091247559','2016-08-17 12:06:03'),(8661,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.00042486190795898','2016-08-17 12:06:03'),(8662,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00051188468933105','2016-08-17 12:06:03'),(8663,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016889572143555','2016-08-17 12:06:08'),(8664,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00087594985961914','2016-08-17 12:06:08'),(8665,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00042104721069336','2016-08-17 12:06:08'),(8666,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00048398971557617','2016-08-17 12:06:08'),(8667,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0018210411071777','2016-08-17 12:06:13'),(8668,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00045585632324219','2016-08-17 12:06:14'),(8669,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00051093101501465','2016-08-17 12:06:14'),(8670,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `paymentDate` >= \'2016-08-01\'\nAND `paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.16299986839294','2016-08-17 12:06:33'),(8671,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010831356048584','2016-08-17 12:06:33'),(8672,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0017020702362061','2016-08-17 12:06:33'),(8673,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041604042053223','2016-08-17 12:06:33'),(8674,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050806999206543','2016-08-17 12:06:33'),(8675,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/new_sale','0.0012240409851074','2016-08-17 12:07:27'),(8676,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/new_sale','0.0010390281677246','2016-08-17 12:07:27'),(8677,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.00042390823364258','2016-08-17 12:07:27'),(8678,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.00051498413085938','2016-08-17 12:07:27'),(8679,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0017890930175781','2016-08-17 12:07:37'),(8680,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010499954223633','2016-08-17 12:07:37'),(8681,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00043702125549316','2016-08-17 12:07:37'),(8682,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.0005180835723877','2016-08-17 12:07:37'),(8683,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'25\'','setup/companySetup','0.03903603553772','2016-08-17 12:07:43'),(8684,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.0015501976013184','2016-08-17 12:07:43'),(8685,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.00069212913513184','2016-08-17 12:07:43'),(8686,25,32,'192.168.1.220','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1930\'','setup/companySetup','0.00057792663574219','2016-08-17 12:07:43'),(8687,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00045490264892578','2016-08-17 12:07:43'),(8688,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.0004880428314209','2016-08-17 12:07:43'),(8689,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00040984153747559','2016-08-17 12:07:43'),(8690,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00048303604125977','2016-08-17 12:07:43'),(8691,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062799453735352','2016-08-17 12:08:19'),(8692,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055098533630371','2016-08-17 12:08:20'),(8693,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051999092102051','2016-08-17 12:08:20'),(8694,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051689147949219','2016-08-17 12:08:20'),(8695,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.074497938156128','2016-08-17 12:08:20'),(8696,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043434143066406','2016-08-17 12:08:20'),(8697,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043318033218384','2016-08-17 12:08:20'),(8698,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.03913688659668','2016-08-17 12:08:20'),(8699,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.037148952484131','2016-08-17 12:08:20'),(8700,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00037002563476562','2016-08-17 12:08:20'),(8701,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00044798851013184','2016-08-17 12:08:20'),(8702,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062108039855957','2016-08-17 12:08:22'),(8703,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053286552429199','2016-08-17 12:08:22'),(8704,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051784515380859','2016-08-17 12:08:22'),(8705,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 12:08:22'),(8706,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.044142961502075','2016-08-17 12:08:22'),(8707,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043761014938354','2016-08-17 12:08:22'),(8708,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043515920639038','2016-08-17 12:08:22'),(8709,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043489217758179','2016-08-17 12:08:22'),(8710,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.043434143066406','2016-08-17 12:08:22'),(8711,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0004270076751709','2016-08-17 12:08:22'),(8712,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051498413085938','2016-08-17 12:08:22'),(8713,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062704086303711','2016-08-17 12:08:25'),(8714,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:08:25'),(8715,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:08:25'),(8716,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:08:25'),(8717,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:08:25'),(8718,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 12:08:25'),(8719,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:08:25'),(8720,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 12:08:25'),(8721,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:08:25'),(8722,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:08:25'),(8723,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 12:08:25'),(8724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:08:25'),(8725,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/assetReport','0.017245054244995','2016-08-17 12:08:26'),(8726,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/assetReport%\"','glreports/assetReport','0.011069059371948','2016-08-17 12:08:26'),(8727,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/assetReport','0.00089097023010254','2016-08-17 12:08:26'),(8728,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00047492980957031','2016-08-17 12:08:26'),(8729,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045418739318848','2016-08-17 12:08:26'),(8730,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045108795166016','2016-08-17 12:08:26'),(8731,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044703483581543','2016-08-17 12:08:26'),(8732,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044894218444824','2016-08-17 12:08:26'),(8733,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044512748718262','2016-08-17 12:08:26'),(8734,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044894218444824','2016-08-17 12:08:26'),(8735,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045990943908691','2016-08-17 12:08:26'),(8736,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045013427734375','2016-08-17 12:08:26'),(8737,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044798851013184','2016-08-17 12:08:26'),(8738,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceDr` as openingBal, ifnull(c.openingBalanceDr, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceDr, ifnull(c.balanceAsset, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceAsset\nFROM (`view_asset_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  2\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/assetReport','0.10842490196228','2016-08-17 12:08:26'),(8739,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/assetReport','0.00084996223449707','2016-08-17 12:08:26'),(8740,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/assetReport','0.00041508674621582','2016-08-17 12:08:26'),(8741,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/assetReport','0.00050687789916992','2016-08-17 12:08:26'),(8742,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.039741992950439','2016-08-17 12:08:30'),(8743,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001305103302002','2016-08-17 12:08:30'),(8744,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012929439544678','2016-08-17 12:08:30'),(8745,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012640953063965','2016-08-17 12:08:30'),(8746,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.061476945877075','2016-08-17 12:08:30'),(8747,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043296813964844','2016-08-17 12:08:30'),(8748,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-17 12:08:30'),(8749,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0013549327850342','2016-08-17 12:08:32'),(8750,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001255989074707','2016-08-17 12:08:32'),(8751,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012459754943848','2016-08-17 12:08:32'),(8752,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012941360473633','2016-08-17 12:08:32'),(8753,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0020909309387207','2016-08-17 12:08:32'),(8754,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0013659000396729','2016-08-17 12:08:32'),(8755,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0011959075927734','2016-08-17 12:08:32'),(8756,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0022201538085938','2016-08-17 12:08:35'),(8757,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00047111511230469','2016-08-17 12:08:35'),(8758,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00048494338989258','2016-08-17 12:08:35'),(8759,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/assetReport','0.00052094459533691','2016-08-17 12:08:39'),(8760,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/assetReport%\"','glreports/assetReport','0.00099897384643555','2016-08-17 12:08:39'),(8761,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/assetReport','0.00086498260498047','2016-08-17 12:08:39'),(8762,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00047707557678223','2016-08-17 12:08:39'),(8763,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045299530029297','2016-08-17 12:08:39'),(8764,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045084953308105','2016-08-17 12:08:39'),(8765,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044798851013184','2016-08-17 12:08:39'),(8766,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044894218444824','2016-08-17 12:08:39'),(8767,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044679641723633','2016-08-17 12:08:39'),(8768,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045108795166016','2016-08-17 12:08:39'),(8769,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044989585876465','2016-08-17 12:08:39'),(8770,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045013427734375','2016-08-17 12:08:39'),(8771,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044608116149902','2016-08-17 12:08:39'),(8772,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceDr` as openingBal, ifnull(c.openingBalanceDr, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceDr, ifnull(c.balanceAsset, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceAsset\nFROM (`view_asset_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  2\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/assetReport','0.2459180355072','2016-08-17 12:08:39'),(8773,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/assetReport','0.0008690357208252','2016-08-17 12:08:39'),(8774,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/assetReport','0.0004119873046875','2016-08-17 12:08:39'),(8775,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/assetReport','0.00051999092102051','2016-08-17 12:08:39'),(8776,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0018529891967773','2016-08-17 12:08:42'),(8777,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.0004580020904541','2016-08-17 12:08:42'),(8778,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00050806999206543','2016-08-17 12:08:42'),(8779,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0016410350799561','2016-08-17 12:08:44'),(8780,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'25\'','setup/assetSetup','0.0015900135040283','2016-08-17 12:08:44'),(8781,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.00042295455932617','2016-08-17 12:08:44'),(8782,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00051116943359375','2016-08-17 12:08:44'),(8783,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00051188468933105','2016-08-17 12:08:47'),(8784,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010859966278076','2016-08-17 12:08:47'),(8785,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041890144348145','2016-08-17 12:08:47'),(8786,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00084590911865234','2016-08-17 12:08:47'),(8787,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047492980957031','2016-08-17 12:08:47'),(8788,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045108795166016','2016-08-17 12:08:47'),(8789,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045204162597656','2016-08-17 12:08:47'),(8790,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00046086311340332','2016-08-17 12:08:47'),(8791,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045013427734375','2016-08-17 12:08:47'),(8792,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:08:47'),(8793,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045084953308105','2016-08-17 12:08:47'),(8794,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044894218444824','2016-08-17 12:08:47'),(8795,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044918060302734','2016-08-17 12:08:47'),(8796,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:08:47'),(8797,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.015476226806641','2016-08-17 12:08:47'),(8798,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00051498413085938','2016-08-17 12:08:47'),(8799,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0062351226806641','2016-08-17 12:08:47'),(8800,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0010671615600586','2016-08-17 12:08:47'),(8801,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.058457851409912','2016-08-17 12:08:47'),(8802,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00047206878662109','2016-08-17 12:08:47'),(8803,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050902366638184','2016-08-17 12:08:47'),(8804,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.0030348300933838','2016-08-17 12:08:47'),(8805,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00051498413085938','2016-08-17 12:08:54'),(8806,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010051727294922','2016-08-17 12:08:54'),(8807,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041508674621582','2016-08-17 12:08:54'),(8808,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00085210800170898','2016-08-17 12:08:54'),(8809,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047492980957031','2016-08-17 12:08:54'),(8810,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045108795166016','2016-08-17 12:08:54'),(8811,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045204162597656','2016-08-17 12:08:54'),(8812,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:08:54'),(8813,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047206878662109','2016-08-17 12:08:54'),(8814,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044512748718262','2016-08-17 12:08:54'),(8815,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:08:54'),(8816,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:08:54'),(8817,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:08:54'),(8818,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:08:54'),(8819,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.0004570484161377','2016-08-17 12:08:54'),(8820,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00051188468933105','2016-08-17 12:08:54'),(8821,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00053191184997559','2016-08-17 12:08:54'),(8822,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00067901611328125','2016-08-17 12:08:54'),(8823,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.034861087799072','2016-08-17 12:08:54'),(8824,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00045180320739746','2016-08-17 12:08:54'),(8825,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050592422485352','2016-08-17 12:08:54'),(8826,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.00064492225646973','2016-08-17 12:08:54'),(8827,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00051689147949219','2016-08-17 12:08:57'),(8828,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010068416595459','2016-08-17 12:08:57'),(8829,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041604042053223','2016-08-17 12:08:57'),(8830,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00085115432739258','2016-08-17 12:08:57'),(8831,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047612190246582','2016-08-17 12:08:57'),(8832,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045108795166016','2016-08-17 12:08:57'),(8833,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045299530029297','2016-08-17 12:08:57'),(8834,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:08:57'),(8835,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044918060302734','2016-08-17 12:08:57'),(8836,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.0004570484161377','2016-08-17 12:08:57'),(8837,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044822692871094','2016-08-17 12:08:57'),(8838,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:08:57'),(8839,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044894218444824','2016-08-17 12:08:57'),(8840,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044393539428711','2016-08-17 12:08:57'),(8841,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.00045990943908691','2016-08-17 12:08:57'),(8842,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00051283836364746','2016-08-17 12:08:57'),(8843,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00053286552429199','2016-08-17 12:08:57'),(8844,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00067806243896484','2016-08-17 12:08:57'),(8845,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.034713983535767','2016-08-17 12:08:57'),(8846,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00045490264892578','2016-08-17 12:08:57'),(8847,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050997734069824','2016-08-17 12:08:57'),(8848,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.00063204765319824','2016-08-17 12:08:58'),(8849,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00051999092102051','2016-08-17 12:09:04'),(8850,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010049343109131','2016-08-17 12:09:04'),(8851,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041913986206055','2016-08-17 12:09:04'),(8852,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00085592269897461','2016-08-17 12:09:04'),(8853,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047492980957031','2016-08-17 12:09:04'),(8854,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045204162597656','2016-08-17 12:09:04'),(8855,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:04'),(8856,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:09:04'),(8857,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:09:04'),(8858,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044417381286621','2016-08-17 12:09:04'),(8859,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045013427734375','2016-08-17 12:09:04'),(8860,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:09:04'),(8861,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:04'),(8862,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:09:04'),(8863,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.00046086311340332','2016-08-17 12:09:04'),(8864,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00051021575927734','2016-08-17 12:09:04'),(8865,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00053000450134277','2016-08-17 12:09:04'),(8866,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00068807601928711','2016-08-17 12:09:04'),(8867,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.034958124160767','2016-08-17 12:09:04'),(8868,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00046300888061523','2016-08-17 12:09:04'),(8869,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050806999206543','2016-08-17 12:09:04'),(8870,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.00063395500183105','2016-08-17 12:09:04'),(8871,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00051593780517578','2016-08-17 12:09:12'),(8872,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010139942169189','2016-08-17 12:09:12'),(8873,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041890144348145','2016-08-17 12:09:12'),(8874,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.0008699893951416','2016-08-17 12:09:12'),(8875,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047683715820312','2016-08-17 12:09:12'),(8876,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045204162597656','2016-08-17 12:09:12'),(8877,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:12'),(8878,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:09:12'),(8879,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:09:12');
INSERT INTO `_log_query` VALUES (8880,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044417381286621','2016-08-17 12:09:12'),(8881,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044918060302734','2016-08-17 12:09:12'),(8882,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:09:12'),(8883,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044703483581543','2016-08-17 12:09:12'),(8884,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:09:12'),(8885,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.00046181678771973','2016-08-17 12:09:12'),(8886,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00051379203796387','2016-08-17 12:09:12'),(8887,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00053596496582031','2016-08-17 12:09:12'),(8888,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00068402290344238','2016-08-17 12:09:12'),(8889,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.035048007965088','2016-08-17 12:09:12'),(8890,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:12'),(8891,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00052595138549805','2016-08-17 12:09:12'),(8892,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.00062799453735352','2016-08-17 12:09:12'),(8893,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'\nGROUP BY `b`.`journalID`','transfer/index','0.041349172592163','2016-08-17 12:09:15'),(8894,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','transfer/index','0.00099802017211914','2016-08-17 12:09:15'),(8895,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','transfer/index','0.00042605400085449','2016-08-17 12:09:15'),(8896,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','transfer/index','0.00051093101501465','2016-08-17 12:09:15'),(8897,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00054311752319336','2016-08-17 12:09:18'),(8898,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010249614715576','2016-08-17 12:09:19'),(8899,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00042104721069336','2016-08-17 12:09:19'),(8900,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.0008549690246582','2016-08-17 12:09:19'),(8901,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047779083251953','2016-08-17 12:09:19'),(8902,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:19'),(8903,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045418739318848','2016-08-17 12:09:19'),(8904,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044703483581543','2016-08-17 12:09:19'),(8905,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045180320739746','2016-08-17 12:09:19'),(8906,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:09:19'),(8907,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045108795166016','2016-08-17 12:09:19'),(8908,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:09:19'),(8909,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045084953308105','2016-08-17 12:09:19'),(8910,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:09:19'),(8911,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.0004580020904541','2016-08-17 12:09:19'),(8912,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00051283836364746','2016-08-17 12:09:19'),(8913,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00053286552429199','2016-08-17 12:09:19'),(8914,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00067591667175293','2016-08-17 12:09:19'),(8915,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.034687995910645','2016-08-17 12:09:19'),(8916,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:19'),(8917,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.0005180835723877','2016-08-17 12:09:19'),(8918,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.00062704086303711','2016-08-17 12:09:19'),(8919,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'\nGROUP BY `b`.`journalID`','transfer/index','0.0070788860321045','2016-08-17 12:09:33'),(8920,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','transfer/index','0.0010471343994141','2016-08-17 12:09:33'),(8921,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','transfer/index','0.00042891502380371','2016-08-17 12:09:33'),(8922,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','transfer/index','0.00050997734069824','2016-08-17 12:09:33'),(8923,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.00052499771118164','2016-08-17 12:09:38'),(8924,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.0010178089141846','2016-08-17 12:09:38'),(8925,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00042200088500977','2016-08-17 12:09:38'),(8926,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.00089001655578613','2016-08-17 12:09:38'),(8927,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00048398971557617','2016-08-17 12:09:38'),(8928,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00046801567077637','2016-08-17 12:09:38'),(8929,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044608116149902','2016-08-17 12:09:38'),(8930,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045299530029297','2016-08-17 12:09:38'),(8931,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044989585876465','2016-08-17 12:09:38'),(8932,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:09:38'),(8933,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044989585876465','2016-08-17 12:09:38'),(8934,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-17 12:09:38'),(8935,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044989585876465','2016-08-17 12:09:38'),(8936,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044894218444824','2016-08-17 12:09:38'),(8937,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.00041604042053223','2016-08-17 12:09:38'),(8938,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.00041508674621582','2016-08-17 12:09:38'),(8939,25,32,'192.168.1.220','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.00045394897460938','2016-08-17 12:09:38'),(8940,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00045609474182129','2016-08-17 12:09:38'),(8941,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201601 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.10999298095703','2016-08-17 12:09:38'),(8942,25,32,'192.168.1.220','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201601\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.0039529800415039','2016-08-17 12:09:38'),(8943,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00046515464782715','2016-08-17 12:09:38'),(8944,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00035309791564941','2016-08-17 12:09:38'),(8945,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.00076413154602051','2016-08-17 12:09:38'),(8946,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00046014785766602','2016-08-17 12:09:38'),(8947,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00035405158996582','2016-08-17 12:09:38'),(8948,25,32,'192.168.1.220','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'25\'\nAND `a`.`acctID` =  \'33056\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.032415151596069','2016-08-17 12:09:38'),(8949,25,32,'192.168.1.220','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'25\'\nAND `accountID` =  \'33056\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.00033402442932129','2016-08-17 12:09:38'),(8950,25,32,'192.168.1.220','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.0021350383758545','2016-08-17 12:09:38'),(8951,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.0005030632019043','2016-08-17 12:09:38'),(8952,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.00050902366638184','2016-08-17 12:09:38'),(8953,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.00052690505981445','2016-08-17 12:09:41'),(8954,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.0010030269622803','2016-08-17 12:09:41'),(8955,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00087594985961914','2016-08-17 12:09:41'),(8956,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047993659973145','2016-08-17 12:09:41'),(8957,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.0004570484161377','2016-08-17 12:09:41'),(8958,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 12:09:41'),(8959,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 12:09:41'),(8960,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045585632324219','2016-08-17 12:09:41'),(8961,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 12:09:41'),(8962,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 12:09:41'),(8963,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 12:09:42'),(8964,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 12:09:42'),(8965,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044679641723633','2016-08-17 12:09:42'),(8966,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14352798461914','2016-08-17 12:09:42'),(8967,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.0008389949798584','2016-08-17 12:09:42'),(8968,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00041413307189941','2016-08-17 12:09:42'),(8969,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00050997734069824','2016-08-17 12:09:42'),(8970,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0022289752960205','2016-08-17 12:09:46'),(8971,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00049209594726562','2016-08-17 12:09:46'),(8972,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00049996376037598','2016-08-17 12:09:46'),(8973,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.053695917129517','2016-08-17 12:09:46'),(8974,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0011157989501953','2016-08-17 12:09:46'),(8975,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051999092102051','2016-08-17 12:09:46'),(8976,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051307678222656','2016-08-17 12:09:46'),(8977,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043829917907715','2016-08-17 12:09:46'),(8978,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043457984924316','2016-08-17 12:09:46'),(8979,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043462038040161','2016-08-17 12:09:46'),(8980,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043639183044434','2016-08-17 12:09:46'),(8981,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.054831027984619','2016-08-17 12:09:46'),(8982,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00037002563476562','2016-08-17 12:09:46'),(8983,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00041294097900391','2016-08-17 12:09:46'),(8984,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.0005490779876709','2016-08-17 12:09:49'),(8985,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010349750518799','2016-08-17 12:09:49'),(8986,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005791187286377','2016-08-17 12:09:49'),(8987,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041699409484863','2016-08-17 12:09:49'),(8988,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:09:49'),(8989,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00085210800170898','2016-08-17 12:09:49'),(8990,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:09:49'),(8991,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047588348388672','2016-08-17 12:09:49'),(8992,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:09:49'),(8993,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045204162597656','2016-08-17 12:09:49'),(8994,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:09:49'),(8995,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:50'),(8996,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 12:09:50'),(8997,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044512748718262','2016-08-17 12:09:50'),(8998,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 12:09:50'),(8999,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045013427734375','2016-08-17 12:09:50'),(9000,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 12:09:50'),(9001,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044703483581543','2016-08-17 12:09:50'),(9002,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:09:50'),(9003,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:09:50'),(9004,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:09:50'),(9005,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044584274291992','2016-08-17 12:09:50'),(9006,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:09:50'),(9007,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045108795166016','2016-08-17 12:09:50'),(9008,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:09:50'),(9009,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:09:50'),(9010,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.016454935073853','2016-08-17 12:09:50'),(9011,24,31,'192.168.1.204','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00050997734069824','2016-08-17 12:09:50'),(9012,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0063059329986572','2016-08-17 12:09:50'),(9013,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0011050701141357','2016-08-17 12:09:50'),(9014,24,31,'192.168.1.204','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 24) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 24\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'24\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.11411595344543','2016-08-17 12:09:50'),(9015,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00045299530029297','2016-08-17 12:09:50'),(9016,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050616264343262','2016-08-17 12:09:50'),(9017,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','glreports/profitNloss','0.038336992263794','2016-08-17 12:09:50'),(9018,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.13066697120667','2016-08-17 12:09:51'),(9019,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.10456395149231','2016-08-17 12:09:51'),(9020,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.10754609107971','2016-08-17 12:09:51'),(9021,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.10045003890991','2016-08-17 12:09:51'),(9022,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.088686943054199','2016-08-17 12:09:51'),(9023,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00040602684020996','2016-08-17 12:09:51'),(9024,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00037813186645508','2016-08-17 12:09:51'),(9025,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00051498413085938','2016-08-17 12:09:54'),(9026,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010030269622803','2016-08-17 12:09:54'),(9027,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041508674621582','2016-08-17 12:09:54'),(9028,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00084495544433594','2016-08-17 12:09:54'),(9029,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047397613525391','2016-08-17 12:09:54'),(9030,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045013427734375','2016-08-17 12:09:54'),(9031,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045084953308105','2016-08-17 12:09:54'),(9032,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044512748718262','2016-08-17 12:09:54'),(9033,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:09:54'),(9034,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:09:54'),(9035,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:09:54'),(9036,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:09:54'),(9037,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:09:54'),(9038,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:09:54'),(9039,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.0004580020904541','2016-08-17 12:09:54'),(9040,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00051212310791016','2016-08-17 12:09:54'),(9041,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0005347728729248','2016-08-17 12:09:54'),(9042,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00068783760070801','2016-08-17 12:09:54'),(9043,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.034933090209961','2016-08-17 12:09:54'),(9044,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00049400329589844','2016-08-17 12:09:54'),(9045,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00047206878662109','2016-08-17 12:09:54'),(9046,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0071821212768555','2016-08-17 12:09:54'),(9047,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050711631774902','2016-08-17 12:09:54'),(9048,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00043201446533203','2016-08-17 12:09:54'),(9049,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.00066709518432617','2016-08-17 12:09:54'),(9050,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00084805488586426','2016-08-17 12:09:54'),(9051,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00048208236694336','2016-08-17 12:09:54'),(9052,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:55'),(9053,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045299530029297','2016-08-17 12:09:55'),(9054,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044107437133789','2016-08-17 12:09:55'),(9055,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045299530029297','2016-08-17 12:09:55'),(9056,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044894218444824','2016-08-17 12:09:55'),(9057,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044894218444824','2016-08-17 12:09:55'),(9058,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:09:55'),(9059,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:09:55'),(9060,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045084953308105','2016-08-17 12:09:55'),(9061,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.00046300888061523','2016-08-17 12:09:55'),(9062,24,31,'192.168.1.204','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00050497055053711','2016-08-17 12:09:55'),(9063,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00056195259094238','2016-08-17 12:09:55'),(9064,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00069880485534668','2016-08-17 12:09:55'),(9065,24,31,'192.168.1.204','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 24) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 24\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'24\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.03499698638916','2016-08-17 12:09:55'),(9066,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00045394897460938','2016-08-17 12:09:55'),(9067,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050783157348633','2016-08-17 12:09:55'),(9068,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','glreports/profitNloss','0.00062799453735352','2016-08-17 12:09:55'),(9069,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00047492980957031','2016-08-17 12:10:01'),(9070,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.00097990036010742','2016-08-17 12:10:01'),(9071,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00037097930908203','2016-08-17 12:10:01'),(9072,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00080609321594238','2016-08-17 12:10:01'),(9073,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00042390823364258','2016-08-17 12:10:01'),(9074,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.0003960132598877','2016-08-17 12:10:01'),(9075,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00040197372436523','2016-08-17 12:10:01'),(9076,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00039196014404297','2016-08-17 12:10:01'),(9077,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00039482116699219','2016-08-17 12:10:01'),(9078,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00039100646972656','2016-08-17 12:10:01'),(9079,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00039219856262207','2016-08-17 12:10:01'),(9080,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00039100646972656','2016-08-17 12:10:01'),(9081,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.0003969669342041','2016-08-17 12:10:01'),(9082,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00039005279541016','2016-08-17 12:10:01'),(9083,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.00042200088500977','2016-08-17 12:10:02'),(9084,24,31,'192.168.1.204','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00045895576477051','2016-08-17 12:10:02'),(9085,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00048422813415527','2016-08-17 12:10:02'),(9086,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00063204765319824','2016-08-17 12:10:02'),(9087,24,31,'192.168.1.204','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 24) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 24\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'24\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.034833908081055','2016-08-17 12:10:02'),(9088,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00046014785766602','2016-08-17 12:10:02'),(9089,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00051093101501465','2016-08-17 12:10:02'),(9090,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','glreports/profitNloss','0.00064182281494141','2016-08-17 12:10:02'),(9091,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.0005190372467041','2016-08-17 12:10:04'),(9092,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010080337524414','2016-08-17 12:10:04'),(9093,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041604042053223','2016-08-17 12:10:04'),(9094,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00086307525634766','2016-08-17 12:10:04'),(9095,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047707557678223','2016-08-17 12:10:04'),(9096,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045084953308105','2016-08-17 12:10:04'),(9097,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00048303604125977','2016-08-17 12:10:04'),(9098,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045013427734375','2016-08-17 12:10:04'),(9099,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045204162597656','2016-08-17 12:10:04'),(9100,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:10:04'),(9101,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045084953308105','2016-08-17 12:10:04'),(9102,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:10:04'),(9103,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.0004570484161377','2016-08-17 12:10:04'),(9104,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:10:04'),(9105,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.00050783157348633','2016-08-17 12:10:04'),(9106,24,31,'192.168.1.204','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00051283836364746','2016-08-17 12:10:04'),(9107,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00054121017456055','2016-08-17 12:10:05'),(9108,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00068187713623047','2016-08-17 12:10:05'),(9109,24,31,'192.168.1.204','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 24) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 24\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'24\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.034932136535645','2016-08-17 12:10:05'),(9110,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.0004580020904541','2016-08-17 12:10:05'),(9111,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00051283836364746','2016-08-17 12:10:05'),(9112,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','glreports/profitNloss','0.00062894821166992','2016-08-17 12:10:05'),(9113,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.00054788589477539','2016-08-17 12:10:17'),(9114,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.0010449886322021','2016-08-17 12:10:17'),(9115,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00041985511779785','2016-08-17 12:10:17'),(9116,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.0008699893951416','2016-08-17 12:10:17'),(9117,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00048089027404785','2016-08-17 12:10:17'),(9118,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045418739318848','2016-08-17 12:10:17'),(9119,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:10:17'),(9120,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:10:17'),(9121,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045180320739746','2016-08-17 12:10:17'),(9122,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044703483581543','2016-08-17 12:10:17'),(9123,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044894218444824','2016-08-17 12:10:17'),(9124,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044608116149902','2016-08-17 12:10:17'),(9125,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:10:17'),(9126,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044512748718262','2016-08-17 12:10:17'),(9127,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.00050210952758789','2016-08-17 12:10:17'),(9128,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00052595138549805','2016-08-17 12:10:17'),(9129,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00055217742919922','2016-08-17 12:10:17'),(9130,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.00069499015808105','2016-08-17 12:10:17'),(9131,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.034840106964111','2016-08-17 12:10:17'),(9132,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00045394897460938','2016-08-17 12:10:17'),(9133,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050902366638184','2016-08-17 12:10:17'),(9134,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.00064516067504883','2016-08-17 12:10:18'),(9135,24,31,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.0017268657684326','2016-08-17 12:10:32'),(9136,24,31,'192.168.1.204','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'24\'','setup/assetSetup','0.0016491413116455','2016-08-17 12:10:32'),(9137,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.00042486190795898','2016-08-17 12:10:32'),(9138,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00050902366638184','2016-08-17 12:10:32'),(9139,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.019791126251221','2016-08-17 12:10:48'),(9140,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052595138549805','2016-08-17 12:10:48'),(9141,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-17 12:10:48'),(9142,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 12:10:48'),(9143,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043977022171021','2016-08-17 12:10:48'),(9144,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043745994567871','2016-08-17 12:10:48'),(9145,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043875932693481','2016-08-17 12:10:48'),(9146,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043826103210449','2016-08-17 12:10:48'),(9147,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.10138297080994','2016-08-17 12:10:48'),(9148,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0004429817199707','2016-08-17 12:10:48'),(9149,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051498413085938','2016-08-17 12:10:48'),(9150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-17 12:10:53'),(9151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:10:54'),(9152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:10:54'),(9153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:10:54'),(9154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:10:54'),(9155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:10:54'),(9156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:10:54'),(9157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 12:10:54'),(9158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:10:54'),(9159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:10:54'),(9160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 12:10:54'),(9161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:10:54'),(9162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062108039855957','2016-08-17 12:10:55'),(9163,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051021575927734','2016-08-17 12:10:55'),(9164,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:10:55'),(9165,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:10:55'),(9166,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:10:55'),(9167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:10:55'),(9168,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:10:55'),(9169,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:10:55'),(9170,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:10:55'),(9171,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:10:55'),(9172,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 12:10:55'),(9173,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:10:55'),(9174,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059318542480469','2016-08-17 12:10:58'),(9175,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058603286743164','2016-08-17 12:11:01'),(9176,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:11:02'),(9177,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:11:02'),(9178,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:11:02'),(9179,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:11:02'),(9180,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:11:02'),(9181,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-17 12:11:02'),(9182,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:11:02'),(9183,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:11:02'),(9184,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:11:02'),(9185,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:11:02'),(9186,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:11:02'),(9187,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:11:02'),(9188,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00061607360839844','2016-08-17 12:11:04'),(9189,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005180835723877','2016-08-17 12:11:04'),(9190,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051999092102051','2016-08-17 12:11:05'),(9191,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 12:11:05'),(9192,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.11649298667908','2016-08-17 12:11:05'),(9193,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043390989303589','2016-08-17 12:11:05'),(9194,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043387889862061','2016-08-17 12:11:05'),(9195,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.041507005691528','2016-08-17 12:11:05'),(9196,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.023787021636963','2016-08-17 12:11:05'),(9197,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.019304990768433','2016-08-17 12:11:05'),(9198,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0012459754943848','2016-08-17 12:11:05'),(9199,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064611434936523','2016-08-17 12:11:08'),(9200,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051522254943848','2016-08-17 12:11:08'),(9201,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:11:08'),(9202,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:11:08'),(9203,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:11:08'),(9204,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:11:08'),(9205,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:11:08'),(9206,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:11:08'),(9207,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:11:08'),(9208,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 12:11:08'),(9209,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:11:08'),(9210,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:11:08'),(9211,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062203407287598','2016-08-17 12:11:09'),(9212,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:11:09'),(9213,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:11:09'),(9214,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:11:09'),(9215,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:11:09'),(9216,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:11:09'),(9217,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:11:09'),(9218,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:11:09'),(9219,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:11:09'),(9220,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:11:09'),(9221,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 12:11:09'),(9222,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:11:09'),(9223,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00062298774719238','2016-08-17 12:11:14'),(9224,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058484077453613','2016-08-17 12:11:16'),(9225,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:11:16'),(9226,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:11:16'),(9227,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:11:16'),(9228,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 12:11:16'),(9229,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:11:16'),(9230,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:11:16'),(9231,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:11:16'),(9232,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 12:11:16'),(9233,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:11:16'),(9234,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:11:16'),(9235,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:11:16'),(9236,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 12:11:16'),(9237,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.11987018585205','2016-08-17 12:11:20'),(9238,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013811588287354','2016-08-17 12:11:20'),(9239,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 12:11:20'),(9240,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 12:11:20'),(9241,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 12:11:20'),(9242,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 12:11:20'),(9243,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 12:11:20'),(9244,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 12:11:20'),(9245,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 12:11:20'),(9246,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013868808746338','2016-08-17 12:11:20'),(9247,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 12:11:20'),(9248,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013761520385742','2016-08-17 12:11:20'),(9249,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015878677368164','2016-08-17 12:11:21'),(9250,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 12:11:21'),(9251,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 12:11:21'),(9252,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 12:11:21'),(9253,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 12:11:21'),(9254,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 12:11:21'),(9255,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 12:11:21'),(9256,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 12:11:21'),(9257,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013909339904785','2016-08-17 12:11:21'),(9258,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013601779937744','2016-08-17 12:11:21'),(9259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 12:11:21'),(9260,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 12:11:21'),(9261,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043048858642578','2016-08-17 12:11:23'),(9262,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-17 12:11:23'),(9263,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040538311004639','2016-08-17 12:11:24'),(9264,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041060447692871','2016-08-17 12:11:24'),(9265,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 12:11:24'),(9266,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040459632873535','2016-08-17 12:11:24'),(9267,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040898323059082','2016-08-17 12:11:24'),(9268,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 12:11:24'),(9269,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-17 12:11:24'),(9270,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040957927703857','2016-08-17 12:11:24'),(9271,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040731430053711','2016-08-17 12:11:24'),(9272,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 12:11:24'),(9273,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042488574981689','2016-08-17 12:11:25'),(9274,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040538311004639','2016-08-17 12:11:25'),(9275,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 12:11:25'),(9276,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-17 12:11:25'),(9277,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040979385375977','2016-08-17 12:11:25'),(9278,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041060447692871','2016-08-17 12:11:25'),(9279,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040309429168701','2016-08-17 12:11:25'),(9280,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040569305419922','2016-08-17 12:11:25'),(9281,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040841102600098','2016-08-17 12:11:25'),(9282,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 12:11:25'),(9283,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041160583496094','2016-08-17 12:11:25'),(9284,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040669441223145','2016-08-17 12:11:25'),(9285,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015671253204346','2016-08-17 12:11:29'),(9286,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040960311889648','2016-08-17 12:11:29'),(9287,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-17 12:11:35'),(9288,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:11:35'),(9289,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:11:35'),(9290,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:11:35'),(9291,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 12:11:35'),(9292,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:11:35'),(9293,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:11:35'),(9294,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-17 12:11:35'),(9295,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:11:35'),(9296,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 12:11:35'),(9297,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:11:35'),(9298,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:11:35'),(9299,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044708251953125','2016-08-17 12:11:35'),(9300,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043778419494629','2016-08-17 12:11:35'),(9301,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043280124664307','2016-08-17 12:11:35'),(9302,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043299198150635','2016-08-17 12:11:35'),(9303,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004417896270752','2016-08-17 12:11:35'),(9304,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043270587921143','2016-08-17 12:11:35'),(9305,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043160915374756','2016-08-17 12:11:35'),(9306,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043778419494629','2016-08-17 12:11:35'),(9307,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043461322784424','2016-08-17 12:11:35'),(9308,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043661594390869','2016-08-17 12:11:35'),(9309,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043649673461914','2016-08-17 12:11:35'),(9310,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043160915374756','2016-08-17 12:11:35'),(9311,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.012531042098999','2016-08-17 12:11:56'),(9312,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012550354003906','2016-08-17 12:11:56'),(9313,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001244068145752','2016-08-17 12:11:56'),(9314,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012309551239014','2016-08-17 12:11:56'),(9315,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.028470993041992','2016-08-17 12:11:56'),(9316,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042390823364258','2016-08-17 12:11:56'),(9317,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048685073852539','2016-08-17 12:11:56'),(9318,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063419342041016','2016-08-17 12:13:43'),(9319,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:13:43'),(9320,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:13:43'),(9321,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:13:43'),(9322,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:13:43'),(9323,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:13:43'),(9324,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:13:43'),(9325,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-17 12:13:43'),(9326,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:13:43'),(9327,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:13:43'),(9328,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 12:13:43'),(9329,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-17 12:13:43'),(9330,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061511993408203','2016-08-17 12:13:45'),(9331,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:13:45'),(9332,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:13:45'),(9333,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:13:45'),(9334,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:13:45'),(9335,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 12:13:45'),(9336,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:13:45'),(9337,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:13:45'),(9338,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:13:45'),(9339,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:13:45'),(9340,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 12:13:45'),(9341,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-17 12:13:45'),(9342,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059008598327637','2016-08-17 12:13:48'),(9343,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 12:13:50'),(9344,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 12:13:50'),(9345,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:13:50'),(9346,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:13:50'),(9347,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:13:50'),(9348,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:13:50'),(9349,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:13:50'),(9350,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:13:50'),(9351,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:13:50'),(9352,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:13:50'),(9353,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:13:50'),(9354,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 12:13:50'),(9355,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 12:13:50'),(9356,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063610076904297','2016-08-17 12:13:56'),(9357,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:13:56'),(9358,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:13:56'),(9359,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:13:56'),(9360,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:13:56'),(9361,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:13:56'),(9362,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 12:13:56'),(9363,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:13:56'),(9364,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:13:56'),(9365,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:13:56'),(9366,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:13:56'),(9367,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:13:56'),(9368,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00060319900512695','2016-08-17 12:13:58'),(9369,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:13:58'),(9370,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:13:58'),(9371,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:13:58'),(9372,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:13:58'),(9373,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:13:58'),(9374,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:13:58'),(9375,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:13:58'),(9376,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:13:58'),(9377,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:13:58'),(9378,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054717063903809','2016-08-17 12:13:58'),(9379,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:13:58'),(9380,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061988830566406','2016-08-17 12:14:09'),(9381,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:14:09'),(9382,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:14:09'),(9383,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 12:14:09'),(9384,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:14:09'),(9385,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 12:14:09'),(9386,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:14:09'),(9387,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 12:14:09'),(9388,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:14:09'),(9389,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:14:09'),(9390,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 12:14:09'),(9391,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:14:09'),(9392,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061321258544922','2016-08-17 12:14:10'),(9393,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:14:10'),(9394,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:14:10'),(9395,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:14:10'),(9396,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:14:10'),(9397,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:14:10'),(9398,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:14:10'),(9399,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:14:10'),(9400,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:14:10'),(9401,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:14:10'),(9402,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 12:14:10'),(9403,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:14:10'),(9404,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-17 12:14:23'),(9405,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 12:14:23'),(9406,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:14:23'),(9407,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:14:23'),(9408,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:14:23'),(9409,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:14:23'),(9410,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 12:14:23'),(9411,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 12:14:23'),(9412,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:14:23'),(9413,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:14:23'),(9414,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 12:14:23'),(9415,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:14:23'),(9416,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063014030456543','2016-08-17 12:14:25'),(9417,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:14:25'),(9418,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 12:14:25'),(9419,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:14:25'),(9420,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:14:25'),(9421,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 12:14:25'),(9422,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 12:14:25'),(9423,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:14:25'),(9424,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:14:25'),(9425,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:14:25'),(9426,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 12:14:25'),(9427,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:14:25'),(9428,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00061798095703125','2016-08-17 12:14:27'),(9429,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052905082702637','2016-08-17 12:14:27'),(9430,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-17 12:14:27'),(9431,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 12:14:27'),(9432,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.067138910293579','2016-08-17 12:14:27'),(9433,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043515920639038','2016-08-17 12:14:27'),(9434,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043298006057739','2016-08-17 12:14:27'),(9435,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043551206588745','2016-08-17 12:14:27'),(9436,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.10033988952637','2016-08-17 12:14:27'),(9437,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00043988227844238','2016-08-17 12:14:27'),(9438,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052499771118164','2016-08-17 12:14:27'),(9439,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.01967191696167','2016-08-17 12:14:33'),(9440,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:14:33'),(9441,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:14:33'),(9442,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:14:33'),(9443,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:14:33'),(9444,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:14:33'),(9445,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:14:33'),(9446,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 12:14:33'),(9447,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:14:33'),(9448,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:14:33'),(9449,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 12:14:33'),(9450,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:14:33'),(9451,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00057482719421387','2016-08-17 12:14:33'),(9452,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052380561828613','2016-08-17 12:14:33'),(9453,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051593780517578','2016-08-17 12:14:33'),(9454,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051522254943848','2016-08-17 12:14:33'),(9455,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078606605529785','2016-08-17 12:14:33'),(9456,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041604042053223','2016-08-17 12:14:33'),(9457,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051307678222656','2016-08-17 12:14:33'),(9458,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00063085556030273','2016-08-17 12:14:46'),(9459,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053286552429199','2016-08-17 12:14:46'),(9460,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051784515380859','2016-08-17 12:14:46'),(9461,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051498413085938','2016-08-17 12:14:46'),(9462,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078797340393066','2016-08-17 12:14:46'),(9463,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041985511779785','2016-08-17 12:14:46'),(9464,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051116943359375','2016-08-17 12:14:46'),(9465,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0006251335144043','2016-08-17 12:14:57'),(9466,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053286552429199','2016-08-17 12:14:57'),(9467,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-17 12:14:57'),(9468,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 12:14:57'),(9469,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13696479797363','2016-08-17 12:14:57'),(9470,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043713808059692','2016-08-17 12:14:57'),(9471,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04348611831665','2016-08-17 12:14:57'),(9472,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043704032897949','2016-08-17 12:14:57'),(9473,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.034754991531372','2016-08-17 12:14:57'),(9474,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00038790702819824','2016-08-17 12:14:57'),(9475,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00046610832214355','2016-08-17 12:14:57'),(9476,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006248950958252','2016-08-17 12:15:00'),(9477,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:15:00'),(9478,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:15:00'),(9479,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:15:00'),(9480,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:15:00'),(9481,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:15:00'),(9482,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:15:00'),(9483,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 12:15:00'),(9484,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:15:00'),(9485,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 12:15:00'),(9486,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 12:15:00'),(9487,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:15:00'),(9488,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061893463134766','2016-08-17 12:15:01'),(9489,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:15:01'),(9490,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:15:01'),(9491,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:15:01'),(9492,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:15:01'),(9493,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:15:01'),(9494,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:15:01'),(9495,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:15:01'),(9496,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:15:01'),(9497,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:15:01'),(9498,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:15:01'),(9499,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:15:01'),(9500,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058603286743164','2016-08-17 12:15:04'),(9501,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058293342590332','2016-08-17 12:15:06'),(9502,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 12:15:06'),(9503,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:15:06'),(9504,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050520896911621','2016-08-17 12:15:06'),(9505,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:15:06'),(9506,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:15:06'),(9507,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:15:06'),(9508,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:15:06'),(9509,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:15:06'),(9510,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:15:06'),(9511,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 12:15:06'),(9512,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:15:06'),(9513,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 12:15:06'),(9514,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.22783803939819','2016-08-17 12:15:10'),(9515,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014140605926514','2016-08-17 12:15:10'),(9516,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013868808746338','2016-08-17 12:15:10'),(9517,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013811588287354','2016-08-17 12:15:10'),(9518,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013949871063232','2016-08-17 12:15:10'),(9519,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 12:15:10'),(9520,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 12:15:10'),(9521,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 12:15:10'),(9522,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 12:15:10'),(9523,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013678073883057','2016-08-17 12:15:10'),(9524,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 12:15:10'),(9525,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 12:15:10'),(9526,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015628337860107','2016-08-17 12:15:11'),(9527,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 12:15:12'),(9528,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 12:15:12'),(9529,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 12:15:12'),(9530,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 12:15:12'),(9531,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 12:15:12'),(9532,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 12:15:12'),(9533,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 12:15:12'),(9534,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013968944549561','2016-08-17 12:15:12'),(9535,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 12:15:12'),(9536,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 12:15:12'),(9537,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 12:15:12'),(9538,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043599605560303','2016-08-17 12:15:14'),(9539,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041561126708984','2016-08-17 12:15:14'),(9540,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-17 12:15:14'),(9541,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041799545288086','2016-08-17 12:15:14'),(9542,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040669441223145','2016-08-17 12:15:14'),(9543,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041210651397705','2016-08-17 12:15:14'),(9544,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-17 12:15:14'),(9545,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040719509124756','2016-08-17 12:15:14'),(9546,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040628910064697','2016-08-17 12:15:14'),(9547,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040848255157471','2016-08-17 12:15:14'),(9548,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040881633758545','2016-08-17 12:15:14'),(9549,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040519237518311','2016-08-17 12:15:14'),(9550,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004241943359375','2016-08-17 12:15:15'),(9551,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040528774261475','2016-08-17 12:15:15'),(9552,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041210651397705','2016-08-17 12:15:15'),(9553,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040938854217529','2016-08-17 12:15:15'),(9554,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 12:15:15'),(9555,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040569305419922','2016-08-17 12:15:15'),(9556,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 12:15:15'),(9557,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040528774261475','2016-08-17 12:15:15'),(9558,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040521621704102','2016-08-17 12:15:15'),(9559,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040719509124756','2016-08-17 12:15:15'),(9560,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-17 12:15:15'),(9561,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-17 12:15:15'),(9562,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015189647674561','2016-08-17 12:15:18'),(9563,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041141510009766','2016-08-17 12:15:18'),(9564,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006260871887207','2016-08-17 12:15:22'),(9565,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:15:22'),(9566,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:15:22'),(9567,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:15:22'),(9568,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:15:22'),(9569,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:15:22'),(9570,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:15:22'),(9571,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 12:15:22'),(9572,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:15:22'),(9573,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:15:22'),(9574,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 12:15:22'),(9575,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:15:23'),(9576,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045499801635742','2016-08-17 12:15:23'),(9577,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004356861114502','2016-08-17 12:15:23'),(9578,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043230056762695','2016-08-17 12:15:23'),(9579,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043528079986572','2016-08-17 12:15:23'),(9580,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043110847473145','2016-08-17 12:15:23'),(9581,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043461322784424','2016-08-17 12:15:23'),(9582,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043277740478516','2016-08-17 12:15:23'),(9583,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043649673461914','2016-08-17 12:15:23'),(9584,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043351650238037','2016-08-17 12:15:23'),(9585,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043389797210693','2016-08-17 12:15:23'),(9586,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043339729309082','2016-08-17 12:15:23'),(9587,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043251514434814','2016-08-17 12:15:23'),(9588,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.078001022338867','2016-08-17 12:15:57'),(9589,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012359619140625','2016-08-17 12:15:57'),(9590,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0011911392211914','2016-08-17 12:15:57'),(9591,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.00118088722229','2016-08-17 12:15:57'),(9592,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-01-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.037523984909058','2016-08-17 12:15:57'),(9593,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00040698051452637','2016-08-17 12:15:57'),(9594,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048303604125977','2016-08-17 12:15:57'),(9595,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0019149780273438','2016-08-17 12:16:05'),(9596,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.001054048538208','2016-08-17 12:16:05'),(9597,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2069\'','expenses/addNew','0.0023090839385986','2016-08-17 12:16:05'),(9598,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2069\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.002396821975708','2016-08-17 12:16:05'),(9599,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000017\'','expenses/addNew','0.00051498413085938','2016-08-17 12:16:05'),(9600,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.0003821849822998','2016-08-17 12:16:05'),(9601,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047993659973145','2016-08-17 12:16:05'),(9602,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.08467698097229','2016-08-17 12:16:14'),(9603,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', \'31\', 1, 1, \'68\', \'450\', \'OP-A\', \'2016-02-03\', \'163\', \'1\')','expenses/saveExpense','0.062446117401123','2016-08-17 12:16:14'),(9604,24,31,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2112, `createdBy` = \'31\', `itemdescription` = \'mesen jahit\', `lineNo` = 1, `accountID` = \'33126\', `amountIncludedTax` = \'450\', `amountExcludedTax` = \'450\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1983\'','expenses/saveExpense','0.030048131942749','2016-08-17 12:16:14'),(9605,24,31,'192.168.1.204','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2112','expenses/saveExpense','0.029911041259766','2016-08-17 12:16:14'),(9606,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2112','expenses/saveExpense','0.027794122695923','2016-08-17 12:16:14'),(9607,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2112\nAND `ID` =  2112','expenses/saveExpense','0.00055098533630371','2016-08-17 12:16:14'),(9608,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'02\'\nORDER BY `ID` desc','expenses/saveExpense','0.0012621879577637','2016-08-17 12:16:14'),(9609,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'338\'','expenses/saveExpense','0.025210857391357','2016-08-17 12:16:14'),(9610,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000004\' WHERE `ID` =  2112','expenses/saveExpense','0.010729074478149','2016-08-17 12:16:15'),(9611,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2112','expenses/saveExpense','0.00054717063903809','2016-08-17 12:16:15'),(9612,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160200000004\', \'Pembelian Aset [OP-A[00000037]]\', \'Pembelian Aset [OP-A[00000037]]\', \'\', \'3\', \'2016-02-03\', \'16\', \'02\', 450, 450, \'31\')','expenses/saveExpense','0.009850025177002','2016-08-17 12:16:15'),(9613,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160200000004\', 1, \'mesen jahit\', \'33134\', 450, 1, \'1\', \'450\', \'02\', \'16\', \'1\', \'OP-A[00000037]\', \'User\')','expenses/saveExpense','0.060518026351929','2016-08-17 12:16:15'),(9614,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160200000004\', 2, \'mesen jahit\', \'33126\', 450, 1, \'1\', \'450\', \'02\', \'16\', \'1\', \'OP-A[00000037]\', \'User\')','expenses/saveExpense','0.0081889629364014','2016-08-17 12:16:15'),(9615,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 450, `total_amount_cr` = 450, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160200000004\'','expenses/saveExpense','0.032757043838501','2016-08-17 12:16:15'),(9616,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2112','expenses/saveExpense','0.030519962310791','2016-08-17 12:16:15'),(9617,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11035','expenses/saveExpense','0.010739088058472','2016-08-17 12:16:15'),(9618,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160200000004\'','expenses/saveExpense','0.025083065032959','2016-08-17 12:16:15'),(9619,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160200000004\'','expenses/saveExpense','0.00058412551879883','2016-08-17 12:16:15'),(9620,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33134\'\nAND `year` =  \'2016\'\nAND `period` =  \'2\'','expenses/saveExpense','0.025694131851196','2016-08-17 12:16:15'),(9621,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'2\'','expenses/saveExpense','0.022287845611572','2016-08-17 12:16:15'),(9622,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33126\'\nAND `year` =  \'2016\'\nAND `period` =  \'2\'','expenses/saveExpense','0.00045108795166016','2016-08-17 12:16:15'),(9623,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `ID` =  \'33126\'','expenses/saveExpense','0.0003960132598877','2016-08-17 12:16:15'),(9624,24,31,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'2\', \'33126\', \'2016\', \'2\', \'450\', \'0\', 450, \'User\', \'2016-08-17: 06:08:14\')','expenses/saveExpense','0.012212038040161','2016-08-17 12:16:15'),(9625,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013539791107178','2016-08-17 12:16:23'),(9626,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012609958648682','2016-08-17 12:16:23'),(9627,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012459754943848','2016-08-17 12:16:23'),(9628,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012369155883789','2016-08-17 12:16:23'),(9629,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021440982818604','2016-08-17 12:16:23'),(9630,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041699409484863','2016-08-17 12:16:23'),(9631,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048613548278809','2016-08-17 12:16:23'),(9632,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001352071762085','2016-08-17 12:16:38'),(9633,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012590885162354','2016-08-17 12:16:38'),(9634,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012350082397461','2016-08-17 12:16:38'),(9635,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012309551239014','2016-08-17 12:16:38'),(9636,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-01-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.002155065536499','2016-08-17 12:16:38'),(9637,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041699409484863','2016-08-17 12:16:38'),(9638,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048184394836426','2016-08-17 12:16:38'),(9639,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013527870178223','2016-08-17 12:16:50'),(9640,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012581348419189','2016-08-17 12:16:50'),(9641,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012528896331787','2016-08-17 12:16:50'),(9642,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012359619140625','2016-08-17 12:16:50'),(9643,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-01-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021400451660156','2016-08-17 12:16:50'),(9644,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004270076751709','2016-08-17 12:16:50'),(9645,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048589706420898','2016-08-17 12:16:50'),(9646,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0019311904907227','2016-08-17 12:16:54'),(9647,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010690689086914','2016-08-17 12:16:54'),(9648,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2069\'','expenses/addNew','0.0022120475769043','2016-08-17 12:16:54'),(9649,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2069\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0023918151855469','2016-08-17 12:16:54'),(9650,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000017\'','expenses/addNew','0.00051522254943848','2016-08-17 12:16:54'),(9651,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039410591125488','2016-08-17 12:16:54'),(9652,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00049090385437012','2016-08-17 12:16:54'),(9653,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018930435180664','2016-08-17 12:17:08'),(9654,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.001054048538208','2016-08-17 12:17:09'),(9655,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2069\'','expenses/addNew','0.0022091865539551','2016-08-17 12:17:09'),(9656,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2069\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0023908615112305','2016-08-17 12:17:09'),(9657,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000017\'','expenses/addNew','0.00052714347839355','2016-08-17 12:17:09'),(9658,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038909912109375','2016-08-17 12:17:09'),(9659,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.0004880428314209','2016-08-17 12:17:09'),(9660,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.082202911376953','2016-08-17 12:17:49'),(9661,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005340576171875','2016-08-17 12:17:49'),(9662,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005190372467041','2016-08-17 12:17:49'),(9663,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051403045654297','2016-08-17 12:17:49'),(9664,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00077509880065918','2016-08-17 12:17:49'),(9665,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041604042053223','2016-08-17 12:17:49'),(9666,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051188468933105','2016-08-17 12:17:49'),(9667,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.023114919662476','2016-08-17 12:17:53'),(9668,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'720\'\nAND `companyID` =  \'25\'','sales/print_sale','0.00039196014404297','2016-08-17 12:17:53'),(9669,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'720\'','sales/print_sale','0.0013360977172852','2016-08-17 12:17:53'),(9670,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00054597854614258','2016-08-17 12:17:53'),(9671,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011858940124512','2016-08-17 12:18:04'),(9672,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.0010230541229248','2016-08-17 12:18:04'),(9673,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'725\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00044012069702148','2016-08-17 12:18:04'),(9674,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'725\'','sales/edit_sale','0.00063204765319824','2016-08-17 12:18:04'),(9675,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'725\'','sales/edit_sale','0.0004279613494873','2016-08-17 12:18:04'),(9676,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00039911270141602','2016-08-17 12:18:04'),(9677,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050902366638184','2016-08-17 12:18:04'),(9678,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.00049710273742676','2016-08-17 12:18:09'),(9679,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', \'31\', 1, 1, \'68\', \'320\', \'OP-A\', \'2016-08-16\', \'163\', \'1\')','expenses/saveExpense','0.047068119049072','2016-08-17 12:18:09'),(9680,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2113, \'31\', \'kusyen\', 1, \'33122\', \'320\', \'320\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.024431943893433','2016-08-17 12:18:09'),(9681,24,31,'192.168.1.204','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2113','expenses/saveExpense','0.00080704689025879','2016-08-17 12:18:09'),(9682,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2113','expenses/saveExpense','0.029000997543335','2016-08-17 12:18:09'),(9683,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2113\nAND `ID` =  2113','expenses/saveExpense','0.00059914588928223','2016-08-17 12:18:09'),(9684,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','expenses/saveExpense','0.00051498413085938','2016-08-17 12:18:09'),(9685,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'334\'','expenses/saveExpense','0.029375076293945','2016-08-17 12:18:09'),(9686,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000042\' WHERE `ID` =  2113','expenses/saveExpense','0.022088050842285','2016-08-17 12:18:09'),(9687,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2113','expenses/saveExpense','0.00054001808166504','2016-08-17 12:18:09'),(9688,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000042\', \'Pembelian Aset [OP-A[00000038]]\', \'Pembelian Aset [OP-A[00000038]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 320, 320, \'31\')','expenses/saveExpense','0.015176773071289','2016-08-17 12:18:09'),(9689,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000042\', 1, \'kusyen\', \'33134\', 320, 1, \'1\', \'320\', \'08\', \'16\', \'1\', \'OP-A[00000038]\', \'User\')','expenses/saveExpense','0.015929937362671','2016-08-17 12:18:09'),(9690,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000042\', 2, \'kusyen\', \'33122\', 320, 1, \'1\', \'320\', \'08\', \'16\', \'1\', \'OP-A[00000038]\', \'User\')','expenses/saveExpense','0.0082070827484131','2016-08-17 12:18:09'),(9691,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 320, `total_amount_cr` = 320, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000042\'','expenses/saveExpense','0.016048908233643','2016-08-17 12:18:09'),(9692,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2113','expenses/saveExpense','0.016809940338135','2016-08-17 12:18:09'),(9693,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11036','expenses/saveExpense','0.02451491355896','2016-08-17 12:18:09'),(9694,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000042\'','expenses/saveExpense','0.02900505065918','2016-08-17 12:18:09'),(9695,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000042\'','expenses/saveExpense','0.00059413909912109','2016-08-17 12:18:09'),(9696,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33134\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00047111511230469','2016-08-17 12:18:09'),(9697,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.016140937805176','2016-08-17 12:18:09'),(9698,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33122\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00046706199645996','2016-08-17 12:18:09'),(9699,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33122\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0097630023956299','2016-08-17 12:18:09'),(9700,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00075197219848633','2016-08-17 12:18:10'),(9701,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'725\'\nAND `companyID` =  \'25\'','sales/print_sale','0.00043702125549316','2016-08-17 12:18:10'),(9702,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'725\'','sales/print_sale','0.0006251335144043','2016-08-17 12:18:10'),(9703,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00057387351989746','2016-08-17 12:18:10'),(9704,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013468265533447','2016-08-17 12:18:12'),(9705,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012528896331787','2016-08-17 12:18:12'),(9706,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012528896331787','2016-08-17 12:18:12'),(9707,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012369155883789','2016-08-17 12:18:12'),(9708,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021488666534424','2016-08-17 12:18:12'),(9709,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041890144348145','2016-08-17 12:18:12'),(9710,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048518180847168','2016-08-17 12:18:12'),(9711,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018620491027832','2016-08-17 12:18:15'),(9712,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010120868682861','2016-08-17 12:18:15'),(9713,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2090\'','expenses/addNew','0.0022590160369873','2016-08-17 12:18:15'),(9714,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2090\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0023910999298096','2016-08-17 12:18:15'),(9715,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000035\'','expenses/addNew','0.00052189826965332','2016-08-17 12:18:15'),(9716,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038981437683105','2016-08-17 12:18:15'),(9717,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047802925109863','2016-08-17 12:18:15'),(9718,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011818408966064','2016-08-17 12:18:18'),(9719,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.00099897384643555','2016-08-17 12:18:18'),(9720,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'740\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00042581558227539','2016-08-17 12:18:18'),(9721,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'740\'','sales/edit_sale','0.00063014030456543','2016-08-17 12:18:18'),(9722,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'740\'','sales/edit_sale','0.0004580020904541','2016-08-17 12:18:18'),(9723,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.0003969669342041','2016-08-17 12:18:18'),(9724,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050592422485352','2016-08-17 12:18:18'),(9725,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00081896781921387','2016-08-17 12:18:22'),(9726,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'740\'\nAND `companyID` =  \'25\'','sales/print_sale','0.00043797492980957','2016-08-17 12:18:22'),(9727,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'740\'','sales/print_sale','0.00062704086303711','2016-08-17 12:18:22'),(9728,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00057005882263184','2016-08-17 12:18:22'),(9729,24,31,'192.168.1.204','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'24\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.016593933105469','2016-08-17 12:18:25'),(9730,24,31,'192.168.1.204','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=24 and formID=55','expenses/printDetail','0.00040078163146973','2016-08-17 12:18:25'),(9731,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2090\'','expenses/printDetail','0.0022361278533936','2016-08-17 12:18:25'),(9732,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2090\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/printDetail','0.0024030208587646','2016-08-17 12:18:25'),(9733,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','expenses/printDetail','0.00058698654174805','2016-08-17 12:18:25'),(9734,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0014281272888184','2016-08-17 12:18:34'),(9735,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0013158321380615','2016-08-17 12:18:34'),(9736,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012819766998291','2016-08-17 12:18:34'),(9737,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012331008911133','2016-08-17 12:18:34'),(9738,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022571086883545','2016-08-17 12:18:34'),(9739,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004279613494873','2016-08-17 12:18:34'),(9740,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0004889965057373','2016-08-17 12:18:34'),(9741,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.00070405006408691','2016-08-17 12:18:37'),(9742,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.00040221214294434','2016-08-17 12:18:37'),(9743,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2061\'','expenses/printDetail','0.0022420883178711','2016-08-17 12:18:37'),(9744,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2061\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0023839473724365','2016-08-17 12:18:37'),(9745,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.00058507919311523','2016-08-17 12:18:37'),(9746,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013411045074463','2016-08-17 12:18:39'),(9747,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012500286102295','2016-08-17 12:18:39'),(9748,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001237154006958','2016-08-17 12:18:39'),(9749,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012290477752686','2016-08-17 12:18:39'),(9750,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0020990371704102','2016-08-17 12:18:39'),(9751,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041913986206055','2016-08-17 12:18:39'),(9752,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-17 12:18:39'),(9753,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.00070500373840332','2016-08-17 12:18:47'),(9754,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.00042414665222168','2016-08-17 12:18:47'),(9755,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2087\'','expenses/printDetail','0.0022411346435547','2016-08-17 12:18:47'),(9756,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2087\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0023839473724365','2016-08-17 12:18:47'),(9757,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.00059103965759277','2016-08-17 12:18:47'),(9758,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printAll','0.0006868839263916','2016-08-17 12:19:04'),(9759,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printAll','0.00040888786315918','2016-08-17 12:19:04'),(9760,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printAll','0.00063991546630859','2016-08-17 12:19:04'),(9761,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/printAll','0.0020830631256104','2016-08-17 12:19:04'),(9762,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printAll','0.00060009956359863','2016-08-17 12:19:04'),(9763,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.00070309638977051','2016-08-17 12:19:35'),(9764,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.00041294097900391','2016-08-17 12:19:35'),(9765,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2060\'','expenses/printDetail','0.0022439956665039','2016-08-17 12:19:35'),(9766,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2060\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0023860931396484','2016-08-17 12:19:35'),(9767,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.00059080123901367','2016-08-17 12:19:35'),(9768,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00062417984008789','2016-08-17 12:19:53'),(9769,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055503845214844','2016-08-17 12:19:53'),(9770,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00052404403686523','2016-08-17 12:19:53'),(9771,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051712989807129','2016-08-17 12:19:53'),(9772,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00074505805969238','2016-08-17 12:19:54'),(9773,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00040817260742188','2016-08-17 12:19:54'),(9774,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051403045654297','2016-08-17 12:19:54'),(9775,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0012190341949463','2016-08-17 12:19:57'),(9776,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.0010008811950684','2016-08-17 12:19:57'),(9777,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'728\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00043392181396484','2016-08-17 12:19:57'),(9778,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'728\'','sales/edit_sale','0.00062108039855957','2016-08-17 12:19:57'),(9779,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'728\'','sales/edit_sale','0.00045299530029297','2016-08-17 12:19:57'),(9780,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040006637573242','2016-08-17 12:19:57'),(9781,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050592422485352','2016-08-17 12:19:57'),(9782,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.001392126083374','2016-08-17 12:20:03'),(9783,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0013110637664795','2016-08-17 12:20:03'),(9784,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012650489807129','2016-08-17 12:20:03'),(9785,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012619495391846','2016-08-17 12:20:03'),(9786,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0020039081573486','2016-08-17 12:20:03'),(9787,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041508674621582','2016-08-17 12:20:03'),(9788,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 12:20:03'),(9789,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013551712036133','2016-08-17 12:20:07'),(9790,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001276969909668','2016-08-17 12:20:07'),(9791,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012409687042236','2016-08-17 12:20:07'),(9792,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012390613555908','2016-08-17 12:20:07'),(9793,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.025309085845947','2016-08-17 12:20:07'),(9794,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043010711669922','2016-08-17 12:20:07'),(9795,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 12:20:07'),(9796,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013430118560791','2016-08-17 12:20:09'),(9797,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012681484222412','2016-08-17 12:20:09'),(9798,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001244068145752','2016-08-17 12:20:09'),(9799,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012500286102295','2016-08-17 12:20:09'),(9800,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021209716796875','2016-08-17 12:20:09'),(9801,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042414665222168','2016-08-17 12:20:09'),(9802,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 12:20:09'),(9803,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.00070714950561523','2016-08-17 12:20:10'),(9804,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.00043392181396484','2016-08-17 12:20:10'),(9805,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2097\'','expenses/printDetail','0.0022578239440918','2016-08-17 12:20:10'),(9806,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2097\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0024030208587646','2016-08-17 12:20:10'),(9807,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.00058698654174805','2016-08-17 12:20:10'),(9808,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0019199848175049','2016-08-17 12:20:12'),(9809,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010659694671631','2016-08-17 12:20:12'),(9810,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2092\'','expenses/addNew','0.0022900104522705','2016-08-17 12:20:12'),(9811,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2092\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0024020671844482','2016-08-17 12:20:12'),(9812,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000037\'','expenses/addNew','0.00052595138549805','2016-08-17 12:20:12'),(9813,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039196014404297','2016-08-17 12:20:12'),(9814,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047898292541504','2016-08-17 12:20:12'),(9815,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'10990\'','expenses/saveExpense','0.0018270015716553','2016-08-17 12:21:20'),(9816,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_journal_table`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000037\'\nAND `formNo` =  \'Purchase of Fixed Asset [OP-A[00000030]]\'','expenses/saveExpense','0.13351702690125','2016-08-17 12:21:20'),(9817,24,31,'192.168.1.204','others','SELECT `comp_journal`.*, `comp_journal_detail`.*\nFROM (`comp_journal`)\nLEFT JOIN `comp_journal_detail` ON `comp_journal`.`journalID` = `comp_journal_detail`.`journalID` and comp_journal.companyID = comp_journal_detail.companyID\nWHERE `comp_journal`.`companyID` =  \'24\'\nAND `comp_journal`.`ID` =  \'10990\'','expenses/saveExpense','0.020941019058228','2016-08-17 12:21:20'),(9818,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal_detail`\nWHERE `ID` =  \'48519\'','expenses/saveExpense','0.037113189697266','2016-08-17 12:21:20'),(9819,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal_detail`\nWHERE `ID` =  \'48520\'','expenses/saveExpense','0.025234937667847','2016-08-17 12:21:20'),(9820,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal`\nWHERE `ID` =  \'10990\'','expenses/saveExpense','0.024471998214722','2016-08-17 12:21:20'),(9821,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.014682054519653','2016-08-17 12:21:20'),(9822,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'24\', `createdBy` = \'31\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1297\', `formNo` = \'OP-A\', `paymentDate` = \'2016-08-16\', `bankId` = \'164\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2092\'','expenses/saveExpense','0.022004127502441','2016-08-17 12:21:20'),(9823,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2092\', \'31\', \'katil\', 1, \'33122\', \'1257\', \'1257\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016078948974609','2016-08-17 12:21:20'),(9824,24,31,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2092\', `createdBy` = \'31\', `itemdescription` = \'almari\', `lineNo` = 1, `accountID` = \'33122\', `amountIncludedTax` = \'40\', `amountExcludedTax` = \'40\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2005\'','expenses/saveExpense','0.01655101776123','2016-08-17 12:21:20'),(9825,24,31,'192.168.1.204','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2092','expenses/saveExpense','0.017656087875366','2016-08-17 12:21:20'),(9826,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  \'2092\'','expenses/saveExpense','0.076743125915527','2016-08-17 12:21:20'),(9827,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  \'2092\'\nAND `ID` =  \'2092\'','expenses/saveExpense','0.00054597854614258','2016-08-17 12:21:20'),(9828,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','expenses/saveExpense','0.0098710060119629','2016-08-17 12:21:20'),(9829,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'334\'','expenses/saveExpense','0.027708053588867','2016-08-17 12:21:20'),(9830,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000043\' WHERE `ID` =  \'2092\'','expenses/saveExpense','0.018797874450684','2016-08-17 12:21:20'),(9831,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  \'2092\'','expenses/saveExpense','0.00048589706420898','2016-08-17 12:21:20'),(9832,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000043\', \'Pembelian Aset [OP-A[00000030]]\', \'Pembelian Aset [OP-A[00000030]]\', \'\', \'3\', \'2016-08-16\', \'16\', \'08\', 1297, 1297, \'31\')','expenses/saveExpense','0.015243053436279','2016-08-17 12:21:20'),(9833,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000043\', 1, \'almari\', \'33135\', 40, 1, \'1\', \'40\', \'08\', \'16\', \'1\', \'OP-A[00000030]\', \'User\')','expenses/saveExpense','0.022413969039917','2016-08-17 12:21:20'),(9834,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000043\', 2, \'almari\', \'33122\', 40, 1, \'1\', \'40\', \'08\', \'16\', \'1\', \'OP-A[00000030]\', \'User\')','expenses/saveExpense','0.018286943435669','2016-08-17 12:21:20'),(9835,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000043\', 3, \'katil\', \'33135\', 1257, 1, \'1\', \'1257\', \'08\', \'16\', \'1\', \'OP-A[00000030]\', \'User\')','expenses/saveExpense','0.016512155532837','2016-08-17 12:21:20'),(9836,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000043\', 4, \'katil\', \'33122\', 1257, 1, \'1\', \'1257\', \'08\', \'16\', \'1\', \'OP-A[00000030]\', \'User\')','expenses/saveExpense','0.015885829925537','2016-08-17 12:21:20'),(9837,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 1297, `total_amount_cr` = 1297, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000043\'','expenses/saveExpense','0.016667127609253','2016-08-17 12:21:20'),(9838,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2092\'','expenses/saveExpense','0.016171932220459','2016-08-17 12:21:20'),(9839,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11037','expenses/saveExpense','0.025051116943359','2016-08-17 12:21:20'),(9840,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000043\'','expenses/saveExpense','0.032746076583862','2016-08-17 12:21:20'),(9841,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000043\'','expenses/saveExpense','0.00059390068054199','2016-08-17 12:21:20'),(9842,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33135\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.042572021484375','2016-08-17 12:21:20'),(9843,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.030959129333496','2016-08-17 12:21:20'),(9844,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33122\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00050806999206543','2016-08-17 12:21:20'),(9845,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33122\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012924194335938','2016-08-17 12:21:20'),(9846,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33135\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00048613548278809','2016-08-17 12:21:21'),(9847,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023661851882935','2016-08-17 12:21:21'),(9848,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33122\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00049209594726562','2016-08-17 12:21:21'),(9849,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33122\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.038906812667847','2016-08-17 12:21:21'),(9850,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'11037\'','report/journalDetails','0.10508489608765','2016-08-17 12:21:27'),(9851,24,31,'192.168.1.204','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000043\'\nORDER BY `sequence`','report/journalDetails','0.036617040634155','2016-08-17 12:21:27'),(9852,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.019838094711304','2016-08-17 12:21:27'),(9853,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.0032398700714111','2016-08-17 12:21:27'),(9854,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.03523588180542','2016-08-17 12:21:30'),(9855,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0020740032196045','2016-08-17 12:21:30'),(9856,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2092\'','expenses/addNew','0.0052800178527832','2016-08-17 12:21:30'),(9857,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2092\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0031788349151611','2016-08-17 12:21:30'),(9858,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000043\'','expenses/addNew','0.0013439655303955','2016-08-17 12:21:30'),(9859,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039315223693848','2016-08-17 12:21:30'),(9860,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048279762268066','2016-08-17 12:21:30'),(9861,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013961791992188','2016-08-17 12:21:35'),(9862,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012569427490234','2016-08-17 12:21:35'),(9863,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012609958648682','2016-08-17 12:21:35'),(9864,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012350082397461','2016-08-17 12:21:35'),(9865,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.002155065536499','2016-08-17 12:21:35'),(9866,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004270076751709','2016-08-17 12:21:35'),(9867,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049400329589844','2016-08-17 12:21:35'),(9868,24,31,'192.168.1.204','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'24\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.015747785568237','2016-08-17 12:21:40'),(9869,24,31,'192.168.1.204','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=24 and formID=55','expenses/printDetail','0.0085020065307617','2016-08-17 12:21:40'),(9870,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2092\'','expenses/printDetail','0.0034990310668945','2016-08-17 12:21:40'),(9871,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2092\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/printDetail','0.002392053604126','2016-08-17 12:21:40'),(9872,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','expenses/printDetail','0.019852876663208','2016-08-17 12:21:40'),(9873,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.0017049312591553','2016-08-17 12:22:13'),(9874,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.02869701385498','2016-08-17 12:22:13'),(9875,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2097\'','expenses/printDetail','0.0060479640960693','2016-08-17 12:22:13'),(9876,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2097\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0034441947937012','2016-08-17 12:22:13'),(9877,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.002608060836792','2016-08-17 12:22:13'),(9878,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.087866067886353','2016-08-17 12:23:34'),(9879,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.011125802993774','2016-08-17 12:23:34'),(9880,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00042510032653809','2016-08-17 12:23:34'),(9881,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00089597702026367','2016-08-17 12:23:34'),(9882,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00047802925109863','2016-08-17 12:23:34'),(9883,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045514106750488','2016-08-17 12:23:34'),(9884,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:23:34'),(9885,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:23:34'),(9886,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045084953308105','2016-08-17 12:23:34'),(9887,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:23:34'),(9888,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045418739318848','2016-08-17 12:23:34'),(9889,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044703483581543','2016-08-17 12:23:34'),(9890,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044989585876465','2016-08-17 12:23:34'),(9891,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044488906860352','2016-08-17 12:23:34'),(9892,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.0034630298614502','2016-08-17 12:23:34'),(9893,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00052714347839355','2016-08-17 12:23:34'),(9894,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0052270889282227','2016-08-17 12:23:34'),(9895,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0010631084442139','2016-08-17 12:23:34'),(9896,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.11555480957031','2016-08-17 12:23:34'),(9897,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.020503044128418','2016-08-17 12:23:34'),(9898,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.010622978210449','2016-08-17 12:23:34'),(9899,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.016258955001831','2016-08-17 12:23:34'),(9900,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/assetReport','0.00054097175598145','2016-08-17 12:23:43'),(9901,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/assetReport%\"','glreports/assetReport','0.0010039806365967','2016-08-17 12:23:43'),(9902,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/assetReport','0.00089001655578613','2016-08-17 12:23:43'),(9903,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00048494338989258','2016-08-17 12:23:43'),(9904,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00047016143798828','2016-08-17 12:23:43'),(9905,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045299530029297','2016-08-17 12:23:43'),(9906,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045394897460938','2016-08-17 12:23:43'),(9907,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045204162597656','2016-08-17 12:23:43'),(9908,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044894218444824','2016-08-17 12:23:43'),(9909,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045299530029297','2016-08-17 12:23:43'),(9910,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044894218444824','2016-08-17 12:23:43'),(9911,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045180320739746','2016-08-17 12:23:43'),(9912,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00047707557678223','2016-08-17 12:23:43'),(9913,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceDr` as openingBal, ifnull(c.openingBalanceDr, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceDr, ifnull(c.balanceAsset, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceAsset\nFROM (`view_asset_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  2\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/assetReport','0.1911141872406','2016-08-17 12:23:43'),(9914,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/assetReport','0.00085306167602539','2016-08-17 12:23:43'),(9915,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/assetReport','0.00042200088500977','2016-08-17 12:23:44'),(9916,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/assetReport','0.00055098533630371','2016-08-17 12:23:44'),(9917,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.02128005027771','2016-08-17 12:23:50'),(9918,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053310394287109','2016-08-17 12:23:50'),(9919,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052595138549805','2016-08-17 12:23:50'),(9920,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051689147949219','2016-08-17 12:23:50'),(9921,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.044347047805786','2016-08-17 12:23:50'),(9922,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043925046920776','2016-08-17 12:23:50'),(9923,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043697834014893','2016-08-17 12:23:50'),(9924,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043812990188599','2016-08-17 12:23:50'),(9925,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.092755079269409','2016-08-17 12:23:50'),(9926,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00042414665222168','2016-08-17 12:23:50'),(9927,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053191184997559','2016-08-17 12:23:50'),(9928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-17 12:23:54'),(9929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 12:23:54'),(9930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-17 12:23:54'),(9931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00095486640930176','2016-08-17 12:23:54'),(9932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:23:54'),(9933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:23:54'),(9934,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:23:54'),(9935,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:23:54'),(9936,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:23:54'),(9937,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 12:23:54'),(9938,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:23:54'),(9939,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:23:54'),(9940,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061798095703125','2016-08-17 12:23:55'),(9941,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 12:23:56'),(9942,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 12:23:56'),(9943,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:23:56'),(9944,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:23:56'),(9945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 12:23:56'),(9946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:23:56'),(9947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:23:56'),(9948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:23:56'),(9949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:23:56'),(9950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:23:56'),(9951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:23:56'),(9952,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00062894821166992','2016-08-17 12:23:59'),(9953,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053501129150391','2016-08-17 12:23:59'),(9954,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052094459533691','2016-08-17 12:23:59'),(9955,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051689147949219','2016-08-17 12:23:59'),(9956,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078892707824707','2016-08-17 12:23:59'),(9957,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042104721069336','2016-08-17 12:23:59'),(9958,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051307678222656','2016-08-17 12:23:59'),(9959,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0432288646698','2016-08-17 12:24:08'),(9960,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0013079643249512','2016-08-17 12:24:08'),(9961,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012609958648682','2016-08-17 12:24:08'),(9962,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.001255989074707','2016-08-17 12:24:08'),(9963,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.004094123840332','2016-08-17 12:24:08'),(9964,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041604042053223','2016-08-17 12:24:08'),(9965,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048112869262695','2016-08-17 12:24:08'),(9966,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.086207151412964','2016-08-17 12:24:16'),(9967,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.0085711479187012','2016-08-17 12:24:16'),(9968,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2111\'','expenses/printDetail','0.023403167724609','2016-08-17 12:24:16'),(9969,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2111\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0023910999298096','2016-08-17 12:24:16'),(9970,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.034363985061646','2016-08-17 12:24:16'),(9971,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0014090538024902','2016-08-17 12:24:24'),(9972,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013260841369629','2016-08-17 12:24:24'),(9973,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012669563293457','2016-08-17 12:24:24'),(9974,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012838840484619','2016-08-17 12:24:24'),(9975,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0034949779510498','2016-08-17 12:24:24'),(9976,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00045108795166016','2016-08-17 12:24:24'),(9977,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049304962158203','2016-08-17 12:24:24'),(9978,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013589859008789','2016-08-17 12:24:31'),(9979,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001276969909668','2016-08-17 12:24:31'),(9980,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012600421905518','2016-08-17 12:24:31'),(9981,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012378692626953','2016-08-17 12:24:31'),(9982,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.076910972595215','2016-08-17 12:24:31'),(9983,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042605400085449','2016-08-17 12:24:31'),(9984,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 12:24:31'),(9985,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.00072097778320312','2016-08-17 12:24:36'),(9986,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.00041508674621582','2016-08-17 12:24:36'),(9987,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2102\'','expenses/printDetail','0.0022649765014648','2016-08-17 12:24:36'),(9988,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2102\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0024039745330811','2016-08-17 12:24:36'),(9989,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.0006110668182373','2016-08-17 12:24:36'),(9990,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.00071501731872559','2016-08-17 12:26:39'),(9991,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.00041604042053223','2016-08-17 12:26:39'),(9992,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2048\'','expenses/printDetail','0.0022468566894531','2016-08-17 12:26:39'),(9993,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2048\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0023930072784424','2016-08-17 12:26:39'),(9994,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.00059795379638672','2016-08-17 12:26:39'),(9995,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0024330615997314','2016-08-17 12:27:07'),(9996,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053596496582031','2016-08-17 12:27:07'),(9997,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052809715270996','2016-08-17 12:27:07'),(9998,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051712989807129','2016-08-17 12:27:07'),(9999,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.081608057022095','2016-08-17 12:27:07'),(10000,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.044277906417847','2016-08-17 12:27:07'),(10001,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043745994567871','2016-08-17 12:27:07'),(10002,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043936967849731','2016-08-17 12:27:07'),(10003,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.058512926101685','2016-08-17 12:27:07'),(10004,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045394897460938','2016-08-17 12:27:07'),(10005,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052094459533691','2016-08-17 12:27:07'),(10006,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-17 12:27:11'),(10007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 12:27:11'),(10008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:27:11'),(10009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:27:11'),(10010,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:27:11'),(10011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:27:11'),(10012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:27:11'),(10013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:27:11'),(10014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:27:11'),(10015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 12:27:11'),(10016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:27:11'),(10017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:27:11'),(10018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006258487701416','2016-08-17 12:27:12'),(10019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:27:12'),(10020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:27:12'),(10021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:27:12'),(10022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:27:12'),(10023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:27:12'),(10024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:27:12'),(10025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:27:12'),(10026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:27:12'),(10027,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:27:12'),(10028,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 12:27:12'),(10029,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 12:27:12'),(10030,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059795379638672','2016-08-17 12:27:17'),(10031,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058317184448242','2016-08-17 12:27:18'),(10032,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 12:27:18'),(10033,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:27:18'),(10034,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:27:18'),(10035,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:27:18'),(10036,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:27:18'),(10037,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:27:18'),(10038,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:27:19'),(10039,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:27:19'),(10040,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:27:19'),(10041,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:27:19'),(10042,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:27:19'),(10043,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005037784576416','2016-08-17 12:27:19'),(10044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.013252973556519','2016-08-17 12:27:24'),(10045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014238357543945','2016-08-17 12:27:24'),(10046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014119148254395','2016-08-17 12:27:24'),(10047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013809204101562','2016-08-17 12:27:24'),(10048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.011579036712646','2016-08-17 12:27:24'),(10049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013737678527832','2016-08-17 12:27:24'),(10050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 12:27:24'),(10051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 12:27:24'),(10052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 12:27:24'),(10053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 12:27:24'),(10054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 12:27:24'),(10055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-17 12:27:24'),(10056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015790462493896','2016-08-17 12:27:25'),(10057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014030933380127','2016-08-17 12:27:25'),(10058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014100074768066','2016-08-17 12:27:25'),(10059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-17 12:27:25'),(10060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 12:27:25'),(10061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013980865478516','2016-08-17 12:27:25'),(10062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 12:27:25'),(10063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013718605041504','2016-08-17 12:27:25'),(10064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013728141784668','2016-08-17 12:27:25'),(10065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 12:27:25'),(10066,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-17 12:27:25'),(10067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 12:27:25'),(10068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043079853057861','2016-08-17 12:27:27'),(10069,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004141092300415','2016-08-17 12:27:27'),(10070,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040898323059082','2016-08-17 12:27:27'),(10071,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041148662567139','2016-08-17 12:27:27'),(10072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040979385375977','2016-08-17 12:27:27'),(10073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041470527648926','2016-08-17 12:27:27'),(10074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040881633758545','2016-08-17 12:27:27'),(10075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 12:27:27'),(10076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040569305419922','2016-08-17 12:27:27'),(10077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040638446807861','2016-08-17 12:27:27'),(10078,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 12:27:27'),(10079,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040731430053711','2016-08-17 12:27:27'),(10080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.017115831375122','2016-08-17 12:27:29'),(10081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041799545288086','2016-08-17 12:27:29'),(10082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041549205780029','2016-08-17 12:27:29'),(10083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041868686676025','2016-08-17 12:27:29'),(10084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041282176971436','2016-08-17 12:27:29'),(10085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041980743408203','2016-08-17 12:27:29'),(10086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043098926544189','2016-08-17 12:27:29'),(10087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041360855102539','2016-08-17 12:27:29'),(10088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041499137878418','2016-08-17 12:27:29'),(10089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041980743408203','2016-08-17 12:27:29'),(10090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041520595550537','2016-08-17 12:27:29'),(10091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004148006439209','2016-08-17 12:27:29'),(10092,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.038569927215576','2016-08-17 12:27:32'),(10093,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041429996490479','2016-08-17 12:27:32'),(10094,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.021708965301514','2016-08-17 12:27:36'),(10095,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:27:36'),(10096,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:27:36'),(10097,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:27:36'),(10098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:27:36'),(10099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:27:36'),(10100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:27:36'),(10101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:27:36'),(10102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:27:36'),(10103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 12:27:36'),(10104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 12:27:36'),(10105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 12:27:36'),(10106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0047190189361572','2016-08-17 12:27:36'),(10107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045261383056641','2016-08-17 12:27:36'),(10108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044591426849365','2016-08-17 12:27:36'),(10109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045158863067627','2016-08-17 12:27:36'),(10110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044851303100586','2016-08-17 12:27:36'),(10111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045359134674072','2016-08-17 12:27:36'),(10112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044510364532471','2016-08-17 12:27:36'),(10113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044999122619629','2016-08-17 12:27:36'),(10114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044679641723633','2016-08-17 12:27:36'),(10115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045280456542969','2016-08-17 12:27:36'),(10116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044949054718018','2016-08-17 12:27:36'),(10117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044820308685303','2016-08-17 12:27:36'),(10118,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00062394142150879','2016-08-17 12:28:40'),(10119,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053191184997559','2016-08-17 12:28:40'),(10120,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052189826965332','2016-08-17 12:28:40'),(10121,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051522254943848','2016-08-17 12:28:40'),(10122,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.15654802322388','2016-08-17 12:28:40'),(10123,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043815851211548','2016-08-17 12:28:40'),(10124,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043756008148193','2016-08-17 12:28:40'),(10125,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043806076049805','2016-08-17 12:28:40'),(10126,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.074938058853149','2016-08-17 12:28:40'),(10127,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.014503955841064','2016-08-17 12:28:40'),(10128,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0033578872680664','2016-08-17 12:28:40'),(10129,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00063896179199219','2016-08-17 12:28:45'),(10130,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:28:45'),(10131,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:28:45'),(10132,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:28:45'),(10133,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:28:45'),(10134,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:28:45'),(10135,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:28:45'),(10136,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 12:28:45'),(10137,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:28:45'),(10138,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:28:45'),(10139,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:28:45'),(10140,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:28:45'),(10141,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00061202049255371','2016-08-17 12:28:46'),(10142,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 12:28:46'),(10143,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:28:46'),(10144,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:28:46'),(10145,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:28:46'),(10146,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:28:46'),(10147,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 12:28:46'),(10148,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 12:28:46'),(10149,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:28:46'),(10150,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 12:28:46'),(10151,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:28:47'),(10152,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:28:47'),(10153,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059294700622559','2016-08-17 12:28:50'),(10154,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00057792663574219','2016-08-17 12:28:51'),(10155,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 12:28:51'),(10156,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:28:51'),(10157,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:28:51'),(10158,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:28:51'),(10159,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:28:51'),(10160,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:28:51'),(10161,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:28:51'),(10162,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:28:51'),(10163,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:28:51'),(10164,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:28:51'),(10165,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 12:28:51'),(10166,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 12:28:51'),(10167,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:28:51'),(10168,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:28:51'),(10169,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:28:51'),(10170,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:28:51'),(10171,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:28:51'),(10172,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 12:28:51'),(10173,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:28:51'),(10174,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:28:51'),(10175,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 12:28:51'),(10176,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 12:28:51'),(10177,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 12:28:51'),(10178,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:28:51'),(10179,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:28:51'),(10180,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 12:28:51'),(10181,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 12:28:51'),(10182,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:28:51'),(10183,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:28:51'),(10184,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 12:28:51'),(10185,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:28:51'),(10186,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.011735200881958','2016-08-17 12:28:51'),(10187,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:28:51'),(10188,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:28:51'),(10189,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00049996376037598','2016-08-17 12:28:51'),(10190,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 12:28:51'),(10191,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.086958885192871','2016-08-17 12:28:55'),(10192,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014019012451172','2016-08-17 12:28:55'),(10193,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014169216156006','2016-08-17 12:28:55'),(10194,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 12:28:56'),(10195,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-17 12:28:56'),(10196,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 12:28:56'),(10197,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 12:28:56'),(10198,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 12:28:56'),(10199,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 12:28:56'),(10200,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 12:28:56'),(10201,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 12:28:56'),(10202,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 12:28:56'),(10203,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0016019344329834','2016-08-17 12:28:57'),(10204,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014100074768066','2016-08-17 12:28:57'),(10205,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014019012451172','2016-08-17 12:28:57'),(10206,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013837814331055','2016-08-17 12:28:57'),(10207,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 12:28:57'),(10208,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013818740844727','2016-08-17 12:28:57'),(10209,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 12:28:57'),(10210,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013759136199951','2016-08-17 12:28:57'),(10211,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-17 12:28:57'),(10212,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013720989227295','2016-08-17 12:28:57'),(10213,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-17 12:28:57'),(10214,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 12:28:57'),(10215,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0047099590301514','2016-08-17 12:28:59'),(10216,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041539669036865','2016-08-17 12:28:59'),(10217,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004080057144165','2016-08-17 12:28:59'),(10218,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040919780731201','2016-08-17 12:28:59'),(10219,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 12:28:59'),(10220,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040519237518311','2016-08-17 12:28:59'),(10221,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040369033813477','2016-08-17 12:28:59'),(10222,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040459632873535','2016-08-17 12:28:59'),(10223,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040428638458252','2016-08-17 12:28:59'),(10224,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040419101715088','2016-08-17 12:28:59'),(10225,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040309429168701','2016-08-17 12:28:59'),(10226,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-17 12:28:59'),(10227,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043468475341797','2016-08-17 12:29:01'),(10228,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041580200195312','2016-08-17 12:29:01'),(10229,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041208267211914','2016-08-17 12:29:01'),(10230,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-17 12:29:01'),(10231,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040750503540039','2016-08-17 12:29:01'),(10232,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041098594665527','2016-08-17 12:29:01'),(10233,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040998458862305','2016-08-17 12:29:01'),(10234,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040512084960938','2016-08-17 12:29:01'),(10235,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041439533233643','2016-08-17 12:29:01'),(10236,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041399002075195','2016-08-17 12:29:01'),(10237,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040988922119141','2016-08-17 12:29:01'),(10238,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040228366851807','2016-08-17 12:29:01'),(10239,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015819072723389','2016-08-17 12:29:06'),(10240,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040709972381592','2016-08-17 12:29:06'),(10241,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.023295164108276','2016-08-17 12:29:10'),(10242,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:29:10'),(10243,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 12:29:10'),(10244,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:29:10'),(10245,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:29:10'),(10246,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:29:10'),(10247,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 12:29:10'),(10248,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 12:29:10'),(10249,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:29:10'),(10250,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005028247833252','2016-08-17 12:29:10'),(10251,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:29:10'),(10252,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:29:10'),(10253,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045170783996582','2016-08-17 12:29:10'),(10254,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043890476226807','2016-08-17 12:29:10'),(10255,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044260025024414','2016-08-17 12:29:10'),(10256,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044000148773193','2016-08-17 12:29:10'),(10257,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004331111907959','2016-08-17 12:29:10'),(10258,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043039321899414','2016-08-17 12:29:10'),(10259,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043818950653076','2016-08-17 12:29:10'),(10260,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043418407440186','2016-08-17 12:29:10'),(10261,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043799877166748','2016-08-17 12:29:10'),(10262,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043799877166748','2016-08-17 12:29:10'),(10263,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043559074401855','2016-08-17 12:29:10'),(10264,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043058395385742','2016-08-17 12:29:10'),(10265,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.22017312049866','2016-08-17 12:29:58'),(10266,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.10802412033081','2016-08-17 12:29:58'),(10267,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.10788702964783','2016-08-17 12:29:58'),(10268,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.10792398452759','2016-08-17 12:29:58'),(10269,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.10796689987183','2016-08-17 12:29:58'),(10270,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00041508674621582','2016-08-17 12:29:58'),(10271,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00047707557678223','2016-08-17 12:29:58'),(10272,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.015884160995483','2016-08-17 12:30:15'),(10273,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.0085301399230957','2016-08-17 12:30:15'),(10274,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2100\'','expenses/printDetail','0.0022399425506592','2016-08-17 12:30:15'),(10275,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2100\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0077860355377197','2016-08-17 12:30:15'),(10276,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.03345799446106','2016-08-17 12:30:15'),(10277,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.021159887313843','2016-08-17 12:31:20'),(10278,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.011064052581787','2016-08-17 12:31:20'),(10279,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00042414665222168','2016-08-17 12:31:20'),(10280,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.0009009838104248','2016-08-17 12:31:20'),(10281,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00048208236694336','2016-08-17 12:31:20'),(10282,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.0004580020904541','2016-08-17 12:31:20'),(10283,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044608116149902','2016-08-17 12:31:20'),(10284,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045299530029297','2016-08-17 12:31:20'),(10285,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045108795166016','2016-08-17 12:31:20'),(10286,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:31:20'),(10287,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045490264892578','2016-08-17 12:31:20'),(10288,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044894218444824','2016-08-17 12:31:20'),(10289,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045299530029297','2016-08-17 12:31:20'),(10290,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:31:20'),(10291,25,32,'192.168.1.220','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.0012428760528564','2016-08-17 12:31:20'),(10292,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00046896934509277','2016-08-17 12:31:20'),(10293,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.15188384056091','2016-08-17 12:31:20'),(10294,25,32,'192.168.1.220','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201612\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.12923502922058','2016-08-17 12:31:20'),(10295,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.0006721019744873','2016-08-17 12:31:20'),(10296,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00036907196044922','2016-08-17 12:31:20'),(10297,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.00077915191650391','2016-08-17 12:31:20'),(10298,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.0004429817199707','2016-08-17 12:31:20'),(10299,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.0003659725189209','2016-08-17 12:31:20'),(10300,25,32,'192.168.1.220','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'25\'\nAND `a`.`acctID` =  \'33056\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.032362937927246','2016-08-17 12:31:20'),(10301,25,32,'192.168.1.220','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'25\'\nAND `accountID` =  \'33056\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.00033903121948242','2016-08-17 12:31:20'),(10302,25,32,'192.168.1.220','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.0020689964294434','2016-08-17 12:31:20'),(10303,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.00048708915710449','2016-08-17 12:31:21'),(10304,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.00048089027404785','2016-08-17 12:31:21'),(10305,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.0013680458068848','2016-08-17 12:32:02'),(10306,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.013252019882202','2016-08-17 12:32:02'),(10307,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00042009353637695','2016-08-17 12:32:02'),(10308,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.00086498260498047','2016-08-17 12:32:02'),(10309,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00047802925109863','2016-08-17 12:32:02'),(10310,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.0004580020904541','2016-08-17 12:32:02'),(10311,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-17 12:32:02'),(10312,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045108795166016','2016-08-17 12:32:02'),(10313,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044679641723633','2016-08-17 12:32:02'),(10314,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-17 12:32:02'),(10315,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044989585876465','2016-08-17 12:32:02'),(10316,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:32:02'),(10317,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045490264892578','2016-08-17 12:32:02'),(10318,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044393539428711','2016-08-17 12:32:02'),(10319,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.0013160705566406','2016-08-17 12:32:02'),(10320,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.00040888786315918','2016-08-17 12:32:02'),(10321,24,31,'192.168.1.204','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.00044393539428711','2016-08-17 12:32:02'),(10322,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00045418739318848','2016-08-17 12:32:02'),(10323,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201601 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'24\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.16109299659729','2016-08-17 12:32:02'),(10324,24,31,'192.168.1.204','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201601\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.0035231113433838','2016-08-17 12:32:02'),(10325,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.0004279613494873','2016-08-17 12:32:02'),(10326,24,31,'192.168.1.204','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00030803680419922','2016-08-17 12:32:02'),(10327,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.00070905685424805','2016-08-17 12:32:02'),(10328,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00039482116699219','2016-08-17 12:32:02'),(10329,24,31,'192.168.1.204','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.0002899169921875','2016-08-17 12:32:02'),(10330,24,31,'192.168.1.204','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'24\'\nAND `a`.`acctID` =  \'33119\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.031850099563599','2016-08-17 12:32:02'),(10331,24,31,'192.168.1.204','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'24\'\nAND `accountID` =  \'33119\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.0002901554107666','2016-08-17 12:32:02'),(10332,24,31,'192.168.1.204','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.0020761489868164','2016-08-17 12:32:02'),(10333,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.017809152603149','2016-08-17 12:32:02'),(10334,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.0013189315795898','2016-08-17 12:32:02'),(10335,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.038503885269165','2016-08-17 12:32:16'),(10336,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053215026855469','2016-08-17 12:32:16'),(10337,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051283836364746','2016-08-17 12:32:16'),(10338,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00050997734069824','2016-08-17 12:32:16'),(10339,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00076007843017578','2016-08-17 12:32:16'),(10340,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0014939308166504','2016-08-17 12:32:16'),(10341,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.0012531280517578','2016-08-17 12:32:16'),(10342,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `paymentDate` >= \'2016-08-01\'\nAND `paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.1225368976593','2016-08-17 12:33:11'),(10343,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0057051181793213','2016-08-17 12:33:11'),(10344,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0024230480194092','2016-08-17 12:33:11'),(10345,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00042009353637695','2016-08-17 12:33:11'),(10346,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050997734069824','2016-08-17 12:33:11'),(10347,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0012829303741455','2016-08-17 12:33:38'),(10348,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.00099802017211914','2016-08-17 12:33:38'),(10349,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'725\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00043106079101562','2016-08-17 12:33:39'),(10350,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'725\'','sales/edit_sale','0.0014848709106445','2016-08-17 12:33:39'),(10351,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'725\'','sales/edit_sale','0.00043201446533203','2016-08-17 12:33:39'),(10352,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040507316589355','2016-08-17 12:33:39'),(10353,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050687789916992','2016-08-17 12:33:39'),(10354,24,31,'192.168.1.204','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'24\'\nORDER BY `description`','userProfile/userMaster','0.0157790184021','2016-08-17 12:34:30'),(10355,24,31,'192.168.1.204','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'24\'\nORDER BY `description`','userProfile/userMaster','0.0017240047454834','2016-08-17 12:34:30'),(10356,24,31,'192.168.1.204','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'31\'\nLIMIT 1','userProfile/userMaster','0.013841867446899','2016-08-17 12:34:30'),(10357,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0012619495391846','2016-08-17 12:34:30'),(10358,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00040292739868164','2016-08-17 12:34:31'),(10359,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00048279762268066','2016-08-17 12:34:31'),(10360,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'24\'','setup/companySetup','0.039163112640381','2016-08-17 12:34:44'),(10361,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.001488208770752','2016-08-17 12:34:44'),(10362,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.0010268688201904','2016-08-17 12:34:44'),(10363,24,31,'192.168.1.204','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1931\'','setup/companySetup','0.00050020217895508','2016-08-17 12:34:44'),(10364,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00036907196044922','2016-08-17 12:34:44'),(10365,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00043296813964844','2016-08-17 12:34:44'),(10366,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.0003972053527832','2016-08-17 12:34:44'),(10367,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00048279762268066','2016-08-17 12:34:44'),(10368,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/new_sale','0.0012271404266357','2016-08-17 12:35:04'),(10369,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/new_sale','0.0010030269622803','2016-08-17 12:35:04'),(10370,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.00041103363037109','2016-08-17 12:35:04'),(10371,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.00052499771118164','2016-08-17 12:35:04'),(10372,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0006258487701416','2016-08-17 12:35:15'),(10373,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053310394287109','2016-08-17 12:35:15'),(10374,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052309036254883','2016-08-17 12:35:15'),(10375,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051403045654297','2016-08-17 12:35:15'),(10376,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078892707824707','2016-08-17 12:35:15'),(10377,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042009353637695','2016-08-17 12:35:15'),(10378,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051093101501465','2016-08-17 12:35:15'),(10379,24,31,'192.168.1.204','update','UPDATE `company` SET `uploadLogo` = \'24.JPG\' WHERE `ID` =  \'24\'','setup/companySetup','0.00044012069702148','2016-08-17 12:35:28'),(10380,24,31,'192.168.1.204','update','UPDATE `company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.00038003921508789','2016-08-17 12:35:28'),(10381,24,31,'192.168.1.204','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.083549976348877','2016-08-17 12:35:28'),(10382,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'24\'','setup/companySetup','0.00088095664978027','2016-08-17 12:35:30'),(10383,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.0015389919281006','2016-08-17 12:35:30'),(10384,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.00066494941711426','2016-08-17 12:35:30'),(10385,24,31,'192.168.1.204','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1931\'','setup/companySetup','0.00057101249694824','2016-08-17 12:35:30'),(10386,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00040793418884277','2016-08-17 12:35:30'),(10387,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.0004889965057373','2016-08-17 12:35:30'),(10388,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00041699409484863','2016-08-17 12:35:30'),(10389,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00048303604125977','2016-08-17 12:35:30'),(10390,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00061297416687012','2016-08-17 12:35:38'),(10391,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053906440734863','2016-08-17 12:35:38'),(10392,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052189826965332','2016-08-17 12:35:38'),(10393,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051712989807129','2016-08-17 12:35:38'),(10394,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.14586901664734','2016-08-17 12:35:38'),(10395,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04358696937561','2016-08-17 12:35:38'),(10396,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043531894683838','2016-08-17 12:35:38'),(10397,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043606996536255','2016-08-17 12:35:38'),(10398,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.074100017547607','2016-08-17 12:35:38'),(10399,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00038409233093262','2016-08-17 12:35:38'),(10400,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00045084953308105','2016-08-17 12:35:38'),(10401,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.010190963745117','2016-08-17 12:35:41'),(10402,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:35:41'),(10403,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:35:41'),(10404,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:35:41'),(10405,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:35:41'),(10406,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:35:41'),(10407,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:35:41'),(10408,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:35:41'),(10409,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:35:41'),(10410,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:35:41'),(10411,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 12:35:41'),(10412,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:35:41'),(10413,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00061488151550293','2016-08-17 12:35:42'),(10414,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 12:35:42'),(10415,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 12:35:42'),(10416,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:35:42'),(10417,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:35:42'),(10418,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 12:35:42'),(10419,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 12:35:42'),(10420,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 12:35:42'),(10421,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:35:42'),(10422,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:35:42'),(10423,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:35:42'),(10424,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 12:35:42'),(10425,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00057387351989746','2016-08-17 12:35:45'),(10426,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058293342590332','2016-08-17 12:35:47'),(10427,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 12:35:47'),(10428,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 12:35:47'),(10429,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 12:35:47'),(10430,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:35:47'),(10431,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:35:47'),(10432,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:35:47'),(10433,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:35:47'),(10434,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:35:47'),(10435,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:35:47'),(10436,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00057697296142578','2016-08-17 12:35:47'),(10437,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:35:47'),(10438,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 12:35:47'),(10439,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:35:47'),(10440,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:35:47'),(10441,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:35:47'),(10442,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:35:47'),(10443,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:35:47'),(10444,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:35:47'),(10445,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:35:47'),(10446,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:35:47'),(10447,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 12:35:47'),(10448,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 12:35:47'),(10449,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:35:47'),(10450,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:35:47'),(10451,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:35:47'),(10452,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 12:35:47'),(10453,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:35:47'),(10454,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 12:35:47'),(10455,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:35:47'),(10456,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005037784576416','2016-08-17 12:35:47'),(10457,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:35:47'),(10458,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:35:47'),(10459,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:35:47'),(10460,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:35:47'),(10461,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:35:47'),(10462,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:35:47'),(10463,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.30068182945251','2016-08-17 12:35:52'),(10464,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014488697052002','2016-08-17 12:35:52'),(10465,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014138221740723','2016-08-17 12:35:52'),(10466,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013918876647949','2016-08-17 12:35:52'),(10467,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013828277587891','2016-08-17 12:35:52'),(10468,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013811588287354','2016-08-17 12:35:52'),(10469,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014429092407227','2016-08-17 12:35:52'),(10470,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 12:35:52'),(10471,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 12:35:52'),(10472,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014212131500244','2016-08-17 12:35:52'),(10473,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 12:35:53'),(10474,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 12:35:53'),(10475,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001600980758667','2016-08-17 12:35:54'),(10476,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014121532440186','2016-08-17 12:35:54'),(10477,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-17 12:35:54'),(10478,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014081001281738','2016-08-17 12:35:54'),(10479,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013821125030518','2016-08-17 12:35:54'),(10480,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 12:35:54'),(10481,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-17 12:35:54'),(10482,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 12:35:54'),(10483,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014171600341797','2016-08-17 12:35:54'),(10484,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 12:35:54'),(10485,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 12:35:55'),(10486,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 12:35:55'),(10487,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0048110485076904','2016-08-17 12:35:56'),(10488,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041229724884033','2016-08-17 12:35:57'),(10489,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041038990020752','2016-08-17 12:35:57'),(10490,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040929317474365','2016-08-17 12:35:57'),(10491,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040750503540039','2016-08-17 12:35:57'),(10492,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040631294250488','2016-08-17 12:35:57'),(10493,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-17 12:35:57'),(10494,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 12:35:57'),(10495,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040538311004639','2016-08-17 12:35:57'),(10496,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 12:35:57'),(10497,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-17 12:35:57'),(10498,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 12:35:57'),(10499,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004270076751709','2016-08-17 12:35:58'),(10500,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040948390960693','2016-08-17 12:35:58'),(10501,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 12:35:58'),(10502,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041239261627197','2016-08-17 12:35:58'),(10503,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041279792785645','2016-08-17 12:35:58'),(10504,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 12:35:58'),(10505,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004047155380249','2016-08-17 12:35:58'),(10506,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 12:35:58'),(10507,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041079521179199','2016-08-17 12:35:58'),(10508,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040628910064697','2016-08-17 12:35:58'),(10509,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040500164031982','2016-08-17 12:35:58'),(10510,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 12:35:58'),(10511,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015950202941895','2016-08-17 12:36:01'),(10512,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.004133939743042','2016-08-17 12:36:01'),(10513,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062680244445801','2016-08-17 12:36:05'),(10514,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:36:06'),(10515,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 12:36:06'),(10516,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 12:36:06'),(10517,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:36:06'),(10518,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 12:36:06'),(10519,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:36:06'),(10520,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-17 12:36:06'),(10521,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:36:06'),(10522,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:36:06'),(10523,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 12:36:06'),(10524,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:36:06'),(10525,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0048680305480957','2016-08-17 12:36:06'),(10526,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043931007385254','2016-08-17 12:36:06'),(10527,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044131278991699','2016-08-17 12:36:06'),(10528,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004378080368042','2016-08-17 12:36:06'),(10529,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044040679931641','2016-08-17 12:36:06'),(10530,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004371166229248','2016-08-17 12:36:06'),(10531,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043618679046631','2016-08-17 12:36:06'),(10532,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044410228729248','2016-08-17 12:36:06'),(10533,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044040679931641','2016-08-17 12:36:06'),(10534,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044090747833252','2016-08-17 12:36:06'),(10535,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046300888061523','2016-08-17 12:36:06'),(10536,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043411254882812','2016-08-17 12:36:06'),(10537,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.011642932891846','2016-08-17 12:37:24'),(10538,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012819766998291','2016-08-17 12:37:24'),(10539,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012569427490234','2016-08-17 12:37:24'),(10540,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012500286102295','2016-08-17 12:37:24'),(10541,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.034055948257446','2016-08-17 12:37:24'),(10542,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0016841888427734','2016-08-17 12:37:24'),(10543,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.019414901733398','2016-08-17 12:37:24'),(10544,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0035679340362549','2016-08-17 12:37:31'),(10545,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010619163513184','2016-08-17 12:37:31'),(10546,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00043201446533203','2016-08-17 12:37:31'),(10547,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051498413085938','2016-08-17 12:37:31'),(10548,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011861324310303','2016-08-17 12:38:07'),(10549,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.00098705291748047','2016-08-17 12:38:08'),(10550,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'725\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.021286964416504','2016-08-17 12:38:08'),(10551,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'725\'','sales/edit_sale','0.0015900135040283','2016-08-17 12:38:08'),(10552,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'725\'','sales/edit_sale','0.00042605400085449','2016-08-17 12:38:08'),(10553,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00041103363037109','2016-08-17 12:38:08'),(10554,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050616264343262','2016-08-17 12:38:08'),(10555,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0012388229370117','2016-08-17 12:38:29'),(10556,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.00099897384643555','2016-08-17 12:38:29'),(10557,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'733\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00043106079101562','2016-08-17 12:38:29'),(10558,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'733\'','sales/edit_sale','0.00063204765319824','2016-08-17 12:38:29'),(10559,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'733\'','sales/edit_sale','0.00043106079101562','2016-08-17 12:38:29'),(10560,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040316581726074','2016-08-17 12:38:29'),(10561,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050497055053711','2016-08-17 12:38:29'),(10562,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0012788772583008','2016-08-17 12:39:42'),(10563,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.0010130405426025','2016-08-17 12:39:42'),(10564,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'734\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.0004420280456543','2016-08-17 12:39:42'),(10565,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'734\'','sales/edit_sale','0.00063586235046387','2016-08-17 12:39:42'),(10566,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'734\'','sales/edit_sale','0.00043201446533203','2016-08-17 12:39:42'),(10567,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040102005004883','2016-08-17 12:39:42'),(10568,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050806999206543','2016-08-17 12:39:42'),(10569,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.021923065185547','2016-08-17 12:39:56'),(10570,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', \'31\', 1, 1, \'68\', \'289\', \'OP-E\', \'2016-08-17\', \'162\', \'1\')','expenses/saveExpense','0.087131977081299','2016-08-17 12:39:57'),(10571,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2114, \'31\', \'cuci tingkap\', 1, \'33158\', \'289\', \'289\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.04951810836792','2016-08-17 12:39:57'),(10572,24,31,'192.168.1.204','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2114','expenses/saveExpense','0.027603149414062','2016-08-17 12:39:57'),(10573,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2114','expenses/saveExpense','0.058151006698608','2016-08-17 12:39:57'),(10574,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2114\nAND `ID` =  2114','expenses/saveExpense','0.00055503845214844','2016-08-17 12:39:57'),(10575,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','expenses/saveExpense','0.0013530254364014','2016-08-17 12:39:57'),(10576,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'334\'','expenses/saveExpense','0.039058923721313','2016-08-17 12:39:57'),(10577,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000044\' WHERE `ID` =  2114','expenses/saveExpense','0.025068998336792','2016-08-17 12:39:57'),(10578,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2114','expenses/saveExpense','0.00054192543029785','2016-08-17 12:39:57'),(10579,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000044\', \'Belanja Operasi [OP-E[00000039]]\', \'Belanja Operasi [OP-E[00000039]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 289, 289, \'31\')','expenses/saveExpense','0.012014865875244','2016-08-17 12:39:57'),(10580,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000044\', 1, \'cuci tingkap\', \'33133\', 289, 1, \'1\', \'289\', \'08\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.041731119155884','2016-08-17 12:39:57'),(10581,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000044\', 2, \'cuci tingkap\', \'33158\', 289, 1, \'1\', \'289\', \'08\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.015915155410767','2016-08-17 12:39:57'),(10582,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 289, `total_amount_cr` = 289, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000044\'','expenses/saveExpense','0.016671895980835','2016-08-17 12:39:57'),(10583,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2114','expenses/saveExpense','0.02454400062561','2016-08-17 12:39:57'),(10584,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11038','expenses/saveExpense','0.016757011413574','2016-08-17 12:39:57'),(10585,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000044\'','expenses/saveExpense','0.016093015670776','2016-08-17 12:39:57'),(10586,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000044\'','expenses/saveExpense','0.00058794021606445','2016-08-17 12:39:57'),(10587,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.026171922683716','2016-08-17 12:39:57'),(10588,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.030771017074585','2016-08-17 12:39:57'),(10589,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33158\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00044679641723633','2016-08-17 12:39:57'),(10590,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `ID` =  \'33158\'','expenses/saveExpense','0.00039196014404297','2016-08-17 12:39:57'),(10591,24,31,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'10\', \'33158\', \'2016\', \'8\', \'289\', \'0\', 289, \'User\', \'2016-08-17: 06:08:56\')','expenses/saveExpense','0.014577865600586','2016-08-17 12:39:57'),(10592,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.093448877334595','2016-08-17 12:40:04'),(10593,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.0010049343109131','2016-08-17 12:40:04'),(10594,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'738\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00042891502380371','2016-08-17 12:40:04'),(10595,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'738\'','sales/edit_sale','0.00063300132751465','2016-08-17 12:40:04'),(10596,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'738\'','sales/edit_sale','0.00044703483581543','2016-08-17 12:40:04'),(10597,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.0020051002502441','2016-08-17 12:40:04'),(10598,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.001600980758667','2016-08-17 12:40:04'),(10599,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'11038\'','expenses/saveExpense','0.077531099319458','2016-08-17 12:40:12'),(10600,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_journal_table`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000044\'\nAND `formNo` =  \'Belanja Operasi [OP-E[00000039]]\'','expenses/saveExpense','0.11012697219849','2016-08-17 12:40:12'),(10601,24,31,'192.168.1.204','others','SELECT `comp_journal`.*, `comp_journal_detail`.*\nFROM (`comp_journal`)\nLEFT JOIN `comp_journal_detail` ON `comp_journal`.`journalID` = `comp_journal_detail`.`journalID` and comp_journal.companyID = comp_journal_detail.companyID\nWHERE `comp_journal`.`companyID` =  \'24\'\nAND `comp_journal`.`ID` =  \'11038\'','expenses/saveExpense','0.00079703330993652','2016-08-17 12:40:12'),(10602,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal_detail`\nWHERE `ID` =  \'48621\'','expenses/saveExpense','0.024100065231323','2016-08-17 12:40:12'),(10603,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal_detail`\nWHERE `ID` =  \'48622\'','expenses/saveExpense','0.016210079193115','2016-08-17 12:40:12'),(10604,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal`\nWHERE `ID` =  \'11038\'','expenses/saveExpense','0.016830921173096','2016-08-17 12:40:12'),(10605,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.0004270076751709','2016-08-17 12:40:13'),(10606,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'24\', `createdBy` = \'31\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'289\', `formNo` = \'OP-E\', `paymentDate` = \'2016-03-31\', `bankId` = \'162\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2114\'','expenses/saveExpense','0.018952131271362','2016-08-17 12:40:13'),(10607,24,31,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2114\', `createdBy` = \'31\', `itemdescription` = \'cuci tingkap\', `lineNo` = 1, `accountID` = \'33158\', `amountIncludedTax` = \'289\', `amountExcludedTax` = \'289\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2027\'','expenses/saveExpense','0.00034785270690918','2016-08-17 12:40:13'),(10608,24,31,'192.168.1.204','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2114','expenses/saveExpense','0.00073409080505371','2016-08-17 12:40:13'),(10609,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  \'2114\'','expenses/saveExpense','0.02918004989624','2016-08-17 12:40:13'),(10610,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  \'2114\'\nAND `ID` =  \'2114\'','expenses/saveExpense','0.00056195259094238','2016-08-17 12:40:13'),(10611,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'03\'\nORDER BY `ID` desc','expenses/saveExpense','0.00050687789916992','2016-08-17 12:40:13'),(10612,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'341\'','expenses/saveExpense','0.019585847854614','2016-08-17 12:40:13'),(10613,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160300000003\' WHERE `ID` =  \'2114\'','expenses/saveExpense','0.016707897186279','2016-08-17 12:40:13'),(10614,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  \'2114\'','expenses/saveExpense','0.0005180835723877','2016-08-17 12:40:13'),(10615,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160300000003\', \'Belanja Operasi [OP-E[00000039]]\', \'Belanja Operasi [OP-E[00000039]]\', \'\', \'3\', \'2016-03-31\', \'16\', \'03\', 289, 289, \'31\')','expenses/saveExpense','0.015734910964966','2016-08-17 12:40:13'),(10616,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160300000003\', 1, \'cuci tingkap\', \'33133\', 289, 1, \'1\', \'289\', \'03\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.01591420173645','2016-08-17 12:40:13'),(10617,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160300000003\', 2, \'cuci tingkap\', \'33158\', 289, 1, \'1\', \'289\', \'03\', \'16\', \'1\', \'OP-E[00000039]\', \'User\')','expenses/saveExpense','0.016524076461792','2016-08-17 12:40:13'),(10618,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 289, `total_amount_cr` = 289, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160300000003\'','expenses/saveExpense','0.024430990219116','2016-08-17 12:40:13'),(10619,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2114\'','expenses/saveExpense','0.016772031784058','2016-08-17 12:40:13'),(10620,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11039','expenses/saveExpense','0.01617693901062','2016-08-17 12:40:13'),(10621,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160300000003\'','expenses/saveExpense','0.016681909561157','2016-08-17 12:40:13'),(10622,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160300000003\'','expenses/saveExpense','0.0005490779876709','2016-08-17 12:40:13'),(10623,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'3\'','expenses/saveExpense','0.00046491622924805','2016-08-17 12:40:13'),(10624,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'3\'','expenses/saveExpense','0.014297008514404','2016-08-17 12:40:13'),(10625,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33158\'\nAND `year` =  \'2016\'\nAND `period` =  \'3\'','expenses/saveExpense','0.00044608116149902','2016-08-17 12:40:13'),(10626,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `ID` =  \'33158\'','expenses/saveExpense','0.0003819465637207','2016-08-17 12:40:13'),(10627,24,31,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', \'10\', \'33158\', \'2016\', \'3\', \'289\', \'0\', 289, \'User\', \'2016-08-17: 06:08:12\')','expenses/saveExpense','0.015166997909546','2016-08-17 12:40:13'),(10628,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0014510154724121','2016-08-17 12:40:16'),(10629,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012960433959961','2016-08-17 12:40:16'),(10630,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001270055770874','2016-08-17 12:40:16'),(10631,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012640953063965','2016-08-17 12:40:16'),(10632,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0028519630432129','2016-08-17 12:40:16'),(10633,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041294097900391','2016-08-17 12:40:16'),(10634,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048279762268066','2016-08-17 12:40:16'),(10635,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.001223087310791','2016-08-17 12:40:21'),(10636,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.089235067367554','2016-08-17 12:40:21'),(10637,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'738\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00043606758117676','2016-08-17 12:40:21'),(10638,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'738\'','sales/edit_sale','0.00064206123352051','2016-08-17 12:40:21'),(10639,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'738\'','sales/edit_sale','0.0004429817199707','2016-08-17 12:40:21'),(10640,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.0003960132598877','2016-08-17 12:40:21'),(10641,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050497055053711','2016-08-17 12:40:21'),(10642,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00059103965759277','2016-08-17 12:40:21'),(10643,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-17 12:40:21'),(10644,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 12:40:21'),(10645,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 12:40:21'),(10646,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.067101001739502','2016-08-17 12:40:21'),(10647,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043955087661743','2016-08-17 12:40:21'),(10648,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043929100036621','2016-08-17 12:40:21'),(10649,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044177055358887','2016-08-17 12:40:21'),(10650,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.11196398735046','2016-08-17 12:40:21'),(10651,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00041294097900391','2016-08-17 12:40:21'),(10652,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00045299530029297','2016-08-17 12:40:21'),(10653,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0088670253753662','2016-08-17 12:40:26'),(10654,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:40:26'),(10655,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:40:26'),(10656,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:40:26'),(10657,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:40:26'),(10658,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 12:40:26'),(10659,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:40:26'),(10660,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 12:40:26'),(10661,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:40:26'),(10662,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:40:26'),(10663,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:40:26'),(10664,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:40:26'),(10665,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00064992904663086','2016-08-17 12:40:27'),(10666,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:40:27'),(10667,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:40:27'),(10668,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:40:27'),(10669,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:40:27'),(10670,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:40:27'),(10671,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 12:40:28'),(10672,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 12:40:28'),(10673,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:40:28'),(10674,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:40:28'),(10675,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 12:40:28'),(10676,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:40:28'),(10677,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0020730495452881','2016-08-17 12:40:28'),(10678,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.012840032577515','2016-08-17 12:40:28'),(10679,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'739\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00042986869812012','2016-08-17 12:40:28'),(10680,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'739\'','sales/edit_sale','0.00063896179199219','2016-08-17 12:40:28'),(10681,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'739\'','sales/edit_sale','0.0014090538024902','2016-08-17 12:40:29'),(10682,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.0011999607086182','2016-08-17 12:40:29'),(10683,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.0013370513916016','2016-08-17 12:40:29'),(10684,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00052213668823242','2016-08-17 12:40:31'),(10685,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 12:40:32'),(10686,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 12:40:32'),(10687,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:40:32'),(10688,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 12:40:32'),(10689,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00095701217651367','2016-08-17 12:40:32'),(10690,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 12:40:32'),(10691,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:40:32'),(10692,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:40:32'),(10693,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:40:32'),(10694,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:40:32'),(10695,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:40:32'),(10696,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:40:32'),(10697,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 12:40:32'),(10698,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:40:32'),(10699,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:40:32'),(10700,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:40:32'),(10701,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:40:32'),(10702,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:40:32'),(10703,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:40:32'),(10704,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:40:32'),(10705,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 12:40:32'),(10706,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050115585327148','2016-08-17 12:40:32'),(10707,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 12:40:32'),(10708,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047802925109863','2016-08-17 12:40:32'),(10709,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046610832214355','2016-08-17 12:40:32'),(10710,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046420097351074','2016-08-17 12:40:32'),(10711,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045299530029297','2016-08-17 12:40:32'),(10712,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045895576477051','2016-08-17 12:40:32'),(10713,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045990943908691','2016-08-17 12:40:32'),(10714,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046396255493164','2016-08-17 12:40:32'),(10715,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045299530029297','2016-08-17 12:40:32'),(10716,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045895576477051','2016-08-17 12:40:32'),(10717,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047111511230469','2016-08-17 12:40:32'),(10718,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045919418334961','2016-08-17 12:40:32'),(10719,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045895576477051','2016-08-17 12:40:32'),(10720,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045299530029297','2016-08-17 12:40:32'),(10721,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046014785766602','2016-08-17 12:40:32'),(10722,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.10638904571533','2016-08-17 12:40:36'),(10723,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 12:40:36'),(10724,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014147758483887','2016-08-17 12:40:36'),(10725,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 12:40:36'),(10726,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 12:40:36'),(10727,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 12:40:36'),(10728,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013678073883057','2016-08-17 12:40:36'),(10729,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013527870178223','2016-08-17 12:40:36'),(10730,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-17 12:40:37'),(10731,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013551712036133','2016-08-17 12:40:37'),(10732,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 12:40:37'),(10733,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 12:40:37'),(10734,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015609264373779','2016-08-17 12:40:38'),(10735,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 12:40:38'),(10736,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 12:40:38'),(10737,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 12:40:38'),(10738,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 12:40:38'),(10739,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 12:40:38'),(10740,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 12:40:38'),(10741,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 12:40:38'),(10742,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 12:40:38'),(10743,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 12:40:38'),(10744,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 12:40:38'),(10745,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 12:40:38'),(10746,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.023062944412231','2016-08-17 12:40:40'),(10747,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041120052337646','2016-08-17 12:40:40'),(10748,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004396915435791','2016-08-17 12:40:40'),(10749,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042059421539307','2016-08-17 12:40:40'),(10750,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042109489440918','2016-08-17 12:40:40'),(10751,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041158199310303','2016-08-17 12:40:40'),(10752,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041360855102539','2016-08-17 12:40:40'),(10753,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042350292205811','2016-08-17 12:40:40'),(10754,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041520595550537','2016-08-17 12:40:40'),(10755,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041191577911377','2016-08-17 12:40:40'),(10756,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041041374206543','2016-08-17 12:40:40'),(10757,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040829181671143','2016-08-17 12:40:40'),(10758,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042660236358643','2016-08-17 12:40:41'),(10759,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041019916534424','2016-08-17 12:40:42'),(10760,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040948390960693','2016-08-17 12:40:42'),(10761,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040829181671143','2016-08-17 12:40:42'),(10762,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040872097015381','2016-08-17 12:40:42'),(10763,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004054069519043','2016-08-17 12:40:42'),(10764,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004047155380249','2016-08-17 12:40:42'),(10765,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041279792785645','2016-08-17 12:40:42'),(10766,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 12:40:42'),(10767,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-17 12:40:42'),(10768,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004127025604248','2016-08-17 12:40:42'),(10769,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-17 12:40:42'),(10770,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.001507043838501','2016-08-17 12:40:45'),(10771,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040500164031982','2016-08-17 12:40:45'),(10772,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00066113471984863','2016-08-17 12:40:49'),(10773,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 12:40:49'),(10774,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:40:49'),(10775,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:40:49'),(10776,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:40:49'),(10777,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:40:49'),(10778,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:40:49'),(10779,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 12:40:49'),(10780,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:40:49'),(10781,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:40:49'),(10782,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:40:49'),(10783,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:40:49'),(10784,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045609474182129','2016-08-17 12:40:49'),(10785,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044140815734863','2016-08-17 12:40:49'),(10786,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043821334838867','2016-08-17 12:40:49'),(10787,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043549537658691','2016-08-17 12:40:49'),(10788,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043420791625977','2016-08-17 12:40:49'),(10789,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044441223144531','2016-08-17 12:40:49'),(10790,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043931007385254','2016-08-17 12:40:49'),(10791,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044591426849365','2016-08-17 12:40:49'),(10792,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043718814849854','2016-08-17 12:40:49'),(10793,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043580532073975','2016-08-17 12:40:49'),(10794,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044591426849365','2016-08-17 12:40:49'),(10795,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044219493865967','2016-08-17 12:40:50'),(10796,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0.087137937545776','2016-08-17 12:41:12'),(10797,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0.011083126068115','2016-08-17 12:41:12'),(10798,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.00042104721069336','2016-08-17 12:41:12'),(10799,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0.00089311599731445','2016-08-17 12:41:12'),(10800,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00048112869262695','2016-08-17 12:41:12'),(10801,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045609474182129','2016-08-17 12:41:12'),(10802,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045490264892578','2016-08-17 12:41:12'),(10803,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:41:12'),(10804,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045394897460938','2016-08-17 12:41:12'),(10805,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044894218444824','2016-08-17 12:41:12'),(10806,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00045299530029297','2016-08-17 12:41:12'),(10807,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00046110153198242','2016-08-17 12:41:12'),(10808,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.0004580020904541','2016-08-17 12:41:12'),(10809,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.00044798851013184','2016-08-17 12:41:12'),(10810,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.0035960674285889','2016-08-17 12:41:12'),(10811,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0.00052094459533691','2016-08-17 12:41:12'),(10812,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND ((acctTypeID = 3 OR acctTypeID = 4))\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0013039112091064','2016-08-17 12:41:12'),(10813,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND ((acctTypeID = 3 OR acctTypeID = 4) and ID IN (\'7\',\'8\',\'10\',\'33\',\'34\',\'35\',\'37\',\'38\') )\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0.0010550022125244','2016-08-17 12:41:12'),(10814,25,32,'192.168.1.220','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 25) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 25\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.093306064605713','2016-08-17 12:41:12'),(10815,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/profitNloss','0.00046300888061523','2016-08-17 12:41:12'),(10816,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/profitNloss','0.00050902366638184','2016-08-17 12:41:12'),(10817,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/profitNloss','0.038945913314819','2016-08-17 12:41:12'),(10818,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.00051784515380859','2016-08-17 12:41:22'),(10819,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.0010089874267578','2016-08-17 12:41:22'),(10820,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00042200088500977','2016-08-17 12:41:22'),(10821,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.00085115432739258','2016-08-17 12:41:22'),(10822,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00047683715820312','2016-08-17 12:41:22'),(10823,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.0004580020904541','2016-08-17 12:41:22'),(10824,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:41:22'),(10825,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045180320739746','2016-08-17 12:41:22'),(10826,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044918060302734','2016-08-17 12:41:22'),(10827,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044918060302734','2016-08-17 12:41:22'),(10828,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045204162597656','2016-08-17 12:41:22'),(10829,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044989585876465','2016-08-17 12:41:22'),(10830,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045204162597656','2016-08-17 12:41:22'),(10831,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044918060302734','2016-08-17 12:41:22'),(10832,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.00041484832763672','2016-08-17 12:41:22'),(10833,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.00041389465332031','2016-08-17 12:41:22'),(10834,25,32,'192.168.1.220','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.00044894218444824','2016-08-17 12:41:23'),(10835,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00045585632324219','2016-08-17 12:41:23'),(10836,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201601 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.13975214958191','2016-08-17 12:41:23'),(10837,25,32,'192.168.1.220','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201601\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.00343918800354','2016-08-17 12:41:23'),(10838,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00046300888061523','2016-08-17 12:41:23'),(10839,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00035285949707031','2016-08-17 12:41:23'),(10840,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.00076103210449219','2016-08-17 12:41:23'),(10841,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00045609474182129','2016-08-17 12:41:23'),(10842,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00034999847412109','2016-08-17 12:41:23'),(10843,25,32,'192.168.1.220','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'25\'\nAND `a`.`acctID` =  \'33056\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.032417058944702','2016-08-17 12:41:23'),(10844,25,32,'192.168.1.220','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'25\'\nAND `accountID` =  \'33056\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.0003359317779541','2016-08-17 12:41:23'),(10845,25,32,'192.168.1.220','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.002126932144165','2016-08-17 12:41:23'),(10846,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.00049304962158203','2016-08-17 12:41:23'),(10847,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.00052309036254883','2016-08-17 12:41:23'),(10848,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.00052213668823242','2016-08-17 12:41:40'),(10849,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.0010080337524414','2016-08-17 12:41:40'),(10850,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00041985511779785','2016-08-17 12:41:40'),(10851,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.00086402893066406','2016-08-17 12:41:40'),(10852,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00047802925109863','2016-08-17 12:41:40'),(10853,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045680999755859','2016-08-17 12:41:40'),(10854,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044608116149902','2016-08-17 12:41:40'),(10855,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045394897460938','2016-08-17 12:41:40'),(10856,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-17 12:41:40'),(10857,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:41:40'),(10858,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.0004570484161377','2016-08-17 12:41:40'),(10859,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:41:40'),(10860,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045108795166016','2016-08-17 12:41:40'),(10861,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044488906860352','2016-08-17 12:41:40'),(10862,25,32,'192.168.1.220','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.00045490264892578','2016-08-17 12:41:40'),(10863,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00045895576477051','2016-08-17 12:41:40'),(10864,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.11057591438293','2016-08-17 12:41:40'),(10865,25,32,'192.168.1.220','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201612\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.22346210479736','2016-08-17 12:41:40'),(10866,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00069403648376465','2016-08-17 12:41:40'),(10867,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.0003669261932373','2016-08-17 12:41:40'),(10868,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.00075292587280273','2016-08-17 12:41:40'),(10869,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00044012069702148','2016-08-17 12:41:40'),(10870,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00036406517028809','2016-08-17 12:41:40'),(10871,25,32,'192.168.1.220','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'25\'\nAND `a`.`acctID` =  \'33056\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.032516956329346','2016-08-17 12:41:40'),(10872,25,32,'192.168.1.220','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'25\'\nAND `accountID` =  \'33056\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.0003359317779541','2016-08-17 12:41:40'),(10873,25,32,'192.168.1.220','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.0020041465759277','2016-08-17 12:41:40'),(10874,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.00048995018005371','2016-08-17 12:41:40'),(10875,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.00049209594726562','2016-08-17 12:41:40'),(10876,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.00052309036254883','2016-08-17 12:41:49'),(10877,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.0010080337524414','2016-08-17 12:41:49'),(10878,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00041913986206055','2016-08-17 12:41:49'),(10879,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.00086808204650879','2016-08-17 12:41:49'),(10880,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00047802925109863','2016-08-17 12:41:49'),(10881,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045895576477051','2016-08-17 12:41:49'),(10882,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044512748718262','2016-08-17 12:41:49'),(10883,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045108795166016','2016-08-17 12:41:49'),(10884,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044512748718262','2016-08-17 12:41:49'),(10885,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044608116149902','2016-08-17 12:41:49'),(10886,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00046801567077637','2016-08-17 12:41:49'),(10887,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-17 12:41:49'),(10888,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045204162597656','2016-08-17 12:41:49'),(10889,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-17 12:41:49'),(10890,25,32,'192.168.1.220','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.00045299530029297','2016-08-17 12:41:49'),(10891,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00045490264892578','2016-08-17 12:41:49'),(10892,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.11006307601929','2016-08-17 12:41:49'),(10893,25,32,'192.168.1.220','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201612\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.054688930511475','2016-08-17 12:41:49'),(10894,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00065803527832031','2016-08-17 12:41:49'),(10895,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00036406517028809','2016-08-17 12:41:49'),(10896,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.00075101852416992','2016-08-17 12:41:49'),(10897,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00043582916259766','2016-08-17 12:41:49'),(10898,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00036001205444336','2016-08-17 12:41:49'),(10899,25,32,'192.168.1.220','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'25\'\nAND `a`.`acctID` =  \'33056\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.032182931900024','2016-08-17 12:41:49'),(10900,25,32,'192.168.1.220','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'25\'\nAND `accountID` =  \'33056\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.00033283233642578','2016-08-17 12:41:49'),(10901,25,32,'192.168.1.220','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.0020499229431152','2016-08-17 12:41:49'),(10902,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.00048279762268066','2016-08-17 12:41:49'),(10903,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.00047898292541504','2016-08-17 12:41:49'),(10904,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary_print','0.00052309036254883','2016-08-17 12:41:51'),(10905,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary_print%\"','glreports/accountBalanceSummary_print','0.00099492073059082','2016-08-17 12:41:51'),(10906,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary_print','0.00086808204650879','2016-08-17 12:41:51'),(10907,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00047779083251953','2016-08-17 12:41:51'),(10908,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00045490264892578','2016-08-17 12:41:51'),(10909,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00044894218444824','2016-08-17 12:41:51'),(10910,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00044584274291992','2016-08-17 12:41:51'),(10911,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00044798851013184','2016-08-17 12:41:51'),(10912,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00044679641723633','2016-08-17 12:41:51'),(10913,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00045490264892578','2016-08-17 12:41:51'),(10914,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00044584274291992','2016-08-17 12:41:51'),(10915,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00044989585876465','2016-08-17 12:41:52'),(10916,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary_print','0.00044512748718262','2016-08-17 12:41:52'),(10917,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'GLRPABSM\'\nAND `accessRight` =  1','glreports/accountBalanceSummary_print','0.20626592636108','2016-08-17 12:41:52'),(10918,25,32,'192.168.1.220','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary_print','0.00046610832214355','2016-08-17 12:41:52'),(10919,25,32,'192.168.1.220','others','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/accountBalanceSummary_print','0.00052094459533691','2016-08-17 12:41:52'),(10920,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary_print','0.0004580020904541','2016-08-17 12:41:52'),(10921,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary_print','0.15819001197815','2016-08-17 12:41:52'),(10922,25,32,'192.168.1.220','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201612\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary_print','0.033395051956177','2016-08-17 12:41:52'),(10923,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary_print','0.00066685676574707','2016-08-17 12:41:52'),(10924,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary_print','0.00036191940307617','2016-08-17 12:41:52'),(10925,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary_print','0.00075316429138184','2016-08-17 12:41:52'),(10926,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary_print','0.00043797492980957','2016-08-17 12:41:52'),(10927,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary_print','0.00036096572875977','2016-08-17 12:41:52'),(10928,25,32,'192.168.1.220','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'25\'\nAND `a`.`acctID` =  \'33056\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary_print','0.032317876815796','2016-08-17 12:41:52'),(10929,25,32,'192.168.1.220','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'25\'\nAND `accountID` =  \'33056\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary_print','0.00035405158996582','2016-08-17 12:41:52'),(10930,25,32,'192.168.1.220','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nORDER BY `acctCode`','glreports/accountBalanceSummary_print','0.0020289421081543','2016-08-17 12:41:52'),(10931,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/accountBalanceSummary_print','0.00070881843566895','2016-08-17 12:41:52'),(10932,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0013968944549561','2016-08-17 12:42:42'),(10933,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0013129711151123','2016-08-17 12:42:42'),(10934,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012669563293457','2016-08-17 12:42:42'),(10935,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012688636779785','2016-08-17 12:42:42'),(10936,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.029721021652222','2016-08-17 12:42:42'),(10937,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0012040138244629','2016-08-17 12:42:42'),(10938,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0096979141235352','2016-08-17 12:42:42'),(10939,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0018091201782227','2016-08-17 12:42:50'),(10940,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010519027709961','2016-08-17 12:42:50'),(10941,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2053\'','expenses/addNew','0.027735948562622','2016-08-17 12:42:51'),(10942,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2053\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.002410888671875','2016-08-17 12:42:51'),(10943,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000003\'','expenses/addNew','0.00053501129150391','2016-08-17 12:42:51'),(10944,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039100646972656','2016-08-17 12:42:51'),(10945,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048279762268066','2016-08-17 12:42:51'),(10946,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'10925\'','report/journalDetails','0.090894937515259','2016-08-17 12:43:25'),(10947,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000003\'\nORDER BY `sequence`','report/journalDetails','0.0064730644226074','2016-08-17 12:43:25'),(10948,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00040411949157715','2016-08-17 12:43:25'),(10949,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049591064453125','2016-08-17 12:43:25'),(10950,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0017900466918945','2016-08-17 12:43:53'),(10951,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010499954223633','2016-08-17 12:43:53'),(10952,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2111\'','expenses/addNew','0.002295970916748','2016-08-17 12:43:53'),(10953,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2111\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024178028106689','2016-08-17 12:43:53'),(10954,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000027\'','expenses/addNew','0.00052690505981445','2016-08-17 12:43:53'),(10955,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038504600524902','2016-08-17 12:43:53'),(10956,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048398971557617','2016-08-17 12:43:54'),(10957,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'11028\'','report/journalDetails','0.0017919540405273','2016-08-17 12:44:22'),(10958,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000027\'\nORDER BY `sequence`','report/journalDetails','0.00089120864868164','2016-08-17 12:44:22'),(10959,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00040197372436523','2016-08-17 12:44:22'),(10960,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049901008605957','2016-08-17 12:44:22'),(10961,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0014040470123291','2016-08-17 12:44:45'),(10962,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013360977172852','2016-08-17 12:44:45'),(10963,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012600421905518','2016-08-17 12:44:45'),(10964,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001255989074707','2016-08-17 12:44:45'),(10965,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022661685943604','2016-08-17 12:44:45'),(10966,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042605400085449','2016-08-17 12:44:45'),(10967,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048089027404785','2016-08-17 12:44:45'),(10968,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0027031898498535','2016-08-17 12:45:04'),(10969,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010919570922852','2016-08-17 12:45:04'),(10970,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2052\'','expenses/addNew','0.0022730827331543','2016-08-17 12:45:04'),(10971,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2052\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024218559265137','2016-08-17 12:45:04'),(10972,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000002\'','expenses/addNew','0.00054788589477539','2016-08-17 12:45:04'),(10973,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.0003972053527832','2016-08-17 12:45:04'),(10974,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048089027404785','2016-08-17 12:45:04'),(10975,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.00136399269104','2016-08-17 12:45:06'),(10976,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001276969909668','2016-08-17 12:45:06'),(10977,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012447834014893','2016-08-17 12:45:06'),(10978,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012400150299072','2016-08-17 12:45:06'),(10979,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0023319721221924','2016-08-17 12:45:06'),(10980,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043797492980957','2016-08-17 12:45:06'),(10981,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048708915710449','2016-08-17 12:45:06'),(10982,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0017900466918945','2016-08-17 12:45:08'),(10983,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010480880737305','2016-08-17 12:45:08'),(10984,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00045585632324219','2016-08-17 12:45:08'),(10985,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00052785873413086','2016-08-17 12:45:08'),(10986,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0026941299438477','2016-08-17 12:45:11'),(10987,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010819435119629','2016-08-17 12:45:11'),(10988,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2052\'','expenses/addNew','0.0022549629211426','2016-08-17 12:45:11'),(10989,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2052\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024070739746094','2016-08-17 12:45:11'),(10990,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000002\'','expenses/addNew','0.0005791187286377','2016-08-17 12:45:12'),(10991,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039196014404297','2016-08-17 12:45:12'),(10992,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047707557678223','2016-08-17 12:45:12'),(10993,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.02377986907959','2016-08-17 12:45:29'),(10994,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', \'31\', 1, 1, \'68\', \'90\', \'OP-L\', \'2016-08-17\', \'162\', \'1\')','expenses/saveExpense','0.062190055847168','2016-08-17 12:45:29'),(10995,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2115, \'31\', \'hah\', 1, \'33139\', \'90\', \'90\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.008368968963623','2016-08-17 12:45:29'),(10996,24,31,'192.168.1.204','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2115','expenses/saveExpense','0.017723083496094','2016-08-17 12:45:29'),(10997,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2115','expenses/saveExpense','0.038386106491089','2016-08-17 12:45:29'),(10998,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2115\nAND `ID` =  2115','expenses/saveExpense','0.00055789947509766','2016-08-17 12:45:29'),(10999,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','expenses/saveExpense','0.0012810230255127','2016-08-17 12:45:29'),(11000,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  \'334\'','expenses/saveExpense','0.019672155380249','2016-08-17 12:45:29'),(11001,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000045\' WHERE `ID` =  2115','expenses/saveExpense','0.015398025512695','2016-08-17 12:45:29'),(11002,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2115','expenses/saveExpense','0.00054502487182617','2016-08-17 12:45:29'),(11003,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000045\', \'Pembayaran Balik Pinjaman [OP-L[00000040]]\', \'Pembayaran Balik Pinjaman [OP-L[00000040]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 90, 90, \'31\')','expenses/saveExpense','0.009030818939209','2016-08-17 12:45:29'),(11004,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000045\', 1, \'hah\', \'33133\', 90, 1, \'1\', \'90\', \'08\', \'16\', \'1\', \'OP-L[00000040]\', \'User\')','expenses/saveExpense','0.036297082901001','2016-08-17 12:45:29'),(11005,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000045\', 2, \'hah\', \'33139\', 90, 1, \'1\', \'90\', \'08\', \'16\', \'1\', \'OP-L[00000040]\', \'User\')','expenses/saveExpense','0.0076041221618652','2016-08-17 12:45:29'),(11006,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 90, `total_amount_cr` = 90, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000045\'','expenses/saveExpense','0.013247966766357','2016-08-17 12:45:29'),(11007,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2115','expenses/saveExpense','0.024816989898682','2016-08-17 12:45:29'),(11008,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11040','expenses/saveExpense','0.011541843414307','2016-08-17 12:45:29'),(11009,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000045\'','expenses/saveExpense','0.01298713684082','2016-08-17 12:45:29'),(11010,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000045\'','expenses/saveExpense','0.00058197975158691','2016-08-17 12:45:29'),(11011,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.020961999893188','2016-08-17 12:45:30'),(11012,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014155149459839','2016-08-17 12:45:30'),(11013,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33139\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00048089027404785','2016-08-17 12:45:30'),(11014,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011940956115723','2016-08-17 12:45:30'),(11015,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00061202049255371','2016-08-17 12:45:36'),(11016,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00050497055053711','2016-08-17 12:45:37'),(11017,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00047802925109863','2016-08-17 12:45:37'),(11018,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00046896934509277','2016-08-17 12:45:37'),(11019,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.084628820419312','2016-08-17 12:45:37'),(11020,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.044094800949097','2016-08-17 12:45:37'),(11021,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043720006942749','2016-08-17 12:45:37'),(11022,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043838977813721','2016-08-17 12:45:37'),(11023,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.087392091751099','2016-08-17 12:45:37'),(11024,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.020826101303101','2016-08-17 12:45:37'),(11025,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.010701894760132','2016-08-17 12:45:37'),(11026,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.022500038146973','2016-08-17 12:45:40'),(11027,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 12:45:40'),(11028,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:45:40'),(11029,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:45:40'),(11030,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:45:40'),(11031,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:45:40'),(11032,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 12:45:40'),(11033,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:45:40'),(11034,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:45:40'),(11035,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:45:40'),(11036,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:45:40'),(11037,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:45:40'),(11038,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0006251335144043','2016-08-17 12:45:41'),(11039,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:45:41'),(11040,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:45:41'),(11041,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 12:45:41'),(11042,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:45:41'),(11043,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 12:45:41'),(11044,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:45:41'),(11045,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 12:45:41'),(11046,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:45:41'),(11047,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:45:41'),(11048,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:45:41'),(11049,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:45:41'),(11050,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058388710021973','2016-08-17 12:45:44'),(11051,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0005791187286377','2016-08-17 12:45:45'),(11052,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 12:45:45'),(11053,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:45:45'),(11054,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005028247833252','2016-08-17 12:45:45'),(11055,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:45:45'),(11056,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:45:45'),(11057,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:45:45'),(11058,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 12:45:45'),(11059,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:45:45'),(11060,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:45:45'),(11061,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 12:45:45'),(11062,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:45:45'),(11063,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 12:45:45'),(11064,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 12:45:45'),(11065,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:45:45'),(11066,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:45:45'),(11067,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:45:45'),(11068,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:45:45'),(11069,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:45:45'),(11070,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:45:45'),(11071,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:45:45'),(11072,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 12:45:45'),(11073,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 12:45:45'),(11074,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:45:45'),(11075,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:45:45'),(11076,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:45:45'),(11077,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 12:45:45'),(11078,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:45:45'),(11079,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 12:45:45'),(11080,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 12:45:45'),(11081,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:45:45'),(11082,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:45:45'),(11083,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:45:45'),(11084,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 12:45:45'),(11085,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:45:45'),(11086,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 12:45:45'),(11087,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:45:45'),(11088,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'10988\'','report/journalDetails','0.03843092918396','2016-08-17 12:45:49'),(11089,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000017\'\nORDER BY `sequence`','report/journalDetails','0.0038788318634033','2016-08-17 12:45:49'),(11090,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00042510032653809','2016-08-17 12:45:49'),(11091,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.0005037784576416','2016-08-17 12:45:49'),(11092,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.046560049057007','2016-08-17 12:45:49'),(11093,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 12:45:49'),(11094,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-17 12:45:49'),(11095,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 12:45:49'),(11096,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 12:45:49'),(11097,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.014565944671631','2016-08-17 12:45:49'),(11098,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 12:45:49'),(11099,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-17 12:45:49'),(11100,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 12:45:49'),(11101,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 12:45:49'),(11102,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 12:45:49'),(11103,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 12:45:49'),(11104,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015280246734619','2016-08-17 12:45:51'),(11105,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 12:45:51'),(11106,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 12:45:51'),(11107,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 12:45:51'),(11108,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 12:45:51'),(11109,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-17 12:45:51'),(11110,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-17 12:45:51'),(11111,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 12:45:51'),(11112,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013577938079834','2016-08-17 12:45:51'),(11113,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 12:45:51'),(11114,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-17 12:45:51'),(11115,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 12:45:51'),(11116,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044059753417969','2016-08-17 12:45:53'),(11117,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043389797210693','2016-08-17 12:45:53'),(11118,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042500495910645','2016-08-17 12:45:53'),(11119,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043091773986816','2016-08-17 12:45:53'),(11120,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041089057922363','2016-08-17 12:45:53'),(11121,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043070316314697','2016-08-17 12:45:53'),(11122,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041990280151367','2016-08-17 12:45:53'),(11123,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041980743408203','2016-08-17 12:45:53'),(11124,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041990280151367','2016-08-17 12:45:53'),(11125,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040771961212158','2016-08-17 12:45:53'),(11126,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042839050292969','2016-08-17 12:45:53'),(11127,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041840076446533','2016-08-17 12:45:53'),(11128,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042219161987305','2016-08-17 12:45:54'),(11129,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-17 12:45:54'),(11130,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 12:45:54'),(11131,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 12:45:54'),(11132,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040650367736816','2016-08-17 12:45:54'),(11133,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-17 12:45:54'),(11134,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041589736938477','2016-08-17 12:45:54'),(11135,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040671825408936','2016-08-17 12:45:54'),(11136,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040929317474365','2016-08-17 12:45:54'),(11137,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040302276611328','2016-08-17 12:45:54'),(11138,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040318965911865','2016-08-17 12:45:54'),(11139,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 12:45:54'),(11140,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015769004821777','2016-08-17 12:45:57'),(11141,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0043058395385742','2016-08-17 12:45:57'),(11142,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00063109397888184','2016-08-17 12:46:01'),(11143,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:46:02'),(11144,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:46:02'),(11145,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:46:02'),(11146,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:46:02'),(11147,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 12:46:02'),(11148,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 12:46:02'),(11149,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:46:02'),(11150,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:46:02'),(11151,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:46:02'),(11152,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:46:02'),(11153,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 12:46:02'),(11154,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0047249794006348','2016-08-17 12:46:02'),(11155,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044879913330078','2016-08-17 12:46:02'),(11156,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044989585876465','2016-08-17 12:46:02'),(11157,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044898986816406','2016-08-17 12:46:02'),(11158,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043540000915527','2016-08-17 12:46:02'),(11159,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044269561767578','2016-08-17 12:46:02'),(11160,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044510364532471','2016-08-17 12:46:02'),(11161,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004525899887085','2016-08-17 12:46:02'),(11162,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044870376586914','2016-08-17 12:46:02'),(11163,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044479370117188','2016-08-17 12:46:02'),(11164,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045149326324463','2016-08-17 12:46:02'),(11165,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045058727264404','2016-08-17 12:46:02'),(11166,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00066900253295898','2016-08-17 12:46:35'),(11167,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053787231445312','2016-08-17 12:46:35'),(11168,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052499771118164','2016-08-17 12:46:35'),(11169,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051689147949219','2016-08-17 12:46:35'),(11170,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.087483882904053','2016-08-17 12:46:35'),(11171,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043527841567993','2016-08-17 12:46:35'),(11172,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043459177017212','2016-08-17 12:46:35'),(11173,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043726921081543','2016-08-17 12:46:35'),(11174,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.10360193252563','2016-08-17 12:46:35'),(11175,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00040006637573242','2016-08-17 12:46:36'),(11176,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00047206878662109','2016-08-17 12:46:36'),(11177,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.057177066802979','2016-08-17 12:46:37'),(11178,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0079391002655029','2016-08-17 12:46:37'),(11179,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2056\'','expenses/addNew','0.0044980049133301','2016-08-17 12:46:37'),(11180,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2056\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0040609836578369','2016-08-17 12:46:37'),(11181,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000005\'','expenses/addNew','0.00043106079101562','2016-08-17 12:46:37'),(11182,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.0067298412322998','2016-08-17 12:46:37'),(11183,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.0013129711151123','2016-08-17 12:46:37'),(11184,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062894821166992','2016-08-17 12:46:39'),(11185,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:46:39'),(11186,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 12:46:39'),(11187,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:46:39'),(11188,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:46:39'),(11189,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:46:39'),(11190,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:46:39'),(11191,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 12:46:39'),(11192,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:46:39'),(11193,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:46:39'),(11194,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-17 12:46:39'),(11195,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:46:39'),(11196,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00065803527832031','2016-08-17 12:46:40'),(11197,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:46:40'),(11198,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:46:40'),(11199,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:46:40'),(11200,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:46:40'),(11201,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:46:40'),(11202,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 12:46:40'),(11203,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 12:46:40'),(11204,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 12:46:40'),(11205,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:46:40'),(11206,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 12:46:40'),(11207,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:46:40'),(11208,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058293342590332','2016-08-17 12:46:43'),(11209,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058698654174805','2016-08-17 12:46:44'),(11210,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 12:46:44'),(11211,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:46:44'),(11212,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 12:46:44'),(11213,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 12:46:44'),(11214,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:46:44'),(11215,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:46:44'),(11216,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:46:44'),(11217,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:46:44'),(11218,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:46:44'),(11219,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:46:44'),(11220,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00094509124755859','2016-08-17 12:46:44'),(11221,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 12:46:44'),(11222,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:46:44'),(11223,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:46:44'),(11224,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:46:44'),(11225,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:46:44'),(11226,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 12:46:44'),(11227,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:46:44'),(11228,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:46:44'),(11229,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:46:44'),(11230,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:46:44'),(11231,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050520896911621','2016-08-17 12:46:44'),(11232,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 12:46:44'),(11233,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:46:44'),(11234,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:46:45'),(11235,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:46:45'),(11236,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:46:45'),(11237,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:46:45'),(11238,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:46:45'),(11239,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 12:46:45'),(11240,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:46:45'),(11241,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-17 12:46:45'),(11242,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:46:45'),(11243,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:46:45'),(11244,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:46:45'),(11245,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:46:45'),(11246,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0020220279693604','2016-08-17 12:46:48'),(11247,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 12:46:48'),(11248,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013878345489502','2016-08-17 12:46:48'),(11249,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 12:46:48'),(11250,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 12:46:48'),(11251,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 12:46:49'),(11252,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 12:46:49'),(11253,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 12:46:49'),(11254,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 12:46:49'),(11255,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 12:46:49'),(11256,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013492107391357','2016-08-17 12:46:49'),(11257,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 12:46:49'),(11258,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015449523925781','2016-08-17 12:46:50'),(11259,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 12:46:50'),(11260,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 12:46:50'),(11261,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 12:46:50'),(11262,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 12:46:50'),(11263,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 12:46:50'),(11264,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 12:46:50'),(11265,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 12:46:50'),(11266,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 12:46:50'),(11267,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 12:46:50'),(11268,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-17 12:46:50'),(11269,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 12:46:50'),(11270,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0045039653778076','2016-08-17 12:46:52'),(11271,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041599273681641','2016-08-17 12:46:52'),(11272,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041341781616211','2016-08-17 12:46:52'),(11273,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043089389801025','2016-08-17 12:46:52'),(11274,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041191577911377','2016-08-17 12:46:52'),(11275,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041239261627197','2016-08-17 12:46:52'),(11276,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044620037078857','2016-08-17 12:46:52'),(11277,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041179656982422','2016-08-17 12:46:52'),(11278,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041320323944092','2016-08-17 12:46:52'),(11279,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043079853057861','2016-08-17 12:46:52'),(11280,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041110515594482','2016-08-17 12:46:52'),(11281,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042989253997803','2016-08-17 12:46:52'),(11282,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042300224304199','2016-08-17 12:46:53'),(11283,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040409564971924','2016-08-17 12:46:53'),(11284,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 12:46:53'),(11285,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040929317474365','2016-08-17 12:46:53'),(11286,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040619373321533','2016-08-17 12:46:53'),(11287,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040750503540039','2016-08-17 12:46:53'),(11288,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 12:46:53'),(11289,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 12:46:53'),(11290,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 12:46:53'),(11291,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040340423583984','2016-08-17 12:46:53'),(11292,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 12:46:53'),(11293,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040111541748047','2016-08-17 12:46:53'),(11294,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015938282012939','2016-08-17 12:46:56'),(11295,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0042929649353027','2016-08-17 12:46:56'),(11296,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0026438236236572','2016-08-17 12:47:00'),(11297,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010418891906738','2016-08-17 12:47:00'),(11298,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2086\'','expenses/addNew','0.0022928714752197','2016-08-17 12:47:00'),(11299,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2086\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0023970603942871','2016-08-17 12:47:00'),(11300,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000011\'','expenses/addNew','0.030931949615479','2016-08-17 12:47:00'),(11301,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039100646972656','2016-08-17 12:47:00'),(11302,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048303604125977','2016-08-17 12:47:00'),(11303,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062012672424316','2016-08-17 12:47:01'),(11304,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050878524780273','2016-08-17 12:47:01'),(11305,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 12:47:01'),(11306,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:47:01'),(11307,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:47:01'),(11308,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 12:47:01'),(11309,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:47:01'),(11310,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 12:47:01'),(11311,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:47:01'),(11312,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:47:01'),(11313,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 12:47:01'),(11314,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 12:47:01'),(11315,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044569969177246','2016-08-17 12:47:01'),(11316,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043790340423584','2016-08-17 12:47:01'),(11317,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043251514434814','2016-08-17 12:47:01'),(11318,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043680667877197','2016-08-17 12:47:01'),(11319,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043959617614746','2016-08-17 12:47:01'),(11320,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043900012969971','2016-08-17 12:47:01'),(11321,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043849945068359','2016-08-17 12:47:01'),(11322,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043480396270752','2016-08-17 12:47:01'),(11323,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043940544128418','2016-08-17 12:47:01'),(11324,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044219493865967','2016-08-17 12:47:01'),(11325,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044150352478027','2016-08-17 12:47:01'),(11326,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043890476226807','2016-08-17 12:47:01'),(11327,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.084607124328613','2016-08-17 12:47:38'),(11328,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.011082887649536','2016-08-17 12:47:38'),(11329,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00042414665222168','2016-08-17 12:47:38'),(11330,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.00088810920715332','2016-08-17 12:47:38'),(11331,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00047898292541504','2016-08-17 12:47:38'),(11332,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.0004580020904541','2016-08-17 12:47:38'),(11333,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:47:38'),(11334,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045418739318848','2016-08-17 12:47:38'),(11335,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045108795166016','2016-08-17 12:47:38'),(11336,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044894218444824','2016-08-17 12:47:38'),(11337,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045299530029297','2016-08-17 12:47:38'),(11338,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044894218444824','2016-08-17 12:47:38'),(11339,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.0004580020904541','2016-08-17 12:47:38'),(11340,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044918060302734','2016-08-17 12:47:38'),(11341,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.0096478462219238','2016-08-17 12:47:38'),(11342,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.00041007995605469','2016-08-17 12:47:38'),(11343,24,31,'192.168.1.204','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.00046682357788086','2016-08-17 12:47:38'),(11344,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00046491622924805','2016-08-17 12:47:38'),(11345,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201601 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'24\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.17557215690613','2016-08-17 12:47:38'),(11346,24,31,'192.168.1.204','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201601\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.0037071704864502','2016-08-17 12:47:38'),(11347,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.0004570484161377','2016-08-17 12:47:38'),(11348,24,31,'192.168.1.204','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00036406517028809','2016-08-17 12:47:38'),(11349,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.0007631778717041','2016-08-17 12:47:38'),(11350,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.0004570484161377','2016-08-17 12:47:38'),(11351,24,31,'192.168.1.204','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00034904479980469','2016-08-17 12:47:38'),(11352,24,31,'192.168.1.204','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'24\'\nAND `a`.`acctID` =  \'33119\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.032114028930664','2016-08-17 12:47:38'),(11353,24,31,'192.168.1.204','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'24\'\nAND `accountID` =  \'33119\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.00033116340637207','2016-08-17 12:47:38'),(11354,24,31,'192.168.1.204','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.0021460056304932','2016-08-17 12:47:38'),(11355,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.00048589706420898','2016-08-17 12:47:38'),(11356,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.00050997734069824','2016-08-17 12:47:38'),(11357,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0026860237121582','2016-08-17 12:47:41'),(11358,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010921955108643','2016-08-17 12:47:41'),(11359,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2091\'','expenses/addNew','0.0023190975189209','2016-08-17 12:47:41'),(11360,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2091\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024120807647705','2016-08-17 12:47:41'),(11361,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000017\'','expenses/addNew','0.00052714347839355','2016-08-17 12:47:41'),(11362,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038599967956543','2016-08-17 12:47:41'),(11363,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047898292541504','2016-08-17 12:47:41'),(11364,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0026860237121582','2016-08-17 12:47:52'),(11365,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010800361633301','2016-08-17 12:47:52'),(11366,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2101\'','expenses/addNew','0.0023009777069092','2016-08-17 12:47:52'),(11367,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2101\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024099349975586','2016-08-17 12:47:52'),(11368,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000021\'','expenses/addNew','0.00054407119750977','2016-08-17 12:47:52'),(11369,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038504600524902','2016-08-17 12:47:52'),(11370,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047993659973145','2016-08-17 12:47:52'),(11371,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'11005\'','report/journalDetails','0.14170217514038','2016-08-17 12:48:07'),(11372,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000021\'\nORDER BY `sequence`','report/journalDetails','0.0021629333496094','2016-08-17 12:48:07'),(11373,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.0003969669342041','2016-08-17 12:48:07'),(11374,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049591064453125','2016-08-17 12:48:07'),(11375,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0027148723602295','2016-08-17 12:48:24'),(11376,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010850429534912','2016-08-17 12:48:24'),(11377,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2103\'','expenses/addNew','0.0022799968719482','2016-08-17 12:48:24'),(11378,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2103\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024659633636475','2016-08-17 12:48:24'),(11379,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000023\'','expenses/addNew','0.00052905082702637','2016-08-17 12:48:24'),(11380,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038886070251465','2016-08-17 12:48:24'),(11381,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047802925109863','2016-08-17 12:48:24'),(11382,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'11009\'','report/journalDetails','0.0017750263214111','2016-08-17 12:48:39'),(11383,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000023\'\nORDER BY `sequence`','report/journalDetails','0.00086593627929688','2016-08-17 12:48:39'),(11384,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00039887428283691','2016-08-17 12:48:39'),(11385,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00053596496582031','2016-08-17 12:48:39'),(11386,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.00052499771118164','2016-08-17 12:48:45'),(11387,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.0010190010070801','2016-08-17 12:48:45'),(11388,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00041985511779785','2016-08-17 12:48:45'),(11389,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.00087618827819824','2016-08-17 12:48:45'),(11390,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00048112869262695','2016-08-17 12:48:45'),(11391,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045895576477051','2016-08-17 12:48:45'),(11392,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-17 12:48:45'),(11393,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045299530029297','2016-08-17 12:48:45'),(11394,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-17 12:48:45'),(11395,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-17 12:48:45'),(11396,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045514106750488','2016-08-17 12:48:45'),(11397,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045585632324219','2016-08-17 12:48:45'),(11398,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044989585876465','2016-08-17 12:48:45'),(11399,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044608116149902','2016-08-17 12:48:45'),(11400,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.00042080879211426','2016-08-17 12:48:45'),(11401,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `startDate` <= \'2016-08-17\'\nAND `endDate` >= \'2016-08-17\'\nLIMIT 1','glreports/accountBalanceSummary','0.00041007995605469','2016-08-17 12:48:45'),(11402,24,31,'192.168.1.204','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.00046896934509277','2016-08-17 12:48:45'),(11403,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00046491622924805','2016-08-17 12:48:45'),(11404,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201601 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'24\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.11080598831177','2016-08-17 12:48:45'),(11405,24,31,'192.168.1.204','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201601\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.0032529830932617','2016-08-17 12:48:45'),(11406,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00041604042053223','2016-08-17 12:48:45'),(11407,24,31,'192.168.1.204','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00031113624572754','2016-08-17 12:48:45'),(11408,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.00071096420288086','2016-08-17 12:48:45'),(11409,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00040197372436523','2016-08-17 12:48:45'),(11410,24,31,'192.168.1.204','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'24\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.0002901554107666','2016-08-17 12:48:45'),(11411,24,31,'192.168.1.204','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'24\'\nAND `a`.`acctID` =  \'33119\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.032217025756836','2016-08-17 12:48:45'),(11412,24,31,'192.168.1.204','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'24\'\nAND `accountID` =  \'33119\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.00029087066650391','2016-08-17 12:48:45'),(11413,24,31,'192.168.1.204','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.002065896987915','2016-08-17 12:48:45'),(11414,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.0004420280456543','2016-08-17 12:48:45'),(11415,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.00045084953308105','2016-08-17 12:48:45'),(11416,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0026791095733643','2016-08-17 12:48:53'),(11417,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010650157928467','2016-08-17 12:48:53'),(11418,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2109\'','expenses/addNew','0.0022761821746826','2016-08-17 12:48:53'),(11419,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2109\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024058818817139','2016-08-17 12:48:53'),(11420,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000025\'','expenses/addNew','0.00053882598876953','2016-08-17 12:48:53'),(11421,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039100646972656','2016-08-17 12:48:53'),(11422,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047993659973145','2016-08-17 12:48:53'),(11423,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'11000\'','report/journalDetails','0.0017728805541992','2016-08-17 12:49:18'),(11424,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000019\'\nORDER BY `sequence`','report/journalDetails','0.00085806846618652','2016-08-17 12:49:19'),(11425,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00040698051452637','2016-08-17 12:49:19'),(11426,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049185752868652','2016-08-17 12:49:19'),(11427,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'11004\'','report/journalDetails','0.0017449855804443','2016-08-17 12:49:34'),(11428,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000020\'\nORDER BY `sequence`','report/journalDetails','0.00086593627929688','2016-08-17 12:49:34'),(11429,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00041007995605469','2016-08-17 12:49:34'),(11430,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049209594726562','2016-08-17 12:49:34'),(11431,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'11025\'','report/journalDetails','0.0017509460449219','2016-08-17 12:50:07'),(11432,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000025\'\nORDER BY `sequence`','report/journalDetails','0.00088381767272949','2016-08-17 12:50:07'),(11433,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00039887428283691','2016-08-17 12:50:07'),(11434,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00047802925109863','2016-08-17 12:50:07'),(11435,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0013818740844727','2016-08-17 12:50:09'),(11436,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012800693511963','2016-08-17 12:50:09'),(11437,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012481212615967','2016-08-17 12:50:09'),(11438,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012459754943848','2016-08-17 12:50:09'),(11439,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.002371072769165','2016-08-17 12:50:09'),(11440,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004420280456543','2016-08-17 12:50:09'),(11441,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048518180847168','2016-08-17 12:50:09'),(11442,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013668537139893','2016-08-17 12:50:47'),(11443,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012788772583008','2016-08-17 12:50:47'),(11444,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001244068145752','2016-08-17 12:50:47'),(11445,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012879371643066','2016-08-17 12:50:47'),(11446,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.00223708152771','2016-08-17 12:50:47'),(11447,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043082237243652','2016-08-17 12:50:47'),(11448,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-17 12:50:47'),(11449,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018930435180664','2016-08-17 12:50:53'),(11450,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010581016540527','2016-08-17 12:50:53'),(11451,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2048\'','expenses/addNew','0.0022561550140381','2016-08-17 12:50:53'),(11452,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2048\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024039745330811','2016-08-17 12:50:53'),(11453,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP160800000001\'','expenses/addNew','0.00055384635925293','2016-08-17 12:50:53'),(11454,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039196014404297','2016-08-17 12:50:53'),(11455,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047993659973145','2016-08-17 12:50:53'),(11456,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018999576568604','2016-08-17 12:51:20'),(11457,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010581016540527','2016-08-17 12:51:20'),(11458,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2097\'','expenses/addNew','0.0022599697113037','2016-08-17 12:51:20'),(11459,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2097\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024139881134033','2016-08-17 12:51:20'),(11460,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000018\'','expenses/addNew','0.00052094459533691','2016-08-17 12:51:20'),(11461,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038599967956543','2016-08-17 12:51:20'),(11462,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047898292541504','2016-08-17 12:51:20'),(11463,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.001816987991333','2016-08-17 12:51:27'),(11464,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010459423065186','2016-08-17 12:51:27'),(11465,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2072\'','expenses/addNew','0.002269983291626','2016-08-17 12:51:27'),(11466,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2072\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0024139881134033','2016-08-17 12:51:27'),(11467,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000021\'','expenses/addNew','0.00054502487182617','2016-08-17 12:51:27'),(11468,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039291381835938','2016-08-17 12:51:27'),(11469,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047993659973145','2016-08-17 12:51:27'),(11470,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018770694732666','2016-08-17 12:51:44'),(11471,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010612010955811','2016-08-17 12:51:44'),(11472,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2099\'','expenses/addNew','0.00229811668396','2016-08-17 12:51:44'),(11473,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2099\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024111270904541','2016-08-17 12:51:44'),(11474,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000019\'','expenses/addNew','0.00052189826965332','2016-08-17 12:51:44'),(11475,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039005279541016','2016-08-17 12:51:44'),(11476,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047993659973145','2016-08-17 12:51:44'),(11477,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.001878023147583','2016-08-17 12:51:53'),(11478,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010571479797363','2016-08-17 12:51:53'),(11479,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2100\'','expenses/addNew','0.0022768974304199','2016-08-17 12:51:53'),(11480,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2100\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024020671844482','2016-08-17 12:51:53'),(11481,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000020\'','expenses/addNew','0.000518798828125','2016-08-17 12:51:53'),(11482,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038504600524902','2016-08-17 12:51:53'),(11483,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047898292541504','2016-08-17 12:51:53'),(11484,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2063\'','expenses/removePayment','0.099735975265503','2016-08-17 12:52:00'),(11485,24,31,'192.168.1.204','others','SELECT `comp_journal`.*, `comp_journal_detail`.*\nFROM (`comp_journal`)\nLEFT JOIN `comp_journal_detail` ON `comp_journal`.`journalID` = `comp_journal_detail`.`journalID` and comp_journal.companyID = comp_journal_detail.companyID\nWHERE `comp_journal`.`companyID` =  \'24\'\nAND `comp_journal`.`ID` =  \'10934\'','expenses/removePayment','0.00087404251098633','2016-08-17 12:52:00'),(11486,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal_detail`\nWHERE `ID` =  \'48405\'','expenses/removePayment','0.019447088241577','2016-08-17 12:52:00'),(11487,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal_detail`\nWHERE `ID` =  \'48406\'','expenses/removePayment','0.024487018585205','2016-08-17 12:52:00'),(11488,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal`\nWHERE `ID` =  \'10934\'','expenses/removePayment','0.016806840896606','2016-08-17 12:52:00'),(11489,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018858909606934','2016-08-17 12:52:01'),(11490,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.001054048538208','2016-08-17 12:52:01'),(11491,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2102\'','expenses/addNew','0.0022768974304199','2016-08-17 12:52:01'),(11492,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2102\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024070739746094','2016-08-17 12:52:01'),(11493,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000022\'','expenses/addNew','0.00056791305541992','2016-08-17 12:52:01'),(11494,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039196014404297','2016-08-17 12:52:01'),(11495,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048303604125977','2016-08-17 12:52:01'),(11496,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00063109397888184','2016-08-17 12:52:10'),(11497,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055789947509766','2016-08-17 12:52:10'),(11498,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052189826965332','2016-08-17 12:52:10'),(11499,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005180835723877','2016-08-17 12:52:10'),(11500,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043639898300171','2016-08-17 12:52:10'),(11501,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042913913726807','2016-08-17 12:52:10'),(11502,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042906045913696','2016-08-17 12:52:10'),(11503,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.0430748462677','2016-08-17 12:52:11'),(11504,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.1010570526123','2016-08-17 12:52:11'),(11505,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00041389465332031','2016-08-17 12:52:11'),(11506,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00048995018005371','2016-08-17 12:52:11'),(11507,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.30391693115234','2016-08-17 12:52:14'),(11508,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 12:52:14'),(11509,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:52:14'),(11510,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:52:14'),(11511,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 12:52:14'),(11512,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 12:52:14'),(11513,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 12:52:14'),(11514,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-17 12:52:14'),(11515,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 12:52:14'),(11516,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:52:14'),(11517,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00060009956359863','2016-08-17 12:52:14'),(11518,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:52:14'),(11519,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'2\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.05268120765686','2016-08-17 12:52:15'),(11520,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 12:52:15'),(11521,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.017986059188843','2016-08-17 12:52:15'),(11522,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-17 12:52:15'),(11523,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2110\'','expenses/addNew','0.057535171508789','2016-08-17 12:52:15'),(11524,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 12:52:15'),(11525,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2110\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0032639503479004','2016-08-17 12:52:15'),(11526,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:52:15'),(11527,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000026\'','expenses/addNew','0.00057792663574219','2016-08-17 12:52:15'),(11528,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 12:52:15'),(11529,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.001223087310791','2016-08-17 12:52:15'),(11530,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:52:15'),(11531,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.0011940002441406','2016-08-17 12:52:15'),(11532,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 12:52:15'),(11533,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 12:52:15'),(11534,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00048303604125977','2016-08-17 12:52:15'),(11535,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047993659973145','2016-08-17 12:52:16'),(11536,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00048303604125977','2016-08-17 12:52:16'),(11537,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046896934509277','2016-08-17 12:52:16'),(11538,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059199333190918','2016-08-17 12:52:19'),(11539,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 12:52:20'),(11540,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 12:52:20'),(11541,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:52:20'),(11542,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 12:52:20'),(11543,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 12:52:20'),(11544,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:52:20'),(11545,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:52:20'),(11546,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 12:52:20'),(11547,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:52:20'),(11548,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:52:20'),(11549,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:52:20'),(11550,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:52:20'),(11551,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 12:52:20'),(11552,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:52:20'),(11553,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:52:20'),(11554,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051522254943848','2016-08-17 12:52:20'),(11555,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:52:20'),(11556,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050616264343262','2016-08-17 12:52:20'),(11557,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 12:52:20'),(11558,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:52:20'),(11559,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:52:20'),(11560,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 12:52:20'),(11561,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050520896911621','2016-08-17 12:52:20'),(11562,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 12:52:20'),(11563,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:52:20'),(11564,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:52:20'),(11565,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-17 12:52:20'),(11566,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:52:20'),(11567,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:52:20'),(11568,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 12:52:20'),(11569,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 12:52:20'),(11570,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0086770057678223','2016-08-17 12:52:20'),(11571,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 12:52:20'),(11572,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 12:52:20'),(11573,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 12:52:20'),(11574,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 12:52:20'),(11575,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 12:52:20'),(11576,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.01423192024231','2016-08-17 12:52:24'),(11577,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001446008682251','2016-08-17 12:52:24'),(11578,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014369487762451','2016-08-17 12:52:24'),(11579,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013999938964844','2016-08-17 12:52:24'),(11580,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013878345489502','2016-08-17 12:52:24'),(11581,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 12:52:24'),(11582,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013678073883057','2016-08-17 12:52:24'),(11583,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-17 12:52:24'),(11584,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 12:52:24'),(11585,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014359951019287','2016-08-17 12:52:24'),(11586,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 12:52:24'),(11587,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-17 12:52:24'),(11588,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015881061553955','2016-08-17 12:52:25'),(11589,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014359951019287','2016-08-17 12:52:25'),(11590,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014009475708008','2016-08-17 12:52:26'),(11591,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-17 12:52:26'),(11592,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 12:52:26'),(11593,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013768672943115','2016-08-17 12:52:26'),(11594,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-17 12:52:26'),(11595,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013728141784668','2016-08-17 12:52:26'),(11596,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013728141784668','2016-08-17 12:52:26'),(11597,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 12:52:26'),(11598,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 12:52:26'),(11599,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 12:52:26'),(11600,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043971538543701','2016-08-17 12:52:28'),(11601,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041301250457764','2016-08-17 12:52:28'),(11602,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040888786315918','2016-08-17 12:52:28'),(11603,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004162073135376','2016-08-17 12:52:28'),(11604,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-17 12:52:28'),(11605,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 12:52:28'),(11606,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040569305419922','2016-08-17 12:52:28'),(11607,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 12:52:28'),(11608,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040631294250488','2016-08-17 12:52:28'),(11609,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040779113769531','2016-08-17 12:52:28'),(11610,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040690898895264','2016-08-17 12:52:28'),(11611,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 12:52:28'),(11612,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042819976806641','2016-08-17 12:52:29'),(11613,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041019916534424','2016-08-17 12:52:29'),(11614,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041050910949707','2016-08-17 12:52:29'),(11615,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040938854217529','2016-08-17 12:52:29'),(11616,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004094123840332','2016-08-17 12:52:29'),(11617,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-17 12:52:29'),(11618,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-17 12:52:29'),(11619,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 12:52:29'),(11620,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040638446807861','2016-08-17 12:52:29'),(11621,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 12:52:29'),(11622,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040700435638428','2016-08-17 12:52:29'),(11623,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040538311004639','2016-08-17 12:52:29'),(11624,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015850067138672','2016-08-17 12:52:32'),(11625,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041930675506592','2016-08-17 12:52:32'),(11626,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'\nGROUP BY `b`.`journalID`','transfer/index','0.025202989578247','2016-08-17 12:52:35'),(11627,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','transfer/index','0.0010900497436523','2016-08-17 12:52:35'),(11628,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','transfer/index','0.00043416023254395','2016-08-17 12:52:35'),(11629,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','transfer/index','0.00050878524780273','2016-08-17 12:52:35'),(11630,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00066018104553223','2016-08-17 12:52:37'),(11631,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 12:52:37'),(11632,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 12:52:37'),(11633,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 12:52:37'),(11634,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:52:37'),(11635,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 12:52:37'),(11636,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 12:52:37'),(11637,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-17 12:52:37'),(11638,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:52:37'),(11639,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 12:52:37'),(11640,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 12:52:37'),(11641,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 12:52:37'),(11642,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0048589706420898','2016-08-17 12:52:37'),(11643,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004594087600708','2016-08-17 12:52:37'),(11644,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045490264892578','2016-08-17 12:52:37'),(11645,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045878887176514','2016-08-17 12:52:37'),(11646,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044879913330078','2016-08-17 12:52:37'),(11647,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045528411865234','2016-08-17 12:52:37'),(11648,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045521259307861','2016-08-17 12:52:37'),(11649,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045320987701416','2016-08-17 12:52:37'),(11650,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044810771942139','2016-08-17 12:52:37'),(11651,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045161247253418','2016-08-17 12:52:37'),(11652,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045678615570068','2016-08-17 12:52:37'),(11653,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004547119140625','2016-08-17 12:52:37'),(11654,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0014610290527344','2016-08-17 12:53:42'),(11655,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012869834899902','2016-08-17 12:53:42'),(11656,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001244068145752','2016-08-17 12:53:42'),(11657,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.00124192237854','2016-08-17 12:53:42'),(11658,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021531581878662','2016-08-17 12:53:42'),(11659,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042915344238281','2016-08-17 12:53:42'),(11660,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048589706420898','2016-08-17 12:53:42'),(11661,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018258094787598','2016-08-17 12:53:50'),(11662,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010528564453125','2016-08-17 12:53:50'),(11663,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2060\'','expenses/addNew','0.0022749900817871','2016-08-17 12:53:50'),(11664,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2060\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024101734161377','2016-08-17 12:53:50'),(11665,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000015\'','expenses/addNew','0.00053310394287109','2016-08-17 12:53:50'),(11666,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00039196014404297','2016-08-17 12:53:51'),(11667,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047993659973145','2016-08-17 12:53:51'),(11668,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'10980\'','report/journalDetails','0.0017762184143066','2016-08-17 12:54:52'),(11669,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160200000001\'\nORDER BY `sequence`','report/journalDetails','0.033207893371582','2016-08-17 12:54:52'),(11670,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00040984153747559','2016-08-17 12:54:52'),(11671,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049901008605957','2016-08-17 12:54:52'),(11672,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0013718605041504','2016-08-17 12:55:28'),(11673,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012791156768799','2016-08-17 12:55:28'),(11674,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.00124192237854','2016-08-17 12:55:28'),(11675,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012369155883789','2016-08-17 12:55:28'),(11676,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021400451660156','2016-08-17 12:55:28'),(11677,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042295455932617','2016-08-17 12:55:28'),(11678,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048589706420898','2016-08-17 12:55:28'),(11679,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `paymentDate` >= \'2016-08-01\'\nAND `paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.004709005355835','2016-08-17 12:55:33'),(11680,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010430812835693','2016-08-17 12:55:33'),(11681,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016999244689941','2016-08-17 12:55:33'),(11682,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041699409484863','2016-08-17 12:55:33'),(11683,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051498413085938','2016-08-17 12:55:33'),(11684,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.19201612472534','2016-08-17 12:56:10'),(11685,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.10640001296997','2016-08-17 12:56:10'),(11686,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.095763921737671','2016-08-17 12:56:10'),(11687,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.085903882980347','2016-08-17 12:56:10'),(11688,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.078762054443359','2016-08-17 12:56:10'),(11689,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00026607513427734','2016-08-17 12:56:10'),(11690,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00033307075500488','2016-08-17 12:56:10'),(11691,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','report/smeCashFlowListPrint','0.10807299613953','2016-08-17 12:56:27'),(11692,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowListPrint','0.10777187347412','2016-08-17 12:56:27'),(11693,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowListPrint','0.10675692558289','2016-08-17 12:56:27'),(11694,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowListPrint','0.095462083816528','2016-08-17 12:56:28'),(11695,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowListPrint','0.085216999053955','2016-08-17 12:56:28'),(11696,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowListPrint','0.078399181365967','2016-08-17 12:56:28'),(11697,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','report/smeCashFlowListPrint','0.00042104721069336','2016-08-17 12:56:28'),(11698,24,31,'192.168.1.204','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'24\'','setup/loanSetup','0.0016660690307617','2016-08-17 12:57:08'),(11699,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.00043106079101562','2016-08-17 12:57:08'),(11700,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00051283836364746','2016-08-17 12:57:08'),(11701,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00062990188598633','2016-08-17 12:57:27'),(11702,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053596496582031','2016-08-17 12:57:27'),(11703,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00052618980407715','2016-08-17 12:57:27'),(11704,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.000518798828125','2016-08-17 12:57:27'),(11705,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.0007481575012207','2016-08-17 12:57:27'),(11706,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041699409484863','2016-08-17 12:57:27'),(11707,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051403045654297','2016-08-17 12:57:27'),(11708,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011990070343018','2016-08-17 12:59:29'),(11709,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.00099682807922363','2016-08-17 12:59:29'),(11710,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'732\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00039410591125488','2016-08-17 12:59:29'),(11711,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'732\'','sales/edit_sale','0.084373950958252','2016-08-17 12:59:29'),(11712,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'732\'','sales/edit_sale','0.00046110153198242','2016-08-17 12:59:29'),(11713,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040698051452637','2016-08-17 12:59:29'),(11714,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050997734069824','2016-08-17 12:59:29'),(11715,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00061607360839844','2016-08-17 13:02:31'),(11716,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053310394287109','2016-08-17 13:02:31'),(11717,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00054597854614258','2016-08-17 13:02:31'),(11718,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051999092102051','2016-08-17 13:02:31'),(11719,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00075387954711914','2016-08-17 13:02:31'),(11720,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041294097900391','2016-08-17 13:02:31'),(11721,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051116943359375','2016-08-17 13:02:31'),(11722,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063300132751465','2016-08-17 13:02:35'),(11723,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005340576171875','2016-08-17 13:02:35'),(11724,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052094459533691','2016-08-17 13:02:35'),(11725,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 13:02:35'),(11726,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043690204620361','2016-08-17 13:02:35'),(11727,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043310880661011','2016-08-17 13:02:35'),(11728,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043374061584473','2016-08-17 13:02:35'),(11729,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042261123657227','2016-08-17 13:02:35'),(11730,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.20510005950928','2016-08-17 13:02:35'),(11731,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046205520629883','2016-08-17 13:02:35'),(11732,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052189826965332','2016-08-17 13:02:35'),(11733,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00059294700622559','2016-08-17 13:02:35'),(11734,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.000518798828125','2016-08-17 13:02:35'),(11735,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051689147949219','2016-08-17 13:02:35'),(11736,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051498413085938','2016-08-17 13:02:35'),(11737,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00071907043457031','2016-08-17 13:02:35'),(11738,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00040388107299805','2016-08-17 13:02:35'),(11739,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050902366638184','2016-08-17 13:02:35'),(11740,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.010761976242065','2016-08-17 13:02:38'),(11741,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 13:02:38'),(11742,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 13:02:38'),(11743,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 13:02:38'),(11744,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 13:02:38'),(11745,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 13:02:38'),(11746,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 13:02:38'),(11747,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 13:02:38'),(11748,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 13:02:38'),(11749,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 13:02:38'),(11750,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 13:02:38'),(11751,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 13:02:38'),(11752,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.051132917404175','2016-08-17 13:02:39'),(11753,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.011719942092896','2016-08-17 13:02:39'),(11754,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'718\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00043082237243652','2016-08-17 13:02:39'),(11755,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'718\'','sales/edit_sale','0.00065994262695312','2016-08-17 13:02:39'),(11756,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'718\'','sales/edit_sale','0.00045895576477051','2016-08-17 13:02:39'),(11757,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00041294097900391','2016-08-17 13:02:39'),(11758,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050997734069824','2016-08-17 13:02:39'),(11759,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 13:02:40'),(11760,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047898292541504','2016-08-17 13:02:40'),(11761,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 13:02:40'),(11762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047397613525391','2016-08-17 13:02:40'),(11763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047206878662109','2016-08-17 13:02:40'),(11764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046300888061523','2016-08-17 13:02:40'),(11765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046396255493164','2016-08-17 13:02:40'),(11766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047206878662109','2016-08-17 13:02:40'),(11767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046706199645996','2016-08-17 13:02:40'),(11768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046801567077637','2016-08-17 13:02:40'),(11769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0004580020904541','2016-08-17 13:02:40'),(11770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046491622924805','2016-08-17 13:02:40'),(11771,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059700012207031','2016-08-17 13:02:44'),(11772,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0005800724029541','2016-08-17 13:02:46'),(11773,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 13:02:46'),(11774,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 13:02:46'),(11775,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 13:02:46'),(11776,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 13:02:46'),(11777,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 13:02:46'),(11778,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 13:02:46'),(11779,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 13:02:46'),(11780,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 13:02:46'),(11781,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 13:02:46'),(11782,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 13:02:46'),(11783,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 13:02:46'),(11784,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 13:02:46'),(11785,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011789798736572','2016-08-17 13:02:49'),(11786,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.00099015235900879','2016-08-17 13:02:49'),(11787,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'718\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00043320655822754','2016-08-17 13:02:49'),(11788,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'718\'','sales/edit_sale','0.00063896179199219','2016-08-17 13:02:50'),(11789,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'718\'','sales/edit_sale','0.00045108795166016','2016-08-17 13:02:50'),(11790,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040388107299805','2016-08-17 13:02:50'),(11791,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050115585327148','2016-08-17 13:02:50'),(11792,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.21287703514099','2016-08-17 13:02:50'),(11793,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013761520385742','2016-08-17 13:02:50'),(11794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013940334320068','2016-08-17 13:02:50'),(11795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 13:02:50'),(11796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 13:02:50'),(11797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013821125030518','2016-08-17 13:02:50'),(11798,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 13:02:50'),(11799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 13:02:50'),(11800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 13:02:50'),(11801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-17 13:02:50'),(11802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-17 13:02:50'),(11803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013759136199951','2016-08-17 13:02:50'),(11804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015730857849121','2016-08-17 13:02:51'),(11805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 13:02:51'),(11806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 13:02:51'),(11807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013771057128906','2016-08-17 13:02:52'),(11808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 13:02:52'),(11809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 13:02:52'),(11810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 13:02:52'),(11811,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 13:02:52'),(11812,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 13:02:52'),(11813,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 13:02:52'),(11814,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 13:02:52'),(11815,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-17 13:02:52'),(11816,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043089389801025','2016-08-17 13:02:54'),(11817,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 13:02:54'),(11818,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040650367736816','2016-08-17 13:02:54'),(11819,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 13:02:54'),(11820,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-17 13:02:54'),(11821,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041120052337646','2016-08-17 13:02:54'),(11822,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 13:02:54'),(11823,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00406813621521','2016-08-17 13:02:54'),(11824,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041129589080811','2016-08-17 13:02:54'),(11825,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040631294250488','2016-08-17 13:02:54');
INSERT INTO `_log_query` VALUES (11826,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040848255157471','2016-08-17 13:02:54'),(11827,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040500164031982','2016-08-17 13:02:54'),(11828,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041859149932861','2016-08-17 13:02:55'),(11829,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004094123840332','2016-08-17 13:02:55'),(11830,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040831565856934','2016-08-17 13:02:55'),(11831,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040881633758545','2016-08-17 13:02:55'),(11832,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040829181671143','2016-08-17 13:02:55'),(11833,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041091442108154','2016-08-17 13:02:55'),(11834,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040578842163086','2016-08-17 13:02:55'),(11835,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 13:02:55'),(11836,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040998458862305','2016-08-17 13:02:55'),(11837,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-17 13:02:55'),(11838,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040709972381592','2016-08-17 13:02:55'),(11839,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040519237518311','2016-08-17 13:02:55'),(11840,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0019440650939941','2016-08-17 13:02:56'),(11841,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.00098586082458496','2016-08-17 13:02:56'),(11842,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'718\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00043296813964844','2016-08-17 13:02:56'),(11843,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'718\'','sales/edit_sale','0.00063490867614746','2016-08-17 13:02:56'),(11844,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'718\'','sales/edit_sale','0.00044393539428711','2016-08-17 13:02:56'),(11845,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.021253108978271','2016-08-17 13:02:56'),(11846,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.0013678073883057','2016-08-17 13:02:56'),(11847,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00062203407287598','2016-08-17 13:02:58'),(11848,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051689147949219','2016-08-17 13:02:58'),(11849,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00049996376037598','2016-08-17 13:02:58'),(11850,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00051498413085938','2016-08-17 13:02:58'),(11851,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00071501731872559','2016-08-17 13:02:58'),(11852,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0004119873046875','2016-08-17 13:02:58'),(11853,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051188468933105','2016-08-17 13:02:58'),(11854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015769004821777','2016-08-17 13:02:59'),(11855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041360855102539','2016-08-17 13:02:59'),(11856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006248950958252','2016-08-17 13:03:03'),(11857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 13:03:03'),(11858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 13:03:03'),(11859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 13:03:03'),(11860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 13:03:03'),(11861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.012009859085083','2016-08-17 13:03:03'),(11862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 13:03:03'),(11863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 13:03:03'),(11864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 13:03:03'),(11865,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 13:03:03'),(11866,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 13:03:03'),(11867,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 13:03:03'),(11868,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044729709625244','2016-08-17 13:03:03'),(11869,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043699741363525','2016-08-17 13:03:03'),(11870,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043489933013916','2016-08-17 13:03:03'),(11871,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043668746948242','2016-08-17 13:03:03'),(11872,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043940544128418','2016-08-17 13:03:03'),(11873,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043680667877197','2016-08-17 13:03:03'),(11874,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045361518859863','2016-08-17 13:03:03'),(11875,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043599605560303','2016-08-17 13:03:03'),(11876,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043530464172363','2016-08-17 13:03:03'),(11877,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045151710510254','2016-08-17 13:03:03'),(11878,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043489933013916','2016-08-17 13:03:03'),(11879,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045201778411865','2016-08-17 13:03:03'),(11880,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006721019744873','2016-08-17 14:00:59'),(11881,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 14:00:59'),(11882,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:00:59'),(11883,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:00:59'),(11884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:00:59'),(11885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:00:59'),(11886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 14:00:59'),(11887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 14:00:59'),(11888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:00:59'),(11889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:00:59'),(11890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:00:59'),(11891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:00:59'),(11892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064182281494141','2016-08-17 14:01:01'),(11893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 14:01:01'),(11894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-17 14:01:01'),(11895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:01:01'),(11896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:01:01'),(11897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:01:01'),(11898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:01:01'),(11899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 14:01:01'),(11900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:01:01'),(11901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 14:01:01'),(11902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 14:01:01'),(11903,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:01:01'),(11904,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059390068054199','2016-08-17 14:01:05'),(11905,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058913230895996','2016-08-17 14:01:08'),(11906,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-17 14:01:08'),(11907,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:01:08'),(11908,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:01:08'),(11909,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:01:08'),(11910,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:01:08'),(11911,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:01:08'),(11912,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:01:08'),(11913,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:01:08'),(11914,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:01:08'),(11915,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:01:08'),(11916,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 14:01:08'),(11917,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 14:01:08'),(11918,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.03497314453125','2016-08-17 14:01:12'),(11919,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 14:01:12'),(11920,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001359224319458','2016-08-17 14:01:12'),(11921,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 14:01:12'),(11922,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 14:01:12'),(11923,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 14:01:12'),(11924,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 14:01:12'),(11925,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013861656188965','2016-08-17 14:01:12'),(11926,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 14:01:12'),(11927,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 14:01:12'),(11928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013492107391357','2016-08-17 14:01:12'),(11929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 14:01:12'),(11930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001554012298584','2016-08-17 14:01:14'),(11931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-17 14:01:14'),(11932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 14:01:14'),(11933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 14:01:14'),(11934,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 14:01:14'),(11935,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 14:01:14'),(11936,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 14:01:14'),(11937,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013618469238281','2016-08-17 14:01:14'),(11938,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013811588287354','2016-08-17 14:01:14'),(11939,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 14:01:14'),(11940,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 14:01:14'),(11941,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 14:01:14'),(11942,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042622089385986','2016-08-17 14:01:17'),(11943,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040781497955322','2016-08-17 14:01:17'),(11944,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040969848632812','2016-08-17 14:01:17'),(11945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041179656982422','2016-08-17 14:01:17'),(11946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041050910949707','2016-08-17 14:01:17'),(11947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 14:01:17'),(11948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041148662567139','2016-08-17 14:01:17'),(11949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041048526763916','2016-08-17 14:01:17'),(11950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-17 14:01:17'),(11951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041751861572266','2016-08-17 14:01:17'),(11952,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 14:01:17'),(11953,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 14:01:17'),(11954,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043220520019531','2016-08-17 14:01:18'),(11955,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-17 14:01:18'),(11956,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041310787200928','2016-08-17 14:01:18'),(11957,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040709972381592','2016-08-17 14:01:18'),(11958,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-17 14:01:18'),(11959,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040700435638428','2016-08-17 14:01:19'),(11960,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041170120239258','2016-08-17 14:01:19'),(11961,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040619373321533','2016-08-17 14:01:19'),(11962,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040957927703857','2016-08-17 14:01:19'),(11963,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040738582611084','2016-08-17 14:01:19'),(11964,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040900707244873','2016-08-17 14:01:19'),(11965,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041189193725586','2016-08-17 14:01:19'),(11966,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015869140625','2016-08-17 14:01:22'),(11967,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041677951812744','2016-08-17 14:01:22'),(11968,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061798095703125','2016-08-17 14:01:27'),(11969,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:01:27'),(11970,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:01:27'),(11971,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:01:27'),(11972,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 14:01:27'),(11973,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 14:01:27'),(11974,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:01:27'),(11975,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 14:01:27'),(11976,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:01:27'),(11977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:01:27'),(11978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:01:27'),(11979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:01:27'),(11980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044798851013184','2016-08-17 14:01:27'),(11981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004364013671875','2016-08-17 14:01:27'),(11982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043859481811523','2016-08-17 14:01:27'),(11983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043888092041016','2016-08-17 14:01:27'),(11984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043709278106689','2016-08-17 14:01:27'),(11985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044190883636475','2016-08-17 14:01:27'),(11986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045199394226074','2016-08-17 14:01:27'),(11987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043818950653076','2016-08-17 14:01:27'),(11988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043618679046631','2016-08-17 14:01:27'),(11989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043559074401855','2016-08-17 14:01:27'),(11990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004382848739624','2016-08-17 14:01:27'),(11991,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043411254882812','2016-08-17 14:01:27'),(11992,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062084197998047','2016-08-17 14:06:11'),(11993,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054502487182617','2016-08-17 14:06:11'),(11994,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051784515380859','2016-08-17 14:06:11'),(11995,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 14:06:11'),(11996,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.098541021347046','2016-08-17 14:06:11'),(11997,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04276704788208','2016-08-17 14:06:11'),(11998,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042755842208862','2016-08-17 14:06:11'),(11999,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042847156524658','2016-08-17 14:06:11'),(12000,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.25193810462952','2016-08-17 14:06:11'),(12001,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046706199645996','2016-08-17 14:06:11'),(12002,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051999092102051','2016-08-17 14:06:11'),(12003,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.12824201583862','2016-08-17 14:06:16'),(12004,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:06:16'),(12005,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:06:16'),(12006,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:06:16'),(12007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:06:16'),(12008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:06:16'),(12009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:06:16'),(12010,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 14:06:16'),(12011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 14:06:16'),(12012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 14:06:16'),(12013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:06:16'),(12014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:06:16'),(12015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-17 14:06:18'),(12016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:06:18'),(12017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:06:18'),(12018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 14:06:18'),(12019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:06:18'),(12020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:06:18'),(12021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:06:18'),(12022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 14:06:18'),(12023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:06:18'),(12024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:06:18'),(12025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:06:18'),(12026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:06:18'),(12027,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063204765319824','2016-08-17 14:06:21'),(12028,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055098533630371','2016-08-17 14:06:21'),(12029,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052118301391602','2016-08-17 14:06:21'),(12030,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 14:06:21'),(12031,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043512105941772','2016-08-17 14:06:21'),(12032,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043102979660034','2016-08-17 14:06:21'),(12033,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042886972427368','2016-08-17 14:06:21'),(12034,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042850971221924','2016-08-17 14:06:21'),(12035,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.046141147613525','2016-08-17 14:06:21'),(12036,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00043606758117676','2016-08-17 14:06:21'),(12037,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051498413085938','2016-08-17 14:06:21'),(12038,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062990188598633','2016-08-17 14:06:26'),(12039,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:06:26'),(12040,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:06:26'),(12041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:06:26'),(12042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:06:26'),(12043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:06:26'),(12044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 14:06:26'),(12045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 14:06:26'),(12046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:06:26'),(12047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:06:26'),(12048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 14:06:26'),(12049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:06:26'),(12050,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0029070377349854','2016-08-17 14:06:27'),(12051,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.0004580020904541','2016-08-17 14:06:27'),(12052,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00051116943359375','2016-08-17 14:06:27'),(12053,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'10934\'','report/journalDetails','0.00064516067504883','2016-08-17 14:10:25'),(12054,24,31,'192.168.1.204','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'24\'\nAND `journalID` IS NULL\nORDER BY `sequence`','report/journalDetails','0.012741088867188','2016-08-17 14:10:25'),(12055,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00081896781921387','2016-08-17 14:10:25'),(12056,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00050902366638184','2016-08-17 14:10:25'),(12057,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'10940\'','report/journalDetails','0.047958850860596','2016-08-17 14:10:33'),(12058,24,31,'192.168.1.204','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000016\'\nORDER BY `sequence`','report/journalDetails','0.0019659996032715','2016-08-17 14:10:33'),(12059,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00040888786315918','2016-08-17 14:10:33'),(12060,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.0011961460113525','2016-08-17 14:10:33'),(12061,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'10934\'','report/journalDetails','0.00063896179199219','2016-08-17 14:10:37'),(12062,24,31,'192.168.1.204','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'24\'\nAND `journalID` IS NULL\nORDER BY `sequence`','report/journalDetails','0.00080299377441406','2016-08-17 14:10:37'),(12063,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00041389465332031','2016-08-17 14:10:37'),(12064,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00050997734069824','2016-08-17 14:10:37'),(12065,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'10934\'','report/journalDetails','0.00069403648376465','2016-08-17 14:10:46'),(12066,24,31,'192.168.1.204','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'24\'\nAND `journalID` IS NULL\nORDER BY `sequence`','report/journalDetails','0.00080609321594238','2016-08-17 14:10:46'),(12067,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00041604042053223','2016-08-17 14:10:46'),(12068,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00050806999206543','2016-08-17 14:10:46'),(12069,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'10918\'','report/journalDetails','0.00063705444335938','2016-08-17 14:10:51'),(12070,24,31,'192.168.1.204','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'24\'\nAND `journalID` IS NULL\nORDER BY `sequence`','report/journalDetails','0.00080585479736328','2016-08-17 14:10:51'),(12071,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00041699409484863','2016-08-17 14:10:51'),(12072,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00050997734069824','2016-08-17 14:10:51'),(12073,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00059890747070312','2016-08-17 14:11:11'),(12074,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054502487182617','2016-08-17 14:11:11'),(12075,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051784515380859','2016-08-17 14:11:11'),(12076,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 14:11:11'),(12077,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10091614723206','2016-08-17 14:11:11'),(12078,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042878866195679','2016-08-17 14:11:11'),(12079,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042797803878784','2016-08-17 14:11:11'),(12080,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042913198471069','2016-08-17 14:11:11'),(12081,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.041079998016357','2016-08-17 14:11:11'),(12082,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00033903121948242','2016-08-17 14:11:11'),(12083,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00040102005004883','2016-08-17 14:11:11'),(12084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-17 14:11:14'),(12085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 14:11:14'),(12086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:11:14'),(12087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:11:14'),(12088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005497932434082','2016-08-17 14:11:14'),(12089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 14:11:14'),(12090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:11:14'),(12091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 14:11:14'),(12092,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:11:14'),(12093,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:11:14'),(12094,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 14:11:14'),(12095,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:11:14'),(12096,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062203407287598','2016-08-17 14:11:16'),(12097,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 14:11:16'),(12098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 14:11:16'),(12099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 14:11:16'),(12100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 14:11:16'),(12101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:11:16'),(12102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-17 14:11:16'),(12103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:11:16'),(12104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:11:16'),(12105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:11:16'),(12106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:11:16'),(12107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:11:16'),(12108,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00060510635375977','2016-08-17 14:11:16'),(12109,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 14:11:16'),(12110,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051999092102051','2016-08-17 14:11:16'),(12111,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051212310791016','2016-08-17 14:11:16'),(12112,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043210029602051','2016-08-17 14:11:16'),(12113,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043136835098267','2016-08-17 14:11:16'),(12114,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04272985458374','2016-08-17 14:11:16'),(12115,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043202877044678','2016-08-17 14:11:16'),(12116,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.082594156265259','2016-08-17 14:11:16'),(12117,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00044918060302734','2016-08-17 14:11:16'),(12118,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005338191986084','2016-08-17 14:11:16'),(12119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00067877769470215','2016-08-17 14:11:20'),(12120,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:11:20'),(12121,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:11:20'),(12122,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 14:11:20'),(12123,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:11:20'),(12124,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 14:11:20'),(12125,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-17 14:11:20'),(12126,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 14:11:20'),(12127,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:11:20'),(12128,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 14:11:20'),(12129,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 14:11:20'),(12130,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:11:20'),(12131,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061798095703125','2016-08-17 14:11:21'),(12132,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:11:21'),(12133,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:11:21'),(12134,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:11:21'),(12135,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:11:21'),(12136,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:11:21'),(12137,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 14:11:21'),(12138,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:11:21'),(12139,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:11:21'),(12140,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:11:21'),(12141,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:11:21'),(12142,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:11:21'),(12143,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060701370239258','2016-08-17 14:11:24'),(12144,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058507919311523','2016-08-17 14:11:25'),(12145,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 14:11:25'),(12146,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:11:25'),(12147,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 14:11:25'),(12148,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:11:25'),(12149,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:11:25'),(12150,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:11:26'),(12151,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:11:26'),(12152,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 14:11:26'),(12153,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:11:26'),(12154,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:11:26'),(12155,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:11:26'),(12156,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 14:11:26'),(12157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.025187969207764','2016-08-17 14:11:30'),(12158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 14:11:30'),(12159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014059543609619','2016-08-17 14:11:30'),(12160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 14:11:30'),(12161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 14:11:30'),(12162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 14:11:30'),(12163,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 14:11:30'),(12164,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 14:11:30'),(12165,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 14:11:30'),(12166,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 14:11:30'),(12167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013501644134521','2016-08-17 14:11:30'),(12168,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 14:11:30'),(12169,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015678405761719','2016-08-17 14:11:31'),(12170,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013551712036133','2016-08-17 14:11:31'),(12171,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013628005981445','2016-08-17 14:11:31'),(12172,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013611316680908','2016-08-17 14:11:31'),(12173,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 14:11:31'),(12174,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 14:11:31'),(12175,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 14:11:31'),(12176,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 14:11:31'),(12177,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013961791992188','2016-08-17 14:11:31'),(12178,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014019012451172','2016-08-17 14:11:31'),(12179,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 14:11:31'),(12180,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 14:11:31'),(12181,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043518543243408','2016-08-17 14:11:34'),(12182,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 14:11:34'),(12183,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-17 14:11:34'),(12184,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040700435638428','2016-08-17 14:11:34'),(12185,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 14:11:34'),(12186,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041038990020752','2016-08-17 14:11:34'),(12187,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-17 14:11:34'),(12188,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-17 14:11:34'),(12189,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040569305419922','2016-08-17 14:11:34'),(12190,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040650367736816','2016-08-17 14:11:34'),(12191,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040528774261475','2016-08-17 14:11:34'),(12192,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-17 14:11:34'),(12193,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004356861114502','2016-08-17 14:11:36'),(12194,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041460990905762','2016-08-17 14:11:36'),(12195,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041630268096924','2016-08-17 14:11:36'),(12196,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042600631713867','2016-08-17 14:11:36'),(12197,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042340755462646','2016-08-17 14:11:36'),(12198,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041549205780029','2016-08-17 14:11:36'),(12199,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041911602020264','2016-08-17 14:11:36'),(12200,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042140483856201','2016-08-17 14:11:36'),(12201,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042409896850586','2016-08-17 14:11:36'),(12202,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042860507965088','2016-08-17 14:11:36'),(12203,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041940212249756','2016-08-17 14:11:36'),(12204,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041470527648926','2016-08-17 14:11:36'),(12205,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00061607360839844','2016-08-17 14:11:39'),(12206,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005190372467041','2016-08-17 14:11:39'),(12207,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051689147949219','2016-08-17 14:11:39'),(12208,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005180835723877','2016-08-17 14:11:39'),(12209,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00077080726623535','2016-08-17 14:11:39'),(12210,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042605400085449','2016-08-17 14:11:39'),(12211,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050997734069824','2016-08-17 14:11:39'),(12212,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00062394142150879','2016-08-17 14:11:53'),(12213,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052690505981445','2016-08-17 14:11:54'),(12214,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051999092102051','2016-08-17 14:11:54'),(12215,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051498413085938','2016-08-17 14:11:54'),(12216,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078105926513672','2016-08-17 14:11:54'),(12217,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041484832763672','2016-08-17 14:11:54'),(12218,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050902366638184','2016-08-17 14:11:54'),(12219,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.23945498466492','2016-08-17 14:12:09'),(12220,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'726\'\nAND `companyID` =  \'25\'','sales/print_sale','0.00045108795166016','2016-08-17 14:12:09'),(12221,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'726\'','sales/print_sale','0.0083320140838623','2016-08-17 14:12:09'),(12222,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00060009956359863','2016-08-17 14:12:09'),(12223,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00062799453735352','2016-08-17 14:12:31'),(12224,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053310394287109','2016-08-17 14:12:31'),(12225,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052309036254883','2016-08-17 14:12:31'),(12226,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051617622375488','2016-08-17 14:12:31'),(12227,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-01-01\'\nAND `receivePaymentDate` <= \'2016-12-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00079894065856934','2016-08-17 14:12:31'),(12228,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041604042053223','2016-08-17 14:12:31'),(12229,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050806999206543','2016-08-17 14:12:31'),(12230,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00076079368591309','2016-08-17 14:12:37'),(12231,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'740\'\nAND `companyID` =  \'25\'','sales/print_sale','0.0004580020904541','2016-08-17 14:12:37'),(12232,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'740\'','sales/print_sale','0.00063300132751465','2016-08-17 14:12:37'),(12233,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00058603286743164','2016-08-17 14:12:37'),(12234,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00062894821166992','2016-08-17 14:12:52'),(12235,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053215026855469','2016-08-17 14:12:52'),(12236,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005180835723877','2016-08-17 14:12:52'),(12237,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051403045654297','2016-08-17 14:12:52'),(12238,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-17\'\nAND `receivePaymentDate` <= \'2016-08-17\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00075793266296387','2016-08-17 14:12:52'),(12239,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041484832763672','2016-08-17 14:12:52'),(12240,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051116943359375','2016-08-17 14:12:52'),(12241,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00062417984008789','2016-08-17 14:13:10'),(12242,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053715705871582','2016-08-17 14:13:10'),(12243,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052094459533691','2016-08-17 14:13:10'),(12244,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 14:13:10'),(12245,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.098336935043335','2016-08-17 14:13:10'),(12246,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043377876281738','2016-08-17 14:13:10'),(12247,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043027877807617','2016-08-17 14:13:10'),(12248,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043054103851318','2016-08-17 14:13:10'),(12249,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.085572004318237','2016-08-17 14:13:10'),(12250,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00041913986206055','2016-08-17 14:13:10'),(12251,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051784515380859','2016-08-17 14:13:10'),(12252,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.092326164245605','2016-08-17 14:13:10'),(12253,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053501129150391','2016-08-17 14:13:10'),(12254,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005180835723877','2016-08-17 14:13:10'),(12255,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051093101501465','2016-08-17 14:13:10'),(12256,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.0007779598236084','2016-08-17 14:13:10'),(12257,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.001183032989502','2016-08-17 14:13:10'),(12258,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.019675016403198','2016-08-17 14:13:10'),(12259,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00063204765319824','2016-08-17 14:13:13'),(12260,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 14:13:13'),(12261,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:13:13'),(12262,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:13:13'),(12263,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 14:13:13'),(12264,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 14:13:13'),(12265,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:13:13'),(12266,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 14:13:13'),(12267,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:13:13'),(12268,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:13:13'),(12269,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 14:13:13'),(12270,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:13:13'),(12271,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062203407287598','2016-08-17 14:13:14'),(12272,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 14:13:14'),(12273,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:13:14'),(12274,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:13:14'),(12275,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:13:14'),(12276,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:13:14'),(12277,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:13:14'),(12278,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 14:13:14'),(12279,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:13:14'),(12280,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 14:13:14'),(12281,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:13:14'),(12282,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:13:14'),(12283,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058221817016602','2016-08-17 14:13:17'),(12284,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0005800724029541','2016-08-17 14:13:18'),(12285,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-17 14:13:18'),(12286,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 14:13:18'),(12287,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 14:13:18'),(12288,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:13:19'),(12289,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:13:19'),(12290,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.015454053878784','2016-08-17 14:13:19'),(12291,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:13:19'),(12292,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:13:19'),(12293,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:13:19'),(12294,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 14:13:19'),(12295,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 14:13:19'),(12296,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 14:13:19'),(12297,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:13:19'),(12298,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:13:19'),(12299,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:13:19'),(12300,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:13:19'),(12301,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 14:13:19'),(12302,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 14:13:19'),(12303,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:13:19'),(12304,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:13:19'),(12305,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 14:13:19'),(12306,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-17 14:13:19'),(12307,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 14:13:19'),(12308,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:13:19'),(12309,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:13:19'),(12310,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 14:13:19'),(12311,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:13:19'),(12312,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 14:13:19'),(12313,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:13:19'),(12314,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:13:19'),(12315,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050210952758789','2016-08-17 14:13:19'),(12316,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 14:13:19'),(12317,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 14:13:19'),(12318,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:13:19'),(12319,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050115585327148','2016-08-17 14:13:19'),(12320,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:13:19'),(12321,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.034033060073853','2016-08-17 14:13:21'),(12322,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013089179992676','2016-08-17 14:13:21'),(12323,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012569427490234','2016-08-17 14:13:21'),(12324,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012590885162354','2016-08-17 14:13:21'),(12325,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.018851041793823','2016-08-17 14:13:21'),(12326,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043296813964844','2016-08-17 14:13:21'),(12327,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-17 14:13:21'),(12328,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.045830965042114','2016-08-17 14:13:23'),(12329,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 14:13:23'),(12330,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013940334320068','2016-08-17 14:13:23'),(12331,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 14:13:23'),(12332,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013577938079834','2016-08-17 14:13:23'),(12333,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 14:13:23'),(12334,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013477802276611','2016-08-17 14:13:23'),(12335,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 14:13:23'),(12336,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 14:13:23'),(12337,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 14:13:23'),(12338,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 14:13:23'),(12339,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 14:13:23'),(12340,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00154709815979','2016-08-17 14:13:24'),(12341,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 14:13:24'),(12342,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013821125030518','2016-08-17 14:13:24'),(12343,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 14:13:24'),(12344,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 14:13:24'),(12345,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 14:13:24'),(12346,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001370906829834','2016-08-17 14:13:24'),(12347,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 14:13:24'),(12348,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 14:13:25'),(12349,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 14:13:25'),(12350,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 14:13:25'),(12351,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 14:13:25'),(12352,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042719841003418','2016-08-17 14:13:27'),(12353,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040428638458252','2016-08-17 14:13:27'),(12354,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 14:13:27'),(12355,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040671825408936','2016-08-17 14:13:27'),(12356,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-17 14:13:27'),(12357,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 14:13:27'),(12358,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040469169616699','2016-08-17 14:13:27'),(12359,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041191577911377','2016-08-17 14:13:27'),(12360,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040497779846191','2016-08-17 14:13:27'),(12361,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041642189025879','2016-08-17 14:13:27'),(12362,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040771961212158','2016-08-17 14:13:27'),(12363,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040919780731201','2016-08-17 14:13:27'),(12364,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043468475341797','2016-08-17 14:13:28'),(12365,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040829181671143','2016-08-17 14:13:28'),(12366,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041210651397705','2016-08-17 14:13:28'),(12367,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041990280151367','2016-08-17 14:13:28'),(12368,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042898654937744','2016-08-17 14:13:28'),(12369,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041580200195312','2016-08-17 14:13:28'),(12370,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041739940643311','2016-08-17 14:13:28'),(12371,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041079521179199','2016-08-17 14:13:28'),(12372,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041470527648926','2016-08-17 14:13:28'),(12373,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042290687561035','2016-08-17 14:13:28'),(12374,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041108131408691','2016-08-17 14:13:28'),(12375,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004335880279541','2016-08-17 14:13:28'),(12376,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015690326690674','2016-08-17 14:13:31'),(12377,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.004188060760498','2016-08-17 14:13:31'),(12378,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00065493583679199','2016-08-17 14:13:35'),(12379,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:13:35'),(12380,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:13:35'),(12381,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:13:35'),(12382,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:13:35'),(12383,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 14:13:35'),(12384,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:13:35'),(12385,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 14:13:35'),(12386,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:13:35'),(12387,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:13:35'),(12388,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 14:13:36'),(12389,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:13:36'),(12390,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045061111450195','2016-08-17 14:13:36'),(12391,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043098926544189','2016-08-17 14:13:36'),(12392,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043361186981201','2016-08-17 14:13:36'),(12393,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043079853057861','2016-08-17 14:13:36'),(12394,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043470859527588','2016-08-17 14:13:36'),(12395,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043518543243408','2016-08-17 14:13:36'),(12396,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043141841888428','2016-08-17 14:13:36'),(12397,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044050216674805','2016-08-17 14:13:36'),(12398,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043840408325195','2016-08-17 14:13:36'),(12399,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004349946975708','2016-08-17 14:13:36'),(12400,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044698715209961','2016-08-17 14:13:36'),(12401,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043849945068359','2016-08-17 14:13:36'),(12402,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0006258487701416','2016-08-17 14:14:02'),(12403,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052499771118164','2016-08-17 14:14:02'),(12404,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005180835723877','2016-08-17 14:14:02'),(12405,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 14:14:02'),(12406,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13969397544861','2016-08-17 14:14:02'),(12407,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042765855789185','2016-08-17 14:14:02'),(12408,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042634010314941','2016-08-17 14:14:02'),(12409,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042907953262329','2016-08-17 14:14:02'),(12410,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.12028384208679','2016-08-17 14:14:02'),(12411,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047111511230469','2016-08-17 14:14:02'),(12412,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053191184997559','2016-08-17 14:14:02'),(12413,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.025349140167236','2016-08-17 14:14:05'),(12414,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-17 14:14:05'),(12415,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:14:05'),(12416,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:14:05'),(12417,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00093293190002441','2016-08-17 14:14:05'),(12418,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-17 14:14:05'),(12419,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:14:05'),(12420,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 14:14:06'),(12421,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:14:06'),(12422,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:14:06'),(12423,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:14:06'),(12424,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:14:06'),(12425,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005950927734375','2016-08-17 14:14:07'),(12426,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:14:07'),(12427,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:14:07'),(12428,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:14:07'),(12429,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 14:14:07'),(12430,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00059890747070312','2016-08-17 14:14:07'),(12431,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 14:14:07'),(12432,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-17 14:14:07'),(12433,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:14:07'),(12434,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 14:14:07'),(12435,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:14:07'),(12436,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-17 14:14:07'),(12437,24,31,'192.168.1.204','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'24\'','setup/loanSetup','0.0042409896850586','2016-08-17 14:14:08'),(12438,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.00044608116149902','2016-08-17 14:14:08'),(12439,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00052094459533691','2016-08-17 14:14:08'),(12440,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.084573984146118','2016-08-17 14:14:12'),(12441,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011061906814575','2016-08-17 14:14:12'),(12442,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00088310241699219','2016-08-17 14:14:12'),(12443,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047898292541504','2016-08-17 14:14:12'),(12444,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.0004570484161377','2016-08-17 14:14:12'),(12445,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045394897460938','2016-08-17 14:14:12'),(12446,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 14:14:12'),(12447,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 14:14:12'),(12448,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 14:14:12'),(12449,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045609474182129','2016-08-17 14:14:12'),(12450,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.0004570484161377','2016-08-17 14:14:12'),(12451,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:14:12'),(12452,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044989585876465','2016-08-17 14:14:12'),(12453,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.16692304611206','2016-08-17 14:14:12'),(12454,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084805488586426','2016-08-17 14:14:12'),(12455,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00036501884460449','2016-08-17 14:14:12'),(12456,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00045680999755859','2016-08-17 14:14:12'),(12457,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.10856795310974','2016-08-17 14:14:22'),(12458,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012660026550293','2016-08-17 14:14:22'),(12459,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012450218200684','2016-08-17 14:14:22'),(12460,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012378692626953','2016-08-17 14:14:22'),(12461,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.021388053894043','2016-08-17 14:14:22'),(12462,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043702125549316','2016-08-17 14:14:22'),(12463,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048589706420898','2016-08-17 14:14:22'),(12464,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0017499923706055','2016-08-17 14:14:25'),(12465,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.00099611282348633','2016-08-17 14:14:25'),(12466,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00043106079101562','2016-08-17 14:14:25'),(12467,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051093101501465','2016-08-17 14:14:25'),(12468,24,31,'192.168.1.204','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.014034986495972','2016-08-17 14:14:47'),(12469,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'24\', \'31\', 1, 1, \'68\', \'200\', \'OP-L\', \'2016-08-17\', \'162\', \'1\')','expenses/saveExpense','0.072263956069946','2016-08-17 14:14:47'),(12470,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2116, \'31\', \'wer\', 1, \'33139\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.15753412246704','2016-08-17 14:14:47'),(12471,24,31,'192.168.1.204','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2116','expenses/saveExpense','0.026187181472778','2016-08-17 14:14:47'),(12472,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2116','expenses/saveExpense','0.036900043487549','2016-08-17 14:14:47'),(12473,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2116\nAND `ID` =  2116','expenses/saveExpense','0.00055098533630371','2016-08-17 14:14:47'),(12474,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','expenses/saveExpense','0.0013182163238525','2016-08-17 14:14:47'),(12475,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  \'334\'','expenses/saveExpense','0.028244972229004','2016-08-17 14:14:47'),(12476,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000046\' WHERE `ID` =  2116','expenses/saveExpense','0.015581846237183','2016-08-17 14:14:47'),(12477,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2116','expenses/saveExpense','0.00054097175598145','2016-08-17 14:14:47'),(12478,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000046\', \'Pembayaran Balik Pinjaman [OP-L[00000041]]\', \'Pembayaran Balik Pinjaman [OP-L[00000041]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 200, 200, \'31\')','expenses/saveExpense','0.013373136520386','2016-08-17 14:14:47'),(12479,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000046\', 1, \'wer\', \'33133\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-L[00000041]\', \'User\')','expenses/saveExpense','0.024513006210327','2016-08-17 14:14:47'),(12480,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000046\', 2, \'wer\', \'33139\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-L[00000041]\', \'User\')','expenses/saveExpense','0.016279220581055','2016-08-17 14:14:47'),(12481,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000046\'','expenses/saveExpense','0.016375780105591','2016-08-17 14:14:47'),(12482,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2116','expenses/saveExpense','0.024789094924927','2016-08-17 14:14:47'),(12483,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11043','expenses/saveExpense','0.016494035720825','2016-08-17 14:14:47'),(12484,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000046\'','expenses/saveExpense','0.024715185165405','2016-08-17 14:14:47'),(12485,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000046\'','expenses/saveExpense','0.0005791187286377','2016-08-17 14:14:47'),(12486,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.024914979934692','2016-08-17 14:14:47'),(12487,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023414850234985','2016-08-17 14:14:47'),(12488,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33139\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00047588348388672','2016-08-17 14:14:47'),(12489,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015392065048218','2016-08-17 14:14:47'),(12490,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.0005180835723877','2016-08-17 14:14:55'),(12491,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.00099515914916992','2016-08-17 14:14:55'),(12492,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00086307525634766','2016-08-17 14:14:55'),(12493,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047802925109863','2016-08-17 14:14:55'),(12494,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045490264892578','2016-08-17 14:14:55'),(12495,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:14:55'),(12496,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 14:14:55'),(12497,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045180320739746','2016-08-17 14:14:55'),(12498,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 14:14:55'),(12499,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013601779937744','2016-08-17 14:14:55'),(12500,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.0004570484161377','2016-08-17 14:14:55'),(12501,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013089179992676','2016-08-17 14:14:55'),(12502,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 14:14:55'),(12503,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012569427490234','2016-08-17 14:14:55'),(12504,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-17 14:14:55'),(12505,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012578964233398','2016-08-17 14:14:55'),(12506,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 14:14:55'),(12507,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022170543670654','2016-08-17 14:14:55'),(12508,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14118695259094','2016-08-17 14:14:55'),(12509,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042605400085449','2016-08-17 14:14:55'),(12510,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084710121154785','2016-08-17 14:14:55'),(12511,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-17 14:14:55'),(12512,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00046491622924805','2016-08-17 14:14:55'),(12513,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051712989807129','2016-08-17 14:14:55'),(12514,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.0005490779876709','2016-08-17 14:15:05'),(12515,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.0010170936584473','2016-08-17 14:15:05'),(12516,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00086617469787598','2016-08-17 14:15:05'),(12517,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047802925109863','2016-08-17 14:15:05'),(12518,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:15:05'),(12519,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 14:15:05'),(12520,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 14:15:05'),(12521,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 14:15:05'),(12522,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044584274291992','2016-08-17 14:15:05'),(12523,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044989585876465','2016-08-17 14:15:05'),(12524,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:15:05'),(12525,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044918060302734','2016-08-17 14:15:05'),(12526,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044608116149902','2016-08-17 14:15:05'),(12527,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14049291610718','2016-08-17 14:15:05'),(12528,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.0007479190826416','2016-08-17 14:15:05'),(12529,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00036811828613281','2016-08-17 14:15:05'),(12530,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00045585632324219','2016-08-17 14:15:05'),(12531,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066399574279785','2016-08-17 14:15:30'),(12532,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005340576171875','2016-08-17 14:15:30'),(12533,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052523612976074','2016-08-17 14:15:30'),(12534,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 14:15:30'),(12535,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043468952178955','2016-08-17 14:15:30'),(12536,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043056011199951','2016-08-17 14:15:30'),(12537,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042859077453613','2016-08-17 14:15:30'),(12538,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043007135391235','2016-08-17 14:15:30'),(12539,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.31524586677551','2016-08-17 14:15:30'),(12540,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047993659973145','2016-08-17 14:15:31'),(12541,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052499771118164','2016-08-17 14:15:31'),(12542,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066900253295898','2016-08-17 14:15:55'),(12543,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 14:15:55'),(12544,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:15:55'),(12545,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 14:15:55'),(12546,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 14:15:55'),(12547,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 14:15:55'),(12548,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:15:55'),(12549,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 14:15:55'),(12550,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:15:55'),(12551,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 14:15:55'),(12552,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:15:55'),(12553,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:15:55'),(12554,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063991546630859','2016-08-17 14:15:58'),(12555,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:15:58'),(12556,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 14:15:58'),(12557,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 14:15:58'),(12558,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:15:58'),(12559,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:15:58'),(12560,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 14:15:58'),(12561,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:15:58'),(12562,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-17 14:15:58'),(12563,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:15:58'),(12564,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:15:58'),(12565,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:15:58'),(12566,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058603286743164','2016-08-17 14:16:03'),(12567,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.037389039993286','2016-08-17 14:16:05'),(12568,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012478828430176','2016-08-17 14:16:05'),(12569,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012378692626953','2016-08-17 14:16:05'),(12570,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012831687927246','2016-08-17 14:16:05'),(12571,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.029438018798828','2016-08-17 14:16:05'),(12572,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00040102005004883','2016-08-17 14:16:05'),(12573,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00046801567077637','2016-08-17 14:16:05'),(12574,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00057792663574219','2016-08-17 14:16:06'),(12575,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-17 14:16:06'),(12576,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-17 14:16:06'),(12577,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 14:16:06'),(12578,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:16:06'),(12579,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:16:06'),(12580,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:16:06'),(12581,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:16:06'),(12582,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 14:16:06'),(12583,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:16:06'),(12584,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:16:06'),(12585,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:16:06'),(12586,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 14:16:06'),(12587,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0018270015716553','2016-08-17 14:16:14'),(12588,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0011091232299805','2016-08-17 14:16:14'),(12589,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00042605400085449','2016-08-17 14:16:14'),(12590,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051999092102051','2016-08-17 14:16:14'),(12591,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.085507869720459','2016-08-17 14:16:48'),(12592,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'25\', \'32\', 1, 1, \'68\', \'25\', \'OP-L\', \'2016-08-17\', \'158\', \'1\')','expenses/saveExpense','0.072024822235107','2016-08-17 14:16:48'),(12593,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2117, \'32\', \'test\', 1, \'33076\', \'25\', \'25\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.039828062057495','2016-08-17 14:16:48'),(12594,25,32,'192.168.1.220','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2117','expenses/saveExpense','0.027464151382446','2016-08-17 14:16:48'),(12595,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2117','expenses/saveExpense','0.050781965255737','2016-08-17 14:16:48'),(12596,25,32,'192.168.1.220','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2117\nAND `ID` =  2117','expenses/saveExpense','0.00055599212646484','2016-08-17 14:16:48'),(12597,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'25\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','expenses/saveExpense','0.0013670921325684','2016-08-17 14:16:48'),(12598,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'336\'','expenses/saveExpense','0.03122091293335','2016-08-17 14:16:48'),(12599,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000028\' WHERE `ID` =  2117','expenses/saveExpense','0.024784088134766','2016-08-17 14:16:48'),(12600,25,32,'192.168.1.220','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2117','expenses/saveExpense','0.00054407119750977','2016-08-17 14:16:48'),(12601,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000028\', \'Pembayaran Balik Pinjaman [OP-L[00000026]]\', \'Pembayaran Balik Pinjaman [OP-L[00000026]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 25, 25, \'32\')','expenses/saveExpense','0.011289834976196','2016-08-17 14:16:48'),(12602,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000028\', 1, \'test\', \'33073\', 25, 1, \'1\', \'25\', \'08\', \'16\', \'1\', \'OP-L[00000026]\', \'User\')','expenses/saveExpense','0.034024000167847','2016-08-17 14:16:48'),(12603,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000028\', 2, \'test\', \'33076\', 25, 1, \'1\', \'25\', \'08\', \'16\', \'1\', \'OP-L[00000026]\', \'User\')','expenses/saveExpense','0.016259908676147','2016-08-17 14:16:48'),(12604,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 25, `total_amount_cr` = 25, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000028\'','expenses/saveExpense','0.016349077224731','2016-08-17 14:16:48'),(12605,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2117','expenses/saveExpense','0.016494035720825','2016-08-17 14:16:48'),(12606,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11044','expenses/saveExpense','0.014992952346802','2016-08-17 14:16:48'),(12607,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000028\'','expenses/saveExpense','0.034515142440796','2016-08-17 14:16:48'),(12608,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000028\'','expenses/saveExpense','0.00057005882263184','2016-08-17 14:16:48'),(12609,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33073\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.024617910385132','2016-08-17 14:16:48'),(12610,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33073\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032061100006104','2016-08-17 14:16:48'),(12611,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33076\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00048208236694336','2016-08-17 14:16:48'),(12612,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015383958816528','2016-08-17 14:16:48'),(12613,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.016581058502197','2016-08-17 14:17:01'),(12614,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011123895645142','2016-08-17 14:17:01'),(12615,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00093412399291992','2016-08-17 14:17:01'),(12616,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00048303604125977','2016-08-17 14:17:02'),(12617,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.0004570484161377','2016-08-17 14:17:02'),(12618,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 14:17:02'),(12619,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044989585876465','2016-08-17 14:17:02'),(12620,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045418739318848','2016-08-17 14:17:02'),(12621,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 14:17:02'),(12622,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:17:02'),(12623,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 14:17:02'),(12624,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:17:02'),(12625,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00041007995605469','2016-08-17 14:17:02'),(12626,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.17181015014648','2016-08-17 14:17:02'),(12627,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00080513954162598','2016-08-17 14:17:02'),(12628,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00038313865661621','2016-08-17 14:17:02'),(12629,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00047397613525391','2016-08-17 14:17:02'),(12630,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.00052595138549805','2016-08-17 14:17:14'),(12631,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.00099897384643555','2016-08-17 14:17:14'),(12632,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00087285041809082','2016-08-17 14:17:14'),(12633,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047802925109863','2016-08-17 14:17:14'),(12634,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 14:17:14'),(12635,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 14:17:14'),(12636,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 14:17:14'),(12637,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045514106750488','2016-08-17 14:17:14'),(12638,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044822692871094','2016-08-17 14:17:14'),(12639,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045418739318848','2016-08-17 14:17:14'),(12640,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-17 14:17:14'),(12641,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:17:14'),(12642,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 14:17:14'),(12643,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14138007164001','2016-08-17 14:17:14'),(12644,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00083303451538086','2016-08-17 14:17:14'),(12645,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00041389465332031','2016-08-17 14:17:14'),(12646,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051283836364746','2016-08-17 14:17:15'),(12647,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062894821166992','2016-08-17 14:17:15'),(12648,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051689147949219','2016-08-17 14:17:15'),(12649,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051999092102051','2016-08-17 14:17:15'),(12650,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051188468933105','2016-08-17 14:17:15'),(12651,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.04320502281189','2016-08-17 14:17:15'),(12652,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042994022369385','2016-08-17 14:17:15'),(12653,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04297399520874','2016-08-17 14:17:15'),(12654,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043161869049072','2016-08-17 14:17:15'),(12655,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.14104080200195','2016-08-17 14:17:15'),(12656,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0004570484161377','2016-08-17 14:17:15'),(12657,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005190372467041','2016-08-17 14:17:15'),(12658,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064706802368164','2016-08-17 14:17:19'),(12659,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:17:19'),(12660,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:17:19'),(12661,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:17:19'),(12662,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:17:19'),(12663,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:17:19'),(12664,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:17:19'),(12665,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-17 14:17:19'),(12666,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:17:19'),(12667,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:17:19'),(12668,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:17:19'),(12669,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:17:19'),(12670,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062012672424316','2016-08-17 14:17:20'),(12671,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:17:20'),(12672,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:17:20'),(12673,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:17:20'),(12674,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:17:20'),(12675,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:17:20'),(12676,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:17:20'),(12677,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:17:20'),(12678,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:17:20'),(12679,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:17:20'),(12680,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:17:20'),(12681,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:17:20'),(12682,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00057601928710938','2016-08-17 14:17:24'),(12683,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058603286743164','2016-08-17 14:17:25'),(12684,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 14:17:25'),(12685,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:17:26'),(12686,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 14:17:26'),(12687,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:17:26'),(12688,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:17:26'),(12689,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:17:26'),(12690,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:17:26'),(12691,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:17:26'),(12692,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:17:26'),(12693,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:17:26'),(12694,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:17:26'),(12695,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 14:17:26'),(12696,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.087587833404541','2016-08-17 14:17:31'),(12697,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 14:17:31'),(12698,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 14:17:31'),(12699,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013518333435059','2016-08-17 14:17:31'),(12700,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 14:17:31'),(12701,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 14:17:31'),(12702,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 14:17:31'),(12703,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 14:17:31'),(12704,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 14:17:31'),(12705,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 14:17:31'),(12706,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013468265533447','2016-08-17 14:17:31'),(12707,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 14:17:31'),(12708,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015668869018555','2016-08-17 14:17:32'),(12709,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 14:17:32'),(12710,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 14:17:32'),(12711,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 14:17:32'),(12712,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-17 14:17:32'),(12713,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-17 14:17:32'),(12714,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 14:17:32'),(12715,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 14:17:32'),(12716,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013821125030518','2016-08-17 14:17:32'),(12717,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 14:17:32'),(12718,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 14:17:32'),(12719,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 14:17:32'),(12720,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00061297416687012','2016-08-17 14:17:34'),(12721,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052094459533691','2016-08-17 14:17:34'),(12722,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051784515380859','2016-08-17 14:17:34'),(12723,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051403045654297','2016-08-17 14:17:34'),(12724,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.083894968032837','2016-08-17 14:17:34'),(12725,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042849063873291','2016-08-17 14:17:34'),(12726,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043099880218506','2016-08-17 14:17:34'),(12727,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043060064315796','2016-08-17 14:17:34'),(12728,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.060554981231689','2016-08-17 14:17:34'),(12729,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.02095890045166','2016-08-17 14:17:34'),(12730,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.010673046112061','2016-08-17 14:17:34'),(12731,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0067529678344727','2016-08-17 14:17:34'),(12732,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040690898895264','2016-08-17 14:17:34'),(12733,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 14:17:34'),(12734,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 14:17:34'),(12735,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040688514709473','2016-08-17 14:17:34'),(12736,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004072904586792','2016-08-17 14:17:34'),(12737,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-17 14:17:34'),(12738,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041139125823975','2016-08-17 14:17:34'),(12739,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040709972381592','2016-08-17 14:17:34'),(12740,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040991306304932','2016-08-17 14:17:35'),(12741,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-17 14:17:35'),(12742,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 14:17:35'),(12743,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.018929004669189','2016-08-17 14:17:36'),(12744,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040488243103027','2016-08-17 14:17:36'),(12745,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040640830993652','2016-08-17 14:17:36'),(12746,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040688514709473','2016-08-17 14:17:36'),(12747,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041358470916748','2016-08-17 14:17:36'),(12748,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004054069519043','2016-08-17 14:17:36'),(12749,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040409564971924','2016-08-17 14:17:36'),(12750,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041038990020752','2016-08-17 14:17:36'),(12751,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 14:17:36'),(12752,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 14:17:36'),(12753,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040628910064697','2016-08-17 14:17:36'),(12754,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040419101715088','2016-08-17 14:17:36'),(12755,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015468597412109','2016-08-17 14:17:39'),(12756,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0042181015014648','2016-08-17 14:17:39'),(12757,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.090113162994385','2016-08-17 14:17:41'),(12758,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011104106903076','2016-08-17 14:17:41'),(12759,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.000885009765625','2016-08-17 14:17:41'),(12760,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047898292541504','2016-08-17 14:17:41'),(12761,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045895576477051','2016-08-17 14:17:41'),(12762,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-17 14:17:41'),(12763,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 14:17:41'),(12764,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047206878662109','2016-08-17 14:17:41'),(12765,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-17 14:17:41'),(12766,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.0004580020904541','2016-08-17 14:17:41'),(12767,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044989585876465','2016-08-17 14:17:41'),(12768,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045490264892578','2016-08-17 14:17:41'),(12769,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 14:17:41'),(12770,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14725804328918','2016-08-17 14:17:41'),(12771,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00085902214050293','2016-08-17 14:17:41'),(12772,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.0004119873046875','2016-08-17 14:17:41'),(12773,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051188468933105','2016-08-17 14:17:41'),(12774,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.022557020187378','2016-08-17 14:17:44'),(12775,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:17:44'),(12776,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:17:44'),(12777,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:17:44'),(12778,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:17:44'),(12779,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:17:44'),(12780,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:17:44'),(12781,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 14:17:44'),(12782,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:17:44'),(12783,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:17:44'),(12784,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:17:44'),(12785,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:17:44'),(12786,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0046439170837402','2016-08-17 14:17:44'),(12787,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044970512390137','2016-08-17 14:17:44'),(12788,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045540332794189','2016-08-17 14:17:44'),(12789,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004533052444458','2016-08-17 14:17:44'),(12790,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044388771057129','2016-08-17 14:17:44'),(12791,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044879913330078','2016-08-17 14:17:44'),(12792,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045831203460693','2016-08-17 14:17:44'),(12793,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044500827789307','2016-08-17 14:17:44'),(12794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045850276947021','2016-08-17 14:17:44'),(12795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044910907745361','2016-08-17 14:17:44'),(12796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044519901275635','2016-08-17 14:17:44'),(12797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044431686401367','2016-08-17 14:17:44'),(12798,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `paymentDate` >= \'2016-08-01\'\nAND `paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.099097967147827','2016-08-17 14:18:11'),(12799,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.017196893692017','2016-08-17 14:18:11'),(12800,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016598701477051','2016-08-17 14:18:11'),(12801,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043010711669922','2016-08-17 14:18:11'),(12802,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00052714347839355','2016-08-17 14:18:11'),(12803,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `otherPaymentType`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-17\', 1, \'33139\', \'400\', \'LR\', \'163\', \'24\', 3)','loanReceive/save_new_loan','0.16467690467834','2016-08-17 14:18:30'),(12804,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2118, \'33134\', \'400\', \'apeape\')','loanReceive/save_new_loan','0.018275022506714','2016-08-17 14:18:30'),(12805,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2118','loanReceive/save_new_loan','0.045495986938477','2016-08-17 14:18:30'),(12806,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2118\nAND `ID` =  2118','loanReceive/save_new_loan','0.00063300132751465','2016-08-17 14:18:30'),(12807,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.0013899803161621','2016-08-17 14:18:30'),(12808,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.029955148696899','2016-08-17 14:18:31'),(12809,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000047\' WHERE `ID` =  2118','loanReceive/save_new_loan','0.024796009063721','2016-08-17 14:18:31'),(12810,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2118','loanReceive/save_new_loan','0.00058388710021973','2016-08-17 14:18:31'),(12811,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000047\', \' [LR[00000042]]]\', \'Pinjaman [  [LR[00000042]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 400, 400, \'User\')','loanReceive/save_new_loan','0.010699987411499','2016-08-17 14:18:31'),(12812,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000047\', 1, \'apeape\', \'33139\', 400, 1, \'1\', \'400\', \'08\', \'2016\', \'0\', \'LR[00000042]\', \'User\')','loanReceive/save_new_loan','0.017899036407471','2016-08-17 14:18:31'),(12813,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000047\', 2, \'apeape\', \'33134\', 400, 1, \'1\', \'400\', \'08\', \'2016\', \'0\', \'LR[00000042]\', \'User\')','loanReceive/save_new_loan','0.016243934631348','2016-08-17 14:18:31'),(12814,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 400, `total_amount_cr` = 400, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000047\'','loanReceive/save_new_loan','0.016391038894653','2016-08-17 14:18:31'),(12815,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2118','loanReceive/save_new_loan','0.024786949157715','2016-08-17 14:18:31'),(12816,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11045','loanReceive/save_new_loan','0.024799108505249','2016-08-17 14:18:31'),(12817,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000047\'','loanReceive/save_new_loan','0.016410112380981','2016-08-17 14:18:31'),(12818,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000047\'','loanReceive/save_new_loan','0.00064802169799805','2016-08-17 14:18:31'),(12819,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33139\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.04056191444397','2016-08-17 14:18:31'),(12820,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022325038909912','2016-08-17 14:18:31'),(12821,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33134\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00053787231445312','2016-08-17 14:18:31'),(12822,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.017308950424194','2016-08-17 14:18:31'),(12823,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `paymentDate` >= \'2016-08-01\'\nAND `paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.014864921569824','2016-08-17 14:18:31'),(12824,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010559558868408','2016-08-17 14:18:31'),(12825,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016989707946777','2016-08-17 14:18:31'),(12826,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040507316589355','2016-08-17 14:18:31'),(12827,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00052905082702637','2016-08-17 14:18:31'),(12828,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0080561637878418','2016-08-17 14:18:36'),(12829,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052905082702637','2016-08-17 14:18:36'),(12830,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 14:18:36'),(12831,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051379203796387','2016-08-17 14:18:36'),(12832,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.069566011428833','2016-08-17 14:18:36'),(12833,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042793989181519','2016-08-17 14:18:36'),(12834,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042752981185913','2016-08-17 14:18:36'),(12835,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042880058288574','2016-08-17 14:18:36'),(12836,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.14848494529724','2016-08-17 14:18:36'),(12837,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.019879817962646','2016-08-17 14:18:36'),(12838,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0033769607543945','2016-08-17 14:18:36'),(12839,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.1158721446991','2016-08-17 14:18:38'),(12840,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.099040031433105','2016-08-17 14:18:38'),(12841,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.10247087478638','2016-08-17 14:18:38'),(12842,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.10626792907715','2016-08-17 14:18:38'),(12843,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.10056400299072','2016-08-17 14:18:38'),(12844,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00033903121948242','2016-08-17 14:18:38'),(12845,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00040793418884277','2016-08-17 14:18:38'),(12846,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00066804885864258','2016-08-17 14:18:39'),(12847,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:18:39'),(12848,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:18:39'),(12849,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:18:39'),(12850,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:18:39'),(12851,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 14:18:39'),(12852,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:18:39'),(12853,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 14:18:39'),(12854,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:18:39'),(12855,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:18:39'),(12856,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-17 14:18:39'),(12857,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:18:39'),(12858,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00061917304992676','2016-08-17 14:18:40'),(12859,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:18:40'),(12860,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 14:18:40'),(12861,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:18:40'),(12862,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:18:40'),(12863,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 14:18:40'),(12864,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:18:40'),(12865,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-17 14:18:40'),(12866,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:18:40'),(12867,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:18:40'),(12868,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 14:18:40'),(12869,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:18:40'),(12870,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.017029047012329','2016-08-17 14:18:41'),(12871,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011106014251709','2016-08-17 14:18:41'),(12872,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00087904930114746','2016-08-17 14:18:41'),(12873,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047707557678223','2016-08-17 14:18:41'),(12874,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045609474182129','2016-08-17 14:18:41'),(12875,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:18:41'),(12876,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 14:18:41'),(12877,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044989585876465','2016-08-17 14:18:41'),(12878,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044822692871094','2016-08-17 14:18:41'),(12879,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045609474182129','2016-08-17 14:18:41'),(12880,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-17 14:18:41'),(12881,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 14:18:41'),(12882,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044584274291992','2016-08-17 14:18:41'),(12883,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14512515068054','2016-08-17 14:18:42'),(12884,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084209442138672','2016-08-17 14:18:42'),(12885,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00040793418884277','2016-08-17 14:18:42'),(12886,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051188468933105','2016-08-17 14:18:42'),(12887,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.027631044387817','2016-08-17 14:19:07'),(12888,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013091564178467','2016-08-17 14:19:07'),(12889,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012679100036621','2016-08-17 14:19:07'),(12890,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012619495391846','2016-08-17 14:19:07'),(12891,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.028037786483765','2016-08-17 14:19:07'),(12892,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043010711669922','2016-08-17 14:19:07'),(12893,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 14:19:07'),(12894,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013878345489502','2016-08-17 14:19:14'),(12895,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013308525085449','2016-08-17 14:19:14'),(12896,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012600421905518','2016-08-17 14:19:14'),(12897,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012550354003906','2016-08-17 14:19:14'),(12898,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-17\'\nAND `a`.`paymentDate` <= \'2016-08-17\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0019469261169434','2016-08-17 14:19:14'),(12899,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00039792060852051','2016-08-17 14:19:15'),(12900,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00047802925109863','2016-08-17 14:19:15'),(12901,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0014081001281738','2016-08-17 14:19:19'),(12902,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013091564178467','2016-08-17 14:19:19'),(12903,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012848377227783','2016-08-17 14:19:19'),(12904,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012609958648682','2016-08-17 14:19:19'),(12905,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-15\'\nAND `a`.`paymentDate` <= \'2016-08-21\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022499561309814','2016-08-17 14:19:20'),(12906,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043106079101562','2016-08-17 14:19:20'),(12907,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00050187110900879','2016-08-17 14:19:20'),(12908,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.00052905082702637','2016-08-17 14:19:41'),(12909,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.0010001659393311','2016-08-17 14:19:41'),(12910,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00087881088256836','2016-08-17 14:19:41'),(12911,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00048089027404785','2016-08-17 14:19:41'),(12912,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045585632324219','2016-08-17 14:19:41'),(12913,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:19:41'),(12914,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00046706199645996','2016-08-17 14:19:42'),(12915,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:19:42'),(12916,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 14:19:42'),(12917,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-17 14:19:42'),(12918,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 14:19:42'),(12919,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 14:19:42'),(12920,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-17 14:19:42'),(12921,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.14174008369446','2016-08-17 14:19:42'),(12922,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084996223449707','2016-08-17 14:19:42'),(12923,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00041007995605469','2016-08-17 14:19:42'),(12924,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051188468933105','2016-08-17 14:19:42'),(12925,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013680458068848','2016-08-17 14:19:51'),(12926,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012710094451904','2016-08-17 14:19:51'),(12927,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012400150299072','2016-08-17 14:19:51'),(12928,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012340545654297','2016-08-17 14:19:51'),(12929,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021591186523438','2016-08-17 14:19:51'),(12930,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042295455932617','2016-08-17 14:19:51'),(12931,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048208236694336','2016-08-17 14:19:51'),(12932,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013828277587891','2016-08-17 14:20:18'),(12933,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012760162353516','2016-08-17 14:20:18'),(12934,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012421607971191','2016-08-17 14:20:18'),(12935,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012369155883789','2016-08-17 14:20:18'),(12936,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-16\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021169185638428','2016-08-17 14:20:18'),(12937,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041794776916504','2016-08-17 14:20:18'),(12938,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 14:20:18'),(12939,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013711452484131','2016-08-17 14:20:32'),(12940,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012788772583008','2016-08-17 14:20:32'),(12941,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012462139129639','2016-08-17 14:20:32'),(12942,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012390613555908','2016-08-17 14:20:32'),(12943,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-17\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0019500255584717','2016-08-17 14:20:32'),(12944,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004119873046875','2016-08-17 14:20:32'),(12945,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 14:20:32'),(12946,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013668537139893','2016-08-17 14:20:47'),(12947,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012760162353516','2016-08-17 14:20:47'),(12948,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012450218200684','2016-08-17 14:20:47'),(12949,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.00124192237854','2016-08-17 14:20:47'),(12950,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-01-01\'\nAND `a`.`paymentDate` <= \'2016-12-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021610260009766','2016-08-17 14:20:47'),(12951,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043201446533203','2016-08-17 14:20:47'),(12952,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048685073852539','2016-08-17 14:20:47'),(12953,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/loanReportPrint','0.087625026702881','2016-08-17 14:21:41'),(12954,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','report/loanReportPrint','0.14147710800171','2016-08-17 14:21:41'),(12955,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/loanReportPrint','0.0006248950958252','2016-08-17 14:21:41'),(12956,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0017020702362061','2016-08-17 14:21:51'),(12957,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00088310241699219','2016-08-17 14:21:51'),(12958,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.0004580020904541','2016-08-17 14:21:51'),(12959,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00049805641174316','2016-08-17 14:21:51'),(12960,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/loanReportExcel','0.00075793266296387','2016-08-17 14:21:54'),(12961,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','report/loanReportExcel','0.14217710494995','2016-08-17 14:21:54'),(12962,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/loanReportExcel','0.00077414512634277','2016-08-17 14:22:02'),(12963,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','report/loanReportExcel','0.14156603813171','2016-08-17 14:22:02'),(12964,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/loanReportExcel','0.00076198577880859','2016-08-17 14:22:04'),(12965,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','report/loanReportExcel','0.14132213592529','2016-08-17 14:22:04'),(12966,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063204765319824','2016-08-17 14:22:12'),(12967,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005190372467041','2016-08-17 14:22:12'),(12968,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052094459533691','2016-08-17 14:22:12'),(12969,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 14:22:12'),(12970,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043467998504639','2016-08-17 14:22:12'),(12971,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043246984481812','2016-08-17 14:22:12'),(12972,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042987108230591','2016-08-17 14:22:12'),(12973,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043358087539673','2016-08-17 14:22:12'),(12974,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.20818305015564','2016-08-17 14:22:12'),(12975,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00048208236694336','2016-08-17 14:22:12'),(12976,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051498413085938','2016-08-17 14:22:12'),(12977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.020215034484863','2016-08-17 14:22:15'),(12978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 14:22:15'),(12979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:22:15'),(12980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:22:15'),(12981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 14:22:15'),(12982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:22:15'),(12983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:22:15'),(12984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 14:22:15'),(12985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:22:15'),(12986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-17 14:22:15'),(12987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:22:15'),(12988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-17 14:22:15'),(12989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-17 14:22:16'),(12990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 14:22:16'),(12991,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:22:16'),(12992,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:22:16'),(12993,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 14:22:16'),(12994,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:22:16'),(12995,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:22:16'),(12996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:22:16'),(12997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:22:16'),(12998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:22:16'),(12999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:22:16'),(13000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:22:16'),(13001,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059008598327637','2016-08-17 14:22:20'),(13002,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00057697296142578','2016-08-17 14:22:21'),(13003,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 14:22:21'),(13004,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-17 14:22:21'),(13005,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:22:21'),(13006,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-17 14:22:21'),(13007,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00060892105102539','2016-08-17 14:22:21'),(13008,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:22:21'),(13009,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:22:21'),(13010,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:22:21'),(13011,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046205520629883','2016-08-17 14:22:21'),(13012,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049591064453125','2016-08-17 14:22:21'),(13013,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00041604042053223','2016-08-17 14:22:21'),(13014,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00039100646972656','2016-08-17 14:22:21'),(13015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.16114687919617','2016-08-17 14:22:27'),(13016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 14:22:27'),(13017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013909339904785','2016-08-17 14:22:27'),(13018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013628005981445','2016-08-17 14:22:27'),(13019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 14:22:27'),(13020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 14:22:27'),(13021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 14:22:27'),(13022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 14:22:27'),(13023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 14:22:27'),(13024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 14:22:27'),(13025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 14:22:27'),(13026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 14:22:27'),(13027,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015621185302734','2016-08-17 14:22:28'),(13028,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 14:22:28'),(13029,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 14:22:28'),(13030,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 14:22:28'),(13031,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 14:22:28'),(13032,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-17 14:22:28'),(13033,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 14:22:28'),(13034,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 14:22:29'),(13035,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013728141784668','2016-08-17 14:22:29'),(13036,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013728141784668','2016-08-17 14:22:29'),(13037,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 14:22:29'),(13038,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 14:22:29'),(13039,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044629573822021','2016-08-17 14:22:31'),(13040,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042181015014648','2016-08-17 14:22:31'),(13041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004223108291626','2016-08-17 14:22:31'),(13042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042798519134521','2016-08-17 14:22:31'),(13043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042080879211426','2016-08-17 14:22:31'),(13044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041990280151367','2016-08-17 14:22:31'),(13045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042819976806641','2016-08-17 14:22:31'),(13046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042190551757812','2016-08-17 14:22:31'),(13047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042269229888916','2016-08-17 14:22:31'),(13048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042719841003418','2016-08-17 14:22:31'),(13049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041661262512207','2016-08-17 14:22:31'),(13050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042290687561035','2016-08-17 14:22:31'),(13051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043439865112305','2016-08-17 14:22:33'),(13052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041000843048096','2016-08-17 14:22:33'),(13053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004080057144165','2016-08-17 14:22:33'),(13054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041120052337646','2016-08-17 14:22:33'),(13055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041220188140869','2016-08-17 14:22:33'),(13056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 14:22:33'),(13057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 14:22:33'),(13058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041110515594482','2016-08-17 14:22:33'),(13059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041310787200928','2016-08-17 14:22:33'),(13060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041139125823975','2016-08-17 14:22:33'),(13061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041089057922363','2016-08-17 14:22:33'),(13062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040731430053711','2016-08-17 14:22:33'),(13063,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.056738138198853','2016-08-17 14:22:33'),(13064,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001338005065918','2016-08-17 14:22:33'),(13065,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012609958648682','2016-08-17 14:22:33'),(13066,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012631416320801','2016-08-17 14:22:33'),(13067,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.052479982376099','2016-08-17 14:22:33'),(13068,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0011670589447021','2016-08-17 14:22:33'),(13069,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0093178749084473','2016-08-17 14:22:34'),(13070,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0096919536590576','2016-08-17 14:22:44'),(13071,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00047111511230469','2016-08-17 14:22:44'),(13072,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00048279762268066','2016-08-17 14:22:44'),(13073,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-16\'','report/postedjournal','0.0020890235900879','2016-08-17 14:22:56'),(13074,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00044488906860352','2016-08-17 14:22:56'),(13075,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00048685073852539','2016-08-17 14:22:56'),(13076,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066590309143066','2016-08-17 14:23:23'),(13077,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053596496582031','2016-08-17 14:23:23'),(13078,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052499771118164','2016-08-17 14:23:23'),(13079,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051593780517578','2016-08-17 14:23:23'),(13080,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.061307907104492','2016-08-17 14:23:23'),(13081,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04325008392334','2016-08-17 14:23:23'),(13082,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043264865875244','2016-08-17 14:23:23'),(13083,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043333053588867','2016-08-17 14:23:23'),(13084,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.12507581710815','2016-08-17 14:23:23'),(13085,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045514106750488','2016-08-17 14:23:23'),(13086,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052189826965332','2016-08-17 14:23:23'),(13087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-17 14:23:27'),(13088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:23:27'),(13089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054383277893066','2016-08-17 14:23:27'),(13090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:23:27'),(13091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:23:27'),(13092,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-17 14:23:27'),(13093,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:23:27'),(13094,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 14:23:27'),(13095,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:23:27'),(13096,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:23:27'),(13097,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:23:27'),(13098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:23:27'),(13099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062704086303711','2016-08-17 14:23:28'),(13100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 14:23:28'),(13101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:23:28'),(13102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 14:23:28'),(13103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:23:28'),(13104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:23:28'),(13105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 14:23:28'),(13106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:23:28'),(13107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:23:28'),(13108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:23:28'),(13109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 14:23:28'),(13110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:23:28'),(13111,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060081481933594','2016-08-17 14:23:32'),(13112,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058603286743164','2016-08-17 14:23:33'),(13113,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 14:23:33'),(13114,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:23:33'),(13115,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 14:23:33'),(13116,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:23:33'),(13117,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:23:33'),(13118,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-17 14:23:33'),(13119,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:23:33'),(13120,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:23:33'),(13121,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:23:33'),(13122,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:23:33'),(13123,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:23:33'),(13124,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050520896911621','2016-08-17 14:23:33'),(13125,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.088160037994385','2016-08-17 14:23:38'),(13126,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015361309051514','2016-08-17 14:23:38'),(13127,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014879703521729','2016-08-17 14:23:38'),(13128,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014491081237793','2016-08-17 14:23:38'),(13129,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014190673828125','2016-08-17 14:23:38'),(13130,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.001755952835083','2016-08-17 14:23:38'),(13131,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 14:23:38'),(13132,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.049894094467163','2016-08-17 14:23:38'),(13133,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 14:23:38'),(13134,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.013978958129883','2016-08-17 14:23:38'),(13135,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 14:23:38'),(13136,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 14:23:38'),(13137,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-17 14:23:38'),(13138,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 14:23:38'),(13139,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013799667358398','2016-08-17 14:23:38'),(13140,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.021507024765015','2016-08-17 14:23:47'),(13141,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054502487182617','2016-08-17 14:23:47'),(13142,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053811073303223','2016-08-17 14:23:47'),(13143,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051283836364746','2016-08-17 14:23:47'),(13144,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.097088813781738','2016-08-17 14:23:47'),(13145,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043231010437012','2016-08-17 14:23:47'),(13146,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042908906936646','2016-08-17 14:23:47'),(13147,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043167114257812','2016-08-17 14:23:47'),(13148,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.085832118988037','2016-08-17 14:23:47'),(13149,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00040698051452637','2016-08-17 14:23:47'),(13150,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051188468933105','2016-08-17 14:23:47'),(13151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063085556030273','2016-08-17 14:23:50'),(13152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:23:50'),(13153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:23:50'),(13154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-17 14:23:50'),(13155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:23:50'),(13156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 14:23:50'),(13157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:23:50'),(13158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-17 14:23:50'),(13159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:23:50'),(13160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 14:23:50'),(13161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:23:50'),(13162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:23:50'),(13163,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-17 14:23:51'),(13164,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-17 14:23:52'),(13165,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:23:52'),(13166,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:23:52'),(13167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:23:52'),(13168,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:23:52'),(13169,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 14:23:52'),(13170,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:23:52'),(13171,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:23:52'),(13172,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:23:52'),(13173,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:23:52'),(13174,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:23:52'),(13175,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0018172264099121','2016-08-17 14:23:55'),(13176,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0012130737304688','2016-08-17 14:23:56'),(13177,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051784515380859','2016-08-17 14:23:56'),(13178,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052213668823242','2016-08-17 14:23:56'),(13179,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051307678222656','2016-08-17 14:23:56'),(13180,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.082406044006348','2016-08-17 14:23:56'),(13181,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04324197769165','2016-08-17 14:23:56'),(13182,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042850017547607','2016-08-17 14:23:56'),(13183,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043174982070923','2016-08-17 14:23:56'),(13184,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.043503999710083','2016-08-17 14:23:56'),(13185,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.024357080459595','2016-08-17 14:23:56'),(13186,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.010648012161255','2016-08-17 14:23:57'),(13187,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062894821166992','2016-08-17 14:24:00'),(13188,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 14:24:00'),(13189,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:00'),(13190,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.016983985900879','2016-08-17 14:24:00'),(13191,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:24:00'),(13192,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:24:00'),(13193,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 14:24:00'),(13194,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 14:24:00'),(13195,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:00'),(13196,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 14:24:00'),(13197,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-17 14:24:00'),(13198,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:24:00'),(13199,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006110668182373','2016-08-17 14:24:01'),(13200,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:24:01'),(13201,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:24:01'),(13202,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:24:01'),(13203,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:24:01'),(13204,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:24:01'),(13205,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-17 14:24:01'),(13206,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:24:01'),(13207,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:24:01'),(13208,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:24:01'),(13209,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 14:24:01'),(13210,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:24:01'),(13211,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058698654174805','2016-08-17 14:24:04'),(13212,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058293342590332','2016-08-17 14:24:06'),(13213,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-17 14:24:06'),(13214,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 14:24:06'),(13215,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 14:24:06'),(13216,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:24:06'),(13217,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 14:24:06'),(13218,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:24:06'),(13219,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:06'),(13220,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:24:06'),(13221,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:24:06'),(13222,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 14:24:06'),(13223,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:06'),(13224,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050115585327148','2016-08-17 14:24:06'),(13225,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.022634029388428','2016-08-17 14:24:08'),(13226,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00087308883666992','2016-08-17 14:24:08'),(13227,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00042200088500977','2016-08-17 14:24:08'),(13228,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00048613548278809','2016-08-17 14:24:08'),(13229,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064301490783691','2016-08-17 14:24:13'),(13230,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051689147949219','2016-08-17 14:24:13'),(13231,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052094459533691','2016-08-17 14:24:13'),(13232,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051093101501465','2016-08-17 14:24:13'),(13233,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.1455500125885','2016-08-17 14:24:13'),(13234,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043319940567017','2016-08-17 14:24:13'),(13235,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042908906936646','2016-08-17 14:24:13'),(13236,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043223142623901','2016-08-17 14:24:13'),(13237,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.10328698158264','2016-08-17 14:24:13'),(13238,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00040984153747559','2016-08-17 14:24:13'),(13239,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051784515380859','2016-08-17 14:24:13'),(13240,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0025990009307861','2016-08-17 14:24:18'),(13241,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:24:18'),(13242,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-17 14:24:18'),(13243,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:24:18'),(13244,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:24:18'),(13245,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:24:18'),(13246,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:24:19'),(13247,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049591064453125','2016-08-17 14:24:19'),(13248,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047111511230469','2016-08-17 14:24:19'),(13249,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047397613525391','2016-08-17 14:24:19'),(13250,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046610832214355','2016-08-17 14:24:19'),(13251,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00046896934509277','2016-08-17 14:24:19'),(13252,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-17 14:24:20'),(13253,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-17 14:24:20'),(13254,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:20'),(13255,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:20'),(13256,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:24:20'),(13257,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 14:24:20'),(13258,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:24:20'),(13259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:24:20'),(13260,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:20'),(13261,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:20'),(13262,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-17 14:24:20'),(13263,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:24:20'),(13264,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059103965759277','2016-08-17 14:24:25'),(13265,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060319900512695','2016-08-17 14:24:27'),(13266,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-17 14:24:27'),(13267,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:24:27'),(13268,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 14:24:27'),(13269,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:24:27'),(13270,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:24:27'),(13271,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:24:27'),(13272,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 14:24:27'),(13273,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:24:27'),(13274,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 14:24:27'),(13275,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:24:27'),(13276,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:24:27'),(13277,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 14:24:27'),(13278,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.045850992202759','2016-08-17 14:24:31'),(13279,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-17 14:24:31'),(13280,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013971328735352','2016-08-17 14:24:31'),(13281,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013618469238281','2016-08-17 14:24:31'),(13282,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013601779937744','2016-08-17 14:24:32'),(13283,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 14:24:32'),(13284,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 14:24:32'),(13285,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 14:24:32'),(13286,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 14:24:32'),(13287,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013930797576904','2016-08-17 14:24:32'),(13288,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-17 14:24:32'),(13289,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 14:24:32'),(13290,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015690326690674','2016-08-17 14:24:33'),(13291,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013468265533447','2016-08-17 14:24:33'),(13292,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 14:24:33'),(13293,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 14:24:33'),(13294,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 14:24:33'),(13295,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 14:24:33'),(13296,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 14:24:33'),(13297,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 14:24:33'),(13298,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013751983642578','2016-08-17 14:24:33'),(13299,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 14:24:33'),(13300,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013318061828613','2016-08-17 14:24:33'),(13301,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013418197631836','2016-08-17 14:24:33'),(13302,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043768882751465','2016-08-17 14:24:35'),(13303,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041108131408691','2016-08-17 14:24:35'),(13304,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040578842163086','2016-08-17 14:24:35'),(13305,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042240619659424','2016-08-17 14:24:35'),(13306,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041019916534424','2016-08-17 14:24:35'),(13307,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041360855102539','2016-08-17 14:24:35'),(13308,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041041374206543','2016-08-17 14:24:35'),(13309,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040731430053711','2016-08-17 14:24:35'),(13310,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040650367736816','2016-08-17 14:24:35'),(13311,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041699409484863','2016-08-17 14:24:35'),(13312,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041170120239258','2016-08-17 14:24:35'),(13313,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041091442108154','2016-08-17 14:24:35'),(13314,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044069290161133','2016-08-17 14:24:36'),(13315,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0084340572357178','2016-08-17 14:24:36'),(13316,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004227876663208','2016-08-17 14:24:36'),(13317,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042200088500977','2016-08-17 14:24:36'),(13318,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004194974899292','2016-08-17 14:24:36'),(13319,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042469501495361','2016-08-17 14:24:36'),(13320,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041561126708984','2016-08-17 14:24:36'),(13321,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041399002075195','2016-08-17 14:24:36'),(13322,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041959285736084','2016-08-17 14:24:36'),(13323,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042049884796143','2016-08-17 14:24:36'),(13324,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043461322784424','2016-08-17 14:24:36'),(13325,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041110515594482','2016-08-17 14:24:36'),(13326,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015449523925781','2016-08-17 14:24:42'),(13327,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040988922119141','2016-08-17 14:24:42'),(13328,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065493583679199','2016-08-17 14:24:47'),(13329,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 14:24:47'),(13330,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-17 14:24:47'),(13331,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 14:24:48'),(13332,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:24:48'),(13333,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 14:24:48'),(13334,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 14:24:48'),(13335,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 14:24:48'),(13336,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-17 14:24:48'),(13337,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 14:24:48'),(13338,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-17 14:24:48'),(13339,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 14:24:48'),(13340,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045030117034912','2016-08-17 14:24:48'),(13341,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044009685516357','2016-08-17 14:24:48'),(13342,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044519901275635','2016-08-17 14:24:48'),(13343,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044820308685303','2016-08-17 14:24:48'),(13344,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044429302215576','2016-08-17 14:24:48'),(13345,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044689178466797','2016-08-17 14:24:48'),(13346,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043849945068359','2016-08-17 14:24:48'),(13347,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044488906860352','2016-08-17 14:24:48'),(13348,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043940544128418','2016-08-17 14:24:48'),(13349,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043919086456299','2016-08-17 14:24:48'),(13350,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043909549713135','2016-08-17 14:24:48'),(13351,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043830871582031','2016-08-17 14:24:48'),(13352,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.02029013633728','2016-08-17 14:24:50'),(13353,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012688636779785','2016-08-17 14:24:50'),(13354,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012469291687012','2016-08-17 14:24:50'),(13355,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012462139129639','2016-08-17 14:24:50'),(13356,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.045120000839233','2016-08-17 14:24:50'),(13357,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041604042053223','2016-08-17 14:24:50'),(13358,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 14:24:50'),(13359,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0017881393432617','2016-08-17 14:24:55'),(13360,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010130405426025','2016-08-17 14:24:55'),(13361,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2087\'','expenses/addNew','0.0022680759429932','2016-08-17 14:24:55'),(13362,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2087\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0024118423461914','2016-08-17 14:24:55'),(13363,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000012\'','expenses/addNew','0.00047588348388672','2016-08-17 14:24:55'),(13364,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038814544677734','2016-08-17 14:24:56'),(13365,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047898292541504','2016-08-17 14:24:56'),(13366,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00066208839416504','2016-08-17 14:25:41'),(13367,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053501129150391','2016-08-17 14:25:41'),(13368,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052094459533691','2016-08-17 14:25:41'),(13369,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051593780517578','2016-08-17 14:25:41'),(13370,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00077700614929199','2016-08-17 14:25:41'),(13371,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042009353637695','2016-08-17 14:25:41'),(13372,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051093101501465','2016-08-17 14:25:41'),(13373,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sales','0.016803979873657','2016-08-17 14:26:00'),(13374,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/print_sales','0.00082015991210938','2016-08-17 14:26:00'),(13375,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sales','0.00061202049255371','2016-08-17 14:26:00'),(13376,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00076603889465332','2016-08-17 14:26:18'),(13377,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'720\'\nAND `companyID` =  \'25\'','sales/print_sale','0.00045609474182129','2016-08-17 14:26:18'),(13378,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'720\'','sales/print_sale','0.028157949447632','2016-08-17 14:26:18'),(13379,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','sales/print_sale','0.00058889389038086','2016-08-17 14:26:18'),(13380,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `paymentDate` >= \'2016-08-01\'\nAND `paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.027441024780273','2016-08-17 14:27:33'),(13381,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010850429534912','2016-08-17 14:27:33'),(13382,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0017120838165283','2016-08-17 14:27:33'),(13383,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041699409484863','2016-08-17 14:27:33'),(13384,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051307678222656','2016-08-17 14:27:33'),(13385,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.13976883888245','2016-08-17 14:27:38'),(13386,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.10331988334656','2016-08-17 14:27:38'),(13387,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.091819047927856','2016-08-17 14:27:38'),(13388,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.083561897277832','2016-08-17 14:27:38'),(13389,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.077420949935913','2016-08-17 14:27:38'),(13390,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00038909912109375','2016-08-17 14:27:38'),(13391,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00046992301940918','2016-08-17 14:27:38'),(13392,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0018289089202881','2016-08-17 14:27:47'),(13393,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00046515464782715','2016-08-17 14:27:47'),(13394,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00051212310791016','2016-08-17 14:27:47'),(13395,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062203407287598','2016-08-17 14:28:04'),(13396,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053095817565918','2016-08-17 14:28:04'),(13397,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052595138549805','2016-08-17 14:28:04'),(13398,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051498413085938','2016-08-17 14:28:04'),(13399,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.043230056762695','2016-08-17 14:28:04'),(13400,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042906999588013','2016-08-17 14:28:04'),(13401,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042970180511475','2016-08-17 14:28:04'),(13402,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042887926101685','2016-08-17 14:28:04'),(13403,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.144611120224','2016-08-17 14:28:04'),(13404,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046610832214355','2016-08-17 14:28:04'),(13405,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005488395690918','2016-08-17 14:28:04'),(13406,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.014586925506592','2016-08-17 14:28:07'),(13407,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 14:28:08'),(13408,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-17 14:28:08'),(13409,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-17 14:28:08'),(13410,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:28:08'),(13411,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:28:08'),(13412,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 14:28:08'),(13413,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-17 14:28:08'),(13414,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:28:08'),(13415,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 14:28:08'),(13416,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 14:28:08'),(13417,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:28:08'),(13418,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062179565429688','2016-08-17 14:28:09'),(13419,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 14:28:09'),(13420,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:28:09'),(13421,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-17 14:28:09'),(13422,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:28:09'),(13423,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 14:28:09'),(13424,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-17 14:28:09'),(13425,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 14:28:09'),(13426,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-17 14:28:09'),(13427,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-17 14:28:09'),(13428,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050687789916992','2016-08-17 14:28:09'),(13429,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-17 14:28:09'),(13430,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058913230895996','2016-08-17 14:28:13'),(13431,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.000579833984375','2016-08-17 14:28:15'),(13432,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 14:28:15'),(13433,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:28:15'),(13434,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005030632019043','2016-08-17 14:28:15'),(13435,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:28:15'),(13436,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:28:15'),(13437,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 14:28:15'),(13438,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-17 14:28:15'),(13439,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:28:15'),(13440,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:28:15'),(13441,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:28:15'),(13442,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-17 14:28:15'),(13443,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-17 14:28:15'),(13444,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0866379737854','2016-08-17 14:28:19'),(13445,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 14:28:19'),(13446,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013949871063232','2016-08-17 14:28:19'),(13447,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 14:28:19'),(13448,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013911724090576','2016-08-17 14:28:19'),(13449,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-17 14:28:19'),(13450,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-17 14:28:19'),(13451,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-17 14:28:19'),(13452,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 14:28:19'),(13453,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-17 14:28:19'),(13454,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 14:28:19'),(13455,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 14:28:19'),(13456,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015509128570557','2016-08-17 14:28:20'),(13457,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 14:28:20'),(13458,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 14:28:20'),(13459,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013601779937744','2016-08-17 14:28:20'),(13460,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-17 14:28:20'),(13461,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 14:28:20'),(13462,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 14:28:21'),(13463,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 14:28:21'),(13464,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013861656188965','2016-08-17 14:28:21'),(13465,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 14:28:21'),(13466,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 14:28:21'),(13467,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 14:28:21'),(13468,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043809413909912','2016-08-17 14:28:23'),(13469,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040881633758545','2016-08-17 14:28:23'),(13470,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040931701660156','2016-08-17 14:28:23'),(13471,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040998458862305','2016-08-17 14:28:23'),(13472,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041420459747314','2016-08-17 14:28:23'),(13473,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 14:28:23'),(13474,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 14:28:23'),(13475,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041029453277588','2016-08-17 14:28:23'),(13476,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041401386260986','2016-08-17 14:28:23'),(13477,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004119873046875','2016-08-17 14:28:23'),(13478,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-17 14:28:23'),(13479,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040748119354248','2016-08-17 14:28:23'),(13480,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042519569396973','2016-08-17 14:28:24'),(13481,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 14:28:24'),(13482,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040519237518311','2016-08-17 14:28:24'),(13483,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 14:28:24'),(13484,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040769577026367','2016-08-17 14:28:24'),(13485,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040521621704102','2016-08-17 14:28:24'),(13486,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004086971282959','2016-08-17 14:28:24'),(13487,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040531158447266','2016-08-17 14:28:24'),(13488,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040619373321533','2016-08-17 14:28:24'),(13489,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040528774261475','2016-08-17 14:28:24'),(13490,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040650367736816','2016-08-17 14:28:24'),(13491,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040419101715088','2016-08-17 14:28:24'),(13492,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'\nGROUP BY `b`.`journalID`','transfer/index','0.034246921539307','2016-08-17 14:28:27'),(13493,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','transfer/index','0.01440691947937','2016-08-17 14:28:27'),(13494,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','transfer/index','0.0088498592376709','2016-08-17 14:28:27'),(13495,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','transfer/index','0.0012528896331787','2016-08-17 14:28:27'),(13496,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015189647674561','2016-08-17 14:28:28'),(13497,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040590763092041','2016-08-17 14:28:28'),(13498,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','transfer/print_transfers','0.043560028076172','2016-08-17 14:28:31'),(13499,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'\nGROUP BY `b`.`journalID`','transfer/print_transfers','0.01043701171875','2016-08-17 14:28:31'),(13500,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','transfer/print_transfers','0.00060892105102539','2016-08-17 14:28:31'),(13501,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00060606002807617','2016-08-17 14:28:32'),(13502,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-17 14:28:32'),(13503,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 14:28:32'),(13504,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 14:28:32'),(13505,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:28:32'),(13506,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-17 14:28:32'),(13507,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 14:28:32'),(13508,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 14:28:32'),(13509,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-17 14:28:32'),(13510,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-17 14:28:32'),(13511,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005040168762207','2016-08-17 14:28:32'),(13512,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 14:28:32'),(13513,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004478931427002','2016-08-17 14:28:32'),(13514,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044429302215576','2016-08-17 14:28:32'),(13515,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043661594390869','2016-08-17 14:28:32'),(13516,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043630599975586','2016-08-17 14:28:32'),(13517,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043458938598633','2016-08-17 14:28:32'),(13518,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043680667877197','2016-08-17 14:28:32'),(13519,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043599605560303','2016-08-17 14:28:32'),(13520,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043659210205078','2016-08-17 14:28:32'),(13521,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043690204620361','2016-08-17 14:28:32'),(13522,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043900012969971','2016-08-17 14:28:32'),(13523,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043730735778809','2016-08-17 14:28:32'),(13524,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043468475341797','2016-08-17 14:28:32'),(13525,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','transfer/print_transfer','0.00076103210449219','2016-08-17 14:29:10'),(13526,24,31,'192.168.1.204','others','SELECT tf.bankName as transferFrom, tt.bankName as transferTo, master.paymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.itemdescription as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_bank tf, comp_bank tt, comp_payment_others master, comp_payment_others_without_item details\r\n                WHERE master.ID = details.otherPaymentID and details.accountID = tt.linkAccountID and tf.ID = master.bankID and master.ID = \'2096\'\r\n        ','transfer/print_transfer','0.001945972442627','2016-08-17 14:29:10'),(13527,24,31,'192.168.1.204','others','SELECT tf.bankName as transferFrom, tt.bankName as transferTo, master.paymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.itemdescription as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_bank tf, comp_bank tt, comp_payment_others master, comp_payment_others_without_item details\r\n                WHERE master.ID = details.otherPaymentID and details.accountID = tt.linkAccountID and tf.ID = master.bankID and master.ID = \'2096\'\r\n        ','transfer/print_transfer','0.0018479824066162','2016-08-17 14:29:10'),(13528,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','transfer/print_transfer','0.00062394142150879','2016-08-17 14:29:10'),(13529,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00066208839416504','2016-08-17 14:29:34'),(13530,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005340576171875','2016-08-17 14:29:34'),(13531,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051784515380859','2016-08-17 14:29:34'),(13532,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00051307678222656','2016-08-17 14:29:34'),(13533,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00080108642578125','2016-08-17 14:29:34'),(13534,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041890144348145','2016-08-17 14:29:34'),(13535,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050806999206543','2016-08-17 14:29:34'),(13536,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00063109397888184','2016-08-17 14:30:18'),(13537,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053191184997559','2016-08-17 14:30:18'),(13538,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00052094459533691','2016-08-17 14:30:18'),(13539,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005650520324707','2016-08-17 14:30:18'),(13540,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078415870666504','2016-08-17 14:30:18'),(13541,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042390823364258','2016-08-17 14:30:18'),(13542,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051188468933105','2016-08-17 14:30:18'),(13543,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`ID` =  \'10994\'','report/journalDetails','0.08379602432251','2016-08-17 14:31:17'),(13544,24,31,'192.168.1.204','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000039\'\nORDER BY `sequence`','report/journalDetails','0.018878936767578','2016-08-17 14:31:17'),(13545,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00040197372436523','2016-08-17 14:31:17'),(13546,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049686431884766','2016-08-17 14:31:17'),(13547,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-03-16\', `bankID` = \'162\', `payTo` = \'164\', `amountPaid` = \'10.00\', `companyID` = \'24\', `updateAble` = 1 WHERE `ID` =  \'2095\'','transfer/saveTransfer','0.095086812973022','2016-08-17 14:31:29'),(13548,24,31,'192.168.1.204','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33135\', `amountExcludedTax` = \'10.00\', `itemdescription` = \'tah\' WHERE `ID` =  \'2008\'','transfer/saveTransfer','0.00036501884460449','2016-08-17 14:31:29'),(13549,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal`\nWHERE `journalID` =  \'AP20160800000038\'','transfer/saveTransfer','0.011781930923462','2016-08-17 14:31:29'),(13550,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal_detail`\nWHERE `journalID` =  \'AP20160800000038\'','transfer/saveTransfer','0.012262105941772','2016-08-17 14:31:29'),(13551,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  \'2095\'','transfer/saveTransfer','0.044662952423096','2016-08-17 14:31:29'),(13552,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  \'2095\'\nAND `ID` =  \'2095\'','transfer/saveTransfer','0.00063109397888184','2016-08-17 14:31:29'),(13553,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'2016\'\nAND `period` =  \'03\'\nORDER BY `ID` desc','transfer/saveTransfer','0.0065908432006836','2016-08-17 14:31:29'),(13554,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'341\'','transfer/saveTransfer','0.01720118522644','2016-08-17 14:31:29'),(13555,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160300000004\' WHERE `ID` =  \'2095\'','transfer/saveTransfer','0.016450881958008','2016-08-17 14:31:29'),(13556,24,31,'192.168.1.204','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  \'2095\'','transfer/saveTransfer','0.00057601928710938','2016-08-17 14:31:29'),(13557,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160300000004\', \' [TT[00000033]]]\', \'Pemindahan [  [TT[00000033]]] ]\', \'\', \'3\', \'2016-03-16\', \'2016\', \'03\', 10, 10, \'User\')','transfer/saveTransfer','0.0085070133209229','2016-08-17 14:31:29'),(13558,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160300000004\', 1, \'tah\', \'33133\', 10, 1, \'1\', \'10\', \'03\', \'2016\', \'0\', \'TT[00000033]\', \'User\')','transfer/saveTransfer','0.011843919754028','2016-08-17 14:31:29'),(13559,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160300000004\', 2, \'tah\', \'33135\', 10, 1, \'1\', \'10\', \'03\', \'2016\', \'0\', \'TT[00000033]\', \'User\')','transfer/saveTransfer','0.012269973754883','2016-08-17 14:31:30'),(13560,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160300000004\'','transfer/saveTransfer','0.011986017227173','2016-08-17 14:31:30'),(13561,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2095\'','transfer/saveTransfer','0.020883798599243','2016-08-17 14:31:30'),(13562,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11046','transfer/saveTransfer','0.012112855911255','2016-08-17 14:31:30'),(13563,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160300000004\'','transfer/saveTransfer','0.012444972991943','2016-08-17 14:31:30'),(13564,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160300000004\'','transfer/saveTransfer','0.00059103965759277','2016-08-17 14:31:30'),(13565,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'3\'','transfer/saveTransfer','0.026051044464111','2016-08-17 14:31:30'),(13566,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'3\'','transfer/saveTransfer','0.017854928970337','2016-08-17 14:31:30'),(13567,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33135\'\nAND `year` =  \'2016\'\nAND `period` =  \'3\'','transfer/saveTransfer','0.0004889965057373','2016-08-17 14:31:30'),(13568,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33135\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'3\'','transfer/saveTransfer','0.011459112167358','2016-08-17 14:31:30'),(13569,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'\nGROUP BY `b`.`journalID`','transfer/index','0.0064988136291504','2016-08-17 14:31:30'),(13570,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','transfer/index','0.00099992752075195','2016-08-17 14:31:30'),(13571,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','transfer/index','0.00042200088500977','2016-08-17 14:31:30'),(13572,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','transfer/index','0.0005040168762207','2016-08-17 14:31:30'),(13573,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0014281272888184','2016-08-17 14:32:21'),(13574,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012879371643066','2016-08-17 14:32:21'),(13575,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012569427490234','2016-08-17 14:32:21'),(13576,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012571811676025','2016-08-17 14:32:21'),(13577,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.035804033279419','2016-08-17 14:32:21'),(13578,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042891502380371','2016-08-17 14:32:21'),(13579,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-17 14:32:21'),(13580,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.19851303100586','2016-08-17 14:32:50'),(13581,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.10605692863464','2016-08-17 14:32:51'),(13582,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.094488143920898','2016-08-17 14:32:51'),(13583,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.085034132003784','2016-08-17 14:32:51'),(13584,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.077942848205566','2016-08-17 14:32:51'),(13585,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00026106834411621','2016-08-17 14:32:51'),(13586,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00032901763916016','2016-08-17 14:32:51'),(13587,24,31,'192.168.1.204','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'24\'','setup/expensesSetup','0.0018260478973389','2016-08-17 14:33:38'),(13588,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00046205520629883','2016-08-17 14:33:38'),(13589,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00051403045654297','2016-08-17 14:33:38'),(13590,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'24\'','setup/companySetup','0.083981037139893','2016-08-17 14:35:19'),(13591,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.0015270709991455','2016-08-17 14:35:19'),(13592,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.0011379718780518','2016-08-17 14:35:19'),(13593,24,31,'192.168.1.204','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1931\'','setup/companySetup','0.00055313110351562','2016-08-17 14:35:19'),(13594,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00041389465332031','2016-08-17 14:35:19'),(13595,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00050187110900879','2016-08-17 14:35:19'),(13596,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00040698051452637','2016-08-17 14:35:19'),(13597,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00048589706420898','2016-08-17 14:35:19'),(13598,24,31,'192.168.1.204','update','UPDATE `company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'0132897186\', `faxNo` = \'\', `email` = \'superabu92@gmail.com\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.025411128997803','2016-08-17 14:36:22'),(13599,24,31,'192.168.1.204','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'panasonic \', `line1` = \'no 12\', `line2` = \'jalan 34\', `line3` = \'kawasan industri panasonic\', `city` = \'bandar panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'0132897186\', `faxNo` = \'\', `email` = \'superabu92@gmail.com\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.044999837875366','2016-08-17 14:36:22'),(13600,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'24\'','setup/companySetup','0.00084900856018066','2016-08-17 14:36:25'),(13601,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.0015249252319336','2016-08-17 14:36:25'),(13602,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.00066900253295898','2016-08-17 14:36:25'),(13603,24,31,'192.168.1.204','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1931\'','setup/companySetup','0.00054597854614258','2016-08-17 14:36:25'),(13604,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00040888786315918','2016-08-17 14:36:25'),(13605,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00048589706420898','2016-08-17 14:36:25'),(13606,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00040102005004883','2016-08-17 14:36:25'),(13607,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00047516822814941','2016-08-17 14:36:25'),(13608,24,31,'192.168.1.204','update','UPDATE `company` SET `companyName` = \'Panasonic \', `line1` = \'No 12\', `line2` = \'Jalan 34\', `line3` = \'Kawasan Industri Panasonic\', `city` = \'Bandar Panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'0132897186\', `faxNo` = \'\', `email` = \'superabu92@gmail.com\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.09520697593689','2016-08-17 14:37:27'),(13609,24,31,'192.168.1.204','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Panasonic \', `line1` = \'No 12\', `line2` = \'Jalan 34\', `line3` = \'Kawasan Industri Panasonic\', `city` = \'Bandar Panasonic\', `companyPostCode` = \'43500\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'93\', `phoneNo` = \'0132897186\', `faxNo` = \'\', `email` = \'superabu92@gmail.com\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'18\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'24.JPG\', `updatedBy` = 0 WHERE `ID` =  \'24\'','setup/companySetup','0.01609206199646','2016-08-17 14:37:27'),(13610,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'24\'','setup/companySetup','0.00085902214050293','2016-08-17 14:37:30'),(13611,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.0015280246734619','2016-08-17 14:37:30'),(13612,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.00066614151000977','2016-08-17 14:37:30'),(13613,24,31,'192.168.1.204','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1931\'','setup/companySetup','0.00054597854614258','2016-08-17 14:37:30'),(13614,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00041103363037109','2016-08-17 14:37:30'),(13615,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.0004880428314209','2016-08-17 14:37:30'),(13616,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00040197372436523','2016-08-17 14:37:30'),(13617,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00047683715820312','2016-08-17 14:37:30'),(13618,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.10736799240112','2016-08-17 14:37:44'),(13619,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.10700607299805','2016-08-17 14:37:44'),(13620,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.10619902610779','2016-08-17 14:37:44'),(13621,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.10706615447998','2016-08-17 14:37:44'),(13622,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.10617089271545','2016-08-17 14:37:44'),(13623,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00037884712219238','2016-08-17 14:37:44'),(13624,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00046491622924805','2016-08-17 14:37:44'),(13625,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00076913833618164','2016-08-17 14:37:50'),(13626,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowListPrint','0.10715413093567','2016-08-17 14:37:50'),(13627,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowListPrint','0.10487794876099','2016-08-17 14:37:50'),(13628,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowListPrint','0.091693162918091','2016-08-17 14:37:50'),(13629,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowListPrint','0.083536148071289','2016-08-17 14:37:50'),(13630,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowListPrint','0.077198028564453','2016-08-17 14:37:50'),(13631,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00036311149597168','2016-08-17 14:37:50'),(13632,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00076198577880859','2016-08-17 14:37:57'),(13633,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowListPrint','0.10710692405701','2016-08-17 14:37:57'),(13634,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowListPrint','0.10309982299805','2016-08-17 14:37:57'),(13635,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowListPrint','0.090280055999756','2016-08-17 14:37:57'),(13636,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowListPrint','0.082277059555054','2016-08-17 14:37:57'),(13637,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowListPrint','0.075907945632935','2016-08-17 14:37:57'),(13638,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00036001205444336','2016-08-17 14:37:57'),(13639,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00073504447937012','2016-08-17 14:37:57'),(13640,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowListPrint','0.10991907119751','2016-08-17 14:37:57'),(13641,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00068306922912598','2016-08-17 14:37:57'),(13642,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowListPrint','0.10720705986023','2016-08-17 14:37:57'),(13643,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowListPrint','0.10999894142151','2016-08-17 14:37:58'),(13644,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowListPrint','0.094976902008057','2016-08-17 14:37:58'),(13645,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowListPrint','0.10440301895142','2016-08-17 14:37:58'),(13646,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowListPrint','0.084846973419189','2016-08-17 14:37:58'),(13647,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowListPrint','0.092562913894653','2016-08-17 14:37:58'),(13648,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowListPrint','0.078171968460083','2016-08-17 14:37:58'),(13649,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowListPrint','0.083599805831909','2016-08-17 14:37:58'),(13650,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00034809112548828','2016-08-17 14:37:58'),(13651,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowListPrint','0.075757026672363','2016-08-17 14:37:58'),(13652,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00059795379638672','2016-08-17 14:37:58'),(13653,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00080609321594238','2016-08-17 14:38:01'),(13654,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowListPrint','0.10681414604187','2016-08-17 14:38:01'),(13655,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowListPrint','0.10297298431396','2016-08-17 14:38:01'),(13656,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowListPrint','0.091691017150879','2016-08-17 14:38:01'),(13657,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowListPrint','0.081987857818604','2016-08-17 14:38:01'),(13658,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowListPrint','0.075735807418823','2016-08-17 14:38:01'),(13659,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','report/smeCashFlowListPrint','0.00036811828613281','2016-08-17 14:38:01'),(13660,24,31,'192.168.1.204','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 24, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 24)','setup/assetSetup','0.001704216003418','2016-08-17 14:41:58'),(13661,24,31,'192.168.1.204','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'24\'','setup/assetSetup','0.0016100406646729','2016-08-17 14:41:58'),(13662,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.0004270076751709','2016-08-17 14:41:58'),(13663,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00050806999206543','2016-08-17 14:41:58'),(13664,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.10751891136169','2016-08-17 14:42:04'),(13665,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.10180997848511','2016-08-17 14:42:04'),(13666,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.090646982192993','2016-08-17 14:42:04'),(13667,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.082718133926392','2016-08-17 14:42:04'),(13668,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'24\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.074562788009644','2016-08-17 14:42:04'),(13669,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00024795532226562','2016-08-17 14:42:04'),(13670,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00029802322387695','2016-08-17 14:42:04'),(13671,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.0089061260223389','2016-08-17 15:25:00'),(13672,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055885314941406','2016-08-17 15:25:00'),(13673,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055503845214844','2016-08-17 15:25:00'),(13674,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00056886672973633','2016-08-17 15:25:00'),(13675,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078296661376953','2016-08-17 15:25:00'),(13676,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0004119873046875','2016-08-17 15:25:00'),(13677,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051307678222656','2016-08-17 15:25:00'),(13678,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00064611434936523','2016-08-17 15:25:10'),(13679,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055885314941406','2016-08-17 15:25:10'),(13680,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055480003356934','2016-08-17 15:25:10'),(13681,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.0005490779876709','2016-08-17 15:25:10'),(13682,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078511238098145','2016-08-17 15:25:10'),(13683,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00040698051452637','2016-08-17 15:25:10'),(13684,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051498413085938','2016-08-17 15:25:10'),(13685,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00063896179199219','2016-08-17 15:25:23'),(13686,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00056099891662598','2016-08-17 15:25:23'),(13687,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055408477783203','2016-08-17 15:25:23'),(13688,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00054502487182617','2016-08-17 15:25:23'),(13689,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00078201293945312','2016-08-17 15:25:23'),(13690,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041103363037109','2016-08-17 15:25:23'),(13691,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051212310791016','2016-08-17 15:25:23'),(13692,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013141632080078','2016-08-17 15:30:33'),(13693,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012438297271729','2016-08-17 15:30:33'),(13694,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012118816375732','2016-08-17 15:30:33'),(13695,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012078285217285','2016-08-17 15:30:33'),(13696,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0031681060791016','2016-08-17 15:30:33'),(13697,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042390823364258','2016-08-17 15:30:33'),(13698,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-17 15:30:33'),(13699,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012540817260742','2016-08-17 15:31:22'),(13700,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012381076812744','2016-08-17 15:31:22'),(13701,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012152194976807','2016-08-17 15:31:22'),(13702,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012168884277344','2016-08-17 15:31:22'),(13703,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.014513969421387','2016-08-17 15:31:22'),(13704,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043201446533203','2016-08-17 15:31:22'),(13705,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0067720413208008','2016-08-17 15:31:22'),(13706,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0013189315795898','2016-08-17 15:31:39'),(13707,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012409687042236','2016-08-17 15:31:39'),(13708,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012111663818359','2016-08-17 15:31:39'),(13709,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012130737304688','2016-08-17 15:31:39'),(13710,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021569728851318','2016-08-17 15:31:39'),(13711,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042009353637695','2016-08-17 15:31:39'),(13712,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048685073852539','2016-08-17 15:31:39'),(13713,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066995620727539','2016-08-17 15:32:58'),(13714,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057291984558105','2016-08-17 15:32:58'),(13715,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055813789367676','2016-08-17 15:32:58'),(13716,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057506561279297','2016-08-17 15:32:58'),(13717,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.14242100715637','2016-08-17 15:32:58'),(13718,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.044407844543457','2016-08-17 15:32:58'),(13719,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043828010559082','2016-08-17 15:32:58'),(13720,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043957948684692','2016-08-17 15:32:58'),(13721,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.32339596748352','2016-08-17 15:32:58'),(13722,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00048589706420898','2016-08-17 15:32:58'),(13723,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052690505981445','2016-08-17 15:32:58'),(13724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.010165929794312','2016-08-17 15:33:03'),(13725,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 15:33:03'),(13726,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:33:03'),(13727,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:33:03'),(13728,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:33:03'),(13729,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:33:03'),(13730,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 15:33:03'),(13731,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056791305541992','2016-08-17 15:33:03'),(13732,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:33:03'),(13733,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:33:03'),(13734,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 15:33:03'),(13735,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:33:03'),(13736,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064516067504883','2016-08-17 15:33:04'),(13737,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:33:04'),(13738,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:33:04'),(13739,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:33:04'),(13740,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:33:04'),(13741,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:33:04'),(13742,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:33:04'),(13743,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055718421936035','2016-08-17 15:33:04'),(13744,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:33:04'),(13745,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:33:04'),(13746,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:33:04'),(13747,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:33:04'),(13748,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061893463134766','2016-08-17 15:33:07'),(13749,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060105323791504','2016-08-17 15:33:08'),(13750,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058197975158691','2016-08-17 15:33:08'),(13751,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:33:08'),(13752,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:33:08'),(13753,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:33:08'),(13754,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:33:08'),(13755,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:33:08'),(13756,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:33:08'),(13757,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:33:08'),(13758,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 15:33:08'),(13759,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:33:08'),(13760,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-17 15:33:08'),(13761,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-17 15:33:08'),(13762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.054301977157593','2016-08-17 15:33:12'),(13763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014159679412842','2016-08-17 15:33:12'),(13764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 15:33:12'),(13765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 15:33:12'),(13766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013628005981445','2016-08-17 15:33:12'),(13767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 15:33:12'),(13768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 15:33:12'),(13769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 15:33:12'),(13770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 15:33:12'),(13771,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 15:33:12'),(13772,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-17 15:33:12'),(13773,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013401508331299','2016-08-17 15:33:12'),(13774,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.013005971908569','2016-08-17 15:33:13'),(13775,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012450218200684','2016-08-17 15:33:13'),(13776,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012109279632568','2016-08-17 15:33:13'),(13777,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012118816375732','2016-08-17 15:33:13'),(13778,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.027477025985718','2016-08-17 15:33:13'),(13779,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0012121200561523','2016-08-17 15:33:13'),(13780,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0011551380157471','2016-08-17 15:33:13'),(13781,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0026419162750244','2016-08-17 15:33:16'),(13782,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010800361633301','2016-08-17 15:33:16'),(13783,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00043487548828125','2016-08-17 15:33:16'),(13784,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00052690505981445','2016-08-17 15:33:16'),(13785,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.08400297164917','2016-08-17 15:33:47'),(13786,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'habis hutang\', \'25\', \'32\', 1, 1, \'68\', \'50\', \'OP-L\', \'2016-08-17\', \'158\', \'1\')','expenses/saveExpense','0.06221079826355','2016-08-17 15:33:47'),(13787,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2119, \'32\', \'membayar balik hutang\', 1, \'33076\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0083088874816895','2016-08-17 15:33:47'),(13788,25,32,'192.168.1.220','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2119','expenses/saveExpense','0.026068925857544','2016-08-17 15:33:47'),(13789,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2119','expenses/saveExpense','0.027928829193115','2016-08-17 15:33:47'),(13790,25,32,'192.168.1.220','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2119\nAND `ID` =  2119','expenses/saveExpense','0.00054693222045898','2016-08-17 15:33:47'),(13791,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'25\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','expenses/saveExpense','0.0012791156768799','2016-08-17 15:33:47'),(13792,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'336\'','expenses/saveExpense','0.020401000976562','2016-08-17 15:33:47'),(13793,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000029\' WHERE `ID` =  2119','expenses/saveExpense','0.016706943511963','2016-08-17 15:33:47'),(13794,25,32,'192.168.1.220','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2119','expenses/saveExpense','0.00054597854614258','2016-08-17 15:33:47'),(13795,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000029\', \'Pembayaran Balik Pinjaman [OP-L[00000027]]\', \'Pembayaran Balik Pinjaman [OP-L[00000027]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 50, 50, \'32\')','expenses/saveExpense','0.0091259479522705','2016-08-17 15:33:47'),(13796,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000029\', 1, \'membayar balik hutang\', \'33073\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000027]\', \'User\')','expenses/saveExpense','0.019613981246948','2016-08-17 15:33:47'),(13797,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000029\', 2, \'membayar balik hutang\', \'33076\', 50, 1, \'1\', \'50\', \'08\', \'16\', \'1\', \'OP-L[00000027]\', \'User\')','expenses/saveExpense','0.012819051742554','2016-08-17 15:33:47'),(13798,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000029\'','expenses/saveExpense','0.016409873962402','2016-08-17 15:33:47'),(13799,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2119','expenses/saveExpense','0.019579887390137','2016-08-17 15:33:47'),(13800,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11051','expenses/saveExpense','0.0084199905395508','2016-08-17 15:33:47'),(13801,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000029\'','expenses/saveExpense','0.024410009384155','2016-08-17 15:33:47'),(13802,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000029\'','expenses/saveExpense','0.00058794021606445','2016-08-17 15:33:47'),(13803,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33073\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.02606201171875','2016-08-17 15:33:47'),(13804,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33073\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022565126419067','2016-08-17 15:33:47'),(13805,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33076\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00047612190246582','2016-08-17 15:33:47'),(13806,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33076\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011998891830444','2016-08-17 15:33:47'),(13807,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'11051\'','report/journalDetails','0.00177001953125','2016-08-17 15:33:57'),(13808,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000029\'\nORDER BY `sequence`','report/journalDetails','0.00086188316345215','2016-08-17 15:33:57'),(13809,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00040698051452637','2016-08-17 15:33:57'),(13810,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049400329589844','2016-08-17 15:33:57'),(13811,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064706802368164','2016-08-17 15:34:02'),(13812,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055503845214844','2016-08-17 15:34:02'),(13813,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055098533630371','2016-08-17 15:34:02'),(13814,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054407119750977','2016-08-17 15:34:02'),(13815,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.079825878143311','2016-08-17 15:34:02'),(13816,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.044075012207031','2016-08-17 15:34:02'),(13817,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043658018112183','2016-08-17 15:34:02'),(13818,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043900012969971','2016-08-17 15:34:02'),(13819,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.35027289390564','2016-08-17 15:34:02'),(13820,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049495697021484','2016-08-17 15:34:02'),(13821,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051999092102051','2016-08-17 15:34:02'),(13822,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0011119842529297','2016-08-17 15:34:06'),(13823,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:34:06'),(13824,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:34:06'),(13825,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:34:06'),(13826,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:34:06'),(13827,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:34:06'),(13828,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 15:34:06'),(13829,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056719779968262','2016-08-17 15:34:06'),(13830,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:34:06'),(13831,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:34:06'),(13832,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-17 15:34:06'),(13833,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:34:06'),(13834,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066184997558594','2016-08-17 15:34:07'),(13835,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054621696472168','2016-08-17 15:34:07'),(13836,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:34:07'),(13837,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:34:07'),(13838,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:34:07'),(13839,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 15:34:07'),(13840,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:34:07'),(13841,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057792663574219','2016-08-17 15:34:07'),(13842,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:34:07'),(13843,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:34:07'),(13844,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:34:07'),(13845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:34:07'),(13846,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0006098747253418','2016-08-17 15:34:11'),(13847,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060915946960449','2016-08-17 15:34:14'),(13848,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:34:14'),(13849,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:34:14'),(13850,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-17 15:34:14'),(13851,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-17 15:34:14'),(13852,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:34:14'),(13853,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:34:14'),(13854,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:34:14'),(13855,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:34:14'),(13856,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:34:14'),(13857,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:34:14'),(13858,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:34:14'),(13859,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-17 15:34:14'),(13860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.019613981246948','2016-08-17 15:34:18'),(13861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013668537139893','2016-08-17 15:34:18'),(13862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 15:34:18'),(13863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013282299041748','2016-08-17 15:34:18'),(13864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 15:34:18'),(13865,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.01298999786377','2016-08-17 15:34:18'),(13866,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013301372528076','2016-08-17 15:34:18'),(13867,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 15:34:18'),(13868,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-17 15:34:18'),(13869,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 15:34:18'),(13870,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-17 15:34:18'),(13871,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013158321380615','2016-08-17 15:34:18'),(13872,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015418529510498','2016-08-17 15:34:21'),(13873,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-17 15:34:21'),(13874,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 15:34:21'),(13875,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 15:34:21'),(13876,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-17 15:34:21'),(13877,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 15:34:21'),(13878,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013341903686523','2016-08-17 15:34:21'),(13879,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 15:34:21'),(13880,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 15:34:21'),(13881,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 15:34:21'),(13882,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 15:34:21'),(13883,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013318061828613','2016-08-17 15:34:21'),(13884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043249130249023','2016-08-17 15:34:23'),(13885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-17 15:34:23'),(13886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-17 15:34:23'),(13887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041260719299316','2016-08-17 15:34:23'),(13888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041029453277588','2016-08-17 15:34:23'),(13889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041179656982422','2016-08-17 15:34:23'),(13890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-17 15:34:23'),(13891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041069984436035','2016-08-17 15:34:23'),(13892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040011405944824','2016-08-17 15:34:23'),(13893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004086971282959','2016-08-17 15:34:23'),(13894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040938854217529','2016-08-17 15:34:23'),(13895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-17 15:34:23'),(13896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042421817779541','2016-08-17 15:34:26'),(13897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-17 15:34:26'),(13898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-17 15:34:26'),(13899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040328502655029','2016-08-17 15:34:26'),(13900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 15:34:26'),(13901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-17 15:34:26'),(13902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040481090545654','2016-08-17 15:34:26'),(13903,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 15:34:26'),(13904,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 15:34:26'),(13905,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 15:34:26'),(13906,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040879249572754','2016-08-17 15:34:26'),(13907,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040121078491211','2016-08-17 15:34:26'),(13908,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015599727630615','2016-08-17 15:34:31'),(13909,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0039908885955811','2016-08-17 15:34:31'),(13910,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006568431854248','2016-08-17 15:34:36'),(13911,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-17 15:34:36'),(13912,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:34:36'),(13913,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:34:36'),(13914,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:34:36'),(13915,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-17 15:34:36'),(13916,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 15:34:36'),(13917,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:34:36'),(13918,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:34:36'),(13919,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:34:36'),(13920,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-17 15:34:36'),(13921,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:34:36'),(13922,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044209957122803','2016-08-17 15:34:36'),(13923,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042500495910645','2016-08-17 15:34:36'),(13924,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042390823364258','2016-08-17 15:34:36'),(13925,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043067932128906','2016-08-17 15:34:36'),(13926,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042369365692139','2016-08-17 15:34:36'),(13927,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042300224304199','2016-08-17 15:34:36'),(13928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004241943359375','2016-08-17 15:34:36'),(13929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042591094970703','2016-08-17 15:34:36'),(13930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042409896850586','2016-08-17 15:34:36'),(13931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042679309844971','2016-08-17 15:34:36'),(13932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042672157287598','2016-08-17 15:34:36'),(13933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042350292205811','2016-08-17 15:34:36'),(13934,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00065302848815918','2016-08-17 15:35:39'),(13935,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056099891662598','2016-08-17 15:35:39'),(13936,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055289268493652','2016-08-17 15:35:39'),(13937,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005500316619873','2016-08-17 15:35:39'),(13938,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.072309017181396','2016-08-17 15:35:39'),(13939,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043911933898926','2016-08-17 15:35:39'),(13940,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043796062469482','2016-08-17 15:35:39'),(13941,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044110059738159','2016-08-17 15:35:39'),(13942,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.30153489112854','2016-08-17 15:35:40'),(13943,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049996376037598','2016-08-17 15:35:40'),(13944,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005190372467041','2016-08-17 15:35:40'),(13945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0091521739959717','2016-08-17 15:35:43'),(13946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:35:43'),(13947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:35:43'),(13948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:35:43'),(13949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:35:43'),(13950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:35:43'),(13951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:35:43'),(13952,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-17 15:35:43'),(13953,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:35:43'),(13954,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:35:43'),(13955,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:35:43'),(13956,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:35:43'),(13957,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065398216247559','2016-08-17 15:35:44'),(13958,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:35:44'),(13959,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:35:44'),(13960,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:35:44'),(13961,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:35:45'),(13962,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-17 15:35:45'),(13963,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-17 15:35:45'),(13964,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055980682373047','2016-08-17 15:35:45'),(13965,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.26079702377319','2016-08-17 15:35:45'),(13966,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:35:45'),(13967,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:35:45'),(13968,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012459754943848','2016-08-17 15:35:45'),(13969,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:35:45'),(13970,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001215934753418','2016-08-17 15:35:45'),(13971,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:35:45'),(13972,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001215934753418','2016-08-17 15:35:45'),(13973,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.099772930145264','2016-08-17 15:35:45'),(13974,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00046896934509277','2016-08-17 15:35:45'),(13975,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049805641174316','2016-08-17 15:35:45'),(13976,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0013208389282227','2016-08-17 15:35:46'),(13977,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012929439544678','2016-08-17 15:35:46'),(13978,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012190341949463','2016-08-17 15:35:46'),(13979,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012168884277344','2016-08-17 15:35:46'),(13980,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022039413452148','2016-08-17 15:35:46'),(13981,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042486190795898','2016-08-17 15:35:46'),(13982,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048589706420898','2016-08-17 15:35:46'),(13983,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.18638396263123','2016-08-17 15:37:54'),(13984,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012531280517578','2016-08-17 15:37:54'),(13985,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012218952178955','2016-08-17 15:37:54'),(13986,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012118816375732','2016-08-17 15:37:54'),(13987,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.047120094299316','2016-08-17 15:37:54'),(13988,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.013131856918335','2016-08-17 15:37:54'),(13989,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0013358592987061','2016-08-17 15:37:54'),(13990,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0006721019744873','2016-08-17 15:43:02'),(13991,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00056695938110352','2016-08-17 15:43:02'),(13992,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055909156799316','2016-08-17 15:43:02'),(13993,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005500316619873','2016-08-17 15:43:02'),(13994,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.096343994140625','2016-08-17 15:43:02'),(13995,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043795824050903','2016-08-17 15:43:02'),(13996,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04372501373291','2016-08-17 15:43:02'),(13997,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043781995773315','2016-08-17 15:43:02'),(13998,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.14503598213196','2016-08-17 15:43:02'),(13999,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049591064453125','2016-08-17 15:43:02'),(14000,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00054717063903809','2016-08-17 15:43:02'),(14001,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.011731147766113','2016-08-17 15:43:05'),(14002,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 15:43:05'),(14003,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:43:05'),(14004,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:43:05'),(14005,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:43:05'),(14006,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:43:05'),(14007,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-17 15:43:05'),(14008,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00058889389038086','2016-08-17 15:43:05'),(14009,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 15:43:05'),(14010,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-17 15:43:05'),(14011,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-17 15:43:05'),(14012,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-17 15:43:05'),(14013,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00063610076904297','2016-08-17 15:43:09'),(14014,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00056195259094238','2016-08-17 15:43:09'),(14015,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-17 15:43:09'),(14016,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055098533630371','2016-08-17 15:43:09'),(14017,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.088048934936523','2016-08-17 15:43:09'),(14018,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04538893699646','2016-08-17 15:43:09'),(14019,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.044137954711914','2016-08-17 15:43:09'),(14020,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044527053833008','2016-08-17 15:43:09'),(14021,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.073913097381592','2016-08-17 15:43:09'),(14022,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00048303604125977','2016-08-17 15:43:09'),(14023,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052714347839355','2016-08-17 15:43:09'),(14024,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0021388530731201','2016-08-17 15:43:13'),(14025,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:43:13'),(14026,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:43:13'),(14027,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:43:13'),(14028,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:43:13'),(14029,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-17 15:43:13'),(14030,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:43:13'),(14031,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056910514831543','2016-08-17 15:43:13'),(14032,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00057220458984375','2016-08-17 15:43:13'),(14033,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:43:13'),(14034,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:43:13'),(14035,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 15:43:13'),(14036,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00066208839416504','2016-08-17 15:43:22'),(14037,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:43:22'),(14038,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00059008598327637','2016-08-17 15:43:22'),(14039,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:43:22'),(14040,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055480003356934','2016-08-17 15:43:22'),(14041,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:43:22'),(14042,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:43:22'),(14043,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 15:43:22'),(14044,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:43:22'),(14045,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:43:22'),(14046,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:43:22'),(14047,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:43:22'),(14048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066184997558594','2016-08-17 15:43:24'),(14049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:43:24'),(14050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:43:24'),(14051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:43:24'),(14052,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00059008598327637','2016-08-17 15:43:24'),(14053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-17 15:43:24'),(14054,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:43:24'),(14055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 15:43:24'),(14056,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:43:24'),(14057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054717063903809','2016-08-17 15:43:24'),(14058,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00060296058654785','2016-08-17 15:43:24'),(14059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057697296142578','2016-08-17 15:43:24'),(14060,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:43:24'),(14061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-17 15:43:24'),(14062,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:43:24'),(14063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056982040405273','2016-08-17 15:43:24'),(14064,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:43:24'),(14065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:43:24'),(14066,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:43:24'),(14067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:43:24'),(14068,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:43:24'),(14069,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055718421936035','2016-08-17 15:43:24'),(14070,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:43:24'),(14071,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00060105323791504','2016-08-17 15:43:24'),(14072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065422058105469','2016-08-17 15:43:25'),(14073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:43:25'),(14074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:43:25'),(14075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:43:25'),(14076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:43:25'),(14077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-17 15:43:25'),(14078,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:43:25'),(14079,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:43:25'),(14080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:43:25'),(14081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:43:25'),(14082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:43:25'),(14083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:43:25'),(14084,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00062203407287598','2016-08-17 15:43:27'),(14085,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00061798095703125','2016-08-17 15:43:28'),(14086,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005791187286377','2016-08-17 15:43:28'),(14087,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:43:28'),(14088,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-17 15:43:28'),(14089,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-17 15:43:28'),(14090,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:43:28'),(14091,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:43:28'),(14092,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:43:28'),(14093,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:43:28'),(14094,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00055193901062012','2016-08-17 15:43:28'),(14095,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-17 15:43:28'),(14096,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:43:28'),(14097,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-17 15:43:28'),(14098,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-17 15:43:28'),(14099,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:43:28'),(14100,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:43:28'),(14101,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 15:43:28'),(14102,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:43:28'),(14103,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-17 15:43:28'),(14104,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:43:28'),(14105,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054717063903809','2016-08-17 15:43:28'),(14106,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:43:28'),(14107,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-17 15:43:28'),(14108,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-17 15:43:29'),(14109,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:43:29'),(14110,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:43:29'),(14111,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:43:29'),(14112,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:43:29'),(14113,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:43:29'),(14114,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:43:29'),(14115,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054717063903809','2016-08-17 15:43:29'),(14116,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054383277893066','2016-08-17 15:43:29'),(14117,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 15:43:29'),(14118,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056314468383789','2016-08-17 15:43:29'),(14119,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:43:29'),(14120,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056314468383789','2016-08-17 15:43:29'),(14121,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:43:29'),(14122,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:43:29'),(14123,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060081481933594','2016-08-17 15:43:29'),(14124,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-17 15:43:29'),(14125,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 15:43:29'),(14126,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:43:29'),(14127,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:43:29'),(14128,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:43:29'),(14129,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055480003356934','2016-08-17 15:43:30'),(14130,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:43:30'),(14131,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005497932434082','2016-08-17 15:43:30'),(14132,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:43:30'),(14133,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:43:30'),(14134,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:43:30'),(14135,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:43:30'),(14136,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.27615594863892','2016-08-17 15:43:33'),(14137,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013980865478516','2016-08-17 15:43:33'),(14138,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014050006866455','2016-08-17 15:43:33'),(14139,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013818740844727','2016-08-17 15:43:33'),(14140,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013678073883057','2016-08-17 15:43:33'),(14141,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 15:43:33'),(14142,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 15:43:33'),(14143,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 15:43:33'),(14144,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013551712036133','2016-08-17 15:43:33'),(14145,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 15:43:33'),(14146,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 15:43:33'),(14147,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 15:43:33'),(14148,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0032429695129395','2016-08-17 15:43:33'),(14149,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014410018920898','2016-08-17 15:43:34'),(14150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014138221740723','2016-08-17 15:43:34'),(14151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 15:43:34'),(14152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014159679412842','2016-08-17 15:43:34'),(14153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-17 15:43:34'),(14154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 15:43:34'),(14155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013949871063232','2016-08-17 15:43:34'),(14156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013771057128906','2016-08-17 15:43:34'),(14157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013799667358398','2016-08-17 15:43:34'),(14158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 15:43:34'),(14159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 15:43:34'),(14160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001554012298584','2016-08-17 15:43:35'),(14161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013360977172852','2016-08-17 15:43:35'),(14162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013291835784912','2016-08-17 15:43:35'),(14163,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013442039489746','2016-08-17 15:43:35'),(14164,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 15:43:35'),(14165,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 15:43:35'),(14166,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 15:43:35'),(14167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 15:43:35'),(14168,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-17 15:43:35'),(14169,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014629364013672','2016-08-17 15:43:35'),(14170,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 15:43:35'),(14171,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-17 15:43:35'),(14172,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013191699981689','2016-08-17 15:43:35'),(14173,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 15:43:35'),(14174,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 15:43:35'),(14175,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 15:43:35'),(14176,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-17 15:43:35'),(14177,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-17 15:43:35'),(14178,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-17 15:43:35'),(14179,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 15:43:35'),(14180,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013768672943115','2016-08-17 15:43:35'),(14181,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-17 15:43:35'),(14182,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013318061828613','2016-08-17 15:43:35'),(14183,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 15:43:35'),(14184,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041608810424805','2016-08-17 15:43:37'),(14185,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039520263671875','2016-08-17 15:43:37'),(14186,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039491653442383','2016-08-17 15:43:37'),(14187,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039691925048828','2016-08-17 15:43:37'),(14188,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039529800415039','2016-08-17 15:43:37'),(14189,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039489269256592','2016-08-17 15:43:37'),(14190,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003943920135498','2016-08-17 15:43:37'),(14191,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039808750152588','2016-08-17 15:43:37'),(14192,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040831565856934','2016-08-17 15:43:37'),(14193,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039451122283936','2016-08-17 15:43:37'),(14194,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039768218994141','2016-08-17 15:43:37'),(14195,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039670467376709','2016-08-17 15:43:37'),(14196,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039589405059814','2016-08-17 15:43:37'),(14197,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003957986831665','2016-08-17 15:43:37'),(14198,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039651393890381','2016-08-17 15:43:37'),(14199,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039429664611816','2016-08-17 15:43:37'),(14200,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039870738983154','2016-08-17 15:43:37'),(14201,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039680004119873','2016-08-17 15:43:37'),(14202,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039258003234863','2016-08-17 15:43:37'),(14203,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040340423583984','2016-08-17 15:43:37'),(14204,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039279460906982','2016-08-17 15:43:37'),(14205,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039770603179932','2016-08-17 15:43:37'),(14206,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039680004119873','2016-08-17 15:43:37'),(14207,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039489269256592','2016-08-17 15:43:38'),(14208,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041890144348145','2016-08-17 15:43:39'),(14209,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003957986831665','2016-08-17 15:43:39'),(14210,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039939880371094','2016-08-17 15:43:39'),(14211,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040631294250488','2016-08-17 15:43:39'),(14212,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039951801300049','2016-08-17 15:43:39'),(14213,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039899349212646','2016-08-17 15:43:39'),(14214,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003986120223999','2016-08-17 15:43:39'),(14215,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039992332458496','2016-08-17 15:43:39'),(14216,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040059089660645','2016-08-17 15:43:39'),(14217,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040931701660156','2016-08-17 15:43:39'),(14218,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 15:43:39'),(14219,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039758682250977','2016-08-17 15:43:39'),(14220,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040199756622314','2016-08-17 15:43:39'),(14221,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039658546447754','2016-08-17 15:43:39'),(14222,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039610862731934','2016-08-17 15:43:39'),(14223,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039730072021484','2016-08-17 15:43:39'),(14224,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039920806884766','2016-08-17 15:43:39'),(14225,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039968490600586','2016-08-17 15:43:39'),(14226,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003957986831665','2016-08-17 15:43:39'),(14227,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039510726928711','2016-08-17 15:43:39'),(14228,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003957986831665','2016-08-17 15:43:39'),(14229,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040280818939209','2016-08-17 15:43:39'),(14230,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039598941802979','2016-08-17 15:43:39'),(14231,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039980411529541','2016-08-17 15:43:39'),(14232,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015621185302734','2016-08-17 15:43:42'),(14233,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0039591789245605','2016-08-17 15:43:42'),(14234,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015389919281006','2016-08-17 15:43:43'),(14235,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0039510726928711','2016-08-17 15:43:43'),(14236,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065112113952637','2016-08-17 15:43:46'),(14237,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:43:46'),(14238,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:43:46'),(14239,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:43:46'),(14240,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:43:46'),(14241,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:43:46'),(14242,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-17 15:43:46'),(14243,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056791305541992','2016-08-17 15:43:46'),(14244,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:43:46'),(14245,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:43:46'),(14246,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:43:46'),(14247,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:43:46'),(14248,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004371166229248','2016-08-17 15:43:46'),(14249,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042450428009033','2016-08-17 15:43:46'),(14250,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042300224304199','2016-08-17 15:43:46'),(14251,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042250156402588','2016-08-17 15:43:46'),(14252,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042788982391357','2016-08-17 15:43:46'),(14253,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042128562927246','2016-08-17 15:43:46'),(14254,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042839050292969','2016-08-17 15:43:46'),(14255,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042250156402588','2016-08-17 15:43:47'),(14256,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042240619659424','2016-08-17 15:43:47'),(14257,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042271614074707','2016-08-17 15:43:47'),(14258,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043280124664307','2016-08-17 15:43:47'),(14259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042247772216797','2016-08-17 15:43:47'),(14260,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate`, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.04791784286499','2016-08-17 15:43:47'),(14261,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.012887954711914','2016-08-17 15:43:47'),(14262,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016601085662842','2016-08-17 15:43:47'),(14263,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043487548828125','2016-08-17 15:43:47'),(14264,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051403045654297','2016-08-17 15:43:47'),(14265,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate`, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0016779899597168','2016-08-17 15:43:53'),(14266,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010290145874023','2016-08-17 15:43:53'),(14267,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016717910766602','2016-08-17 15:43:53'),(14268,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041103363037109','2016-08-17 15:43:53'),(14269,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050520896911621','2016-08-17 15:43:53'),(14270,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0048019886016846','2016-08-17 15:45:39'),(14271,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010662078857422','2016-08-17 15:45:39'),(14272,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016870498657227','2016-08-17 15:45:39'),(14273,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040793418884277','2016-08-17 15:45:39'),(14274,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051307678222656','2016-08-17 15:45:39'),(14275,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `otherPaymentType`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-17\', 1, \'33139\', \'100\', \'LR\', \'162\', \'24\', 3)','loanReceive/save_new_loan','0.1365909576416','2016-08-17 15:46:18'),(14276,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2120, \'33133\', \'100\', \'test1\')','loanReceive/save_new_loan','0.016168117523193','2016-08-17 15:46:18'),(14277,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2120','loanReceive/save_new_loan','0.047857999801636','2016-08-17 15:46:18'),(14278,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2120\nAND `ID` =  2120','loanReceive/save_new_loan','0.0005948543548584','2016-08-17 15:46:18'),(14279,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.0014491081237793','2016-08-17 15:46:18'),(14280,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.034035921096802','2016-08-17 15:46:18'),(14281,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AP20160800000048\' WHERE `ID` =  2120','loanReceive/save_new_loan','0.024445056915283','2016-08-17 15:46:18'),(14282,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2120','loanReceive/save_new_loan','0.00055885314941406','2016-08-17 15:46:18'),(14283,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000048\', \' [OR[00000022]]]\', \'Loan Received [  [OR[00000022]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.037781000137329','2016-08-17 15:46:18'),(14284,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000048\', 1, \'test1\', \'33139\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'0\', \'LR[00000042]\', \'User\')','loanReceive/save_new_loan','0.015918970108032','2016-08-17 15:46:18'),(14285,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000048\', 2, \'test1\', \'33133\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'0\', \'LR[00000042]\', \'User\')','loanReceive/save_new_loan','0.016515016555786','2016-08-17 15:46:19'),(14286,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000048\'','loanReceive/save_new_loan','0.024420022964478','2016-08-17 15:46:19'),(14287,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2120','loanReceive/save_new_loan','0.033473014831543','2016-08-17 15:46:19'),(14288,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11054','loanReceive/save_new_loan','0.12846398353577','2016-08-17 15:46:19'),(14289,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000048\'','loanReceive/save_new_loan','0.035985946655273','2016-08-17 15:46:19'),(14290,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000048\'','loanReceive/save_new_loan','0.00060796737670898','2016-08-17 15:46:19'),(14291,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33139\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.010739088058472','2016-08-17 15:46:19'),(14292,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.02229905128479','2016-08-17 15:46:19'),(14293,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.0004889965057373','2016-08-17 15:46:19'),(14294,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015700817108154','2016-08-17 15:46:19'),(14295,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0016961097717285','2016-08-17 15:46:23'),(14296,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010008811950684','2016-08-17 15:46:23'),(14297,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016698837280273','2016-08-17 15:46:23'),(14298,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040507316589355','2016-08-17 15:46:23'),(14299,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050902366638184','2016-08-17 15:46:23'),(14300,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.080070972442627','2016-08-17 15:46:25'),(14301,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011132001876831','2016-08-17 15:46:25'),(14302,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00089311599731445','2016-08-17 15:46:25'),(14303,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047707557678223','2016-08-17 15:46:25'),(14304,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045394897460938','2016-08-17 15:46:25'),(14305,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 15:46:25'),(14306,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044679641723633','2016-08-17 15:46:25'),(14307,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 15:46:25'),(14308,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 15:46:25'),(14309,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 15:46:25'),(14310,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 15:46:25'),(14311,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044989585876465','2016-08-17 15:46:25'),(14312,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044798851013184','2016-08-17 15:46:25'),(14313,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.16637516021729','2016-08-17 15:46:25'),(14314,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084304809570312','2016-08-17 15:46:25'),(14315,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00041103363037109','2016-08-17 15:46:25'),(14316,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00054097175598145','2016-08-17 15:46:25'),(14317,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0006558895111084','2016-08-17 15:46:43'),(14318,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056886672973633','2016-08-17 15:46:43'),(14319,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055289268493652','2016-08-17 15:46:43'),(14320,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054788589477539','2016-08-17 15:46:43'),(14321,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.04408597946167','2016-08-17 15:46:43'),(14322,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043690204620361','2016-08-17 15:46:43'),(14323,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043590068817139','2016-08-17 15:46:43'),(14324,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.04269003868103','2016-08-17 15:46:43'),(14325,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.3801109790802','2016-08-17 15:46:43'),(14326,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0069758892059326','2016-08-17 15:46:43'),(14327,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.001270055770874','2016-08-17 15:46:43'),(14328,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.074875831604004','2016-08-17 15:46:47'),(14329,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-17 15:46:47'),(14330,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:46:47'),(14331,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:46:47'),(14332,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:46:47'),(14333,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:46:47'),(14334,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 15:46:47'),(14335,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-17 15:46:47'),(14336,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:46:47'),(14337,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:46:47'),(14338,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-17 15:46:47'),(14339,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:46:47'),(14340,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065898895263672','2016-08-17 15:46:48'),(14341,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:46:48'),(14342,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:46:48'),(14343,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:46:48'),(14344,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:46:48'),(14345,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:46:48'),(14346,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 15:46:49'),(14347,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-17 15:46:49'),(14348,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:46:49'),(14349,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:46:49'),(14350,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:46:49'),(14351,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:46:49'),(14352,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061392784118652','2016-08-17 15:46:52'),(14353,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060915946960449','2016-08-17 15:46:53'),(14354,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058698654174805','2016-08-17 15:46:53'),(14355,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:46:53'),(14356,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-17 15:46:53'),(14357,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-17 15:46:53'),(14358,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:46:53'),(14359,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055718421936035','2016-08-17 15:46:53'),(14360,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:46:53'),(14361,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:46:53'),(14362,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:46:53'),(14363,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-17 15:46:53'),(14364,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:46:53'),(14365,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-17 15:46:53'),(14366,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.086260080337524','2016-08-17 15:46:57'),(14367,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 15:46:57'),(14368,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-17 15:46:57'),(14369,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 15:46:57'),(14370,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.014822959899902','2016-08-17 15:46:57'),(14371,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013492107391357','2016-08-17 15:46:57'),(14372,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-17 15:46:57'),(14373,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 15:46:57'),(14374,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013551712036133','2016-08-17 15:46:57'),(14375,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 15:46:57'),(14376,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 15:46:57'),(14377,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 15:46:57'),(14378,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001554012298584','2016-08-17 15:46:58'),(14379,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 15:46:58'),(14380,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-17 15:46:58'),(14381,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 15:46:58'),(14382,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 15:46:58'),(14383,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-17 15:46:58'),(14384,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 15:46:58'),(14385,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 15:46:58'),(14386,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013961791992188','2016-08-17 15:46:59'),(14387,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 15:46:59'),(14388,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-17 15:46:59'),(14389,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013308525085449','2016-08-17 15:46:59'),(14390,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042369365692139','2016-08-17 15:47:01'),(14391,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039420127868652','2016-08-17 15:47:01'),(14392,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-17 15:47:01'),(14393,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039591789245605','2016-08-17 15:47:01'),(14394,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-17 15:47:01'),(14395,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039489269256592','2016-08-17 15:47:01'),(14396,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039701461791992','2016-08-17 15:47:01'),(14397,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040040016174316','2016-08-17 15:47:01'),(14398,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039689540863037','2016-08-17 15:47:01'),(14399,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039441585540771','2016-08-17 15:47:01'),(14400,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003978967666626','2016-08-17 15:47:01'),(14401,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003950834274292','2016-08-17 15:47:01'),(14402,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004382848739624','2016-08-17 15:47:02'),(14403,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039350986480713','2016-08-17 15:47:02'),(14404,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039710998535156','2016-08-17 15:47:02'),(14405,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039680004119873','2016-08-17 15:47:02'),(14406,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039510726928711','2016-08-17 15:47:02'),(14407,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039429664611816','2016-08-17 15:47:02'),(14408,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039560794830322','2016-08-17 15:47:02'),(14409,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039951801300049','2016-08-17 15:47:02'),(14410,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039429664611816','2016-08-17 15:47:02'),(14411,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039560794830322','2016-08-17 15:47:02'),(14412,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00394606590271','2016-08-17 15:47:02'),(14413,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039911270141602','2016-08-17 15:47:02'),(14414,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015718936920166','2016-08-17 15:47:06'),(14415,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0039501190185547','2016-08-17 15:47:06'),(14416,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006561279296875','2016-08-17 15:47:10'),(14417,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:47:10'),(14418,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:47:10'),(14419,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:47:10'),(14420,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:47:10'),(14421,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058603286743164','2016-08-17 15:47:10'),(14422,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:47:10'),(14423,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058293342590332','2016-08-17 15:47:10'),(14424,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058293342590332','2016-08-17 15:47:10'),(14425,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-17 15:47:10'),(14426,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:47:10'),(14427,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.28227591514587','2016-08-17 15:47:10'),(14428,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:47:10'),(14429,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004425048828125','2016-08-17 15:47:10'),(14430,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.063275098800659','2016-08-17 15:47:10'),(14431,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042450428009033','2016-08-17 15:47:10'),(14432,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016481876373291','2016-08-17 15:47:10'),(14433,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042359828948975','2016-08-17 15:47:10'),(14434,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043082237243652','2016-08-17 15:47:10'),(14435,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042271614074707','2016-08-17 15:47:10'),(14436,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0005190372467041','2016-08-17 15:47:10'),(14437,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042140483856201','2016-08-17 15:47:10'),(14438,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042228698730469','2016-08-17 15:47:11'),(14439,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042340755462646','2016-08-17 15:47:11'),(14440,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042409896850586','2016-08-17 15:47:11'),(14441,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042450428009033','2016-08-17 15:47:11'),(14442,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042378902435303','2016-08-17 15:47:11'),(14443,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042660236358643','2016-08-17 15:47:11'),(14444,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042998790740967','2016-08-17 15:47:11'),(14445,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `otherPaymentType`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-17\', 1, \'33140\', \'100\', \'LR\', \'163\', \'24\', 3)','loanReceive/save_new_loan','0.15900492668152','2016-08-17 15:47:34'),(14446,24,31,'192.168.1.204','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2121, \'33134\', \'100\', \'test2\')','loanReceive/save_new_loan','0.016186952590942','2016-08-17 15:47:34'),(14447,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2121','loanReceive/save_new_loan','0.04682993888855','2016-08-17 15:47:34'),(14448,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2121\nAND `ID` =  2121','loanReceive/save_new_loan','0.00059390068054199','2016-08-17 15:47:34'),(14449,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.0014119148254395','2016-08-17 15:47:34'),(14450,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'334\'','loanReceive/save_new_loan','0.026733875274658','2016-08-17 15:47:34'),(14451,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AP20160800000049\' WHERE `ID` =  2121','loanReceive/save_new_loan','0.016146898269653','2016-08-17 15:47:34'),(14452,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2121','loanReceive/save_new_loan','0.00055694580078125','2016-08-17 15:47:34'),(14453,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AP20160800000049\', \' [OR[00000023]]]\', \'Loan Received [  [OR[00000023]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.011584997177124','2016-08-17 15:47:34'),(14454,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000049\', 1, \'test2\', \'33140\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'0\', \'LR[00000043]\', \'User\')','loanReceive/save_new_loan','0.017093896865845','2016-08-17 15:47:34'),(14455,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'24\', \'AP20160800000049\', 2, \'test2\', \'33134\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'0\', \'LR[00000043]\', \'User\')','loanReceive/save_new_loan','0.016501903533936','2016-08-17 15:47:34'),(14456,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000049\'','loanReceive/save_new_loan','0.024430990219116','2016-08-17 15:47:34'),(14457,24,31,'192.168.1.204','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2121','loanReceive/save_new_loan','0.01678204536438','2016-08-17 15:47:34'),(14458,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11055','loanReceive/save_new_loan','0.01618480682373','2016-08-17 15:47:34'),(14459,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AP20160800000049\'','loanReceive/save_new_loan','0.025022983551025','2016-08-17 15:47:34'),(14460,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000049\'','loanReceive/save_new_loan','0.00060606002807617','2016-08-17 15:47:34'),(14461,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33140\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.042404174804688','2016-08-17 15:47:34'),(14462,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33140\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.030750036239624','2016-08-17 15:47:34'),(14463,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33134\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.0005030632019043','2016-08-17 15:47:34'),(14464,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.023811101913452','2016-08-17 15:47:34'),(14465,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.088828086853027','2016-08-17 15:47:40'),(14466,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011059999465942','2016-08-17 15:47:40'),(14467,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00088977813720703','2016-08-17 15:47:40'),(14468,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047612190246582','2016-08-17 15:47:40'),(14469,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-17 15:47:40'),(14470,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 15:47:40'),(14471,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044584274291992','2016-08-17 15:47:40'),(14472,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 15:47:40'),(14473,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-17 15:47:40'),(14474,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00046491622924805','2016-08-17 15:47:40'),(14475,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-17 15:47:40'),(14476,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 15:47:40'),(14477,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-17 15:47:40'),(14478,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.20014882087708','2016-08-17 15:47:40'),(14479,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00081181526184082','2016-08-17 15:47:40'),(14480,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.019549131393433','2016-08-17 15:47:40'),(14481,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.0011320114135742','2016-08-17 15:47:40'),(14482,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `otherPaymentType`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-17\', 1, \'33077\', \'1000\', \'LR\', \'157\', \'25\', 3)','loanReceive/save_new_loan','0.13142395019531','2016-08-17 15:47:56'),(14483,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2122, \'33072\', \'1000\', \'pinjam dengan ceti\')','loanReceive/save_new_loan','0.016787052154541','2016-08-17 15:47:56'),(14484,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2122','loanReceive/save_new_loan','0.036648988723755','2016-08-17 15:47:56'),(14485,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2122\nAND `ID` =  2122','loanReceive/save_new_loan','0.00058603286743164','2016-08-17 15:47:56'),(14486,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'25\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.0078439712524414','2016-08-17 15:47:57'),(14487,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  \'336\'','loanReceive/save_new_loan','0.029865026473999','2016-08-17 15:47:57'),(14488,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AP20160800000030\' WHERE `ID` =  2122','loanReceive/save_new_loan','0.016752004623413','2016-08-17 15:47:57'),(14489,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2122','loanReceive/save_new_loan','0.00055098533630371','2016-08-17 15:47:57'),(14490,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000030\', \' [OR[00000024]]]\', \'Pinjaman [  [OR[00000024]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.028841972351074','2016-08-17 15:47:57'),(14491,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000030\', 1, \'pinjam dengan ceti\', \'33077\', 1000, \'1\', \'1\', \'1000\', \'08\', \'2016\', \'0\', \'LR[00000028]\', \'User\')','loanReceive/save_new_loan','0.016499996185303','2016-08-17 15:47:57'),(14492,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000030\', 2, \'pinjam dengan ceti\', \'33072\', 1000, \'1\', \'1\', \'1000\', \'08\', \'2016\', \'0\', \'LR[00000028]\', \'User\')','loanReceive/save_new_loan','0.015931844711304','2016-08-17 15:47:57'),(14493,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000030\'','loanReceive/save_new_loan','0.016664981842041','2016-08-17 15:47:57'),(14494,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2122','loanReceive/save_new_loan','0.024543046951294','2016-08-17 15:47:57'),(14495,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11056','loanReceive/save_new_loan','0.025038003921509','2016-08-17 15:47:57'),(14496,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000030\'','loanReceive/save_new_loan','0.16590809822083','2016-08-17 15:47:57'),(14497,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000030\'','loanReceive/save_new_loan','0.0006098747253418','2016-08-17 15:47:57'),(14498,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33077\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00142502784729','2016-08-17 15:47:57'),(14499,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `ID` =  \'33077\'','loanReceive/save_new_loan','0.00040698051452637','2016-08-17 15:47:57'),(14500,25,32,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', \'4\', \'33077\', \'2016\', \'8\', \'0\', \'1000\', -1000, \'User\', \'2016-08-17: 09:08:56\')','loanReceive/save_new_loan','0.021604061126709','2016-08-17 15:47:57'),(14501,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33072\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00048995018005371','2016-08-17 15:47:57'),(14502,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33072\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.023437976837158','2016-08-17 15:47:57'),(14503,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00068807601928711','2016-08-17 15:48:04'),(14504,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055503845214844','2016-08-17 15:48:04'),(14505,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055503845214844','2016-08-17 15:48:04'),(14506,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005488395690918','2016-08-17 15:48:04'),(14507,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.044787168502808','2016-08-17 15:48:04'),(14508,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04408597946167','2016-08-17 15:48:04'),(14509,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043948173522949','2016-08-17 15:48:04'),(14510,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044245958328247','2016-08-17 15:48:04'),(14511,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.36179208755493','2016-08-17 15:48:04'),(14512,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.01845383644104','2016-08-17 15:48:04'),(14513,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0013279914855957','2016-08-17 15:48:04'),(14514,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.041962146759033','2016-08-17 15:48:11'),(14515,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.010783910751343','2016-08-17 15:48:11'),(14516,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.024480104446411','2016-08-17 15:48:11'),(14517,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041294097900391','2016-08-17 15:48:11'),(14518,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050997734069824','2016-08-17 15:48:11'),(14519,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.078913927078247','2016-08-17 15:48:11'),(14520,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055503845214844','2016-08-17 15:48:11'),(14521,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055789947509766','2016-08-17 15:48:11'),(14522,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005500316619873','2016-08-17 15:48:11'),(14523,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.088697910308838','2016-08-17 15:48:11'),(14524,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.044003009796143','2016-08-17 15:48:11'),(14525,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043850183486938','2016-08-17 15:48:11'),(14526,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044088125228882','2016-08-17 15:48:11'),(14527,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.078025817871094','2016-08-17 15:48:11'),(14528,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00043821334838867','2016-08-17 15:48:11'),(14529,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0004730224609375','2016-08-17 15:48:11'),(14530,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0076441764831543','2016-08-17 15:48:14'),(14531,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:48:14'),(14532,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 15:48:14'),(14533,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055718421936035','2016-08-17 15:48:14'),(14534,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055623054504395','2016-08-17 15:48:14'),(14535,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-17 15:48:14'),(14536,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-17 15:48:14'),(14537,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-17 15:48:14'),(14538,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:48:14'),(14539,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00060582160949707','2016-08-17 15:48:14'),(14540,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 15:48:14'),(14541,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:48:14'),(14542,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00065994262695312','2016-08-17 15:48:16'),(14543,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:48:16'),(14544,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:48:16'),(14545,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:48:16'),(14546,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:48:16'),(14547,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-17 15:48:16'),(14548,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054383277893066','2016-08-17 15:48:16'),(14549,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-17 15:48:16'),(14550,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:48:16'),(14551,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:48:16'),(14552,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 15:48:16'),(14553,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:48:16'),(14554,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'24\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.020654916763306','2016-08-17 15:48:17'),(14555,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011098861694336','2016-08-17 15:48:17'),(14556,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.000885009765625','2016-08-17 15:48:17'),(14557,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047707557678223','2016-08-17 15:48:17'),(14558,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045323371887207','2016-08-17 15:48:17'),(14559,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045108795166016','2016-08-17 15:48:17'),(14560,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044679641723633','2016-08-17 15:48:18'),(14561,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 15:48:18'),(14562,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-17 15:48:18'),(14563,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 15:48:18'),(14564,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 15:48:18'),(14565,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045204162597656','2016-08-17 15:48:18'),(14566,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044822692871094','2016-08-17 15:48:18'),(14567,24,31,'192.168.1.204','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.16687679290771','2016-08-17 15:48:18'),(14568,24,31,'192.168.1.204','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'24\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00088596343994141','2016-08-17 15:48:18'),(14569,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.0012190341949463','2016-08-17 15:48:18'),(14570,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.0011959075927734','2016-08-17 15:48:18'),(14571,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064802169799805','2016-08-17 15:48:19'),(14572,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005640983581543','2016-08-17 15:48:19'),(14573,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055909156799316','2016-08-17 15:48:19'),(14574,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055289268493652','2016-08-17 15:48:19'),(14575,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.044157981872559','2016-08-17 15:48:19'),(14576,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04372501373291','2016-08-17 15:48:19'),(14577,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043776035308838','2016-08-17 15:48:19'),(14578,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.04390811920166','2016-08-17 15:48:19'),(14579,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.19573998451233','2016-08-17 15:48:19'),(14580,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047588348388672','2016-08-17 15:48:19'),(14581,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00047922134399414','2016-08-17 15:48:19'),(14582,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0022108554840088','2016-08-17 15:48:22'),(14583,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:48:22'),(14584,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:48:22'),(14585,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:48:22'),(14586,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:48:22'),(14587,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 15:48:22'),(14588,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:48:22'),(14589,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 15:48:22'),(14590,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:48:22'),(14591,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:48:22'),(14592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:48:22'),(14593,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:48:22'),(14594,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065112113952637','2016-08-17 15:48:23'),(14595,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:48:23'),(14596,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:48:23'),(14597,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:48:23'),(14598,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:48:23'),(14599,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:48:23'),(14600,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-17 15:48:23'),(14601,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058817863464355','2016-08-17 15:48:23'),(14602,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 15:48:23'),(14603,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:48:23'),(14604,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:48:23'),(14605,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:48:23'),(14606,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061392784118652','2016-08-17 15:48:27'),(14607,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00061416625976562','2016-08-17 15:48:28'),(14608,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:48:28'),(14609,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 15:48:28'),(14610,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:48:28'),(14611,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-17 15:48:28'),(14612,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:48:28'),(14613,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056219100952148','2016-08-17 15:48:28'),(14614,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:48:28'),(14615,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.01811695098877','2016-08-17 15:48:28'),(14616,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:48:28'),(14617,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.018388032913208','2016-08-17 15:48:28'),(14618,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:48:28'),(14619,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.029758930206299','2016-08-17 15:48:28'),(14620,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:48:28'),(14621,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043916702270508','2016-08-17 15:48:28'),(14622,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:48:28'),(14623,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00052094459533691','2016-08-17 15:48:28'),(14624,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:48:28'),(14625,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.04009222984314','2016-08-17 15:48:28'),(14626,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012390613555908','2016-08-17 15:48:28'),(14627,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012190341949463','2016-08-17 15:48:28'),(14628,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012168884277344','2016-08-17 15:48:28'),(14629,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.02106499671936','2016-08-17 15:48:28'),(14630,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043797492980957','2016-08-17 15:48:29'),(14631,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048208236694336','2016-08-17 15:48:29'),(14632,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0057468414306641','2016-08-17 15:48:39'),(14633,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010149478912354','2016-08-17 15:48:39'),(14634,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016720294952393','2016-08-17 15:48:39'),(14635,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040292739868164','2016-08-17 15:48:39'),(14636,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051116943359375','2016-08-17 15:48:39'),(14637,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','loanReceive/print_loanReceives','0.27057695388794','2016-08-17 15:48:56'),(14638,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/print_loanReceives','0.001594066619873','2016-08-17 15:48:56'),(14639,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','loanReceive/print_loanReceives','0.00058388710021973','2016-08-17 15:48:56'),(14640,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00059199333190918','2016-08-17 15:49:08'),(14641,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056099891662598','2016-08-17 15:49:08'),(14642,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055480003356934','2016-08-17 15:49:08'),(14643,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055503845214844','2016-08-17 15:49:08'),(14644,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.078352928161621','2016-08-17 15:49:08'),(14645,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04390287399292','2016-08-17 15:49:08'),(14646,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04345703125','2016-08-17 15:49:08'),(14647,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038896083831787','2016-08-17 15:49:08'),(14648,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.20366811752319','2016-08-17 15:49:08'),(14649,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049495697021484','2016-08-17 15:49:08'),(14650,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051498413085938','2016-08-17 15:49:08'),(14651,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0021500587463379','2016-08-17 15:49:11'),(14652,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057411193847656','2016-08-17 15:49:11'),(14653,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:49:11'),(14654,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:49:11'),(14655,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:49:11'),(14656,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:49:11'),(14657,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:49:11'),(14658,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057220458984375','2016-08-17 15:49:11'),(14659,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055480003356934','2016-08-17 15:49:11'),(14660,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:49:12'),(14661,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 15:49:12'),(14662,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:49:12'),(14663,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066590309143066','2016-08-17 15:49:13'),(14664,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055122375488281','2016-08-17 15:49:13'),(14665,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:49:13'),(14666,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 15:49:13'),(14667,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:49:13'),(14668,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-17 15:49:13'),(14669,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-17 15:49:13'),(14670,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 15:49:13'),(14671,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:49:13'),(14672,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:49:13'),(14673,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:49:13'),(14674,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:49:13'),(14675,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061917304992676','2016-08-17 15:49:16'),(14676,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.017530918121338','2016-08-17 15:49:17'),(14677,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012459754943848','2016-08-17 15:49:17'),(14678,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012190341949463','2016-08-17 15:49:17'),(14679,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001223087310791','2016-08-17 15:49:17'),(14680,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0058128833770752','2016-08-17 15:49:17'),(14681,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00045204162597656','2016-08-17 15:49:17'),(14682,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049090385437012','2016-08-17 15:49:17'),(14683,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.094415903091431','2016-08-17 15:49:23'),(14684,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010151863098145','2016-08-17 15:49:23'),(14685,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00042009353637695','2016-08-17 15:49:23'),(14686,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.0005180835723877','2016-08-17 15:49:23'),(14687,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`master_code`)\nWHERE `name` =  \'Cash\'','expenses/saveExpense','0.019580841064453','2016-08-17 15:50:30'),(14688,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'from pety cash bayar ceti haram\', \'25\', \'32\', 1, 1, \'68\', \'400\', \'OP-L\', \'2016-08-17\', \'158\', \'1\')','expenses/saveExpense','0.045877933502197','2016-08-17 15:50:30'),(14689,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2123, \'32\', \'bayar ceti haram dengan pety cash 400\', 1, \'33077\', \'400\', \'400\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.04112696647644','2016-08-17 15:50:30'),(14690,25,32,'192.168.1.220','others','SELECT comp_payment_others.*, comp_payment_others.formNo as frmNo, CONCAT(comp_payment_others.formNo,\"[\",lpad(comp_payment_others.serialNo,8,0),\"]\") as formNo, comp_payment_others.ID as pID, comp_project.project_name, tbl_location.code,\r\n	  		 tbl_location.address, master_code.name AS methodPay, comp_bank.branch, comp_bank.bankShortName, comp_bank.bankAccountNo, comp_bank.currentBalance\r\n		   FROM (((comp_payment_others left outer join comp_project on comp_payment_others.projectID = comp_project.ID)\r\n				LEFT OUTER JOIN tbl_location ON tbl_location.fldid=comp_payment_others.locationID )\r\n				LEFT OUTER JOIN master_code ON master_code.ID =comp_payment_others.paymentMethodID)\r\n				LEFT OUTER JOIN comp_bank ON comp_payment_others.bankId = comp_bank.ID\r\n			WHERE comp_payment_others.updateAble = 1 AND comp_payment_others.ID =  2123','expenses/saveExpense','0.017940998077393','2016-08-17 15:50:30'),(14691,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2123','expenses/saveExpense','0.047259092330933','2016-08-17 15:50:30'),(14692,25,32,'192.168.1.220','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2123\nAND `ID` =  2123','expenses/saveExpense','0.00055694580078125','2016-08-17 15:50:30'),(14693,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'25\'\nAND `moduleID` =  \'3\'\nAND `initial` =  \'AP\'\nAND `year` =  \'16\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','expenses/saveExpense','0.012830018997192','2016-08-17 15:50:30'),(14694,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  \'336\'','expenses/saveExpense','0.031752824783325','2016-08-17 15:50:30'),(14695,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000031\' WHERE `ID` =  2123','expenses/saveExpense','0.016141891479492','2016-08-17 15:50:30'),(14696,25,32,'192.168.1.220','others','SELECT `comp_payment_others`.*, concat(comp_payment_others.formNo, \"[\", lpad(comp_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others`)\nWHERE `ID` =  2123','expenses/saveExpense','0.00053906440734863','2016-08-17 15:50:30'),(14697,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AP20160800000031\', \'Pembayaran Balik Pinjaman [OP-L[00000029]]\', \'Pembayaran Balik Pinjaman [OP-L[00000029]]\', \'\', \'3\', \'2016-08-17\', \'16\', \'08\', 400, 400, \'32\')','expenses/saveExpense','0.012185096740723','2016-08-17 15:50:30'),(14698,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000031\', 1, \'bayar ceti haram dengan pety cash 400\', \'33073\', 400, 1, \'1\', \'400\', \'08\', \'16\', \'1\', \'OP-L[00000029]\', \'User\')','expenses/saveExpense','0.033195972442627','2016-08-17 15:50:30'),(14699,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'25\', \'AP20160800000031\', 2, \'bayar ceti haram dengan pety cash 400\', \'33077\', 400, 1, \'1\', \'400\', \'08\', \'16\', \'1\', \'OP-L[00000029]\', \'User\')','expenses/saveExpense','0.016499042510986','2016-08-17 15:50:30'),(14700,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 400, `total_amount_cr` = 400, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000031\'','expenses/saveExpense','0.016134023666382','2016-08-17 15:50:30'),(14701,25,32,'192.168.1.220','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2123','expenses/saveExpense','0.016769886016846','2016-08-17 15:50:30'),(14702,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11057','expenses/saveExpense','0.016172885894775','2016-08-17 15:50:30'),(14703,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AP20160800000031\'','expenses/saveExpense','0.016686916351318','2016-08-17 15:50:30'),(14704,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000031\'','expenses/saveExpense','0.00059986114501953','2016-08-17 15:50:30'),(14705,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33073\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.0089550018310547','2016-08-17 15:50:30'),(14706,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33073\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022361040115356','2016-08-17 15:50:30'),(14707,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33077\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','expenses/saveExpense','0.00046801567077637','2016-08-17 15:50:30'),(14708,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33077\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015739917755127','2016-08-17 15:50:30'),(14709,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'11057\'','report/journalDetails','0.0018138885498047','2016-08-17 15:50:38'),(14710,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000031\'\nORDER BY `sequence`','report/journalDetails','0.00085282325744629','2016-08-17 15:50:38'),(14711,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.0004119873046875','2016-08-17 15:50:38'),(14712,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049901008605957','2016-08-17 15:50:38'),(14713,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066280364990234','2016-08-17 15:50:46'),(14714,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056600570678711','2016-08-17 15:50:46'),(14715,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055909156799316','2016-08-17 15:50:46'),(14716,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005500316619873','2016-08-17 15:50:46'),(14717,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13885712623596','2016-08-17 15:50:46'),(14718,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043839931488037','2016-08-17 15:50:46'),(14719,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04389500617981','2016-08-17 15:50:46'),(14720,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.04408597946167','2016-08-17 15:50:46'),(14721,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.20429301261902','2016-08-17 15:50:46'),(14722,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047802925109863','2016-08-17 15:50:46'),(14723,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005180835723877','2016-08-17 15:50:46'),(14724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.019891977310181','2016-08-17 15:50:50'),(14725,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:50:50'),(14726,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:50:50'),(14727,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055718421936035','2016-08-17 15:50:50'),(14728,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:50:50'),(14729,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 15:50:50'),(14730,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:50:50');
INSERT INTO `_log_query` VALUES (14731,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 15:50:50'),(14732,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:50:50'),(14733,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:50:50'),(14734,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:50:50'),(14735,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:50:50'),(14736,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065803527832031','2016-08-17 15:50:51'),(14737,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054717063903809','2016-08-17 15:50:51'),(14738,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:50:51'),(14739,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:50:51'),(14740,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:50:51'),(14741,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 15:50:51'),(14742,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-17 15:50:51'),(14743,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:50:51'),(14744,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:50:51'),(14745,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:50:51'),(14746,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:50:51'),(14747,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:50:51'),(14748,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061297416687012','2016-08-17 15:50:54'),(14749,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060582160949707','2016-08-17 15:50:56'),(14750,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:50:56'),(14751,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:50:56'),(14752,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:50:56'),(14753,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:50:56'),(14754,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:50:56'),(14755,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:50:56'),(14756,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:50:56'),(14757,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:50:56'),(14758,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:50:56'),(14759,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:50:56'),(14760,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 15:50:56'),(14761,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-17 15:50:56'),(14762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.13328194618225','2016-08-17 15:51:00'),(14763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013878345489502','2016-08-17 15:51:00'),(14764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 15:51:00'),(14765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 15:51:00'),(14766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 15:51:00'),(14767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013837814331055','2016-08-17 15:51:00'),(14768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013360977172852','2016-08-17 15:51:00'),(14769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 15:51:00'),(14770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 15:51:00'),(14771,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013501644134521','2016-08-17 15:51:00'),(14772,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 15:51:00'),(14773,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-17 15:51:00'),(14774,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015261173248291','2016-08-17 15:51:01'),(14775,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-17 15:51:02'),(14776,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 15:51:02'),(14777,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013418197631836','2016-08-17 15:51:02'),(14778,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 15:51:02'),(14779,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013291835784912','2016-08-17 15:51:02'),(14780,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 15:51:02'),(14781,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013308525085449','2016-08-17 15:51:02'),(14782,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 15:51:02'),(14783,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 15:51:02'),(14784,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-17 15:51:02'),(14785,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013308525085449','2016-08-17 15:51:02'),(14786,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041861534118652','2016-08-17 15:51:04'),(14787,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040180683135986','2016-08-17 15:51:04'),(14788,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039768218994141','2016-08-17 15:51:04'),(14789,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039908885955811','2016-08-17 15:51:04'),(14790,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039658546447754','2016-08-17 15:51:04'),(14791,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003964900970459','2016-08-17 15:51:04'),(14792,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040171146392822','2016-08-17 15:51:04'),(14793,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003972053527832','2016-08-17 15:51:04'),(14794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040431022644043','2016-08-17 15:51:04'),(14795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039730072021484','2016-08-17 15:51:04'),(14796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040180683135986','2016-08-17 15:51:04'),(14797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039598941802979','2016-08-17 15:51:04'),(14798,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041720867156982','2016-08-17 15:51:05'),(14799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040309429168701','2016-08-17 15:51:05'),(14800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039680004119873','2016-08-17 15:51:05'),(14801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040600299835205','2016-08-17 15:51:05'),(14802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039689540863037','2016-08-17 15:51:05'),(14803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039670467376709','2016-08-17 15:51:05'),(14804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039680004119873','2016-08-17 15:51:05'),(14805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-17 15:51:05'),(14806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039889812469482','2016-08-17 15:51:05'),(14807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039670467376709','2016-08-17 15:51:05'),(14808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039739608764648','2016-08-17 15:51:05'),(14809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043990612030029','2016-08-17 15:51:05'),(14810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0014541149139404','2016-08-17 15:51:08'),(14811,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0039839744567871','2016-08-17 15:51:08'),(14812,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.020373821258545','2016-08-17 15:51:09'),(14813,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012471675872803','2016-08-17 15:51:09'),(14814,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012390613555908','2016-08-17 15:51:09'),(14815,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012190341949463','2016-08-17 15:51:09'),(14816,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.036951065063477','2016-08-17 15:51:09'),(14817,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0080640316009521','2016-08-17 15:51:09'),(14818,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0011889934539795','2016-08-17 15:51:09'),(14819,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.083707094192505','2016-08-17 15:51:21'),(14820,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0019159317016602','2016-08-17 15:51:21'),(14821,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016720294952393','2016-08-17 15:51:21'),(14822,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00037693977355957','2016-08-17 15:51:21'),(14823,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00046300888061523','2016-08-17 15:51:21'),(14824,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.015789985656738','2016-08-17 15:51:21'),(14825,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010139942169189','2016-08-17 15:51:21'),(14826,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016400814056396','2016-08-17 15:51:21'),(14827,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00042104721069336','2016-08-17 15:51:21'),(14828,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050878524780273','2016-08-17 15:51:21'),(14829,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.001755952835083','2016-08-17 15:52:43'),(14830,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010390281677246','2016-08-17 15:52:43'),(14831,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0017421245574951','2016-08-17 15:52:43'),(14832,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040888786315918','2016-08-17 15:52:43'),(14833,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051307678222656','2016-08-17 15:52:43'),(14834,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066399574279785','2016-08-17 15:53:00'),(14835,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057196617126465','2016-08-17 15:53:00'),(14836,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056314468383789','2016-08-17 15:53:00'),(14837,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055408477783203','2016-08-17 15:53:00'),(14838,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.082688808441162','2016-08-17 15:53:00'),(14839,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043971061706543','2016-08-17 15:53:00'),(14840,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043853044509888','2016-08-17 15:53:00'),(14841,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044003009796143','2016-08-17 15:53:00'),(14842,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.23978900909424','2016-08-17 15:53:00'),(14843,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00048279762268066','2016-08-17 15:53:00'),(14844,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052404403686523','2016-08-17 15:53:00'),(14845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0099351406097412','2016-08-17 15:53:04'),(14846,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:53:04'),(14847,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:53:04'),(14848,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:53:04'),(14849,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:53:04'),(14850,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:53:04'),(14851,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 15:53:04'),(14852,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 15:53:04'),(14853,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:53:04'),(14854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:53:04'),(14855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-17 15:53:04'),(14856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:53:04'),(14857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006558895111084','2016-08-17 15:53:05'),(14858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:53:05'),(14859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:53:05'),(14860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:53:05'),(14861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:53:05'),(14862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:53:05'),(14863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:53:05'),(14864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-17 15:53:05'),(14865,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:53:05'),(14866,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:53:05'),(14867,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:53:05'),(14868,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:53:05'),(14869,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00066399574279785','2016-08-17 15:53:08'),(14870,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060510635375977','2016-08-17 15:53:09'),(14871,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:53:09'),(14872,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:53:09'),(14873,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-17 15:53:09'),(14874,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:53:09'),(14875,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056219100952148','2016-08-17 15:53:09'),(14876,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:53:09'),(14877,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:53:09'),(14878,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:53:09'),(14879,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:53:09'),(14880,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:53:09'),(14881,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:53:09'),(14882,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-17 15:53:09'),(14883,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.089417934417725','2016-08-17 15:53:15'),(14884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-17 15:53:15'),(14885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 15:53:15'),(14886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014169216156006','2016-08-17 15:53:15'),(14887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013518333435059','2016-08-17 15:53:15'),(14888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-17 15:53:15'),(14889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 15:53:15'),(14890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013368129730225','2016-08-17 15:53:15'),(14891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-17 15:53:15'),(14892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 15:53:15'),(14893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 15:53:15'),(14894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014128684997559','2016-08-17 15:53:15'),(14895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015649795532227','2016-08-17 15:53:17'),(14896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 15:53:17'),(14897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 15:53:17'),(14898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 15:53:17'),(14899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 15:53:17'),(14900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 15:53:17'),(14901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 15:53:17'),(14902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 15:53:17'),(14903,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 15:53:17'),(14904,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 15:53:17'),(14905,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013368129730225','2016-08-17 15:53:17'),(14906,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 15:53:17'),(14907,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0045149326324463','2016-08-17 15:53:20'),(14908,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-17 15:53:20'),(14909,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041241645812988','2016-08-17 15:53:20'),(14910,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043179988861084','2016-08-17 15:53:20'),(14911,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041089057922363','2016-08-17 15:53:20'),(14912,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040419101715088','2016-08-17 15:53:20'),(14913,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043210983276367','2016-08-17 15:53:20'),(14914,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042059421539307','2016-08-17 15:53:20'),(14915,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040559768676758','2016-08-17 15:53:20'),(14916,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-17 15:53:20'),(14917,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041608810424805','2016-08-17 15:53:20'),(14918,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039889812469482','2016-08-17 15:53:20'),(14919,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043179988861084','2016-08-17 15:53:22'),(14920,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040900707244873','2016-08-17 15:53:22'),(14921,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040631294250488','2016-08-17 15:53:22'),(14922,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004072904586792','2016-08-17 15:53:22'),(14923,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-17 15:53:22'),(14924,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 15:53:22'),(14925,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004080057144165','2016-08-17 15:53:22'),(14926,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041038990020752','2016-08-17 15:53:22'),(14927,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-17 15:53:22'),(14928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041759014129639','2016-08-17 15:53:22'),(14929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041201114654541','2016-08-17 15:53:22'),(14930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-17 15:53:22'),(14931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015580654144287','2016-08-17 15:53:27'),(14932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0039989948272705','2016-08-17 15:53:27'),(14933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066018104553223','2016-08-17 15:53:34'),(14934,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 15:53:34'),(14935,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:53:34'),(14936,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:53:34'),(14937,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:53:34'),(14938,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 15:53:34'),(14939,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054717063903809','2016-08-17 15:53:34'),(14940,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 15:53:34'),(14941,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:53:34'),(14942,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:53:34'),(14943,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:53:34'),(14944,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 15:53:34'),(14945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044209957122803','2016-08-17 15:53:34'),(14946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042500495910645','2016-08-17 15:53:34'),(14947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004335880279541','2016-08-17 15:53:34'),(14948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004256010055542','2016-08-17 15:53:34'),(14949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042319297790527','2016-08-17 15:53:34'),(14950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042431354522705','2016-08-17 15:53:34'),(14951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042529106140137','2016-08-17 15:53:35'),(14952,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042881965637207','2016-08-17 15:53:35'),(14953,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042548179626465','2016-08-17 15:53:35'),(14954,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042669773101807','2016-08-17 15:53:35'),(14955,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042879581451416','2016-08-17 15:53:35'),(14956,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043861865997314','2016-08-17 15:53:35'),(14957,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `otherPaymentType`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-17\', 1, \'33078\', \'1000\', \'LR\', \'157\', \'25\', 3)','loanReceive/save_new_loan','0.23602509498596','2016-08-17 15:53:49'),(14958,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2124, \'33072\', \'1000\', \'pinjam dengan ceti halal to bank islam\')','loanReceive/save_new_loan','0.03435492515564','2016-08-17 15:53:49'),(14959,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2124','loanReceive/save_new_loan','0.047226190567017','2016-08-17 15:53:49'),(14960,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2124\nAND `ID` =  2124','loanReceive/save_new_loan','0.0005490779876709','2016-08-17 15:53:49'),(14961,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.029567956924438','2016-08-17 15:53:49'),(14962,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.007465124130249','2016-08-17 15:53:49'),(14963,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016701221466064','2016-08-17 15:53:49'),(14964,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043416023254395','2016-08-17 15:53:50'),(14965,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0005190372467041','2016-08-17 15:53:50'),(14966,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00068402290344238','2016-08-17 15:53:55'),(14967,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056099891662598','2016-08-17 15:53:55'),(14968,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055789947509766','2016-08-17 15:53:55'),(14969,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055289268493652','2016-08-17 15:53:55'),(14970,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.1444079875946','2016-08-17 15:53:55'),(14971,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.044148206710815','2016-08-17 15:53:55'),(14972,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043785095214844','2016-08-17 15:53:55'),(14973,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044080972671509','2016-08-17 15:53:55'),(14974,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.23842191696167','2016-08-17 15:53:55'),(14975,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047397613525391','2016-08-17 15:53:55'),(14976,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051283836364746','2016-08-17 15:53:55'),(14977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.013012886047363','2016-08-17 15:53:58'),(14978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:53:58'),(14979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:53:58'),(14980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057411193847656','2016-08-17 15:53:58'),(14981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:53:58'),(14982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056219100952148','2016-08-17 15:53:58'),(14983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:53:58'),(14984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 15:53:58'),(14985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:53:58'),(14986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:53:58'),(14987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-17 15:53:58'),(14988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:53:58'),(14989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065302848815918','2016-08-17 15:53:59'),(14990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:53:59'),(14991,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 15:53:59'),(14992,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058293342590332','2016-08-17 15:53:59'),(14993,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 15:53:59'),(14994,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 15:53:59'),(14995,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:53:59'),(14996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:53:59'),(14997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055980682373047','2016-08-17 15:53:59'),(14998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:53:59'),(14999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 15:53:59'),(15000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:54:00'),(15001,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061702728271484','2016-08-17 15:54:03'),(15002,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060582160949707','2016-08-17 15:54:04'),(15003,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 15:54:04'),(15004,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005638599395752','2016-08-17 15:54:04'),(15005,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 15:54:04'),(15006,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-17 15:54:04'),(15007,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 15:54:04'),(15008,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058603286743164','2016-08-17 15:54:04'),(15009,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:54:04'),(15010,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-17 15:54:04'),(15011,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057601928710938','2016-08-17 15:54:04'),(15012,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00098705291748047','2016-08-17 15:54:04'),(15013,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055122375488281','2016-08-17 15:54:04'),(15014,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-17 15:54:04'),(15015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.055060863494873','2016-08-17 15:54:08'),(15016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-17 15:54:08'),(15017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 15:54:08'),(15018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-17 15:54:08'),(15019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 15:54:08'),(15020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013501644134521','2016-08-17 15:54:08'),(15021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-17 15:54:08'),(15022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-17 15:54:08'),(15023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-17 15:54:08'),(15024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 15:54:08'),(15025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 15:54:08'),(15026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 15:54:08'),(15027,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015139579772949','2016-08-17 15:54:09'),(15028,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 15:54:10'),(15029,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 15:54:10'),(15030,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 15:54:10'),(15031,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 15:54:10'),(15032,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 15:54:10'),(15033,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-17 15:54:10'),(15034,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-17 15:54:10'),(15035,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 15:54:10'),(15036,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013680458068848','2016-08-17 15:54:10'),(15037,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-17 15:54:10'),(15038,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-17 15:54:10'),(15039,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041859149932861','2016-08-17 15:54:12'),(15040,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 15:54:12'),(15041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039961338043213','2016-08-17 15:54:12'),(15042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040121078491211','2016-08-17 15:54:12'),(15043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040109157562256','2016-08-17 15:54:12'),(15044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040578842163086','2016-08-17 15:54:12'),(15045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040459632873535','2016-08-17 15:54:12'),(15046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039889812469482','2016-08-17 15:54:12'),(15047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040149688720703','2016-08-17 15:54:12'),(15048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-17 15:54:12'),(15049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039730072021484','2016-08-17 15:54:12'),(15050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039558410644531','2016-08-17 15:54:12'),(15051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041921138763428','2016-08-17 15:54:14'),(15052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-17 15:54:14'),(15053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041501522064209','2016-08-17 15:54:14'),(15054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040159225463867','2016-08-17 15:54:14'),(15055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041041374206543','2016-08-17 15:54:14'),(15056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039968490600586','2016-08-17 15:54:14'),(15057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039989948272705','2016-08-17 15:54:14'),(15058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-17 15:54:14'),(15059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040469169616699','2016-08-17 15:54:14'),(15060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040760040283203','2016-08-17 15:54:14'),(15061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040829181671143','2016-08-17 15:54:14'),(15062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039851665496826','2016-08-17 15:54:14'),(15063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015490055084229','2016-08-17 15:54:18'),(15064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0039520263671875','2016-08-17 15:54:18'),(15065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065493583679199','2016-08-17 15:54:24'),(15066,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-17 15:54:24'),(15067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:54:24'),(15068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:54:24'),(15069,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00059103965759277','2016-08-17 15:54:25'),(15070,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 15:54:25'),(15071,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-17 15:54:25'),(15072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 15:54:25'),(15073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:54:25'),(15074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 15:54:25'),(15075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:54:25'),(15076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:54:25'),(15077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044569969177246','2016-08-17 15:54:25'),(15078,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045421123504639','2016-08-17 15:54:25'),(15079,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044629573822021','2016-08-17 15:54:25'),(15080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043420791625977','2016-08-17 15:54:25'),(15081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044760704040527','2016-08-17 15:54:25'),(15082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044472217559814','2016-08-17 15:54:25'),(15083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004342794418335','2016-08-17 15:54:25'),(15084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044231414794922','2016-08-17 15:54:25'),(15085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043301582336426','2016-08-17 15:54:25'),(15086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043489933013916','2016-08-17 15:54:25'),(15087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044701099395752','2016-08-17 15:54:25'),(15088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043418407440186','2016-08-17 15:54:25'),(15089,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `otherPaymentType`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-17\', 1, \'33078\', \'1000\', \'LR\', \'157\', \'25\', 3)','loanReceive/save_new_loan','0.28631591796875','2016-08-17 15:54:59'),(15090,25,32,'192.168.1.220','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2125, \'33072\', \'1000\', \'pinjam ceti halal ke bank islam negative\')','loanReceive/save_new_loan','0.04206395149231','2016-08-17 15:54:59'),(15091,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_payment`)\nWHERE `othersPaymentID` =  2125','loanReceive/save_new_loan','0.048408985137939','2016-08-17 15:54:59'),(15092,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2125\nAND `ID` =  2125','loanReceive/save_new_loan','0.0005488395690918','2016-08-17 15:54:59'),(15093,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.021916151046753','2016-08-17 15:55:00'),(15094,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010139942169189','2016-08-17 15:55:00'),(15095,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016939640045166','2016-08-17 15:55:00'),(15096,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040602684020996','2016-08-17 15:55:00'),(15097,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050997734069824','2016-08-17 15:55:00'),(15098,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00061893463134766','2016-08-17 15:55:05'),(15099,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054788589477539','2016-08-17 15:55:05'),(15100,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051593780517578','2016-08-17 15:55:05'),(15101,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00050616264343262','2016-08-17 15:55:05'),(15102,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.12526702880859','2016-08-17 15:55:05'),(15103,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043935060501099','2016-08-17 15:55:05'),(15104,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.044116973876953','2016-08-17 15:55:05'),(15105,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044048070907593','2016-08-17 15:55:05'),(15106,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.14861297607422','2016-08-17 15:55:05'),(15107,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0012609958648682','2016-08-17 15:55:05'),(15108,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0012788772583008','2016-08-17 15:55:05'),(15109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.013178110122681','2016-08-17 15:55:08'),(15110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056815147399902','2016-08-17 15:55:08'),(15111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005028247833252','2016-08-17 15:55:08'),(15112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 15:55:08'),(15113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0004889965057373','2016-08-17 15:55:08'),(15114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-17 15:55:08'),(15115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 15:55:08'),(15116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-17 15:55:08'),(15117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-17 15:55:08'),(15118,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-17 15:55:08'),(15119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00044703483581543','2016-08-17 15:55:08'),(15120,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050020217895508','2016-08-17 15:55:08'),(15121,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065302848815918','2016-08-17 15:55:09'),(15122,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 15:55:09'),(15123,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 15:55:09'),(15124,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:55:10'),(15125,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:55:10'),(15126,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 15:55:10'),(15127,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:55:10'),(15128,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005638599395752','2016-08-17 15:55:10'),(15129,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:55:10'),(15130,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:55:10'),(15131,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-17 15:55:10'),(15132,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 15:55:10'),(15133,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061488151550293','2016-08-17 15:55:13'),(15134,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060796737670898','2016-08-17 15:55:15'),(15135,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005638599395752','2016-08-17 15:55:15'),(15136,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:55:15'),(15137,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:55:15'),(15138,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:55:15'),(15139,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:55:15'),(15140,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:55:15'),(15141,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:55:15'),(15142,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 15:55:15'),(15143,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 15:55:15'),(15144,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:55:15'),(15145,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:55:15'),(15146,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 15:55:15'),(15147,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.018712043762207','2016-08-17 15:55:20'),(15148,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013871192932129','2016-08-17 15:55:20'),(15149,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001317024230957','2016-08-17 15:55:20'),(15150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001305103302002','2016-08-17 15:55:20'),(15151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012900829315186','2016-08-17 15:55:20'),(15152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012791156768799','2016-08-17 15:55:20'),(15153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012619495391846','2016-08-17 15:55:20'),(15154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012788772583008','2016-08-17 15:55:20'),(15155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013089179992676','2016-08-17 15:55:20'),(15156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012798309326172','2016-08-17 15:55:20'),(15157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013248920440674','2016-08-17 15:55:20'),(15158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013391971588135','2016-08-17 15:55:20'),(15159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0016069412231445','2016-08-17 15:55:22'),(15160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013930797576904','2016-08-17 15:55:22'),(15161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 15:55:22'),(15162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013799667358398','2016-08-17 15:55:22'),(15163,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013659000396729','2016-08-17 15:55:22'),(15164,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013809204101562','2016-08-17 15:55:22'),(15165,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014281272888184','2016-08-17 15:55:22'),(15166,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 15:55:22'),(15167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013139247894287','2016-08-17 15:55:22'),(15168,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 15:55:22'),(15169,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 15:55:22'),(15170,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 15:55:22'),(15171,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042388439178467','2016-08-17 15:55:25'),(15172,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-17 15:55:25'),(15173,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-17 15:55:25'),(15174,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041019916534424','2016-08-17 15:55:25'),(15175,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-17 15:55:25'),(15176,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039911270141602','2016-08-17 15:55:25'),(15177,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039949417114258','2016-08-17 15:55:25'),(15178,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039939880371094','2016-08-17 15:55:25'),(15179,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 15:55:25'),(15180,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039799213409424','2016-08-17 15:55:25'),(15181,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039749145507812','2016-08-17 15:55:26'),(15182,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040948390960693','2016-08-17 15:55:26'),(15183,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043320655822754','2016-08-17 15:55:27'),(15184,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040669441223145','2016-08-17 15:55:27'),(15185,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041549205780029','2016-08-17 15:55:27'),(15186,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041429996490479','2016-08-17 15:55:27'),(15187,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040900707244873','2016-08-17 15:55:27'),(15188,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041148662567139','2016-08-17 15:55:27'),(15189,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040569305419922','2016-08-17 15:55:27'),(15190,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-17 15:55:27'),(15191,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040230751037598','2016-08-17 15:55:27'),(15192,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041000843048096','2016-08-17 15:55:27'),(15193,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041408538818359','2016-08-17 15:55:27'),(15194,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 15:55:27'),(15195,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.016453981399536','2016-08-17 15:55:32'),(15196,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040750503540039','2016-08-17 15:55:32'),(15197,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066089630126953','2016-08-17 15:55:39'),(15198,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 15:55:39'),(15199,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:55:39'),(15200,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 15:55:39'),(15201,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 15:55:39'),(15202,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056719779968262','2016-08-17 15:55:39'),(15203,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 15:55:39'),(15204,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 15:55:39'),(15205,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-17 15:55:39'),(15206,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.009335994720459','2016-08-17 15:55:39'),(15207,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 15:55:39'),(15208,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 15:55:39'),(15209,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044369697570801','2016-08-17 15:55:39'),(15210,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042960643768311','2016-08-17 15:55:39'),(15211,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042920112609863','2016-08-17 15:55:39'),(15212,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042941570281982','2016-08-17 15:55:39'),(15213,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043230056762695','2016-08-17 15:55:39'),(15214,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043790340423584','2016-08-17 15:55:39'),(15215,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042719841003418','2016-08-17 15:55:39'),(15216,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043039321899414','2016-08-17 15:55:39'),(15217,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042698383331299','2016-08-17 15:55:39'),(15218,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042819976806641','2016-08-17 15:55:39'),(15219,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004288911819458','2016-08-17 15:55:39'),(15220,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045180320739746','2016-08-17 15:55:39'),(15221,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'32578\', \'100\', \'LR\', \'108\', \'12\', 3)','loanReceive/save_new_loan','0.11785697937012','2016-08-17 16:00:22'),(15222,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountnoID`, `amountIncludedTax`, `description`) VALUES (2123, \'32572\', \'100\', \'loan mara masuk bank 1\')','loanReceive/save_new_loan','0.016467094421387','2016-08-17 16:00:22'),(15223,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'298\'','loanReceive/save_new_loan','0.023205041885376','2016-08-17 16:00:22'),(15224,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AP20160800000006\' WHERE `ID` =  2123','loanReceive/save_new_loan','0.016456127166748','2016-08-17 16:00:22'),(15225,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160800000006\', \' [LR[00000008]]]\', \'Loan Received [  [LR[00000008]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.011117935180664','2016-08-17 16:00:22'),(15226,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2123','loanReceive/save_new_loan','0.00032806396484375','2016-08-17 16:00:22'),(15227,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11058','loanReceive/save_new_loan','0.017309904098511','2016-08-17 16:00:22'),(15228,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000006\'','loanReceive/save_new_loan','0.0093798637390137','2016-08-17 16:00:22'),(15229,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0066020488739014','2016-08-17 16:03:47'),(15230,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010879039764404','2016-08-17 16:03:47'),(15231,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016682147979736','2016-08-17 16:03:47'),(15232,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040602684020996','2016-08-17 16:03:47'),(15233,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051212310791016','2016-08-17 16:03:47'),(15234,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0017189979553223','2016-08-17 16:12:11'),(15235,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010929107666016','2016-08-17 16:12:11'),(15236,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0017030239105225','2016-08-17 16:12:11'),(15237,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041103363037109','2016-08-17 16:12:11'),(15238,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051188468933105','2016-08-17 16:12:11'),(15239,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066399574279785','2016-08-17 16:12:26'),(15240,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00058102607727051','2016-08-17 16:12:26'),(15241,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005640983581543','2016-08-17 16:12:26'),(15242,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-17 16:12:26'),(15243,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13808584213257','2016-08-17 16:12:26'),(15244,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.043946981430054','2016-08-17 16:12:26'),(15245,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.04375696182251','2016-08-17 16:12:26'),(15246,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.044090986251831','2016-08-17 16:12:26'),(15247,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.30243396759033','2016-08-17 16:12:26'),(15248,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00050806999206543','2016-08-17 16:12:26'),(15249,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053882598876953','2016-08-17 16:12:26'),(15250,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.015547037124634','2016-08-17 16:12:34'),(15251,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057601928710938','2016-08-17 16:12:34'),(15252,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-17 16:12:34'),(15253,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 16:12:34'),(15254,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 16:12:34'),(15255,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-17 16:12:34'),(15256,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 16:12:34'),(15257,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:12:34'),(15258,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 16:12:34'),(15259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 16:12:34'),(15260,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 16:12:34'),(15261,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 16:12:34'),(15262,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066089630126953','2016-08-17 16:12:36'),(15263,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-17 16:12:36'),(15264,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-17 16:12:36'),(15265,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 16:12:36'),(15266,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-17 16:12:36'),(15267,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-17 16:12:36'),(15268,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-17 16:12:36'),(15269,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005648136138916','2016-08-17 16:12:36'),(15270,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 16:12:36'),(15271,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 16:12:36'),(15272,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 16:12:36'),(15273,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 16:12:36'),(15274,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061988830566406','2016-08-17 16:12:41'),(15275,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0006098747253418','2016-08-17 16:12:43'),(15276,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-17 16:12:43'),(15277,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 16:12:43'),(15278,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-17 16:12:43'),(15279,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 16:12:43'),(15280,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 16:12:43'),(15281,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 16:12:43'),(15282,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 16:12:43'),(15283,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 16:12:43'),(15284,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 16:12:43'),(15285,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 16:12:43'),(15286,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 16:12:43'),(15287,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 16:12:43'),(15288,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.085222005844116','2016-08-17 16:12:48'),(15289,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013899803161621','2016-08-17 16:12:48'),(15290,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-17 16:12:48'),(15291,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 16:12:48'),(15292,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014121532440186','2016-08-17 16:12:48'),(15293,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-17 16:12:48'),(15294,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-17 16:12:48'),(15295,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 16:12:48'),(15296,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 16:12:48'),(15297,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-17 16:12:48'),(15298,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 16:12:48'),(15299,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 16:12:48'),(15300,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015530586242676','2016-08-17 16:12:49'),(15301,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013852119445801','2016-08-17 16:12:50'),(15302,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-17 16:12:50'),(15303,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013880729675293','2016-08-17 16:12:50'),(15304,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013811588287354','2016-08-17 16:12:50'),(15305,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-17 16:12:50'),(15306,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-17 16:12:50'),(15307,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012581348419189','2016-08-17 16:12:50'),(15308,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00130295753479','2016-08-17 16:12:50'),(15309,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012431144714355','2016-08-17 16:12:50'),(15310,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012471675872803','2016-08-17 16:12:50'),(15311,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012640953063965','2016-08-17 16:12:50'),(15312,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041871070861816','2016-08-17 16:12:53'),(15313,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039618015289307','2016-08-17 16:12:53'),(15314,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040481090545654','2016-08-17 16:12:53'),(15315,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040760040283203','2016-08-17 16:12:53'),(15316,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039658546447754','2016-08-17 16:12:53'),(15317,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003972053527832','2016-08-17 16:12:53'),(15318,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039739608764648','2016-08-17 16:12:53'),(15319,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039727687835693','2016-08-17 16:12:53'),(15320,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039670467376709','2016-08-17 16:12:53'),(15321,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004025936126709','2016-08-17 16:12:53'),(15322,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039620399475098','2016-08-17 16:12:53'),(15323,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039489269256592','2016-08-17 16:12:54'),(15324,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042619705200195','2016-08-17 16:12:55'),(15325,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.011528015136719','2016-08-17 16:12:55'),(15326,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039710998535156','2016-08-17 16:12:55'),(15327,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041768550872803','2016-08-17 16:12:55'),(15328,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-17 16:12:55'),(15329,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040149688720703','2016-08-17 16:12:55'),(15330,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040469169616699','2016-08-17 16:12:55'),(15331,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040769577026367','2016-08-17 16:12:55'),(15332,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041401386260986','2016-08-17 16:12:55'),(15333,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040979385375977','2016-08-17 16:12:55'),(15334,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039620399475098','2016-08-17 16:12:55'),(15335,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039629936218262','2016-08-17 16:12:55'),(15336,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066113471984863','2016-08-17 16:12:58'),(15337,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056695938110352','2016-08-17 16:12:58'),(15338,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056004524230957','2016-08-17 16:12:58'),(15339,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055289268493652','2016-08-17 16:12:58'),(15340,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.087518930435181','2016-08-17 16:12:58'),(15341,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.04381799697876','2016-08-17 16:12:58'),(15342,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.043838977813721','2016-08-17 16:12:58'),(15343,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.043884992599487','2016-08-17 16:12:58'),(15344,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.14495992660522','2016-08-17 16:12:58'),(15345,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046801567077637','2016-08-17 16:12:58'),(15346,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053000450134277','2016-08-17 16:12:58'),(15347,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0072500705718994','2016-08-17 16:13:02'),(15348,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-17 16:13:02'),(15349,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 16:13:02'),(15350,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 16:13:02'),(15351,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 16:13:02'),(15352,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 16:13:02'),(15353,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 16:13:02'),(15354,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:13:02'),(15355,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 16:13:02'),(15356,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 16:13:02'),(15357,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-17 16:13:02'),(15358,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 16:13:02'),(15359,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066399574279785','2016-08-17 16:13:03'),(15360,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00060796737670898','2016-08-17 16:13:03'),(15361,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:13:03'),(15362,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 16:13:03'),(15363,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058722496032715','2016-08-17 16:13:04'),(15364,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005638599395752','2016-08-17 16:13:04'),(15365,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 16:13:04'),(15366,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:13:04'),(15367,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056791305541992','2016-08-17 16:13:04'),(15368,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:13:04'),(15369,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061202049255371','2016-08-17 16:13:04'),(15370,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-17 16:13:04'),(15371,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061297416687012','2016-08-17 16:13:07'),(15372,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060892105102539','2016-08-17 16:13:08'),(15373,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:13:08'),(15374,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 16:13:08'),(15375,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-17 16:13:08'),(15376,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-17 16:13:08'),(15377,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 16:13:08'),(15378,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 16:13:08'),(15379,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 16:13:08'),(15380,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 16:13:08'),(15381,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 16:13:08'),(15382,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 16:13:08'),(15383,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-17 16:13:09'),(15384,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-17 16:13:09'),(15385,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.014379024505615','2016-08-17 16:13:15'),(15386,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 16:13:15'),(15387,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-17 16:13:15'),(15388,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013518333435059','2016-08-17 16:13:15'),(15389,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-17 16:13:15'),(15390,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 16:13:15'),(15391,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-17 16:13:15'),(15392,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013501644134521','2016-08-17 16:13:15'),(15393,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 16:13:15'),(15394,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014240741729736','2016-08-17 16:13:15'),(15395,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013210773468018','2016-08-17 16:13:15'),(15396,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-17 16:13:15'),(15397,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015711784362793','2016-08-17 16:13:17'),(15398,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 16:13:17'),(15399,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-17 16:13:17'),(15400,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 16:13:17'),(15401,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013518333435059','2016-08-17 16:13:17'),(15402,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-17 16:13:17'),(15403,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-17 16:13:17'),(15404,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 16:13:17'),(15405,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-17 16:13:17'),(15406,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013511180877686','2016-08-17 16:13:17'),(15407,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-17 16:13:17'),(15408,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013477802276611','2016-08-17 16:13:17'),(15409,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042588710784912','2016-08-17 16:13:27'),(15410,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040020942687988','2016-08-17 16:13:27'),(15411,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040199756622314','2016-08-17 16:13:27'),(15412,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-17 16:13:27'),(15413,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040369033813477','2016-08-17 16:13:27'),(15414,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039958953857422','2016-08-17 16:13:27'),(15415,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004082202911377','2016-08-17 16:13:27'),(15416,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039908885955811','2016-08-17 16:13:27'),(15417,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039901733398438','2016-08-17 16:13:27'),(15418,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039970874786377','2016-08-17 16:13:27'),(15419,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003993034362793','2016-08-17 16:13:27'),(15420,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040318965911865','2016-08-17 16:13:27'),(15421,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042808055877686','2016-08-17 16:13:35'),(15422,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039889812469482','2016-08-17 16:13:35'),(15423,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040180683135986','2016-08-17 16:13:35'),(15424,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040698051452637','2016-08-17 16:13:35'),(15425,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040371417999268','2016-08-17 16:13:35'),(15426,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-17 16:13:35'),(15427,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040061473846436','2016-08-17 16:13:35'),(15428,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039780139923096','2016-08-17 16:13:35'),(15429,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040109157562256','2016-08-17 16:13:35'),(15430,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039792060852051','2016-08-17 16:13:35'),(15431,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039660930633545','2016-08-17 16:13:35'),(15432,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039989948272705','2016-08-17 16:13:35'),(15433,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015668869018555','2016-08-17 16:13:40'),(15434,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040121078491211','2016-08-17 16:13:40'),(15435,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066494941711426','2016-08-17 16:13:48'),(15436,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 16:13:48'),(15437,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 16:13:48'),(15438,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055980682373047','2016-08-17 16:13:49'),(15439,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 16:13:49'),(15440,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:13:49'),(15441,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-17 16:13:49'),(15442,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 16:13:49'),(15443,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 16:13:49'),(15444,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-17 16:13:49'),(15445,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-17 16:13:49'),(15446,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 16:13:49'),(15447,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044949054718018','2016-08-17 16:13:49'),(15448,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042810440063477','2016-08-17 16:13:49'),(15449,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042610168457031','2016-08-17 16:13:49'),(15450,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043110847473145','2016-08-17 16:13:49'),(15451,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042350292205811','2016-08-17 16:13:49'),(15452,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004302978515625','2016-08-17 16:13:49'),(15453,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042459964752197','2016-08-17 16:13:49'),(15454,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042650699615479','2016-08-17 16:13:49'),(15455,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042440891265869','2016-08-17 16:13:49'),(15456,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042731761932373','2016-08-17 16:13:49'),(15457,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042629241943359','2016-08-17 16:13:49'),(15458,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042510032653809','2016-08-17 16:13:49'),(15459,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'32579\', \'200\', \'LR\', \'108\', \'12\', 3)','loanReceive/save_new_loan','0.025741100311279','2016-08-17 16:18:38'),(15460,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountIncludedTax`, `description`) VALUES (2125, 1, \'32572\', \'200\', \'loan 2 bank 1\')','loanReceive/save_new_loan','0.010651111602783','2016-08-17 16:18:38'),(15461,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'298\'','loanReceive/save_new_loan','0.024133205413818','2016-08-17 16:18:38'),(15462,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AP20160800000007\' WHERE `ID` =  2125','loanReceive/save_new_loan','0.0081491470336914','2016-08-17 16:18:38'),(15463,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160800000007\', \' [LR[00000009]]]\', \'Loan Received [  [LR[00000009]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.010030031204224','2016-08-17 16:18:38'),(15464,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000007\', 1, \'pinjam ceti halal ke bank islam negative\', \'33078\', 1000, \'1\', \'1\', \'1000\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/save_new_loan','0.018623828887939','2016-08-17 16:18:38'),(15465,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000007\', 2, \'pinjam ceti halal ke bank islam negative\', \'33072\', 1000, \'1\', \'1\', \'1000\', \'08\', \'2016\', \'0\', \'LR[00000031]\', \'User\')','loanReceive/save_new_loan','0.016232967376709','2016-08-17 16:18:38'),(15466,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000007\'','loanReceive/save_new_loan','0.0080511569976807','2016-08-17 16:18:38'),(15467,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2125','loanReceive/save_new_loan','0.014118909835815','2016-08-17 16:18:38'),(15468,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11060','loanReceive/save_new_loan','0.010509014129639','2016-08-17 16:18:38'),(15469,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000007\'','loanReceive/save_new_loan','0.022340059280396','2016-08-17 16:18:38'),(15470,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'33078\', \'2016\', \'8\', \'0\', \'1000\', -1000, \'User\', \'2016-08-17: 10:08:38\')','loanReceive/save_new_loan','0.020293951034546','2016-08-17 16:18:38'),(15471,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'33072\', \'2016\', \'8\', \'1000\', \'0\', 1000, \'User\', \'2016-08-17: 10:08:38\')','loanReceive/save_new_loan','0.020818948745728','2016-08-17 16:18:38'),(15472,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0021920204162598','2016-08-17 16:20:08'),(15473,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010240077972412','2016-08-17 16:20:08'),(15474,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016889572143555','2016-08-17 16:20:08'),(15475,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.0004119873046875','2016-08-17 16:20:08'),(15476,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051212310791016','2016-08-17 16:20:08'),(15477,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0018730163574219','2016-08-17 16:31:16'),(15478,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010459423065186','2016-08-17 16:31:16'),(15479,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0017080307006836','2016-08-17 16:31:16'),(15480,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041484832763672','2016-08-17 16:31:16'),(15481,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051307678222656','2016-08-17 16:31:16'),(15482,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.096215009689331','2016-08-17 16:36:53'),(15483,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012869834899902','2016-08-17 16:36:53'),(15484,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012431144714355','2016-08-17 16:36:54'),(15485,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012369155883789','2016-08-17 16:36:54'),(15486,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0243239402771','2016-08-17 16:36:54'),(15487,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043606758117676','2016-08-17 16:36:54'),(15488,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049710273742676','2016-08-17 16:36:54'),(15489,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0013761520385742','2016-08-17 16:37:05'),(15490,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.001276969909668','2016-08-17 16:37:05'),(15491,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00124192237854','2016-08-17 16:37:06'),(15492,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012450218200684','2016-08-17 16:37:06'),(15493,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0024988651275635','2016-08-17 16:37:06'),(15494,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00040912628173828','2016-08-17 16:37:06'),(15495,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048589706420898','2016-08-17 16:37:06'),(15496,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0026030540466309','2016-08-17 16:37:09'),(15497,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010819435119629','2016-08-17 16:37:09'),(15498,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2043\'','expenses/addNew','0.0022530555725098','2016-08-17 16:37:09'),(15499,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2043\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0023958683013916','2016-08-17 16:37:09'),(15500,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000002\'','expenses/addNew','0.00056290626525879','2016-08-17 16:37:09'),(15501,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00038909912109375','2016-08-17 16:37:09'),(15502,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00048494338989258','2016-08-17 16:37:09'),(15503,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.0006871223449707','2016-08-17 16:37:18'),(15504,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00058817863464355','2016-08-17 16:37:18'),(15505,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00057411193847656','2016-08-17 16:37:18'),(15506,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00056600570678711','2016-08-17 16:37:18'),(15507,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00082206726074219','2016-08-17 16:37:18'),(15508,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041508674621582','2016-08-17 16:37:18'),(15509,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051712989807129','2016-08-17 16:37:18'),(15510,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00067520141601562','2016-08-17 16:37:22'),(15511,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00058603286743164','2016-08-17 16:37:22'),(15512,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00057506561279297','2016-08-17 16:37:22'),(15513,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00056982040405273','2016-08-17 16:37:22'),(15514,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00080990791320801','2016-08-17 16:37:22'),(15515,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041294097900391','2016-08-17 16:37:22'),(15516,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051498413085938','2016-08-17 16:37:22'),(15517,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00067591667175293','2016-08-17 16:37:24'),(15518,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00058794021606445','2016-08-17 16:37:24'),(15519,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00057792663574219','2016-08-17 16:37:24'),(15520,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00057005882263184','2016-08-17 16:37:24'),(15521,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00082588195800781','2016-08-17 16:37:24'),(15522,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041484832763672','2016-08-17 16:37:24'),(15523,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051593780517578','2016-08-17 16:37:24'),(15524,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.12618207931519','2016-08-17 16:37:44'),(15525,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.0024170875549316','2016-08-17 16:37:44'),(15526,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.00051403045654297','2016-08-17 16:37:44'),(15527,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0018310546875','2016-08-17 16:37:44'),(15528,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00040078163146973','2016-08-17 16:37:44'),(15529,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00048303604125977','2016-08-17 16:37:44'),(15530,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00067591667175293','2016-08-17 16:38:18'),(15531,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00059890747070312','2016-08-17 16:38:18'),(15532,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057601928710938','2016-08-17 16:38:18'),(15533,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057101249694824','2016-08-17 16:38:18'),(15534,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.31227612495422','2016-08-17 16:38:18'),(15535,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.046015977859497','2016-08-17 16:38:18'),(15536,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.045714139938354','2016-08-17 16:38:18'),(15537,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.045938014984131','2016-08-17 16:38:18'),(15538,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.11762189865112','2016-08-17 16:38:18'),(15539,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00041794776916504','2016-08-17 16:38:18'),(15540,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00045084953308105','2016-08-17 16:38:18'),(15541,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0023391246795654','2016-08-17 16:38:23'),(15542,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058507919311523','2016-08-17 16:38:23'),(15543,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057697296142578','2016-08-17 16:38:23'),(15544,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 16:38:23'),(15545,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057411193847656','2016-08-17 16:38:23'),(15546,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058388710021973','2016-08-17 16:38:23'),(15547,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057220458984375','2016-08-17 16:38:23'),(15548,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058698654174805','2016-08-17 16:38:23'),(15549,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:38:23'),(15550,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:38:24'),(15551,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 16:38:24'),(15552,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-17 16:38:24'),(15553,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066995620727539','2016-08-17 16:38:25'),(15554,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-17 16:38:25'),(15555,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 16:38:25'),(15556,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-17 16:38:25'),(15557,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:38:25'),(15558,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-17 16:38:25'),(15559,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-17 16:38:25'),(15560,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057697296142578','2016-08-17 16:38:25'),(15561,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056982040405273','2016-08-17 16:38:25'),(15562,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:38:25'),(15563,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 16:38:25'),(15564,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 16:38:25'),(15565,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00064897537231445','2016-08-17 16:38:29'),(15566,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00062990188598633','2016-08-17 16:38:32'),(15567,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00059199333190918','2016-08-17 16:38:32'),(15568,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058603286743164','2016-08-17 16:38:32'),(15569,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 16:38:32'),(15570,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-17 16:38:32'),(15571,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056910514831543','2016-08-17 16:38:32'),(15572,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:38:32'),(15573,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:38:32'),(15574,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:38:32'),(15575,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056791305541992','2016-08-17 16:38:32'),(15576,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056719779968262','2016-08-17 16:38:32'),(15577,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005638599395752','2016-08-17 16:38:32'),(15578,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-17 16:38:32'),(15579,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.21270608901978','2016-08-17 16:38:39'),(15580,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013628005981445','2016-08-17 16:38:39'),(15581,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 16:38:39'),(15582,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 16:38:39'),(15583,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-17 16:38:39'),(15584,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 16:38:39'),(15585,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013368129730225','2016-08-17 16:38:39'),(15586,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-17 16:38:39'),(15587,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 16:38:39'),(15588,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-17 16:38:39'),(15589,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-17 16:38:39'),(15590,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-17 16:38:39'),(15591,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015699863433838','2016-08-17 16:38:43'),(15592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-17 16:38:43'),(15593,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-17 16:38:43'),(15594,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013699531555176','2016-08-17 16:38:43'),(15595,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 16:38:43'),(15596,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013720989227295','2016-08-17 16:38:43'),(15597,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 16:38:43'),(15598,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013730525970459','2016-08-17 16:38:43'),(15599,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013778209686279','2016-08-17 16:38:43'),(15600,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 16:38:43'),(15601,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-17 16:38:43'),(15602,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-17 16:38:43'),(15603,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043408870697021','2016-08-17 16:38:49'),(15604,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040969848632812','2016-08-17 16:38:49'),(15605,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041029453277588','2016-08-17 16:38:49'),(15606,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004127025604248','2016-08-17 16:38:49'),(15607,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004101037979126','2016-08-17 16:38:49'),(15608,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041029453277588','2016-08-17 16:38:49'),(15609,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041048526763916','2016-08-17 16:38:49'),(15610,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041849613189697','2016-08-17 16:38:49'),(15611,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041208267211914','2016-08-17 16:38:49'),(15612,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-17 16:38:49'),(15613,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040628910064697','2016-08-17 16:38:49'),(15614,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041329860687256','2016-08-17 16:38:49'),(15615,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041851997375488','2016-08-17 16:38:51'),(15616,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004019021987915','2016-08-17 16:38:51'),(15617,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-17 16:38:51'),(15618,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039851665496826','2016-08-17 16:38:51'),(15619,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039749145507812','2016-08-17 16:38:51'),(15620,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039739608764648','2016-08-17 16:38:51'),(15621,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039780139923096','2016-08-17 16:38:51'),(15622,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039730072021484','2016-08-17 16:38:51'),(15623,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040311813354492','2016-08-17 16:38:51'),(15624,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039739608764648','2016-08-17 16:38:51'),(15625,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039570331573486','2016-08-17 16:38:51'),(15626,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039539337158203','2016-08-17 16:38:51'),(15627,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015790462493896','2016-08-17 16:38:57'),(15628,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040090084075928','2016-08-17 16:38:57'),(15629,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006718635559082','2016-08-17 16:39:02'),(15630,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005791187286377','2016-08-17 16:39:02'),(15631,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 16:39:02'),(15632,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:39:02'),(15633,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 16:39:02'),(15634,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057601928710938','2016-08-17 16:39:02'),(15635,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057792663574219','2016-08-17 16:39:02'),(15636,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058412551879883','2016-08-17 16:39:02'),(15637,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:39:02'),(15638,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056815147399902','2016-08-17 16:39:02'),(15639,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 16:39:02'),(15640,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 16:39:02'),(15641,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043959617614746','2016-08-17 16:39:02'),(15642,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042989253997803','2016-08-17 16:39:02'),(15643,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042688846588135','2016-08-17 16:39:02'),(15644,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042691230773926','2016-08-17 16:39:02'),(15645,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004274845123291','2016-08-17 16:39:02'),(15646,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042629241943359','2016-08-17 16:39:02'),(15647,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043518543243408','2016-08-17 16:39:02'),(15648,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042860507965088','2016-08-17 16:39:02'),(15649,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042741298675537','2016-08-17 16:39:02'),(15650,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043010711669922','2016-08-17 16:39:02'),(15651,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043520927429199','2016-08-17 16:39:02'),(15652,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042860507965088','2016-08-17 16:39:02'),(15653,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00070095062255859','2016-08-17 16:39:06'),(15654,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057697296142578','2016-08-17 16:39:06'),(15655,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057315826416016','2016-08-17 16:39:06'),(15656,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056600570678711','2016-08-17 16:39:06'),(15657,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.092743873596191','2016-08-17 16:39:06'),(15658,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.046108961105347','2016-08-17 16:39:06'),(15659,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.046052932739258','2016-08-17 16:39:06'),(15660,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.045949935913086','2016-08-17 16:39:06'),(15661,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.16668796539307','2016-08-17 16:39:06'),(15662,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.01526403427124','2016-08-17 16:39:06'),(15663,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0031039714813232','2016-08-17 16:39:06'),(15664,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.078857898712158','2016-08-17 16:39:10'),(15665,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-17 16:39:10'),(15666,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:39:10'),(15667,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 16:39:10'),(15668,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 16:39:10'),(15669,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00059318542480469','2016-08-17 16:39:10'),(15670,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:39:10'),(15671,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058197975158691','2016-08-17 16:39:10'),(15672,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058412551879883','2016-08-17 16:39:10'),(15673,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:39:10'),(15674,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 16:39:10'),(15675,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:39:10'),(15676,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006718635559082','2016-08-17 16:39:12'),(15677,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 16:39:12'),(15678,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-17 16:39:12'),(15679,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-17 16:39:12'),(15680,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056910514831543','2016-08-17 16:39:12'),(15681,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 16:39:12'),(15682,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-17 16:39:12'),(15683,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 16:39:12'),(15684,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-17 16:39:12'),(15685,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056791305541992','2016-08-17 16:39:12'),(15686,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 16:39:12'),(15687,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:39:12'),(15688,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0010960102081299','2016-08-17 16:39:15'),(15689,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00057387351989746','2016-08-17 16:39:15'),(15690,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00057101249694824','2016-08-17 16:39:15'),(15691,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005640983581543','2016-08-17 16:39:15'),(15692,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00082993507385254','2016-08-17 16:39:15'),(15693,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00044894218444824','2016-08-17 16:39:15'),(15694,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00052285194396973','2016-08-17 16:39:15'),(15695,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/assetReport','0.084873199462891','2016-08-17 16:39:34'),(15696,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/assetReport%\"','glreports/assetReport','0.011093854904175','2016-08-17 16:39:34'),(15697,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/assetReport','0.00089097023010254','2016-08-17 16:39:34'),(15698,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00047802925109863','2016-08-17 16:39:34'),(15699,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045299530029297','2016-08-17 16:39:34'),(15700,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045013427734375','2016-08-17 16:39:34'),(15701,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044798851013184','2016-08-17 16:39:34'),(15702,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045204162597656','2016-08-17 16:39:34'),(15703,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044798851013184','2016-08-17 16:39:34'),(15704,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045108795166016','2016-08-17 16:39:34'),(15705,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045108795166016','2016-08-17 16:39:34'),(15706,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00045108795166016','2016-08-17 16:39:34'),(15707,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/assetReport','0.00044608116149902','2016-08-17 16:39:34'),(15708,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceDr` as openingBal, ifnull(c.openingBalanceDr, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceDr, ifnull(c.balanceAsset, (select balanceAsset from view_asset_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceAsset\nFROM (`view_asset_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  2\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/assetReport','0.18439602851868','2016-08-17 16:39:34'),(15709,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/assetReport','0.00085592269897461','2016-08-17 16:39:34'),(15710,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/assetReport','0.00040793418884277','2016-08-17 16:39:34'),(15711,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/assetReport','0.00050711631774902','2016-08-17 16:39:34'),(15712,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00067996978759766','2016-08-17 16:39:55'),(15713,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00058484077453613','2016-08-17 16:39:55'),(15714,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057411193847656','2016-08-17 16:39:55'),(15715,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005648136138916','2016-08-17 16:39:55'),(15716,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.046088218688965','2016-08-17 16:39:55'),(15717,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.045692205429077','2016-08-17 16:39:55'),(15718,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.045804977416992','2016-08-17 16:39:55'),(15719,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.045747995376587','2016-08-17 16:39:55'),(15720,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.16372418403625','2016-08-17 16:39:55'),(15721,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046396255493164','2016-08-17 16:39:55'),(15722,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00057101249694824','2016-08-17 16:39:55'),(15723,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0021450519561768','2016-08-17 16:40:07'),(15724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-17 16:40:07'),(15725,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-17 16:40:08'),(15726,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057697296142578','2016-08-17 16:40:08'),(15727,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-17 16:40:08'),(15728,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057601928710938','2016-08-17 16:40:08'),(15729,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-17 16:40:08'),(15730,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058913230895996','2016-08-17 16:40:08'),(15731,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:40:08'),(15732,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057411193847656','2016-08-17 16:40:08'),(15733,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 16:40:08'),(15734,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:40:08'),(15735,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066781044006348','2016-08-17 16:40:09'),(15736,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-17 16:40:09'),(15737,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:40:09'),(15738,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 16:40:09'),(15739,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:40:09'),(15740,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055980682373047','2016-08-17 16:40:09'),(15741,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-17 16:40:09'),(15742,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057601928710938','2016-08-17 16:40:09'),(15743,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-17 16:40:09'),(15744,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 16:40:09'),(15745,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-17 16:40:09'),(15746,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00059294700622559','2016-08-17 16:40:09'),(15747,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060486793518066','2016-08-17 16:40:20'),(15748,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00062298774719238','2016-08-17 16:40:22'),(15749,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057792663574219','2016-08-17 16:40:22'),(15750,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:40:22'),(15751,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 16:40:22'),(15752,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055480003356934','2016-08-17 16:40:22'),(15753,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056600570678711','2016-08-17 16:40:22'),(15754,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056815147399902','2016-08-17 16:40:22'),(15755,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-17 16:40:22'),(15756,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056982040405273','2016-08-17 16:40:22'),(15757,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-17 16:40:22'),(15758,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005648136138916','2016-08-17 16:40:22'),(15759,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056219100952148','2016-08-17 16:40:22'),(15760,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-17 16:40:22'),(15761,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.055488109588623','2016-08-17 16:40:32'),(15762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013809204101562','2016-08-17 16:40:32'),(15763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-17 16:40:32'),(15764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-17 16:40:32'),(15765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013749599456787','2016-08-17 16:40:32'),(15766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013959407806396','2016-08-17 16:40:32'),(15767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-17 16:40:32'),(15768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 16:40:32'),(15769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-17 16:40:33'),(15770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 16:40:33'),(15771,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013260841369629','2016-08-17 16:40:33'),(15772,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013282299041748','2016-08-17 16:40:33'),(15773,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015790462493896','2016-08-17 16:40:34'),(15774,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013401508331299','2016-08-17 16:40:34'),(15775,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-17 16:40:34'),(15776,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-17 16:40:34'),(15777,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-17 16:40:34'),(15778,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013527870178223','2016-08-17 16:40:34'),(15779,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-17 16:40:34'),(15780,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013542175292969','2016-08-17 16:40:34'),(15781,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-17 16:40:35'),(15782,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-17 16:40:35'),(15783,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-17 16:40:35'),(15784,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-17 16:40:35'),(15785,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042040348052979','2016-08-17 16:40:38'),(15786,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-17 16:40:38'),(15787,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040349960327148','2016-08-17 16:40:38'),(15788,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039839744567871','2016-08-17 16:40:38'),(15789,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040280818939209','2016-08-17 16:40:38'),(15790,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 16:40:38'),(15791,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040478706359863','2016-08-17 16:40:38'),(15792,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-17 16:40:38'),(15793,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039768218994141','2016-08-17 16:40:38'),(15794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039770603179932','2016-08-17 16:40:38'),(15795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039739608764648','2016-08-17 16:40:38'),(15796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-17 16:40:38'),(15797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041739940643311','2016-08-17 16:40:40'),(15798,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039658546447754','2016-08-17 16:40:40'),(15799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039980411529541','2016-08-17 16:40:40'),(15800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040011405944824','2016-08-17 16:40:40'),(15801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039660930633545','2016-08-17 16:40:40'),(15802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039780139923096','2016-08-17 16:40:40'),(15803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039768218994141','2016-08-17 16:40:40'),(15804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039680004119873','2016-08-17 16:40:40'),(15805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039639472961426','2016-08-17 16:40:40'),(15806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039610862731934','2016-08-17 16:40:40'),(15807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040378570556641','2016-08-17 16:40:40'),(15808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039529800415039','2016-08-17 16:40:40'),(15809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015590190887451','2016-08-17 16:40:45'),(15810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040478706359863','2016-08-17 16:40:45'),(15811,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0015759468078613','2016-08-17 16:41:00'),(15812,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00084400177001953','2016-08-17 16:41:00'),(15813,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00039792060852051','2016-08-17 16:41:00'),(15814,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00045990943908691','2016-08-17 16:41:00'),(15815,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00067806243896484','2016-08-17 16:41:00'),(15816,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-17 16:41:00'),(15817,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 16:41:00'),(15818,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-17 16:41:00'),(15819,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-17 16:41:00'),(15820,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-17 16:41:00'),(15821,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-17 16:41:00'),(15822,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-17 16:41:00'),(15823,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-17 16:41:00'),(15824,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-17 16:41:00'),(15825,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054717063903809','2016-08-17 16:41:00'),(15826,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-17 16:41:00'),(15827,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004270076751709','2016-08-17 16:41:00'),(15828,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043010711669922','2016-08-17 16:41:00'),(15829,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042040348052979','2016-08-17 16:41:00'),(15830,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042910575866699','2016-08-17 16:41:00'),(15831,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004260778427124','2016-08-17 16:41:00'),(15832,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043148994445801','2016-08-17 16:41:00'),(15833,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043129920959473','2016-08-17 16:41:00'),(15834,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042941570281982','2016-08-17 16:41:00'),(15835,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043580532073975','2016-08-17 16:41:00'),(15836,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042550563812256','2016-08-17 16:41:00'),(15837,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042989253997803','2016-08-17 16:41:00'),(15838,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043389797210693','2016-08-17 16:41:00'),(15839,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0017349720001221','2016-08-17 16:42:09'),(15840,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00096297264099121','2016-08-17 16:42:09'),(15841,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00043177604675293','2016-08-17 16:42:09'),(15842,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00049114227294922','2016-08-17 16:42:09'),(15843,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-17\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00068497657775879','2016-08-17 16:43:00'),(15844,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00058698654174805','2016-08-17 16:43:00'),(15845,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057506561279297','2016-08-17 16:43:00'),(15846,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056815147399902','2016-08-17 16:43:00'),(15847,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.085031986236572','2016-08-17 16:43:00'),(15848,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.045869827270508','2016-08-17 16:43:00'),(15849,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.045743942260742','2016-08-17 16:43:00'),(15850,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.045818090438843','2016-08-17 16:43:00'),(15851,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.16900587081909','2016-08-17 16:43:00'),(15852,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045895576477051','2016-08-17 16:43:00'),(15853,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00048089027404785','2016-08-17 16:43:00'),(15854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.030876874923706','2016-08-17 16:43:12'),(15855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058388710021973','2016-08-17 16:43:12'),(15856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057816505432129','2016-08-17 16:43:12'),(15857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058603286743164','2016-08-17 16:43:12'),(15858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-17 16:43:12'),(15859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057601928710938','2016-08-17 16:43:12'),(15860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056815147399902','2016-08-17 16:43:12'),(15861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058889389038086','2016-08-17 16:43:12'),(15862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-17 16:43:12'),(15863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057220458984375','2016-08-17 16:43:12'),(15864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-17 16:43:12'),(15865,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-17 16:43:12'),(15866,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.26204705238342','2016-08-17 16:44:03'),(15867,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0026431083679199','2016-08-17 16:44:03'),(15868,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.010093927383423','2016-08-17 16:44:03'),(15869,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.0004119873046875','2016-08-17 16:44:03'),(15870,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051188468933105','2016-08-17 16:44:03'),(15871,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.060768842697144','2016-08-17 16:54:52'),(15872,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010750293731689','2016-08-17 16:54:52'),(15873,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0017318725585938','2016-08-17 16:54:52'),(15874,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041103363037109','2016-08-17 16:54:52'),(15875,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051093101501465','2016-08-17 16:54:52'),(15876,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-17\', `bankID` = \'32578\', `payTo` = \'108\', `amountPaid` = \'20\', `companyID` = \'12\', `updateAble` = 1 WHERE `ID` =  \'2123\'','loanReceive/update_loan','0.044532060623169','2016-08-17 17:26:02'),(15877,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32572\', `amountExcludedTax` = \'20\', `itemdescription` = \'loan mara masuk bank 1\' WHERE `ID` =  \'1680\'','loanReceive/update_loan','0.028269052505493','2016-08-17 17:26:02'),(15878,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `journalID` =  \'AP20160800000006\'','loanReceive/update_loan','0.0084559917449951','2016-08-17 17:26:02'),(15879,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `journalID` =  \'AP20160800000006\'','loanReceive/update_loan','0.00033092498779297','2016-08-17 17:26:02'),(15880,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'299\'','loanReceive/update_loan','0.027706861495972','2016-08-17 17:26:02'),(15881,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000003\' WHERE `ID` =  \'2123\'','loanReceive/update_loan','0.012014150619507','2016-08-17 17:26:02'),(15882,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000003\', \' [LR[00000008]]]\', \'Loan Received [  [LR[00000008]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/update_loan','0.008558988571167','2016-08-17 17:26:02'),(15883,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000003\', 1, \'bayar ceti haram dengan pety cash 400\', NULL, NULL, 400, \'1\', \'1\', \'400\', \'08\', \'2016\', \'1\', \'OP-L[00000029]\', NULL, \'User\')','loanReceive/update_loan','0.009972095489502','2016-08-17 17:26:02'),(15884,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000003\', \'bayar ceti haram dengan pety cash 400\', \'33077\', NULL, 400, \'1\', \'1\', \'400\', \'08\', \'2016\', \'OP-L[00000029]\', \'1\', NULL, \'User\')','loanReceive/update_loan','0.010612964630127','2016-08-17 17:26:02'),(15885,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 400, `total_amount_cr` = 400, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000003\'','loanReceive/update_loan','0.011990070343018','2016-08-17 17:26:02'),(15886,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2123\'','loanReceive/update_loan','0.029242992401123','2016-08-17 17:26:02'),(15887,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11069','loanReceive/update_loan','0.012053966522217','2016-08-17 17:26:02'),(15888,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000003\'','loanReceive/update_loan','0.012497901916504','2016-08-17 17:26:02'),(15889,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', NULL, NULL, \'2016\', \'8\', \'0\', \'400\', -400, \'User\', \'2016-08-17: 11:08:02\')','loanReceive/update_loan','0.032984018325806','2016-08-17 17:26:02'),(15890,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'33077\', \'2016\', \'8\', \'400\', \'0\', 400, \'User\', \'2016-08-17: 11:08:02\')','loanReceive/update_loan','0.010973930358887','2016-08-17 17:26:02'),(15891,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'32578\', \'10\', \'LR\', \'108\', \'12\', 3)','loanReceive/save_new_loan','0.18021702766418','2016-08-17 17:40:01'),(15892,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountIncludedTax`, `description`) VALUES (2134, 1, \'32572\', \'10\', \'loan mara masuk bank 1 10\')','loanReceive/save_new_loan','0.011178016662598','2016-08-17 17:40:01'),(15893,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.021527051925659','2016-08-17 17:40:01'),(15894,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000004\' WHERE `ID` =  2134','loanReceive/save_new_loan','0.0083928108215332','2016-08-17 17:40:01'),(15895,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000004\', \' [LR[00000008]]]\', \'Loan Received [  [LR[00000008]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.028837919235229','2016-08-17 17:40:01'),(15896,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2134','loanReceive/save_new_loan','0.0084478855133057','2016-08-17 17:40:01'),(15897,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11070','loanReceive/save_new_loan','0.0078599452972412','2016-08-17 17:40:01'),(15898,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000004\'','loanReceive/save_new_loan','0.01171088218689','2016-08-17 17:40:01'),(15899,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'32572\', \'20\', \'LR\', \'108\', \'12\', 3)','loanReceive/save_new_loan','0.055315017700195','2016-08-17 17:56:34'),(15900,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountIncludedTax`, `description`) VALUES (2135, 1, \'32578\', \'20\', \'loan mara masuk bank 1 10\')','loanReceive/save_new_loan','0.010799884796143','2016-08-17 17:56:34'),(15901,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.026948928833008','2016-08-17 17:56:34'),(15902,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000005\' WHERE `ID` =  2135','loanReceive/save_new_loan','0.01922082901001','2016-08-17 17:56:34'),(15903,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000005\', \' [LR[00000009]]]\', \'Loan Received [  [LR[00000009]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.02632999420166','2016-08-17 17:56:34'),(15904,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2135','loanReceive/save_new_loan','0.024794101715088','2016-08-17 17:56:34'),(15905,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11071','loanReceive/save_new_loan','0.027267932891846','2016-08-17 17:56:34'),(15906,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000005\'','loanReceive/save_new_loan','0.0003659725189209','2016-08-17 17:56:34'),(15907,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'111\', \'85\', \'LR\', \'32580\', \'12\', 3)','loanReceive/save_new_loan','0.063781976699829','2016-08-17 18:31:57'),(15908,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountIncludedTax`, `description`) VALUES (2136, 1, \'32575\', \'85\', \'\')','loanReceive/save_new_loan','0.016181945800781','2016-08-17 18:31:57'),(15909,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.026365995407104','2016-08-17 18:31:57'),(15910,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000006\' WHERE `ID` =  2136','loanReceive/save_new_loan','0.024453163146973','2016-08-17 18:31:57'),(15911,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000006\', \' [LR[00000010]]]\', \'Loan Received [  [LR[00000010]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.029372215270996','2016-08-17 18:31:57'),(15912,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2136','loanReceive/save_new_loan','0.024493932723999','2016-08-17 18:31:57'),(15913,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11072','loanReceive/save_new_loan','0.02509593963623','2016-08-17 18:31:57'),(15914,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000006\'','loanReceive/save_new_loan','0.001147985458374','2016-08-17 18:31:57'),(15915,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'110\', \'52\', \'LR\', \'Pinjaman Mara	\', \'12\', 3)','loanReceive/save_new_loan','0.013393878936768','2016-08-17 18:41:31'),(15916,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountIncludedTax`, `description`) VALUES (2137, 1, \'32578\', \'52\', \'mara ke bank 3\')','loanReceive/save_new_loan','0.01896595954895','2016-08-17 18:41:31'),(15917,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.028017997741699','2016-08-17 18:41:31'),(15918,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000007\' WHERE `ID` =  2137','loanReceive/save_new_loan','0.017222881317139','2016-08-17 18:41:31'),(15919,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000007\', \' [LR[00000011]]]\', \'Loan Received [  [LR[00000011]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.0099830627441406','2016-08-17 18:41:31'),(15920,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2137','loanReceive/save_new_loan','0.018944978713989','2016-08-17 18:41:31'),(15921,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11073','loanReceive/save_new_loan','0.024501085281372','2016-08-17 18:41:31'),(15922,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000007\'','loanReceive/save_new_loan','0.01216197013855','2016-08-17 18:41:31'),(15923,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'58\', \'LR\', \'Loan 5	\', \'12\', 3)','loanReceive/save_new_loan','0.26664805412292','2016-08-17 18:46:06'),(15924,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2138, 1, \'32582\', \'58\', \'loan5 ke bank1 rm58\')','loanReceive/save_new_loan','0.018557071685791','2016-08-17 18:46:07'),(15925,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.021831035614014','2016-08-17 18:46:07'),(15926,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000008\' WHERE `ID` =  2138','loanReceive/save_new_loan','0.016136169433594','2016-08-17 18:46:07'),(15927,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000008\', \' [LR[00000008]]]\', \'Loan Received [  [LR[00000008]]] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 0, 0, \'User\')','loanReceive/save_new_loan','0.046088933944702','2016-08-17 18:46:07'),(15928,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2138','loanReceive/save_new_loan','0.030668020248413','2016-08-17 18:46:07'),(15929,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11074','loanReceive/save_new_loan','0.018915891647339','2016-08-17 18:46:07'),(15930,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000008\'','loanReceive/save_new_loan','0.018950939178467','2016-08-17 18:46:07'),(15931,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'110\', \'85\', \'LR\', \'Pinjaman Mara	\', \'12\', 3)','loanReceive/save_new_loan','0.10310411453247','2016-08-17 18:58:38'),(15932,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2139, 1, \'32578\', \'85\', \'mara ke bank3 rm85\')','loanReceive/save_new_loan','0.016176223754883','2016-08-17 18:58:38'),(15933,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.011101961135864','2016-08-17 18:58:38'),(15934,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000009\' WHERE `ID` =  2139','loanReceive/save_new_loan','0.018470048904419','2016-08-17 18:58:38'),(15935,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000009\', \'LR[00000009]\', \'Loan Received [ LR[00000009] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 85, 85, \'User\')','loanReceive/save_new_loan','0.027137994766235','2016-08-17 18:58:38'),(15936,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2139','loanReceive/save_new_loan','0.018461942672729','2016-08-17 18:58:38'),(15937,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11075','loanReceive/save_new_loan','0.016752004623413','2016-08-17 18:58:38'),(15938,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000009\'','loanReceive/save_new_loan','0.011708974838257','2016-08-17 18:58:38'),(15939,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'112\', \'99\', \'LR\', \'Loan 2	\', \'12\', 3)','loanReceive/save_new_loan','0.078484058380127','2016-08-17 19:03:40'),(15940,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2140, 1, \'32579\', \'99\', \'loan 2 masuk pc 2 rm99\')','loanReceive/save_new_loan','0.016177892684937','2016-08-17 19:03:40'),(15941,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.031481027603149','2016-08-17 19:03:40'),(15942,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000010\' WHERE `ID` =  2140','loanReceive/save_new_loan','0.0244460105896','2016-08-17 19:03:40'),(15943,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000010\', \'LR[00000010]\', \'Loan Received [ LR[00000010] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 99, 99, \'User\')','loanReceive/save_new_loan','0.029405117034912','2016-08-17 19:03:40'),(15944,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2140','loanReceive/save_new_loan','0.024541854858398','2016-08-17 19:03:40'),(15945,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11076','loanReceive/save_new_loan','0.022824048995972','2016-08-17 19:03:40'),(15946,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000010\'','loanReceive/save_new_loan','0.0013329982757568','2016-08-17 19:03:40'),(15947,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'88\', \'LR\', \'Loan 2	\', \'12\', 3)','loanReceive/save_new_loan','0.14255499839783','2016-08-17 19:06:04'),(15948,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2142, 1, \'32579\', \'88\', \'loan 2 bank1 rm88\')','loanReceive/save_new_loan','0.028949975967407','2016-08-17 19:06:04'),(15949,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.023676872253418','2016-08-17 19:06:04'),(15950,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000011\' WHERE `ID` =  2142','loanReceive/save_new_loan','0.024791955947876','2016-08-17 19:06:04'),(15951,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000011\', \'LR[00000011]\', \'Loan Received [ LR[00000011] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 88, 88, \'User\')','loanReceive/save_new_loan','0.014600992202759','2016-08-17 19:06:04'),(15952,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2142','loanReceive/save_new_loan','0.024533987045288','2016-08-17 19:06:04'),(15953,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11078','loanReceive/save_new_loan','0.016775131225586','2016-08-17 19:06:04'),(15954,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000011\'','loanReceive/save_new_loan','0.00038599967956543','2016-08-17 19:06:04'),(15955,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'111\', \'456\', \'LR\', \'Loan 2	\', \'12\', 3)','loanReceive/save_new_loan','0.093302011489868','2016-08-17 19:09:32'),(15956,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2143, 1, \'32579\', \'456\', \'\')','loanReceive/save_new_loan','0.016769170761108','2016-08-17 19:09:32'),(15957,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.030524969100952','2016-08-17 19:09:32'),(15958,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000012\' WHERE `ID` =  2143','loanReceive/save_new_loan','0.016743183135986','2016-08-17 19:09:32'),(15959,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000012\', \'LR[00000012]\', \'Loan Received [ LR[00000012] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 456, 456, \'User\')','loanReceive/save_new_loan','0.010334014892578','2016-08-17 19:09:32'),(15960,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2143','loanReceive/save_new_loan','0.026941061019897','2016-08-17 19:09:32'),(15961,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11079','loanReceive/save_new_loan','0.024508953094482','2016-08-17 19:09:32'),(15962,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000012\'','loanReceive/save_new_loan','0.00039100646972656','2016-08-17 19:09:32'),(15963,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'111\', \'13\', \'LR\', \'Pinjaman Mara	\', \'12\', 3)','loanReceive/save_new_loan','0.096951961517334','2016-08-17 19:14:15'),(15964,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2144, 1, \'32578\', \'13\', \'\')','loanReceive/save_new_loan','0.016790866851807','2016-08-17 19:14:15'),(15965,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.016512155532837','2016-08-17 19:14:15'),(15966,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000013\' WHERE `ID` =  2144','loanReceive/save_new_loan','0.025058031082153','2016-08-17 19:14:15'),(15967,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000013\', \'LR[00000013]\', \'Loan Received [ LR[00000013] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 13, 13, \'User\')','loanReceive/save_new_loan','0.010390043258667','2016-08-17 19:14:15'),(15968,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2144','loanReceive/save_new_loan','0.018560886383057','2016-08-17 19:14:15'),(15969,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11080','loanReceive/save_new_loan','0.024467945098877','2016-08-17 19:14:15'),(15970,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000013\'','loanReceive/save_new_loan','0.00041103363037109','2016-08-17 19:14:15'),(15971,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'109\', \'89\', \'LR\', \'Pinjaman Mara	\', \'12\', 3)','loanReceive/save_new_loan','0.020883083343506','2016-08-17 19:17:44'),(15972,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2145, 1, \'32578\', \'89\', \'98\')','loanReceive/save_new_loan','0.018446207046509','2016-08-17 19:17:44'),(15973,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.027116060256958','2016-08-17 19:17:44'),(15974,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000014\' WHERE `ID` =  2145','loanReceive/save_new_loan','0.025089979171753','2016-08-17 19:17:44'),(15975,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000014\', \'LR[00000014]\', \'Loan Received [ LR[00000014] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 89, 89, \'User\')','loanReceive/save_new_loan','0.01052188873291','2016-08-17 19:17:44'),(15976,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2145','loanReceive/save_new_loan','0.13062119483948','2016-08-17 19:17:44'),(15977,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11081','loanReceive/save_new_loan','0.037272930145264','2016-08-17 19:17:44'),(15978,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000014\'','loanReceive/save_new_loan','0.00040197372436523','2016-08-17 19:17:44'),(15979,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'112\', \'89\', \'LR\', \'Loan 2	\', \'12\', 3)','loanReceive/save_new_loan','0.095546007156372','2016-08-17 19:19:29'),(15980,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2146, 1, \'32579\', \'89\', \'\')','loanReceive/save_new_loan','0.016779899597168','2016-08-17 19:19:29'),(15981,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.029010057449341','2016-08-17 19:19:29'),(15982,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000015\' WHERE `ID` =  2146','loanReceive/save_new_loan','0.018442869186401','2016-08-17 19:19:29'),(15983,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000015\', \'LR[00000015]\', \'Loan Received [ LR[00000015] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 89, 89, \'User\')','loanReceive/save_new_loan','0.010411024093628','2016-08-17 19:19:29'),(15984,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2146','loanReceive/save_new_loan','0.024813890457153','2016-08-17 19:19:29'),(15985,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11082','loanReceive/save_new_loan','0.018185138702393','2016-08-17 19:19:29'),(15986,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000015\'','loanReceive/save_new_loan','0.00039792060852051','2016-08-17 19:19:29'),(15987,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'89\', \'LR\', \'Pinjaman Mara	\', \'12\', 3)','loanReceive/save_new_loan','0.016143798828125','2016-08-17 19:23:00'),(15988,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2147, 1, \'32578\', \'89\', \'\')','loanReceive/save_new_loan','0.018054962158203','2016-08-17 19:23:00'),(15989,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.013216972351074','2016-08-17 19:23:00'),(15990,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000016\' WHERE `ID` =  2147','loanReceive/save_new_loan','0.026466846466064','2016-08-17 19:23:00'),(15991,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000016\', \'LR[00000016]\', \'Loan Received [ LR[00000016] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 89, 89, \'User\')','loanReceive/save_new_loan','0.021078109741211','2016-08-17 19:23:00'),(15992,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2147','loanReceive/save_new_loan','0.016157150268555','2016-08-17 19:23:00'),(15993,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11083','loanReceive/save_new_loan','0.025077104568481','2016-08-17 19:23:00'),(15994,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000016\'','loanReceive/save_new_loan','0.00040388107299805','2016-08-17 19:23:00'),(15995,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'89\', \'LR\', \'Pinjaman Mara	\', \'12\', 3)','loanReceive/save_new_loan','0.14452409744263','2016-08-17 19:23:40'),(15996,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2148, 1, \'32578\', \'89\', \'\')','loanReceive/save_new_loan','0.016183137893677','2016-08-17 19:23:41'),(15997,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.019512891769409','2016-08-17 19:23:41'),(15998,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000017\' WHERE `ID` =  2148','loanReceive/save_new_loan','0.016128063201904','2016-08-17 19:23:41'),(15999,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000017\', \'LR[00000017]\', \'Loan Received [ LR[00000017] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 89, 89, \'User\')','loanReceive/save_new_loan','0.010816097259521','2016-08-17 19:23:41'),(16000,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2148','loanReceive/save_new_loan','0.018162965774536','2016-08-17 19:23:41'),(16001,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11084','loanReceive/save_new_loan','0.016737937927246','2016-08-17 19:23:41'),(16002,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.0096650123596191','2016-08-17 19:23:41'),(16003,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'89\', \'LR\', \'Pinjaman Mara	\', \'12\', 3)','loanReceive/save_new_loan','0.09072208404541','2016-08-17 19:24:40'),(16004,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2149, 1, \'32578\', \'89\', \'\')','loanReceive/save_new_loan','0.025125980377197','2016-08-17 19:24:40'),(16005,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.016053915023804','2016-08-17 19:24:40'),(16006,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000018\' WHERE `ID` =  2149','loanReceive/save_new_loan','0.016742944717407','2016-08-17 19:24:40'),(16007,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000018\', \'LR[00000018]\', \'Loan Received [ LR[00000018] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 89, 89, \'User\')','loanReceive/save_new_loan','0.010514974594116','2016-08-17 19:24:40'),(16008,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2149','loanReceive/save_new_loan','0.018442869186401','2016-08-17 19:24:40'),(16009,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11085','loanReceive/save_new_loan','0.016177892684937','2016-08-17 19:24:40'),(16010,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000018\'','loanReceive/save_new_loan','0.00036406517028809','2016-08-17 19:24:40'),(16011,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'11111112\', \'LR\', \'Loan 3	\', \'12\', 3)','loanReceive/save_new_loan','0.097718954086304','2016-08-17 20:15:11'),(16012,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2161, 1, \'32580\', \'11111112\', \'11111112\')','loanReceive/save_new_loan','0.045228004455566','2016-08-17 20:15:11'),(16013,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.024303913116455','2016-08-17 20:15:11'),(16014,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000025\' WHERE `ID` =  2161','loanReceive/save_new_loan','0.016144037246704','2016-08-17 20:15:11'),(16015,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000025\', \'LR[00000030]\', \'Loan Received [ LR[00000030] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 11111112, 11111112, \'User\')','loanReceive/save_new_loan','0.010993003845215','2016-08-17 20:15:11'),(16016,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000025\', 1, \'11111112\', \'32580\', \'Loan 3	\', 11111112, \'1\', \'1\', \'11111112\', \'08\', \'2016\', \'1\', \'LR[00000030]\', \'0\', \'User\')','loanReceive/save_new_loan','0.017582893371582','2016-08-17 20:15:11'),(16017,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000025\', \'11111112\', \'32572\', \'Loan 3	\', 11111112, \'1\', \'1\', \'11111112\', \'08\', \'2016\', \'LR[00000030]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016469955444336','2016-08-17 20:15:11'),(16018,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 11111112, `total_amount_cr` = 11111112, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000025\'','loanReceive/save_new_loan','0.024436950683594','2016-08-17 20:15:11'),(16019,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2161','loanReceive/save_new_loan','0.016770124435425','2016-08-17 20:15:11'),(16020,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11092','loanReceive/save_new_loan','0.024534940719604','2016-08-17 20:15:11'),(16021,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000025\'','loanReceive/save_new_loan','0.016678810119629','2016-08-17 20:15:11'),(16022,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32580\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022477865219116','2016-08-17 20:15:11'),(16023,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015594005584717','2016-08-17 20:15:11'),(16024,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'111111123\', \'LR\', \'Loan 3	\', \'12\', 3)','loanReceive/save_new_loan','0.14211082458496','2016-08-17 20:29:56'),(16025,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2162, 1, \'32580\', \'111111123\', \'111111123\')','loanReceive/save_new_loan','0.045186042785645','2016-08-17 20:29:56'),(16026,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.022385835647583','2016-08-17 20:29:56'),(16027,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000026\' WHERE `ID` =  2162','loanReceive/save_new_loan','0.016178131103516','2016-08-17 20:29:56'),(16028,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000026\', \'LR[00000031]\', \'Loan Received [ LR[00000031] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 111111123, 111111123, \'User\')','loanReceive/save_new_loan','0.011003017425537','2016-08-17 20:29:56'),(16029,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000026\', 1, \'111111123\', \'32580\', \'Loan 3	\', 111111123, \'1\', \'1\', \'111111123\', \'08\', \'2016\', \'1\', \'LR[00000031]\', \'0\', \'User\')','loanReceive/save_new_loan','0.017570018768311','2016-08-17 20:29:56'),(16030,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000026\', \'111111123\', \'32572\', \'Loan 3	\', 111111123, \'1\', \'1\', \'111111123\', \'08\', \'2016\', \'LR[00000031]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016477108001709','2016-08-17 20:29:56'),(16031,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 111111123, `total_amount_cr` = 111111123, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000026\'','loanReceive/save_new_loan','0.01610803604126','2016-08-17 20:29:56'),(16032,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2162','loanReceive/save_new_loan','0.016759872436523','2016-08-17 20:29:56'),(16033,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11093','loanReceive/save_new_loan','0.024518966674805','2016-08-17 20:29:56'),(16034,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000026\'','loanReceive/save_new_loan','0.01671290397644','2016-08-17 20:29:56'),(16035,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32580\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.011250019073486','2016-08-17 20:29:56'),(16036,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.017096996307373','2016-08-17 20:29:56'),(16037,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'1111111234\', \'LR\', \'Loan 3	\', \'12\', 3)','loanReceive/save_new_loan','0.047261953353882','2016-08-17 20:32:14'),(16038,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2163, 1, \'32580\', \'1111111234\', \'1111111234\')','loanReceive/save_new_loan','0.025892972946167','2016-08-17 20:32:14'),(16039,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.017560005187988','2016-08-17 20:32:14'),(16040,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000027\' WHERE `ID` =  2163','loanReceive/save_new_loan','0.017834901809692','2016-08-17 20:32:14'),(16041,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000027\', \'LR[00000032]\', \'Loan Received [ LR[00000032] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 1111111234, 1111111234, \'User\')','loanReceive/save_new_loan','0.011084079742432','2016-08-17 20:32:14'),(16042,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000027\', 1, \'1111111234\', \'32580\', \'Loan 3	\', 1111111234, \'1\', \'1\', \'1111111234\', \'08\', \'2016\', \'1\', \'LR[00000032]\', \'0\', \'User\')','loanReceive/save_new_loan','0.0174880027771','2016-08-17 20:32:14'),(16043,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000027\', \'1111111234\', \'32572\', \'Loan 3	\', 1111111234, \'1\', \'1\', \'1111111234\', \'08\', \'2016\', \'LR[00000032]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016463994979858','2016-08-17 20:32:14'),(16044,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1111111234, `total_amount_cr` = 1111111234, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000027\'','loanReceive/save_new_loan','0.016113996505737','2016-08-17 20:32:14'),(16045,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2163','loanReceive/save_new_loan','0.016762971878052','2016-08-17 20:32:14'),(16046,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11094','loanReceive/save_new_loan','0.024527072906494','2016-08-17 20:32:14'),(16047,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000027\'','loanReceive/save_new_loan','0.025007009506226','2016-08-17 20:32:14'),(16048,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32580\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.012855052947998','2016-08-17 20:32:14'),(16049,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.017030954360962','2016-08-17 20:32:14'),(16050,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'11111112345\', \'LR\', \'Loan 3	\', \'12\', 3)','loanReceive/save_new_loan','0.23685193061829','2016-08-17 20:33:13'),(16051,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2164, 1, \'32580\', \'11111112345\', \'11111112345\')','loanReceive/save_new_loan','0.033447980880737','2016-08-17 20:33:13'),(16052,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.030050039291382','2016-08-17 20:33:13'),(16053,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000028\' WHERE `ID` =  2164','loanReceive/save_new_loan','0.034727096557617','2016-08-17 20:33:13'),(16054,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000028\', \'LR[00000033]\', \'Loan Received [ LR[00000033] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 11111112345, 11111112345, \'User\')','loanReceive/save_new_loan','0.045471906661987','2016-08-17 20:33:13'),(16055,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000028\', 1, \'11111112345\', \'32580\', \'Loan 3	\', 11111112345, \'1\', \'1\', \'11111112345\', \'08\', \'2016\', \'1\', \'LR[00000033]\', \'0\', \'User\')','loanReceive/save_new_loan','0.016409873962402','2016-08-17 20:33:13'),(16056,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000028\', \'11111112345\', \'32572\', \'Loan 3	\', 11111112345, \'1\', \'1\', \'11111112345\', \'08\', \'2016\', \'LR[00000033]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.015887022018433','2016-08-17 20:33:13'),(16057,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 11111112345, `total_amount_cr` = 11111112345, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000028\'','loanReceive/save_new_loan','0.016682863235474','2016-08-17 20:33:13'),(16058,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2164','loanReceive/save_new_loan','0.01618480682373','2016-08-17 20:33:13'),(16059,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11095','loanReceive/save_new_loan','0.025100946426392','2016-08-17 20:33:13'),(16060,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000028\'','loanReceive/save_new_loan','0.016136884689331','2016-08-17 20:33:13'),(16061,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32580\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.014775991439819','2016-08-17 20:33:13'),(16062,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015103101730347','2016-08-17 20:33:13'),(16063,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-17\', \'108\', \'111111123456\', \'LR\', \'Loan 3	\', \'12\', 3)','loanReceive/save_new_loan','0.091252088546753','2016-08-17 20:37:29'),(16064,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2165, 1, \'32580\', \'111111123456\', \'111111123456\')','loanReceive/save_new_loan','0.01673698425293','2016-08-17 20:37:29'),(16065,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.012017965316772','2016-08-17 20:37:29'),(16066,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000029\' WHERE `ID` =  2165','loanReceive/save_new_loan','0.017984867095947','2016-08-17 20:37:29'),(16067,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000029\', \'LR[00000034]\', \'Loan Received [ LR[00000034] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 111111123456, 111111123456, \'User\')','loanReceive/save_new_loan','0.028811931610107','2016-08-17 20:37:29'),(16068,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000029\', 1, \'111111123456\', \'32580\', \'Loan 3	\', 111111123456, \'1\', \'1\', \'111111123456\', \'08\', \'2016\', \'1\', \'LR[00000034]\', \'0\', \'User\')','loanReceive/save_new_loan','0.024784088134766','2016-08-17 20:37:29'),(16069,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000029\', \'111111123456\', \'32572\', \'Loan 3	\', 111111123456, \'1\', \'1\', \'111111123456\', \'08\', \'2016\', \'LR[00000034]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.015895128250122','2016-08-17 20:37:29'),(16070,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 111111123456, `total_amount_cr` = 111111123456, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000029\'','loanReceive/save_new_loan','0.023471832275391','2016-08-17 20:37:29'),(16071,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2165','loanReceive/save_new_loan','0.017719984054565','2016-08-17 20:37:29'),(16072,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11096','loanReceive/save_new_loan','0.016758918762207','2016-08-17 20:37:29'),(16073,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000029\'','loanReceive/save_new_loan','0.024455070495605','2016-08-17 20:37:29'),(16074,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32580\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.013240098953247','2016-08-17 20:37:29'),(16075,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.016653060913086','2016-08-17 20:37:29'),(16076,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.014133930206299','2016-08-18 09:03:42'),(16077,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052595138549805','2016-08-18 09:03:42'),(16078,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053095817565918','2016-08-18 09:03:42'),(16079,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00051617622375488','2016-08-18 09:03:42'),(16080,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10307383537292','2016-08-18 09:03:42'),(16081,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042184114456177','2016-08-18 09:03:42'),(16082,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.042263031005859','2016-08-18 09:03:42'),(16083,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.040611028671265','2016-08-18 09:03:42'),(16084,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.31974911689758','2016-08-18 09:03:42'),(16085,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0015370845794678','2016-08-18 09:03:42'),(16086,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0014579296112061','2016-08-18 09:03:42'),(16087,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.039138793945312','2016-08-18 09:03:47'),(16088,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 09:03:47'),(16089,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 09:03:47'),(16090,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 09:03:47'),(16091,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 09:03:47'),(16092,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 09:03:47'),(16093,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-18 09:03:47'),(16094,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 09:03:47'),(16095,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 09:03:47'),(16096,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 09:03:47'),(16097,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 09:03:47'),(16098,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 09:03:47'),(16099,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00063300132751465','2016-08-18 09:03:49'),(16100,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-18 09:03:49'),(16101,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 09:03:49'),(16102,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 09:03:49'),(16103,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 09:03:49'),(16104,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 09:03:49'),(16105,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-18 09:03:49'),(16106,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 09:03:49'),(16107,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 09:03:49'),(16108,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 09:03:49'),(16109,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 09:03:49'),(16110,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 09:03:49'),(16111,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058603286743164','2016-08-18 09:03:54'),(16112,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058507919311523','2016-08-18 09:03:56'),(16113,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 09:03:56'),(16114,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 09:03:56'),(16115,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-18 09:03:56'),(16116,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-18 09:03:56'),(16117,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 09:03:56'),(16118,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 09:03:56'),(16119,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 09:03:56'),(16120,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-18 09:03:56'),(16121,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 09:03:56'),(16122,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-18 09:03:56'),(16123,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-18 09:03:56'),(16124,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-18 09:03:56'),(16125,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 09:03:56'),(16126,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00058388710021973','2016-08-18 09:03:56'),(16127,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-18 09:03:56'),(16128,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 09:03:56'),(16129,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 09:03:56'),(16130,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 09:03:56'),(16131,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 09:03:56'),(16132,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00096702575683594','2016-08-18 09:03:56'),(16133,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-18 09:03:56'),(16134,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-18 09:03:56'),(16135,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 09:03:56'),(16136,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 09:03:56'),(16137,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-18 09:03:56'),(16138,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-18 09:03:56'),(16139,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 09:03:56'),(16140,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-18 09:03:56'),(16141,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 09:03:56'),(16142,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-18 09:03:56'),(16143,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00058197975158691','2016-08-18 09:03:56'),(16144,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047993659973145','2016-08-18 09:03:56'),(16145,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045108795166016','2016-08-18 09:03:56'),(16146,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045680999755859','2016-08-18 09:03:56'),(16147,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00045418739318848','2016-08-18 09:03:56'),(16148,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00044488906860352','2016-08-18 09:03:56'),(16149,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.11589288711548','2016-08-18 09:04:02'),(16150,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-18 09:04:02'),(16151,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014050006866455','2016-08-18 09:04:02'),(16152,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-18 09:04:02'),(16153,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-18 09:04:02'),(16154,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-18 09:04:02'),(16155,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-18 09:04:02'),(16156,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013790130615234','2016-08-18 09:04:02'),(16157,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013720989227295','2016-08-18 09:04:02'),(16158,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-18 09:04:02'),(16159,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-18 09:04:02'),(16160,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-18 09:04:02'),(16161,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015549659729004','2016-08-18 09:04:04'),(16162,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 09:04:04'),(16163,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-18 09:04:04'),(16164,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-18 09:04:04'),(16165,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013501644134521','2016-08-18 09:04:04'),(16166,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-18 09:04:04'),(16167,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013358592987061','2016-08-18 09:04:04'),(16168,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-18 09:04:04'),(16169,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001356840133667','2016-08-18 09:04:04'),(16170,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-18 09:04:04'),(16171,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 09:04:04'),(16172,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 09:04:04'),(16173,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0046751499176025','2016-08-18 09:04:07'),(16174,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040571689605713','2016-08-18 09:04:07'),(16175,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040369033813477','2016-08-18 09:04:07'),(16176,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039498805999756','2016-08-18 09:04:07'),(16177,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039339065551758','2016-08-18 09:04:07'),(16178,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039410591125488','2016-08-18 09:04:07'),(16179,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039968490600586','2016-08-18 09:04:07'),(16180,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039641857147217','2016-08-18 09:04:07'),(16181,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039398670196533','2016-08-18 09:04:07'),(16182,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040249824523926','2016-08-18 09:04:07'),(16183,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00394606590271','2016-08-18 09:04:07'),(16184,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039389133453369','2016-08-18 09:04:07'),(16185,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042200088500977','2016-08-18 09:04:09'),(16186,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039389133453369','2016-08-18 09:04:09'),(16187,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039448738098145','2016-08-18 09:04:09'),(16188,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039620399475098','2016-08-18 09:04:09'),(16189,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003943920135498','2016-08-18 09:04:09'),(16190,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039339065551758','2016-08-18 09:04:09'),(16191,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039300918579102','2016-08-18 09:04:09'),(16192,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039331912994385','2016-08-18 09:04:09'),(16193,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039389133453369','2016-08-18 09:04:09'),(16194,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039958953857422','2016-08-18 09:04:09'),(16195,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040009021759033','2016-08-18 09:04:09'),(16196,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039288997650146','2016-08-18 09:04:09'),(16197,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015730857849121','2016-08-18 09:04:14'),(16198,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041220188140869','2016-08-18 09:04:14'),(16199,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-18 09:04:21'),(16200,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-18 09:04:21'),(16201,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 09:04:21'),(16202,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 09:04:21'),(16203,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 09:04:21'),(16204,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 09:04:21'),(16205,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051116943359375','2016-08-18 09:04:21'),(16206,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 09:04:21'),(16207,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 09:04:21'),(16208,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 09:04:21'),(16209,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 09:04:21'),(16210,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 09:04:21'),(16211,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043900012969971','2016-08-18 09:04:21'),(16212,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042290687561035','2016-08-18 09:04:21'),(16213,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042920112609863','2016-08-18 09:04:21'),(16214,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042920112609863','2016-08-18 09:04:21'),(16215,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043189525604248','2016-08-18 09:04:21'),(16216,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042128562927246','2016-08-18 09:04:21'),(16217,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042920112609863','2016-08-18 09:04:21'),(16218,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042929649353027','2016-08-18 09:04:21'),(16219,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042920112609863','2016-08-18 09:04:21'),(16220,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042910575866699','2016-08-18 09:04:21'),(16221,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043239593505859','2016-08-18 09:04:21'),(16222,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042228698730469','2016-08-18 09:04:21'),(16223,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'101\', \'OP-C\', \'2016-08-18\', \'148\', \'1\')','expenses/saveExpense','0.070547103881836','2016-08-18 09:17:30'),(16224,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2126, \'28\', \'COGS1\', 1, \'33019\', \'101\', \'101\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016681909561157','2016-08-18 09:17:31'),(16225,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  \'314\'','expenses/saveExpense','0.016682863235474','2016-08-18 09:17:31'),(16226,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000045\' WHERE `ID` =  2126','expenses/saveExpense','0.01682186126709','2016-08-18 09:17:31'),(16227,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000045\', \'Cost of Goods Sold [OP-C[00000034]]\', \'Cost of Goods Sold [OP-C[00000034]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 101, 101, \'28\')','expenses/saveExpense','0.02039623260498','2016-08-18 09:17:31'),(16228,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000045\', 1, \'COGS1\', \'33007\', 101, 1, \'1\', \'101\', \'08\', \'16\', \'1\', \'OP-C[00000034]\', \'User\')','expenses/saveExpense','0.024805784225464','2016-08-18 09:17:31'),(16229,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000045\', 2, \'COGS1\', \'33019\', 101, 1, \'1\', \'101\', \'08\', \'16\', \'1\', \'OP-C[00000034]\', \'User\')','expenses/saveExpense','0.024688959121704','2016-08-18 09:17:31'),(16230,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 101, `total_amount_cr` = 101, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000045\'','expenses/saveExpense','0.016424894332886','2016-08-18 09:17:31'),(16231,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2126','expenses/saveExpense','0.016470193862915','2016-08-18 09:17:31'),(16232,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11115','expenses/saveExpense','0.033078908920288','2016-08-18 09:17:31'),(16233,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000045\'','expenses/saveExpense','0.024724006652832','2016-08-18 09:17:31'),(16234,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.048232078552246','2016-08-18 09:17:31'),(16235,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.13149094581604','2016-08-18 09:17:31'),(16236,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2126\'','expenses/removePayment','0.089469909667969','2016-08-18 09:18:48'),(16237,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48853\'','expenses/removePayment','0.051867008209229','2016-08-18 09:18:48'),(16238,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48854\'','expenses/removePayment','0.02468204498291','2016-08-18 09:18:48'),(16239,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11115\'','expenses/removePayment','0.03341007232666','2016-08-18 09:18:48'),(16240,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00059103965759277','2016-08-18 09:20:56'),(16241,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054001808166504','2016-08-18 09:20:56'),(16242,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053787231445312','2016-08-18 09:20:56'),(16243,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051712989807129','2016-08-18 09:20:56'),(16244,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.06414794921875','2016-08-18 09:20:56'),(16245,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.042157888412476','2016-08-18 09:20:56'),(16246,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.041913032531738','2016-08-18 09:20:56'),(16247,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.042348146438599','2016-08-18 09:20:56'),(16248,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.33985304832458','2016-08-18 09:20:56'),(16249,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049781799316406','2016-08-18 09:20:56'),(16250,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053095817565918','2016-08-18 09:20:56'),(16251,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.013576984405518','2016-08-18 09:21:01'),(16252,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-18 09:21:01'),(16253,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 09:21:01'),(16254,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 09:21:01'),(16255,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 09:21:01'),(16256,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-18 09:21:01'),(16257,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 09:21:01'),(16258,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 09:21:01'),(16259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 09:21:01'),(16260,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 09:21:01'),(16261,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-18 09:21:01'),(16262,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 09:21:01'),(16263,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-18 09:21:02'),(16264,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-18 09:21:02'),(16265,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 09:21:02'),(16266,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 09:21:02'),(16267,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 09:21:02'),(16268,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-18 09:21:02'),(16269,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-18 09:21:02'),(16270,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 09:21:02'),(16271,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 09:21:02'),(16272,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 09:21:02'),(16273,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-18 09:21:02'),(16274,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 09:21:02'),(16275,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058794021606445','2016-08-18 09:21:06'),(16276,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058388710021973','2016-08-18 09:21:07'),(16277,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 09:21:07'),(16278,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-18 09:21:07'),(16279,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-18 09:21:07'),(16280,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 09:21:07'),(16281,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 09:21:07'),(16282,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 09:21:07'),(16283,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-18 09:21:07'),(16284,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 09:21:07'),(16285,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 09:21:07'),(16286,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 09:21:07'),(16287,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-18 09:21:07'),(16288,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-18 09:21:07'),(16289,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`receiveFrom` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `e`.`acctName`\nFROM (`comp_receive_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nJOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.amount_cr <> 0\nJOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0010099411010742','2016-08-18 09:21:07'),(16290,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.031459093093872','2016-08-18 09:21:07'),(16291,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.012725830078125','2016-08-18 09:21:07'),(16292,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043511390686035','2016-08-18 09:21:07'),(16293,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051307678222656','2016-08-18 09:21:07'),(16294,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.042099952697754','2016-08-18 09:21:11'),(16295,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001230001449585','2016-08-18 09:21:11'),(16296,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001215934753418','2016-08-18 09:21:12'),(16297,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012140274047852','2016-08-18 09:21:12'),(16298,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.037091016769409','2016-08-18 09:21:12'),(16299,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042891502380371','2016-08-18 09:21:12'),(16300,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049114227294922','2016-08-18 09:21:12'),(16301,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountBalanceSummary','0.076107978820801','2016-08-18 09:21:20'),(16302,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountBalanceSummary%\"','glreports/accountBalanceSummary','0.011139869689941','2016-08-18 09:21:20'),(16303,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/accountBalanceSummary','0.00041794776916504','2016-08-18 09:21:20'),(16304,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountBalanceSummary','0.00088214874267578','2016-08-18 09:21:20'),(16305,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00047802925109863','2016-08-18 09:21:20'),(16306,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00048184394836426','2016-08-18 09:21:20'),(16307,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-18 09:21:20'),(16308,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045299530029297','2016-08-18 09:21:20'),(16309,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-18 09:21:20'),(16310,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044703483581543','2016-08-18 09:21:20'),(16311,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044894218444824','2016-08-18 09:21:20'),(16312,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044608116149902','2016-08-18 09:21:20'),(16313,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00045084953308105','2016-08-18 09:21:20'),(16314,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountBalanceSummary','0.00044798851013184','2016-08-18 09:21:20'),(16315,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `startDate` <= \'2016-08-18\'\nAND `endDate` >= \'2016-08-18\'\nLIMIT 1','glreports/accountBalanceSummary','0.011672973632812','2016-08-18 09:21:20'),(16316,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `startDate` <= \'2016-08-18\'\nAND `endDate` >= \'2016-08-18\'\nLIMIT 1','glreports/accountBalanceSummary','0.00041699409484863','2016-08-18 09:21:20'),(16317,25,32,'192.168.1.220','others','SELECT distinct financialYear\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` desc','glreports/accountBalanceSummary','0.00044393539428711','2016-08-18 09:21:20'),(16318,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `financialYear` =  2015\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00045394897460938','2016-08-18 09:21:20'),(16319,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`acctTypeID`, IFNULL((select openingBalanceDr from view_total_debitcredit where companyID = a.companyID and ID = a.ID and year =2016), 0) as oDebit, 0 as oCredit, IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebitPNL, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCreditPNL, sum(b.amountdr) as yeardebit, sum(b.amountcr) as yearcredit, IFNULL(sum(lastYr.amountdr), 0) as lastyeardebit, IFNULL(sum(lastYr.amountcr), 0) as lastyearcredit\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201601 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601\nLEFT OUTER JOIN `view_comp_acc_det` lastYr ON `lastYr`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) < 201601 and lastYr.year >= 2016\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'25\'\nGROUP BY `a`.`acctCode`\nORDER BY `a`.`acctCode`','glreports/accountBalanceSummary','0.16120386123657','2016-08-18 09:21:20'),(16320,25,32,'192.168.1.220','others','SELECT `b`.*, `a`.`ID` as jNo, `a`.`effective_date`, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = b.formNo and companyID = b.companyID LIMIT 0, 1), \"---\") as refNo, CONCAT((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = b.companyID \r\n and sam1.journalID = b.journalID \r\n and sam1.sequence = IF(b.sequence%2 = 0, b.sequence-1, b.sequence+1)), \' - \', b.description) AS description\nFROM (`comp_journal` a)\nJOIN `comp_journal_detail` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) <= \'201601\'\nAND CONCAT(a.year,LPAD(a.period,2,\"0\")) >= \'201601\'\nAND `a`.`status` =  1\nORDER BY `a`.`effective_date`, `a`.`journalID`, `sequence`','glreports/accountBalanceSummary','0.010598182678223','2016-08-18 09:21:20'),(16321,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.0004880428314209','2016-08-18 09:21:20'),(16322,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00039577484130859','2016-08-18 09:21:20'),(16323,25,32,'192.168.1.220','others','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctCode` =  120000000','glreports/accountBalanceSummary','0.00077915191650391','2016-08-18 09:21:20'),(16324,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountBalanceSummary','0.00046014785766602','2016-08-18 09:21:20'),(16325,25,32,'192.168.1.220','others','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'25\'\nORDER BY `financialYear` ASC','glreports/accountBalanceSummary','0.00035381317138672','2016-08-18 09:21:20'),(16326,25,32,'192.168.1.220','others','SELECT (sum(a.amountdr)-sum(a.amountcr)) openingBalance\nFROM (`view_comp_acc_det` a)\nWHERE `companyID` =  \'25\'\nAND `a`.`acctID` =  \'33056\'\nAND `a`.`year` < 2015\nAND `a`.`year` >= \'2016\'','glreports/accountBalanceSummary','0.032543182373047','2016-08-18 09:21:20'),(16327,25,32,'192.168.1.220','others','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'25\'\nAND `accountID` =  \'33056\'\nAND `year` =  \'2016\'','glreports/accountBalanceSummary','0.0003349781036377','2016-08-18 09:21:20'),(16328,25,32,'192.168.1.220','others','SELECT *, concat(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2), \" [\", acctName, \"]\") as fad\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nORDER BY `acctCode`','glreports/accountBalanceSummary','0.002140998840332','2016-08-18 09:21:20'),(16329,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/accountBalanceSummary','0.0005030632019043','2016-08-18 09:21:20'),(16330,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/accountBalanceSummary','0.00050711631774902','2016-08-18 09:21:20'),(16331,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'121\', \'OP-C\', \'2016-08-18\', \'148\', \'1\')','expenses/saveExpense','0.1006190776825','2016-08-18 09:23:57'),(16332,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2127, \'28\', \'121\', 1, \'33019\', \'121\', \'121\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.045808076858521','2016-08-18 09:23:58'),(16333,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  \'314\'','expenses/saveExpense','0.026520967483521','2016-08-18 09:23:58'),(16334,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000046\' WHERE `ID` =  2127','expenses/saveExpense','0.034189939498901','2016-08-18 09:23:58'),(16335,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000046\', \'Cost of Goods Sold [OP-C[00000035]]\', \'Cost of Goods Sold [OP-C[00000035]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 121, 121, \'28\')','expenses/saveExpense','0.011454105377197','2016-08-18 09:23:58'),(16336,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000046\', 1, \'121\', \'33007\', 121, 1, \'1\', \'121\', \'08\', \'16\', \'1\', \'OP-C[00000035]\', \'User\')','expenses/saveExpense','0.033805847167969','2016-08-18 09:23:58'),(16337,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000046\', 2, \'121\', \'33019\', 121, 1, \'1\', \'121\', \'08\', \'16\', \'1\', \'OP-C[00000035]\', \'User\')','expenses/saveExpense','0.016241073608398','2016-08-18 09:23:58'),(16338,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 121, `total_amount_cr` = 121, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000046\'','expenses/saveExpense','0.033066987991333','2016-08-18 09:23:58'),(16339,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2127','expenses/saveExpense','0.016468048095703','2016-08-18 09:23:58'),(16340,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11122','expenses/saveExpense','0.016474962234497','2016-08-18 09:23:58'),(16341,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000046\'','expenses/saveExpense','0.033056974411011','2016-08-18 09:23:58'),(16342,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013258934020996','2016-08-18 09:23:58'),(16343,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.033326864242554','2016-08-18 09:23:58'),(16344,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48867\'','expenses/saveExpense','0.033375024795532','2016-08-18 09:24:01'),(16345,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48868\'','expenses/saveExpense','0.016412019729614','2016-08-18 09:24:01'),(16346,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11122\'','expenses/saveExpense','0.033170938491821','2016-08-18 09:24:01'),(16347,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'121\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-18\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2127\'','expenses/saveExpense','0.02656102180481','2016-08-18 09:24:01'),(16348,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2127\', `createdBy` = \'28\', `itemdescription` = \'121\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'121\', `amountExcludedTax` = \'121\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2040\'','expenses/saveExpense','0.0003511905670166','2016-08-18 09:24:01'),(16349,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'314\'','expenses/saveExpense','0.014158010482788','2016-08-18 09:24:01'),(16350,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000047\' WHERE `ID` =  \'2127\'','expenses/saveExpense','0.01643705368042','2016-08-18 09:24:01'),(16351,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000047\', \'Cost of Goods Sold [OP-C[00000035]]\', \'Cost of Goods Sold [OP-C[00000035]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 121, 121, \'28\')','expenses/saveExpense','0.015399932861328','2016-08-18 09:24:01'),(16352,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000047\', 1, \'121\', \'33007\', 121, 1, \'1\', \'121\', \'08\', \'16\', \'1\', \'OP-C[00000035]\', \'User\')','expenses/saveExpense','0.016206026077271','2016-08-18 09:24:01'),(16353,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000047\', 2, \'121\', \'33019\', 121, 1, \'1\', \'121\', \'08\', \'16\', \'1\', \'OP-C[00000035]\', \'User\')','expenses/saveExpense','0.016228914260864','2016-08-18 09:24:01'),(16354,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 121, `total_amount_cr` = 121, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000047\'','expenses/saveExpense','0.041378974914551','2016-08-18 09:24:01'),(16355,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2127\'','expenses/saveExpense','0.01649808883667','2016-08-18 09:24:01'),(16356,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11123','expenses/saveExpense','0.016447067260742','2016-08-18 09:24:01'),(16357,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000047\'','expenses/saveExpense','0.016383171081543','2016-08-18 09:24:01'),(16358,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013567924499512','2016-08-18 09:24:01'),(16359,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.016371965408325','2016-08-18 09:24:01'),(16360,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48869\'','expenses/saveExpense','0.013681173324585','2016-08-18 09:24:03'),(16361,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48870\'','expenses/saveExpense','0.016462087631226','2016-08-18 09:24:03'),(16362,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11123\'','expenses/saveExpense','0.01645302772522','2016-08-18 09:24:03'),(16363,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'121\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-18\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2127\'','expenses/saveExpense','0.0191969871521','2016-08-18 09:24:03'),(16364,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2127\', `createdBy` = \'28\', `itemdescription` = \'121\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'121\', `amountExcludedTax` = \'121\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2040\'','expenses/saveExpense','0.00034785270690918','2016-08-18 09:24:03'),(16365,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'314\'','expenses/saveExpense','0.012809991836548','2016-08-18 09:24:03'),(16366,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000048\' WHERE `ID` =  \'2127\'','expenses/saveExpense','0.017699003219604','2016-08-18 09:24:03'),(16367,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000048\', \'Cost of Goods Sold [OP-C[00000035]]\', \'Cost of Goods Sold [OP-C[00000035]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 121, 121, \'28\')','expenses/saveExpense','0.015401124954224','2016-08-18 09:24:03'),(16368,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000048\', 1, \'121\', \'33007\', 121, 1, \'1\', \'121\', \'08\', \'16\', \'1\', \'OP-C[00000035]\', \'User\')','expenses/saveExpense','0.016173124313354','2016-08-18 09:24:03'),(16369,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000048\', 2, \'121\', \'33019\', 121, 1, \'1\', \'121\', \'08\', \'16\', \'1\', \'OP-C[00000035]\', \'User\')','expenses/saveExpense','0.016152143478394','2016-08-18 09:24:03'),(16370,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 121, `total_amount_cr` = 121, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000048\'','expenses/saveExpense','0.016433954238892','2016-08-18 09:24:03'),(16371,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2127\'','expenses/saveExpense','0.016554832458496','2016-08-18 09:24:03'),(16372,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11124','expenses/saveExpense','0.016424179077148','2016-08-18 09:24:03'),(16373,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000048\'','expenses/saveExpense','0.016360998153687','2016-08-18 09:24:03'),(16374,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013611078262329','2016-08-18 09:24:03'),(16375,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.016355037689209','2016-08-18 09:24:03'),(16376,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1816\'','expenses/removePayment','0.025244951248169','2016-08-18 09:29:53'),(16377,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1835\'','expenses/removePayment','0.10703706741333','2016-08-18 09:29:53'),(16378,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1842\'','expenses/removePayment','0.017290115356445','2016-08-18 09:29:53'),(16379,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1839\'','expenses/removePayment','0.080012083053589','2016-08-18 09:29:53'),(16380,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47577\'','expenses/removePayment','0.016369819641113','2016-08-18 09:29:53'),(16381,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.00026893615722656','2016-08-18 09:29:53'),(16382,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47687\'','expenses/removePayment','0.043434858322144','2016-08-18 09:29:53'),(16383,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47578\'','expenses/removePayment','0.016610860824585','2016-08-18 09:29:53'),(16384,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47677\'','expenses/removePayment','0.07050609588623','2016-08-18 09:29:53'),(16385,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10582\'','expenses/removePayment','0.060420036315918','2016-08-18 09:29:53'),(16386,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47688\'','expenses/removePayment','0.083091974258423','2016-08-18 09:29:53'),(16387,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1832\'','expenses/removePayment','0.024706125259399','2016-08-18 09:29:53'),(16388,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47579\'','expenses/removePayment','0.049652814865112','2016-08-18 09:29:53'),(16389,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47678\'','expenses/removePayment','0.066335916519165','2016-08-18 09:29:53'),(16390,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10591\'','expenses/removePayment','0.049733877182007','2016-08-18 09:29:53'),(16391,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47635\'','expenses/removePayment','0.041887044906616','2016-08-18 09:29:53'),(16392,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47580\'','expenses/removePayment','0.066374063491821','2016-08-18 09:29:53'),(16393,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10586\'','expenses/removePayment','0.066467046737671','2016-08-18 09:29:53'),(16394,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47636\'','expenses/removePayment','0.099776983261108','2016-08-18 09:29:53'),(16395,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10554\'','expenses/removePayment','0.049830913543701','2016-08-18 09:29:53'),(16396,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47637\'','expenses/removePayment','0.091427803039551','2016-08-18 09:29:53'),(16397,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1833\'','expenses/removePayment','0.079502820968628','2016-08-18 09:29:53'),(16398,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47638\'','expenses/removePayment','0.074733972549438','2016-08-18 09:29:53'),(16399,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47653\'','expenses/removePayment','0.086908102035522','2016-08-18 09:29:53'),(16400,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10572\'','expenses/removePayment','0.090138912200928','2016-08-18 09:29:53'),(16401,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47654\'','expenses/removePayment','0.074701070785522','2016-08-18 09:29:53'),(16402,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47655\'','expenses/removePayment','0.13975882530212','2016-08-18 09:29:53'),(16403,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47656\'','expenses/removePayment','0.059731960296631','2016-08-18 09:29:53'),(16404,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1845\'','expenses/removePayment','0.043267011642456','2016-08-18 09:29:53'),(16405,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47657\'','expenses/removePayment','0.058090925216675','2016-08-18 09:29:53'),(16406,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1844\'','expenses/removePayment','0.033122777938843','2016-08-18 09:29:54'),(16407,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47658\'','expenses/removePayment','0.04980993270874','2016-08-18 09:29:54'),(16408,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47697\'','expenses/removePayment','0.026067018508911','2016-08-18 09:29:54'),(16409,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1843\'','expenses/removePayment','0.033828973770142','2016-08-18 09:29:54'),(16410,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1846\'','expenses/removePayment','0.020700216293335','2016-08-18 09:29:54'),(16411,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10577\'','expenses/removePayment','0.064785957336426','2016-08-18 09:29:54'),(16412,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47695\'','expenses/removePayment','0.026489019393921','2016-08-18 09:29:54'),(16413,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47698\'','expenses/removePayment','0.016385078430176','2016-08-18 09:29:54'),(16414,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47693\'','expenses/removePayment','0.026576042175293','2016-08-18 09:29:54'),(16415,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47699\'','expenses/removePayment','0.030669927597046','2016-08-18 09:29:54'),(16416,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1963\'','expenses/removePayment','0.045047044754028','2016-08-18 09:29:54'),(16417,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47696\'','expenses/removePayment','0.049801111221313','2016-08-18 09:29:54'),(16418,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10596\'','expenses/removePayment','0.033190011978149','2016-08-18 09:29:54'),(16419,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47694\'','expenses/removePayment','0.049467086791992','2016-08-18 09:29:54'),(16420,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47700\'','expenses/removePayment','0.033144950866699','2016-08-18 09:29:54'),(16421,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10594\'','expenses/removePayment','0.049793004989624','2016-08-18 09:29:54'),(16422,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10595\'','expenses/removePayment','0.033025979995728','2016-08-18 09:29:54'),(16423,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10597\'','expenses/removePayment','0.032965898513794','2016-08-18 09:29:54'),(16424,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.00026607513427734','2016-08-18 09:29:54'),(16425,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10767\'','expenses/removePayment','0.05211615562439','2016-08-18 09:29:54'),(16426,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1997\'','expenses/removePayment','0.16459202766418','2016-08-18 09:29:54'),(16427,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.00028896331787109','2016-08-18 09:29:54'),(16428,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10808\'','expenses/removePayment','0.11100292205811','2016-08-18 09:29:54'),(16429,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1973\'','expenses/removePayment','0.100741147995','2016-08-18 09:29:54'),(16430,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1974\'','expenses/removePayment','0.089081048965454','2016-08-18 09:29:54'),(16431,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1978\'','expenses/removePayment','0.048510074615479','2016-08-18 09:29:54'),(16432,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1985\'','expenses/removePayment','0.032854080200195','2016-08-18 09:29:54'),(16433,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48115\'','expenses/removePayment','0.036550045013428','2016-08-18 09:29:54'),(16434,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48125\'','expenses/removePayment','0.036144971847534','2016-08-18 09:29:54'),(16435,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48116\'','expenses/removePayment','0.032999038696289','2016-08-18 09:29:54'),(16436,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48117\'','expenses/removePayment','0.036073923110962','2016-08-18 09:29:54'),(16437,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48126\'','expenses/removePayment','0.033126831054688','2016-08-18 09:29:54'),(16438,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48137\'','expenses/removePayment','0.036134004592896','2016-08-18 09:29:54'),(16439,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48138\'','expenses/removePayment','0.049798965454102','2016-08-18 09:29:54'),(16440,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10788\'','expenses/removePayment','0.033147811889648','2016-08-18 09:29:54'),(16441,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48118\'','expenses/removePayment','0.033048868179321','2016-08-18 09:29:54'),(16442,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10793\'','expenses/removePayment','0.033135890960693','2016-08-18 09:29:54'),(16443,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10799\'','expenses/removePayment','0.033053159713745','2016-08-18 09:29:54'),(16444,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10789\'','expenses/removePayment','0.033178806304932','2016-08-18 09:29:54'),(16445,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1986\'','expenses/removePayment','0.029703855514526','2016-08-18 09:29:54'),(16446,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1987\'','expenses/removePayment','0.023894786834717','2016-08-18 09:29:54'),(16447,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48141\'','expenses/removePayment','0.052428007125854','2016-08-18 09:29:54'),(16448,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48143\'','expenses/removePayment','0.060697078704834','2016-08-18 09:29:54'),(16449,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48142\'','expenses/removePayment','0.049680948257446','2016-08-18 09:29:55'),(16450,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48144\'','expenses/removePayment','0.033191919326782','2016-08-18 09:29:55'),(16451,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10801\'','expenses/removePayment','0.033143043518066','2016-08-18 09:29:55'),(16452,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10802\'','expenses/removePayment','0.033013105392456','2016-08-18 09:29:55'),(16453,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1992\'','expenses/removePayment','0.25075912475586','2016-08-18 09:29:55'),(16454,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'\'','expenses/removePayment','0.00035715103149414','2016-08-18 09:29:55'),(16455,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1995\'','expenses/removePayment','0.2629611492157','2016-08-18 09:29:55'),(16456,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1993\'','expenses/removePayment','0.25348210334778','2016-08-18 09:29:55'),(16457,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1994\'','expenses/removePayment','0.26570296287537','2016-08-18 09:29:55'),(16458,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1996\'','expenses/removePayment','0.25251698493958','2016-08-18 09:29:55'),(16459,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.0002281665802002','2016-08-18 09:29:55'),(16460,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.00023794174194336','2016-08-18 09:29:55'),(16461,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.00023698806762695','2016-08-18 09:29:55'),(16462,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10806\'','expenses/removePayment','0.12254309654236','2016-08-18 09:29:55'),(16463,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.00022482872009277','2016-08-18 09:29:55'),(16464,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10807\'','expenses/removePayment','0.16414999961853','2016-08-18 09:29:55'),(16465,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10804\'','expenses/removePayment','0.16377115249634','2016-08-18 09:29:55'),(16466,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10805\'','expenses/removePayment','0.16401886940002','2016-08-18 09:29:56'),(16467,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2105\'','expenses/removePayment','0.014503002166748','2016-08-18 09:30:33'),(16468,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2106\'','expenses/removePayment','0.049923896789551','2016-08-18 09:30:33'),(16469,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2127\'','expenses/removePayment','0.063832998275757','2016-08-18 09:30:33'),(16470,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48561\'','expenses/removePayment','0.06498908996582','2016-08-18 09:30:33'),(16471,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48871\'','expenses/removePayment','0.029520034790039','2016-08-18 09:30:33'),(16472,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48569\'','expenses/removePayment','0.042448997497559','2016-08-18 09:30:33'),(16473,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48562\'','expenses/removePayment','0.033052921295166','2016-08-18 09:30:33'),(16474,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48872\'','expenses/removePayment','0.033093214035034','2016-08-18 09:30:33'),(16475,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48570\'','expenses/removePayment','0.033129930496216','2016-08-18 09:30:33'),(16476,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11011\'','expenses/removePayment','0.074860095977783','2016-08-18 09:30:33'),(16477,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11124\'','expenses/removePayment','0.074793100357056','2016-08-18 09:30:33'),(16478,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11015\'','expenses/removePayment','0.074813842773438','2016-08-18 09:30:33'),(16479,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'1\', \'OP-C\', \'2016-08-18\', \'149\', \'1\')','expenses/saveExpense','0.072702169418335','2016-08-18 09:31:41'),(16480,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2128, \'28\', \'1\', 1, \'33019\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.041383028030396','2016-08-18 09:31:41'),(16481,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'314\'','expenses/saveExpense','0.0194091796875','2016-08-18 09:31:41'),(16482,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000049\' WHERE `ID` =  2128','expenses/saveExpense','0.034941911697388','2016-08-18 09:31:41'),(16483,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000049\', \'Cost of Goods Sold [OP-C[00000036]]\', \'Cost of Goods Sold [OP-C[00000036]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 1, 1, \'28\')','expenses/saveExpense','0.010596036911011','2016-08-18 09:31:42'),(16484,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000049\', 1, \'1\', \'33008\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.018002033233643','2016-08-18 09:31:42'),(16485,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000049\', 2, \'1\', \'33019\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000036]\', \'User\')','expenses/saveExpense','0.014410972595215','2016-08-18 09:31:42'),(16486,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000049\'','expenses/saveExpense','0.026540040969849','2016-08-18 09:31:42'),(16487,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2128','expenses/saveExpense','0.016507863998413','2016-08-18 09:31:42'),(16488,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11134','expenses/saveExpense','0.016503810882568','2016-08-18 09:31:42'),(16489,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000049\'','expenses/saveExpense','0.016427040100098','2016-08-18 09:31:42'),(16490,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012343168258667','2016-08-18 09:31:42'),(16491,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017532110214233','2016-08-18 09:31:42'),(16492,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1820\'','expenses/removePayment','0.036965131759644','2016-08-18 09:31:45'),(16493,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1834\'','expenses/removePayment','0.042460203170776','2016-08-18 09:31:45'),(16494,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47607\'','expenses/removePayment','0.022059917449951','2016-08-18 09:31:46'),(16495,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47665\'','expenses/removePayment','0.03876781463623','2016-08-18 09:31:46'),(16496,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1841\'','expenses/removePayment','0.068627119064331','2016-08-18 09:31:46'),(16497,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47608\'','expenses/removePayment','0.033056974411011','2016-08-18 09:31:46'),(16498,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1836\'','expenses/removePayment','0.082825183868408','2016-08-18 09:31:46'),(16499,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47666\'','expenses/removePayment','0.041344881057739','2016-08-18 09:31:46'),(16500,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47685\'','expenses/removePayment','0.07254695892334','2016-08-18 09:31:46'),(16501,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10565\'','expenses/removePayment','0.058161973953247','2016-08-18 09:31:46'),(16502,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10581\'','expenses/removePayment','0.04982590675354','2016-08-18 09:31:46'),(16503,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47669\'','expenses/removePayment','0.05433201789856','2016-08-18 09:31:46'),(16504,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47686\'','expenses/removePayment','0.049770832061768','2016-08-18 09:31:46'),(16505,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10590\'','expenses/removePayment','0.066496133804321','2016-08-18 09:31:46'),(16506,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47670\'','expenses/removePayment','0.066375017166138','2016-08-18 09:31:46'),(16507,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10583\'','expenses/removePayment','0.049835920333862','2016-08-18 09:31:46'),(16508,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1917\'','expenses/removePayment','0.069872140884399','2016-08-18 09:31:46'),(16509,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47887\'','expenses/removePayment','0.054219961166382','2016-08-18 09:31:46'),(16510,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47888\'','expenses/removePayment','0.066331148147583','2016-08-18 09:31:46'),(16511,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47889\'','expenses/removePayment','0.049843072891235','2016-08-18 09:31:46'),(16512,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47890\'','expenses/removePayment','0.05991005897522','2016-08-18 09:31:46'),(16513,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47891\'','expenses/removePayment','0.062333822250366','2016-08-18 09:31:46'),(16514,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47892\'','expenses/removePayment','0.035386085510254','2016-08-18 09:31:46'),(16515,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10692\'','expenses/removePayment','0.097321033477783','2016-08-18 09:31:46'),(16516,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'2\', \'OP-C\', \'2016-08-18\', \'149\', \'1\')','expenses/saveExpense','0.04187798500061','2016-08-18 09:31:56'),(16517,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2129, \'28\', \'2\', 1, \'33019\', \'2\', \'2\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01869010925293','2016-08-18 09:31:56'),(16518,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'314\'','expenses/saveExpense','0.021384000778198','2016-08-18 09:31:56'),(16519,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000050\' WHERE `ID` =  2129','expenses/saveExpense','0.018784999847412','2016-08-18 09:31:56'),(16520,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000050\', \'Cost of Goods Sold [OP-C[00000037]]\', \'Cost of Goods Sold [OP-C[00000037]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 2, 2, \'28\')','expenses/saveExpense','0.045783996582031','2016-08-18 09:31:56'),(16521,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000050\', 1, \'2\', \'33008\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000037]\', \'User\')','expenses/saveExpense','0.022371053695679','2016-08-18 09:31:56'),(16522,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000050\', 2, \'2\', \'33019\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000037]\', \'User\')','expenses/saveExpense','0.018391132354736','2016-08-18 09:31:56'),(16523,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000050\'','expenses/saveExpense','0.016400098800659','2016-08-18 09:31:56'),(16524,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2129','expenses/saveExpense','0.016490936279297','2016-08-18 09:31:56'),(16525,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11135','expenses/saveExpense','0.022614002227783','2016-08-18 09:31:56'),(16526,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000050\'','expenses/saveExpense','0.018572807312012','2016-08-18 09:31:56'),(16527,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.027912855148315','2016-08-18 09:31:56'),(16528,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013004779815674','2016-08-18 09:31:56'),(16529,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1823\'','expenses/removePayment','0.017378091812134','2016-08-18 09:32:04'),(16530,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1830\'','expenses/removePayment','0.03194785118103','2016-08-18 09:32:04'),(16531,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1838\'','expenses/removePayment','0.046506881713867','2016-08-18 09:32:04'),(16532,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47639\'','expenses/removePayment','0.028711080551147','2016-08-18 09:32:04'),(16533,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47611\'','expenses/removePayment','0.060801029205322','2016-08-18 09:32:04'),(16534,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47675\'','expenses/removePayment','0.047621011734009','2016-08-18 09:32:04'),(16535,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47640\'','expenses/removePayment','0.033022880554199','2016-08-18 09:32:04'),(16536,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47612\'','expenses/removePayment','0.049760103225708','2016-08-18 09:32:04'),(16537,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47676\'','expenses/removePayment','0.033079862594604','2016-08-18 09:32:04'),(16538,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47641\'','expenses/removePayment','0.066458940505981','2016-08-18 09:32:04'),(16539,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1837\'','expenses/removePayment','0.081646919250488','2016-08-18 09:32:04'),(16540,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10567\'','expenses/removePayment','0.049721956253052','2016-08-18 09:32:04'),(16541,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47642\'','expenses/removePayment','0.033101081848145','2016-08-18 09:32:04'),(16542,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10585\'','expenses/removePayment','0.033082962036133','2016-08-18 09:32:04'),(16543,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47671\'','expenses/removePayment','0.047465801239014','2016-08-18 09:32:04'),(16544,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10573\'','expenses/removePayment','0.033098936080933','2016-08-18 09:32:04'),(16545,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47672\'','expenses/removePayment','0.049670934677124','2016-08-18 09:32:04'),(16546,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47673\'','expenses/removePayment','0.033174991607666','2016-08-18 09:32:04'),(16547,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'47674\'','expenses/removePayment','0.049699068069458','2016-08-18 09:32:04'),(16548,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'10584\'','expenses/removePayment','0.033115863800049','2016-08-18 09:32:04'),(16549,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'3\', \'OP-C\', \'2016-08-18\', \'150\', \'1\')','expenses/saveExpense','0.10931897163391','2016-08-18 09:32:12'),(16550,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2130, \'28\', \'3\', 1, \'33019\', \'3\', \'3\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016414880752563','2016-08-18 09:32:12'),(16551,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  \'314\'','expenses/saveExpense','0.033203125','2016-08-18 09:32:12'),(16552,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000051\' WHERE `ID` =  2130','expenses/saveExpense','0.0081148147583008','2016-08-18 09:32:12'),(16553,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000051\', \'Cost of Goods Sold [OP-C[00000038]]\', \'Cost of Goods Sold [OP-C[00000038]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 3, 3, \'28\')','expenses/saveExpense','0.010187864303589','2016-08-18 09:32:12'),(16554,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000051\', 1, \'3\', \'33009\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000038]\', \'User\')','expenses/saveExpense','0.010144948959351','2016-08-18 09:32:12'),(16555,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000051\', 2, \'3\', \'33019\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000038]\', \'User\')','expenses/saveExpense','0.016210079193115','2016-08-18 09:32:12'),(16556,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000051\'','expenses/saveExpense','0.022161960601807','2016-08-18 09:32:12'),(16557,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2130','expenses/saveExpense','0.019052028656006','2016-08-18 09:32:12'),(16558,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11136','expenses/saveExpense','0.0081231594085693','2016-08-18 09:32:12'),(16559,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000051\'','expenses/saveExpense','0.016403913497925','2016-08-18 09:32:12'),(16560,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01193904876709','2016-08-18 09:32:12'),(16561,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015712022781372','2016-08-18 09:32:12'),(16562,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'4\', \'OP-C\', \'2016-08-18\', \'151\', \'1\')','expenses/saveExpense','0.098849058151245','2016-08-18 09:32:26'),(16563,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2131, \'28\', \'4\', 1, \'33019\', \'4\', \'4\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.010337829589844','2016-08-18 09:32:26'),(16564,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'314\'','expenses/saveExpense','0.010445117950439','2016-08-18 09:32:26'),(16565,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000052\' WHERE `ID` =  2131','expenses/saveExpense','0.018594026565552','2016-08-18 09:32:26'),(16566,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000052\', \'Cost of Goods Sold [OP-C[00000039]]\', \'Cost of Goods Sold [OP-C[00000039]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 4, 4, \'28\')','expenses/saveExpense','0.029088020324707','2016-08-18 09:32:26'),(16567,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000052\', 1, \'4\', \'33010\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000039]\', \'User\')','expenses/saveExpense','0.016208171844482','2016-08-18 09:32:26'),(16568,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000052\', 2, \'4\', \'33019\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000039]\', \'User\')','expenses/saveExpense','0.016233921051025','2016-08-18 09:32:26'),(16569,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 4, `total_amount_cr` = 4, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000052\'','expenses/saveExpense','0.016362905502319','2016-08-18 09:32:26'),(16570,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2131','expenses/saveExpense','0.016481161117554','2016-08-18 09:32:26'),(16571,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11137','expenses/saveExpense','0.016443967819214','2016-08-18 09:32:26'),(16572,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000052\'','expenses/saveExpense','0.016457080841064','2016-08-18 09:32:26'),(16573,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33010\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012001037597656','2016-08-18 09:32:26'),(16574,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017910003662109','2016-08-18 09:32:26'),(16575,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'5\', \'OP-C\', \'2016-08-18\', \'152\', \'1\')','expenses/saveExpense','0.14300417900085','2016-08-18 09:32:43'),(16576,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2132, \'28\', \'5\', 1, \'33019\', \'5\', \'5\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.02318811416626','2016-08-18 09:32:43'),(16577,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'314\'','expenses/saveExpense','0.016940832138062','2016-08-18 09:32:43'),(16578,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000053\' WHERE `ID` =  2132','expenses/saveExpense','0.016417026519775','2016-08-18 09:32:43'),(16579,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000053\', \'Cost of Goods Sold [OP-C[00000040]]\', \'Cost of Goods Sold [OP-C[00000040]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 5, 5, \'28\')','expenses/saveExpense','0.0098609924316406','2016-08-18 09:32:43'),(16580,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000053\', 1, \'5\', \'33011\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000040]\', \'User\')','expenses/saveExpense','0.01875901222229','2016-08-18 09:32:43'),(16581,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000053\', 2, \'5\', \'33019\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000040]\', \'User\')','expenses/saveExpense','0.016235828399658','2016-08-18 09:32:43'),(16582,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5, `total_amount_cr` = 5, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000053\'','expenses/saveExpense','0.022494792938232','2016-08-18 09:32:43'),(16583,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2132','expenses/saveExpense','0.035383939743042','2016-08-18 09:32:43'),(16584,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11138','expenses/saveExpense','0.016435146331787','2016-08-18 09:32:43'),(16585,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000053\'','expenses/saveExpense','0.016378164291382','2016-08-18 09:32:43'),(16586,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33011\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022725820541382','2016-08-18 09:32:43'),(16587,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012831926345825','2016-08-18 09:32:43'),(16588,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'6\', \'OP-C\', \'2016-08-18\', \'148\', \'1\')','expenses/saveExpense','0.070515155792236','2016-08-18 09:32:54'),(16589,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2133, \'28\', \'6\', 1, \'33019\', \'6\', \'6\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.044045925140381','2016-08-18 09:32:54'),(16590,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'314\'','expenses/saveExpense','0.017036914825439','2016-08-18 09:32:54'),(16591,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000054\' WHERE `ID` =  2133','expenses/saveExpense','0.016434907913208','2016-08-18 09:32:55'),(16592,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000054\', \'Cost of Goods Sold [OP-C[00000041]]\', \'Cost of Goods Sold [OP-C[00000041]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 6, 6, \'28\')','expenses/saveExpense','0.0099389553070068','2016-08-18 09:32:55'),(16593,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000054\', 1, \'6\', \'33007\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000041]\', \'User\')','expenses/saveExpense','0.024824857711792','2016-08-18 09:32:55'),(16594,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000054\', 2, \'6\', \'33019\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000041]\', \'User\')','expenses/saveExpense','0.010133981704712','2016-08-18 09:32:55'),(16595,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 6, `total_amount_cr` = 6, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000054\'','expenses/saveExpense','0.033063888549805','2016-08-18 09:32:55'),(16596,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2133','expenses/saveExpense','0.016452074050903','2016-08-18 09:32:55'),(16597,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11139','expenses/saveExpense','0.01426887512207','2016-08-18 09:32:55'),(16598,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000054\'','expenses/saveExpense','0.060300827026367','2016-08-18 09:32:55'),(16599,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.044894933700562','2016-08-18 09:32:55'),(16600,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032023906707764','2016-08-18 09:32:55'),(16601,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'7\', \'OP-C\', \'2016-08-18\', \'149\', \'1\')','expenses/saveExpense','0.095638990402222','2016-08-18 09:33:09'),(16602,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2134, \'28\', \'7\', 1, \'33019\', \'7\', \'7\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.019132852554321','2016-08-18 09:33:09'),(16603,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'314\'','expenses/saveExpense','0.024002075195312','2016-08-18 09:33:09'),(16604,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000055\' WHERE `ID` =  2134','expenses/saveExpense','0.015259981155396','2016-08-18 09:33:09'),(16605,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000055\', \'Cost of Goods Sold [OP-C[00000042]]\', \'Cost of Goods Sold [OP-C[00000042]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 7, 7, \'28\')','expenses/saveExpense','0.0097520351409912','2016-08-18 09:33:09'),(16606,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000055\', 1, \'7\', \'33008\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.018821954727173','2016-08-18 09:33:09'),(16607,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000055\', 2, \'7\', \'33019\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000042]\', \'User\')','expenses/saveExpense','0.0079529285430908','2016-08-18 09:33:09'),(16608,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 7, `total_amount_cr` = 7, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000055\'','expenses/saveExpense','0.016382932662964','2016-08-18 09:33:09'),(16609,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2134','expenses/saveExpense','0.0081448554992676','2016-08-18 09:33:09'),(16610,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11140','expenses/saveExpense','0.016484975814819','2016-08-18 09:33:09'),(16611,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000055\'','expenses/saveExpense','0.0080630779266357','2016-08-18 09:33:09'),(16612,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01217794418335','2016-08-18 09:33:09'),(16613,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0094611644744873','2016-08-18 09:33:09'),(16614,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'8\', \'OP-C\', \'2016-08-18\', \'150\', \'1\')','expenses/saveExpense','0.046220064163208','2016-08-18 09:33:24'),(16615,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2135, \'28\', \'8\', 1, \'33019\', \'8\', \'8\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0080111026763916','2016-08-18 09:33:24'),(16616,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'314\'','expenses/saveExpense','0.0098259449005127','2016-08-18 09:33:24'),(16617,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000056\' WHERE `ID` =  2135','expenses/saveExpense','0.010479927062988','2016-08-18 09:33:24'),(16618,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000056\', \'Cost of Goods Sold [OP-C[00000043]]\', \'Cost of Goods Sold [OP-C[00000043]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 8, 8, \'28\')','expenses/saveExpense','0.029107093811035','2016-08-18 09:33:24'),(16619,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000056\', 1, \'8\', \'33009\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000043]\', \'User\')','expenses/saveExpense','0.0078911781311035','2016-08-18 09:33:24'),(16620,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000056\', 2, \'8\', \'33019\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000043]\', \'User\')','expenses/saveExpense','0.013844013214111','2016-08-18 09:33:24'),(16621,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 8, `total_amount_cr` = 8, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000056\'','expenses/saveExpense','0.010458946228027','2016-08-18 09:33:24'),(16622,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2135','expenses/saveExpense','0.016474008560181','2016-08-18 09:33:24'),(16623,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11141','expenses/saveExpense','0.024802207946777','2016-08-18 09:33:24'),(16624,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000056\'','expenses/saveExpense','0.01640796661377','2016-08-18 09:33:24'),(16625,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011842966079712','2016-08-18 09:33:24'),(16626,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.018082141876221','2016-08-18 09:33:24'),(16627,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'9\', \'OP-C\', \'2016-08-18\', \'151\', \'1\')','expenses/saveExpense','0.10296702384949','2016-08-18 09:33:40'),(16628,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2136, \'28\', \'9\', 1, \'33019\', \'9\', \'9\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01088285446167','2016-08-18 09:33:40'),(16629,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'314\'','expenses/saveExpense','0.009972095489502','2016-08-18 09:33:40'),(16630,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000057\' WHERE `ID` =  2136','expenses/saveExpense','0.019212961196899','2016-08-18 09:33:40'),(16631,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000057\', \'Cost of Goods Sold [OP-C[00000044]]\', \'Cost of Goods Sold [OP-C[00000044]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 9, 9, \'28\')','expenses/saveExpense','0.14798998832703','2016-08-18 09:33:40'),(16632,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000057\', 1, \'9\', \'33010\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000044]\', \'User\')','expenses/saveExpense','0.017796993255615','2016-08-18 09:33:40'),(16633,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000057\', 2, \'9\', \'33019\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000044]\', \'User\')','expenses/saveExpense','0.01594090461731','2016-08-18 09:33:40'),(16634,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 9, `total_amount_cr` = 9, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000057\'','expenses/saveExpense','0.016645908355713','2016-08-18 09:33:40'),(16635,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2136','expenses/saveExpense','0.010612964630127','2016-08-18 09:33:40'),(16636,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11142','expenses/saveExpense','0.033133983612061','2016-08-18 09:33:40'),(16637,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000057\'','expenses/saveExpense','0.016389846801758','2016-08-18 09:33:40'),(16638,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33010\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012058973312378','2016-08-18 09:33:40'),(16639,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0095160007476807','2016-08-18 09:33:40'),(16640,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'10\', \'OP-C\', \'2016-08-18\', \'152\', \'1\')','expenses/saveExpense','0.22720885276794','2016-08-18 09:34:00'),(16641,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2137, \'28\', \'10\', 1, \'33019\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0080130100250244','2016-08-18 09:34:00'),(16642,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'314\'','expenses/saveExpense','0.027812957763672','2016-08-18 09:34:00'),(16643,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000058\' WHERE `ID` =  2137','expenses/saveExpense','0.016410827636719','2016-08-18 09:34:00'),(16644,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000058\', \'Cost of Goods Sold [OP-C[00000045]]\', \'Cost of Goods Sold [OP-C[00000045]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 10, 10, \'28\')','expenses/saveExpense','0.0096721649169922','2016-08-18 09:34:00'),(16645,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000058\', 1, \'10\', \'33011\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000045]\', \'User\')','expenses/saveExpense','0.018964052200317','2016-08-18 09:34:00'),(16646,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000058\', 2, \'10\', \'33019\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000045]\', \'User\')','expenses/saveExpense','0.0078809261322021','2016-08-18 09:34:00'),(16647,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000058\'','expenses/saveExpense','0.016417980194092','2016-08-18 09:34:00'),(16648,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2137','expenses/saveExpense','0.0081541538238525','2016-08-18 09:34:00'),(16649,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11143','expenses/saveExpense','0.016468048095703','2016-08-18 09:34:01'),(16650,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000058\'','expenses/saveExpense','0.008063793182373','2016-08-18 09:34:01'),(16651,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33011\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011975049972534','2016-08-18 09:34:01'),(16652,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0096149444580078','2016-08-18 09:34:01'),(16653,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'11\', \'OP-C\', \'2016-08-18\', \'148\', \'1\')','expenses/saveExpense','0.097232103347778','2016-08-18 09:34:13'),(16654,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2138, \'28\', \'11\', 1, \'33019\', \'11\', \'11\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01072096824646','2016-08-18 09:34:13'),(16655,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  \'314\'','expenses/saveExpense','0.014056921005249','2016-08-18 09:34:13'),(16656,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000059\' WHERE `ID` =  2138','expenses/saveExpense','0.016447067260742','2016-08-18 09:34:13'),(16657,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000059\', \'Cost of Goods Sold [OP-C[00000046]]\', \'Cost of Goods Sold [OP-C[00000046]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 11, 11, \'28\')','expenses/saveExpense','0.012378931045532','2016-08-18 09:34:13'),(16658,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000059\', 1, \'11\', \'33007\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000046]\', \'User\')','expenses/saveExpense','0.007850170135498','2016-08-18 09:34:13'),(16659,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000059\', 2, \'11\', \'33019\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000046]\', \'User\')','expenses/saveExpense','0.016242027282715','2016-08-18 09:34:13'),(16660,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 11, `total_amount_cr` = 11, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000059\'','expenses/saveExpense','0.013504028320312','2016-08-18 09:34:13'),(16661,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2138','expenses/saveExpense','0.016825199127197','2016-08-18 09:34:13'),(16662,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11144','expenses/saveExpense','0.024474143981934','2016-08-18 09:34:13'),(16663,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000059\'','expenses/saveExpense','0.019186973571777','2016-08-18 09:34:13'),(16664,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022779941558838','2016-08-18 09:34:13'),(16665,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.12786197662354','2016-08-18 09:34:13'),(16666,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2128\'','expenses/removePayment','0.017378091812134','2016-08-18 09:34:30'),(16667,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48893\'','expenses/removePayment','0.022318124771118','2016-08-18 09:34:30'),(16668,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48894\'','expenses/removePayment','0.0081160068511963','2016-08-18 09:34:30'),(16669,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11134\'','expenses/removePayment','0.0080950260162354','2016-08-18 09:34:30'),(16670,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'12\', \'OP-C\', \'2016-08-18\', \'149\', \'1\')','expenses/saveExpense','0.06233811378479','2016-08-18 09:34:49'),(16671,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2139, \'28\', \'12\', 1, \'33019\', \'12\', \'12\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.035808086395264','2016-08-18 09:34:49'),(16672,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  \'314\'','expenses/saveExpense','0.014842987060547','2016-08-18 09:34:49'),(16673,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000060\' WHERE `ID` =  2139','expenses/saveExpense','0.010762214660645','2016-08-18 09:34:49'),(16674,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000060\', \'Cost of Goods Sold [OP-C[00000047]]\', \'Cost of Goods Sold [OP-C[00000047]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 12, 12, \'28\')','expenses/saveExpense','0.0098528861999512','2016-08-18 09:34:49'),(16675,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000060\', 1, \'12\', \'33008\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000047]\', \'User\')','expenses/saveExpense','0.010496854782104','2016-08-18 09:34:50'),(16676,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000060\', 2, \'12\', \'33019\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000047]\', \'User\')','expenses/saveExpense','0.007896900177002','2016-08-18 09:34:50'),(16677,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 12, `total_amount_cr` = 12, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000060\'','expenses/saveExpense','0.0080599784851074','2016-08-18 09:34:50'),(16678,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2139','expenses/saveExpense','0.0081379413604736','2016-08-18 09:34:50'),(16679,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11145','expenses/saveExpense','0.013535976409912','2016-08-18 09:34:50'),(16680,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000060\'','expenses/saveExpense','0.010959148406982','2016-08-18 09:34:50'),(16681,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017200946807861','2016-08-18 09:34:50'),(16682,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010012865066528','2016-08-18 09:34:50'),(16683,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2133\'','expenses/removePayment','0.078591108322144','2016-08-18 09:34:57'),(16684,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2129\'','expenses/removePayment','0.11361789703369','2016-08-18 09:34:57'),(16685,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2131\'','expenses/removePayment','0.095257997512817','2016-08-18 09:34:57'),(16686,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48903\'','expenses/removePayment','0.02731990814209','2016-08-18 09:34:57'),(16687,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2134\'','expenses/removePayment','0.070415019989014','2016-08-18 09:34:57'),(16688,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2130\'','expenses/removePayment','0.081737041473389','2016-08-18 09:34:57'),(16689,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48895\'','expenses/removePayment','0.030663013458252','2016-08-18 09:34:57'),(16690,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2132\'','expenses/removePayment','0.097547054290771','2016-08-18 09:34:57'),(16691,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48899\'','expenses/removePayment','0.030142068862915','2016-08-18 09:34:57'),(16692,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48904\'','expenses/removePayment','0.033107995986938','2016-08-18 09:34:57'),(16693,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48905\'','expenses/removePayment','0.023043155670166','2016-08-18 09:34:57'),(16694,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48896\'','expenses/removePayment','0.02228307723999','2016-08-18 09:34:57'),(16695,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48897\'','expenses/removePayment','0.037895917892456','2016-08-18 09:34:57'),(16696,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11139\'','expenses/removePayment','0.024812936782837','2016-08-18 09:34:57'),(16697,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48901\'','expenses/removePayment','0.053032875061035','2016-08-18 09:34:57'),(16698,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48900\'','expenses/removePayment','0.033134937286377','2016-08-18 09:34:57'),(16699,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48906\'','expenses/removePayment','0.024686098098755','2016-08-18 09:34:57'),(16700,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11135\'','expenses/removePayment','0.018890857696533','2016-08-18 09:34:57'),(16701,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48898\'','expenses/removePayment','0.024865865707397','2016-08-18 09:34:57'),(16702,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11140\'','expenses/removePayment','0.049861192703247','2016-08-18 09:34:57'),(16703,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11137\'','expenses/removePayment','0.038536071777344','2016-08-18 09:34:57'),(16704,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48902\'','expenses/removePayment','0.018914937973022','2016-08-18 09:34:57'),(16705,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11136\'','expenses/removePayment','0.049731969833374','2016-08-18 09:34:57'),(16706,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11138\'','expenses/removePayment','0.055016994476318','2016-08-18 09:34:57'),(16707,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2135\'','expenses/removePayment','0.012756109237671','2016-08-18 09:34:57'),(16708,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48907\'','expenses/removePayment','0.024584054946899','2016-08-18 09:34:57'),(16709,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2137\'','expenses/removePayment','0.02727198600769','2016-08-18 09:34:57'),(16710,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2136\'','expenses/removePayment','0.022847890853882','2016-08-18 09:34:57'),(16711,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48908\'','expenses/removePayment','0.069555044174194','2016-08-18 09:34:57'),(16712,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2138\'','expenses/removePayment','0.029161930084229','2016-08-18 09:34:57'),(16713,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48911\'','expenses/removePayment','0.052836179733276','2016-08-18 09:34:57'),(16714,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48909\'','expenses/removePayment','0.036062955856323','2016-08-18 09:34:57'),(16715,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2139\'','expenses/removePayment','0.042330980300903','2016-08-18 09:34:57'),(16716,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11141\'','expenses/removePayment','0.033161163330078','2016-08-18 09:34:57'),(16717,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48913\'','expenses/removePayment','0.083330154418945','2016-08-18 09:34:57'),(16718,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48910\'','expenses/removePayment','0.083164930343628','2016-08-18 09:34:57'),(16719,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48912\'','expenses/removePayment','0.058141946792603','2016-08-18 09:34:57'),(16720,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48915\'','expenses/removePayment','0.057523012161255','2016-08-18 09:34:57'),(16721,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11142\'','expenses/removePayment','0.033114910125732','2016-08-18 09:34:57'),(16722,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48914\'','expenses/removePayment','0.038690090179443','2016-08-18 09:34:57'),(16723,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11143\'','expenses/removePayment','0.033098936080933','2016-08-18 09:34:57'),(16724,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48916\'','expenses/removePayment','0.024780988693237','2016-08-18 09:34:57'),(16725,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11144\'','expenses/removePayment','0.024832963943481','2016-08-18 09:34:57'),(16726,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11145\'','expenses/removePayment','0.024786949157715','2016-08-18 09:34:57'),(16727,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2018\'','expenses/removePayment','0.14320087432861','2016-08-18 09:39:07'),(16728,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2008\'','expenses/removePayment','0.098014116287231','2016-08-18 09:39:07'),(16729,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2021\'','expenses/removePayment','0.15500211715698','2016-08-18 09:39:07'),(16730,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2020\'','expenses/removePayment','0.10086107254028','2016-08-18 09:39:07'),(16731,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2019\'','expenses/removePayment','0.1883749961853','2016-08-18 09:39:07'),(16732,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2009\'','expenses/removePayment','0.15216612815857','2016-08-18 09:39:07'),(16733,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48259\'','expenses/removePayment','0.054790019989014','2016-08-18 09:39:08'),(16734,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48255\'','expenses/removePayment','0.056305885314941','2016-08-18 09:39:08'),(16735,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48261\'','expenses/removePayment','0.054800987243652','2016-08-18 09:39:08'),(16736,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48253\'','expenses/removePayment','0.072723865509033','2016-08-18 09:39:08'),(16737,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48257\'','expenses/removePayment','0.063024997711182','2016-08-18 09:39:08'),(16738,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48195\'','expenses/removePayment','0.072673082351685','2016-08-18 09:39:08'),(16739,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48260\'','expenses/removePayment','0.066471815109253','2016-08-18 09:39:08'),(16740,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48254\'','expenses/removePayment','0.038535833358765','2016-08-18 09:39:08'),(16741,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48256\'','expenses/removePayment','0.033105134963989','2016-08-18 09:39:08'),(16742,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48262\'','expenses/removePayment','0.066439151763916','2016-08-18 09:39:08'),(16743,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48196\'','expenses/removePayment','0.088122844696045','2016-08-18 09:39:08'),(16744,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48258\'','expenses/removePayment','0.049434185028076','2016-08-18 09:39:08'),(16745,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10862\'','expenses/removePayment','0.049714088439941','2016-08-18 09:39:08'),(16746,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10860\'','expenses/removePayment','0.046483993530273','2016-08-18 09:39:08'),(16747,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10863\'','expenses/removePayment','0.024697065353394','2016-08-18 09:39:08'),(16748,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10859\'','expenses/removePayment','0.036059856414795','2016-08-18 09:39:08'),(16749,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10861\'','expenses/removePayment','0.075083017349243','2016-08-18 09:39:08'),(16750,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10830\'','expenses/removePayment','0.075090169906616','2016-08-18 09:39:08'),(16751,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2022\'','expenses/removePayment','0.031760931015015','2016-08-18 09:39:08'),(16752,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48263\'','expenses/removePayment','0.014017105102539','2016-08-18 09:39:08'),(16753,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48264\'','expenses/removePayment','0.013201951980591','2016-08-18 09:39:08'),(16754,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10864\'','expenses/removePayment','0.011356830596924','2016-08-18 09:39:08'),(16755,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-18\', \'148\', \'1\')','expenses/saveExpense','0.045503854751587','2016-08-18 09:54:41'),(16756,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2140, \'28\', \'100\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.011467933654785','2016-08-18 09:54:41'),(16757,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 61 WHERE `ID` =  \'314\'','expenses/saveExpense','0.016463994979858','2016-08-18 09:54:41'),(16758,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000061\' WHERE `ID` =  2140','expenses/saveExpense','0.013475894927979','2016-08-18 09:54:41'),(16759,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000061\', \'Cost of Goods Sold [OP-C[00000048]]\', \'Cost of Goods Sold [OP-C[00000048]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 100, 100, \'28\')','expenses/saveExpense','0.037137031555176','2016-08-18 09:54:41'),(16760,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000061\', 1, \'100\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000048]\', \'User\')','expenses/saveExpense','0.0415358543396','2016-08-18 09:54:41'),(16761,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000061\', 2, \'100\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000048]\', \'User\')','expenses/saveExpense','0.010905027389526','2016-08-18 09:54:41'),(16762,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000061\'','expenses/saveExpense','0.024717092514038','2016-08-18 09:54:41'),(16763,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2140','expenses/saveExpense','0.021483898162842','2016-08-18 09:54:41'),(16764,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11146','expenses/saveExpense','0.016766786575317','2016-08-18 09:54:41'),(16765,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000061\'','expenses/saveExpense','0.027729034423828','2016-08-18 09:54:41'),(16766,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.025572061538696','2016-08-18 09:54:41'),(16767,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012076854705811','2016-08-18 09:54:41'),(16768,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'200\', \'OP-C\', \'2016-08-18\', \'149\', \'1\')','expenses/saveExpense','0.085593938827515','2016-08-18 09:56:07'),(16769,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2141, \'28\', \'200\', 1, \'33019\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.011091947555542','2016-08-18 09:56:07'),(16770,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  \'314\'','expenses/saveExpense','0.025501012802124','2016-08-18 09:56:07'),(16771,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000062\' WHERE `ID` =  2141','expenses/saveExpense','0.0080828666687012','2016-08-18 09:56:07'),(16772,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000062\', \'Cost of Goods Sold [OP-C[00000049]]\', \'Cost of Goods Sold [OP-C[00000049]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 200, 200, \'28\')','expenses/saveExpense','0.040369987487793','2016-08-18 09:56:07'),(16773,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000062\', 1, \'200\', \'33008\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-C[00000049]\', \'User\')','expenses/saveExpense','0.034805059432983','2016-08-18 09:56:07'),(16774,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000062\', 2, \'200\', \'33019\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-C[00000049]\', \'User\')','expenses/saveExpense','0.011346101760864','2016-08-18 09:56:07'),(16775,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000062\'','expenses/saveExpense','0.012856960296631','2016-08-18 09:56:07'),(16776,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2141','expenses/saveExpense','0.011698961257935','2016-08-18 09:56:07'),(16777,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11147','expenses/saveExpense','0.1295759677887','2016-08-18 09:56:07'),(16778,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000062\'','expenses/saveExpense','0.036522150039673','2016-08-18 09:56:07'),(16779,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0095131397247314','2016-08-18 09:56:08'),(16780,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010178089141846','2016-08-18 09:56:08'),(16781,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48919\'','expenses/saveExpense','0.014425039291382','2016-08-18 09:56:19'),(16782,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48920\'','expenses/saveExpense','0.012907981872559','2016-08-18 09:56:19'),(16783,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11147\'','expenses/saveExpense','0.011637926101685','2016-08-18 09:56:19'),(16784,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'300\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-18\', `bankId` = \'149\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2141\'','expenses/saveExpense','0.015760898590088','2016-08-18 09:56:19'),(16785,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2141\', `createdBy` = \'28\', `itemdescription` = \'200\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'200\', `amountExcludedTax` = \'200\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2054\'','expenses/saveExpense','0.00037813186645508','2016-08-18 09:56:19'),(16786,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2141\', \'28\', \'100\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.010686874389648','2016-08-18 09:56:19'),(16787,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  \'314\'','expenses/saveExpense','0.014441013336182','2016-08-18 09:56:19'),(16788,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000063\' WHERE `ID` =  \'2141\'','expenses/saveExpense','0.013347148895264','2016-08-18 09:56:19'),(16789,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000063\', \'Cost of Goods Sold [OP-C[00000049]]\', \'Cost of Goods Sold [OP-C[00000049]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 300, 300, \'28\')','expenses/saveExpense','0.010133028030396','2016-08-18 09:56:19'),(16790,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000063\', 1, \'200\', \'33008\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-C[00000049]\', \'User\')','expenses/saveExpense','0.0079069137573242','2016-08-18 09:56:19'),(16791,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000063\', 2, \'200\', \'33019\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-C[00000049]\', \'User\')','expenses/saveExpense','0.016238927841187','2016-08-18 09:56:19'),(16792,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000063\', 3, \'100\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000049]\', \'User\')','expenses/saveExpense','0.0078799724578857','2016-08-18 09:56:19'),(16793,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000063\', 4, \'100\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000049]\', \'User\')','expenses/saveExpense','0.012901067733765','2016-08-18 09:56:19'),(16794,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000063\'','expenses/saveExpense','0.01142406463623','2016-08-18 09:56:19'),(16795,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2141\'','expenses/saveExpense','0.013068914413452','2016-08-18 09:56:19'),(16796,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11148','expenses/saveExpense','0.02822208404541','2016-08-18 09:56:19'),(16797,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000063\'','expenses/saveExpense','0.021162033081055','2016-08-18 09:56:19'),(16798,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0097029209136963','2016-08-18 09:56:19'),(16799,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011860847473145','2016-08-18 09:56:19'),(16800,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010639905929565','2016-08-18 09:56:19'),(16801,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011805057525635','2016-08-18 09:56:19'),(16802,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2140\'','expenses/removePayment','0.026562929153442','2016-08-18 09:57:09'),(16803,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48917\'','expenses/removePayment','0.02382493019104','2016-08-18 09:57:09'),(16804,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2141\'','expenses/removePayment','0.01855206489563','2016-08-18 09:57:09'),(16805,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48918\'','expenses/removePayment','0.036681175231934','2016-08-18 09:57:09'),(16806,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48921\'','expenses/removePayment','0.015716075897217','2016-08-18 09:57:09'),(16807,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11146\'','expenses/removePayment','0.021193027496338','2016-08-18 09:57:09'),(16808,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48922\'','expenses/removePayment','0.028040885925293','2016-08-18 09:57:09'),(16809,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48923\'','expenses/removePayment','0.033072948455811','2016-08-18 09:57:09'),(16810,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48924\'','expenses/removePayment','0.02477502822876','2016-08-18 09:57:09'),(16811,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11148\'','expenses/removePayment','0.024818897247314','2016-08-18 09:57:09'),(16812,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'300\', \'OP-C\', \'2016-08-18\', \'83\', \'1\')','expenses/saveExpense','0.062469005584717','2016-08-18 10:00:23'),(16813,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2142, \'1\', \'Item A\', 1, \'32527\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.036391973495483','2016-08-18 10:00:23'),(16814,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2142, \'1\', \'Item B\', 1, \'32527\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0081081390380859','2016-08-18 10:00:23'),(16815,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2142, \'1\', \'Item C\', 1, \'32527\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012743949890137','2016-08-18 10:00:23'),(16816,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'300\'','expenses/saveExpense','0.014053821563721','2016-08-18 10:00:23'),(16817,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000004\' WHERE `ID` =  2142','expenses/saveExpense','0.011363983154297','2016-08-18 10:00:23'),(16818,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000004\', \'Cost of Goods Sold [OP-C[00000625]]\', \'Cost of Goods Sold [OP-C[00000625]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 300, 300, \'1\')','expenses/saveExpense','0.01753306388855','2016-08-18 10:00:23'),(16819,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000004\', 1, \'Item A\', \'32516\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.032590866088867','2016-08-18 10:00:23'),(16820,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000004\', 2, \'Item A\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.011430025100708','2016-08-18 10:00:23'),(16821,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000004\', 3, \'Item B\', \'32516\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.012695074081421','2016-08-18 10:00:23'),(16822,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000004\', 4, \'Item B\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.011446952819824','2016-08-18 10:00:23'),(16823,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000004\', 5, \'Item C\', \'32516\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.012687921524048','2016-08-18 10:00:23'),(16824,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000004\', 6, \'Item C\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.011433124542236','2016-08-18 10:00:23'),(16825,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000004\'','expenses/saveExpense','0.012860059738159','2016-08-18 10:00:23'),(16826,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2142','expenses/saveExpense','0.011696815490723','2016-08-18 10:00:23'),(16827,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11149','expenses/saveExpense','0.0081079006195068','2016-08-18 10:00:23'),(16828,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000004\'','expenses/saveExpense','0.021515846252441','2016-08-18 10:00:23'),(16829,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012438058853149','2016-08-18 10:00:23'),(16830,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012122869491577','2016-08-18 10:00:23'),(16831,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010354042053223','2016-08-18 10:00:23'),(16832,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.012149095535278','2016-08-18 10:00:23'),(16833,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010581016540527','2016-08-18 10:00:23'),(16834,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.12855505943298','2016-08-18 10:00:23'),(16835,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'\'','expenses/removeDetail','0.00033402442932129','2016-08-18 10:01:18'),(16836,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2057\'','expenses/removeDetail','0.030687093734741','2016-08-18 10:01:18'),(16837,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48925\'','expenses/saveExpense','0.018980979919434','2016-08-18 10:01:19'),(16838,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48926\'','expenses/saveExpense','0.12882494926453','2016-08-18 10:01:19'),(16839,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48927\'','expenses/saveExpense','0.020661115646362','2016-08-18 10:01:19'),(16840,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48928\'','expenses/saveExpense','0.016751050949097','2016-08-18 10:01:19'),(16841,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48929\'','expenses/saveExpense','0.011630058288574','2016-08-18 10:01:19'),(16842,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48930\'','expenses/saveExpense','0.024747133255005','2016-08-18 10:01:19'),(16843,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11149\'','expenses/saveExpense','0.021059036254883','2016-08-18 10:01:19'),(16844,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'200\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-18\', `bankId` = \'83\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2142\'','expenses/saveExpense','0.023015022277832','2016-08-18 10:01:19'),(16845,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2142\', `createdBy` = \'1\', `itemdescription` = \'Item A\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2056\'','expenses/saveExpense','0.00034499168395996','2016-08-18 10:01:19'),(16846,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2142\', `createdBy` = \'1\', `itemdescription` = \'Item C\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2058\'','expenses/saveExpense','0.00034403800964355','2016-08-18 10:01:19'),(16847,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'300\'','expenses/saveExpense','0.013247966766357','2016-08-18 10:01:19'),(16848,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000005\' WHERE `ID` =  \'2142\'','expenses/saveExpense','0.011745929718018','2016-08-18 10:01:19'),(16849,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000005\', \'Cost of Goods Sold [OP-C[00000625]]\', \'Cost of Goods Sold [OP-C[00000625]]\', \'\', \'3\', \'2016-08-18\', \'16\', \'08\', 200, 200, \'1\')','expenses/saveExpense','0.020073890686035','2016-08-18 10:01:19'),(16850,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000005\', 1, \'Item A\', \'32516\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.01154613494873','2016-08-18 10:01:19'),(16851,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000005\', 2, \'Item A\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.024585008621216','2016-08-18 10:01:19'),(16852,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000005\', 3, \'Item C\', \'32516\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.01288104057312','2016-08-18 10:01:19'),(16853,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000005\', 4, \'Item C\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000625]\', \'User\')','expenses/saveExpense','0.011245965957642','2016-08-18 10:01:19'),(16854,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.0080630779266357','2016-08-18 10:01:19'),(16855,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2142\'','expenses/saveExpense','0.012839078903198','2016-08-18 10:01:19'),(16856,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11150','expenses/saveExpense','0.011772155761719','2016-08-18 10:01:19'),(16857,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000005\'','expenses/saveExpense','0.01275897026062','2016-08-18 10:01:19'),(16858,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.0097339153289795','2016-08-18 10:01:19'),(16859,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.011768102645874','2016-08-18 10:01:19'),(16860,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010768890380859','2016-08-18 10:01:19'),(16861,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.02375602722168','2016-08-18 10:01:19'),(16862,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062394142150879','2016-08-18 11:20:14'),(16863,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053310394287109','2016-08-18 11:20:14'),(16864,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053310394287109','2016-08-18 11:20:14'),(16865,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052094459533691','2016-08-18 11:20:14'),(16866,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13352203369141','2016-08-18 11:20:14'),(16867,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037418127059937','2016-08-18 11:20:14'),(16868,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037419080734253','2016-08-18 11:20:14'),(16869,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037523984909058','2016-08-18 11:20:14'),(16870,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.1156599521637','2016-08-18 11:20:14'),(16871,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0010581016540527','2016-08-18 11:20:14'),(16872,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0011100769042969','2016-08-18 11:20:14'),(16873,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0021770000457764','2016-08-18 11:20:42'),(16874,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 11:20:42'),(16875,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 11:20:42'),(16876,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 11:20:42'),(16877,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 11:20:42'),(16878,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-18 11:20:42'),(16879,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-18 11:20:42'),(16880,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 11:20:42'),(16881,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 11:20:42'),(16882,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 11:20:42'),(16883,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-18 11:20:42'),(16884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 11:20:42'),(16885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062394142150879','2016-08-18 11:20:44'),(16886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 11:20:44'),(16887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 11:20:44'),(16888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 11:20:44'),(16889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 11:20:44'),(16890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050091743469238','2016-08-18 11:20:44'),(16891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 11:20:44'),(16892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 11:20:44'),(16893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 11:20:44'),(16894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 11:20:44'),(16895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-18 11:20:44'),(16896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 11:20:44'),(16897,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058889389038086','2016-08-18 11:20:58'),(16898,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058484077453613','2016-08-18 11:21:00'),(16899,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-18 11:21:00'),(16900,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 11:21:00'),(16901,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-18 11:21:00'),(16902,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-18 11:21:00'),(16903,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 11:21:00'),(16904,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 11:21:00'),(16905,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051617622375488','2016-08-18 11:21:00'),(16906,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 11:21:00'),(16907,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-18 11:21:00'),(16908,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:21:00'),(16909,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:21:00'),(16910,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-18 11:21:00'),(16911,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.26134085655212','2016-08-18 11:21:16'),(16912,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-18 11:21:16'),(16913,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001366138458252','2016-08-18 11:21:16'),(16914,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-18 11:21:16'),(16915,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-18 11:21:16'),(16916,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-18 11:21:17'),(16917,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 11:21:17'),(16918,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-18 11:21:17'),(16919,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-18 11:21:17'),(16920,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-18 11:21:17'),(16921,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013418197631836','2016-08-18 11:21:17'),(16922,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015389919281006','2016-08-18 11:21:17'),(16923,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015308856964111','2016-08-18 11:21:19'),(16924,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-18 11:21:19'),(16925,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-18 11:21:19'),(16926,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-18 11:21:19'),(16927,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-18 11:21:19'),(16928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-18 11:21:19'),(16929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-18 11:21:19'),(16930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-18 11:21:19'),(16931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-18 11:21:19'),(16932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001378059387207','2016-08-18 11:21:19'),(16933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-18 11:21:19'),(16934,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 11:21:19'),(16935,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044760704040527','2016-08-18 11:21:22'),(16936,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041930675506592','2016-08-18 11:21:22'),(16937,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042688846588135','2016-08-18 11:21:22'),(16938,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043900012969971','2016-08-18 11:21:22'),(16939,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042381286621094','2016-08-18 11:21:22'),(16940,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041990280151367','2016-08-18 11:21:22'),(16941,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004249095916748','2016-08-18 11:21:22'),(16942,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042572021484375','2016-08-18 11:21:22'),(16943,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041799545288086','2016-08-18 11:21:22'),(16944,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004302978515625','2016-08-18 11:21:22'),(16945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042040348052979','2016-08-18 11:21:22'),(16946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042259693145752','2016-08-18 11:21:22'),(16947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042221546173096','2016-08-18 11:21:24'),(16948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-18 11:21:24'),(16949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040531158447266','2016-08-18 11:21:24'),(16950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040709972381592','2016-08-18 11:21:24'),(16951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040171146392822','2016-08-18 11:21:24'),(16952,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040199756622314','2016-08-18 11:21:24'),(16953,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040240287780762','2016-08-18 11:21:24'),(16954,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040321350097656','2016-08-18 11:21:24'),(16955,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040178298950195','2016-08-18 11:21:24'),(16956,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004033088684082','2016-08-18 11:21:24'),(16957,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040411949157715','2016-08-18 11:21:24'),(16958,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039961338043213','2016-08-18 11:21:24'),(16959,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015780925750732','2016-08-18 11:21:35'),(16960,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041191577911377','2016-08-18 11:21:35'),(16961,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006260871887207','2016-08-18 11:21:46'),(16962,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-18 11:21:46'),(16963,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 11:21:46'),(16964,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:21:46'),(16965,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 11:21:46'),(16966,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-18 11:21:46'),(16967,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-18 11:21:46'),(16968,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 11:21:46'),(16969,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:21:46'),(16970,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 11:21:46'),(16971,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050711631774902','2016-08-18 11:21:46'),(16972,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 11:21:46'),(16973,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045177936553955','2016-08-18 11:21:46'),(16974,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043559074401855','2016-08-18 11:21:46'),(16975,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004439115524292','2016-08-18 11:21:46'),(16976,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044219493865967','2016-08-18 11:21:46'),(16977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043561458587646','2016-08-18 11:21:46'),(16978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043759346008301','2016-08-18 11:21:46'),(16979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004356861114502','2016-08-18 11:21:46'),(16980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044958591461182','2016-08-18 11:21:46'),(16981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044121742248535','2016-08-18 11:21:46'),(16982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043580532073975','2016-08-18 11:21:46'),(16983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044319629669189','2016-08-18 11:21:46'),(16984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044000148773193','2016-08-18 11:21:46'),(16985,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00061798095703125','2016-08-18 11:39:15'),(16986,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054097175598145','2016-08-18 11:39:15'),(16987,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-18 11:39:15'),(16988,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052213668823242','2016-08-18 11:39:15'),(16989,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.1196391582489','2016-08-18 11:39:15'),(16990,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037493944168091','2016-08-18 11:39:15'),(16991,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037312030792236','2016-08-18 11:39:15'),(16992,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037379026412964','2016-08-18 11:39:15'),(16993,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.34747385978699','2016-08-18 11:39:15'),(16994,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.018454074859619','2016-08-18 11:39:15'),(16995,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0032238960266113','2016-08-18 11:39:15'),(16996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.012894153594971','2016-08-18 11:39:21'),(16997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-18 11:39:21'),(16998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 11:39:21'),(16999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:39:21'),(17000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 11:39:21'),(17001,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 11:39:21'),(17002,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-18 11:39:21'),(17003,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 11:39:21'),(17004,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00088000297546387','2016-08-18 11:39:21'),(17005,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 11:39:21'),(17006,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050806999206543','2016-08-18 11:39:21'),(17007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 11:39:21'),(17008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006260871887207','2016-08-18 11:39:24'),(17009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051307678222656','2016-08-18 11:39:24'),(17010,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-18 11:39:24'),(17011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:39:24'),(17012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:39:24'),(17013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-18 11:39:24'),(17014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-18 11:39:24'),(17015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 11:39:24'),(17016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 11:39:24'),(17017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 11:39:24'),(17018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-18 11:39:24'),(17019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052022933959961','2016-08-18 11:39:24'),(17020,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059103965759277','2016-08-18 11:39:41'),(17021,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059008598327637','2016-08-18 11:39:43'),(17022,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 11:39:43'),(17023,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:39:43'),(17024,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-18 11:39:43'),(17025,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 11:39:43'),(17026,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 11:39:43'),(17027,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:39:43'),(17028,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000518798828125','2016-08-18 11:39:43'),(17029,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 11:39:43'),(17030,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 11:39:43'),(17031,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 11:39:43'),(17032,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 11:39:43'),(17033,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050592422485352','2016-08-18 11:39:43'),(17034,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.16379117965698','2016-08-18 11:39:50'),(17035,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013740062713623','2016-08-18 11:39:50'),(17036,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001384973526001','2016-08-18 11:39:50'),(17037,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013771057128906','2016-08-18 11:39:50'),(17038,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-18 11:39:50'),(17039,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013902187347412','2016-08-18 11:39:50'),(17040,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013391971588135','2016-08-18 11:39:50'),(17041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-18 11:39:50'),(17042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-18 11:39:50'),(17043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-18 11:39:50'),(17044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 11:39:50'),(17045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-18 11:39:50'),(17046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015439987182617','2016-08-18 11:39:52'),(17047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-18 11:39:52'),(17048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-18 11:39:52'),(17049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-18 11:39:52'),(17050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-18 11:39:52'),(17051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-18 11:39:52'),(17052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-18 11:39:52'),(17053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-18 11:39:52'),(17054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013909339904785','2016-08-18 11:39:52'),(17055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-18 11:39:52'),(17056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-18 11:39:52'),(17057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-18 11:39:52'),(17058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044398307800293','2016-08-18 11:39:54'),(17059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042350292205811','2016-08-18 11:39:54'),(17060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042209625244141','2016-08-18 11:39:54'),(17061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042459964752197','2016-08-18 11:39:54'),(17062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042588710784912','2016-08-18 11:39:54'),(17063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041990280151367','2016-08-18 11:39:54'),(17064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042400360107422','2016-08-18 11:39:54'),(17065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042660236358643','2016-08-18 11:39:54'),(17066,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041780471801758','2016-08-18 11:39:54'),(17067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042259693145752','2016-08-18 11:39:54'),(17068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042150020599365','2016-08-18 11:39:54'),(17069,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042350292205811','2016-08-18 11:39:54'),(17070,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042190551757812','2016-08-18 11:39:57'),(17071,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-18 11:39:57'),(17072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040159225463867','2016-08-18 11:39:57'),(17073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040988922119141','2016-08-18 11:39:57'),(17074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040020942687988','2016-08-18 11:39:57'),(17075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040700435638428','2016-08-18 11:39:57'),(17076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-18 11:39:57'),(17077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004019021987915','2016-08-18 11:39:57'),(17078,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040159225463867','2016-08-18 11:39:57'),(17079,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040011405944824','2016-08-18 11:39:58'),(17080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039951801300049','2016-08-18 11:39:58'),(17081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040020942687988','2016-08-18 11:39:58'),(17082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015218257904053','2016-08-18 11:40:05'),(17083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040278434753418','2016-08-18 11:40:05'),(17084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061893463134766','2016-08-18 11:40:23'),(17085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-18 11:40:23'),(17086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-18 11:40:23'),(17087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 11:40:23'),(17088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 11:40:23'),(17089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 11:40:23'),(17090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-18 11:40:23'),(17091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 11:40:23'),(17092,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 11:40:23'),(17093,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 11:40:23'),(17094,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050902366638184','2016-08-18 11:40:23'),(17095,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 11:40:23'),(17096,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044460296630859','2016-08-18 11:40:23'),(17097,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004310131072998','2016-08-18 11:40:23'),(17098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043559074401855','2016-08-18 11:40:23'),(17099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043108463287354','2016-08-18 11:40:23'),(17100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043830871582031','2016-08-18 11:40:23'),(17101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043179988861084','2016-08-18 11:40:23'),(17102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043070316314697','2016-08-18 11:40:23'),(17103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043950080871582','2016-08-18 11:40:23'),(17104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043649673461914','2016-08-18 11:40:23'),(17105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043118000030518','2016-08-18 11:40:23'),(17106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043120384216309','2016-08-18 11:40:23'),(17107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043208599090576','2016-08-18 11:40:23'),(17108,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `bank`.`bankName` as transferTo, `e`.`acctName`, `d`.`acctCode` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.companyID = b.companyID and d.amount_cr <> 0\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.020514011383057','2016-08-18 12:03:49'),(17109,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.049998998641968','2016-08-18 12:03:49'),(17110,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.021152973175049','2016-08-18 12:03:49'),(17111,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.0012619495391846','2016-08-18 12:03:49'),(17112,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0012919902801514','2016-08-18 12:03:49'),(17113,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `bank`.`bankName` as transferTo, `e`.`acctName`, `d`.`acctCode` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_journal_detail` d ON `d`.`journalID` = `b`.`journalID` and d.companyID = b.companyID and d.amount_cr <> 0\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `d`.`acctCode`\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.10675597190857','2016-08-18 12:32:17'),(17114,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.011555910110474','2016-08-18 12:32:17'),(17115,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016520023345947','2016-08-18 12:32:17'),(17116,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.0010709762573242','2016-08-18 12:32:17'),(17117,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0010979175567627','2016-08-18 12:32:17'),(17118,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-17\', `bankID` = \'109\', `receiveFrom` = \'Loan 5	\', `totalReceived` = \'58.00\', `updateAble` = 1 WHERE `ID` =  \'2138\'','loanReceive/update_loan','0.10123205184937','2016-08-18 12:50:28'),(17119,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32582\', `amountExcludedTax` = \'58.00\', `description` = \'loan5 ke bank1 rm58\' WHERE `ID` =  \'1732\'','loanReceive/update_loan','0.00033879280090332','2016-08-18 12:50:28'),(17120,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000037\'','loanReceive/update_loan','0.010188817977905','2016-08-18 12:50:28'),(17121,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000037\'','loanReceive/update_loan','0.0084259510040283','2016-08-18 12:50:28'),(17122,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  \'299\'','loanReceive/update_loan','0.011996984481812','2016-08-18 12:50:28'),(17123,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000038\' WHERE `ID` =  \'2138\'','loanReceive/update_loan','0.011141061782837','2016-08-18 12:50:28'),(17124,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000038\', \'LR[00000008]\', \'Loan Received [ LR[00000008] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 58, 58, \'User\')','loanReceive/update_loan','0.020478010177612','2016-08-18 12:50:28'),(17125,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000038\', 1, \'loan5 ke bank1 rm58\', \'32582\', \'Loan 5	\', 58, \'1\', \'1\', \'58\', \'08\', \'2016\', \'1\', \'LR[00000008]\', \'0\', \'User\')','loanReceive/update_loan','0.0081379413604736','2016-08-18 12:50:28'),(17126,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000038\', \'loan5 ke bank1 rm58\', \'32573\', \'Loan 5	\', 58, \'1\', \'1\', \'58\', \'08\', \'2016\', \'LR[00000008]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.0076210498809814','2016-08-18 12:50:28'),(17127,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 58, `total_amount_cr` = 58, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000038\'','loanReceive/update_loan','0.0082769393920898','2016-08-18 12:50:28'),(17128,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2138\'','loanReceive/update_loan','0.0078709125518799','2016-08-18 12:50:28'),(17129,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11159','loanReceive/update_loan','0.0084140300750732','2016-08-18 12:50:28'),(17130,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000038\'','loanReceive/update_loan','0.0077869892120361','2016-08-18 12:50:28'),(17131,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32582\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.021974086761475','2016-08-18 12:50:28'),(17132,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.021796941757202','2016-08-18 12:50:28'),(17133,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0006260871887207','2016-08-18 12:51:28'),(17134,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054383277893066','2016-08-18 12:51:28'),(17135,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054097175598145','2016-08-18 12:51:28'),(17136,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-18 12:51:28'),(17137,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.076460123062134','2016-08-18 12:51:28'),(17138,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037324905395508','2016-08-18 12:51:28'),(17139,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037225961685181','2016-08-18 12:51:28'),(17140,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037322044372559','2016-08-18 12:51:28'),(17141,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.33151602745056','2016-08-18 12:51:28'),(17142,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0012800693511963','2016-08-18 12:51:28'),(17143,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0012061595916748','2016-08-18 12:51:28'),(17144,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.019721031188965','2016-08-18 12:51:31'),(17145,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 12:51:32'),(17146,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 12:51:32'),(17147,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 12:51:32'),(17148,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 12:51:32'),(17149,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-18 12:51:32'),(17150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051784515380859','2016-08-18 12:51:32'),(17151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 12:51:32'),(17152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 12:51:32'),(17153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 12:51:32'),(17154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 12:51:32'),(17155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 12:51:32'),(17156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062894821166992','2016-08-18 12:51:33'),(17157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 12:51:33'),(17158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053119659423828','2016-08-18 12:51:33'),(17159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 12:51:33'),(17160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 12:51:33'),(17161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-18 12:51:33'),(17162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 12:51:33'),(17163,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 12:51:33'),(17164,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 12:51:33'),(17165,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 12:51:33'),(17166,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-18 12:51:33'),(17167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 12:51:33'),(17168,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060200691223145','2016-08-18 12:51:36'),(17169,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.01817798614502','2016-08-18 12:51:36'),(17170,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00048089027404785','2016-08-18 12:51:36'),(17171,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00049018859863281','2016-08-18 12:51:36'),(17172,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-17\', `bankID` = \'110\', `receiveFrom` = \'Pinjaman Mara	\', `totalReceived` = \'85.00\', `updateAble` = 1 WHERE `ID` =  \'2139\'','loanReceive/update_loan','0.093258857727051','2016-08-18 12:51:54'),(17173,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32578\', `amountExcludedTax` = \'85.00\', `description` = \'mara ke bank3 rm85\' WHERE `ID` =  \'1733\'','loanReceive/update_loan','0.0011320114135742','2016-08-18 12:51:54'),(17174,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000009\'','loanReceive/update_loan','0.012181997299194','2016-08-18 12:51:54'),(17175,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000009\'','loanReceive/update_loan','0.00040698051452637','2016-08-18 12:51:54'),(17176,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'299\'','loanReceive/update_loan','0.027147054672241','2016-08-18 12:51:54'),(17177,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000039\' WHERE `ID` =  \'2139\'','loanReceive/update_loan','0.018200874328613','2016-08-18 12:51:54'),(17178,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000039\', \'LR[00000009]\', \'Loan Received [ LR[00000009] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 85, 85, \'User\')','loanReceive/update_loan','0.013561010360718','2016-08-18 12:51:54'),(17179,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000039\', 1, \'mara ke bank3 rm85\', \'32578\', \'Pinjaman Mara	\', 85, \'1\', \'1\', \'85\', \'08\', \'2016\', \'1\', \'LR[00000009]\', \'0\', \'User\')','loanReceive/update_loan','0.013256072998047','2016-08-18 12:51:54'),(17180,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000039\', \'mara ke bank3 rm85\', \'32574\', \'Pinjaman Mara	\', 85, \'1\', \'1\', \'85\', \'08\', \'2016\', \'LR[00000009]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.010764837265015','2016-08-18 12:51:54'),(17181,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 85, `total_amount_cr` = 85, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000039\'','loanReceive/update_loan','0.024430990219116','2016-08-18 12:51:54'),(17182,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2139\'','loanReceive/update_loan','0.0084490776062012','2016-08-18 12:51:54'),(17183,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11160','loanReceive/update_loan','0.0078370571136475','2016-08-18 12:51:54'),(17184,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000039\'','loanReceive/update_loan','0.008328914642334','2016-08-18 12:51:54'),(17185,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'32578\', \'2016\', \'8\', \'0\', \'85\', -85, \'User\', \'2016-08-18: 06:08:54\')','loanReceive/update_loan','0.047586917877197','2016-08-18 12:51:54'),(17186,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32574\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.0095510482788086','2016-08-18 12:51:54'),(17187,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'108\', \'12\', \'TT\', \'109\', \'12\', 3)','transfer/newTransfer','0.058650970458984','2016-08-18 12:53:12'),(17188,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2143, \'32573\', \'12\', \'bank 1 ke bank 2 12\')','transfer/newTransfer','0.0084459781646729','2016-08-18 12:53:12'),(17189,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'298\'','transfer/newTransfer','0.026860952377319','2016-08-18 12:53:12'),(17190,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000008\' WHERE `ID` =  2143','transfer/newTransfer','0.016738891601562','2016-08-18 12:53:12'),(17191,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160800000008\', \' [TT[00000030]]]\', \'Bank Transfer [  [TT[00000030]]] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 12, 12, \'User\')','transfer/newTransfer','0.0094771385192871','2016-08-18 12:53:12'),(17192,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000008\', 1, \'bank 1 ke bank 2 12\', \'32572\', 12, 1, \'1\', \'12\', \'08\', \'2016\', \'0\', \'TT[00000030]\', \'User\')','transfer/newTransfer','0.010818004608154','2016-08-18 12:53:12'),(17193,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160800000008\', 2, \'bank 1 ke bank 2 12\', \'32573\', 12, 1, \'1\', \'12\', \'08\', \'2016\', \'0\', \'TT[00000030]\', \'User\')','transfer/newTransfer','0.0076079368591309','2016-08-18 12:53:12'),(17194,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 12, `total_amount_cr` = 12, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000008\'','transfer/newTransfer','0.0083551406860352','2016-08-18 12:53:12'),(17195,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2143','transfer/newTransfer','0.0078589916229248','2016-08-18 12:53:12'),(17196,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11161','transfer/newTransfer','0.14714097976685','2016-08-18 12:53:12'),(17197,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160800000008\'','transfer/newTransfer','0.010735034942627','2016-08-18 12:53:12'),(17198,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.014734983444214','2016-08-18 12:53:12'),(17199,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.012437105178833','2016-08-18 12:53:12'),(17200,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-17\', `bankID` = \'109\', `receiveFrom` = \'Loan 5	\', `totalReceived` = \'111111123456.00\', `updateAble` = 1 WHERE `ID` =  \'2165\'','loanReceive/update_loan','0.07893705368042','2016-08-18 12:54:32'),(17201,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32582\', `amountExcludedTax` = \'111111123456.00\', `description` = \'loan5 ke bank2\' WHERE `ID` =  \'1762\'','loanReceive/update_loan','0.013697147369385','2016-08-18 12:54:32'),(17202,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000029\'','loanReceive/update_loan','0.010862827301025','2016-08-18 12:54:32'),(17203,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000029\'','loanReceive/update_loan','0.013675928115845','2016-08-18 12:54:32'),(17204,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'299\'','loanReceive/update_loan','0.023082971572876','2016-08-18 12:54:32'),(17205,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000040\' WHERE `ID` =  \'2165\'','loanReceive/update_loan','0.018918991088867','2016-08-18 12:54:32'),(17206,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000040\', \'LR[00000034]\', \'Loan Received [ LR[00000034] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 111111123456, 111111123456, \'User\')','loanReceive/update_loan','0.021031141281128','2016-08-18 12:54:32'),(17207,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000040\', 1, \'loan5 ke bank2\', \'32582\', \'Loan 5	\', 111111123456, \'1\', \'1\', \'111111123456\', \'08\', \'2016\', \'1\', \'LR[00000034]\', \'0\', \'User\')','loanReceive/update_loan','0.024179935455322','2016-08-18 12:54:32'),(17208,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000040\', \'loan5 ke bank2\', \'32573\', \'Loan 5	\', 111111123456, \'1\', \'1\', \'111111123456\', \'08\', \'2016\', \'LR[00000034]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.0081329345703125','2016-08-18 12:54:32'),(17209,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 111111123456, `total_amount_cr` = 111111123456, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000040\'','loanReceive/update_loan','0.01354193687439','2016-08-18 12:54:32'),(17210,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2165\'','loanReceive/update_loan','0.010976791381836','2016-08-18 12:54:32'),(17211,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11162','loanReceive/update_loan','0.013623952865601','2016-08-18 12:54:32'),(17212,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000040\'','loanReceive/update_loan','0.010877132415771','2016-08-18 12:54:32'),(17213,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32582\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.011598110198975','2016-08-18 12:54:32'),(17214,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.0098528861999512','2016-08-18 12:54:32'),(17215,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-17\', `bankID` = \'108\', `receiveFrom` = \'Loan 4	\', `totalReceived` = \'11111112345.00\', `updateAble` = 1 WHERE `ID` =  \'2164\'','loanReceive/update_loan','0.08388090133667','2016-08-18 12:55:27'),(17216,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32581\', `amountExcludedTax` = \'11111112345.00\', `description` = \'loan4 ke bank1\' WHERE `ID` =  \'1761\'','loanReceive/update_loan','0.016117095947266','2016-08-18 12:55:27'),(17217,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000028\'','loanReceive/update_loan','0.0084090232849121','2016-08-18 12:55:27'),(17218,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000028\'','loanReceive/update_loan','0.1536169052124','2016-08-18 12:55:27'),(17219,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  \'299\'','loanReceive/update_loan','0.014895915985107','2016-08-18 12:55:27'),(17220,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000041\' WHERE `ID` =  \'2164\'','loanReceive/update_loan','0.016081094741821','2016-08-18 12:55:27'),(17221,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000041\', \'LR[00000033]\', \'Loan Received [ LR[00000033] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 11111112345, 11111112345, \'User\')','loanReceive/update_loan','0.010005950927734','2016-08-18 12:55:27'),(17222,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000041\', 1, \'loan4 ke bank1\', \'32581\', \'Loan 4	\', 11111112345, \'1\', \'1\', \'11111112345\', \'08\', \'2016\', \'1\', \'LR[00000033]\', \'0\', \'User\')','loanReceive/update_loan','0.018647909164429','2016-08-18 12:55:27'),(17223,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000041\', \'loan4 ke bank1\', \'32572\', \'Loan 4	\', 11111112345, \'1\', \'1\', \'11111112345\', \'08\', \'2016\', \'LR[00000033]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.0081360340118408','2016-08-18 12:55:27'),(17224,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 11111112345, `total_amount_cr` = 11111112345, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000041\'','loanReceive/update_loan','0.016083955764771','2016-08-18 12:55:27'),(17225,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2164\'','loanReceive/update_loan','0.0084750652313232','2016-08-18 12:55:27'),(17226,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11163','loanReceive/update_loan','0.016184091567993','2016-08-18 12:55:28'),(17227,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000041\'','loanReceive/update_loan','0.0083599090576172','2016-08-18 12:55:28'),(17228,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'32581\', \'2016\', \'8\', \'0\', \'11111112345\', -11111112345, \'User\', \'2016-08-18: 06:08:27\')','loanReceive/update_loan','0.050875186920166','2016-08-18 12:55:28'),(17229,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.012517929077148','2016-08-18 12:55:28'),(17230,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-17\', `bankID` = \'109\', `receiveFrom` = \'Pinjaman Mara	\', `totalReceived` = \'45672.00\', `updateAble` = 1 WHERE `ID` =  \'2153\'','loanReceive/update_loan','0.091686964035034','2016-08-18 12:56:46'),(17231,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32578\', `amountExcludedTax` = \'45672.00\', `description` = \'mara ke bank2\' WHERE `ID` =  \'1751\'','loanReceive/update_loan','0.05348801612854','2016-08-18 12:56:46'),(17232,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000021\'','loanReceive/update_loan','0.029587030410767','2016-08-18 12:56:46'),(17233,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000021\'','loanReceive/update_loan','0.00035309791564941','2016-08-18 12:56:46'),(17234,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'299\'','loanReceive/update_loan','0.019510984420776','2016-08-18 12:56:46'),(17235,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000042\' WHERE `ID` =  \'2153\'','loanReceive/update_loan','0.010782957077026','2016-08-18 12:56:46'),(17236,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000042\', \'LR[00000022]\', \'Loan Received [ LR[00000022] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 45672, 45672, \'User\')','loanReceive/update_loan','0.01796293258667','2016-08-18 12:56:46'),(17237,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000042\', 1, \'mara ke bank2\', \'32578\', \'Pinjaman Mara	\', 45672, \'1\', \'1\', \'45672\', \'08\', \'2016\', \'1\', \'LR[00000022]\', \'0\', \'User\')','loanReceive/update_loan','0.010535955429077','2016-08-18 12:56:46'),(17238,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000042\', \'mara ke bank2\', \'32573\', \'Pinjaman Mara	\', 45672, \'1\', \'1\', \'45672\', \'08\', \'2016\', \'LR[00000022]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.015911102294922','2016-08-18 12:56:46'),(17239,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 45672, `total_amount_cr` = 45672, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000042\'','loanReceive/update_loan','0.0082931518554688','2016-08-18 12:56:46'),(17240,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2153\'','loanReceive/update_loan','0.013842105865479','2016-08-18 12:56:46'),(17241,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11164','loanReceive/update_loan','0.01082706451416','2016-08-18 12:56:46'),(17242,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000042\'','loanReceive/update_loan','0.016113996505737','2016-08-18 12:56:46'),(17243,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.012089967727661','2016-08-18 12:56:46'),(17244,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.017791032791138','2016-08-18 12:56:46'),(17245,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-17\', `bankID` = \'111\', `receiveFrom` = \'Loan 2	\', `totalReceived` = \'456.00\', `updateAble` = 1 WHERE `ID` =  \'2143\'','loanReceive/update_loan','0.08988094329834','2016-08-18 12:57:05'),(17246,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32579\', `amountExcludedTax` = \'456.00\', `description` = \'loan2 ke pc1\' WHERE `ID` =  \'1742\'','loanReceive/update_loan','0.010658979415894','2016-08-18 12:57:05'),(17247,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000012\'','loanReceive/update_loan','0.016129970550537','2016-08-18 12:57:05'),(17248,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160800000012\'','loanReceive/update_loan','0.00040793418884277','2016-08-18 12:57:05'),(17249,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'299\'','loanReceive/update_loan','0.012086153030396','2016-08-18 12:57:05'),(17250,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000043\' WHERE `ID` =  \'2143\'','loanReceive/update_loan','0.018774032592773','2016-08-18 12:57:05'),(17251,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000043\', \'LR[00000012]\', \'Loan Received [ LR[00000012] ]\', \'\', \'3\', \'2016-08-17\', \'2016\', \'08\', 456, 456, \'User\')','loanReceive/update_loan','0.010116100311279','2016-08-18 12:57:05'),(17252,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000043\', 1, \'loan2 ke pc1\', \'32579\', \'Loan 2	\', 456, \'1\', \'1\', \'456\', \'08\', \'2016\', \'1\', \'LR[00000012]\', \'0\', \'User\')','loanReceive/update_loan','0.027195930480957','2016-08-18 12:57:06'),(17253,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000043\', \'loan2 ke pc1\', \'32575\', \'Loan 2	\', 456, \'1\', \'1\', \'456\', \'08\', \'2016\', \'LR[00000012]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.013045072555542','2016-08-18 12:57:06'),(17254,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 456, `total_amount_cr` = 456, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000043\'','loanReceive/update_loan','0.011161804199219','2016-08-18 12:57:06'),(17255,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2143\'','loanReceive/update_loan','0.013390064239502','2016-08-18 12:57:06'),(17256,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11165','loanReceive/update_loan','0.011231899261475','2016-08-18 12:57:06'),(17257,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000043\'','loanReceive/update_loan','0.01329493522644','2016-08-18 12:57:06'),(17258,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'32579\', \'2016\', \'8\', \'0\', \'456\', -456, \'User\', \'2016-08-18: 06:08:05\')','loanReceive/update_loan','0.0086920261383057','2016-08-18 12:57:06'),(17259,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32575\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.012305974960327','2016-08-18 12:57:06'),(17260,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00059700012207031','2016-08-18 13:00:50'),(17261,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054216384887695','2016-08-18 13:00:50'),(17262,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054192543029785','2016-08-18 13:00:50'),(17263,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00052094459533691','2016-08-18 13:00:50'),(17264,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.066888809204102','2016-08-18 13:00:50'),(17265,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037474870681763','2016-08-18 13:00:50'),(17266,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037225961685181','2016-08-18 13:00:50'),(17267,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037642002105713','2016-08-18 13:00:50'),(17268,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.092913866043091','2016-08-18 13:00:50'),(17269,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.001115083694458','2016-08-18 13:00:50'),(17270,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0010921955108643','2016-08-18 13:00:50'),(17271,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0011899471282959','2016-08-18 13:00:54'),(17272,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 13:00:54'),(17273,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 13:00:54'),(17274,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.012144088745117','2016-08-18 13:00:54'),(17275,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 13:00:54'),(17276,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.012976884841919','2016-08-18 13:00:54'),(17277,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 13:00:54'),(17278,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.021526098251343','2016-08-18 13:00:54'),(17279,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 13:00:54'),(17280,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043511390686035','2016-08-18 13:00:54'),(17281,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051379203796387','2016-08-18 13:00:54'),(17282,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00052309036254883','2016-08-18 13:00:54'),(17283,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 13:00:54'),(17284,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 13:00:54'),(17285,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 13:00:54'),(17286,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-18 13:00:54'),(17287,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 13:00:54'),(17288,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0056169033050537','2016-08-18 13:01:09'),(17289,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00049805641174316','2016-08-18 13:01:09'),(17290,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00049400329589844','2016-08-18 13:01:09'),(17291,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.00089907646179199','2016-08-18 13:01:13'),(17292,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0009770393371582','2016-08-18 13:01:13'),(17293,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016438961029053','2016-08-18 13:01:13'),(17294,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041484832763672','2016-08-18 13:01:13'),(17295,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050497055053711','2016-08-18 13:01:13'),(17296,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062918663024902','2016-08-18 13:01:18'),(17297,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005488395690918','2016-08-18 13:01:18'),(17298,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053906440734863','2016-08-18 13:01:18'),(17299,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.000518798828125','2016-08-18 13:01:18'),(17300,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.079433917999268','2016-08-18 13:01:18'),(17301,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037512063980103','2016-08-18 13:01:18'),(17302,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037323951721191','2016-08-18 13:01:18'),(17303,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037494897842407','2016-08-18 13:01:18'),(17304,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.13502812385559','2016-08-18 13:01:18'),(17305,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00048184394836426','2016-08-18 13:01:18'),(17306,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005190372467041','2016-08-18 13:01:18'),(17307,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'33139\', \'20\', \'LR\', 0, \'24\', 3)','loanReceive/save_new_loan','0.44836592674255','2016-08-18 13:01:21'),(17308,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2190, 1, \'33133\', \'20\', \'testloan\')','loanReceive/save_new_loan','0.016669034957886','2016-08-18 13:01:21'),(17309,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  2190','loanReceive/save_new_loan','0.018756866455078','2016-08-18 13:01:21'),(17310,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2190\nAND `ID` =  2190','loanReceive/save_new_loan','0.00057506561279297','2016-08-18 13:01:21'),(17311,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.001392126083374','2016-08-18 13:01:21'),(17312,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'333\'','loanReceive/save_new_loan','0.031337976455688','2016-08-18 13:01:21'),(17313,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000012\' WHERE `ID` =  2190','loanReceive/save_new_loan','0.0083599090576172','2016-08-18 13:01:21'),(17314,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2190','loanReceive/save_new_loan','0.00051593780517578','2016-08-18 13:01:21'),(17315,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AR20160800000012\', \'LR[00000013]\', \'Loan Received [ LR[00000013] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 20, 20, \'User\')','loanReceive/save_new_loan','0.020574808120728','2016-08-18 13:01:21'),(17316,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'24\', \'AR20160800000012\', 1, \'testloan\', \'33133\', \'0\', 20, \'1\', \'1\', \'20\', \'08\', \'2016\', \'1\', \'LR[00000013]\', \'0\', \'User\')','loanReceive/save_new_loan','0.013483047485352','2016-08-18 13:01:21'),(17317,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'24\', 2, \'AR20160800000012\', \'testloan\', NULL, \'0\', 20, \'1\', \'1\', \'20\', \'08\', \'2016\', \'LR[00000013]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.018795967102051','2016-08-18 13:01:21'),(17318,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000012\'','loanReceive/save_new_loan','0.013745069503784','2016-08-18 13:01:21'),(17319,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2190','loanReceive/save_new_loan','0.019147872924805','2016-08-18 13:01:21'),(17320,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11166','loanReceive/save_new_loan','0.008418083190918','2016-08-18 13:01:21'),(17321,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000012\'','loanReceive/save_new_loan','0.032767057418823','2016-08-18 13:01:21'),(17322,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000012\'','loanReceive/save_new_loan','0.00061392784118652','2016-08-18 13:01:21'),(17323,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.026084899902344','2016-08-18 13:01:21'),(17324,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.027883052825928','2016-08-18 13:01:21'),(17325,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` IS NULL\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00046300888061523','2016-08-18 13:01:21'),(17326,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `ID` IS NULL','loanReceive/save_new_loan','0.00034284591674805','2016-08-18 13:01:21'),(17327,24,31,'192.168.1.204','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'24\', NULL, NULL, \'2016\', \'8\', \'20\', \'0\', 20, \'User\', \'2016-08-18: 07:08:21\')','loanReceive/save_new_loan','0.020717859268188','2016-08-18 13:01:22'),(17328,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064897537231445','2016-08-18 13:01:22'),(17329,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 13:01:22'),(17330,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 13:01:22'),(17331,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 13:01:22'),(17332,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 13:01:22'),(17333,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-18 13:01:22'),(17334,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 13:01:22'),(17335,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056314468383789','2016-08-18 13:01:22'),(17336,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 13:01:22'),(17337,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:01:22'),(17338,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:01:22'),(17339,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:01:22'),(17340,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-18 13:01:24'),(17341,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:01:24'),(17342,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 13:01:24'),(17343,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 13:01:24'),(17344,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 13:01:24'),(17345,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-18 13:01:24'),(17346,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 13:01:24'),(17347,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 13:01:24'),(17348,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 13:01:24'),(17349,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 13:01:24'),(17350,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-18 13:01:24'),(17351,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 13:01:24'),(17352,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059103965759277','2016-08-18 13:01:28'),(17353,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.019409894943237','2016-08-18 13:01:29'),(17354,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0017120838165283','2016-08-18 13:01:29'),(17355,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.016034126281738','2016-08-18 13:01:29'),(17356,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.001291036605835','2016-08-18 13:01:29'),(17357,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0012531280517578','2016-08-18 13:01:29'),(17358,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'149\', \'100\', \'LR\', \'Loan 1	\', \'23\', 3)','loanReceive/save_new_loan','0.017906904220581','2016-08-18 13:01:30'),(17359,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2191, 1, \'33013\', \'100\', \'loan\')','loanReceive/save_new_loan','0.010895013809204','2016-08-18 13:01:30'),(17360,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  \'320\'','loanReceive/save_new_loan','0.021880865097046','2016-08-18 13:01:30'),(17361,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000032\' WHERE `ID` =  2191','loanReceive/save_new_loan','0.0084009170532227','2016-08-18 13:01:30'),(17362,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000032\', \'LR[00000011]\', \'Loan Received [ LR[00000011] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 100, 100, \'User\')','loanReceive/save_new_loan','0.0096659660339355','2016-08-18 13:01:30'),(17363,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000032\', 1, \'loan\', \'33013\', \'Loan 1	\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'LR[00000011]\', \'0\', \'User\')','loanReceive/save_new_loan','0.010612964630127','2016-08-18 13:01:30'),(17364,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000032\', \'loan\', \'33008\', \'Loan 1	\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'LR[00000011]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.015923976898193','2016-08-18 13:01:30'),(17365,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000032\'','loanReceive/save_new_loan','0.0083389282226562','2016-08-18 13:01:30'),(17366,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2191','loanReceive/save_new_loan','0.016219139099121','2016-08-18 13:01:30'),(17367,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11167','loanReceive/save_new_loan','0.0084159374237061','2016-08-18 13:01:30'),(17368,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000032\'','loanReceive/save_new_loan','0.013612985610962','2016-08-18 13:01:30'),(17369,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.0073480606079102','2016-08-18 13:01:30'),(17370,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.012634992599487','2016-08-18 13:01:30'),(17371,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0005958080291748','2016-08-18 13:01:32'),(17372,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-18 13:01:32'),(17373,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 13:01:32'),(17374,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-18 13:01:32'),(17375,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 13:01:32'),(17376,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:01:32'),(17377,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 13:01:32'),(17378,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 13:01:32'),(17379,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 13:01:32'),(17380,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 13:01:32'),(17381,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-18 13:01:32'),(17382,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 13:01:32'),(17383,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 13:01:32'),(17384,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'33140\', \'20\', \'LR\', 0, \'24\', 3)','loanReceive/save_new_loan','0.10378503799438','2016-08-18 13:01:50'),(17385,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2192, 1, \'33133\', \'20\', \'testloan2\')','loanReceive/save_new_loan','0.016786813735962','2016-08-18 13:01:50'),(17386,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  2192','loanReceive/save_new_loan','0.0038940906524658','2016-08-18 13:01:51'),(17387,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2192\nAND `ID` =  2192','loanReceive/save_new_loan','0.00058197975158691','2016-08-18 13:01:51'),(17388,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.0005190372467041','2016-08-18 13:01:51'),(17389,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'333\'','loanReceive/save_new_loan','0.022300958633423','2016-08-18 13:01:51'),(17390,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000013\' WHERE `ID` =  2192','loanReceive/save_new_loan','0.0083780288696289','2016-08-18 13:01:51'),(17391,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2192','loanReceive/save_new_loan','0.0005500316619873','2016-08-18 13:01:51'),(17392,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AR20160800000013\', \'LR[00000014]\', \'Loan Received [ LR[00000014] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 20, 20, \'User\')','loanReceive/save_new_loan','0.0098018646240234','2016-08-18 13:01:51'),(17393,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'24\', \'AR20160800000013\', 1, \'testloan2\', \'33133\', \'0\', 20, \'1\', \'1\', \'20\', \'08\', \'2016\', \'1\', \'LR[00000014]\', \'0\', \'User\')','loanReceive/save_new_loan','0.010519027709961','2016-08-18 13:01:51'),(17394,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'24\', 2, \'AR20160800000013\', \'testloan2\', NULL, \'0\', 20, \'1\', \'1\', \'20\', \'08\', \'2016\', \'LR[00000014]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.0159010887146','2016-08-18 13:01:51'),(17395,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000013\'','loanReceive/save_new_loan','0.025014877319336','2016-08-18 13:01:51'),(17396,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2192','loanReceive/save_new_loan','0.016197919845581','2016-08-18 13:01:51'),(17397,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11168','loanReceive/save_new_loan','0.0084190368652344','2016-08-18 13:01:51'),(17398,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000013\'','loanReceive/save_new_loan','0.016088962554932','2016-08-18 13:01:51'),(17399,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000013\'','loanReceive/save_new_loan','0.00062704086303711','2016-08-18 13:01:51'),(17400,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00050115585327148','2016-08-18 13:01:51'),(17401,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.012063026428223','2016-08-18 13:01:51'),(17402,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` IS NULL\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00088119506835938','2016-08-18 13:01:51'),(17403,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.017443895339966','2016-08-18 13:01:51'),(17404,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0014450550079346','2016-08-18 13:01:51'),(17405,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00099301338195801','2016-08-18 13:01:51'),(17406,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016298294067383','2016-08-18 13:01:51'),(17407,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040698051452637','2016-08-18 13:01:51'),(17408,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050997734069824','2016-08-18 13:01:51'),(17409,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0013728141784668','2016-08-18 13:02:23'),(17410,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012950897216797','2016-08-18 13:02:23'),(17411,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012581348419189','2016-08-18 13:02:23'),(17412,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012528896331787','2016-08-18 13:02:23'),(17413,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.084090948104858','2016-08-18 13:02:23'),(17414,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043988227844238','2016-08-18 13:02:23'),(17415,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048184394836426','2016-08-18 13:02:23'),(17416,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0017509460449219','2016-08-18 13:02:33'),(17417,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0009911060333252','2016-08-18 13:02:33'),(17418,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2065\'','expenses/addNew','0.019107103347778','2016-08-18 13:02:33'),(17419,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2065\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/addNew','0.0023579597473145','2016-08-18 13:02:33'),(17420,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AP20160800000015\'','expenses/addNew','0.00055098533630371','2016-08-18 13:02:33'),(17421,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00040102005004883','2016-08-18 13:02:33'),(17422,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.0004880428314209','2016-08-18 13:02:33'),(17423,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0015289783477783','2016-08-18 13:02:38'),(17424,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0009760856628418','2016-08-18 13:02:38'),(17425,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016360282897949','2016-08-18 13:02:38'),(17426,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040793418884277','2016-08-18 13:02:38'),(17427,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051093101501465','2016-08-18 13:02:38'),(17428,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.00096702575683594','2016-08-18 13:03:17'),(17429,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010318756103516','2016-08-18 13:03:17'),(17430,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016570091247559','2016-08-18 13:03:17'),(17431,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041389465332031','2016-08-18 13:03:17'),(17432,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050592422485352','2016-08-18 13:03:17'),(17433,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-18\', `bankID` = \'162\', `receiveFrom` = \'Mara\', `totalReceived` = \'20.00\', `updateAble` = 1 WHERE `ID` =  \'2190\'','loanReceive/update_loan','0.10722398757935','2016-08-18 13:03:30'),(17434,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'33139\', `amountExcludedTax` = \'20.00\', `description` = \'testloan\' WHERE `ID` =  \'1802\'','loanReceive/update_loan','0.016090154647827','2016-08-18 13:03:30'),(17435,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000012\'','loanReceive/update_loan','0.016761064529419','2016-08-18 13:03:30'),(17436,24,31,'192.168.1.204','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000012\'','loanReceive/update_loan','0.030555009841919','2016-08-18 13:03:30'),(17437,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  \'2190\'','loanReceive/update_loan','0.0034799575805664','2016-08-18 13:03:30'),(17438,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2190\'\nAND `ID` =  \'2190\'','loanReceive/update_loan','0.00057411193847656','2016-08-18 13:03:30'),(17439,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/update_loan','0.00052595138549805','2016-08-18 13:03:30'),(17440,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'333\'','loanReceive/update_loan','0.01720404624939','2016-08-18 13:03:30'),(17441,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000014\' WHERE `ID` =  \'2190\'','loanReceive/update_loan','0.016113996505737','2016-08-18 13:03:30'),(17442,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2190\'','loanReceive/update_loan','0.00059795379638672','2016-08-18 13:03:30'),(17443,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AR20160800000014\', \'LR[00000013]\', \'Loan Received [ LR[00000013] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 20, 20, \'User\')','loanReceive/update_loan','0.010117053985596','2016-08-18 13:03:30'),(17444,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'24\', \'AR20160800000014\', 1, \'testloan\', \'33139\', \'Mara\', 20, \'1\', \'1\', \'20\', \'08\', \'2016\', \'1\', \'LR[00000013]\', \'0\', \'User\')','loanReceive/update_loan','0.018464088439941','2016-08-18 13:03:30'),(17445,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'24\', 2, \'AR20160800000014\', \'testloan\', \'33133\', \'Mara\', 20, \'1\', \'1\', \'20\', \'08\', \'2016\', \'LR[00000013]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.016471147537231','2016-08-18 13:03:30'),(17446,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000014\'','loanReceive/update_loan','0.016101837158203','2016-08-18 13:03:30'),(17447,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2190\'','loanReceive/update_loan','0.016772985458374','2016-08-18 13:03:30'),(17448,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11169','loanReceive/update_loan','0.016150951385498','2016-08-18 13:03:30'),(17449,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000014\'','loanReceive/update_loan','0.01671290397644','2016-08-18 13:03:30'),(17450,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000014\'','loanReceive/update_loan','0.0006260871887207','2016-08-18 13:03:30'),(17451,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33139\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/update_loan','0.00049901008605957','2016-08-18 13:03:30'),(17452,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.011863946914673','2016-08-18 13:03:30'),(17453,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/update_loan','0.0004880428314209','2016-08-18 13:03:30'),(17454,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.018002033233643','2016-08-18 13:03:30'),(17455,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0014438629150391','2016-08-18 13:03:30'),(17456,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00097298622131348','2016-08-18 13:03:30'),(17457,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016098022460938','2016-08-18 13:03:30'),(17458,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041007995605469','2016-08-18 13:03:30'),(17459,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051093101501465','2016-08-18 13:03:30'),(17460,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'149\', \'200\', \'LR\', \'Loan 2	\', \'23\', 3)','loanReceive/save_new_loan','0.21922397613525','2016-08-18 13:03:33'),(17461,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2193, 1, \'33014\', \'200\', \'loan\')','loanReceive/save_new_loan','0.01868200302124','2016-08-18 13:03:33'),(17462,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  \'320\'','loanReceive/save_new_loan','0.023515939712524','2016-08-18 13:03:33'),(17463,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000033\' WHERE `ID` =  2193','loanReceive/save_new_loan','0.024508953094482','2016-08-18 13:03:33'),(17464,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000033\', \'LR[00000012]\', \'Loan Received [ LR[00000012] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 200, 200, \'User\')','loanReceive/save_new_loan','0.01023006439209','2016-08-18 13:03:33'),(17465,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000033\', 1, \'loan\', \'33014\', \'Loan 2	\', 200, \'1\', \'1\', \'200\', \'08\', \'2016\', \'1\', \'LR[00000012]\', \'0\', \'User\')','loanReceive/save_new_loan','0.018340110778809','2016-08-18 13:03:33'),(17466,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000033\', \'loan\', \'33008\', \'Loan 2	\', 200, \'1\', \'1\', \'200\', \'08\', \'2016\', \'LR[00000012]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016420125961304','2016-08-18 13:03:33'),(17467,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000033\'','loanReceive/save_new_loan','0.016140937805176','2016-08-18 13:03:33'),(17468,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2193','loanReceive/save_new_loan','0.033430814743042','2016-08-18 13:03:33'),(17469,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11170','loanReceive/save_new_loan','0.016252040863037','2016-08-18 13:03:33'),(17470,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000033\'','loanReceive/save_new_loan','0.030818939208984','2016-08-18 13:03:33'),(17471,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33014\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.033300876617432','2016-08-18 13:03:33'),(17472,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.024003982543945','2016-08-18 13:03:33'),(17473,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062918663024902','2016-08-18 13:03:40'),(17474,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055480003356934','2016-08-18 13:03:40'),(17475,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054597854614258','2016-08-18 13:03:40'),(17476,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052404403686523','2016-08-18 13:03:40'),(17477,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13198685646057','2016-08-18 13:03:40'),(17478,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037425994873047','2016-08-18 13:03:40'),(17479,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037139892578125','2016-08-18 13:03:40'),(17480,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037400960922241','2016-08-18 13:03:40'),(17481,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.36962413787842','2016-08-18 13:03:40'),(17482,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049805641174316','2016-08-18 13:03:40'),(17483,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053501129150391','2016-08-18 13:03:40'),(17484,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064587593078613','2016-08-18 13:04:01'),(17485,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 13:04:01'),(17486,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:04:01'),(17487,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 13:04:01'),(17488,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:04:01'),(17489,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 13:04:01'),(17490,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054383277893066','2016-08-18 13:04:01'),(17491,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-18 13:04:01'),(17492,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 13:04:01'),(17493,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 13:04:01'),(17494,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-18 13:04:01'),(17495,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 13:04:01'),(17496,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00068807601928711','2016-08-18 13:04:02'),(17497,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 13:04:02'),(17498,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:04:02'),(17499,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:04:02'),(17500,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:04:02'),(17501,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-18 13:04:02'),(17502,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 13:04:02'),(17503,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 13:04:02'),(17504,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 13:04:02'),(17505,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 13:04:02'),(17506,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 13:04:02'),(17507,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 13:04:03'),(17508,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'33139\', \'30\', \'LR\', 0, \'24\', 3)','loanReceive/save_new_loan','0.024975061416626','2016-08-18 13:04:05'),(17509,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2194, 1, \'33133\', \'30\', \'testloan3\')','loanReceive/save_new_loan','0.016808986663818','2016-08-18 13:04:05'),(17510,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  2194','loanReceive/save_new_loan','0.02830696105957','2016-08-18 13:04:05'),(17511,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2194\nAND `ID` =  2194','loanReceive/save_new_loan','0.0005340576171875','2016-08-18 13:04:05'),(17512,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.010303020477295','2016-08-18 13:04:05'),(17513,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'333\'','loanReceive/save_new_loan','0.021492958068848','2016-08-18 13:04:05'),(17514,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000015\' WHERE `ID` =  2194','loanReceive/save_new_loan','0.016731977462769','2016-08-18 13:04:05'),(17515,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2194','loanReceive/save_new_loan','0.00056099891662598','2016-08-18 13:04:05'),(17516,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AR20160800000015\', \'LR[00000015]\', \'Loan Received [ LR[00000015] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 30, 30, \'User\')','loanReceive/save_new_loan','0.018341064453125','2016-08-18 13:04:05'),(17517,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'24\', \'AR20160800000015\', 1, \'testloan3\', \'33133\', \'0\', 30, \'1\', \'1\', \'30\', \'08\', \'2016\', \'1\', \'LR[00000015]\', \'0\', \'User\')','loanReceive/save_new_loan','0.018545866012573','2016-08-18 13:04:05'),(17518,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'24\', 2, \'AR20160800000015\', \'testloan3\', NULL, \'0\', 30, \'1\', \'1\', \'30\', \'08\', \'2016\', \'LR[00000015]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.015905141830444','2016-08-18 13:04:05'),(17519,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000015\'','loanReceive/save_new_loan','0.030925035476685','2016-08-18 13:04:05'),(17520,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2194','loanReceive/save_new_loan','0.018620014190674','2016-08-18 13:04:05'),(17521,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11171','loanReceive/save_new_loan','0.016683101654053','2016-08-18 13:04:05'),(17522,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000015\'','loanReceive/save_new_loan','0.032803058624268','2016-08-18 13:04:05'),(17523,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000015\'','loanReceive/save_new_loan','0.00063800811767578','2016-08-18 13:04:05'),(17524,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33133\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.022689819335938','2016-08-18 13:04:05'),(17525,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33133\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.031723022460938','2016-08-18 13:04:05'),(17526,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` IS NULL\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00046110153198242','2016-08-18 13:04:05'),(17527,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.025950193405151','2016-08-18 13:04:05'),(17528,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.022609949111938','2016-08-18 13:04:05'),(17529,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0018749237060547','2016-08-18 13:04:05'),(17530,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0096859931945801','2016-08-18 13:04:05'),(17531,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00046491622924805','2016-08-18 13:04:05'),(17532,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00052404403686523','2016-08-18 13:04:05'),(17533,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0005948543548584','2016-08-18 13:04:06'),(17534,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00063300132751465','2016-08-18 13:04:07'),(17535,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-18 13:04:07'),(17536,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052976608276367','2016-08-18 13:04:07'),(17537,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-18 13:04:07'),(17538,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-18 13:04:07'),(17539,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:04:07'),(17540,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 13:04:07'),(17541,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 13:04:07'),(17542,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:04:07'),(17543,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 13:04:07'),(17544,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 13:04:07'),(17545,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 13:04:07'),(17546,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051403045654297','2016-08-18 13:04:07'),(17547,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.047483921051025','2016-08-18 13:04:12'),(17548,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-18 13:04:12'),(17549,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0020041465759277','2016-08-18 13:04:12'),(17550,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-18 13:04:12'),(17551,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013241767883301','2016-08-18 13:04:12'),(17552,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 13:04:12'),(17553,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 13:04:12'),(17554,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-18 13:04:12'),(17555,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-18 13:04:12'),(17556,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013251304626465','2016-08-18 13:04:13'),(17557,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013201236724854','2016-08-18 13:04:13'),(17558,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00130295753479','2016-08-18 13:04:13'),(17559,24,31,'192.168.1.204','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'24\'','setup/loanSetup','0.0016770362854004','2016-08-18 13:04:15'),(17560,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.00045204162597656','2016-08-18 13:04:15'),(17561,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00052404403686523','2016-08-18 13:04:15'),(17562,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014681816101074','2016-08-18 13:04:16'),(17563,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-18 13:04:16'),(17564,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-18 13:04:16'),(17565,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013859272003174','2016-08-18 13:04:16'),(17566,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-18 13:04:16'),(17567,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013198852539062','2016-08-18 13:04:16'),(17568,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013089179992676','2016-08-18 13:04:16'),(17569,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 13:04:16'),(17570,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 13:04:16'),(17571,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013358592987061','2016-08-18 13:04:16'),(17572,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013048648834229','2016-08-18 13:04:16'),(17573,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013039112091064','2016-08-18 13:04:16'),(17574,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042929649353027','2016-08-18 13:04:19'),(17575,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040309429168701','2016-08-18 13:04:19'),(17576,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-18 13:04:19'),(17577,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040349960327148','2016-08-18 13:04:19'),(17578,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004086971282959','2016-08-18 13:04:19'),(17579,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040519237518311','2016-08-18 13:04:19'),(17580,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-18 13:04:20'),(17581,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041141510009766','2016-08-18 13:04:20'),(17582,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-18 13:04:20'),(17583,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040318965911865','2016-08-18 13:04:20'),(17584,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-18 13:04:20'),(17585,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041308403015137','2016-08-18 13:04:20'),(17586,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042388439178467','2016-08-18 13:04:22'),(17587,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004086971282959','2016-08-18 13:04:22'),(17588,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040521621704102','2016-08-18 13:04:22'),(17589,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041189193725586','2016-08-18 13:04:22'),(17590,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040369033813477','2016-08-18 13:04:22'),(17591,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-18 13:04:22'),(17592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004101037979126','2016-08-18 13:04:22'),(17593,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040898323059082','2016-08-18 13:04:22'),(17594,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004021167755127','2016-08-18 13:04:22'),(17595,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00400710105896','2016-08-18 13:04:22'),(17596,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-18 13:04:22'),(17597,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004080057144165','2016-08-18 13:04:22'),(17598,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064206123352051','2016-08-18 13:04:24'),(17599,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055098533630371','2016-08-18 13:04:24'),(17600,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054311752319336','2016-08-18 13:04:24'),(17601,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00052309036254883','2016-08-18 13:04:24'),(17602,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.081317186355591','2016-08-18 13:04:24'),(17603,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037703037261963','2016-08-18 13:04:24'),(17604,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037464141845703','2016-08-18 13:04:24'),(17605,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037613868713379','2016-08-18 13:04:24'),(17606,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.48918509483337','2016-08-18 13:04:24'),(17607,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0069739818572998','2016-08-18 13:04:24'),(17608,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0011889934539795','2016-08-18 13:04:24'),(17609,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.039738893508911','2016-08-18 13:04:29'),(17610,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 13:04:29'),(17611,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:04:29'),(17612,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 13:04:29'),(17613,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058412551879883','2016-08-18 13:04:29'),(17614,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 13:04:29'),(17615,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 13:04:29'),(17616,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-18 13:04:29'),(17617,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:04:29'),(17618,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058603286743164','2016-08-18 13:04:29'),(17619,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-18 13:04:30'),(17620,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 13:04:30'),(17621,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.00095605850219727','2016-08-18 13:04:31'),(17622,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.031522989273071','2016-08-18 13:04:31'),(17623,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.012659072875977','2016-08-18 13:04:31'),(17624,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043916702270508','2016-08-18 13:04:31'),(17625,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051689147949219','2016-08-18 13:04:31'),(17626,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061702728271484','2016-08-18 13:04:31'),(17627,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:04:31'),(17628,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:04:31'),(17629,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 13:04:31'),(17630,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:04:31'),(17631,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 13:04:31'),(17632,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 13:04:31'),(17633,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-18 13:04:31'),(17634,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 13:04:31'),(17635,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 13:04:31'),(17636,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 13:04:31'),(17637,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 13:04:31'),(17638,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.17385601997375','2016-08-18 13:04:34'),(17639,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010268688201904','2016-08-18 13:04:34'),(17640,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016419887542725','2016-08-18 13:04:34'),(17641,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041484832763672','2016-08-18 13:04:34'),(17642,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050497055053711','2016-08-18 13:04:34'),(17643,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060296058654785','2016-08-18 13:04:36'),(17644,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059700012207031','2016-08-18 13:04:37'),(17645,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-18 13:04:37'),(17646,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:04:37'),(17647,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-18 13:04:37'),(17648,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 13:04:37'),(17649,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 13:04:37'),(17650,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 13:04:37'),(17651,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 13:04:37'),(17652,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-18 13:04:37');
INSERT INTO `_log_query` VALUES (17653,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 13:04:37'),(17654,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 13:04:37'),(17655,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 13:04:37'),(17656,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051283836364746','2016-08-18 13:04:37'),(17657,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.13210511207581','2016-08-18 13:04:42'),(17658,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013618469238281','2016-08-18 13:04:42'),(17659,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-18 13:04:42'),(17660,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-18 13:04:42'),(17661,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 13:04:42'),(17662,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-18 13:04:42'),(17663,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-18 13:04:42'),(17664,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-18 13:04:42'),(17665,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-18 13:04:42'),(17666,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013260841369629','2016-08-18 13:04:42'),(17667,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 13:04:42'),(17668,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013160705566406','2016-08-18 13:04:42'),(17669,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014798641204834','2016-08-18 13:04:44'),(17670,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-18 13:04:44'),(17671,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0017850399017334','2016-08-18 13:04:44'),(17672,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001317024230957','2016-08-18 13:04:44'),(17673,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-18 13:04:44'),(17674,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013160705566406','2016-08-18 13:04:44'),(17675,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013258457183838','2016-08-18 13:04:44'),(17676,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013141632080078','2016-08-18 13:04:44'),(17677,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013110637664795','2016-08-18 13:04:44'),(17678,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 13:04:44'),(17679,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013120174407959','2016-08-18 13:04:44'),(17680,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013129711151123','2016-08-18 13:04:44'),(17681,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042388439178467','2016-08-18 13:04:47'),(17682,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-18 13:04:47'),(17683,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041029453277588','2016-08-18 13:04:47'),(17684,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040719509124756','2016-08-18 13:04:47'),(17685,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040700435638428','2016-08-18 13:04:47'),(17686,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040538311004639','2016-08-18 13:04:47'),(17687,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040988922119141','2016-08-18 13:04:47'),(17688,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004021167755127','2016-08-18 13:04:47'),(17689,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-18 13:04:47'),(17690,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040130615234375','2016-08-18 13:04:47'),(17691,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-18 13:04:47'),(17692,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040020942687988','2016-08-18 13:04:47'),(17693,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004364013671875','2016-08-18 13:04:50'),(17694,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040528774261475','2016-08-18 13:04:50'),(17695,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040409564971924','2016-08-18 13:04:50'),(17696,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041611194610596','2016-08-18 13:04:50'),(17697,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040459632873535','2016-08-18 13:04:50'),(17698,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040230751037598','2016-08-18 13:04:50'),(17699,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040919780731201','2016-08-18 13:04:50'),(17700,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004019021987915','2016-08-18 13:04:50'),(17701,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004011869430542','2016-08-18 13:04:50'),(17702,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041098594665527','2016-08-18 13:04:50'),(17703,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041160583496094','2016-08-18 13:04:50'),(17704,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040171146392822','2016-08-18 13:04:50'),(17705,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00152587890625','2016-08-18 13:05:02'),(17706,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040438175201416','2016-08-18 13:05:02'),(17707,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00069499015808105','2016-08-18 13:05:09'),(17708,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:05:09'),(17709,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:05:09'),(17710,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 13:05:09'),(17711,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 13:05:09'),(17712,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 13:05:09'),(17713,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-18 13:05:09'),(17714,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 13:05:10'),(17715,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 13:05:10'),(17716,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:05:10'),(17717,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-18 13:05:10'),(17718,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-18 13:05:10'),(17719,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043931007385254','2016-08-18 13:05:10'),(17720,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043091773986816','2016-08-18 13:05:10'),(17721,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042858123779297','2016-08-18 13:05:10'),(17722,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042760372161865','2016-08-18 13:05:10'),(17723,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042641162872314','2016-08-18 13:05:10'),(17724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042860507965088','2016-08-18 13:05:10'),(17725,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042629241943359','2016-08-18 13:05:10'),(17726,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042829513549805','2016-08-18 13:05:10'),(17727,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043151378631592','2016-08-18 13:05:10'),(17728,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004335880279541','2016-08-18 13:05:10'),(17729,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042951107025146','2016-08-18 13:05:10'),(17730,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042750835418701','2016-08-18 13:05:10'),(17731,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'110\', \'10\', \'LR\', \'Loan 2	\', \'12\', 3)','loanReceive/save_new_loan','0.07846999168396','2016-08-18 13:05:15'),(17732,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2195, 1, \'32579\', \'10\', \'loan2 ke bank3\')','loanReceive/save_new_loan','0.018263101577759','2016-08-18 13:05:15'),(17733,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'299\'','loanReceive/save_new_loan','0.031376123428345','2016-08-18 13:05:15'),(17734,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000044\' WHERE `ID` =  2195','loanReceive/save_new_loan','0.01670503616333','2016-08-18 13:05:15'),(17735,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160800000044\', \'LR[00000035]\', \'Loan Received [ LR[00000035] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 10, 10, \'User\')','loanReceive/save_new_loan','0.01069712638855','2016-08-18 13:05:15'),(17736,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160800000044\', 1, \'loan2 ke bank3\', \'32579\', \'Loan 2	\', 10, \'1\', \'1\', \'10\', \'08\', \'2016\', \'1\', \'LR[00000035]\', \'0\', \'User\')','loanReceive/save_new_loan','0.04953408241272','2016-08-18 13:05:15'),(17737,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160800000044\', \'loan2 ke bank3\', \'32574\', \'Loan 2	\', 10, \'1\', \'1\', \'10\', \'08\', \'2016\', \'LR[00000035]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.01774001121521','2016-08-18 13:05:15'),(17738,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000044\'','loanReceive/save_new_loan','0.028903961181641','2016-08-18 13:05:15'),(17739,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2195','loanReceive/save_new_loan','0.020598888397217','2016-08-18 13:05:15'),(17740,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11172','loanReceive/save_new_loan','0.016768932342529','2016-08-18 13:05:15'),(17741,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160800000044\'','loanReceive/save_new_loan','0.041105985641479','2016-08-18 13:05:15'),(17742,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32579\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022442102432251','2016-08-18 13:05:15'),(17743,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32574\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.013571977615356','2016-08-18 13:05:15'),(17744,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'150\', \'30\', \'LR\', \'Loan 3	\', \'23\', 3)','loanReceive/save_new_loan','0.030267953872681','2016-08-18 13:05:17'),(17745,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2196, 1, \'33015\', \'30\', \'loaniing\')','loanReceive/save_new_loan','0.016808032989502','2016-08-18 13:05:17'),(17746,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  \'320\'','loanReceive/save_new_loan','0.012754917144775','2016-08-18 13:05:18'),(17747,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000034\' WHERE `ID` =  2196','loanReceive/save_new_loan','0.033091068267822','2016-08-18 13:05:18'),(17748,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000034\', \'LR[00000013]\', \'Loan Received [ LR[00000013] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 30, 30, \'User\')','loanReceive/save_new_loan','0.013936996459961','2016-08-18 13:05:18'),(17749,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000034\', 1, \'loaniing\', \'33015\', \'Loan 3	\', 30, \'1\', \'1\', \'30\', \'08\', \'2016\', \'1\', \'LR[00000013]\', \'0\', \'User\')','loanReceive/save_new_loan','0.016453981399536','2016-08-18 13:05:18'),(17750,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000034\', \'loaniing\', \'33009\', \'Loan 3	\', 30, \'1\', \'1\', \'30\', \'08\', \'2016\', \'LR[00000013]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.015820980072021','2016-08-18 13:05:18'),(17751,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000034\'','loanReceive/save_new_loan','0.016644954681396','2016-08-18 13:05:18'),(17752,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2196','loanReceive/save_new_loan','0.016205072402954','2016-08-18 13:05:18'),(17753,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11173','loanReceive/save_new_loan','0.016840934753418','2016-08-18 13:05:18'),(17754,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000034\'','loanReceive/save_new_loan','0.016108989715576','2016-08-18 13:05:18'),(17755,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33015\', \'2016\', \'8\', \'0\', \'30\', -30, \'User\', \'2016-08-18: 07:08:17\')','loanReceive/save_new_loan','0.012377023696899','2016-08-18 13:05:18'),(17756,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.016956806182861','2016-08-18 13:05:18'),(17757,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.00094485282897949','2016-08-18 13:05:30'),(17758,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00097298622131348','2016-08-18 13:05:30'),(17759,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016508102416992','2016-08-18 13:05:30'),(17760,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041604042053223','2016-08-18 13:05:30'),(17761,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050711631774902','2016-08-18 13:05:30'),(17762,25,32,'192.168.1.220','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'33077\', \'100\', \'LR\', 0, \'25\', 3)','loanReceive/save_new_loan','0.099062919616699','2016-08-18 13:05:55'),(17763,25,32,'192.168.1.220','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2197, 1, \'33071\', \'100\', \'pinjaman ceti\')','loanReceive/save_new_loan','0.016175031661987','2016-08-18 13:05:55'),(17764,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  2197','loanReceive/save_new_loan','0.0034811496734619','2016-08-18 13:05:55'),(17765,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2197\nAND `ID` =  2197','loanReceive/save_new_loan','0.00056314468383789','2016-08-18 13:05:55'),(17766,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'25\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.00051593780517578','2016-08-18 13:05:55'),(17767,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'335\'','loanReceive/save_new_loan','0.023213863372803','2016-08-18 13:05:55'),(17768,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000017\' WHERE `ID` =  2197','loanReceive/save_new_loan','0.024487972259521','2016-08-18 13:05:55'),(17769,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2197','loanReceive/save_new_loan','0.00055313110351562','2016-08-18 13:05:55'),(17770,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AR20160800000017\', \'LR[00000015]\', \'Loan Received [ LR[00000015] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 100, 100, \'User\')','loanReceive/save_new_loan','0.011039972305298','2016-08-18 13:05:55'),(17771,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'25\', \'AR20160800000017\', 1, \'pinjaman ceti\', \'33071\', \'0\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'LR[00000015]\', \'0\', \'User\')','loanReceive/save_new_loan','0.01760721206665','2016-08-18 13:05:55'),(17772,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'25\', 2, \'AR20160800000017\', \'pinjaman ceti\', NULL, \'0\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'LR[00000015]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016480207443237','2016-08-18 13:05:55'),(17773,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.024428129196167','2016-08-18 13:05:55'),(17774,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2197','loanReceive/save_new_loan','0.016782999038696','2016-08-18 13:05:55'),(17775,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11174','loanReceive/save_new_loan','0.016170978546143','2016-08-18 13:05:55'),(17776,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.016694068908691','2016-08-18 13:05:55'),(17777,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.00060200691223145','2016-08-18 13:05:55'),(17778,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33071\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00049901008605957','2016-08-18 13:05:55'),(17779,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022521018981934','2016-08-18 13:05:55'),(17780,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` IS NULL\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00046801567077637','2016-08-18 13:05:55'),(17781,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `ID` IS NULL','loanReceive/save_new_loan','0.00034499168395996','2016-08-18 13:05:55'),(17782,25,32,'192.168.1.220','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'25\', NULL, NULL, \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-18: 07:08:55\')','loanReceive/save_new_loan','0.011072874069214','2016-08-18 13:05:55'),(17783,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00066113471984863','2016-08-18 13:06:02'),(17784,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005648136138916','2016-08-18 13:06:02'),(17785,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-18 13:06:02'),(17786,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005500316619873','2016-08-18 13:06:02'),(17787,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13286900520325','2016-08-18 13:06:02'),(17788,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037585020065308','2016-08-18 13:06:02'),(17789,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037369012832642','2016-08-18 13:06:02'),(17790,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037663221359253','2016-08-18 13:06:02'),(17791,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.34173083305359','2016-08-18 13:06:02'),(17792,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00051307678222656','2016-08-18 13:06:02'),(17793,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052499771118164','2016-08-18 13:06:02'),(17794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.014864921569824','2016-08-18 13:06:06'),(17795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 13:06:06'),(17796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:06:06'),(17797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 13:06:06'),(17798,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051689147949219','2016-08-18 13:06:06'),(17799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 13:06:06'),(17800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 13:06:06'),(17801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 13:06:06'),(17802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:06:06'),(17803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 13:06:06'),(17804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 13:06:06'),(17805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:06:06'),(17806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063610076904297','2016-08-18 13:06:07'),(17807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 13:06:07'),(17808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 13:06:07'),(17809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:06:07'),(17810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:06:07'),(17811,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 13:06:07'),(17812,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 13:06:07'),(17813,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 13:06:07'),(17814,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:06:07'),(17815,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005347728729248','2016-08-18 13:06:07'),(17816,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 13:06:07'),(17817,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 13:06:07'),(17818,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058102607727051','2016-08-18 13:06:11'),(17819,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059986114501953','2016-08-18 13:06:12'),(17820,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-18 13:06:12'),(17821,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:06:12'),(17822,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 13:06:12'),(17823,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 13:06:12'),(17824,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:06:12'),(17825,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:06:12'),(17826,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:06:12'),(17827,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:06:12'),(17828,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 13:06:12'),(17829,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 13:06:12'),(17830,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 13:06:12'),(17831,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051712989807129','2016-08-18 13:06:12'),(17832,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.14481997489929','2016-08-18 13:06:16'),(17833,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013670921325684','2016-08-18 13:06:16'),(17834,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013630390167236','2016-08-18 13:06:16'),(17835,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013501644134521','2016-08-18 13:06:16'),(17836,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 13:06:16'),(17837,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-18 13:06:16'),(17838,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013201236724854','2016-08-18 13:06:16'),(17839,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 13:06:16'),(17840,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013217926025391','2016-08-18 13:06:16'),(17841,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013551712036133','2016-08-18 13:06:16'),(17842,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013167858123779','2016-08-18 13:06:16'),(17843,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-18 13:06:16'),(17844,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015008449554443','2016-08-18 13:06:18'),(17845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013861656188965','2016-08-18 13:06:18'),(17846,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-18 13:06:18'),(17847,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014140605926514','2016-08-18 13:06:18'),(17848,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013210773468018','2016-08-18 13:06:18'),(17849,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013868808746338','2016-08-18 13:06:18'),(17850,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013079643249512','2016-08-18 13:06:18'),(17851,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013840198516846','2016-08-18 13:06:18'),(17852,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014700889587402','2016-08-18 13:06:18'),(17853,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 13:06:18'),(17854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-18 13:06:18'),(17855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 13:06:18'),(17856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043098926544189','2016-08-18 13:06:21'),(17857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-18 13:06:22'),(17858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040960311889648','2016-08-18 13:06:22'),(17859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041959285736084','2016-08-18 13:06:22'),(17860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041189193725586','2016-08-18 13:06:22'),(17861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004119873046875','2016-08-18 13:06:22'),(17862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-18 13:06:22'),(17863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040581226348877','2016-08-18 13:06:22'),(17864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041158199310303','2016-08-18 13:06:22'),(17865,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-18 13:06:22'),(17866,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041639804840088','2016-08-18 13:06:22'),(17867,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004101037979126','2016-08-18 13:06:22'),(17868,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042769908905029','2016-08-18 13:06:23'),(17869,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004101037979126','2016-08-18 13:06:23'),(17870,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-18 13:06:23'),(17871,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040159225463867','2016-08-18 13:06:23'),(17872,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040338039398193','2016-08-18 13:06:23'),(17873,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004115104675293','2016-08-18 13:06:23'),(17874,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040419101715088','2016-08-18 13:06:23'),(17875,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-18 13:06:23'),(17876,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041089057922363','2016-08-18 13:06:23'),(17877,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040099620819092','2016-08-18 13:06:23'),(17878,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040521621704102','2016-08-18 13:06:23'),(17879,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003972053527832','2016-08-18 13:06:24'),(17880,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.001492977142334','2016-08-18 13:06:28'),(17881,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041179656982422','2016-08-18 13:06:28'),(17882,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00068402290344238','2016-08-18 13:06:35'),(17883,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053977966308594','2016-08-18 13:06:35'),(17884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 13:06:36'),(17885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 13:06:36'),(17886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 13:06:36'),(17887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.10145497322083','2016-08-18 13:06:36'),(17888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 13:06:36'),(17889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-18 13:06:36'),(17890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:06:36'),(17891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 13:06:36'),(17892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 13:06:36'),(17893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 13:06:36'),(17894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043370723724365','2016-08-18 13:06:36'),(17895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043540000915527','2016-08-18 13:06:36'),(17896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042788982391357','2016-08-18 13:06:36'),(17897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042629241943359','2016-08-18 13:06:36'),(17898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042650699615479','2016-08-18 13:06:36'),(17899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042629241943359','2016-08-18 13:06:36'),(17900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042638778686523','2016-08-18 13:06:36'),(17901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042719841003418','2016-08-18 13:06:36'),(17902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042750835418701','2016-08-18 13:06:36'),(17903,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042669773101807','2016-08-18 13:06:36'),(17904,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043778419494629','2016-08-18 13:06:36'),(17905,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043740272521973','2016-08-18 13:06:36'),(17906,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'33139\', \'45\', \'LR\', 0, \'24\', 3)','loanReceive/save_new_loan','0.054680109024048','2016-08-18 13:06:39'),(17907,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2198, 1, \'33134\', \'45\', \'testloan4\')','loanReceive/save_new_loan','0.041787147521973','2016-08-18 13:06:39'),(17908,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  2198','loanReceive/save_new_loan','0.028235912322998','2016-08-18 13:06:39'),(17909,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2198\nAND `ID` =  2198','loanReceive/save_new_loan','0.00056290626525879','2016-08-18 13:06:40'),(17910,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.0013010501861572','2016-08-18 13:06:40'),(17911,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'333\'','loanReceive/save_new_loan','0.030496120452881','2016-08-18 13:06:40'),(17912,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000016\' WHERE `ID` =  2198','loanReceive/save_new_loan','0.016730070114136','2016-08-18 13:06:40'),(17913,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2198','loanReceive/save_new_loan','0.00055384635925293','2016-08-18 13:06:40'),(17914,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AR20160800000016\', \'LR[00000016]\', \'Loan Received [ LR[00000016] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 45, 45, \'User\')','loanReceive/save_new_loan','0.037006855010986','2016-08-18 13:06:40'),(17915,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'24\', \'AR20160800000016\', 1, \'testloan4\', \'33134\', \'0\', 45, \'1\', \'1\', \'45\', \'08\', \'2016\', \'1\', \'LR[00000016]\', \'0\', \'User\')','loanReceive/save_new_loan','0.058046102523804','2016-08-18 13:06:40'),(17916,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'24\', 2, \'AR20160800000016\', \'testloan4\', NULL, \'0\', 45, \'1\', \'1\', \'45\', \'08\', \'2016\', \'LR[00000016]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.015979051589966','2016-08-18 13:06:40'),(17917,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 45, `total_amount_cr` = 45, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000016\'','loanReceive/save_new_loan','0.024883031845093','2016-08-18 13:06:40'),(17918,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2198','loanReceive/save_new_loan','0.016244888305664','2016-08-18 13:06:40'),(17919,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11175','loanReceive/save_new_loan','0.016752004623413','2016-08-18 13:06:40'),(17920,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000016\'','loanReceive/save_new_loan','0.04112696647644','2016-08-18 13:06:40'),(17921,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000016\'','loanReceive/save_new_loan','0.00062394142150879','2016-08-18 13:06:40'),(17922,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33134\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.026101112365723','2016-08-18 13:06:40'),(17923,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022449016571045','2016-08-18 13:06:40'),(17924,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` IS NULL\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.0004889965057373','2016-08-18 13:06:40'),(17925,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.032109022140503','2016-08-18 13:06:40'),(17926,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0088241100311279','2016-08-18 13:06:40'),(17927,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.01640796661377','2016-08-18 13:06:40'),(17928,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016229152679443','2016-08-18 13:06:40'),(17929,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00043392181396484','2016-08-18 13:06:40'),(17930,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0005190372467041','2016-08-18 13:06:40'),(17931,25,32,'192.168.1.220','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'33077\', \'100\', \'LR\', 0, \'25\', 3)','loanReceive/save_new_loan','0.020814895629883','2016-08-18 13:06:41'),(17932,25,32,'192.168.1.220','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2199, 1, \'33071\', \'100\', \'pinjaman ceti\')','loanReceive/save_new_loan','0.016141176223755','2016-08-18 13:06:41'),(17933,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  2199','loanReceive/save_new_loan','0.0032651424407959','2016-08-18 13:06:41'),(17934,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2199\nAND `ID` =  2199','loanReceive/save_new_loan','0.00057196617126465','2016-08-18 13:06:41'),(17935,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'25\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.00051307678222656','2016-08-18 13:06:41'),(17936,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'335\'','loanReceive/save_new_loan','0.022336006164551','2016-08-18 13:06:41'),(17937,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000018\' WHERE `ID` =  2199','loanReceive/save_new_loan','0.017295122146606','2016-08-18 13:06:41'),(17938,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2199','loanReceive/save_new_loan','0.0005488395690918','2016-08-18 13:06:41'),(17939,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AR20160800000018\', \'LR[00000016]\', \'Loan Received [ LR[00000016] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 100, 100, \'User\')','loanReceive/save_new_loan','0.011652946472168','2016-08-18 13:06:41'),(17940,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'25\', \'AR20160800000018\', 1, \'pinjaman ceti\', \'33071\', \'0\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'LR[00000016]\', \'0\', \'User\')','loanReceive/save_new_loan','0.017006158828735','2016-08-18 13:06:41'),(17941,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'25\', 2, \'AR20160800000018\', \'pinjaman ceti\', NULL, \'0\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'LR[00000016]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016546010971069','2016-08-18 13:06:41'),(17942,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AR20160800000018\'','loanReceive/save_new_loan','0.01606297492981','2016-08-18 13:06:41'),(17943,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2199','loanReceive/save_new_loan','0.016746997833252','2016-08-18 13:06:41'),(17944,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11176','loanReceive/save_new_loan','0.01618504524231','2016-08-18 13:06:41'),(17945,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AR20160800000018\'','loanReceive/save_new_loan','0.016711950302124','2016-08-18 13:06:41'),(17946,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AR20160800000018\'','loanReceive/save_new_loan','0.00061202049255371','2016-08-18 13:06:41'),(17947,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33071\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00049495697021484','2016-08-18 13:06:41'),(17948,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.013317108154297','2016-08-18 13:06:41'),(17949,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` IS NULL\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.0009009838104248','2016-08-18 13:06:41'),(17950,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.016094923019409','2016-08-18 13:06:41'),(17951,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0015311241149902','2016-08-18 13:06:42'),(17952,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00098109245300293','2016-08-18 13:06:42'),(17953,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016710758209229','2016-08-18 13:06:42'),(17954,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00042390823364258','2016-08-18 13:06:42'),(17955,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050687789916992','2016-08-18 13:06:42'),(17956,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064492225646973','2016-08-18 13:06:48'),(17957,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-18 13:06:48'),(17958,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055384635925293','2016-08-18 13:06:48'),(17959,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053095817565918','2016-08-18 13:06:48'),(17960,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.11695313453674','2016-08-18 13:06:48'),(17961,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.03758692741394','2016-08-18 13:06:48'),(17962,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037359952926636','2016-08-18 13:06:48'),(17963,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.03762412071228','2016-08-18 13:06:48'),(17964,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.3771448135376','2016-08-18 13:06:48'),(17965,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0004889965057373','2016-08-18 13:06:48'),(17966,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00051188468933105','2016-08-18 13:06:48'),(17967,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.082589864730835','2016-08-18 13:06:52'),(17968,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049614906311035','2016-08-18 13:06:52'),(17969,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048995018005371','2016-08-18 13:06:52'),(17970,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048708915710449','2016-08-18 13:06:52'),(17971,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-18 13:06:52'),(17972,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048017501831055','2016-08-18 13:06:52'),(17973,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047779083251953','2016-08-18 13:06:52'),(17974,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050115585327148','2016-08-18 13:06:52'),(17975,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048208236694336','2016-08-18 13:06:52'),(17976,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0004880428314209','2016-08-18 13:06:52'),(17977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0004730224609375','2016-08-18 13:06:52'),(17978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047993659973145','2016-08-18 13:06:52'),(17979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063204765319824','2016-08-18 13:06:53'),(17980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 13:06:53'),(17981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:06:53'),(17982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:06:53'),(17983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:06:53'),(17984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 13:06:53'),(17985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 13:06:53'),(17986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 13:06:53'),(17987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:06:53'),(17988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:06:53'),(17989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 13:06:53'),(17990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:06:53'),(17991,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063896179199219','2016-08-18 13:06:56'),(17992,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056695938110352','2016-08-18 13:06:56'),(17993,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055480003356934','2016-08-18 13:06:56'),(17994,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053095817565918','2016-08-18 13:06:56'),(17995,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00055694580078125','2016-08-18 13:06:56'),(17996,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.098958969116211','2016-08-18 13:06:56'),(17997,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037901878356934','2016-08-18 13:06:57'),(17998,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037746906280518','2016-08-18 13:06:57'),(17999,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037796974182129','2016-08-18 13:06:57'),(18000,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.13342905044556','2016-08-18 13:06:57'),(18001,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0011329650878906','2016-08-18 13:06:57'),(18002,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0011379718780518','2016-08-18 13:06:57'),(18003,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0093319416046143','2016-08-18 13:07:00'),(18004,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057792663574219','2016-08-18 13:07:00'),(18005,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:07:00'),(18006,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.013707876205444','2016-08-18 13:07:00'),(18007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 13:07:00'),(18008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 13:07:00'),(18009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058197975158691','2016-08-18 13:07:00'),(18010,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-18 13:07:00'),(18011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:07:00'),(18012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057792663574219','2016-08-18 13:07:00'),(18013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 13:07:00'),(18014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 13:07:00'),(18015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-18 13:07:01'),(18016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:07:01'),(18017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-18 13:07:01'),(18018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:07:01'),(18019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005958080291748','2016-08-18 13:07:01'),(18020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 13:07:01'),(18021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 13:07:01'),(18022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 13:07:01'),(18023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 13:07:01'),(18024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 13:07:01'),(18025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 13:07:01'),(18026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 13:07:01'),(18027,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060391426086426','2016-08-18 13:07:04'),(18028,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059103965759277','2016-08-18 13:07:06'),(18029,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-18 13:07:06'),(18030,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:07:06'),(18031,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-18 13:07:06'),(18032,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 13:07:06'),(18033,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 13:07:06'),(18034,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:07:06'),(18035,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:07:06'),(18036,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 13:07:06'),(18037,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 13:07:06'),(18038,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 13:07:06'),(18039,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:07:06'),(18040,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-18 13:07:06'),(18041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.048699855804443','2016-08-18 13:07:10'),(18042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-18 13:07:10'),(18043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013618469238281','2016-08-18 13:07:10'),(18044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013270378112793','2016-08-18 13:07:10'),(18045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-18 13:07:10'),(18046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001317024230957','2016-08-18 13:07:10'),(18047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-18 13:07:10'),(18048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-18 13:07:10'),(18049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013110637664795','2016-08-18 13:07:10'),(18050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013201236724854','2016-08-18 13:07:10'),(18051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 13:07:10'),(18052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013010501861572','2016-08-18 13:07:10'),(18053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014917850494385','2016-08-18 13:07:12'),(18054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-18 13:07:12'),(18055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 13:07:12'),(18056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-18 13:07:12'),(18057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-18 13:07:12'),(18058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 13:07:12'),(18059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001317024230957','2016-08-18 13:07:12'),(18060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-18 13:07:12'),(18061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-18 13:07:12'),(18062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 13:07:12'),(18063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013041496276855','2016-08-18 13:07:12'),(18064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 13:07:12'),(18065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042080879211426','2016-08-18 13:07:15'),(18066,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040030479431152','2016-08-18 13:07:15'),(18067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004019021987915','2016-08-18 13:07:15'),(18068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041050910949707','2016-08-18 13:07:15'),(18069,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040249824523926','2016-08-18 13:07:15'),(18070,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040040016174316','2016-08-18 13:07:15'),(18071,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040948390960693','2016-08-18 13:07:15'),(18072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040690898895264','2016-08-18 13:07:15'),(18073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041210651397705','2016-08-18 13:07:15'),(18074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041141510009766','2016-08-18 13:07:15'),(18075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040459632873535','2016-08-18 13:07:15'),(18076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003978967666626','2016-08-18 13:07:16'),(18077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042479038238525','2016-08-18 13:07:17'),(18078,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040478706359863','2016-08-18 13:07:17'),(18079,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041770935058594','2016-08-18 13:07:17'),(18080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-18 13:07:17'),(18081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040819644927979','2016-08-18 13:07:17'),(18082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040168762207031','2016-08-18 13:07:17'),(18083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041320323944092','2016-08-18 13:07:17'),(18084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040938854217529','2016-08-18 13:07:17'),(18085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040099620819092','2016-08-18 13:07:17'),(18086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004025936126709','2016-08-18 13:07:17'),(18087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040369033813477','2016-08-18 13:07:17'),(18088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040040016174316','2016-08-18 13:07:17'),(18089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015039443969727','2016-08-18 13:07:22'),(18090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040550231933594','2016-08-18 13:07:22'),(18091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00067710876464844','2016-08-18 13:07:29'),(18092,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-18 13:07:29'),(18093,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 13:07:29'),(18094,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 13:07:29'),(18095,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 13:07:29'),(18096,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 13:07:29'),(18097,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 13:07:29'),(18098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-18 13:07:29'),(18099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 13:07:29'),(18100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 13:07:29'),(18101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 13:07:29'),(18102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 13:07:30'),(18103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044560432434082','2016-08-18 13:07:30'),(18104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042939186096191','2016-08-18 13:07:30'),(18105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042710304260254','2016-08-18 13:07:30'),(18106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042788982391357','2016-08-18 13:07:30'),(18107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042588710784912','2016-08-18 13:07:30'),(18108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042622089385986','2016-08-18 13:07:30'),(18109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042939186096191','2016-08-18 13:07:30'),(18110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042939186096191','2016-08-18 13:07:30'),(18111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042850971221924','2016-08-18 13:07:30'),(18112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042979717254639','2016-08-18 13:07:30'),(18113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043010711669922','2016-08-18 13:07:30'),(18114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042679309844971','2016-08-18 13:07:30'),(18115,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.095664024353027','2016-08-18 14:13:44'),(18116,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00086116790771484','2016-08-18 14:13:44'),(18117,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0070931911468506','2016-08-18 14:13:44'),(18118,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046110153198242','2016-08-18 14:13:44'),(18119,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 14:13:44'),(18120,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045514106750488','2016-08-18 14:13:44'),(18121,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 14:13:44'),(18122,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044989585876465','2016-08-18 14:13:44'),(18123,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 14:13:44'),(18124,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045490264892578','2016-08-18 14:13:44'),(18125,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044918060302734','2016-08-18 14:13:44'),(18126,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 14:13:44'),(18127,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'24\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.16053199768066','2016-08-18 14:13:44'),(18128,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0010581016540527','2016-08-18 14:13:44'),(18129,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00048494338989258','2016-08-18 14:13:44'),(18130,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.0008089542388916','2016-08-18 14:13:44'),(18131,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00049614906311035','2016-08-18 14:13:44'),(18132,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00043797492980957','2016-08-18 14:13:45'),(18133,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00040698051452637','2016-08-18 14:13:45'),(18134,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00040006637573242','2016-08-18 14:13:45'),(18135,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00040197372436523','2016-08-18 14:13:45'),(18136,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039887428283691','2016-08-18 14:13:45'),(18137,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046610832214355','2016-08-18 14:13:45'),(18138,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045084953308105','2016-08-18 14:13:45'),(18139,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00040411949157715','2016-08-18 14:13:45'),(18140,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039505958557129','2016-08-18 14:13:45'),(18141,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039887428283691','2016-08-18 14:13:45'),(18142,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.25363087654114','2016-08-18 14:13:45'),(18143,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00043916702270508','2016-08-18 14:13:45'),(18144,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00048208236694336','2016-08-18 14:13:45'),(18145,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011301040649414','2016-08-18 14:13:49'),(18146,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00083804130554199','2016-08-18 14:13:50'),(18147,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00049304962158203','2016-08-18 14:13:50'),(18148,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004580020904541','2016-08-18 14:13:50'),(18149,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 14:13:50'),(18150,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045418739318848','2016-08-18 14:13:50'),(18151,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045514106750488','2016-08-18 14:13:50'),(18152,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046801567077637','2016-08-18 14:13:50'),(18153,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 14:13:50'),(18154,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004730224609375','2016-08-18 14:13:50'),(18155,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 14:13:50'),(18156,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 14:13:50'),(18157,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'24\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.066725969314575','2016-08-18 14:13:50'),(18158,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00040793418884277','2016-08-18 14:13:50'),(18159,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.0004429817199707','2016-08-18 14:13:50'),(18160,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.038518190383911','2016-08-18 14:13:50'),(18161,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0045349597930908','2016-08-18 14:13:50'),(18162,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016860961914062','2016-08-18 14:13:50'),(18163,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041103363037109','2016-08-18 14:13:50'),(18164,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050616264343262','2016-08-18 14:13:50'),(18165,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.043298959732056','2016-08-18 14:13:53'),(18166,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2190\'\nAND `companyID` =  \'24\'','sales/print_sale','0.00043392181396484','2016-08-18 14:13:53'),(18167,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'2190\'','sales/print_sale','0.00062894821166992','2016-08-18 14:13:53'),(18168,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.0005791187286377','2016-08-18 14:13:53'),(18169,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.00075197219848633','2016-08-18 14:14:05'),(18170,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2194\'\nAND `companyID` =  \'24\'','sales/print_sale','0.00043392181396484','2016-08-18 14:14:06'),(18171,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'2194\'','sales/print_sale','0.00062990188598633','2016-08-18 14:14:06'),(18172,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.00057196617126465','2016-08-18 14:14:06'),(18173,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011119842529297','2016-08-18 14:14:18'),(18174,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00086522102355957','2016-08-18 14:14:18'),(18175,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004880428314209','2016-08-18 14:14:18'),(18176,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045084953308105','2016-08-18 14:14:18'),(18177,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044608116149902','2016-08-18 14:14:18'),(18178,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 14:14:18'),(18179,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045585632324219','2016-08-18 14:14:18'),(18180,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044679641723633','2016-08-18 14:14:18'),(18181,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044918060302734','2016-08-18 14:14:18'),(18182,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 14:14:18'),(18183,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 14:14:18'),(18184,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 14:14:18'),(18185,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%kerusi%\'\nORDER BY `transDate`','setup/search','0.065931797027588','2016-08-18 14:14:18'),(18186,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00040411949157715','2016-08-18 14:14:18'),(18187,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00048184394836426','2016-08-18 14:14:18'),(18188,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011050701141357','2016-08-18 14:14:28'),(18189,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00083804130554199','2016-08-18 14:14:28'),(18190,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00048685073852539','2016-08-18 14:14:28'),(18191,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 14:14:28'),(18192,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044608116149902','2016-08-18 14:14:28'),(18193,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044918060302734','2016-08-18 14:14:28'),(18194,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045514106750488','2016-08-18 14:14:28'),(18195,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044679641723633','2016-08-18 14:14:28'),(18196,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 14:14:28'),(18197,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 14:14:28'),(18198,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044608116149902','2016-08-18 14:14:28'),(18199,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 14:14:28'),(18200,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%ceti%\'\nORDER BY `transDate`','setup/search','0.065802097320557','2016-08-18 14:14:28'),(18201,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00040888786315918','2016-08-18 14:14:28'),(18202,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00048398971557617','2016-08-18 14:14:28'),(18203,24,31,'192.168.1.204','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'24\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.0073549747467041','2016-08-18 14:14:35'),(18204,24,31,'192.168.1.204','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=24 and formID=55','expenses/printDetail','0.007504940032959','2016-08-18 14:14:35'),(18205,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2096\'','expenses/printDetail','0.0022439956665039','2016-08-18 14:14:35'),(18206,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2096\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/printDetail','0.00071597099304199','2016-08-18 14:14:35'),(18207,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','expenses/printDetail','0.00061297416687012','2016-08-18 14:14:35'),(18208,24,31,'192.168.1.204','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'24\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.00069189071655273','2016-08-18 14:14:52'),(18209,24,31,'192.168.1.204','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=24 and formID=55','expenses/printDetail','0.00040411949157715','2016-08-18 14:14:52'),(18210,24,31,'192.168.1.204','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2108\'','expenses/printDetail','0.0022189617156982','2016-08-18 14:14:52'),(18211,24,31,'192.168.1.204','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2108\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'24\'','expenses/printDetail','0.08809494972229','2016-08-18 14:14:52'),(18212,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','expenses/printDetail','0.00059103965759277','2016-08-18 14:14:52'),(18213,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011129379272461','2016-08-18 14:14:55'),(18214,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00084018707275391','2016-08-18 14:14:55'),(18215,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00048685073852539','2016-08-18 14:14:55'),(18216,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 14:14:55'),(18217,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 14:14:55'),(18218,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046205520629883','2016-08-18 14:14:55'),(18219,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004570484161377','2016-08-18 14:14:55'),(18220,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 14:14:55'),(18221,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 14:14:55'),(18222,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045418739318848','2016-08-18 14:14:55'),(18223,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00049901008605957','2016-08-18 14:14:55'),(18224,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 14:14:55'),(18225,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%kerusi%\'\nORDER BY `transDate`','setup/search','0.067548036575317','2016-08-18 14:14:56'),(18226,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00041103363037109','2016-08-18 14:14:56'),(18227,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00048708915710449','2016-08-18 14:14:56'),(18228,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.00069689750671387','2016-08-18 14:15:02'),(18229,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.00042486190795898','2016-08-18 14:15:02'),(18230,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2048\'','expenses/printDetail','0.0022778511047363','2016-08-18 14:15:02'),(18231,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2048\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0023438930511475','2016-08-18 14:15:02'),(18232,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.00059223175048828','2016-08-18 14:15:02'),(18233,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.084259986877441','2016-08-18 14:15:17'),(18234,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00096297264099121','2016-08-18 14:15:17'),(18235,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016720294952393','2016-08-18 14:15:17'),(18236,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040507316589355','2016-08-18 14:15:17'),(18237,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050806999206543','2016-08-18 14:15:17'),(18238,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063610076904297','2016-08-18 14:15:31'),(18239,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055193901062012','2016-08-18 14:15:31'),(18240,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055408477783203','2016-08-18 14:15:31'),(18241,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053215026855469','2016-08-18 14:15:31'),(18242,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.14144992828369','2016-08-18 14:15:31'),(18243,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037533044815063','2016-08-18 14:15:31'),(18244,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037492990493774','2016-08-18 14:15:31'),(18245,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037589073181152','2016-08-18 14:15:31'),(18246,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.39755392074585','2016-08-18 14:15:31'),(18247,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0014030933380127','2016-08-18 14:15:31'),(18248,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0018129348754883','2016-08-18 14:15:31'),(18249,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.018246173858643','2016-08-18 14:15:37'),(18250,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 14:15:37'),(18251,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 14:15:37'),(18252,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 14:15:37'),(18253,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 14:15:37'),(18254,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 14:15:37'),(18255,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 14:15:37'),(18256,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-18 14:15:37'),(18257,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:15:37'),(18258,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 14:15:37'),(18259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 14:15:37'),(18260,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:15:37'),(18261,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063991546630859','2016-08-18 14:15:39'),(18262,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 14:15:39'),(18263,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 14:15:39'),(18264,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 14:15:39'),(18265,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 14:15:39'),(18266,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 14:15:39'),(18267,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 14:15:39'),(18268,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 14:15:39'),(18269,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 14:15:39'),(18270,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:15:39'),(18271,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-18 14:15:39'),(18272,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 14:15:39'),(18273,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'163\', \'90\', \'LR\', \'Mara\', \'24\', 3)','loanReceive/save_new_loan','0.02249002456665','2016-08-18 14:15:40'),(18274,24,31,'192.168.1.204','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2200, 1, \'33139\', \'90\', \'testingloan\')','loanReceive/save_new_loan','0.016186952590942','2016-08-18 14:15:40'),(18275,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  2200','loanReceive/save_new_loan','0.019117832183838','2016-08-18 14:15:40'),(18276,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2200\nAND `ID` =  2200','loanReceive/save_new_loan','0.00055289268493652','2016-08-18 14:15:40'),(18277,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'24\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.011337995529175','2016-08-18 14:15:40'),(18278,24,31,'192.168.1.204','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'333\'','loanReceive/save_new_loan','0.13218092918396','2016-08-18 14:15:40'),(18279,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000017\' WHERE `ID` =  2200','loanReceive/save_new_loan','0.022577047348022','2016-08-18 14:15:40'),(18280,24,31,'192.168.1.204','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2200','loanReceive/save_new_loan','0.00057506561279297','2016-08-18 14:15:40'),(18281,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'24\', \'AR20160800000017\', \'LR[00000017]\', \'Loan Received [ LR[00000017] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 90, 90, \'User\')','loanReceive/save_new_loan','0.020257949829102','2016-08-18 14:15:40'),(18282,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'24\', \'AR20160800000017\', 1, \'testingloan\', \'33139\', \'Mara\', 90, \'1\', \'1\', \'90\', \'08\', \'2016\', \'1\', \'LR[00000017]\', \'0\', \'User\')','loanReceive/save_new_loan','0.041449069976807','2016-08-18 14:15:40'),(18283,24,31,'192.168.1.204','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'24\', 2, \'AR20160800000017\', \'testingloan\', \'33134\', \'Mara\', 90, \'1\', \'1\', \'90\', \'08\', \'2016\', \'LR[00000017]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.015921115875244','2016-08-18 14:15:41'),(18284,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `total_amount_dr` = 90, `total_amount_cr` = 90, `total_amount` = 0 WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.01662802696228','2016-08-18 14:15:41'),(18285,24,31,'192.168.1.204','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2200','loanReceive/save_new_loan','0.016276121139526','2016-08-18 14:15:41'),(18286,24,31,'192.168.1.204','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11177','loanReceive/save_new_loan','0.025037050247192','2016-08-18 14:15:41'),(18287,24,31,'192.168.1.204','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'24\' AND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.041092157363892','2016-08-18 14:15:41'),(18288,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'24\'\nAND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.00062894821166992','2016-08-18 14:15:41'),(18289,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33139\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.042612075805664','2016-08-18 14:15:41'),(18290,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33139\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022489070892334','2016-08-18 14:15:41'),(18291,24,31,'192.168.1.204','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'24\'\nAND `acctID` =  \'33134\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00049114227294922','2016-08-18 14:15:41'),(18292,24,31,'192.168.1.204','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'24\' AND `a`.`acctID` =  \'33134\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015053033828735','2016-08-18 14:15:41'),(18293,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.029789924621582','2016-08-18 14:15:42'),(18294,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0017540454864502','2016-08-18 14:15:42'),(18295,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0096590518951416','2016-08-18 14:15:42'),(18296,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.0012478828430176','2016-08-18 14:15:42'),(18297,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0012421607971191','2016-08-18 14:15:42'),(18298,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059700012207031','2016-08-18 14:15:45'),(18299,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00064206123352051','2016-08-18 14:15:47'),(18300,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-18 14:15:47'),(18301,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:15:47'),(18302,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 14:15:47'),(18303,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 14:15:47'),(18304,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 14:15:47'),(18305,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 14:15:47'),(18306,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 14:15:47'),(18307,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 14:15:47'),(18308,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 14:15:47'),(18309,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 14:15:47'),(18310,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 14:15:47'),(18311,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 14:15:47'),(18312,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.06820011138916','2016-08-18 14:16:11'),(18313,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.016726016998291','2016-08-18 14:16:11'),(18314,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.0013868808746338','2016-08-18 14:16:11'),(18315,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0015709400177002','2016-08-18 14:16:11'),(18316,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.10207486152649','2016-08-18 14:16:11'),(18317,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00039505958557129','2016-08-18 14:16:11'),(18318,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 14:16:11'),(18319,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00048685073852539','2016-08-18 14:16:11'),(18320,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-18 14:16:11'),(18321,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 14:16:11'),(18322,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-18 14:16:11'),(18323,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013129711151123','2016-08-18 14:16:11'),(18324,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013198852539062','2016-08-18 14:16:11'),(18325,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013132095336914','2016-08-18 14:16:11'),(18326,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 14:16:11'),(18327,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-18 14:16:11'),(18328,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013020038604736','2016-08-18 14:16:11'),(18329,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013151168823242','2016-08-18 14:16:11'),(18330,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0006101131439209','2016-08-18 14:16:31'),(18331,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-18 14:16:31'),(18332,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055813789367676','2016-08-18 14:16:31'),(18333,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-18 14:16:31'),(18334,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.072365999221802','2016-08-18 14:16:31'),(18335,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037631034851074','2016-08-18 14:16:31'),(18336,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037642002105713','2016-08-18 14:16:31'),(18337,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037738800048828','2016-08-18 14:16:31'),(18338,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.32941603660583','2016-08-18 14:16:31'),(18339,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0005030632019043','2016-08-18 14:16:31'),(18340,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053501129150391','2016-08-18 14:16:31'),(18341,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.24609899520874','2016-08-18 14:16:37'),(18342,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 14:16:37'),(18343,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 14:16:37'),(18344,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 14:16:37'),(18345,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:16:37'),(18346,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-18 14:16:37'),(18347,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 14:16:37'),(18348,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-18 14:16:37'),(18349,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:16:37'),(18350,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 14:16:38'),(18351,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 14:16:38'),(18352,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 14:16:38'),(18353,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064706802368164','2016-08-18 14:16:39'),(18354,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 14:16:39'),(18355,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 14:16:39'),(18356,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 14:16:39'),(18357,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 14:16:39'),(18358,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 14:16:39'),(18359,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 14:16:39'),(18360,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 14:16:39'),(18361,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:16:39'),(18362,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 14:16:39'),(18363,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 14:16:39'),(18364,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 14:16:39'),(18365,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059914588928223','2016-08-18 14:16:43'),(18366,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059986114501953','2016-08-18 14:16:45'),(18367,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005648136138916','2016-08-18 14:16:45'),(18368,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00060296058654785','2016-08-18 14:16:45'),(18369,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051188468933105','2016-08-18 14:16:45'),(18370,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058102607727051','2016-08-18 14:16:45'),(18371,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 14:16:45'),(18372,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:16:45'),(18373,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058293342590332','2016-08-18 14:16:45'),(18374,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 14:16:45'),(18375,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 14:16:45'),(18376,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 14:16:45'),(18377,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 14:16:45'),(18378,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 14:16:45'),(18379,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.04145884513855','2016-08-18 14:16:50'),(18380,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00130295753479','2016-08-18 14:16:50'),(18381,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013561248779297','2016-08-18 14:16:50'),(18382,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013477802276611','2016-08-18 14:16:50'),(18383,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013201236724854','2016-08-18 14:16:50'),(18384,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013318061828613','2016-08-18 14:16:50'),(18385,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013248920440674','2016-08-18 14:16:50'),(18386,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-18 14:16:50'),(18387,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013129711151123','2016-08-18 14:16:50'),(18388,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-18 14:16:50'),(18389,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013220310211182','2016-08-18 14:16:50'),(18390,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-18 14:16:50'),(18391,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001507043838501','2016-08-18 14:16:52'),(18392,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 14:16:52'),(18393,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 14:16:52'),(18394,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013201236724854','2016-08-18 14:16:52'),(18395,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-18 14:16:52'),(18396,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013358592987061','2016-08-18 14:16:52'),(18397,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 14:16:52'),(18398,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 14:16:52'),(18399,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 14:16:52'),(18400,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-18 14:16:52'),(18401,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013220310211182','2016-08-18 14:16:52'),(18402,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013120174407959','2016-08-18 14:16:52'),(18403,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004256010055542','2016-08-18 14:16:56'),(18404,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041489601135254','2016-08-18 14:16:56'),(18405,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004025936126709','2016-08-18 14:16:56'),(18406,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-18 14:16:56'),(18407,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040309429168701','2016-08-18 14:16:56'),(18408,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040919780731201','2016-08-18 14:16:56'),(18409,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-18 14:16:56'),(18410,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-18 14:16:56'),(18411,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040988922119141','2016-08-18 14:16:56'),(18412,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040988922119141','2016-08-18 14:16:56'),(18413,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040769577026367','2016-08-18 14:16:56'),(18414,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040769577026367','2016-08-18 14:16:56'),(18415,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043160915374756','2016-08-18 14:16:58'),(18416,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041627883911133','2016-08-18 14:16:58'),(18417,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041658878326416','2016-08-18 14:16:58'),(18418,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041730403900146','2016-08-18 14:16:58'),(18419,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041568279266357','2016-08-18 14:16:58'),(18420,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041539669036865','2016-08-18 14:16:58'),(18421,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041580200195312','2016-08-18 14:16:58'),(18422,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041639804840088','2016-08-18 14:16:58'),(18423,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040979385375977','2016-08-18 14:16:58'),(18424,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041639804840088','2016-08-18 14:16:58'),(18425,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041460990905762','2016-08-18 14:16:58'),(18426,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041298866271973','2016-08-18 14:16:58'),(18427,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00064802169799805','2016-08-18 14:17:04'),(18428,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055289268493652','2016-08-18 14:17:04'),(18429,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054097175598145','2016-08-18 14:17:04'),(18430,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-18 14:17:04'),(18431,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.071460008621216','2016-08-18 14:17:04'),(18432,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037605047225952','2016-08-18 14:17:04'),(18433,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037643909454346','2016-08-18 14:17:04'),(18434,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037738084793091','2016-08-18 14:17:04'),(18435,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.15362095832825','2016-08-18 14:17:04'),(18436,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0010430812835693','2016-08-18 14:17:04'),(18437,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0012030601501465','2016-08-18 14:17:04'),(18438,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0022749900817871','2016-08-18 14:17:14'),(18439,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 14:17:14'),(18440,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 14:17:14'),(18441,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 14:17:14'),(18442,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 14:17:14'),(18443,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-18 14:17:14'),(18444,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 14:17:14'),(18445,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-18 14:17:14'),(18446,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:17:14'),(18447,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 14:17:14'),(18448,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056791305541992','2016-08-18 14:17:14'),(18449,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 14:17:14'),(18450,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00064516067504883','2016-08-18 14:17:15'),(18451,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 14:17:15'),(18452,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 14:17:15'),(18453,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:17:15'),(18454,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:17:15'),(18455,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 14:17:15'),(18456,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 14:17:15'),(18457,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-18 14:17:15'),(18458,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:17:15'),(18459,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 14:17:15'),(18460,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 14:17:15'),(18461,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 14:17:15'),(18462,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00062203407287598','2016-08-18 14:17:25'),(18463,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060296058654785','2016-08-18 14:17:27'),(18464,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-18 14:17:27'),(18465,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-18 14:17:27'),(18466,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 14:17:27'),(18467,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 14:17:27'),(18468,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 14:17:27'),(18469,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 14:17:27'),(18470,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 14:17:27'),(18471,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 14:17:27'),(18472,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 14:17:27'),(18473,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-18 14:17:27'),(18474,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 14:17:27'),(18475,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 14:17:28'),(18476,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005488395690918','2016-08-18 14:17:28'),(18477,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 14:17:28'),(18478,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 14:17:28'),(18479,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 14:17:28'),(18480,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 14:17:28'),(18481,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 14:17:28'),(18482,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053119659423828','2016-08-18 14:17:28'),(18483,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054121017456055','2016-08-18 14:17:28'),(18484,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 14:17:28'),(18485,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 14:17:28'),(18486,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 14:17:28'),(18487,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 14:17:28'),(18488,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 14:17:28'),(18489,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 14:17:28'),(18490,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 14:17:28'),(18491,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 14:17:28'),(18492,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053119659423828','2016-08-18 14:17:28'),(18493,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 14:17:28'),(18494,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 14:17:28'),(18495,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00049304962158203','2016-08-18 14:17:28'),(18496,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047492980957031','2016-08-18 14:17:28'),(18497,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00042486190795898','2016-08-18 14:17:28'),(18498,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00040316581726074','2016-08-18 14:17:28'),(18499,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00041103363037109','2016-08-18 14:17:28'),(18500,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.07253098487854','2016-08-18 14:17:34'),(18501,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-18 14:17:34'),(18502,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013930797576904','2016-08-18 14:17:34'),(18503,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013220310211182','2016-08-18 14:17:34'),(18504,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-18 14:17:34'),(18505,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-18 14:17:34'),(18506,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 14:17:34'),(18507,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-18 14:17:34'),(18508,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013201236724854','2016-08-18 14:17:34'),(18509,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0017311573028564','2016-08-18 14:17:34'),(18510,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013148784637451','2016-08-18 14:17:34'),(18511,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013198852539062','2016-08-18 14:17:34'),(18512,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015101432800293','2016-08-18 14:17:35'),(18513,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013301372528076','2016-08-18 14:17:36'),(18514,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-18 14:17:36'),(18515,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013289451599121','2016-08-18 14:17:36'),(18516,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 14:17:36'),(18517,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-18 14:17:36'),(18518,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013070106506348','2016-08-18 14:17:36'),(18519,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013198852539062','2016-08-18 14:17:36'),(18520,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013799667358398','2016-08-18 14:17:36'),(18521,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001317024230957','2016-08-18 14:17:36'),(18522,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013201236724854','2016-08-18 14:17:36'),(18523,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-18 14:17:36'),(18524,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0048069953918457','2016-08-18 14:17:38'),(18525,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041849613189697','2016-08-18 14:17:38'),(18526,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004180908203125','2016-08-18 14:17:38'),(18527,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-18 14:17:38'),(18528,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041360855102539','2016-08-18 14:17:38'),(18529,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-18 14:17:38'),(18530,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040130615234375','2016-08-18 14:17:38'),(18531,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040159225463867','2016-08-18 14:17:38'),(18532,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040590763092041','2016-08-18 14:17:38'),(18533,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039989948272705','2016-08-18 14:17:39'),(18534,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040090084075928','2016-08-18 14:17:39'),(18535,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-18 14:17:39'),(18536,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043139457702637','2016-08-18 14:17:40'),(18537,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040090084075928','2016-08-18 14:17:40'),(18538,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040187835693359','2016-08-18 14:17:40'),(18539,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-18 14:17:40'),(18540,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-18 14:17:40'),(18541,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040538311004639','2016-08-18 14:17:40'),(18542,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041401386260986','2016-08-18 14:17:40'),(18543,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039858818054199','2016-08-18 14:17:40'),(18544,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040419101715088','2016-08-18 14:17:40'),(18545,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-18 14:17:40'),(18546,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041289329528809','2016-08-18 14:17:40'),(18547,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039858818054199','2016-08-18 14:17:41'),(18548,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0014631748199463','2016-08-18 14:17:45'),(18549,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040950775146484','2016-08-18 14:17:45'),(18550,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00065207481384277','2016-08-18 14:17:52'),(18551,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 14:17:52'),(18552,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-18 14:17:53'),(18553,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 14:17:53'),(18554,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 14:17:53'),(18555,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-18 14:17:53'),(18556,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 14:17:53'),(18557,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-18 14:17:53'),(18558,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 14:17:53'),(18559,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 14:17:53'),(18560,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 14:17:53'),(18561,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 14:17:53'),(18562,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043950080871582','2016-08-18 14:17:53'),(18563,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004256010055542','2016-08-18 14:17:53'),(18564,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042209625244141','2016-08-18 14:17:53'),(18565,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042240619659424','2016-08-18 14:17:53'),(18566,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042679309844971','2016-08-18 14:17:53'),(18567,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042049884796143','2016-08-18 14:17:53'),(18568,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042181015014648','2016-08-18 14:17:53'),(18569,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042469501495361','2016-08-18 14:17:53'),(18570,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042169094085693','2016-08-18 14:17:53'),(18571,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042378902435303','2016-08-18 14:17:53'),(18572,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043108463287354','2016-08-18 14:17:53'),(18573,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042171478271484','2016-08-18 14:17:53'),(18574,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.2339129447937','2016-08-18 14:37:16'),(18575,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.014598846435547','2016-08-18 14:37:16'),(18576,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.010590076446533','2016-08-18 14:37:16'),(18577,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063109397888184','2016-08-18 15:29:26'),(18578,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054407119750977','2016-08-18 15:29:26'),(18579,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055503845214844','2016-08-18 15:29:26'),(18580,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053691864013672','2016-08-18 15:29:26'),(18581,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.12286019325256','2016-08-18 15:29:26'),(18582,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037718057632446','2016-08-18 15:29:26'),(18583,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037516117095947','2016-08-18 15:29:26'),(18584,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.03766393661499','2016-08-18 15:29:26'),(18585,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.14324402809143','2016-08-18 15:29:26'),(18586,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049304962158203','2016-08-18 15:29:26'),(18587,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052404403686523','2016-08-18 15:29:26'),(18588,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0021989345550537','2016-08-18 15:29:30'),(18589,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 15:29:31'),(18590,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 15:29:31'),(18591,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 15:29:31'),(18592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 15:29:31'),(18593,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 15:29:31'),(18594,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 15:29:31'),(18595,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-18 15:29:31'),(18596,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 15:29:31'),(18597,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 15:29:31'),(18598,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 15:29:31'),(18599,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049901008605957','2016-08-18 15:29:31'),(18600,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064206123352051','2016-08-18 15:29:32'),(18601,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 15:29:32'),(18602,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 15:29:32'),(18603,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 15:29:32'),(18604,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 15:29:32'),(18605,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 15:29:32'),(18606,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 15:29:32'),(18607,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-18 15:29:32'),(18608,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 15:29:32'),(18609,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 15:29:32'),(18610,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 15:29:32'),(18611,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 15:29:32'),(18612,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059413909912109','2016-08-18 15:29:36'),(18613,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0005948543548584','2016-08-18 15:29:37'),(18614,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-18 15:29:37'),(18615,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 15:29:37'),(18616,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 15:29:37'),(18617,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 15:29:37'),(18618,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 15:29:37'),(18619,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-18 15:29:37'),(18620,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 15:29:37'),(18621,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 15:29:37'),(18622,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 15:29:37'),(18623,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 15:29:37'),(18624,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 15:29:37'),(18625,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 15:29:37'),(18626,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.019742965698242','2016-08-18 15:29:41'),(18627,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012869834899902','2016-08-18 15:29:41'),(18628,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-18 15:29:41'),(18629,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 15:29:41'),(18630,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013101100921631','2016-08-18 15:29:41'),(18631,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013101100921631','2016-08-18 15:29:41'),(18632,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012979507446289','2016-08-18 15:29:41'),(18633,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013260841369629','2016-08-18 15:29:41'),(18634,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013079643249512','2016-08-18 15:29:41'),(18635,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013141632080078','2016-08-18 15:29:41'),(18636,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012969970703125','2016-08-18 15:29:41'),(18637,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001309871673584','2016-08-18 15:29:41'),(18638,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014579296112061','2016-08-18 15:29:42'),(18639,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013158321380615','2016-08-18 15:29:42'),(18640,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-18 15:29:42'),(18641,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 15:29:42'),(18642,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 15:29:42'),(18643,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013360977172852','2016-08-18 15:29:42'),(18644,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013079643249512','2016-08-18 15:29:42'),(18645,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 15:29:42'),(18646,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013599395751953','2016-08-18 15:29:42'),(18647,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 15:29:42'),(18648,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 15:29:42'),(18649,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013120174407959','2016-08-18 15:29:42'),(18650,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041790008544922','2016-08-18 15:29:44'),(18651,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039858818054199','2016-08-18 15:29:44'),(18652,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039989948272705','2016-08-18 15:29:44'),(18653,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040910243988037','2016-08-18 15:29:44'),(18654,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040738582611084','2016-08-18 15:29:44'),(18655,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039961338043213','2016-08-18 15:29:44'),(18656,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040180683135986','2016-08-18 15:29:45'),(18657,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040168762207031','2016-08-18 15:29:45'),(18658,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00400710105896','2016-08-18 15:29:45'),(18659,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040390491485596','2016-08-18 15:29:45'),(18660,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040020942687988','2016-08-18 15:29:45'),(18661,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040099620819092','2016-08-18 15:29:45'),(18662,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042209625244141','2016-08-18 15:29:46'),(18663,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040321350097656','2016-08-18 15:29:46'),(18664,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040769577026367','2016-08-18 15:29:46'),(18665,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-18 15:29:46'),(18666,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040500164031982','2016-08-18 15:29:46'),(18667,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-18 15:29:46'),(18668,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041439533233643','2016-08-18 15:29:46'),(18669,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041160583496094','2016-08-18 15:29:46'),(18670,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040500164031982','2016-08-18 15:29:46'),(18671,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039980411529541','2016-08-18 15:29:46'),(18672,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039908885955811','2016-08-18 15:29:46'),(18673,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004080057144165','2016-08-18 15:29:46'),(18674,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0014550685882568','2016-08-18 15:29:50'),(18675,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040578842163086','2016-08-18 15:29:50'),(18676,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063991546630859','2016-08-18 15:29:56'),(18677,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 15:29:56'),(18678,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 15:29:56'),(18679,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 15:29:56'),(18680,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054383277893066','2016-08-18 15:29:56'),(18681,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 15:29:56'),(18682,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 15:29:56'),(18683,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-18 15:29:56'),(18684,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 15:29:56'),(18685,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-18 15:29:56'),(18686,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 15:29:56'),(18687,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 15:29:56'),(18688,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043609142303467','2016-08-18 15:29:56'),(18689,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043199062347412','2016-08-18 15:29:56'),(18690,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043280124664307','2016-08-18 15:29:56'),(18691,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043909549713135','2016-08-18 15:29:56'),(18692,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043928623199463','2016-08-18 15:29:56'),(18693,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043308734893799','2016-08-18 15:29:56'),(18694,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042500495910645','2016-08-18 15:29:56'),(18695,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044159889221191','2016-08-18 15:29:56'),(18696,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043900012969971','2016-08-18 15:29:56'),(18697,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042791366577148','2016-08-18 15:29:56'),(18698,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043208599090576','2016-08-18 15:29:56'),(18699,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043911933898926','2016-08-18 15:29:56'),(18700,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00060892105102539','2016-08-18 15:39:43'),(18701,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-18 15:39:43'),(18702,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055718421936035','2016-08-18 15:39:43'),(18703,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053715705871582','2016-08-18 15:39:43'),(18704,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.082082033157349','2016-08-18 15:39:43'),(18705,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037584066390991','2016-08-18 15:39:43'),(18706,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037662029266357','2016-08-18 15:39:43'),(18707,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037777900695801','2016-08-18 15:39:43'),(18708,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.16226696968079','2016-08-18 15:39:43'),(18709,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.001154899597168','2016-08-18 15:39:43'),(18710,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.001168966293335','2016-08-18 15:39:43'),(18711,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 15:39:49'),(18712,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00043606758117676','2016-08-18 15:39:49'),(18713,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00041985511779785','2016-08-18 15:39:49'),(18714,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047492980957031','2016-08-18 15:39:49'),(18715,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00044703483581543','2016-08-18 15:39:49'),(18716,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00043416023254395','2016-08-18 15:39:49'),(18717,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00043201446533203','2016-08-18 15:39:49'),(18718,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00045299530029297','2016-08-18 15:39:49'),(18719,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00044012069702148','2016-08-18 15:39:49'),(18720,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00038695335388184','2016-08-18 15:39:49'),(18721,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0003659725189209','2016-08-18 15:39:49'),(18722,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00036787986755371','2016-08-18 15:39:49'),(18723,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0022430419921875','2016-08-18 15:39:50'),(18724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 15:39:50'),(18725,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 15:39:50'),(18726,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 15:39:50'),(18727,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 15:39:50'),(18728,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 15:39:50'),(18729,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053119659423828','2016-08-18 15:39:50'),(18730,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 15:39:50'),(18731,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 15:39:50'),(18732,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 15:39:50'),(18733,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 15:39:50'),(18734,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 15:39:50'),(18735,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00054788589477539','2016-08-18 15:39:53'),(18736,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00056791305541992','2016-08-18 15:39:55'),(18737,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 15:39:55'),(18738,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 15:39:55'),(18739,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 15:39:55'),(18740,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 15:39:55'),(18741,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 15:39:55'),(18742,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 15:39:55'),(18743,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 15:39:55'),(18744,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 15:39:55'),(18745,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 15:39:55'),(18746,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 15:39:55'),(18747,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 15:39:55'),(18748,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 15:39:55'),(18749,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0073611736297607','2016-08-18 15:39:59'),(18750,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012979507446289','2016-08-18 15:39:59'),(18751,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012879371643066','2016-08-18 15:39:59'),(18752,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012679100036621','2016-08-18 15:39:59'),(18753,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012500286102295','2016-08-18 15:39:59'),(18754,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012469291687012','2016-08-18 15:39:59'),(18755,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-18 15:39:59'),(18756,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 15:39:59'),(18757,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013101100921631','2016-08-18 15:39:59'),(18758,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013160705566406','2016-08-18 15:39:59'),(18759,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001309871673584','2016-08-18 15:39:59'),(18760,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 15:40:00'),(18761,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014359951019287','2016-08-18 15:40:01'),(18762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013132095336914','2016-08-18 15:40:01'),(18763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 15:40:01'),(18764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013091564178467','2016-08-18 15:40:01'),(18765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 15:40:01'),(18766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013248920440674','2016-08-18 15:40:01'),(18767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013079643249512','2016-08-18 15:40:01'),(18768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013198852539062','2016-08-18 15:40:01'),(18769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001399040222168','2016-08-18 15:40:01'),(18770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013120174407959','2016-08-18 15:40:01'),(18771,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013220310211182','2016-08-18 15:40:01'),(18772,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012989044189453','2016-08-18 15:40:01'),(18773,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041179656982422','2016-08-18 15:40:04'),(18774,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-18 15:40:04'),(18775,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040528774261475','2016-08-18 15:40:04'),(18776,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040838718414307','2016-08-18 15:40:04'),(18777,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040020942687988','2016-08-18 15:40:04'),(18778,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040028095245361','2016-08-18 15:40:04'),(18779,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039780139923096','2016-08-18 15:40:04'),(18780,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039980411529541','2016-08-18 15:40:04'),(18781,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040638446807861','2016-08-18 15:40:04'),(18782,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039961338043213','2016-08-18 15:40:04'),(18783,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041201114654541','2016-08-18 15:40:04'),(18784,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039749145507812','2016-08-18 15:40:04'),(18785,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042212009429932','2016-08-18 15:40:06'),(18786,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041139125823975','2016-08-18 15:40:06'),(18787,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042071342468262','2016-08-18 15:40:06'),(18788,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040881633758545','2016-08-18 15:40:06'),(18789,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040938854217529','2016-08-18 15:40:06'),(18790,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041708946228027','2016-08-18 15:40:06'),(18791,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-18 15:40:06'),(18792,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042080879211426','2016-08-18 15:40:06'),(18793,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041060447692871','2016-08-18 15:40:06'),(18794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041840076446533','2016-08-18 15:40:06'),(18795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042431354522705','2016-08-18 15:40:06'),(18796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041708946228027','2016-08-18 15:40:06'),(18797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0014379024505615','2016-08-18 15:40:11'),(18798,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040528774261475','2016-08-18 15:40:11'),(18799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064992904663086','2016-08-18 15:40:18'),(18800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 15:40:18'),(18801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 15:40:18'),(18802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 15:40:18'),(18803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 15:40:18'),(18804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 15:40:18'),(18805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 15:40:18'),(18806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-18 15:40:18'),(18807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 15:40:18'),(18808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 15:40:18'),(18809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 15:40:18'),(18810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 15:40:18'),(18811,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004472017288208','2016-08-18 15:40:18'),(18812,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043067932128906','2016-08-18 15:40:18'),(18813,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042948722839355','2016-08-18 15:40:18'),(18814,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043849945068359','2016-08-18 15:40:18'),(18815,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042881965637207','2016-08-18 15:40:18'),(18816,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043239593505859','2016-08-18 15:40:18'),(18817,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042970180511475','2016-08-18 15:40:18'),(18818,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043220520019531','2016-08-18 15:40:18'),(18819,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043900012969971','2016-08-18 15:40:18'),(18820,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042750835418701','2016-08-18 15:40:18'),(18821,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043251514434814','2016-08-18 15:40:18'),(18822,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042910575866699','2016-08-18 15:40:18'),(18823,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2010\'','expenses/removePayment','0.09716796875','2016-08-18 15:41:44'),(18824,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2013\'','expenses/removePayment','0.090310096740723','2016-08-18 15:41:44'),(18825,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48209\'','expenses/removePayment','0.1362030506134','2016-08-18 15:41:44'),(18826,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48213\'','expenses/removePayment','0.14333415031433','2016-08-18 15:41:44'),(18827,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48210\'','expenses/removePayment','0.024712085723877','2016-08-18 15:41:44'),(18828,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48214\'','expenses/removePayment','0.024728059768677','2016-08-18 15:41:44'),(18829,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10837\'','expenses/removePayment','0.024761915206909','2016-08-18 15:41:44'),(18830,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10839\'','expenses/removePayment','0.038610935211182','2016-08-18 15:41:44'),(18831,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.037689208984375','2016-08-18 16:10:23'),(18832,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056600570678711','2016-08-18 16:10:23'),(18833,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-18 16:10:23'),(18834,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053191184997559','2016-08-18 16:10:23'),(18835,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.083322048187256','2016-08-18 16:10:23'),(18836,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037581920623779','2016-08-18 16:10:23'),(18837,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037528038024902','2016-08-18 16:10:23'),(18838,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037789821624756','2016-08-18 16:10:23'),(18839,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.24468898773193','2016-08-18 16:10:23'),(18840,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046110153198242','2016-08-18 16:10:23'),(18841,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00047397613525391','2016-08-18 16:10:23'),(18842,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0079910755157471','2016-08-18 16:10:27'),(18843,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 16:10:27'),(18844,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 16:10:27'),(18845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051212310791016','2016-08-18 16:10:27'),(18846,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:10:27'),(18847,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 16:10:27'),(18848,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 16:10:27'),(18849,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-18 16:10:27'),(18850,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:10:27'),(18851,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 16:10:27'),(18852,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 16:10:27'),(18853,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:10:27'),(18854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065112113952637','2016-08-18 16:10:28'),(18855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 16:10:28'),(18856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 16:10:28'),(18857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-18 16:10:28'),(18858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 16:10:28'),(18859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 16:10:28'),(18860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 16:10:28'),(18861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-18 16:10:28'),(18862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:10:28'),(18863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:10:28'),(18864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 16:10:28'),(18865,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:10:28'),(18866,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060081481933594','2016-08-18 16:10:31'),(18867,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00058484077453613','2016-08-18 16:10:33'),(18868,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-18 16:10:33'),(18869,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:10:33'),(18870,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 16:10:33'),(18871,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 16:10:33'),(18872,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 16:10:33'),(18873,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 16:10:33'),(18874,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 16:10:33'),(18875,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 16:10:33'),(18876,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 16:10:33'),(18877,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 16:10:33'),(18878,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 16:10:33'),(18879,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 16:10:33'),(18880,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.12287211418152','2016-08-18 16:10:37'),(18881,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-18 16:10:37'),(18882,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-18 16:10:37'),(18883,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013401508331299','2016-08-18 16:10:37'),(18884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 16:10:37'),(18885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-18 16:10:37'),(18886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001317024230957','2016-08-18 16:10:37'),(18887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013341903686523','2016-08-18 16:10:37'),(18888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013291835784912','2016-08-18 16:10:37'),(18889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013360977172852','2016-08-18 16:10:37'),(18890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-18 16:10:37'),(18891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 16:10:37'),(18892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015120506286621','2016-08-18 16:10:38'),(18893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013530254364014','2016-08-18 16:10:38'),(18894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001345157623291','2016-08-18 16:10:38'),(18895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-18 16:10:38'),(18896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-18 16:10:38'),(18897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 16:10:38'),(18898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-18 16:10:38'),(18899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-18 16:10:38'),(18900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013210773468018','2016-08-18 16:10:38'),(18901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-18 16:10:38'),(18902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013408660888672','2016-08-18 16:10:38'),(18903,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013210773468018','2016-08-18 16:10:38'),(18904,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042440891265869','2016-08-18 16:10:40'),(18905,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-18 16:10:40'),(18906,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040740966796875','2016-08-18 16:10:40'),(18907,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040628910064697','2016-08-18 16:10:40'),(18908,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040700435638428','2016-08-18 16:10:40'),(18909,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040581226348877','2016-08-18 16:10:40'),(18910,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00406813621521','2016-08-18 16:10:40'),(18911,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040581226348877','2016-08-18 16:10:40'),(18912,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040678977966309','2016-08-18 16:10:40'),(18913,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040509700775146','2016-08-18 16:10:40'),(18914,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041170120239258','2016-08-18 16:10:41'),(18915,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-18 16:10:41'),(18916,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042171478271484','2016-08-18 16:10:42'),(18917,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040698051452637','2016-08-18 16:10:42'),(18918,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-18 16:10:42'),(18919,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040922164916992','2016-08-18 16:10:42'),(18920,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040261745452881','2016-08-18 16:10:42'),(18921,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040237903594971','2016-08-18 16:10:42'),(18922,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040431022644043','2016-08-18 16:10:42'),(18923,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040149688720703','2016-08-18 16:10:42'),(18924,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040719509124756','2016-08-18 16:10:42'),(18925,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040230751037598','2016-08-18 16:10:42'),(18926,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040369033813477','2016-08-18 16:10:42'),(18927,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004019021987915','2016-08-18 16:10:42'),(18928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.001507043838501','2016-08-18 16:10:45'),(18929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0042579174041748','2016-08-18 16:10:45'),(18930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064301490783691','2016-08-18 16:10:49'),(18931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 16:10:49'),(18932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 16:10:49'),(18933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 16:10:49'),(18934,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 16:10:49'),(18935,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 16:10:49'),(18936,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 16:10:49'),(18937,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-18 16:10:49'),(18938,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:10:49'),(18939,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 16:10:49'),(18940,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 16:10:49'),(18941,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:10:49'),(18942,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045762062072754','2016-08-18 16:10:49'),(18943,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044980049133301','2016-08-18 16:10:49'),(18944,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004472017288208','2016-08-18 16:10:49'),(18945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044689178466797','2016-08-18 16:10:49'),(18946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044369697570801','2016-08-18 16:10:49'),(18947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044839382171631','2016-08-18 16:10:49'),(18948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044689178466797','2016-08-18 16:10:49'),(18949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044929981231689','2016-08-18 16:10:50'),(18950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044739246368408','2016-08-18 16:10:50'),(18951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044970512390137','2016-08-18 16:10:50'),(18952,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045199394226074','2016-08-18 16:10:50'),(18953,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045011043548584','2016-08-18 16:10:50'),(18954,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00061607360839844','2016-08-18 16:22:57'),(18955,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054192543029785','2016-08-18 16:22:57'),(18956,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053811073303223','2016-08-18 16:22:57'),(18957,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053215026855469','2016-08-18 16:22:57'),(18958,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.037759065628052','2016-08-18 16:22:57'),(18959,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037527084350586','2016-08-18 16:22:57'),(18960,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037441968917847','2016-08-18 16:22:57'),(18961,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037699937820435','2016-08-18 16:22:57'),(18962,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.13672399520874','2016-08-18 16:22:57'),(18963,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047206878662109','2016-08-18 16:22:57'),(18964,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005180835723877','2016-08-18 16:22:57'),(18965,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0082221031188965','2016-08-18 16:23:00'),(18966,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 16:23:00'),(18967,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:23:00'),(18968,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 16:23:00'),(18969,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 16:23:00'),(18970,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054621696472168','2016-08-18 16:23:00'),(18971,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 16:23:00'),(18972,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-18 16:23:00'),(18973,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 16:23:00'),(18974,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:23:00'),(18975,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 16:23:00'),(18976,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 16:23:01'),(18977,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0035250186920166','2016-08-18 16:23:01'),(18978,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00087714195251465','2016-08-18 16:23:01'),(18979,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0012729167938232','2016-08-18 16:23:01'),(18980,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 16:23:01'),(18981,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004570484161377','2016-08-18 16:23:01'),(18982,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044918060302734','2016-08-18 16:23:01'),(18983,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:23:01'),(18984,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046396255493164','2016-08-18 16:23:01'),(18985,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:23:01'),(18986,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:23:01'),(18987,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044584274291992','2016-08-18 16:23:01'),(18988,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00043988227844238','2016-08-18 16:23:01'),(18989,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'24\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.1746039390564','2016-08-18 16:23:01'),(18990,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00124192237854','2016-08-18 16:23:01'),(18991,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.0012240409851074','2016-08-18 16:23:01'),(18992,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.02082896232605','2016-08-18 16:23:07'),(18993,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'718\'\r\n        ','loanReceive/print_loanReceive','0.018969058990479','2016-08-18 16:23:07'),(18994,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'718\'\r\n        ','loanReceive/print_loanReceive','0.00074386596679688','2016-08-18 16:23:07'),(18995,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.00057411193847656','2016-08-18 16:23:07'),(18996,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062298774719238','2016-08-18 16:23:07'),(18997,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054502487182617','2016-08-18 16:23:07'),(18998,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055503845214844','2016-08-18 16:23:07'),(18999,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053191184997559','2016-08-18 16:23:07'),(19000,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.11581516265869','2016-08-18 16:23:07'),(19001,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037906885147095','2016-08-18 16:23:07'),(19002,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037827014923096','2016-08-18 16:23:07'),(19003,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038011074066162','2016-08-18 16:23:07'),(19004,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.26423597335815','2016-08-18 16:23:07'),(19005,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046300888061523','2016-08-18 16:23:07'),(19006,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00048589706420898','2016-08-18 16:23:07'),(19007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0022568702697754','2016-08-18 16:23:14'),(19008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 16:23:14'),(19009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 16:23:14'),(19010,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 16:23:14'),(19011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 16:23:14'),(19012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 16:23:14'),(19013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 16:23:14'),(19014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-18 16:23:14'),(19015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 16:23:14'),(19016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 16:23:14'),(19017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 16:23:14'),(19018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 16:23:14'),(19019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006411075592041','2016-08-18 16:23:15'),(19020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 16:23:15'),(19021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 16:23:15'),(19022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 16:23:15'),(19023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:23:15'),(19024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 16:23:15'),(19025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 16:23:15'),(19026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 16:23:15'),(19027,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 16:23:15'),(19028,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 16:23:15'),(19029,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 16:23:15'),(19030,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 16:23:15'),(19031,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.003558874130249','2016-08-18 16:23:16'),(19032,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00087714195251465','2016-08-18 16:23:16'),(19033,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.010014057159424','2016-08-18 16:23:16'),(19034,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:23:16'),(19035,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:23:16'),(19036,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045585632324219','2016-08-18 16:23:16'),(19037,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:23:16'),(19038,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044679641723633','2016-08-18 16:23:16'),(19039,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:23:16'),(19040,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:23:16'),(19041,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044703483581543','2016-08-18 16:23:16'),(19042,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044107437133789','2016-08-18 16:23:16'),(19043,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%kerusi%\'\nORDER BY `transDate`','setup/search','0.11040306091309','2016-08-18 16:23:16'),(19044,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00044012069702148','2016-08-18 16:23:16'),(19045,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00049710273742676','2016-08-18 16:23:16'),(19046,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011100769042969','2016-08-18 16:23:24'),(19047,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00084900856018066','2016-08-18 16:23:24'),(19048,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00048184394836426','2016-08-18 16:23:24'),(19049,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:23:24'),(19050,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044703483581543','2016-08-18 16:23:24'),(19051,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004570484161377','2016-08-18 16:23:24'),(19052,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:23:24'),(19053,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:23:24'),(19054,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046491622924805','2016-08-18 16:23:25'),(19055,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 16:23:25'),(19056,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:23:25'),(19057,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045084953308105','2016-08-18 16:23:25'),(19058,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%ceti%\'\nORDER BY `transDate`','setup/search','0.064454078674316','2016-08-18 16:23:25'),(19059,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00041604042053223','2016-08-18 16:23:25'),(19060,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00051689147949219','2016-08-18 16:23:25'),(19061,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011188983917236','2016-08-18 16:23:36'),(19062,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00086498260498047','2016-08-18 16:23:36'),(19063,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004889965057373','2016-08-18 16:23:36'),(19064,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045418739318848','2016-08-18 16:23:36'),(19065,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:23:36'),(19066,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004570484161377','2016-08-18 16:23:36'),(19067,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:23:36'),(19068,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:23:36'),(19069,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:23:36'),(19070,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:23:36'),(19071,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044703483581543','2016-08-18 16:23:36'),(19072,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:23:36'),(19073,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%ceti%\'\nORDER BY `transDate`','setup/search','0.064640998840332','2016-08-18 16:23:36'),(19074,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.0004119873046875','2016-08-18 16:23:36'),(19075,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00051617622375488','2016-08-18 16:23:36'),(19076,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.036589860916138','2016-08-18 16:23:41'),(19077,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'718\'\r\n        ','loanReceive/print_loanReceive','0.0026979446411133','2016-08-18 16:23:41'),(19078,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'718\'\r\n        ','loanReceive/print_loanReceive','0.00075793266296387','2016-08-18 16:23:41'),(19079,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.00060105323791504','2016-08-18 16:23:41'),(19080,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.020320892333984','2016-08-18 16:23:44'),(19081,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00044798851013184','2016-08-18 16:23:44'),(19082,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00043511390686035','2016-08-18 16:23:44'),(19083,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.00075292587280273','2016-08-18 16:23:49'),(19084,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'730\'\r\n        ','loanReceive/print_loanReceive','0.00083589553833008','2016-08-18 16:23:49'),(19085,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'730\'\r\n        ','loanReceive/print_loanReceive','0.00076103210449219','2016-08-18 16:23:49'),(19086,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.00057578086853027','2016-08-18 16:23:49'),(19087,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`ID` as recPaymentID, `c`.`ID` as othersPaymentID\nFROM (`comp_journal` a)\nLEFT JOIN `comp_receive_payment_others` b ON `a`.`journalID` = `b`.`journalNo` and a.companyID = b.companyID\nLEFT JOIN `comp_payment_others` c ON `a`.`journalID` = `c`.`journalNo` and a.companyID = c.companyID\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`ID` =  \'10926\'','report/journalDetails','0.0017359256744385','2016-08-18 16:23:51'),(19088,25,32,'192.168.1.220','others','SELECT `comp_journal_detail`.*, CONCAT(SUBSTRING(comp_chart_of_acct.acctCode, 1, 4), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 5, 3), \"-\", SUBSTRING(comp_chart_of_acct.acctCode, 8, 2), \"[\", comp_chart_of_acct.acctName, \"]\") as kodAkaun, `comp_chart_of_acct`.`acctCode` as acctcode, `comp_chart_of_acct`.`acctName` as acctname\nFROM (`comp_journal_detail`)\nLEFT JOIN `comp_chart_of_acct` ON `comp_chart_of_acct`.`ID` = `comp_journal_detail`.`acctCode`\nWHERE `comp_journal_detail`.`companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000004\'\nORDER BY `sequence`','report/journalDetails','0.0038659572601318','2016-08-18 16:23:51'),(19089,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/journalDetails','0.00039911270141602','2016-08-18 16:23:51'),(19090,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/journalDetails','0.00049710273742676','2016-08-18 16:23:51'),(19091,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011630058288574','2016-08-18 16:23:57'),(19092,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00086092948913574','2016-08-18 16:23:57'),(19093,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00049996376037598','2016-08-18 16:23:57'),(19094,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045514106750488','2016-08-18 16:23:57'),(19095,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044989585876465','2016-08-18 16:23:57'),(19096,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045490264892578','2016-08-18 16:23:57'),(19097,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046086311340332','2016-08-18 16:23:57'),(19098,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:23:57'),(19099,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:23:57'),(19100,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045490264892578','2016-08-18 16:23:57'),(19101,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:23:57'),(19102,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 16:23:57'),(19103,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%simpan%\'\nORDER BY `transDate`','setup/search','0.096763134002686','2016-08-18 16:23:57'),(19104,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00041484832763672','2016-08-18 16:23:57'),(19105,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00048494338989258','2016-08-18 16:23:57'),(19106,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.00076198577880859','2016-08-18 16:24:04'),(19107,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'718\'\r\n        ','loanReceive/print_loanReceive','0.00081110000610352','2016-08-18 16:24:04'),(19108,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'718\'\r\n        ','loanReceive/print_loanReceive','0.00075507164001465','2016-08-18 16:24:04'),(19109,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.00057482719421387','2016-08-18 16:24:04'),(19110,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0020029544830322','2016-08-18 16:24:14'),(19111,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.019333839416504','2016-08-18 16:24:14'),(19112,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0026810169219971','2016-08-18 16:24:14'),(19113,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00042009353637695','2016-08-18 16:24:14'),(19114,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050592422485352','2016-08-18 16:24:14'),(19115,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.00071287155151367','2016-08-18 16:24:25'),(19116,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'730\'\r\n        ','loanReceive/print_loanReceive','0.00077700614929199','2016-08-18 16:24:25'),(19117,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'730\'\r\n        ','loanReceive/print_loanReceive','0.00068807601928711','2016-08-18 16:24:25'),(19118,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.00053715705871582','2016-08-18 16:24:25'),(19119,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011038780212402','2016-08-18 16:24:26'),(19120,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00084781646728516','2016-08-18 16:24:26'),(19121,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00048708915710449','2016-08-18 16:24:26'),(19122,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044989585876465','2016-08-18 16:24:26'),(19123,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:24:26'),(19124,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004580020904541','2016-08-18 16:24:26'),(19125,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044989585876465','2016-08-18 16:24:26'),(19126,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 16:24:26'),(19127,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 16:24:26'),(19128,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:24:26'),(19129,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044584274291992','2016-08-18 16:24:26'),(19130,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044918060302734','2016-08-18 16:24:26'),(19131,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%ceti%\'\nORDER BY `transDate`','setup/search','0.064287900924683','2016-08-18 16:24:26'),(19132,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00041985511779785','2016-08-18 16:24:26'),(19133,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00052309036254883','2016-08-18 16:24:26'),(19134,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011169910430908','2016-08-18 16:24:32'),(19135,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.0008540153503418','2016-08-18 16:24:32'),(19136,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004889965057373','2016-08-18 16:24:32'),(19137,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 16:24:32'),(19138,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:24:32'),(19139,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:24:32'),(19140,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045490264892578','2016-08-18 16:24:32'),(19141,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044679641723633','2016-08-18 16:24:32'),(19142,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:24:32'),(19143,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:24:32'),(19144,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:24:32'),(19145,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045084953308105','2016-08-18 16:24:32'),(19146,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%pinjaman%\'\nORDER BY `transDate`','setup/search','0.064805030822754','2016-08-18 16:24:32'),(19147,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00041103363037109','2016-08-18 16:24:32'),(19148,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00051212310791016','2016-08-18 16:24:32'),(19149,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0022342205047607','2016-08-18 16:24:38'),(19150,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00047612190246582','2016-08-18 16:24:38'),(19151,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00049304962158203','2016-08-18 16:24:38'),(19152,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0015151500701904','2016-08-18 16:24:43'),(19153,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010170936584473','2016-08-18 16:24:43'),(19154,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016529560089111','2016-08-18 16:24:43'),(19155,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.0004119873046875','2016-08-18 16:24:44'),(19156,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050616264343262','2016-08-18 16:24:44'),(19157,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00063109397888184','2016-08-18 16:25:03'),(19158,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00054788589477539','2016-08-18 16:25:03'),(19159,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053977966308594','2016-08-18 16:25:03'),(19160,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053906440734863','2016-08-18 16:25:03'),(19161,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00071501731872559','2016-08-18 16:25:03'),(19162,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00040793418884277','2016-08-18 16:25:03'),(19163,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051403045654297','2016-08-18 16:25:03'),(19164,25,32,'192.168.1.220','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'159\', \'1000\', \'LR\', \'ceti haram\', \'25\', 3)','loanReceive/save_new_loan','0.14134001731873','2016-08-18 16:25:15'),(19165,25,32,'192.168.1.220','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2202, 1, \'33077\', \'1000\', \'test search ceti\')','loanReceive/save_new_loan','0.018145084381104','2016-08-18 16:25:15'),(19166,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_unpost_other_receive`)\nWHERE `otherReceiveID` =  2202','loanReceive/save_new_loan','0.019252061843872','2016-08-18 16:25:15'),(19167,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2202\nAND `ID` =  2202','loanReceive/save_new_loan','0.0005640983581543','2016-08-18 16:25:15'),(19168,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_jl_seq`)\nWHERE `compID` =  \'25\'\nAND `moduleID` =  \'2\'\nAND `initial` =  \'AR\'\nAND `year` =  \'2016\'\nAND `period` =  \'08\'\nORDER BY `ID` desc','loanReceive/save_new_loan','0.0016860961914062','2016-08-18 16:25:15'),(19169,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'335\'','loanReceive/save_new_loan','0.0313880443573','2016-08-18 16:25:15'),(19170,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000019\' WHERE `ID` =  2202','loanReceive/save_new_loan','0.016129970550537','2016-08-18 16:25:15'),(19171,25,32,'192.168.1.220','others','SELECT `comp_receive_payment_others`.*, concat(comp_receive_payment_others.formNo, \"[\", lpad(comp_receive_payment_others.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  2202','loanReceive/save_new_loan','0.00055193901062012','2016-08-18 16:25:15'),(19172,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AR20160800000019\', \'LR[00000017]\', \'Loan Received [ LR[00000017] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 1000, 1000, \'User\')','loanReceive/save_new_loan','0.01070499420166','2016-08-18 16:25:15'),(19173,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'25\', \'AR20160800000019\', 1, \'test search ceti\', \'33077\', \'ceti haram\', 1000, \'1\', \'1\', \'1000\', \'08\', \'2016\', \'1\', \'LR[00000017]\', \'0\', \'User\')','loanReceive/save_new_loan','0.034596920013428','2016-08-18 16:25:15'),(19174,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'25\', 2, \'AR20160800000019\', \'test search ceti\', \'33074\', \'ceti haram\', 1000, \'1\', \'1\', \'1000\', \'08\', \'2016\', \'LR[00000017]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016502141952515','2016-08-18 16:25:15'),(19175,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AR20160800000019\'','loanReceive/save_new_loan','0.016102075576782','2016-08-18 16:25:15'),(19176,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2202','loanReceive/save_new_loan','0.025102853775024','2016-08-18 16:25:15'),(19177,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11179','loanReceive/save_new_loan','0.016164064407349','2016-08-18 16:25:15'),(19178,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AR20160800000019\'','loanReceive/save_new_loan','0.016731023788452','2016-08-18 16:25:15'),(19179,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal_detail`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AR20160800000019\'','loanReceive/save_new_loan','0.00059294700622559','2016-08-18 16:25:15'),(19180,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33077\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.025806903839111','2016-08-18 16:25:15'),(19181,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33077\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022161960601807','2016-08-18 16:25:15'),(19182,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_acc_det`)\nWHERE `companyID` =  \'25\'\nAND `acctID` =  \'33074\'\nAND `year` =  \'2016\'\nAND `period` =  \'8\'','loanReceive/save_new_loan','0.00049114227294922','2016-08-18 16:25:15'),(19183,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33074\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.013612031936646','2016-08-18 16:25:15'),(19184,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0016138553619385','2016-08-18 16:25:16'),(19185,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00097203254699707','2016-08-18 16:25:16'),(19186,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016500949859619','2016-08-18 16:25:16'),(19187,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040316581726074','2016-08-18 16:25:16'),(19188,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051093101501465','2016-08-18 16:25:16'),(19189,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.000640869140625','2016-08-18 16:25:18'),(19190,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00054812431335449','2016-08-18 16:25:18'),(19191,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055980682373047','2016-08-18 16:25:18'),(19192,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053596496582031','2016-08-18 16:25:18'),(19193,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2014-01-08\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00076413154602051','2016-08-18 16:25:18'),(19194,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00043106079101562','2016-08-18 16:25:18'),(19195,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.0005490779876709','2016-08-18 16:25:18'),(19196,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011179447174072','2016-08-18 16:25:25'),(19197,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.0008552074432373','2016-08-18 16:25:25'),(19198,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00048589706420898','2016-08-18 16:25:25'),(19199,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:25:25'),(19200,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044703483581543','2016-08-18 16:25:25'),(19201,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045585632324219','2016-08-18 16:25:25'),(19202,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 16:25:25'),(19203,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044703483581543','2016-08-18 16:25:25'),(19204,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:25:25'),(19205,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045180320739746','2016-08-18 16:25:25'),(19206,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044584274291992','2016-08-18 16:25:25'),(19207,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:25:25'),(19208,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%test%\'\nORDER BY `transDate`','setup/search','0.065178155899048','2016-08-18 16:25:25'),(19209,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00040292739868164','2016-08-18 16:25:25'),(19210,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00048303604125977','2016-08-18 16:25:25'),(19211,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.092085123062134','2016-08-18 16:25:36'),(19212,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.00039815902709961','2016-08-18 16:25:36'),(19213,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2117\'','expenses/printDetail','0.0020761489868164','2016-08-18 16:25:36'),(19214,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2117\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.00754714012146','2016-08-18 16:25:36'),(19215,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.032915115356445','2016-08-18 16:25:36'),(19216,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011270046234131','2016-08-18 16:25:38'),(19217,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00084996223449707','2016-08-18 16:25:38'),(19218,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00048398971557617','2016-08-18 16:25:38'),(19219,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045514106750488','2016-08-18 16:25:38'),(19220,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004429817199707','2016-08-18 16:25:38'),(19221,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00048208236694336','2016-08-18 16:25:38'),(19222,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:25:38'),(19223,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044584274291992','2016-08-18 16:25:38'),(19224,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:25:38'),(19225,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:25:38'),(19226,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044584274291992','2016-08-18 16:25:38'),(19227,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:25:38'),(19228,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%ceti%\'\nORDER BY `transDate`','setup/search','0.090998888015747','2016-08-18 16:25:38'),(19229,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00043296813964844','2016-08-18 16:25:38'),(19230,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00047993659973145','2016-08-18 16:25:38'),(19231,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/otherReceiveAdviceRpt','0.00054192543029785','2016-08-18 16:25:42'),(19232,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/otherReceiveAdviceRpt%\"','glreports/otherReceiveAdviceRpt','0.0010089874267578','2016-08-18 16:25:42'),(19233,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/otherReceiveAdviceRpt','0.00083708763122559','2016-08-18 16:25:42'),(19234,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00047397613525391','2016-08-18 16:25:42'),(19235,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045204162597656','2016-08-18 16:25:42'),(19236,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044798851013184','2016-08-18 16:25:42'),(19237,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044584274291992','2016-08-18 16:25:42'),(19238,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044894218444824','2016-08-18 16:25:42'),(19239,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044608116149902','2016-08-18 16:25:42'),(19240,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044894218444824','2016-08-18 16:25:42'),(19241,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044918060302734','2016-08-18 16:25:42'),(19242,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044894218444824','2016-08-18 16:25:42'),(19243,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044488906860352','2016-08-18 16:25:42'),(19244,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APSUPPAY\'\nAND `accessRight` =  1','glreports/otherReceiveAdviceRpt','0.00058794021606445','2016-08-18 16:25:42'),(19245,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others.*, CONCAT(comp_receive_payment_others.formNo,\" [\",lpad(comp_receive_payment_others.serialNo,8,0),\"]\") as formNo\r\n		   FROM comp_receive_payment_others\r\n                   WHERE comp_receive_payment_others.updateAble = 0 AND comp_receive_payment_others.ID =  2202','glreports/otherReceiveAdviceRpt','0.00057482719421387','2016-08-18 16:25:42'),(19246,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others_detail.*, comp_receive_payment_others_detail.ID AS rowID,\r\n			 comp_chart_of_acct.acctName,CONCAT(substr(comp_chart_of_acct.acctCode,1,4),\"-\", substr(comp_chart_of_acct.acctCode,5,3),\"-\", substr(comp_chart_of_acct.acctCode,7,2), \" | \", comp_chart_of_acct.acctName) as acctCode\r\n				   FROM comp_receive_payment_others_detail left outer join comp_chart_of_acct on comp_receive_payment_others_detail.accountNoID = comp_chart_of_acct.ID\r\n				   WHERE comp_receive_payment_others_detail.receivePaymentOthersID =  2202','glreports/otherReceiveAdviceRpt','0.00086808204650879','2016-08-18 16:25:42'),(19247,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/otherReceiveAdviceRpt','0.00061392784118652','2016-08-18 16:25:43'),(19248,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063300132751465','2016-08-18 16:26:03'),(19249,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054812431335449','2016-08-18 16:26:03'),(19250,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053596496582031','2016-08-18 16:26:03'),(19251,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053191184997559','2016-08-18 16:26:03'),(19252,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.1391339302063','2016-08-18 16:26:03'),(19253,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037710905075073','2016-08-18 16:26:03'),(19254,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037646055221558','2016-08-18 16:26:03'),(19255,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037843942642212','2016-08-18 16:26:03'),(19256,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.24908113479614','2016-08-18 16:26:03'),(19257,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.017569065093994','2016-08-18 16:26:03'),(19258,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.035662889480591','2016-08-18 16:26:03'),(19259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.01382303237915','2016-08-18 16:26:07'),(19260,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 16:26:07'),(19261,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 16:26:07'),(19262,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 16:26:07'),(19263,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:26:08'),(19264,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 16:26:08'),(19265,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 16:26:08'),(19266,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055480003356934','2016-08-18 16:26:08'),(19267,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 16:26:08'),(19268,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-18 16:26:08'),(19269,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 16:26:08'),(19270,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:26:08'),(19271,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006401538848877','2016-08-18 16:26:10'),(19272,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 16:26:10'),(19273,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 16:26:10'),(19274,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:26:10'),(19275,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:26:10'),(19276,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 16:26:10'),(19277,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 16:26:10'),(19278,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 16:26:10'),(19279,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:26:10'),(19280,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:26:10'),(19281,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 16:26:10'),(19282,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:26:10'),(19283,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00061488151550293','2016-08-18 16:26:14'),(19284,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059008598327637','2016-08-18 16:26:16'),(19285,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-18 16:26:16'),(19286,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 16:26:16'),(19287,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-18 16:26:16'),(19288,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 16:26:16'),(19289,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005347728729248','2016-08-18 16:26:17'),(19290,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 16:26:17'),(19291,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 16:26:17'),(19292,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-18 16:26:17'),(19293,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 16:26:17'),(19294,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 16:26:17'),(19295,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 16:26:17'),(19296,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-18 16:26:17'),(19297,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.018016815185547','2016-08-18 16:26:23'),(19298,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00089001655578613','2016-08-18 16:26:23'),(19299,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0071728229522705','2016-08-18 16:26:23'),(19300,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046801567077637','2016-08-18 16:26:23'),(19301,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:26:23'),(19302,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045490264892578','2016-08-18 16:26:23'),(19303,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044989585876465','2016-08-18 16:26:23'),(19304,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044608116149902','2016-08-18 16:26:23'),(19305,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:26:23'),(19306,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045084953308105','2016-08-18 16:26:23'),(19307,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044488906860352','2016-08-18 16:26:23'),(19308,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:26:23'),(19309,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%ceti%\'\nORDER BY `transDate`','setup/search','0.18902778625488','2016-08-18 16:26:23'),(19310,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00042581558227539','2016-08-18 16:26:23'),(19311,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00048303604125977','2016-08-18 16:26:23'),(19312,24,31,'192.168.1.254','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00061321258544922','2016-08-18 16:37:48'),(19313,24,31,'192.168.1.254','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055408477783203','2016-08-18 16:37:48'),(19314,24,31,'192.168.1.254','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0098340511322021','2016-08-18 16:37:48'),(19315,24,31,'192.168.1.254','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053596496582031','2016-08-18 16:37:48'),(19316,24,31,'192.168.1.254','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.11407685279846','2016-08-18 16:37:48'),(19317,24,31,'192.168.1.254','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037600994110107','2016-08-18 16:37:48'),(19318,24,31,'192.168.1.254','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037593841552734','2016-08-18 16:37:48'),(19319,24,31,'192.168.1.254','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037765979766846','2016-08-18 16:37:48'),(19320,24,31,'192.168.1.254','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.17703795433044','2016-08-18 16:37:48'),(19321,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00043916702270508','2016-08-18 16:37:48'),(19322,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00047183036804199','2016-08-18 16:37:48'),(19323,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.019262075424194','2016-08-18 16:37:56'),(19324,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 16:37:56'),(19325,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 16:37:56'),(19326,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:37:56'),(19327,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:37:56'),(19328,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 16:37:56'),(19329,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 16:37:56'),(19330,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055480003356934','2016-08-18 16:37:56'),(19331,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-18 16:37:56'),(19332,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:37:56'),(19333,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 16:37:56'),(19334,24,31,'192.168.1.254','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:37:56'),(19335,24,31,'192.168.1.254','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.094143152236938','2016-08-18 16:37:56'),(19336,24,31,'192.168.1.254','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012760162353516','2016-08-18 16:37:56'),(19337,24,31,'192.168.1.254','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012760162353516','2016-08-18 16:37:56'),(19338,24,31,'192.168.1.254','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012609958648682','2016-08-18 16:37:56'),(19339,24,31,'192.168.1.254','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.043660879135132','2016-08-18 16:37:56'),(19340,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041294097900391','2016-08-18 16:37:56'),(19341,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049304962158203','2016-08-18 16:37:56'),(19342,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.082376003265381','2016-08-18 16:38:06'),(19343,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010049343109131','2016-08-18 16:38:06'),(19344,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00042080879211426','2016-08-18 16:38:06'),(19345,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051307678222656','2016-08-18 16:38:06'),(19346,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0026891231536865','2016-08-18 16:38:16'),(19347,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010290145874023','2016-08-18 16:38:16'),(19348,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.0004279613494873','2016-08-18 16:38:16'),(19349,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051379203796387','2016-08-18 16:38:16'),(19350,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0017070770263672','2016-08-18 16:42:17'),(19351,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','expenses/addNew','0.00099396705627441','2016-08-18 16:42:17'),(19352,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00043082237243652','2016-08-18 16:42:17'),(19353,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051784515380859','2016-08-18 16:42:17'),(19354,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.014542102813721','2016-08-18 16:44:52'),(19355,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00088810920715332','2016-08-18 16:44:52'),(19356,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0071749687194824','2016-08-18 16:44:52'),(19357,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045514106750488','2016-08-18 16:44:52'),(19358,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00047397613525391','2016-08-18 16:44:52'),(19359,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:44:52'),(19360,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 16:44:52'),(19361,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044679641723633','2016-08-18 16:44:52'),(19362,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:44:52'),(19363,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045084953308105','2016-08-18 16:44:52'),(19364,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044512748718262','2016-08-18 16:44:52'),(19365,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:44:52'),(19366,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%%\'\nORDER BY `transDate`','setup/search','0.16456604003906','2016-08-18 16:44:52'),(19367,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.0013668537139893','2016-08-18 16:44:52'),(19368,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.0012180805206299','2016-08-18 16:44:52'),(19369,24,31,'192.168.1.254','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.098126173019409','2016-08-18 16:45:09'),(19370,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0018830299377441','2016-08-18 16:45:09'),(19371,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016279220581055','2016-08-18 16:45:10'),(19372,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00042891502380371','2016-08-18 16:45:10'),(19373,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050806999206543','2016-08-18 16:45:10'),(19374,24,31,'192.168.1.254','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/loanReceiveList','0.0018529891967773','2016-08-18 16:45:15'),(19375,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/loanReceiveList','0.00097799301147461','2016-08-18 16:45:15'),(19376,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/loanReceiveList','0.0016269683837891','2016-08-18 16:45:15'),(19377,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/loanReceiveList','0.00040507316589355','2016-08-18 16:45:16'),(19378,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/loanReceiveList','0.0010199546813965','2016-08-18 16:45:16'),(19379,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00059199333190918','2016-08-18 16:45:20'),(19380,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005490779876709','2016-08-18 16:45:20'),(19381,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054001808166504','2016-08-18 16:45:20'),(19382,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054001808166504','2016-08-18 16:45:20'),(19383,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.04694390296936','2016-08-18 16:45:20'),(19384,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.038076162338257','2016-08-18 16:45:20'),(19385,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037913799285889','2016-08-18 16:45:20'),(19386,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037893056869507','2016-08-18 16:45:20'),(19387,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.12313485145569','2016-08-18 16:45:20'),(19388,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00048208236694336','2016-08-18 16:45:20'),(19389,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052404403686523','2016-08-18 16:45:20'),(19390,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0083541870117188','2016-08-18 16:45:23'),(19391,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 16:45:23'),(19392,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:45:23'),(19393,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 16:45:23'),(19394,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 16:45:23'),(19395,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054812431335449','2016-08-18 16:45:23'),(19396,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 16:45:23'),(19397,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00057291984558105','2016-08-18 16:45:23'),(19398,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-18 16:45:23'),(19399,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:45:23'),(19400,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 16:45:23'),(19401,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 16:45:23'),(19402,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.038512945175171','2016-08-18 16:45:29'),(19403,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00087094306945801','2016-08-18 16:45:29'),(19404,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.001168966293335','2016-08-18 16:45:29'),(19405,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00047087669372559','2016-08-18 16:45:29'),(19406,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044608116149902','2016-08-18 16:45:29'),(19407,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:45:29'),(19408,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:45:29'),(19409,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044703483581543','2016-08-18 16:45:29'),(19410,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:45:29'),(19411,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045084953308105','2016-08-18 16:45:29'),(19412,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044512748718262','2016-08-18 16:45:29'),(19413,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:45:29'),(19414,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'24\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.1260678768158','2016-08-18 16:45:29'),(19415,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.001230001449585','2016-08-18 16:45:29'),(19416,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.0012130737304688','2016-08-18 16:45:29'),(19417,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0061988830566406','2016-08-18 16:45:32'),(19418,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0016841888427734','2016-08-18 16:45:32'),(19419,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0030801296234131','2016-08-18 16:45:32'),(19420,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.0004119873046875','2016-08-18 16:45:32'),(19421,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051689147949219','2016-08-18 16:45:33'),(19422,24,31,'192.168.1.254','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0018279552459717','2016-08-18 16:45:33'),(19423,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0009620189666748','2016-08-18 16:45:33'),(19424,24,31,'192.168.1.254','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016171932220459','2016-08-18 16:45:33'),(19425,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041079521179199','2016-08-18 16:45:33'),(19426,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050687789916992','2016-08-18 16:45:33'),(19427,24,31,'192.168.1.254','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013530254364014','2016-08-18 16:45:47'),(19428,24,31,'192.168.1.254','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012710094451904','2016-08-18 16:45:47'),(19429,24,31,'192.168.1.254','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012400150299072','2016-08-18 16:45:47'),(19430,24,31,'192.168.1.254','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012428760528564','2016-08-18 16:45:47'),(19431,24,31,'192.168.1.254','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0031120777130127','2016-08-18 16:45:47'),(19432,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00041794776916504','2016-08-18 16:45:47'),(19433,24,31,'192.168.1.254','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-18 16:45:47'),(19434,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011138916015625','2016-08-18 16:45:57'),(19435,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00084996223449707','2016-08-18 16:45:57'),(19436,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00048518180847168','2016-08-18 16:45:57'),(19437,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046110153198242','2016-08-18 16:45:58'),(19438,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:45:58'),(19439,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:45:58'),(19440,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045180320739746','2016-08-18 16:45:58'),(19441,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 16:45:58'),(19442,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045180320739746','2016-08-18 16:45:58'),(19443,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:45:58'),(19444,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 16:45:58'),(19445,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 16:45:58'),(19446,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'24\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.06685996055603','2016-08-18 16:45:58'),(19447,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00042581558227539','2016-08-18 16:45:58'),(19448,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00047993659973145','2016-08-18 16:45:58'),(19449,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','loanReceive/print_loanReceive','0.038421154022217','2016-08-18 16:46:00'),(19450,24,31,'192.168.1.204','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'2192\'\r\n        ','loanReceive/print_loanReceive','0.00049805641174316','2016-08-18 16:46:00'),(19451,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/print_loanReceive','0.0016679763793945','2016-08-18 16:46:00'),(19452,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.00092792510986328','2016-08-18 16:46:00'),(19453,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.0016031265258789','2016-08-18 16:46:00'),(19454,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/print_loanReceive','0.00039386749267578','2016-08-18 16:46:00'),(19455,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/print_loanReceive','0.00048494338989258','2016-08-18 16:46:00'),(19456,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.00075697898864746','2016-08-18 16:46:44'),(19457,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'729\'\nAND `companyID` =  \'24\'','sales/print_sale','0.0004880428314209','2016-08-18 16:46:44'),(19458,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'729\'','sales/print_sale','0.00061488151550293','2016-08-18 16:46:44'),(19459,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.0005791187286377','2016-08-18 16:46:44'),(19460,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0006711483001709','2016-08-18 16:46:53'),(19461,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00057291984558105','2016-08-18 16:46:53'),(19462,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054001808166504','2016-08-18 16:46:53'),(19463,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005340576171875','2016-08-18 16:46:53'),(19464,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.083551168441772','2016-08-18 16:46:53'),(19465,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037629127502441','2016-08-18 16:46:53'),(19466,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037539005279541','2016-08-18 16:46:53'),(19467,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037628889083862','2016-08-18 16:46:53'),(19468,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.21936011314392','2016-08-18 16:46:53'),(19469,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049519538879395','2016-08-18 16:46:53'),(19470,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052905082702637','2016-08-18 16:46:53'),(19471,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.018294095993042','2016-08-18 16:47:02'),(19472,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 16:47:02'),(19473,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 16:47:02'),(19474,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 16:47:02'),(19475,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 16:47:02'),(19476,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 16:47:02'),(19477,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 16:47:03'),(19478,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055813789367676','2016-08-18 16:47:03'),(19479,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 16:47:03'),(19480,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-18 16:47:03'),(19481,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 16:47:03'),(19482,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-18 16:47:03'),(19483,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00067615509033203','2016-08-18 16:47:04'),(19484,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 16:47:04'),(19485,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 16:47:04'),(19486,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 16:47:04'),(19487,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 16:47:04'),(19488,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 16:47:04'),(19489,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:47:04'),(19490,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-18 16:47:04'),(19491,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:47:04'),(19492,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 16:47:04'),(19493,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 16:47:04'),(19494,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-18 16:47:04'),(19495,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.028922080993652','2016-08-18 16:47:07'),(19496,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00053811073303223','2016-08-18 16:47:07'),(19497,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00090694427490234','2016-08-18 16:47:07'),(19498,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0071301460266113','2016-08-18 16:47:07'),(19499,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 16:47:07'),(19500,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046181678771973','2016-08-18 16:47:07'),(19501,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 16:47:07'),(19502,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045418739318848','2016-08-18 16:47:07'),(19503,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044703483581543','2016-08-18 16:47:07'),(19504,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00050210952758789','2016-08-18 16:47:07'),(19505,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:47:07'),(19506,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044608116149902','2016-08-18 16:47:07'),(19507,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:47:07'),(19508,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%ceti%\'\nORDER BY `transDate`','setup/search','0.22100687026978','2016-08-18 16:47:07'),(19509,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.0004880428314209','2016-08-18 16:47:07'),(19510,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00050997734069824','2016-08-18 16:47:07'),(19511,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','loanReceive/print_loanReceive','0.0029020309448242','2016-08-18 16:47:13'),(19512,25,32,'192.168.1.220','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'2199\'\r\n        ','loanReceive/print_loanReceive','0.001255989074707','2016-08-18 16:47:13'),(19513,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/print_loanReceive','0.02261209487915','2016-08-18 16:47:13'),(19514,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.017621040344238','2016-08-18 16:47:13'),(19515,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.021193027496338','2016-08-18 16:47:13'),(19516,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/print_loanReceive','0.00041103363037109','2016-08-18 16:47:13'),(19517,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/print_loanReceive','0.00049901008605957','2016-08-18 16:47:13'),(19518,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','loanReceive/print_loanReceive','0.00074291229248047','2016-08-18 16:47:20'),(19519,25,32,'192.168.1.220','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'2199\'\r\n        ','loanReceive/print_loanReceive','0.00052380561828613','2016-08-18 16:47:20'),(19520,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/print_loanReceive','0.0014839172363281','2016-08-18 16:47:20'),(19521,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.00099587440490723','2016-08-18 16:47:20'),(19522,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.0016350746154785','2016-08-18 16:47:20'),(19523,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/print_loanReceive','0.00040197372436523','2016-08-18 16:47:20'),(19524,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/print_loanReceive','0.00047922134399414','2016-08-18 16:47:20'),(19525,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/otherReceiveAdviceRpt','0.00049209594726562','2016-08-18 16:47:26'),(19526,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/otherReceiveAdviceRpt%\"','glreports/otherReceiveAdviceRpt','0.0009620189666748','2016-08-18 16:47:26'),(19527,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/otherReceiveAdviceRpt','0.00077390670776367','2016-08-18 16:47:26'),(19528,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00043010711669922','2016-08-18 16:47:26'),(19529,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00040006637573242','2016-08-18 16:47:26'),(19530,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.0003960132598877','2016-08-18 16:47:26'),(19531,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00039315223693848','2016-08-18 16:47:26'),(19532,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00039482116699219','2016-08-18 16:47:26'),(19533,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00038814544677734','2016-08-18 16:47:26'),(19534,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00039410591125488','2016-08-18 16:47:26'),(19535,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00039100646972656','2016-08-18 16:47:26'),(19536,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00039100646972656','2016-08-18 16:47:26'),(19537,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00038909912109375','2016-08-18 16:47:26'),(19538,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APSUPPAY\'\nAND `accessRight` =  1','glreports/otherReceiveAdviceRpt','0.2363440990448','2016-08-18 16:47:26'),(19539,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others.*, CONCAT(comp_receive_payment_others.formNo,\" [\",lpad(comp_receive_payment_others.serialNo,8,0),\"]\") as formNo\r\n		   FROM comp_receive_payment_others\r\n                   WHERE comp_receive_payment_others.updateAble = 0 AND comp_receive_payment_others.ID =  2202','glreports/otherReceiveAdviceRpt','0.00058507919311523','2016-08-18 16:47:26'),(19540,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others_detail.*, comp_receive_payment_others_detail.ID AS rowID,\r\n			 comp_chart_of_acct.acctName,CONCAT(substr(comp_chart_of_acct.acctCode,1,4),\"-\", substr(comp_chart_of_acct.acctCode,5,3),\"-\", substr(comp_chart_of_acct.acctCode,7,2), \" | \", comp_chart_of_acct.acctName) as acctCode\r\n				   FROM comp_receive_payment_others_detail left outer join comp_chart_of_acct on comp_receive_payment_others_detail.accountNoID = comp_chart_of_acct.ID\r\n				   WHERE comp_receive_payment_others_detail.receivePaymentOthersID =  2202','glreports/otherReceiveAdviceRpt','0.00086712837219238','2016-08-18 16:47:26'),(19541,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/otherReceiveAdviceRpt','0.00061893463134766','2016-08-18 16:47:26'),(19542,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/otherReceiveAdviceRpt','0.00055098533630371','2016-08-18 16:47:42'),(19543,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/otherReceiveAdviceRpt%\"','glreports/otherReceiveAdviceRpt','0.0010440349578857','2016-08-18 16:47:42'),(19544,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/otherReceiveAdviceRpt','0.00082683563232422','2016-08-18 16:47:42'),(19545,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00048208236694336','2016-08-18 16:47:42'),(19546,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045299530029297','2016-08-18 16:47:42'),(19547,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045204162597656','2016-08-18 16:47:42'),(19548,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044918060302734','2016-08-18 16:47:42'),(19549,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045013427734375','2016-08-18 16:47:42'),(19550,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044798851013184','2016-08-18 16:47:42'),(19551,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045084953308105','2016-08-18 16:47:42'),(19552,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045108795166016','2016-08-18 16:47:42'),(19553,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044989585876465','2016-08-18 16:47:42'),(19554,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044703483581543','2016-08-18 16:47:42'),(19555,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APSUPPAY\'\nAND `accessRight` =  1','glreports/otherReceiveAdviceRpt','0.00059294700622559','2016-08-18 16:47:42'),(19556,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others.*, CONCAT(comp_receive_payment_others.formNo,\" [\",lpad(comp_receive_payment_others.serialNo,8,0),\"]\") as formNo\r\n		   FROM comp_receive_payment_others\r\n                   WHERE comp_receive_payment_others.updateAble = 0 AND comp_receive_payment_others.ID =  2202','glreports/otherReceiveAdviceRpt','0.00058197975158691','2016-08-18 16:47:42'),(19557,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others_detail.*, comp_receive_payment_others_detail.ID AS rowID,\r\n			 comp_chart_of_acct.acctName,CONCAT(substr(comp_chart_of_acct.acctCode,1,4),\"-\", substr(comp_chart_of_acct.acctCode,5,3),\"-\", substr(comp_chart_of_acct.acctCode,7,2), \" | \", comp_chart_of_acct.acctName) as acctCode\r\n				   FROM comp_receive_payment_others_detail left outer join comp_chart_of_acct on comp_receive_payment_others_detail.accountNoID = comp_chart_of_acct.ID\r\n				   WHERE comp_receive_payment_others_detail.receivePaymentOthersID =  2202','glreports/otherReceiveAdviceRpt','0.0008699893951416','2016-08-18 16:47:42'),(19558,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/otherReceiveAdviceRpt','0.00062012672424316','2016-08-18 16:47:42'),(19559,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','loanReceive/print_loanReceive','0.00075006484985352','2016-08-18 16:47:48'),(19560,25,32,'192.168.1.220','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'2199\'\r\n        ','loanReceive/print_loanReceive','0.0005040168762207','2016-08-18 16:47:48'),(19561,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/print_loanReceive','0.0014960765838623','2016-08-18 16:47:48'),(19562,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.00093603134155273','2016-08-18 16:47:48'),(19563,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.0016319751739502','2016-08-18 16:47:48'),(19564,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/print_loanReceive','0.00042414665222168','2016-08-18 16:47:48'),(19565,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/print_loanReceive','0.00048995018005371','2016-08-18 16:47:48'),(19566,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0011191368103027','2016-08-18 16:48:45'),(19567,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00086498260498047','2016-08-18 16:48:46'),(19568,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00049018859863281','2016-08-18 16:48:46'),(19569,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004580020904541','2016-08-18 16:48:46'),(19570,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:48:46'),(19571,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 16:48:46'),(19572,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 16:48:46'),(19573,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045919418334961','2016-08-18 16:48:46'),(19574,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046300888061523','2016-08-18 16:48:46'),(19575,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:48:46'),(19576,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:48:46'),(19577,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045204162597656','2016-08-18 16:48:46'),(19578,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'24\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.067694902420044','2016-08-18 16:48:46'),(19579,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00040507316589355','2016-08-18 16:48:46'),(19580,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00047898292541504','2016-08-18 16:48:46'),(19581,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064992904663086','2016-08-18 16:48:48'),(19582,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005640983581543','2016-08-18 16:48:48'),(19583,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054192543029785','2016-08-18 16:48:48'),(19584,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053691864013672','2016-08-18 16:48:48'),(19585,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10800814628601','2016-08-18 16:48:48'),(19586,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037574052810669','2016-08-18 16:48:48'),(19587,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037780046463013','2016-08-18 16:48:48'),(19588,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037575960159302','2016-08-18 16:48:48'),(19589,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.23420310020447','2016-08-18 16:48:48'),(19590,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046205520629883','2016-08-18 16:48:48'),(19591,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00047993659973145','2016-08-18 16:48:48'),(19592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.019849061965942','2016-08-18 16:48:52'),(19593,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 16:48:52'),(19594,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 16:48:52'),(19595,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:48:52'),(19596,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:48:52'),(19597,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 16:48:52'),(19598,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 16:48:52'),(19599,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-18 16:48:52'),(19600,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:48:52'),(19601,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-18 16:48:52'),(19602,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 16:48:52'),(19603,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 16:48:52'),(19604,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063991546630859','2016-08-18 16:48:53'),(19605,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 16:48:53'),(19606,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:48:53'),(19607,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 16:48:53'),(19608,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:48:53'),(19609,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 16:48:53'),(19610,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-18 16:48:53'),(19611,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 16:48:53'),(19612,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 16:48:53'),(19613,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055480003356934','2016-08-18 16:48:53'),(19614,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 16:48:53'),(19615,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 16:48:53'),(19616,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.041418075561523','2016-08-18 16:48:54'),(19617,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'718\'\nAND `companyID` =  \'24\'','sales/print_sale','0.00043392181396484','2016-08-18 16:48:54'),(19618,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'718\'','sales/print_sale','0.0013670921325684','2016-08-18 16:48:54'),(19619,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.00057601928710938','2016-08-18 16:48:54'),(19620,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059795379638672','2016-08-18 16:48:57'),(19621,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060701370239258','2016-08-18 16:48:59'),(19622,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-18 16:48:59'),(19623,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-18 16:48:59'),(19624,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 16:48:59'),(19625,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 16:48:59'),(19626,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-18 16:48:59'),(19627,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 16:48:59'),(19628,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:48:59'),(19629,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 16:49:00'),(19630,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-18 16:49:00'),(19631,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 16:49:00'),(19632,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:49:00'),(19633,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 16:49:00'),(19634,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.25327396392822','2016-08-18 16:49:04'),(19635,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013501644134521','2016-08-18 16:49:04'),(19636,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013577938079834','2016-08-18 16:49:04'),(19637,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-18 16:49:04'),(19638,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013289451599121','2016-08-18 16:49:04'),(19639,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-18 16:49:04'),(19640,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 16:49:04'),(19641,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-18 16:49:04'),(19642,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 16:49:04'),(19643,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 16:49:04'),(19644,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001317024230957','2016-08-18 16:49:04'),(19645,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001317024230957','2016-08-18 16:49:04'),(19646,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.01845908164978','2016-08-18 16:49:06'),(19647,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00087308883666992','2016-08-18 16:49:06'),(19648,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0070772171020508','2016-08-18 16:49:06'),(19649,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0004580020904541','2016-08-18 16:49:06'),(19650,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 16:49:06'),(19651,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00082087516784668','2016-08-18 16:49:06'),(19652,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 16:49:06'),(19653,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044703483581543','2016-08-18 16:49:06'),(19654,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 16:49:06'),(19655,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045514106750488','2016-08-18 16:49:06'),(19656,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044608116149902','2016-08-18 16:49:06'),(19657,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044894218444824','2016-08-18 16:49:06'),(19658,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'24\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.13839292526245','2016-08-18 16:49:06'),(19659,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00045108795166016','2016-08-18 16:49:06'),(19660,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00049185752868652','2016-08-18 16:49:06'),(19661,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015020370483398','2016-08-18 16:49:06'),(19662,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013160705566406','2016-08-18 16:49:06'),(19663,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 16:49:06'),(19664,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013151168823242','2016-08-18 16:49:06'),(19665,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013120174407959','2016-08-18 16:49:06'),(19666,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013270378112793','2016-08-18 16:49:06'),(19667,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-18 16:49:06'),(19668,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-18 16:49:06'),(19669,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-18 16:49:06'),(19670,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 16:49:06'),(19671,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013148784637451','2016-08-18 16:49:06'),(19672,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013151168823242','2016-08-18 16:49:06'),(19673,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044140815734863','2016-08-18 16:49:08'),(19674,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004241943359375','2016-08-18 16:49:08'),(19675,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041811466217041','2016-08-18 16:49:08'),(19676,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042879581451416','2016-08-18 16:49:08'),(19677,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042049884796143','2016-08-18 16:49:08'),(19678,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004227876663208','2016-08-18 16:49:08'),(19679,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042579174041748','2016-08-18 16:49:08'),(19680,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004188060760498','2016-08-18 16:49:08'),(19681,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041909217834473','2016-08-18 16:49:08'),(19682,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042209625244141','2016-08-18 16:49:08'),(19683,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042500495910645','2016-08-18 16:49:09'),(19684,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041599273681641','2016-08-18 16:49:09'),(19685,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.00075316429138184','2016-08-18 16:49:09'),(19686,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'718\'\nAND `companyID` =  \'24\'','sales/print_sale','0.0004880428314209','2016-08-18 16:49:09'),(19687,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'718\'','sales/print_sale','0.00063586235046387','2016-08-18 16:49:09'),(19688,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.00059390068054199','2016-08-18 16:49:09'),(19689,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042049884796143','2016-08-18 16:49:10'),(19690,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041429996490479','2016-08-18 16:49:10'),(19691,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040309429168701','2016-08-18 16:49:10'),(19692,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040431022644043','2016-08-18 16:49:10'),(19693,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040299892425537','2016-08-18 16:49:10'),(19694,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041489601135254','2016-08-18 16:49:10'),(19695,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040850639343262','2016-08-18 16:49:10'),(19696,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041549205780029','2016-08-18 16:49:10'),(19697,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040719509124756','2016-08-18 16:49:10'),(19698,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040748119354248','2016-08-18 16:49:10'),(19699,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004133939743042','2016-08-18 16:49:10'),(19700,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004019021987915','2016-08-18 16:49:10'),(19701,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015659332275391','2016-08-18 16:49:15'),(19702,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040929317474365','2016-08-18 16:49:15'),(19703,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00066900253295898','2016-08-18 16:49:23'),(19704,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 16:49:23'),(19705,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 16:49:23'),(19706,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 16:49:23'),(19707,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 16:49:23'),(19708,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 16:49:23'),(19709,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 16:49:23'),(19710,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055503845214844','2016-08-18 16:49:23'),(19711,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 16:49:23'),(19712,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-18 16:49:23'),(19713,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 16:49:23'),(19714,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 16:49:23'),(19715,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043859481811523','2016-08-18 16:49:23'),(19716,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042629241943359','2016-08-18 16:49:23'),(19717,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042431354522705','2016-08-18 16:49:24'),(19718,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042431354522705','2016-08-18 16:49:24'),(19719,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042531490325928','2016-08-18 16:49:24'),(19720,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042879581451416','2016-08-18 16:49:24'),(19721,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042779445648193','2016-08-18 16:49:24'),(19722,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004349946975708','2016-08-18 16:49:24'),(19723,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042760372161865','2016-08-18 16:49:24'),(19724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004310131072998','2016-08-18 16:49:24'),(19725,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042839050292969','2016-08-18 16:49:24'),(19726,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042579174041748','2016-08-18 16:49:24'),(19727,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.14269995689392','2016-08-18 17:05:37'),(19728,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0045750141143799','2016-08-18 17:05:37'),(19729,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.020137071609497','2016-08-18 17:05:37'),(19730,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.019150972366333','2016-08-18 17:05:37'),(19731,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0013461112976074','2016-08-18 17:05:37'),(19732,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.036702156066895','2016-08-18 17:05:43'),(19733,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013120174407959','2016-08-18 17:05:43'),(19734,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012669563293457','2016-08-18 17:05:43'),(19735,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012669563293457','2016-08-18 17:05:43'),(19736,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.028618097305298','2016-08-18 17:05:43'),(19737,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042915344238281','2016-08-18 17:05:43'),(19738,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048184394836426','2016-08-18 17:05:43'),(19739,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00068807601928711','2016-08-18 17:05:47'),(19740,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00065708160400391','2016-08-18 17:05:47'),(19741,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054478645324707','2016-08-18 17:05:47'),(19742,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053787231445312','2016-08-18 17:05:47'),(19743,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.093379020690918','2016-08-18 17:05:47'),(19744,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.038497924804688','2016-08-18 17:05:47'),(19745,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.038305044174194','2016-08-18 17:05:47'),(19746,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038428068161011','2016-08-18 17:05:47'),(19747,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.29526591300964','2016-08-18 17:05:47'),(19748,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0011858940124512','2016-08-18 17:05:47'),(19749,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0011589527130127','2016-08-18 17:05:47'),(19750,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0022158622741699','2016-08-18 17:05:49'),(19751,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00055909156799316','2016-08-18 17:05:49'),(19752,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00054097175598145','2016-08-18 17:05:49'),(19753,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00056099891662598','2016-08-18 17:05:49'),(19754,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00076389312744141','2016-08-18 17:05:49'),(19755,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041794776916504','2016-08-18 17:05:49'),(19756,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00052309036254883','2016-08-18 17:05:49'),(19757,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.033607006072998','2016-08-18 17:06:07'),(19758,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.002514123916626','2016-08-18 17:06:07'),(19759,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2202\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00043392181396484','2016-08-18 17:06:07'),(19760,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'2202\'','sales/edit_sale','0.001331090927124','2016-08-18 17:06:07'),(19761,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'2202\'','sales/edit_sale','0.0020639896392822','2016-08-18 17:06:07'),(19762,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040483474731445','2016-08-18 17:06:07'),(19763,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050783157348633','2016-08-18 17:06:07'),(19764,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00065183639526367','2016-08-18 17:06:23'),(19765,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00055789947509766','2016-08-18 17:06:23'),(19766,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00054287910461426','2016-08-18 17:06:23'),(19767,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053596496582031','2016-08-18 17:06:23'),(19768,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00076699256896973','2016-08-18 17:06:23'),(19769,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041484832763672','2016-08-18 17:06:23'),(19770,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051283836364746','2016-08-18 17:06:23'),(19771,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011639595031738','2016-08-18 17:06:48'),(19772,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.0010020732879639','2016-08-18 17:06:48'),(19773,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2202\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00044798851013184','2016-08-18 17:06:48'),(19774,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'2202\'','sales/edit_sale','0.00060296058654785','2016-08-18 17:06:48'),(19775,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'2202\'','sales/edit_sale','0.00047087669372559','2016-08-18 17:06:48'),(19776,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00040197372436523','2016-08-18 17:06:48'),(19777,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050592422485352','2016-08-18 17:06:48'),(19778,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00062990188598633','2016-08-18 17:07:15'),(19779,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00054621696472168','2016-08-18 17:07:15'),(19780,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00054001808166504','2016-08-18 17:07:15'),(19781,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053310394287109','2016-08-18 17:07:15'),(19782,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00072288513183594','2016-08-18 17:07:15'),(19783,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0004119873046875','2016-08-18 17:07:15'),(19784,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051593780517578','2016-08-18 17:07:15'),(19785,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011529922485352','2016-08-18 17:07:27'),(19786,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.00099396705627441','2016-08-18 17:07:27'),(19787,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2192\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00043201446533203','2016-08-18 17:07:27'),(19788,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'2192\'','sales/edit_sale','0.00060892105102539','2016-08-18 17:07:27'),(19789,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'2192\'','sales/edit_sale','0.0013840198516846','2016-08-18 17:07:27'),(19790,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00042009353637695','2016-08-18 17:07:27'),(19791,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00051498413085938','2016-08-18 17:07:27'),(19792,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00065207481384277','2016-08-18 17:08:18'),(19793,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00055909156799316','2016-08-18 17:08:18'),(19794,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00054287910461426','2016-08-18 17:08:18'),(19795,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053286552429199','2016-08-18 17:08:18'),(19796,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00076699256896973','2016-08-18 17:08:18'),(19797,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041294097900391','2016-08-18 17:08:18'),(19798,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051498413085938','2016-08-18 17:08:18'),(19799,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0011279582977295','2016-08-18 17:08:19'),(19800,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.0010011196136475','2016-08-18 17:08:19'),(19801,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2190\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.0004279613494873','2016-08-18 17:08:19'),(19802,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'2190\'','sales/edit_sale','0.00060796737670898','2016-08-18 17:08:19'),(19803,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'2190\'','sales/edit_sale','0.010887145996094','2016-08-18 17:08:19'),(19804,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00039887428283691','2016-08-18 17:08:19'),(19805,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050592422485352','2016-08-18 17:08:19'),(19806,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0016460418701172','2016-08-18 17:08:53'),(19807,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00099420547485352','2016-08-18 17:08:53'),(19808,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016689300537109','2016-08-18 17:08:53'),(19809,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041103363037109','2016-08-18 17:08:53'),(19810,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051093101501465','2016-08-18 17:08:53'),(19811,24,31,'192.168.1.204','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'24\'','loanReceive/index','0.0018389225006104','2016-08-18 17:08:55'),(19812,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00098609924316406','2016-08-18 17:08:55'),(19813,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016229152679443','2016-08-18 17:08:55'),(19814,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00040793418884277','2016-08-18 17:08:55'),(19815,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.0005040168762207','2016-08-18 17:08:55'),(19816,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.12650394439697','2016-08-18 17:09:15'),(19817,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0013089179992676','2016-08-18 17:09:15'),(19818,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001255989074707','2016-08-18 17:09:15'),(19819,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012519359588623','2016-08-18 17:09:15'),(19820,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.020545959472656','2016-08-18 17:09:15'),(19821,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00044393539428711','2016-08-18 17:09:15'),(19822,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0004880428314209','2016-08-18 17:09:15'),(19823,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.022423982620239','2016-08-18 17:15:55'),(19824,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0010089874267578','2016-08-18 17:15:55'),(19825,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016779899597168','2016-08-18 17:15:55'),(19826,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041985511779785','2016-08-18 17:15:55'),(19827,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00052189826965332','2016-08-18 17:15:55'),(19828,24,31,'192.168.1.204','update','UPDATE `tbl_usermaster` SET `imageFile` = \'31-1471511802-abuyo.JPG\' WHERE `fldid` =  \'31\'','userProfile/userMaster','0.023060083389282','2016-08-18 17:16:42'),(19829,24,31,'192.168.1.204','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'superabu92@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'superabu92@gmail.com\', `position` = 0, `email` = \'superabu92@gmail.com\', `phone_off` = 0, `Phone_mobile` = \'0132897186\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'31-1471511802-abuyo.JPG\', `modified_dt` = \'2016-08-18 11-16-30\', `modified_user` = 0 WHERE `fldid` =  \'31\'','userProfile/userMaster','0.021994113922119','2016-08-18 17:16:42'),(19830,24,31,'192.168.1.204','update','UPDATE `tbl_usermaster` SET `imageFile` = \'31-1471511802-abuyo.JPG\' WHERE `fldid` =  \'31\'','userProfile/userMaster','0.0003199577331543','2016-08-18 17:16:42'),(19831,25,32,'192.168.1.220','update','UPDATE `tbl_usermaster` SET `imageFile` = \'32-1471511843-Turban.jpg\' WHERE `fldid` =  \'32\'','userProfile/userMaster','0.0012660026550293','2016-08-18 17:17:24'),(19832,25,32,'192.168.1.220','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'farouqtakwan@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'farouqtakwan@gmail.com\', `position` = 0, `email` = \'\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'32-1471511843-Turban.jpg\', `modified_dt` = \'2016-08-18 11-17-08\', `modified_user` = 0 WHERE `fldid` =  \'32\'','userProfile/userMaster','0.020304918289185','2016-08-18 17:17:24'),(19833,25,32,'192.168.1.220','update','UPDATE `tbl_usermaster` SET `imageFile` = \'32-1471511843-Turban.jpg\' WHERE `fldid` =  \'32\'','userProfile/userMaster','0.00032711029052734','2016-08-18 17:17:24'),(19834,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0015420913696289','2016-08-18 17:19:54'),(19835,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016329288482666','2016-08-18 17:19:59'),(19836,25,32,'192.168.1.220','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-18\', \'156\', \'200\', \'LR\', \'ceti haram\', \'25\', 3)','loanReceive/save_new_loan','0.11480617523193','2016-08-18 17:21:16'),(19837,25,32,'192.168.1.220','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2203, 1, \'33077\', \'200\', \'pinjam dari ceti\')','loanReceive/save_new_loan','0.016751050949097','2016-08-18 17:21:16'),(19838,25,32,'192.168.1.220','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'335\'','loanReceive/save_new_loan','0.038125038146973','2016-08-18 17:21:16'),(19839,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000020\' WHERE `ID` =  2203','loanReceive/save_new_loan','0.016763925552368','2016-08-18 17:21:16'),(19840,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'25\', \'AR20160800000020\', \'LR[00000018]\', \'Pinjaman [ LR[00000018] ]\', \'\', \'3\', \'2016-08-18\', \'2016\', \'08\', 200, 200, \'User\')','loanReceive/save_new_loan','0.012109994888306','2016-08-18 17:21:16'),(19841,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'25\', \'AR20160800000020\', 1, \'pinjam dari ceti\', \'33077\', \'ceti haram\', 200, \'1\', \'1\', \'200\', \'08\', \'2016\', \'1\', \'LR[00000018]\', \'0\', \'User\')','loanReceive/save_new_loan','0.024832963943481','2016-08-18 17:21:17'),(19842,25,32,'192.168.1.220','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'25\', 2, \'AR20160800000020\', \'pinjam dari ceti\', \'33071\', \'ceti haram\', 200, \'1\', \'1\', \'200\', \'08\', \'2016\', \'LR[00000018]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.015916109085083','2016-08-18 17:21:17'),(19843,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'25\' AND `journalID` =  \'AR20160800000020\'','loanReceive/save_new_loan','0.016688823699951','2016-08-18 17:21:17'),(19844,25,32,'192.168.1.220','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2203','loanReceive/save_new_loan','0.016189098358154','2016-08-18 17:21:17'),(19845,25,32,'192.168.1.220','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11180','loanReceive/save_new_loan','0.025087833404541','2016-08-18 17:21:17'),(19846,25,32,'192.168.1.220','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'25\' AND `journalID` =  \'AR20160800000020\'','loanReceive/save_new_loan','0.024447202682495','2016-08-18 17:21:17'),(19847,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33077\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022500038146973','2016-08-18 17:21:17'),(19848,25,32,'192.168.1.220','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'25\' AND `a`.`acctID` =  \'33071\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015010833740234','2016-08-18 17:21:17'),(19849,25,32,'192.168.1.220','update','UPDATE `company` SET `uploadLogo` = \'25.JPG\' WHERE `ID` =  \'25\'','setup/companySetup','0.00043702125549316','2016-08-18 17:23:42'),(19850,25,32,'192.168.1.220','update','UPDATE `company` SET `companyName` = \'kedai cermin mata\', `line1` = \'no 54\', `line2` = \'jalan cermin\', `line3` = \'kawasan industri cermin\', `city` = \'bandar mata\', `companyPostCode` = \'85000\', `companyStateID` = \'1930\', `countryID` = \'458\', `parlimenID` = \'192\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-08-16\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'25.JPG\', `updatedBy` = 0 WHERE `ID` =  \'25\'','setup/companySetup','0.00037813186645508','2016-08-18 17:23:42'),(19851,25,32,'192.168.1.220','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'kedai cermin mata\', `line1` = \'no 54\', `line2` = \'jalan cermin\', `line3` = \'kawasan industri cermin\', `city` = \'bandar mata\', `companyPostCode` = \'85000\', `companyStateID` = \'1930\', `countryID` = \'458\', `parlimenID` = \'192\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-08-16\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'25.JPG\', `updatedBy` = 0 WHERE `ID` =  \'25\'','setup/companySetup','0.26270508766174','2016-08-18 17:23:42'),(19852,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0006098747253418','2016-08-18 17:27:53'),(19853,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055694580078125','2016-08-18 17:27:53'),(19854,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054502487182617','2016-08-18 17:27:53'),(19855,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053715705871582','2016-08-18 17:27:53'),(19856,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.063068151473999','2016-08-18 17:27:53'),(19857,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037607908248901','2016-08-18 17:27:53'),(19858,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037621021270752','2016-08-18 17:27:53'),(19859,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037779092788696','2016-08-18 17:27:53'),(19860,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.12701392173767','2016-08-18 17:27:53'),(19861,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00050687789916992','2016-08-18 17:27:53'),(19862,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052094459533691','2016-08-18 17:27:53'),(19863,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0022010803222656','2016-08-18 17:27:56'),(19864,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:27:56'),(19865,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:27:56'),(19866,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00057101249694824','2016-08-18 17:27:56'),(19867,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:27:56'),(19868,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 17:27:56'),(19869,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 17:27:56'),(19870,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-18 17:27:56'),(19871,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:27:56'),(19872,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:27:56'),(19873,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:27:56'),(19874,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:27:56'),(19875,24,31,'192.168.1.204','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'24\'\nORDER BY `description`','userProfile/userMaster','0.0013678073883057','2016-08-18 17:27:57'),(19876,24,31,'192.168.1.204','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'24\'\nORDER BY `description`','userProfile/userMaster','0.0096490383148193','2016-08-18 17:27:57'),(19877,24,31,'192.168.1.204','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'31\'\nLIMIT 1','userProfile/userMaster','0.0013930797576904','2016-08-18 17:27:57'),(19878,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0012760162353516','2016-08-18 17:27:57'),(19879,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.0011630058288574','2016-08-18 17:27:57'),(19880,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.0012669563293457','2016-08-18 17:27:57'),(19881,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00060105323791504','2016-08-18 17:28:03'),(19882,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055480003356934','2016-08-18 17:28:03'),(19883,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054383277893066','2016-08-18 17:28:03'),(19884,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005340576171875','2016-08-18 17:28:03'),(19885,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.050527811050415','2016-08-18 17:28:03'),(19886,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037714958190918','2016-08-18 17:28:03'),(19887,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.03748607635498','2016-08-18 17:28:03'),(19888,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.03757905960083','2016-08-18 17:28:03'),(19889,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.14710998535156','2016-08-18 17:28:03'),(19890,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0004270076751709','2016-08-18 17:28:03'),(19891,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00045585632324219','2016-08-18 17:28:03'),(19892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0021049976348877','2016-08-18 17:28:07'),(19893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-18 17:28:07'),(19894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-18 17:28:07'),(19895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:07'),(19896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:28:07'),(19897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:28:07'),(19898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 17:28:07'),(19899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-18 17:28:07'),(19900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:28:07'),(19901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 17:28:07'),(19902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:28:07'),(19903,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:07'),(19904,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.0014140605926514','2016-08-18 17:28:07'),(19905,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.0012128353118896','2016-08-18 17:28:07'),(19906,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.0012001991271973','2016-08-18 17:28:07'),(19907,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0010759830474854','2016-08-18 17:28:07'),(19908,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.0083789825439453','2016-08-18 17:28:07'),(19909,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.0013158321380615','2016-08-18 17:28:07'),(19910,24,31,'192.168.1.204','update','UPDATE `tbl_usermaster` SET `imageFile` = \'31-1471512489-abuyo.JPG\' WHERE `fldid` =  \'31\'','userProfile/userMaster','0.017918825149536','2016-08-18 17:28:09'),(19911,24,31,'192.168.1.204','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'superabu92@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'superabu92@gmail.com\', `position` = 0, `email` = \'superabu92@gmail.com\', `phone_off` = 0, `Phone_mobile` = \'0132897186\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'31-1471512489-abuyo.JPG\', `modified_dt` = \'2016-08-18 11-27-57\', `modified_user` = 0 WHERE `fldid` =  \'31\'','userProfile/userMaster','0.038908004760742','2016-08-18 17:28:09'),(19912,24,31,'192.168.1.204','update','UPDATE `tbl_usermaster` SET `imageFile` = \'31-1471512489-abuyo.JPG\' WHERE `fldid` =  \'31\'','userProfile/userMaster','0.00032806396484375','2016-08-18 17:28:09'),(19913,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.000640869140625','2016-08-18 17:28:11'),(19914,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00056195259094238','2016-08-18 17:28:11'),(19915,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00054407119750977','2016-08-18 17:28:11'),(19916,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053620338439941','2016-08-18 17:28:11'),(19917,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.050539016723633','2016-08-18 17:28:11'),(19918,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037973880767822','2016-08-18 17:28:11'),(19919,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037685871124268','2016-08-18 17:28:11'),(19920,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.03789210319519','2016-08-18 17:28:11'),(19921,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.12077808380127','2016-08-18 17:28:11'),(19922,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047516822814941','2016-08-18 17:28:11'),(19923,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052285194396973','2016-08-18 17:28:11'),(19924,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0021719932556152','2016-08-18 17:28:15'),(19925,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 17:28:15'),(19926,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 17:28:15'),(19927,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:28:15'),(19928,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:15'),(19929,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-18 17:28:15'),(19930,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 17:28:15'),(19931,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-18 17:28:15'),(19932,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:15'),(19933,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:28:15'),(19934,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 17:28:15'),(19935,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00057816505432129','2016-08-18 17:28:15'),(19936,25,32,'192.168.1.220','update','UPDATE `tbl_usermaster` SET `imageFile` = \'32-1471512496-Turban.jpg\' WHERE `fldid` =  \'32\'','userProfile/userMaster','0.0012068748474121','2016-08-18 17:28:16'),(19937,25,32,'192.168.1.220','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'farouqtakwan@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'farouqtakwan@gmail.com\', `position` = 0, `email` = \'\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'32-1471512496-Turban.jpg\', `modified_dt` = \'2016-08-18 11-28-07\', `modified_user` = 0 WHERE `fldid` =  \'32\'','userProfile/userMaster','0.036137104034424','2016-08-18 17:28:16'),(19938,25,32,'192.168.1.220','update','UPDATE `tbl_usermaster` SET `imageFile` = \'32-1471512496-Turban.jpg\' WHERE `fldid` =  \'32\'','userProfile/userMaster','0.00032591819763184','2016-08-18 17:28:16'),(19939,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00060701370239258','2016-08-18 17:28:17'),(19940,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055623054504395','2016-08-18 17:28:17'),(19941,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054383277893066','2016-08-18 17:28:17'),(19942,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054788589477539','2016-08-18 17:28:17'),(19943,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.051280975341797','2016-08-18 17:28:17'),(19944,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037805080413818','2016-08-18 17:28:17'),(19945,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0006251335144043','2016-08-18 17:28:17'),(19946,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037720918655396','2016-08-18 17:28:17'),(19947,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00057101249694824','2016-08-18 17:28:17'),(19948,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038163900375366','2016-08-18 17:28:17'),(19949,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-18 17:28:17'),(19950,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.17197108268738','2016-08-18 17:28:17'),(19951,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055909156799316','2016-08-18 17:28:18'),(19952,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0012869834899902','2016-08-18 17:28:18'),(19953,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.03930401802063','2016-08-18 17:28:18'),(19954,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0011780261993408','2016-08-18 17:28:18'),(19955,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.038831949234009','2016-08-18 17:28:18'),(19956,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037925004959106','2016-08-18 17:28:18'),(19957,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038255929946899','2016-08-18 17:28:18'),(19958,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.050611972808838','2016-08-18 17:28:18'),(19959,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00034880638122559','2016-08-18 17:28:18'),(19960,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00040292739868164','2016-08-18 17:28:18'),(19961,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0022530555725098','2016-08-18 17:28:21'),(19962,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 17:28:21'),(19963,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 17:28:21'),(19964,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:21'),(19965,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:28:21'),(19966,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-18 17:28:21'),(19967,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 17:28:21'),(19968,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056219100952148','2016-08-18 17:28:21'),(19969,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:28:21'),(19970,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 17:28:21'),(19971,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 17:28:21'),(19972,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:28:21'),(19973,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00060415267944336','2016-08-18 17:28:21'),(19974,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 17:28:21'),(19975,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:28:21'),(19976,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:28:21'),(19977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:21'),(19978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:28:21'),(19979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:28:21'),(19980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056290626525879','2016-08-18 17:28:21'),(19981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:28:21'),(19982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 17:28:21'),(19983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 17:28:21'),(19984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:28:21'),(19985,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00063586235046387','2016-08-18 17:28:22'),(19986,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:22'),(19987,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 17:28:22'),(19988,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053977966308594','2016-08-18 17:28:22'),(19989,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-18 17:28:22'),(19990,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 17:28:22'),(19991,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:28:22'),(19992,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-18 17:28:22'),(19993,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 17:28:22'),(19994,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 17:28:22'),(19995,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 17:28:22'),(19996,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:28:22'),(19997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062108039855957','2016-08-18 17:28:22'),(19998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:22'),(19999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:28:22'),(20000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:28:22'),(20001,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:28:23'),(20002,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 17:28:23'),(20003,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:28:23'),(20004,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-18 17:28:23'),(20005,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:28:23'),(20006,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:28:23'),(20007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 17:28:23'),(20008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:28:23'),(20009,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00058507919311523','2016-08-18 17:28:25'),(20010,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059294700622559','2016-08-18 17:28:27'),(20011,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-18 17:28:27'),(20012,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 17:28:27'),(20013,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 17:28:27'),(20014,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:28:27'),(20015,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:27'),(20016,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:28:27'),(20017,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:28:27'),(20018,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 17:28:27'),(20019,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00097203254699707','2016-08-18 17:28:27'),(20020,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 17:28:27'),(20021,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 17:28:27'),(20022,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-18 17:28:27'),(20023,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 17:28:27'),(20024,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:27'),(20025,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 17:28:27'),(20026,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 17:28:27'),(20027,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 17:28:27'),(20028,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 17:28:27'),(20029,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 17:28:27'),(20030,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 17:28:27'),(20031,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:28:27'),(20032,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 17:28:27'),(20033,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:27'),(20034,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:27'),(20035,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:27'),(20036,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-18 17:28:27'),(20037,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 17:28:27'),(20038,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 17:28:27'),(20039,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:27'),(20040,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 17:28:27'),(20041,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-18 17:28:27'),(20042,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-18 17:28:27'),(20043,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:28:27'),(20044,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:28:27'),(20045,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-18 17:28:27'),(20046,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:27'),(20047,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.092335939407349','2016-08-18 17:28:31'),(20048,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013821125030518','2016-08-18 17:28:31'),(20049,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-18 17:28:31'),(20050,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-18 17:28:31'),(20051,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013360977172852','2016-08-18 17:28:31'),(20052,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-18 17:28:31'),(20053,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 17:28:31'),(20054,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-18 17:28:31'),(20055,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 17:28:31'),(20056,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013320446014404','2016-08-18 17:28:31'),(20057,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013232231140137','2016-08-18 17:28:31'),(20058,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-18 17:28:31'),(20059,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015439987182617','2016-08-18 17:28:33'),(20060,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001359224319458','2016-08-18 17:28:33'),(20061,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-18 17:28:33'),(20062,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-18 17:28:33'),(20063,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-18 17:28:33'),(20064,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-18 17:28:33'),(20065,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013260841369629','2016-08-18 17:28:33'),(20066,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 17:28:33'),(20067,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013518333435059','2016-08-18 17:28:33'),(20068,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-18 17:28:33'),(20069,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013251304626465','2016-08-18 17:28:33'),(20070,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013570785522461','2016-08-18 17:28:33'),(20071,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0046079158782959','2016-08-18 17:28:35'),(20072,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040459632873535','2016-08-18 17:28:35'),(20073,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040271282196045','2016-08-18 17:28:35'),(20074,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040779113769531','2016-08-18 17:28:35'),(20075,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-18 17:28:35'),(20076,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040087699890137','2016-08-18 17:28:35'),(20077,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040068626403809','2016-08-18 17:28:35'),(20078,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040171146392822','2016-08-18 17:28:35'),(20079,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040130615234375','2016-08-18 17:28:35'),(20080,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040550231933594','2016-08-18 17:28:35'),(20081,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040340423583984','2016-08-18 17:28:35'),(20082,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040040016174316','2016-08-18 17:28:35'),(20083,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00419020652771','2016-08-18 17:28:37'),(20084,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040028095245361','2016-08-18 17:28:37'),(20085,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-18 17:28:37'),(20086,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040268898010254','2016-08-18 17:28:37'),(20087,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040280818939209','2016-08-18 17:28:37'),(20088,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004004955291748','2016-08-18 17:28:37'),(20089,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004019021987915','2016-08-18 17:28:37'),(20090,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040519237518311','2016-08-18 17:28:37'),(20091,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040831565856934','2016-08-18 17:28:37'),(20092,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040950775146484','2016-08-18 17:28:37'),(20093,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041358470916748','2016-08-18 17:28:37'),(20094,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040040016174316','2016-08-18 17:28:37'),(20095,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00062203407287598','2016-08-18 17:28:39'),(20096,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005488395690918','2016-08-18 17:28:39'),(20097,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053906440734863','2016-08-18 17:28:39'),(20098,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-18 17:28:39'),(20099,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.12145781517029','2016-08-18 17:28:39'),(20100,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037739038467407','2016-08-18 17:28:39'),(20101,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037644147872925','2016-08-18 17:28:39'),(20102,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038055896759033','2016-08-18 17:28:39'),(20103,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.20288610458374','2016-08-18 17:28:39'),(20104,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00044989585876465','2016-08-18 17:28:39'),(20105,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00047087669372559','2016-08-18 17:28:39'),(20106,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0083160400390625','2016-08-18 17:28:40'),(20107,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.004284143447876','2016-08-18 17:28:40'),(20108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.032824993133545','2016-08-18 17:28:43'),(20109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:43'),(20110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:28:43'),(20111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 17:28:43'),(20112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:28:43'),(20113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:28:43'),(20114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:28:43'),(20115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-18 17:28:43'),(20116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:43'),(20117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:28:43'),(20118,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 17:28:43'),(20119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:28:43'),(20120,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00067901611328125','2016-08-18 17:28:44'),(20121,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:28:44'),(20122,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-18 17:28:44'),(20123,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:28:44'),(20124,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-18 17:28:44'),(20125,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 17:28:44'),(20126,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:28:44'),(20127,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00057697296142578','2016-08-18 17:28:44'),(20128,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 17:28:44'),(20129,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:28:44'),(20130,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 17:28:44'),(20131,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-18 17:28:44'),(20132,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045008659362793','2016-08-18 17:28:44'),(20133,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004295825958252','2016-08-18 17:28:44'),(20134,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043580532073975','2016-08-18 17:28:44'),(20135,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042870044708252','2016-08-18 17:28:44'),(20136,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042440891265869','2016-08-18 17:28:44'),(20137,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043261051177979','2016-08-18 17:28:45'),(20138,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042450428009033','2016-08-18 17:28:45'),(20139,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042479038238525','2016-08-18 17:28:45'),(20140,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043389797210693','2016-08-18 17:28:45'),(20141,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004249095916748','2016-08-18 17:28:45'),(20142,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042619705200195','2016-08-18 17:28:45'),(20143,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042481422424316','2016-08-18 17:28:45'),(20144,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063514709472656','2016-08-18 17:28:45'),(20145,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-18 17:28:45'),(20146,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:28:45'),(20147,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053977966308594','2016-08-18 17:28:45'),(20148,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:28:45'),(20149,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:28:45'),(20150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:28:45'),(20151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-18 17:28:45'),(20152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:45'),(20153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:46'),(20154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:28:46'),(20155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:28:46'),(20156,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064301490783691','2016-08-18 17:28:47'),(20157,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055098533630371','2016-08-18 17:28:47'),(20158,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053691864013672','2016-08-18 17:28:47'),(20159,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-18 17:28:47'),(20160,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.17126798629761','2016-08-18 17:28:47'),(20161,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037956953048706','2016-08-18 17:28:47'),(20162,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037676095962524','2016-08-18 17:28:47'),(20163,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037727832794189','2016-08-18 17:28:47'),(20164,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.16564202308655','2016-08-18 17:28:48'),(20165,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00049209594726562','2016-08-18 17:28:48'),(20166,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053310394287109','2016-08-18 17:28:48'),(20167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.011133193969727','2016-08-18 17:28:51'),(20168,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:28:51'),(20169,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:28:51'),(20170,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:28:51'),(20171,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:28:51'),(20172,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:28:51'),(20173,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 17:28:51'),(20174,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-18 17:28:51'),(20175,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:28:51'),(20176,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 17:28:51'),(20177,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:28:51'),(20178,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:28:51'),(20179,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00070881843566895','2016-08-18 17:28:52'),(20180,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056910514831543','2016-08-18 17:28:52'),(20181,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:28:52'),(20182,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00061893463134766','2016-08-18 17:28:52'),(20183,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 17:28:52'),(20184,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:28:52'),(20185,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 17:28:52'),(20186,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-18 17:28:52'),(20187,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:28:52'),(20188,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-18 17:28:52'),(20189,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:28:52'),(20190,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:28:52'),(20191,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060319900512695','2016-08-18 17:28:55'),(20192,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.026380062103271','2016-08-18 17:28:55'),(20193,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00082492828369141','2016-08-18 17:28:55'),(20194,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0073680877685547','2016-08-18 17:28:55'),(20195,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00040388107299805','2016-08-18 17:28:56'),(20196,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039291381835938','2016-08-18 17:28:56'),(20197,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039482116699219','2016-08-18 17:28:56'),(20198,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039100646972656','2016-08-18 17:28:56'),(20199,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039005279541016','2016-08-18 17:28:56'),(20200,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039482116699219','2016-08-18 17:28:56'),(20201,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.0003969669342041','2016-08-18 17:28:56'),(20202,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00038695335388184','2016-08-18 17:28:56'),(20203,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00039100646972656','2016-08-18 17:28:56'),(20204,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'25\'\nAND  `searchKey`  LIKE \'%ceti%\'\nORDER BY `transDate`','setup/search','0.1618549823761','2016-08-18 17:28:56'),(20205,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00046205520629883','2016-08-18 17:28:56'),(20206,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00049185752868652','2016-08-18 17:28:56'),(20207,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/otherReceiveAdviceRpt','0.00050806999206543','2016-08-18 17:29:09'),(20208,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/otherReceiveAdviceRpt%\"','glreports/otherReceiveAdviceRpt','0.0010001659393311','2016-08-18 17:29:09'),(20209,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/otherReceiveAdviceRpt','0.00081205368041992','2016-08-18 17:29:09'),(20210,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00049710273742676','2016-08-18 17:29:09'),(20211,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045299530029297','2016-08-18 17:29:09'),(20212,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045204162597656','2016-08-18 17:29:09'),(20213,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044608116149902','2016-08-18 17:29:09'),(20214,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044989585876465','2016-08-18 17:29:09'),(20215,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044703483581543','2016-08-18 17:29:09'),(20216,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045204162597656','2016-08-18 17:29:10'),(20217,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044703483581543','2016-08-18 17:29:10'),(20218,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00087809562683105','2016-08-18 17:29:10'),(20219,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044608116149902','2016-08-18 17:29:10'),(20220,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APSUPPAY\'\nAND `accessRight` =  1','glreports/otherReceiveAdviceRpt','0.013772964477539','2016-08-18 17:29:10'),(20221,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others.*, CONCAT(comp_receive_payment_others.formNo,\" [\",lpad(comp_receive_payment_others.serialNo,8,0),\"]\") as formNo\r\n		   FROM comp_receive_payment_others\r\n                   WHERE comp_receive_payment_others.updateAble = 0 AND comp_receive_payment_others.ID =  2202','glreports/otherReceiveAdviceRpt','0.00060105323791504','2016-08-18 17:29:10'),(20222,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others_detail.*, comp_receive_payment_others_detail.ID AS rowID,\r\n			 comp_chart_of_acct.acctName,CONCAT(substr(comp_chart_of_acct.acctCode,1,4),\"-\", substr(comp_chart_of_acct.acctCode,5,3),\"-\", substr(comp_chart_of_acct.acctCode,7,2), \" | \", comp_chart_of_acct.acctName) as acctCode\r\n				   FROM comp_receive_payment_others_detail left outer join comp_chart_of_acct on comp_receive_payment_others_detail.accountNoID = comp_chart_of_acct.ID\r\n				   WHERE comp_receive_payment_others_detail.receivePaymentOthersID =  2202','glreports/otherReceiveAdviceRpt','0.015206098556519','2016-08-18 17:29:10'),(20223,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/otherReceiveAdviceRpt','0.038239002227783','2016-08-18 17:29:10'),(20224,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','loanReceive/print_loanReceive','0.0007481575012207','2016-08-18 17:29:15'),(20225,25,32,'192.168.1.220','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'2202\'\r\n        ','loanReceive/print_loanReceive','0.016351938247681','2016-08-18 17:29:15'),(20226,25,32,'192.168.1.220','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'2202\'\r\n        ','loanReceive/print_loanReceive','0.00073814392089844','2016-08-18 17:29:15'),(20227,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','loanReceive/print_loanReceive','0.00057315826416016','2016-08-18 17:29:15'),(20228,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/otherReceiveAdviceRpt','0.00052285194396973','2016-08-18 17:29:39'),(20229,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/otherReceiveAdviceRpt%\"','glreports/otherReceiveAdviceRpt','0.0010080337524414','2016-08-18 17:29:39'),(20230,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/otherReceiveAdviceRpt','0.000823974609375','2016-08-18 17:29:39'),(20231,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00047993659973145','2016-08-18 17:29:39'),(20232,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045108795166016','2016-08-18 17:29:39'),(20233,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044703483581543','2016-08-18 17:29:39'),(20234,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044488906860352','2016-08-18 17:29:39'),(20235,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044918060302734','2016-08-18 17:29:39'),(20236,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044608116149902','2016-08-18 17:29:39'),(20237,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045013427734375','2016-08-18 17:29:39'),(20238,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044703483581543','2016-08-18 17:29:39'),(20239,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00044989585876465','2016-08-18 17:29:39'),(20240,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/otherReceiveAdviceRpt','0.00045514106750488','2016-08-18 17:29:40'),(20241,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APSUPPAY\'\nAND `accessRight` =  1','glreports/otherReceiveAdviceRpt','0.00058889389038086','2016-08-18 17:29:40'),(20242,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others.*, CONCAT(comp_receive_payment_others.formNo,\" [\",lpad(comp_receive_payment_others.serialNo,8,0),\"]\") as formNo\r\n		   FROM comp_receive_payment_others\r\n                   WHERE comp_receive_payment_others.updateAble = 0 AND comp_receive_payment_others.ID =  2202','glreports/otherReceiveAdviceRpt','0.00057697296142578','2016-08-18 17:29:40'),(20243,25,32,'192.168.1.220','others','SELECT comp_receive_payment_others_detail.*, comp_receive_payment_others_detail.ID AS rowID,\r\n			 comp_chart_of_acct.acctName,CONCAT(substr(comp_chart_of_acct.acctCode,1,4),\"-\", substr(comp_chart_of_acct.acctCode,5,3),\"-\", substr(comp_chart_of_acct.acctCode,7,2), \" | \", comp_chart_of_acct.acctName) as acctCode\r\n				   FROM comp_receive_payment_others_detail left outer join comp_chart_of_acct on comp_receive_payment_others_detail.accountNoID = comp_chart_of_acct.ID\r\n				   WHERE comp_receive_payment_others_detail.receivePaymentOthersID =  2202','glreports/otherReceiveAdviceRpt','0.00087594985961914','2016-08-18 17:29:40'),(20244,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','glreports/otherReceiveAdviceRpt','0.00061798095703125','2016-08-18 17:29:40'),(20245,24,31,'192.168.1.204','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%setup/search%\"','setup/search','0.0010950565338135','2016-08-18 17:29:43'),(20246,24,31,'192.168.1.204','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','setup/search','0.00091004371643066','2016-08-18 17:29:43'),(20247,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00049090385437012','2016-08-18 17:29:43'),(20248,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00046205520629883','2016-08-18 17:29:43'),(20249,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00044798851013184','2016-08-18 17:29:43'),(20250,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045394897460938','2016-08-18 17:29:43'),(20251,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045299530029297','2016-08-18 17:29:43'),(20252,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 17:29:43'),(20253,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045108795166016','2016-08-18 17:29:43'),(20254,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045514106750488','2016-08-18 17:29:43'),(20255,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00045013427734375','2016-08-18 17:29:43'),(20256,24,31,'192.168.1.204','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'24\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','setup/search','0.00050687789916992','2016-08-18 17:29:43'),(20257,24,31,'192.168.1.204','others','SELECT *\nFROM (`view_search`)\nWHERE `companyID` =  \'24\'\nAND  `searchKey`  LIKE \'%sale%\'\nORDER BY `transDate`','setup/search','0.067617893218994','2016-08-18 17:29:43'),(20258,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/search','0.00041103363037109','2016-08-18 17:29:43'),(20259,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/search','0.00048208236694336','2016-08-18 17:29:43'),(20260,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','loanReceive/print_loanReceive','0.00075578689575195','2016-08-18 17:29:46'),(20261,25,32,'192.168.1.220','others','SELECT tf.acctName as transferFrom, tt.bankName as transferTo, master.receivePaymentDate as transferDate, concat(master.formNo,\'[\',lpad(master.serialNo,8,\'0\'),\']\') as formNo,\r\n                    details.description as description, details.amountExcludedTax as transferAmount\r\n                FROM comp_chart_of_acct tf, comp_bank tt, comp_receive_payment_others master, comp_receive_payment_others_detail details\r\n                WHERE master.ID = details.receivePaymentOthersID and details.accountNoID = tf.ID and tt.ID = master.bankID and master.ID = \'2197\'\r\n        ','loanReceive/print_loanReceive','0.00050711631774902','2016-08-18 17:29:46'),(20262,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/print_loanReceive','0.076388835906982','2016-08-18 17:29:46'),(20263,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.012914896011353','2016-08-18 17:29:46'),(20264,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/print_loanReceive','0.021177053451538','2016-08-18 17:29:46'),(20265,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/print_loanReceive','0.00040292739868164','2016-08-18 17:29:46'),(20266,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/print_loanReceive','0.00048494338989258','2016-08-18 17:29:46'),(20267,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.00075793266296387','2016-08-18 17:29:48'),(20268,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'730\'\nAND `companyID` =  \'24\'','sales/print_sale','0.00046992301940918','2016-08-18 17:29:48'),(20269,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'730\'','sales/print_sale','0.00064206123352051','2016-08-18 17:29:48'),(20270,24,31,'192.168.1.204','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=24','sales/print_sale','0.00058603286743164','2016-08-18 17:29:48'),(20271,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00061988830566406','2016-08-18 17:29:50'),(20272,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055980682373047','2016-08-18 17:29:50'),(20273,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054097175598145','2016-08-18 17:29:50'),(20274,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005338191986084','2016-08-18 17:29:50'),(20275,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.086506128311157','2016-08-18 17:29:50'),(20276,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037767171859741','2016-08-18 17:29:50'),(20277,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037658929824829','2016-08-18 17:29:50'),(20278,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.035643100738525','2016-08-18 17:29:50'),(20279,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.2583749294281','2016-08-18 17:29:50'),(20280,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0004889965057373','2016-08-18 17:29:50'),(20281,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053000450134277','2016-08-18 17:29:50'),(20282,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.019036054611206','2016-08-18 17:29:53'),(20283,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 17:29:53'),(20284,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 17:29:53'),(20285,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:29:53'),(20286,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:29:53'),(20287,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:29:53'),(20288,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:29:53'),(20289,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005638599395752','2016-08-18 17:29:53'),(20290,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:29:53'),(20291,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 17:29:53'),(20292,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:29:53'),(20293,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:29:53'),(20294,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00064897537231445','2016-08-18 17:29:56'),(20295,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-18 17:29:56'),(20296,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:29:56'),(20297,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:29:56'),(20298,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:29:56'),(20299,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:29:56'),(20300,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00059390068054199','2016-08-18 17:29:56'),(20301,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 17:29:56'),(20302,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.0005490779876709','2016-08-18 17:29:56'),(20303,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 17:29:56'),(20304,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055503845214844','2016-08-18 17:29:56'),(20305,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:29:56'),(20306,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00054097175598145','2016-08-18 17:29:56'),(20307,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:29:56'),(20308,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00070309638977051','2016-08-18 17:29:56'),(20309,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 17:29:56'),(20310,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00058913230895996','2016-08-18 17:29:56'),(20311,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0004279613494873','2016-08-18 17:29:57'),(20312,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:29:57'),(20313,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00055098533630371','2016-08-18 17:29:57'),(20314,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00052404403686523','2016-08-18 17:29:57'),(20315,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005490779876709','2016-08-18 17:29:57'),(20316,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053501129150391','2016-08-18 17:29:57'),(20317,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00075101852416992','2016-08-18 17:29:57'),(20318,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0004119873046875','2016-08-18 17:29:57'),(20319,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050497055053711','2016-08-18 17:29:57'),(20320,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00065183639526367','2016-08-18 17:30:07'),(20321,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0005640983581543','2016-08-18 17:30:07'),(20322,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00055193901062012','2016-08-18 17:30:07'),(20323,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053715705871582','2016-08-18 17:30:07'),(20324,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00080990791320801','2016-08-18 17:30:07'),(20325,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041913986206055','2016-08-18 17:30:07'),(20326,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051188468933105','2016-08-18 17:30:07'),(20327,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00064802169799805','2016-08-18 17:30:09'),(20328,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00056099891662598','2016-08-18 17:30:09'),(20329,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00054407119750977','2016-08-18 17:30:09'),(20330,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053501129150391','2016-08-18 17:30:09'),(20331,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2014-01-15\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00074005126953125','2016-08-18 17:30:09'),(20332,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041508674621582','2016-08-18 17:30:09'),(20333,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050997734069824','2016-08-18 17:30:09'),(20334,24,31,'192.168.1.204','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'24\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.0037000179290771','2016-08-18 17:30:12'),(20335,24,31,'192.168.1.204','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'24\'','sales/edit_sale','0.0022509098052979','2016-08-18 17:30:12'),(20336,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'730\'\nAND `companyID` =  \'24\'','sales/edit_sale','0.00042891502380371','2016-08-18 17:30:12'),(20337,24,31,'192.168.1.204','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'730\'','sales/edit_sale','0.0013079643249512','2016-08-18 17:30:12'),(20338,24,31,'192.168.1.204','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'730\'','sales/edit_sale','0.001633882522583','2016-08-18 17:30:12'),(20339,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.074121952056885','2016-08-18 17:30:12'),(20340,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00050592422485352','2016-08-18 17:30:12'),(20341,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.013676166534424','2016-08-18 17:30:23'),(20342,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00096702575683594','2016-08-18 17:30:23'),(20343,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016021728515625','2016-08-18 17:30:23'),(20344,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.0003659725189209','2016-08-18 17:30:23'),(20345,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00045180320739746','2016-08-18 17:30:23'),(20346,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.10756492614746','2016-08-18 17:30:35'),(20347,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.094446897506714','2016-08-18 17:30:35'),(20348,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.087234973907471','2016-08-18 17:30:35'),(20349,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.079171895980835','2016-08-18 17:30:35'),(20350,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.073220014572144','2016-08-18 17:30:35'),(20351,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00026488304138184','2016-08-18 17:30:35'),(20352,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00032496452331543','2016-08-18 17:30:35'),(20353,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.093490839004517','2016-08-18 17:31:27'),(20354,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.025169849395752','2016-08-18 17:31:27'),(20355,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.00083708763122559','2016-08-18 17:31:27'),(20356,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00048112869262695','2016-08-18 17:31:27'),(20357,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045299530029297','2016-08-18 17:31:27'),(20358,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.0004429817199707','2016-08-18 17:31:27'),(20359,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044608116149902','2016-08-18 17:31:27'),(20360,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-18 17:31:27'),(20361,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044584274291992','2016-08-18 17:31:27'),(20362,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-18 17:31:27'),(20363,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044584274291992','2016-08-18 17:31:27'),(20364,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-18 17:31:27'),(20365,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044488906860352','2016-08-18 17:31:27'),(20366,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.12561702728271','2016-08-18 17:31:27'),(20367,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.0008399486541748','2016-08-18 17:31:27'),(20368,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00040292739868164','2016-08-18 17:31:27'),(20369,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051212310791016','2016-08-18 17:31:27'),(20370,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0022599697113037','2016-08-18 17:31:32'),(20371,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00050020217895508','2016-08-18 17:31:32'),(20372,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.0004880428314209','2016-08-18 17:31:32'),(20373,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  10\nAND `companyID` =  \'25\'','setup/expensesSetup','0.0018329620361328','2016-08-18 17:32:34'),(20374,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/expensesSetup','0.00049400329589844','2016-08-18 17:32:34'),(20375,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/expensesSetup','0.00052809715270996','2016-08-18 17:32:34'),(20376,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 370000000\nAND `acctGroupID` =  4\nAND `companyID` =  \'25\'','setup/loanSetup','0.0016679763793945','2016-08-18 17:32:41'),(20377,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/loanSetup','0.00042986869812012','2016-08-18 17:32:41'),(20378,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/loanSetup','0.00051307678222656','2016-08-18 17:32:41'),(20379,25,32,'192.168.1.220','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 25, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 25)','setup/assetSetup','0.0015640258789062','2016-08-18 17:32:48'),(20380,25,32,'192.168.1.220','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'25\'','setup/assetSetup','0.0016021728515625','2016-08-18 17:32:48'),(20381,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.0004270076751709','2016-08-18 17:32:48'),(20382,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00051116943359375','2016-08-18 17:32:48'),(20383,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'25\'','setup/companySetup','0.11937117576599','2016-08-18 17:32:58'),(20384,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.0012779235839844','2016-08-18 17:32:58'),(20385,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.0010108947753906','2016-08-18 17:32:58'),(20386,25,32,'192.168.1.220','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1930\'','setup/companySetup','0.00057506561279297','2016-08-18 17:32:58'),(20387,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00041413307189941','2016-08-18 17:32:58'),(20388,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00048708915710449','2016-08-18 17:32:58'),(20389,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00040102005004883','2016-08-18 17:32:58'),(20390,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00047683715820312','2016-08-18 17:32:58'),(20391,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00068092346191406','2016-08-18 17:33:02'),(20392,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00059604644775391','2016-08-18 17:33:02'),(20393,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054097175598145','2016-08-18 17:33:02'),(20394,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053620338439941','2016-08-18 17:33:02'),(20395,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.037996053695679','2016-08-18 17:33:02'),(20396,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037629842758179','2016-08-18 17:33:02'),(20397,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037497997283936','2016-08-18 17:33:02'),(20398,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.03770899772644','2016-08-18 17:33:02'),(20399,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.24047899246216','2016-08-18 17:33:02'),(20400,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046205520629883','2016-08-18 17:33:02'),(20401,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00053095817565918','2016-08-18 17:33:02'),(20402,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0093770027160645','2016-08-18 17:33:05'),(20403,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:33:05'),(20404,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:33:05'),(20405,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:33:05'),(20406,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 17:33:05'),(20407,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052785873413086','2016-08-18 17:33:05'),(20408,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:33:05'),(20409,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005638599395752','2016-08-18 17:33:05'),(20410,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:33:05'),(20411,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 17:33:05'),(20412,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 17:33:05'),(20413,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:33:05'),(20414,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062084197998047','2016-08-18 17:33:06'),(20415,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:33:06'),(20416,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 17:33:06'),(20417,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:33:06'),(20418,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:33:06'),(20419,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052881240844727','2016-08-18 17:33:06'),(20420,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:33:06'),(20421,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 17:33:07'),(20422,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:33:07'),(20423,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:33:07'),(20424,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:33:07'),(20425,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:33:07'),(20426,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0006110668182373','2016-08-18 17:33:10'),(20427,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00062203407287598','2016-08-18 17:33:11'),(20428,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058197975158691','2016-08-18 17:33:11'),(20429,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:33:11'),(20430,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 17:33:11'),(20431,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:33:11'),(20432,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:33:11'),(20433,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:33:11'),(20434,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:33:11'),(20435,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:33:11'),(20436,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-18 17:33:11'),(20437,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 17:33:11'),(20438,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:33:11'),(20439,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 17:33:11'),(20440,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.097400188446045','2016-08-18 17:33:15'),(20441,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013651847839355','2016-08-18 17:33:15'),(20442,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013830661773682','2016-08-18 17:33:15'),(20443,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-18 17:33:15'),(20444,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-18 17:33:15'),(20445,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001352071762085','2016-08-18 17:33:15'),(20446,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013210773468018','2016-08-18 17:33:15'),(20447,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013470649719238','2016-08-18 17:33:15'),(20448,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013151168823242','2016-08-18 17:33:15'),(20449,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013480186462402','2016-08-18 17:33:15'),(20450,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013220310211182','2016-08-18 17:33:15'),(20451,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013120174407959','2016-08-18 17:33:15'),(20452,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015370845794678','2016-08-18 17:33:16'),(20453,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013620853424072','2016-08-18 17:33:16'),(20454,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-18 17:33:16'),(20455,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-18 17:33:16'),(20456,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-18 17:33:16'),(20457,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-18 17:33:16'),(20458,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001331090927124','2016-08-18 17:33:16'),(20459,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 17:33:16'),(20460,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-18 17:33:16'),(20461,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-18 17:33:16'),(20462,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013248920440674','2016-08-18 17:33:16'),(20463,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013270378112793','2016-08-18 17:33:16'),(20464,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043869018554688','2016-08-18 17:33:18'),(20465,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042221546173096','2016-08-18 17:33:18'),(20466,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042171478271484','2016-08-18 17:33:18'),(20467,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004227876663208','2016-08-18 17:33:18'),(20468,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041611194610596','2016-08-18 17:33:18'),(20469,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042078495025635','2016-08-18 17:33:18'),(20470,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004256010055542','2016-08-18 17:33:18'),(20471,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042080879211426','2016-08-18 17:33:18'),(20472,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041420459747314','2016-08-18 17:33:18'),(20473,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042271614074707','2016-08-18 17:33:19'),(20474,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041468143463135','2016-08-18 17:33:19'),(20475,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041921138763428','2016-08-18 17:33:19'),(20476,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041871070861816','2016-08-18 17:33:20'),(20477,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041139125823975','2016-08-18 17:33:20'),(20478,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040249824523926','2016-08-18 17:33:20'),(20479,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040369033813477','2016-08-18 17:33:20'),(20480,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040290355682373','2016-08-18 17:33:20'),(20481,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040209293365479','2016-08-18 17:33:20'),(20482,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040199756622314','2016-08-18 17:33:20'),(20483,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040130615234375','2016-08-18 17:33:20'),(20484,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040578842163086','2016-08-18 17:33:20'),(20485,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040440559387207','2016-08-18 17:33:20'),(20486,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040130615234375','2016-08-18 17:33:20'),(20487,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004025936126709','2016-08-18 17:33:20'),(20488,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.017980813980103','2016-08-18 17:33:23'),(20489,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013151168823242','2016-08-18 17:33:23'),(20490,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001270055770874','2016-08-18 17:33:23'),(20491,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012640953063965','2016-08-18 17:33:23'),(20492,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.060456991195679','2016-08-18 17:33:23'),(20493,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00045299530029297','2016-08-18 17:33:23'),(20494,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049495697021484','2016-08-18 17:33:23'),(20495,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.092600107192993','2016-08-18 17:34:12'),(20496,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.001060962677002','2016-08-18 17:34:12'),(20497,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00043606758117676','2016-08-18 17:34:13'),(20498,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051712989807129','2016-08-18 17:34:13'),(20499,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001413106918335','2016-08-18 17:34:18'),(20500,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013179779052734','2016-08-18 17:34:18'),(20501,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012760162353516','2016-08-18 17:34:19'),(20502,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012669563293457','2016-08-18 17:34:19'),(20503,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022268295288086','2016-08-18 17:34:19'),(20504,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00044083595275879','2016-08-18 17:34:19'),(20505,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048303604125977','2016-08-18 17:34:19'),(20506,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013999938964844','2016-08-18 17:34:29'),(20507,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001317024230957','2016-08-18 17:34:29'),(20508,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012731552124023','2016-08-18 17:34:29'),(20509,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012660026550293','2016-08-18 17:34:29'),(20510,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0022430419921875','2016-08-18 17:34:29'),(20511,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004270076751709','2016-08-18 17:34:29'),(20512,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-18 17:34:29'),(20513,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.001384973526001','2016-08-18 17:34:38'),(20514,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012819766998291','2016-08-18 17:34:38'),(20515,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012578964233398','2016-08-18 17:34:38'),(20516,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0012540817260742','2016-08-18 17:34:38'),(20517,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021929740905762','2016-08-18 17:34:38'),(20518,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043201446533203','2016-08-18 17:34:38'),(20519,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048303604125977','2016-08-18 17:34:38'),(20520,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013670921325684','2016-08-18 17:34:42'),(20521,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012798309326172','2016-08-18 17:34:42'),(20522,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012478828430176','2016-08-18 17:34:42'),(20523,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012431144714355','2016-08-18 17:34:42'),(20524,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.18900394439697','2016-08-18 17:34:42'),(20525,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042605400085449','2016-08-18 17:34:42'),(20526,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048398971557617','2016-08-18 17:34:42'),(20527,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00067996978759766','2016-08-18 17:35:00'),(20528,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056791305541992','2016-08-18 17:35:00'),(20529,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054311752319336','2016-08-18 17:35:00'),(20530,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053691864013672','2016-08-18 17:35:00'),(20531,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.25291800498962','2016-08-18 17:35:00'),(20532,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037699937820435','2016-08-18 17:35:00'),(20533,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037487030029297','2016-08-18 17:35:00'),(20534,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038105964660645','2016-08-18 17:35:00'),(20535,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.26162600517273','2016-08-18 17:35:01'),(20536,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0015859603881836','2016-08-18 17:35:01'),(20537,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0012290477752686','2016-08-18 17:35:01'),(20538,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.025012016296387','2016-08-18 17:35:04'),(20539,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:35:04'),(20540,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050115585327148','2016-08-18 17:35:04'),(20541,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050187110900879','2016-08-18 17:35:04'),(20542,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049090385437012','2016-08-18 17:35:04'),(20543,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.011592864990234','2016-08-18 17:35:04'),(20544,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048398971557617','2016-08-18 17:35:04'),(20545,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00051093101501465','2016-08-18 17:35:04'),(20546,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048518180847168','2016-08-18 17:35:04'),(20547,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049400329589844','2016-08-18 17:35:04'),(20548,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047993659973145','2016-08-18 17:35:04'),(20549,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048685073852539','2016-08-18 17:35:04'),(20550,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063490867614746','2016-08-18 17:35:05'),(20551,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 17:35:05'),(20552,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 17:35:05'),(20553,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:35:05'),(20554,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:35:05'),(20555,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:35:05'),(20556,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 17:35:05'),(20557,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 17:35:05'),(20558,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:35:05'),(20559,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:35:05'),(20560,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055098533630371','2016-08-18 17:35:05'),(20561,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:35:05'),(20562,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060701370239258','2016-08-18 17:35:09'),(20563,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059294700622559','2016-08-18 17:35:11'),(20564,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055694580078125','2016-08-18 17:35:11'),(20565,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 17:35:11'),(20566,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 17:35:11'),(20567,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:35:11'),(20568,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 17:35:11'),(20569,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 17:35:11'),(20570,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-18 17:35:11'),(20571,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:35:11'),(20572,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 17:35:11'),(20573,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 17:35:11'),(20574,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 17:35:11'),(20575,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052118301391602','2016-08-18 17:35:11'),(20576,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.092582941055298','2016-08-18 17:35:15'),(20577,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013689994812012','2016-08-18 17:35:15'),(20578,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013711452484131','2016-08-18 17:35:16'),(20579,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013430118560791','2016-08-18 17:35:16'),(20580,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-18 17:35:16'),(20581,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 17:35:16'),(20582,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 17:35:16'),(20583,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 17:35:16'),(20584,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-18 17:35:16'),(20585,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 17:35:16'),(20586,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-18 17:35:16'),(20587,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013248920440674','2016-08-18 17:35:16'),(20588,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015029907226562','2016-08-18 17:35:17'),(20589,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013449192047119','2016-08-18 17:35:17'),(20590,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013308525085449','2016-08-18 17:35:17'),(20591,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 17:35:17'),(20592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 17:35:17'),(20593,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-18 17:35:17'),(20594,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013270378112793','2016-08-18 17:35:17'),(20595,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-18 17:35:17'),(20596,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013580322265625','2016-08-18 17:35:17'),(20597,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013208389282227','2016-08-18 17:35:17'),(20598,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 17:35:17'),(20599,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013251304626465','2016-08-18 17:35:17');
INSERT INTO `_log_query` VALUES (20600,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004223108291626','2016-08-18 17:35:19'),(20601,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040359497070312','2016-08-18 17:35:19'),(20602,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040748119354248','2016-08-18 17:35:19'),(20603,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040218830108643','2016-08-18 17:35:19'),(20604,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004011869430542','2016-08-18 17:35:19'),(20605,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-18 17:35:19'),(20606,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040099620819092','2016-08-18 17:35:19'),(20607,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040249824523926','2016-08-18 17:35:19'),(20608,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040140151977539','2016-08-18 17:35:19'),(20609,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040080547332764','2016-08-18 17:35:19'),(20610,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039939880371094','2016-08-18 17:35:19'),(20611,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039920806884766','2016-08-18 17:35:19'),(20612,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042269229888916','2016-08-18 17:35:21'),(20613,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040450096130371','2016-08-18 17:35:21'),(20614,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040268898010254','2016-08-18 17:35:21'),(20615,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004065990447998','2016-08-18 17:35:21'),(20616,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040280818939209','2016-08-18 17:35:21'),(20617,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040268898010254','2016-08-18 17:35:21'),(20618,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040161609649658','2016-08-18 17:35:21'),(20619,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004054069519043','2016-08-18 17:35:21'),(20620,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040171146392822','2016-08-18 17:35:21'),(20621,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040380954742432','2016-08-18 17:35:21'),(20622,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040898323059082','2016-08-18 17:35:21'),(20623,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040121078491211','2016-08-18 17:35:21'),(20624,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.001492977142334','2016-08-18 17:35:26'),(20625,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0040831565856934','2016-08-18 17:35:26'),(20626,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.014443874359131','2016-08-18 17:35:26'),(20627,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012362003326416','2016-08-18 17:35:26'),(20628,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012021064758301','2016-08-18 17:35:26'),(20629,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0011918544769287','2016-08-18 17:35:26'),(20630,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.036037921905518','2016-08-18 17:35:26'),(20631,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0004432201385498','2016-08-18 17:35:26'),(20632,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048995018005371','2016-08-18 17:35:26'),(20633,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.084091901779175','2016-08-18 17:35:38'),(20634,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.0018310546875','2016-08-18 17:35:38'),(20635,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016560554504395','2016-08-18 17:35:38'),(20636,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041818618774414','2016-08-18 17:35:38'),(20637,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00050902366638184','2016-08-18 17:35:38'),(20638,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-18\'\nAND `receivePaymentDate` <= \'2016-08-18\'\nAND `a`.`companyID` =  \'25\'','loanReceive/loanReceiveList','0.0016798973083496','2016-08-18 17:35:49'),(20639,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/loanReceiveList','0.0010979175567627','2016-08-18 17:35:49'),(20640,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/loanReceiveList','0.0016660690307617','2016-08-18 17:35:49'),(20641,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/loanReceiveList','0.00041699409484863','2016-08-18 17:35:49'),(20642,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/loanReceiveList','0.00051188468933105','2016-08-18 17:35:49'),(20643,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-17\'\nAND `receivePaymentDate` <= \'2016-08-18\'\nAND `a`.`companyID` =  \'25\'','loanReceive/loanReceiveList','0.0017380714416504','2016-08-18 17:35:57'),(20644,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/loanReceiveList','0.00098896026611328','2016-08-18 17:35:57'),(20645,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/loanReceiveList','0.0016539096832275','2016-08-18 17:35:57'),(20646,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/loanReceiveList','0.00041699409484863','2016-08-18 17:35:57'),(20647,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/loanReceiveList','0.00051188468933105','2016-08-18 17:35:57'),(20648,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-18\'\nAND `a`.`companyID` =  \'25\'','loanReceive/loanReceiveList','0.0017061233520508','2016-08-18 17:36:08'),(20649,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/loanReceiveList','0.00098991394042969','2016-08-18 17:36:08'),(20650,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/loanReceiveList','0.0016582012176514','2016-08-18 17:36:08'),(20651,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/loanReceiveList','0.00041913986206055','2016-08-18 17:36:08'),(20652,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/loanReceiveList','0.00051093101501465','2016-08-18 17:36:09'),(20653,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`receivePaymentDate` as paymentDate, `c`.`description` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `a`.`bankID` as transferTo, `e`.`acctName`, `c`.`accountNoID` as transferFrom\nFROM (`comp_receive_payment_others` a)\nLEFT OUTER JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo` and b.companyID = a.companyID\nLEFT OUTER JOIN `comp_receive_payment_others_detail` c ON `c`.`receivePaymentOthersID` = `a`.`ID`\nLEFT OUTER JOIN `comp_chart_of_acct` e ON `e`.`ID` = `c`.`accountNoID`\nLEFT OUTER JOIN `comp_bank` bank ON `bank`.`ID` = `a`.`bankID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'LR\'\nAND `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'','loanReceive/index','0.0016958713531494','2016-08-18 17:36:17'),(20654,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','loanReceive/index','0.00098800659179688','2016-08-18 17:36:17'),(20655,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','loanReceive/index','0.0016601085662842','2016-08-18 17:36:17'),(20656,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','loanReceive/index','0.00041794776916504','2016-08-18 17:36:17'),(20657,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','loanReceive/index','0.00051093101501465','2016-08-18 17:36:17'),(20658,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.041016101837158','2016-08-18 17:36:22'),(20659,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00049710273742676','2016-08-18 17:36:22'),(20660,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.0004889965057373','2016-08-18 17:36:22'),(20661,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-18\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0019359588623047','2016-08-18 17:36:31'),(20662,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00043010711669922','2016-08-18 17:36:31'),(20663,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00051498413085938','2016-08-18 17:36:31'),(20664,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-17\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0020880699157715','2016-08-18 17:36:37'),(20665,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00045514106750488','2016-08-18 17:36:37'),(20666,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00048995018005371','2016-08-18 17:36:37'),(20667,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-16\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0022280216217041','2016-08-18 17:36:50'),(20668,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00049090385437012','2016-08-18 17:36:50'),(20669,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00052094459533691','2016-08-18 17:36:50'),(20670,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064682960510254','2016-08-18 17:36:58'),(20671,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00061917304992676','2016-08-18 17:36:58'),(20672,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054287910461426','2016-08-18 17:36:58'),(20673,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0005340576171875','2016-08-18 17:36:58'),(20674,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.062628984451294','2016-08-18 17:36:58'),(20675,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037768125534058','2016-08-18 17:36:58'),(20676,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037623882293701','2016-08-18 17:36:58'),(20677,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037657976150513','2016-08-18 17:36:58'),(20678,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.23994398117065','2016-08-18 17:36:58'),(20679,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00050115585327148','2016-08-18 17:36:58'),(20680,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052285194396973','2016-08-18 17:36:58'),(20681,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0097031593322754','2016-08-18 17:37:02'),(20682,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:37:02'),(20683,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:37:02'),(20684,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:37:02'),(20685,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:37:02'),(20686,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:37:02'),(20687,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:37:02'),(20688,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058102607727051','2016-08-18 17:37:02'),(20689,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:37:02'),(20690,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 17:37:02'),(20691,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:37:02'),(20692,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 17:37:02'),(20693,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.0055840015411377','2016-08-18 17:37:03'),(20694,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00046992301940918','2016-08-18 17:37:03'),(20695,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00044488906860352','2016-08-18 17:37:03'),(20696,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00064492225646973','2016-08-18 17:37:19'),(20697,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056791305541992','2016-08-18 17:37:19'),(20698,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054407119750977','2016-08-18 17:37:19'),(20699,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053691864013672','2016-08-18 17:37:19'),(20700,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10143685340881','2016-08-18 17:37:19'),(20701,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.03764796257019','2016-08-18 17:37:19'),(20702,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037514209747314','2016-08-18 17:37:19'),(20703,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037720918655396','2016-08-18 17:37:19'),(20704,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.18045496940613','2016-08-18 17:37:19'),(20705,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047993659973145','2016-08-18 17:37:19'),(20706,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00052404403686523','2016-08-18 17:37:19'),(20707,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0022969245910645','2016-08-18 17:37:22'),(20708,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:37:23'),(20709,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:37:23'),(20710,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:37:23'),(20711,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 17:37:23'),(20712,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:37:23'),(20713,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:37:23'),(20714,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-18 17:37:23'),(20715,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:37:23'),(20716,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:37:23'),(20717,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 17:37:23'),(20718,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:37:23'),(20719,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'\nGROUP BY `b`.`journalID`','transfer/index','0.04413914680481','2016-08-18 17:37:24'),(20720,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','transfer/index','0.0038039684295654','2016-08-18 17:37:24'),(20721,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','transfer/index','0.0012099742889404','2016-08-18 17:37:24'),(20722,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','transfer/index','0.0012900829315186','2016-08-18 17:37:24'),(20723,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-18 17:37:24'),(20724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:37:24'),(20725,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:37:24'),(20726,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:37:24'),(20727,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054121017456055','2016-08-18 17:37:24'),(20728,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:37:24'),(20729,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:37:24'),(20730,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055193901062012','2016-08-18 17:37:24'),(20731,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:37:24'),(20732,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-18 17:37:24'),(20733,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:37:24'),(20734,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:37:24'),(20735,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.041115045547485','2016-08-18 17:37:29'),(20736,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0009770393371582','2016-08-18 17:37:29'),(20737,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00041985511779785','2016-08-18 17:37:29'),(20738,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.0005180835723877','2016-08-18 17:37:29'),(20739,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'4\'\nAND `a`.`is_delete` =  0\nAND `b`.`parentID` > 0','expenses/addNew','0.0017299652099609','2016-08-18 17:37:33'),(20740,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010199546813965','2016-08-18 17:37:33'),(20741,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00041890144348145','2016-08-18 17:37:33'),(20742,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00051999092102051','2016-08-18 17:37:33'),(20743,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063514709472656','2016-08-18 17:37:35'),(20744,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054693222045898','2016-08-18 17:37:35'),(20745,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053906440734863','2016-08-18 17:37:35'),(20746,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053191184997559','2016-08-18 17:37:35'),(20747,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.12075996398926','2016-08-18 17:37:35'),(20748,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037609100341797','2016-08-18 17:37:35'),(20749,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037641048431396','2016-08-18 17:37:35'),(20750,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037794828414917','2016-08-18 17:37:35'),(20751,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.17946982383728','2016-08-18 17:37:35'),(20752,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047898292541504','2016-08-18 17:37:35'),(20753,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0005180835723877','2016-08-18 17:37:35'),(20754,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00205397605896','2016-08-18 17:37:38'),(20755,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-18 17:37:39'),(20756,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:37:39'),(20757,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:37:39'),(20758,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:37:39'),(20759,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-18 17:37:39'),(20760,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 17:37:39'),(20761,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056004524230957','2016-08-18 17:37:39'),(20762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057196617126465','2016-08-18 17:37:39'),(20763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 17:37:39'),(20764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 17:37:39'),(20765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:37:39'),(20766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006561279296875','2016-08-18 17:37:40'),(20767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-18 17:37:40'),(20768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:37:40'),(20769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:37:40'),(20770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:37:40'),(20771,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:37:40'),(20772,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052595138549805','2016-08-18 17:37:40'),(20773,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055217742919922','2016-08-18 17:37:40'),(20774,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00059008598327637','2016-08-18 17:37:41'),(20775,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:37:41'),(20776,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 17:37:41'),(20777,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058197975158691','2016-08-18 17:37:41'),(20778,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.12959408760071','2016-08-18 17:37:43'),(20779,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.088801860809326','2016-08-18 17:37:43'),(20780,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.089010953903198','2016-08-18 17:37:43'),(20781,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.094552040100098','2016-08-18 17:37:43'),(20782,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.094832181930542','2016-08-18 17:37:43'),(20783,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.0013139247894287','2016-08-18 17:37:43'),(20784,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.0012149810791016','2016-08-18 17:37:43'),(20785,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00065016746520996','2016-08-18 17:38:11'),(20786,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00056791305541992','2016-08-18 17:38:11'),(20787,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00054621696472168','2016-08-18 17:38:11'),(20788,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00053691864013672','2016-08-18 17:38:11'),(20789,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00076198577880859','2016-08-18 17:38:11'),(20790,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00042319297790527','2016-08-18 17:38:11'),(20791,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00051403045654297','2016-08-18 17:38:11'),(20792,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.017215013504028','2016-08-18 17:38:23'),(20793,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013039112091064','2016-08-18 17:38:23'),(20794,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012669563293457','2016-08-18 17:38:23'),(20795,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012660026550293','2016-08-18 17:38:23'),(20796,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0042209625244141','2016-08-18 17:38:23'),(20797,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0081140995025635','2016-08-18 17:38:23'),(20798,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048494338989258','2016-08-18 17:38:23'),(20799,25,32,'192.168.1.220','others','SELECT `a`.`ID`, `a`.`paymentDate`, `c`.`itemdescription` as description, `b`.`ID` as journal_id, `b`.`journalID` as journal_no, `c`.`amountExcludedTax` as amountPaid, `bankID` as transferFrom, `a`.`payTo` as transferTo, `c`.`ID` AS detailid, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalNo`\nLEFT JOIN `comp_payment_others_without_item` c ON `c`.`otherPaymentID` = `a`.`ID`\nWHERE `a`.`is_delete` =  0\nAND `a`.`formNo` =  \'TT\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`companyID` =  \'25\'\nGROUP BY `b`.`journalID`','transfer/index','0.017670869827271','2016-08-18 17:38:30'),(20800,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','transfer/index','0.0019068717956543','2016-08-18 17:38:30'),(20801,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','transfer/index','0.00042486190795898','2016-08-18 17:38:30'),(20802,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','transfer/index','0.00052285194396973','2016-08-18 17:38:30'),(20803,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'25\'\nAND `userID` =  \'User\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/loanReport','0.017836809158325','2016-08-18 17:38:34'),(20804,25,32,'192.168.1.220','others','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/loanReport%\"','glreports/loanReport','0.011127948760986','2016-08-18 17:38:34'),(20805,25,32,'192.168.1.220','others','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/loanReport','0.0008389949798584','2016-08-18 17:38:34'),(20806,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00047993659973145','2016-08-18 17:38:34'),(20807,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045394897460938','2016-08-18 17:38:34'),(20808,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045084953308105','2016-08-18 17:38:34'),(20809,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044488906860352','2016-08-18 17:38:34'),(20810,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044989585876465','2016-08-18 17:38:34'),(20811,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044822692871094','2016-08-18 17:38:34'),(20812,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044894218444824','2016-08-18 17:38:34'),(20813,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044703483581543','2016-08-18 17:38:34'),(20814,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00045013427734375','2016-08-18 17:38:34'),(20815,25,32,'192.168.1.220','others','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'User\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'25\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/loanReport','0.00044679641723633','2016-08-18 17:38:34'),(20816,25,32,'192.168.1.220','others','SELECT `c`.*, `a`.`acctName` as acctName, `a`.`ID`, `a`.`openingBalanceCr` as openingBal, ifnull(c.openingBalanceCr, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) openingBalanceCr, ifnull(c.balanceLoan, (select balanceLoan from view_loan_report where acctID = a.ID and year < 2016 order by year DESC limit 0, 1)) balanceLoan\nFROM (`view_loan_report` c)\nLEFT JOIN `comp_chart_of_acct` a ON `c`.`acctID` = `a`.`ID` and c.year = 2016\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  4\nAND `b`.`parentID` > 0\nAND `a`.`is_delete` =  0','glreports/loanReport','0.12506008148193','2016-08-18 17:38:34'),(20817,25,32,'192.168.1.220','others','SELECT EXTRACT(YEAR FROM createdTS) AS orderYear\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'25\'\nAND `acctGroupID` =  2','glreports/loanReport','0.00084209442138672','2016-08-18 17:38:34'),(20818,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','glreports/loanReport','0.00040602684020996','2016-08-18 17:38:34'),(20819,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','glreports/loanReport','0.00051093101501465','2016-08-18 17:38:34'),(20820,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.002223014831543','2016-08-18 17:38:45'),(20821,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00048112869262695','2016-08-18 17:38:45'),(20822,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00048494338989258','2016-08-18 17:38:45'),(20823,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.00223708152771','2016-08-18 17:38:57'),(20824,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.00048494338989258','2016-08-18 17:38:57'),(20825,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.0004880428314209','2016-08-18 17:38:57'),(20826,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016031265258789','2016-08-18 17:39:01'),(20827,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00087404251098633','2016-08-18 17:39:01'),(20828,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.00042104721069336','2016-08-18 17:39:01'),(20829,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00048398971557617','2016-08-18 17:39:01'),(20830,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063991546630859','2016-08-18 17:39:04'),(20831,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00051689147949219','2016-08-18 17:39:04'),(20832,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00049686431884766','2016-08-18 17:39:04'),(20833,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00048398971557617','2016-08-18 17:39:04'),(20834,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.03790020942688','2016-08-18 17:39:04'),(20835,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037850856781006','2016-08-18 17:39:04'),(20836,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.03772497177124','2016-08-18 17:39:04'),(20837,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037830114364624','2016-08-18 17:39:04'),(20838,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.22431206703186','2016-08-18 17:39:04'),(20839,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045680999755859','2016-08-18 17:39:04'),(20840,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00047183036804199','2016-08-18 17:39:04'),(20841,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0022640228271484','2016-08-18 17:39:07'),(20842,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:39:07'),(20843,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:39:07'),(20844,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:39:07'),(20845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:39:07'),(20846,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 17:39:07'),(20847,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-18 17:39:07'),(20848,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005650520324707','2016-08-18 17:39:08'),(20849,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:39:08'),(20850,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-18 17:39:08'),(20851,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 17:39:08'),(20852,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:39:08'),(20853,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006411075592041','2016-08-18 17:39:09'),(20854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:39:09'),(20855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 17:39:09'),(20856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054216384887695','2016-08-18 17:39:09'),(20857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:39:09'),(20858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:39:09'),(20859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00058484077453613','2016-08-18 17:39:09'),(20860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055384635925293','2016-08-18 17:39:09'),(20861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:39:09'),(20862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:39:09'),(20863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:39:09'),(20864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:39:09'),(20865,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059390068054199','2016-08-18 17:39:12'),(20866,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00061392784118652','2016-08-18 17:39:15'),(20867,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-18 17:39:15'),(20868,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:39:15'),(20869,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052380561828613','2016-08-18 17:39:15'),(20870,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 17:39:15'),(20871,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-18 17:39:15'),(20872,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048995018005371','2016-08-18 17:39:15'),(20873,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048303604125977','2016-08-18 17:39:15'),(20874,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00049114227294922','2016-08-18 17:39:15'),(20875,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 17:39:15'),(20876,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00047993659973145','2016-08-18 17:39:15'),(20877,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00048279762268066','2016-08-18 17:39:15'),(20878,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050783157348633','2016-08-18 17:39:15'),(20879,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.064846992492676','2016-08-18 17:39:20'),(20880,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 17:39:20'),(20881,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013608932495117','2016-08-18 17:39:20'),(20882,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013389587402344','2016-08-18 17:39:20'),(20883,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013217926025391','2016-08-18 17:39:20'),(20884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013360977172852','2016-08-18 17:39:20'),(20885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 17:39:20'),(20886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013370513916016','2016-08-18 17:39:20'),(20887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013289451599121','2016-08-18 17:39:20'),(20888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 17:39:20'),(20889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 17:39:20'),(20890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013270378112793','2016-08-18 17:39:20'),(20891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015220642089844','2016-08-18 17:39:22'),(20892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 17:39:22'),(20893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-18 17:39:22'),(20894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 17:39:22'),(20895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 17:39:22'),(20896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013368129730225','2016-08-18 17:39:22'),(20897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013291835784912','2016-08-18 17:39:22'),(20898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-18 17:39:22'),(20899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 17:39:22'),(20900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013201236724854','2016-08-18 17:39:22'),(20901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013258457183838','2016-08-18 17:39:22'),(20902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-18 17:39:22'),(20903,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.025644063949585','2016-08-18 17:39:24'),(20904,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013139247894287','2016-08-18 17:39:24'),(20905,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012660026550293','2016-08-18 17:39:24'),(20906,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012631416320801','2016-08-18 17:39:24'),(20907,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.045183181762695','2016-08-18 17:39:24'),(20908,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00044608116149902','2016-08-18 17:39:24'),(20909,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048995018005371','2016-08-18 17:39:24'),(20910,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0035161972045898','2016-08-18 17:39:29'),(20911,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0010168552398682','2016-08-18 17:39:29'),(20912,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2101\'','expenses/addNew','0.0021028518676758','2016-08-18 17:39:29'),(20913,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2101\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/addNew','0.0022292137145996','2016-08-18 17:39:29'),(20914,25,32,'192.168.1.220','others','SELECT *\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `journalID` =  \'AP20160800000021\'','expenses/addNew','0.00053811073303223','2016-08-18 17:39:29'),(20915,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.0003819465637207','2016-08-18 17:39:29'),(20916,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00047707557678223','2016-08-18 17:39:29'),(20917,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00063991546630859','2016-08-18 17:39:38'),(20918,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00055098533630371','2016-08-18 17:39:38'),(20919,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054097175598145','2016-08-18 17:39:38'),(20920,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-18 17:39:38'),(20921,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.076666831970215','2016-08-18 17:39:38'),(20922,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.048938035964966','2016-08-18 17:39:38'),(20923,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037600040435791','2016-08-18 17:39:39'),(20924,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.03555703163147','2016-08-18 17:39:39'),(20925,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.19598793983459','2016-08-18 17:39:39'),(20926,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00045299530029297','2016-08-18 17:39:39'),(20927,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00047397613525391','2016-08-18 17:39:39'),(20928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.002277135848999','2016-08-18 17:39:42'),(20929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 17:39:42'),(20930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:39:42'),(20931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:39:42'),(20932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:39:42'),(20933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:39:42'),(20934,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:39:42'),(20935,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-18 17:39:42'),(20936,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-18 17:39:42'),(20937,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 17:39:42'),(20938,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052618980407715','2016-08-18 17:39:42'),(20939,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:39:42'),(20940,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00063896179199219','2016-08-18 17:39:43'),(20941,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-18 17:39:43'),(20942,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 17:39:43'),(20943,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:39:43'),(20944,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-18 17:39:43'),(20945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 17:39:43'),(20946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 17:39:43'),(20947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-18 17:39:43'),(20948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055909156799316','2016-08-18 17:39:43'),(20949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00057387351989746','2016-08-18 17:39:43'),(20950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052285194396973','2016-08-18 17:39:43'),(20951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:39:43'),(20952,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00060105323791504','2016-08-18 17:39:46'),(20953,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00059199333190918','2016-08-18 17:39:47'),(20954,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-18 17:39:47'),(20955,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:39:48'),(20956,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-18 17:39:48'),(20957,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-18 17:39:48'),(20958,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 17:39:48'),(20959,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:39:48'),(20960,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:39:48'),(20961,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:39:48'),(20962,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-18 17:39:48'),(20963,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-18 17:39:48'),(20964,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 17:39:48'),(20965,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-18 17:39:48'),(20966,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.025537014007568','2016-08-18 17:39:52'),(20967,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013079643249512','2016-08-18 17:39:52'),(20968,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00136399269104','2016-08-18 17:39:52'),(20969,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013539791107178','2016-08-18 17:39:52'),(20970,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013329982757568','2016-08-18 17:39:52'),(20971,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-18 17:39:52'),(20972,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013060569763184','2016-08-18 17:39:52'),(20973,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-18 17:39:52'),(20974,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-18 17:39:52'),(20975,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013289451599121','2016-08-18 17:39:52'),(20976,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013198852539062','2016-08-18 17:39:52'),(20977,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013210773468018','2016-08-18 17:39:52'),(20978,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014898777008057','2016-08-18 17:39:53'),(20979,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-18 17:39:53'),(20980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-18 17:39:53'),(20981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013248920440674','2016-08-18 17:39:53'),(20982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013420581817627','2016-08-18 17:39:53'),(20983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013439655303955','2016-08-18 17:39:53'),(20984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-18 17:39:53'),(20985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-18 17:39:53'),(20986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-18 17:39:53'),(20987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013399124145508','2016-08-18 17:39:53'),(20988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013298988342285','2016-08-18 17:39:53'),(20989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013270378112793','2016-08-18 17:39:53'),(20990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044131278991699','2016-08-18 17:39:55'),(20991,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040769577026367','2016-08-18 17:39:55'),(20992,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041258335113525','2016-08-18 17:39:55'),(20993,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041069984436035','2016-08-18 17:39:55'),(20994,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004094123840332','2016-08-18 17:39:55'),(20995,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040249824523926','2016-08-18 17:39:55'),(20996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040621757507324','2016-08-18 17:39:55'),(20997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004019021987915','2016-08-18 17:39:55'),(20998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040280818939209','2016-08-18 17:39:55'),(20999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040631294250488','2016-08-18 17:39:55'),(21000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041279792785645','2016-08-18 17:39:55'),(21001,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041220188140869','2016-08-18 17:39:55'),(21002,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.013362884521484','2016-08-18 17:39:56'),(21003,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012860298156738','2016-08-18 17:39:56'),(21004,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.00124192237854','2016-08-18 17:39:56'),(21005,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012409687042236','2016-08-18 17:39:56'),(21006,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0060610771179199','2016-08-18 17:39:56'),(21007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042679309844971','2016-08-18 17:39:56'),(21008,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00045204162597656','2016-08-18 17:39:56'),(21009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040950775146484','2016-08-18 17:39:56'),(21010,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00049710273742676','2016-08-18 17:39:56'),(21011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004162073135376','2016-08-18 17:39:57'),(21012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041241645812988','2016-08-18 17:39:57'),(21013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041360855102539','2016-08-18 17:39:57'),(21014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041329860687256','2016-08-18 17:39:57'),(21015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041940212249756','2016-08-18 17:39:57'),(21016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041611194610596','2016-08-18 17:39:57'),(21017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041739940643311','2016-08-18 17:39:57'),(21018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041279792785645','2016-08-18 17:39:57'),(21019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040860176086426','2016-08-18 17:39:57'),(21020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041530132293701','2016-08-18 17:39:57'),(21021,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0013599395751953','2016-08-18 17:40:04'),(21022,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012741088867188','2016-08-18 17:40:04'),(21023,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.001248836517334','2016-08-18 17:40:04'),(21024,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-A\'','expenses/type','0.0012469291687012','2016-08-18 17:40:04'),(21025,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-A\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0021591186523438','2016-08-18 17:40:04'),(21026,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00042295455932617','2016-08-18 17:40:04'),(21027,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048208236694336','2016-08-18 17:40:04'),(21028,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001413106918335','2016-08-18 17:40:26'),(21029,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0013289451599121','2016-08-18 17:40:26'),(21030,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0012760162353516','2016-08-18 17:40:26'),(21031,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.001270055770874','2016-08-18 17:40:26'),(21032,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.072118997573853','2016-08-18 17:40:26'),(21033,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00043010711669922','2016-08-18 17:40:26'),(21034,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048685073852539','2016-08-18 17:40:26'),(21035,25,32,'192.168.1.220','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 25, acctName, id from comp_chart_of_acct where companyid = 25 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 25)','bank/index','0.0016880035400391','2016-08-18 17:40:38'),(21036,25,32,'192.168.1.220','others','SELECT `ca`.*, `ca`.`ID` caID, `b`.*, `b`.`ID` bankID\nFROM (`comp_bank` b)\nLEFT JOIN `comp_chart_of_acct` ca ON `ca`.`ID` = `b`.`linkAccountID`\nWHERE `ca`.`acctCode` > 220000000\nAND `b`.`companyID` =  \'25\'','bank/index','0.00089907646179199','2016-08-18 17:40:38'),(21037,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','bank/index','0.0004279613494873','2016-08-18 17:40:38'),(21038,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','bank/index','0.00048685073852539','2016-08-18 17:40:38'),(21039,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-18\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00067996978759766','2016-08-18 17:41:28'),(21040,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00056695938110352','2016-08-18 17:41:28'),(21041,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00054287910461426','2016-08-18 17:41:28'),(21042,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00053501129150391','2016-08-18 17:41:28'),(21043,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.14202117919922','2016-08-18 17:41:28'),(21044,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037678003311157','2016-08-18 17:41:28'),(21045,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037576913833618','2016-08-18 17:41:28'),(21046,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037746906280518','2016-08-18 17:41:28'),(21047,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.29293990135193','2016-08-18 17:41:28'),(21048,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0012209415435791','2016-08-18 17:41:28'),(21049,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.019574165344238','2016-08-18 17:41:28'),(21050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.021069049835205','2016-08-18 17:41:31'),(21051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-18 17:41:31'),(21052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054192543029785','2016-08-18 17:41:31'),(21053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:41:31'),(21054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053977966308594','2016-08-18 17:41:31'),(21055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:41:31'),(21056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:41:31'),(21057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056314468383789','2016-08-18 17:41:31'),(21058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:41:31'),(21059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054693222045898','2016-08-18 17:41:31'),(21060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-18 17:41:31'),(21061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:41:31'),(21062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0006248950958252','2016-08-18 17:41:33'),(21063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054383277893066','2016-08-18 17:41:33'),(21064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 17:41:33'),(21065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0005500316619873','2016-08-18 17:41:33'),(21066,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 17:41:33'),(21067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:41:33'),(21068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-18 17:41:33'),(21069,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055313110351562','2016-08-18 17:41:33'),(21070,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:41:33'),(21071,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:41:33'),(21072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:41:33'),(21073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056099891662598','2016-08-18 17:41:33'),(21074,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0006110668182373','2016-08-18 17:41:36'),(21075,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00060606002807617','2016-08-18 17:41:37'),(21076,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00055885314941406','2016-08-18 17:41:37'),(21077,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:41:37'),(21078,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-18 17:41:37'),(21079,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053906440734863','2016-08-18 17:41:37'),(21080,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:41:37'),(21081,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-18 17:41:37'),(21082,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:41:37'),(21083,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-18 17:41:37'),(21084,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-18 17:41:37'),(21085,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053691864013672','2016-08-18 17:41:37'),(21086,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-18 17:41:37'),(21087,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052404403686523','2016-08-18 17:41:37'),(21088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.35549306869507','2016-08-18 17:41:41'),(21089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013649463653564','2016-08-18 17:41:41'),(21090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014050006866455','2016-08-18 17:41:41'),(21091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013508796691895','2016-08-18 17:41:41'),(21092,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013411045074463','2016-08-18 17:41:41'),(21093,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013401508331299','2016-08-18 17:41:41'),(21094,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013279914855957','2016-08-18 17:41:41'),(21095,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-18 17:41:41'),(21096,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001323938369751','2016-08-18 17:41:41'),(21097,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013220310211182','2016-08-18 17:41:41'),(21098,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013260841369629','2016-08-18 17:41:41'),(21099,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013258457183838','2016-08-18 17:41:41'),(21100,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0015079975128174','2016-08-18 17:41:43'),(21101,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013489723205566','2016-08-18 17:41:43'),(21102,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001349925994873','2016-08-18 17:41:43'),(21103,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013458728790283','2016-08-18 17:41:43'),(21104,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013492107391357','2016-08-18 17:41:43'),(21105,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013401508331299','2016-08-18 17:41:43'),(21106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013270378112793','2016-08-18 17:41:43'),(21107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013549327850342','2016-08-18 17:41:43'),(21108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013558864593506','2016-08-18 17:41:43'),(21109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013358592987061','2016-08-18 17:41:43'),(21110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013220310211182','2016-08-18 17:41:43'),(21111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013260841369629','2016-08-18 17:41:43'),(21112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0044050216674805','2016-08-18 17:41:45'),(21113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004284143447876','2016-08-18 17:41:45'),(21114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042169094085693','2016-08-18 17:41:45'),(21115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0043048858642578','2016-08-18 17:41:45'),(21116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042738914489746','2016-08-18 17:41:45'),(21117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042850971221924','2016-08-18 17:41:45'),(21118,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042271614074707','2016-08-18 17:41:45'),(21119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041348934173584','2016-08-18 17:41:45'),(21120,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042040348052979','2016-08-18 17:41:45'),(21121,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042440891265869','2016-08-18 17:41:45'),(21122,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042810440063477','2016-08-18 17:41:45'),(21123,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041990280151367','2016-08-18 17:41:45'),(21124,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041580200195312','2016-08-18 17:41:46'),(21125,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040409564971924','2016-08-18 17:41:46'),(21126,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040469169616699','2016-08-18 17:41:46'),(21127,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040199756622314','2016-08-18 17:41:46'),(21128,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004080057144165','2016-08-18 17:41:46'),(21129,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040841102600098','2016-08-18 17:41:46'),(21130,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004040002822876','2016-08-18 17:41:46'),(21131,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-18 17:41:46'),(21132,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040791034698486','2016-08-18 17:41:46'),(21133,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041098594665527','2016-08-18 17:41:46'),(21134,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040960311889648','2016-08-18 17:41:46'),(21135,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040609836578369','2016-08-18 17:41:46'),(21136,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0015261173248291','2016-08-18 17:41:49'),(21137,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0041351318359375','2016-08-18 17:41:50'),(21138,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065302848815918','2016-08-18 17:41:54'),(21139,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 17:41:54'),(21140,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-18 17:41:54'),(21141,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-18 17:41:54'),(21142,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054311752319336','2016-08-18 17:41:54'),(21143,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-18 17:41:54'),(21144,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053119659423828','2016-08-18 17:41:54'),(21145,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00056195259094238','2016-08-18 17:41:54'),(21146,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-18 17:41:54'),(21147,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-18 17:41:54'),(21148,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-18 17:41:54'),(21149,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00054001808166504','2016-08-18 17:41:54'),(21150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0045890808105469','2016-08-18 17:41:54'),(21151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043580532073975','2016-08-18 17:41:54'),(21152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004392147064209','2016-08-18 17:41:54'),(21153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044348239898682','2016-08-18 17:41:54'),(21154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043618679046631','2016-08-18 17:41:54'),(21155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043749809265137','2016-08-18 17:41:54'),(21156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043489933013916','2016-08-18 17:41:54'),(21157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043570995330811','2016-08-18 17:41:54'),(21158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043911933898926','2016-08-18 17:41:54'),(21159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043709278106689','2016-08-18 17:41:54'),(21160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044620037078857','2016-08-18 17:41:54'),(21161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043349266052246','2016-08-18 17:41:54'),(21162,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-19\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0416100025177','2016-08-19 09:33:16'),(21163,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00055289268493652','2016-08-19 09:33:16'),(21164,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0005490779876709','2016-08-19 09:33:16'),(21165,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00053095817565918','2016-08-19 09:33:16'),(21166,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.15241813659668','2016-08-19 09:33:16'),(21167,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037523984909058','2016-08-19 09:33:16'),(21168,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.03748607635498','2016-08-19 09:33:16'),(21169,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.037720918655396','2016-08-19 09:33:16'),(21170,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.22539210319519','2016-08-19 09:33:16'),(21171,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.016641855239868','2016-08-19 09:33:16'),(21172,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.028397083282471','2016-08-19 09:33:16'),(21173,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0021359920501709','2016-08-19 09:33:19'),(21174,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-19 09:33:20'),(21175,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053620338439941','2016-08-19 09:33:20'),(21176,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-19 09:33:20'),(21177,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-19 09:33:20'),(21178,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-19 09:33:20'),(21179,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-19 09:33:20'),(21180,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-19 09:33:20'),(21181,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-19 09:33:20'),(21182,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005340576171875','2016-08-19 09:33:20'),(21183,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-19 09:33:20'),(21184,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-19 09:33:20'),(21185,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-19 09:33:21'),(21186,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-19 09:33:21'),(21187,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053596496582031','2016-08-19 09:33:21'),(21188,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-19 09:33:21'),(21189,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-19 09:33:21'),(21190,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052690505981445','2016-08-19 09:33:21'),(21191,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-19 09:33:21'),(21192,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-19 09:33:21'),(21193,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-19 09:33:21'),(21194,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-19 09:33:21'),(21195,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051999092102051','2016-08-19 09:33:21'),(21196,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-19 09:33:21'),(21197,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00059795379638672','2016-08-19 09:33:24'),(21198,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0006098747253418','2016-08-19 09:33:26'),(21199,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00056314468383789','2016-08-19 09:33:26'),(21200,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054097175598145','2016-08-19 09:33:26'),(21201,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-19 09:33:26'),(21202,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-19 09:33:26'),(21203,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-19 09:33:26'),(21204,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053191184997559','2016-08-19 09:33:26'),(21205,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053215026855469','2016-08-19 09:33:26'),(21206,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-19 09:33:26'),(21207,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-19 09:33:26'),(21208,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052714347839355','2016-08-19 09:33:26'),(21209,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-19 09:33:26'),(21210,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005180835723877','2016-08-19 09:33:26'),(21211,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052309036254883','2016-08-19 09:33:26'),(21212,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-19 09:33:26'),(21213,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-19 09:33:26'),(21214,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053000450134277','2016-08-19 09:33:26'),(21215,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00054621696472168','2016-08-19 09:33:26'),(21216,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-19 09:33:26'),(21217,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-19 09:33:26'),(21218,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053811073303223','2016-08-19 09:33:26'),(21219,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-19 09:33:26'),(21220,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005190372467041','2016-08-19 09:33:26'),(21221,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052905082702637','2016-08-19 09:33:26'),(21222,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-19 09:33:26'),(21223,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052809715270996','2016-08-19 09:33:26'),(21224,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-19 09:33:26'),(21225,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052499771118164','2016-08-19 09:33:26'),(21226,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00048589706420898','2016-08-19 09:33:26'),(21227,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047993659973145','2016-08-19 09:33:26'),(21228,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047492980957031','2016-08-19 09:33:26'),(21229,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00046992301940918','2016-08-19 09:33:26'),(21230,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00049400329589844','2016-08-19 09:33:26'),(21231,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047206878662109','2016-08-19 09:33:26'),(21232,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047421455383301','2016-08-19 09:33:26'),(21233,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00047206878662109','2016-08-19 09:33:26'),(21234,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00049209594726562','2016-08-19 09:33:26'),(21235,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.076373100280762','2016-08-19 09:33:32'),(21236,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013461112976074','2016-08-19 09:33:32'),(21237,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013589859008789','2016-08-19 09:33:32'),(21238,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-19 09:33:32'),(21239,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013260841369629','2016-08-19 09:33:32'),(21240,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013351440429688','2016-08-19 09:33:32'),(21241,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013110637664795','2016-08-19 09:33:32'),(21242,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013349056243896','2016-08-19 09:33:32'),(21243,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-19 09:33:32'),(21244,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013220310211182','2016-08-19 09:33:32'),(21245,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-19 09:33:32'),(21246,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.001338005065918','2016-08-19 09:33:32'),(21247,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0014939308166504','2016-08-19 09:33:34'),(21248,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013229846954346','2016-08-19 09:33:34'),(21249,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-19 09:33:34'),(21250,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013198852539062','2016-08-19 09:33:34'),(21251,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-19 09:33:34'),(21252,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013339519500732','2016-08-19 09:33:34'),(21253,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013151168823242','2016-08-19 09:33:34'),(21254,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013210773468018','2016-08-19 09:33:34'),(21255,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0018200874328613','2016-08-19 09:33:34'),(21256,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013189315795898','2016-08-19 09:33:34'),(21257,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013060569763184','2016-08-19 09:33:34'),(21258,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0013179779052734','2016-08-19 09:33:34'),(21259,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004749059677124','2016-08-19 09:33:37'),(21260,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040490627288818','2016-08-19 09:33:37'),(21261,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041751861572266','2016-08-19 09:33:37'),(21262,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042481422424316','2016-08-19 09:33:37'),(21263,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041708946228027','2016-08-19 09:33:37'),(21264,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042181015014648','2016-08-19 09:33:37'),(21265,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041520595550537','2016-08-19 09:33:37'),(21266,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041608810424805','2016-08-19 09:33:37'),(21267,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042481422424316','2016-08-19 09:33:37'),(21268,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041611194610596','2016-08-19 09:33:37'),(21269,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041909217834473','2016-08-19 09:33:37'),(21270,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0042150020599365','2016-08-19 09:33:37'),(21271,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0041649341583252','2016-08-19 09:33:39'),(21272,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003993034362793','2016-08-19 09:33:39'),(21273,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039968490600586','2016-08-19 09:33:39'),(21274,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040111541748047','2016-08-19 09:33:39'),(21275,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040810108184814','2016-08-19 09:33:39'),(21276,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040020942687988','2016-08-19 09:33:39'),(21277,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040051937103271','2016-08-19 09:33:39'),(21278,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040960311889648','2016-08-19 09:33:39'),(21279,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0039420127868652','2016-08-19 09:33:39'),(21280,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.004011869430542','2016-08-19 09:33:39'),(21281,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0040030479431152','2016-08-19 09:33:39'),(21282,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.003986120223999','2016-08-19 09:33:39'),(21283,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.0014839172363281','2016-08-19 09:33:44'),(21284,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.004019021987915','2016-08-19 09:33:44'),(21285,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00066304206848145','2016-08-19 09:33:51'),(21286,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052189826965332','2016-08-19 09:33:51'),(21287,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0005338191986084','2016-08-19 09:33:51'),(21288,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-19 09:33:51'),(21289,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053286552429199','2016-08-19 09:33:51'),(21290,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053882598876953','2016-08-19 09:33:51'),(21291,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052213668823242','2016-08-19 09:33:51'),(21292,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00055408477783203','2016-08-19 09:33:51'),(21293,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053310394287109','2016-08-19 09:33:51'),(21294,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053501129150391','2016-08-19 09:33:51'),(21295,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00052094459533691','2016-08-19 09:33:51'),(21296,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00053787231445312','2016-08-19 09:33:51'),(21297,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0044150352478027','2016-08-19 09:33:51'),(21298,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042369365692139','2016-08-19 09:33:51'),(21299,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042350292205811','2016-08-19 09:33:51'),(21300,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043289661407471','2016-08-19 09:33:51'),(21301,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.004256010055542','2016-08-19 09:33:51'),(21302,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042970180511475','2016-08-19 09:33:51'),(21303,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043737888336182','2016-08-19 09:33:51'),(21304,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042381286621094','2016-08-19 09:33:51'),(21305,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042409896850586','2016-08-19 09:33:51'),(21306,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0043339729309082','2016-08-19 09:33:51'),(21307,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042798519134521','2016-08-19 09:33:51'),(21308,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0042400360107422','2016-08-19 09:33:52'),(21309,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-19\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00063300132751465','2016-08-19 09:49:39'),(21310,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055599212646484','2016-08-19 09:49:40'),(21311,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00055098533630371','2016-08-19 09:49:40'),(21312,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','sales/saleslist','0.00053191184997559','2016-08-19 09:49:40'),(21313,24,31,'192.168.1.204','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'24\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00069785118103027','2016-08-19 09:49:40'),(21314,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.2768759727478','2016-08-19 09:49:40'),(21315,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.010622978210449','2016-08-19 09:49:40'),(21316,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-19\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.09210205078125','2016-08-19 09:50:02'),(21317,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-15\'\nAND `paymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012822151184082','2016-08-19 09:50:02'),(21318,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012609958648682','2016-08-19 09:50:02'),(21319,24,31,'192.168.1.204','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0012590885162354','2016-08-19 09:50:02'),(21320,24,31,'192.168.1.204','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.060597896575928','2016-08-19 09:50:02'),(21321,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00040698051452637','2016-08-19 09:50:02'),(21322,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00048208236694336','2016-08-19 09:50:02'),(21323,23,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.091202020645142','2016-08-19 09:58:21'),(21324,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0015749931335449','2016-08-19 09:58:26'),(21325,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0016489028930664','2016-08-19 09:58:36'),(21326,13,10,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0025949478149414','2016-08-19 15:17:24'),(21327,13,10,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.086304903030396','2016-08-19 15:17:38'),(21328,13,10,'192.168.1.199','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0015490055084229','2016-08-19 15:22:56'),(21329,13,10,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'10\', 1, 1, \'68\', \'1100\', \'OP-E\', \'2016-08-19\', \'126\', \'1\')','expenses/saveExpense','0.053822040557861','2016-08-19 15:28:54'),(21330,13,10,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2144, \'10\', \'Petronas\', 1, \'32787\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.050525903701782','2016-08-19 15:28:54'),(21331,13,10,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2144, \'10\', \'Sewa\', 1, \'32793\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016417026519775','2016-08-19 15:28:54'),(21332,13,10,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  \'282\'','expenses/saveExpense','0.032009124755859','2016-08-19 15:28:54'),(21333,13,10,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000035\' WHERE `ID` =  2144','expenses/saveExpense','0.024769067764282','2016-08-19 15:28:54'),(21334,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000035\', \'Operating Expenses [OP-E[00000072]]\', \'Operating Expenses [OP-E[00000072]]\', \'\', \'3\', \'2016-08-19\', \'16\', \'08\', 1100, 1100, \'10\')','expenses/saveExpense','0.037055969238281','2016-08-19 15:28:54'),(21335,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000035\', 1, \'Petronas\', \'32765\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/saveExpense','0.032572031021118','2016-08-19 15:28:54'),(21336,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000035\', 2, \'Petronas\', \'32787\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/saveExpense','0.016946077346802','2016-08-19 15:28:54'),(21337,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000035\', 3, \'Sewa\', \'32765\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/saveExpense','0.13613986968994','2016-08-19 15:28:54'),(21338,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000035\', 4, \'Sewa\', \'32793\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/saveExpense','0.020850896835327','2016-08-19 15:28:54'),(21339,13,10,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1100, `total_amount_cr` = 1100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000035\'','expenses/saveExpense','0.016819000244141','2016-08-19 15:28:54'),(21340,13,10,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2144','expenses/saveExpense','0.016077041625977','2016-08-19 15:28:54'),(21341,13,10,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11182','expenses/saveExpense','0.025173902511597','2016-08-19 15:28:54'),(21342,13,10,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000035\'','expenses/saveExpense','0.032668828964233','2016-08-19 15:28:54'),(21343,13,10,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.031349897384644','2016-08-19 15:28:54'),(21344,13,10,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32787\', \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-19: 09:08:54\')','expenses/saveExpense','0.014843940734863','2016-08-19 15:28:54'),(21345,13,10,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015411138534546','2016-08-19 15:28:54'),(21346,13,10,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32793\', \'2016\', \'8\', \'1000\', \'0\', 1000, \'User\', \'2016-08-19: 09:08:54\')','expenses/saveExpense','0.014873027801514','2016-08-19 15:28:54'),(21347,13,10,'192.168.1.199','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0016641616821289','2016-08-19 15:31:43'),(21348,13,10,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'10\', 1, 1, \'68\', \'10.6\', \'OP-E\', \'2016-08-19\', \'126\', \'1\')','expenses/saveExpense','0.071386098861694','2016-08-19 15:36:17'),(21349,13,10,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2145, \'10\', \'GST for Pen Biru\', 1, \'32780\', \'0.6\', \'0.6\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016369104385376','2016-08-19 15:36:17'),(21350,13,10,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2145, \'10\', \'Pen Biru\', 1, \'32786\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016418933868408','2016-08-19 15:36:17'),(21351,13,10,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  \'282\'','expenses/saveExpense','0.033818960189819','2016-08-19 15:36:17'),(21352,13,10,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000036\' WHERE `ID` =  2145','expenses/saveExpense','0.016160011291504','2016-08-19 15:36:17'),(21353,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000036\', \'Operating Expenses [OP-E[00000073]]\', \'Operating Expenses [OP-E[00000073]]\', \'\', \'3\', \'2016-08-19\', \'16\', \'08\', 10.6, 10.6, \'10\')','expenses/saveExpense','0.021505832672119','2016-08-19 15:36:17'),(21354,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000036\', 1, \'GST for Pen Biru\', \'32765\', 0.6, 1, \'1\', \'0.6\', \'08\', \'16\', \'1\', \'OP-E[00000073]\', \'User\')','expenses/saveExpense','0.057858943939209','2016-08-19 15:36:17'),(21355,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000036\', 2, \'GST for Pen Biru\', \'32780\', 0.6, 1, \'1\', \'0.6\', \'08\', \'16\', \'1\', \'OP-E[00000073]\', \'User\')','expenses/saveExpense','0.015753984451294','2016-08-19 15:36:17'),(21356,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000036\', 3, \'Pen Biru\', \'32765\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-E[00000073]\', \'User\')','expenses/saveExpense','0.025027990341187','2016-08-19 15:36:17'),(21357,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000036\', 4, \'Pen Biru\', \'32786\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-E[00000073]\', \'User\')','expenses/saveExpense','0.016236066818237','2016-08-19 15:36:17'),(21358,13,10,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 10.6, `total_amount_cr` = 10.6, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000036\'','expenses/saveExpense','0.024713039398193','2016-08-19 15:36:17'),(21359,13,10,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2145','expenses/saveExpense','0.024823904037476','2016-08-19 15:36:17'),(21360,13,10,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11183','expenses/saveExpense','0.024505138397217','2016-08-19 15:36:17'),(21361,13,10,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000036\'','expenses/saveExpense','0.17497205734253','2016-08-19 15:36:17'),(21362,13,10,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.031374931335449','2016-08-19 15:36:17'),(21363,13,10,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32780\', \'2016\', \'8\', \'0.6\', \'0\', 0.6, \'User\', \'2016-08-19: 09:08:17\')','expenses/saveExpense','0.037160873413086','2016-08-19 15:36:17'),(21364,13,10,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.026437044143677','2016-08-19 15:36:17'),(21365,13,10,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32786\', \'2016\', \'8\', \'10\', \'0\', 10, \'User\', \'2016-08-19: 09:08:17\')','expenses/saveExpense','0.014878988265991','2016-08-19 15:36:17'),(21366,13,10,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'10\', 1, 1, \'68\', \'1000\', \'OP-L\', \'2016-08-19\', \'123\', \'1\')','expenses/saveExpense','0.11245203018188','2016-08-19 15:37:28'),(21367,13,10,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2146, \'10\', \'January\', 1, \'32768\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.042046070098877','2016-08-19 15:37:28'),(21368,13,10,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  \'282\'','expenses/saveExpense','0.032068967819214','2016-08-19 15:37:28'),(21369,13,10,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000037\' WHERE `ID` =  2146','expenses/saveExpense','0.016427040100098','2016-08-19 15:37:28'),(21370,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000037\', \'Loan Repayment [OP-L[00000074]]\', \'Loan Repayment [OP-L[00000074]]\', \'\', \'3\', \'2016-08-19\', \'16\', \'08\', 1000, 1000, \'10\')','expenses/saveExpense','0.020767211914062','2016-08-19 15:37:28'),(21371,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000037\', 1, \'January\', \'32762\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-L[00000074]\', \'User\')','expenses/saveExpense','0.01524806022644','2016-08-19 15:37:28'),(21372,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000037\', 2, \'January\', \'32768\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-L[00000074]\', \'User\')','expenses/saveExpense','0.017206192016602','2016-08-19 15:37:28'),(21373,13,10,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000037\'','expenses/saveExpense','0.016391038894653','2016-08-19 15:37:28'),(21374,13,10,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2146','expenses/saveExpense','0.016499996185303','2016-08-19 15:37:28'),(21375,13,10,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11184','expenses/saveExpense','0.01643705368042','2016-08-19 15:37:28'),(21376,13,10,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000037\'','expenses/saveExpense','0.033073902130127','2016-08-19 15:37:28'),(21377,13,10,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.026402950286865','2016-08-19 15:37:28'),(21378,13,10,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32768\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023119926452637','2016-08-19 15:37:28'),(21379,13,10,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-19\', \'123\', \'10000\', \'LR\', \'Bank Rakyat	\', \'13\', 3)','loanReceive/save_new_loan','0.089094877243042','2016-08-19 15:38:04'),(21380,13,10,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2205, 1, \'32767\', \'10000\', \'Loan Bank Rakyat\')','loanReceive/save_new_loan','0.017532110214233','2016-08-19 15:38:04'),(21381,13,10,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'297\'','loanReceive/save_new_loan','0.031194925308228','2016-08-19 15:38:04'),(21382,13,10,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000017\' WHERE `ID` =  2205','loanReceive/save_new_loan','0.04973292350769','2016-08-19 15:38:04'),(21383,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000017\', \'LR[00000027]\', \'Loan Received [ LR[00000027] ]\', \'\', \'3\', \'2016-08-19\', \'2016\', \'08\', 10000, 10000, \'User\')','loanReceive/save_new_loan','0.020730018615723','2016-08-19 15:38:04'),(21384,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000017\', 1, \'Loan Bank Rakyat\', \'32767\', \'Bank Rakyat	\', 10000, \'1\', \'1\', \'10000\', \'08\', \'2016\', \'1\', \'LR[00000027]\', \'0\', \'User\')','loanReceive/save_new_loan','0.041152000427246','2016-08-19 15:38:04'),(21385,13,10,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000017\', \'Loan Bank Rakyat\', \'32762\', \'Bank Rakyat	\', 10000, \'1\', \'1\', \'10000\', \'08\', \'2016\', \'LR[00000027]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016155004501343','2016-08-19 15:38:04'),(21386,13,10,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.015676021575928','2016-08-19 15:38:04'),(21387,13,10,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2205','loanReceive/save_new_loan','0.017155170440674','2016-08-19 15:38:04'),(21388,13,10,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11185','loanReceive/save_new_loan','0.024797916412354','2016-08-19 15:38:04'),(21389,13,10,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000017\'','loanReceive/save_new_loan','0.033078908920288','2016-08-19 15:38:04'),(21390,13,10,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.13273906707764','2016-08-19 15:38:04'),(21391,13,10,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.036909103393555','2016-08-19 15:38:04'),(21392,1,26,'192.168.1.136','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-19\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','home/index','0.0021278858184814','2016-08-19 16:58:58'),(21393,1,26,'192.168.1.136','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','home/index','0.00057792663574219','2016-08-19 16:58:58'),(21394,1,26,'192.168.1.136','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','home/index','0.00055599212646484','2016-08-19 16:58:58'),(21395,1,26,'192.168.1.136','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','home/index','0.00053787231445312','2016-08-19 16:58:58'),(21396,1,26,'192.168.1.136','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.050101041793823','2016-08-19 16:58:58'),(21397,1,26,'192.168.1.136','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.037888050079346','2016-08-19 16:58:58'),(21398,1,26,'192.168.1.136','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.037702083587646','2016-08-19 16:58:58'),(21399,1,26,'192.168.1.136','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.038199901580811','2016-08-19 16:58:58'),(21400,1,26,'192.168.1.136','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.17341709136963','2016-08-19 16:58:58'),(21401,1,26,'192.168.1.136','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.001168966293335','2016-08-19 16:58:58'),(21402,1,26,'192.168.1.136','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0011630058288574','2016-08-19 16:58:58'),(21403,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.0022358894348145','2016-08-19 16:59:04'),(21404,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00051593780517578','2016-08-19 16:59:04'),(21405,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00049901008605957','2016-08-19 16:59:04'),(21406,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00049281120300293','2016-08-19 16:59:04'),(21407,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00049185752868652','2016-08-19 16:59:04'),(21408,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00048685073852539','2016-08-19 16:59:04'),(21409,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00048017501831055','2016-08-19 16:59:04'),(21410,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00050997734069824','2016-08-19 16:59:04'),(21411,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00048613548278809','2016-08-19 16:59:04'),(21412,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.0004880428314209','2016-08-19 16:59:04'),(21413,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00047707557678223','2016-08-19 16:59:04'),(21414,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00048589706420898','2016-08-19 16:59:04'),(21415,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00065088272094727','2016-08-19 16:59:05'),(21416,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00056695938110352','2016-08-19 16:59:05'),(21417,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00053715705871582','2016-08-19 16:59:05'),(21418,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-19 16:59:05'),(21419,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00054597854614258','2016-08-19 16:59:05'),(21420,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00054717063903809','2016-08-19 16:59:05'),(21421,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00054502487182617','2016-08-19 16:59:05'),(21422,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00055599212646484','2016-08-19 16:59:05'),(21423,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00053095817565918','2016-08-19 16:59:05'),(21424,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00054478645324707','2016-08-19 16:59:05'),(21425,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00054287910461426','2016-08-19 16:59:05'),(21426,1,26,'192.168.1.136','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00054383277893066','2016-08-19 16:59:05'),(21427,1,26,'192.168.1.136','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-19\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','sales/saleslist','0.0005948543548584','2016-08-19 16:59:05'),(21428,1,26,'192.168.1.136','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-15\'\nAND `receivePaymentDate` <= \'2016-08-21\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','sales/saleslist','0.0005500316619873','2016-08-19 16:59:05'),(21429,1,26,'192.168.1.136','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','sales/saleslist','0.00055098533630371','2016-08-19 16:59:05'),(21430,1,26,'192.168.1.136','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','sales/saleslist','0.00053095817565918','2016-08-19 16:59:05'),(21431,1,26,'192.168.1.136','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'1\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00068283081054688','2016-08-19 16:59:05'),(21432,1,26,'192.168.1.136','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00041389465332031','2016-08-19 16:59:05'),(21433,1,26,'192.168.1.136','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00050806999206543','2016-08-19 16:59:05'),(21434,1,26,'192.168.1.136','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=1','sales/print_sale','0.23810982704163','2016-08-19 16:59:09'),(21435,1,26,'192.168.1.136','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'2188\'\nAND `companyID` =  \'1\'','sales/print_sale','0.00044417381286621','2016-08-19 16:59:09'),(21436,1,26,'192.168.1.136','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'2188\'','sales/print_sale','0.0021219253540039','2016-08-19 16:59:09'),(21437,1,26,'192.168.1.136','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=1','sales/print_sale','0.00057411193847656','2016-08-19 16:59:09'),(21438,26,33,'192.168.1.136','update','UPDATE `company` SET `businessIndustryID` = \'\', `businessTypeID` = \'8\', `incorporateDate` = \'2016-08-01\' WHERE `ID` =  \'26\'','setup/updateCompany','0.023342132568359','2016-08-19 17:06:23'),(21439,26,33,'192.168.1.136','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'\', `businessTypeID` = \'8\', `incorporateDate` = \'2016-08-01\' WHERE `ID` =  \'26\'','setup/updateCompany','0.021327972412109','2016-08-19 17:06:23'),(21440,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-08-19\', \'82\', \'1\')','expenses/saveExpense','0.062556982040405','2016-08-19 17:06:46'),(21441,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2147, \'1\', \'Item A\', 1, \'32527\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.011428833007812','2016-08-19 17:06:46'),(21442,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'300\'','expenses/saveExpense','0.012463092803955','2016-08-19 17:06:46'),(21443,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000006\' WHERE `ID` =  2147','expenses/saveExpense','0.012916088104248','2016-08-19 17:06:46'),(21444,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000006\', \'Cost of Goods Sold [OP-C[00000626]]\', \'Cost of Goods Sold [OP-C[00000626]]\', \'\', \'3\', \'2016-08-19\', \'16\', \'08\', 1000, 1000, \'1\')','expenses/saveExpense','0.015986919403076','2016-08-19 17:06:46'),(21445,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000006\', 1, \'Item A\', \'32515\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000626]\', \'User\')','expenses/saveExpense','0.024529933929443','2016-08-19 17:06:46'),(21446,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000006\', 2, \'Item A\', \'32527\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000626]\', \'User\')','expenses/saveExpense','0.012966871261597','2016-08-19 17:06:46'),(21447,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.019897222518921','2016-08-19 17:06:46'),(21448,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2147','expenses/saveExpense','0.13793396949768','2016-08-19 17:06:46'),(21449,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11186','expenses/saveExpense','0.028002023696899','2016-08-19 17:06:46'),(21450,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000006\'','expenses/saveExpense','0.012679815292358','2016-08-19 17:06:46'),(21451,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022429943084717','2016-08-19 17:06:46'),(21452,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015100002288818','2016-08-19 17:06:46'),(21453,26,33,'192.168.1.136','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-08-01\' WHERE `ID` =  \'26\'','setup/updateCompany','0.015781879425049','2016-08-19 17:06:47'),(21454,26,33,'192.168.1.136','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-08-01\' WHERE `ID` =  \'26\'','setup/updateCompany','0.011796951293945','2016-08-19 17:06:47'),(21455,26,33,'192.168.1.136','update','UPDATE `company` SET `companyName` = \'HAS APPAREL SDN BHD\', `line1` = \'No. 800, Jalan Kelana Jaya\', `line2` = \'\', `line3` = \'Kelana Jaya\', `city` = \'Kelana Jaya\', `companyPostCode` = \'68500\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'0125556633\', `faxNo` = \'+60361855444\', `email` = \'has@gmail.com\', `incorporateDate` = \'2016-08-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'26\'','setup/companySetup','0.019819021224976','2016-08-19 17:07:05'),(21456,26,33,'192.168.1.136','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'HAS APPAREL SDN BHD\', `line1` = \'No. 800, Jalan Kelana Jaya\', `line2` = \'\', `line3` = \'Kelana Jaya\', `city` = \'Kelana Jaya\', `companyPostCode` = \'68500\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'0125556633\', `faxNo` = \'+60361855444\', `email` = \'has@gmail.com\', `incorporateDate` = \'2016-08-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'26\'','setup/companySetup','0.06990909576416','2016-08-19 17:07:05'),(21457,26,33,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 26, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 26)','setup/assetSetup','0.022008180618286','2016-08-19 17:07:35'),(21458,26,33,'192.168.1.136','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 26, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 26)','setup/assetSetup','0.0016379356384277','2016-08-19 17:07:41'),(21459,26,33,'192.168.1.136','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 26, acctName, id from comp_chart_of_acct where companyid = 26 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 26)','bank/index','0.018813133239746','2016-08-19 17:07:43'),(21460,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'1000\', \'OP-C\', \'2016-08-19\', \'83\', \'1\')','expenses/saveExpense','0.062103986740112','2016-08-19 17:09:20'),(21461,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2148, \'1\', \'Item ABC\', 1, \'32527\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.011973142623901','2016-08-19 17:09:20'),(21462,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'300\'','expenses/saveExpense','0.01335597038269','2016-08-19 17:09:20'),(21463,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000007\' WHERE `ID` =  2148','expenses/saveExpense','0.011932134628296','2016-08-19 17:09:20'),(21464,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000007\', \'Cost of Goods Sold [OP-C[00000627]]\', \'Cost of Goods Sold [OP-C[00000627]]\', \'\', \'3\', \'2016-08-19\', \'16\', \'08\', 1000, 1000, \'1\')','expenses/saveExpense','0.034178972244263','2016-08-19 17:09:20'),(21465,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000007\', 1, \'Item ABC\', \'32516\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000627]\', \'User\')','expenses/saveExpense','0.020027875900269','2016-08-19 17:09:20'),(21466,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000007\', 2, \'Item ABC\', \'32527\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000627]\', \'User\')','expenses/saveExpense','0.012396097183228','2016-08-19 17:09:20'),(21467,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.011839151382446','2016-08-19 17:09:20'),(21468,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2148','expenses/saveExpense','0.0081639289855957','2016-08-19 17:09:20'),(21469,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11187','expenses/saveExpense','0.012964010238647','2016-08-19 17:09:20'),(21470,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000007\'','expenses/saveExpense','0.011560916900635','2016-08-19 17:09:20'),(21471,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01421594619751','2016-08-19 17:09:20'),(21472,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.010581016540527','2016-08-19 17:09:20'),(21473,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0046558380126953','2016-08-19 17:12:07'),(21474,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0016608238220215','2016-08-19 17:13:16'),(21475,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'6900\', \'OP-C\', \'2016-01-01\', \'148\', \'1\')','expenses/saveExpense','0.05858588218689','2016-08-22 09:10:45'),(21476,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.019757986068726','2016-08-22 09:10:45'),(21477,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 01\', 1, \'33019\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.013225793838501','2016-08-22 09:10:46'),(21478,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 02\', 1, \'33019\', \'300\', \'300\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0081698894500732','2016-08-22 09:10:46'),(21479,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 03\', 1, \'33019\', \'300\', \'300\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012549877166748','2016-08-22 09:10:46'),(21480,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 04\', 1, \'33019\', \'400\', \'400\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012175798416138','2016-08-22 09:10:46'),(21481,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 05\', 1, \'33019\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.020898818969727','2016-08-22 09:10:46'),(21482,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 06\', 1, \'33019\', \'600\', \'600\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01213002204895','2016-08-22 09:10:46'),(21483,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 07\', 1, \'33019\', \'700\', \'700\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016538858413696','2016-08-22 09:10:46'),(21484,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 08\', 1, \'33019\', \'800\', \'800\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0081639289855957','2016-08-22 09:10:46'),(21485,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 09\', 1, \'33019\', \'900\', \'900\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01256799697876','2016-08-22 09:10:46'),(21486,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 10\', 1, \'33019\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.024717807769775','2016-08-22 09:10:46'),(21487,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2149, \'28\', \'22/8/2016 11\', 1, \'33019\', \'1100\', \'1100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016613960266113','2016-08-22 09:10:46'),(21488,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'311\'','expenses/saveExpense','0.026678085327148','2016-08-22 09:10:46'),(21489,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000007\' WHERE `ID` =  2149','expenses/saveExpense','0.016227006912231','2016-08-22 09:10:46'),(21490,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', \'Cost of Goods Sold [OP-C[00000050]]\', \'Cost of Goods Sold [OP-C[00000050]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 6900, 6900, \'28\')','expenses/saveExpense','0.0098350048065186','2016-08-22 09:10:46'),(21491,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 1, \'22/8/2016\', \'33007\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.037539005279541','2016-08-22 09:10:46'),(21492,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 2, \'22/8/2016\', \'33019\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.011923789978027','2016-08-22 09:10:46'),(21493,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 3, \'22/8/2016 01\', \'33007\', 200, 1, \'1\', \'200\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.016424894332886','2016-08-22 09:10:46'),(21494,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 4, \'22/8/2016 01\', \'33019\', 200, 1, \'1\', \'200\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.0081119537353516','2016-08-22 09:10:46'),(21495,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 5, \'22/8/2016 02\', \'33007\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.020887136459351','2016-08-22 09:10:46'),(21496,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 6, \'22/8/2016 02\', \'33019\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.011947870254517','2016-08-22 09:10:46'),(21497,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 7, \'22/8/2016 03\', \'33007\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.012550115585327','2016-08-22 09:10:46'),(21498,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 8, \'22/8/2016 03\', \'33019\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.011947154998779','2016-08-22 09:10:46'),(21499,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 9, \'22/8/2016 04\', \'33007\', 400, 1, \'1\', \'400\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.01258397102356','2016-08-22 09:10:46'),(21500,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 10, \'22/8/2016 04\', \'33019\', 400, 1, \'1\', \'400\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.011945009231567','2016-08-22 09:10:46'),(21501,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 11, \'22/8/2016 05\', \'33007\', 500, 1, \'1\', \'500\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.012578010559082','2016-08-22 09:10:46'),(21502,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 12, \'22/8/2016 05\', \'33019\', 500, 1, \'1\', \'500\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.0119309425354','2016-08-22 09:10:46'),(21503,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 13, \'22/8/2016 06\', \'33007\', 600, 1, \'1\', \'600\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.012593030929565','2016-08-22 09:10:46'),(21504,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 14, \'22/8/2016 06\', \'33019\', 600, 1, \'1\', \'600\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.011934041976929','2016-08-22 09:10:46'),(21505,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 15, \'22/8/2016 07\', \'33007\', 700, 1, \'1\', \'700\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.012578010559082','2016-08-22 09:10:46'),(21506,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 16, \'22/8/2016 07\', \'33019\', 700, 1, \'1\', \'700\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.011945962905884','2016-08-22 09:10:46'),(21507,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 17, \'22/8/2016 08\', \'33007\', 800, 1, \'1\', \'800\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.012555837631226','2016-08-22 09:10:46'),(21508,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 18, \'22/8/2016 08\', \'33019\', 800, 1, \'1\', \'800\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.011965036392212','2016-08-22 09:10:46'),(21509,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 19, \'22/8/2016 09\', \'33007\', 900, 1, \'1\', \'900\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.12484502792358','2016-08-22 09:10:46'),(21510,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 20, \'22/8/2016 09\', \'33019\', 900, 1, \'1\', \'900\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.016259908676147','2016-08-22 09:10:46'),(21511,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 21, \'22/8/2016 10\', \'33007\', 1000, 1, \'1\', \'1000\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.020888090133667','2016-08-22 09:10:46'),(21512,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 22, \'22/8/2016 10\', \'33019\', 1000, 1, \'1\', \'1000\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.033365964889526','2016-08-22 09:10:46'),(21513,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 23, \'22/8/2016 11\', \'33007\', 1100, 1, \'1\', \'1100\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.011620044708252','2016-08-22 09:10:46'),(21514,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000007\', 24, \'22/8/2016 11\', \'33019\', 1100, 1, \'1\', \'1100\', \'01\', \'16\', \'1\', \'OP-C[00000050]\', \'User\')','expenses/saveExpense','0.0080687999725342','2016-08-22 09:10:46'),(21515,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 6900, `total_amount_cr` = 6900, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000007\'','expenses/saveExpense','0.016484975814819','2016-08-22 09:10:46'),(21516,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2149','expenses/saveExpense','0.016526937484741','2016-08-22 09:10:46'),(21517,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11188','expenses/saveExpense','0.012657880783081','2016-08-22 09:10:46'),(21518,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000007\'','expenses/saveExpense','0.012032032012939','2016-08-22 09:10:46'),(21519,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.02250599861145','2016-08-22 09:10:46'),(21520,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01624608039856','2016-08-22 09:10:46'),(21521,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.019574880599976','2016-08-22 09:10:46'),(21522,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012341022491455','2016-08-22 09:10:46'),(21523,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011233806610107','2016-08-22 09:10:46'),(21524,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.020732164382935','2016-08-22 09:10:46'),(21525,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011229038238525','2016-08-22 09:10:46'),(21526,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012408018112183','2016-08-22 09:10:46'),(21527,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011234045028687','2016-08-22 09:10:46'),(21528,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012391090393066','2016-08-22 09:10:46'),(21529,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015723943710327','2016-08-22 09:10:46'),(21530,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011532068252563','2016-08-22 09:10:46'),(21531,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012113094329834','2016-08-22 09:10:46'),(21532,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011515855789185','2016-08-22 09:10:46'),(21533,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01213812828064','2016-08-22 09:10:46'),(21534,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.016277074813843','2016-08-22 09:10:46'),(21535,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011223077774048','2016-08-22 09:10:46'),(21536,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012441873550415','2016-08-22 09:10:46'),(21537,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01121187210083','2016-08-22 09:10:46'),(21538,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012423038482666','2016-08-22 09:10:46'),(21539,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011220932006836','2016-08-22 09:10:46'),(21540,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015990972518921','2016-08-22 09:10:46'),(21541,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015953063964844','2016-08-22 09:10:46'),(21542,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012431144714355','2016-08-22 09:10:46'),(21543,23,28,'192.168.1.201','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2067\'','expenses/removeDetail','0.035676956176758','2016-08-22 09:12:24'),(21544,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49013\'','expenses/saveExpense','0.025467872619629','2016-08-22 09:12:25'),(21545,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49014\'','expenses/saveExpense','0.012439012527466','2016-08-22 09:12:25'),(21546,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49015\'','expenses/saveExpense','0.016232967376709','2016-08-22 09:12:25'),(21547,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49016\'','expenses/saveExpense','0.012509822845459','2016-08-22 09:12:25'),(21548,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49017\'','expenses/saveExpense','0.0122230052948','2016-08-22 09:12:25'),(21549,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49018\'','expenses/saveExpense','0.01683783531189','2016-08-22 09:12:25'),(21550,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49019\'','expenses/saveExpense','0.012205123901367','2016-08-22 09:12:25'),(21551,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49020\'','expenses/saveExpense','0.01255202293396','2016-08-22 09:12:25'),(21552,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49021\'','expenses/saveExpense','0.012190103530884','2016-08-22 09:12:25'),(21553,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49022\'','expenses/saveExpense','0.079210996627808','2016-08-22 09:12:25'),(21554,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49023\'','expenses/saveExpense','0.012185096740723','2016-08-22 09:12:25'),(21555,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49024\'','expenses/saveExpense','0.012524127960205','2016-08-22 09:12:25'),(21556,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49025\'','expenses/saveExpense','0.012231111526489','2016-08-22 09:12:25'),(21557,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49026\'','expenses/saveExpense','0.012449026107788','2016-08-22 09:12:25'),(21558,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49027\'','expenses/saveExpense','0.012202024459839','2016-08-22 09:12:25'),(21559,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49028\'','expenses/saveExpense','0.012533903121948','2016-08-22 09:12:25'),(21560,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49029\'','expenses/saveExpense','0.012205839157104','2016-08-22 09:12:25'),(21561,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49030\'','expenses/saveExpense','0.012533187866211','2016-08-22 09:12:25'),(21562,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49031\'','expenses/saveExpense','0.01220703125','2016-08-22 09:12:25'),(21563,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49032\'','expenses/saveExpense','0.012526035308838','2016-08-22 09:12:25'),(21564,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49033\'','expenses/saveExpense','0.0122230052948','2016-08-22 09:12:25'),(21565,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49034\'','expenses/saveExpense','0.016541957855225','2016-08-22 09:12:25'),(21566,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49035\'','expenses/saveExpense','0.012221097946167','2016-08-22 09:12:25'),(21567,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49036\'','expenses/saveExpense','0.012523174285889','2016-08-22 09:12:25'),(21568,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11188\'','expenses/saveExpense','0.012251138687134','2016-08-22 09:12:25'),(21569,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'6800\', `formNo` = \'OP-C\', `paymentDate` = \'2016-01-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2149\'','expenses/saveExpense','0.01403284072876','2016-08-22 09:12:25'),(21570,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 01\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2068\'','expenses/saveExpense','0.012092113494873','2016-08-22 09:12:25'),(21571,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 02\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2069\'','expenses/saveExpense','0.012430906295776','2016-08-22 09:12:25'),(21572,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 03\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2070\'','expenses/saveExpense','0.012112140655518','2016-08-22 09:12:25'),(21573,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 04\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2071\'','expenses/saveExpense','0.012418031692505','2016-08-22 09:12:25'),(21574,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 05\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2072\'','expenses/saveExpense','0.012116193771362','2016-08-22 09:12:25'),(21575,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 06\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2073\'','expenses/saveExpense','0.012395858764648','2016-08-22 09:12:26'),(21576,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 07\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2074\'','expenses/saveExpense','0.020452976226807','2016-08-22 09:12:26'),(21577,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 08\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2075\'','expenses/saveExpense','0.012413024902344','2016-08-22 09:12:26'),(21578,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 09\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2076\'','expenses/saveExpense','0.012111902236938','2016-08-22 09:12:26'),(21579,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 10\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2077\'','expenses/saveExpense','0.012403964996338','2016-08-22 09:12:26'),(21580,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2149\', `createdBy` = \'28\', `itemdescription` = \'22/8/2016 11\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2078\'','expenses/saveExpense','0.012112855911255','2016-08-22 09:12:26'),(21581,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'311\'','expenses/saveExpense','0.027032852172852','2016-08-22 09:12:26'),(21582,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000008\' WHERE `ID` =  \'2149\'','expenses/saveExpense','0.012165069580078','2016-08-22 09:12:26'),(21583,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000008\', \'Cost of Goods Sold [OP-C[00000050]]\', \'Cost of Goods Sold [OP-C[00000050]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 6800, 6800, \'28\')','expenses/saveExpense','0.011965036392212','2016-08-22 09:12:26'),(21584,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2149\'','expenses/saveExpense','0.012212038040161','2016-08-22 09:12:26'),(21585,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11189','expenses/saveExpense','0.01252293586731','2016-08-22 09:12:26'),(21586,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000008\'','expenses/saveExpense','0.00022792816162109','2016-08-22 09:12:26'),(21587,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, 1, \'68\', \'120\', \'OP-C\', \'2016-08-10\', \'123\', \'1\')','expenses/saveExpense','0.11952996253967','2016-08-22 09:14:02'),(21588,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2150, \'10\', \'fad\', 1, \'32773\', \'120\', \'120\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012284994125366','2016-08-22 09:14:02'),(21589,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  \'282\'','expenses/saveExpense','0.01413893699646','2016-08-22 09:14:02'),(21590,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000038\' WHERE `ID` =  2150','expenses/saveExpense','0.012503862380981','2016-08-22 09:14:02'),(21591,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000038\', \'Cost of Goods Sold [OP-C[00000075]]\', \'Cost of Goods Sold [OP-C[00000075]]\', \'\', \'3\', \'2016-08-10\', \'16\', \'08\', 120, 120, \'10\')','expenses/saveExpense','0.0097358226776123','2016-08-22 09:14:02'),(21592,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000038\', 1, \'fad\', \'32762\', 120, 1, \'1\', \'120\', \'08\', \'16\', \'1\', \'OP-C[00000075]\', \'User\')','expenses/saveExpense','0.012421846389771','2016-08-22 09:14:02'),(21593,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000038\', 2, \'fad\', \'32773\', 120, 1, \'1\', \'120\', \'08\', \'16\', \'1\', \'OP-C[00000075]\', \'User\')','expenses/saveExpense','0.012042999267578','2016-08-22 09:14:02'),(21594,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000038\'','expenses/saveExpense','0.012517929077148','2016-08-22 09:14:02'),(21595,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2150','expenses/saveExpense','0.012198925018311','2016-08-22 09:14:02'),(21596,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11190','expenses/saveExpense','0.020891904830933','2016-08-22 09:14:02'),(21597,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000038\'','expenses/saveExpense','0.012115001678467','2016-08-22 09:14:02'),(21598,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.017936944961548','2016-08-22 09:14:02'),(21599,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.014184951782227','2016-08-22 09:14:02'),(21600,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-01-01\', \'148\', \'1\')','expenses/saveExpense','0.09672999382019','2016-08-22 09:25:14'),(21601,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2151, \'28\', \'HARINI\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012702941894531','2016-08-22 09:25:14'),(21602,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'311\'','expenses/saveExpense','0.031445026397705','2016-08-22 09:25:14'),(21603,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000009\' WHERE `ID` =  2151','expenses/saveExpense','0.012633085250854','2016-08-22 09:25:14'),(21604,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000009\', \'Cost of Goods Sold [OP-C[00000051]]\', \'Cost of Goods Sold [OP-C[00000051]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 100, 100, \'28\')','expenses/saveExpense','0.0098440647125244','2016-08-22 09:25:14'),(21605,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000009\', 1, \'HARINI\', \'33007\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-C[00000051]\', \'User\')','expenses/saveExpense','0.012501001358032','2016-08-22 09:25:14'),(21606,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000009\', 2, \'HARINI\', \'33019\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-C[00000051]\', \'User\')','expenses/saveExpense','0.01640796661377','2016-08-22 09:25:14'),(21607,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000009\'','expenses/saveExpense','0.012347936630249','2016-08-22 09:25:14'),(21608,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2151','expenses/saveExpense','0.012342214584351','2016-08-22 09:25:14'),(21609,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11191','expenses/saveExpense','0.0207200050354','2016-08-22 09:25:14'),(21610,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000009\'','expenses/saveExpense','0.012317895889282','2016-08-22 09:25:14'),(21611,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011409997940063','2016-08-22 09:25:14'),(21612,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015678882598877','2016-08-22 09:25:14'),(21613,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-01-01\', \'148\', \'1\')','expenses/saveExpense','0.096004009246826','2016-08-22 09:27:21'),(21614,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2152, \'28\', \'HARINI 01\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.14092707633972','2016-08-22 09:27:21'),(21615,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'311\'','expenses/saveExpense','0.010393142700195','2016-08-22 09:27:21'),(21616,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000010\' WHERE `ID` =  2152','expenses/saveExpense','0.012050151824951','2016-08-22 09:27:21'),(21617,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000010\', \'Cost of Goods Sold [OP-C[00000052]]\', \'Cost of Goods Sold [OP-C[00000052]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 100, 100, \'28\')','expenses/saveExpense','0.010410070419312','2016-08-22 09:27:21'),(21618,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000010\', 1, \'HARINI 01\', \'33007\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.011883020401001','2016-08-22 09:27:21'),(21619,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000010\', 2, \'HARINI 01\', \'33019\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012571096420288','2016-08-22 09:27:21'),(21620,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000010\'','expenses/saveExpense','0.012006044387817','2016-08-22 09:27:21'),(21621,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2152','expenses/saveExpense','0.012678861618042','2016-08-22 09:27:21'),(21622,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11192','expenses/saveExpense','0.012077808380127','2016-08-22 09:27:21'),(21623,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000010\'','expenses/saveExpense','0.016761064529419','2016-08-22 09:27:21'),(21624,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011370182037354','2016-08-22 09:27:21'),(21625,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01587700843811','2016-08-22 09:27:21'),(21626,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49041\'','expenses/saveExpense','0.045183897018433','2016-08-22 09:29:51'),(21627,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49042\'','expenses/saveExpense','0.017893075942993','2016-08-22 09:29:51'),(21628,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11192\'','expenses/saveExpense','0.012521982192993','2016-08-22 09:29:51'),(21629,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'7800\', `formNo` = \'OP-C\', `paymentDate` = \'2016-01-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2152\'','expenses/saveExpense','0.021765947341919','2016-08-22 09:29:51'),(21630,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 01\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2081\'','expenses/saveExpense','0.011749029159546','2016-08-22 09:29:51'),(21631,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 02\', 1, \'33019\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012799978256226','2016-08-22 09:29:51'),(21632,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 03\', 1, \'33019\', \'300\', \'300\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.011874914169312','2016-08-22 09:29:51'),(21633,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 04\', 1, \'33019\', \'400\', \'400\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016786098480225','2016-08-22 09:29:51'),(21634,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 05\', 1, \'33019\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.020831108093262','2016-08-22 09:29:52'),(21635,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 06\', 1, \'33019\', \'600\', \'600\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012176990509033','2016-08-22 09:29:52'),(21636,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 07\', 1, \'33019\', \'700\', \'700\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01249885559082','2016-08-22 09:29:52'),(21637,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 08\', 1, \'33019\', \'800\', \'800\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012176990509033','2016-08-22 09:29:52'),(21638,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 09\', 1, \'33019\', \'900\', \'900\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016213893890381','2016-08-22 09:29:52'),(21639,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 10\', 1, \'33019\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.025145053863525','2016-08-22 09:29:52'),(21640,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 11\', 1, \'33019\', \'1100\', \'1100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.012525081634521','2016-08-22 09:29:52'),(21641,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2152\', \'28\', \'HARINI 12\', 1, \'33019\', \'1200\', \'1200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.087124109268188','2016-08-22 09:29:52'),(21642,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'311\'','expenses/saveExpense','0.021316051483154','2016-08-22 09:29:52'),(21643,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000011\' WHERE `ID` =  \'2152\'','expenses/saveExpense','0.010802984237671','2016-08-22 09:29:52'),(21644,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', \'Cost of Goods Sold [OP-C[00000052]]\', \'Cost of Goods Sold [OP-C[00000052]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 7800, 7800, \'28\')','expenses/saveExpense','0.023888826370239','2016-08-22 09:29:52'),(21645,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 1, \'HARINI 02\', \'33007\', 200, 1, \'1\', \'200\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.016674041748047','2016-08-22 09:29:52'),(21646,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 2, \'HARINI 02\', \'33019\', 200, 1, \'1\', \'200\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.01237416267395','2016-08-22 09:29:52'),(21647,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 3, \'HARINI 03\', \'33007\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.020437002182007','2016-08-22 09:29:52'),(21648,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 4, \'HARINI 03\', \'33019\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012332916259766','2016-08-22 09:29:52'),(21649,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 5, \'HARINI 04\', \'33007\', 400, 1, \'1\', \'400\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012111902236938','2016-08-22 09:29:52'),(21650,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 6, \'HARINI 04\', \'33019\', 400, 1, \'1\', \'400\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012372016906738','2016-08-22 09:29:52'),(21651,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 7, \'HARINI 05\', \'33007\', 500, 1, \'1\', \'500\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012102127075195','2016-08-22 09:29:52'),(21652,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 8, \'HARINI 05\', \'33019\', 500, 1, \'1\', \'500\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012404918670654','2016-08-22 09:29:52'),(21653,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 9, \'HARINI 06\', \'33007\', 600, 1, \'1\', \'600\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012089014053345','2016-08-22 09:29:52'),(21654,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 10, \'HARINI 06\', \'33019\', 600, 1, \'1\', \'600\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012360811233521','2016-08-22 09:29:52'),(21655,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 11, \'HARINI 07\', \'33007\', 700, 1, \'1\', \'700\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012125968933105','2016-08-22 09:29:52'),(21656,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 12, \'HARINI 07\', \'33019\', 700, 1, \'1\', \'700\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012356042861938','2016-08-22 09:29:52'),(21657,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 13, \'HARINI 08\', \'33007\', 800, 1, \'1\', \'800\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012143135070801','2016-08-22 09:29:52'),(21658,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 14, \'HARINI 08\', \'33019\', 800, 1, \'1\', \'800\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.0123610496521','2016-08-22 09:29:52'),(21659,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 15, \'HARINI 09\', \'33007\', 900, 1, \'1\', \'900\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012129068374634','2016-08-22 09:29:52'),(21660,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 16, \'HARINI 09\', \'33019\', 900, 1, \'1\', \'900\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012371063232422','2016-08-22 09:29:52'),(21661,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 17, \'HARINI 10\', \'33007\', 1000, 1, \'1\', \'1000\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012120008468628','2016-08-22 09:29:52'),(21662,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 18, \'HARINI 10\', \'33019\', 1000, 1, \'1\', \'1000\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012396097183228','2016-08-22 09:29:52'),(21663,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 19, \'HARINI 11\', \'33007\', 1100, 1, \'1\', \'1100\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012092113494873','2016-08-22 09:29:52'),(21664,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 20, \'HARINI 11\', \'33019\', 1100, 1, \'1\', \'1100\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012368202209473','2016-08-22 09:29:52'),(21665,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 21, \'HARINI 12\', \'33007\', 1200, 1, \'1\', \'1200\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012123107910156','2016-08-22 09:29:52'),(21666,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000011\', 22, \'HARINI 12\', \'33019\', 1200, 1, \'1\', \'1200\', \'01\', \'16\', \'1\', \'OP-C[00000052]\', \'User\')','expenses/saveExpense','0.012377977371216','2016-08-22 09:29:52'),(21667,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 7700, `total_amount_cr` = 7700, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000011\'','expenses/saveExpense','0.012202024459839','2016-08-22 09:29:52'),(21668,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2152\'','expenses/saveExpense','0.0079050064086914','2016-08-22 09:29:52'),(21669,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11193','expenses/saveExpense','0.0084679126739502','2016-08-22 09:29:52'),(21670,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000011\'','expenses/saveExpense','0.012476921081543','2016-08-22 09:29:52'),(21671,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.010687828063965','2016-08-22 09:29:52'),(21672,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.028466939926147','2016-08-22 09:29:52'),(21673,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.028168916702271','2016-08-22 09:29:52'),(21674,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01977801322937','2016-08-22 09:29:52'),(21675,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.027990102767944','2016-08-22 09:29:52'),(21676,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015796899795532','2016-08-22 09:29:52'),(21677,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015933990478516','2016-08-22 09:29:52'),(21678,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01589298248291','2016-08-22 09:29:52'),(21679,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015927076339722','2016-08-22 09:29:52'),(21680,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01587986946106','2016-08-22 09:29:52'),(21681,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01590895652771','2016-08-22 09:29:52'),(21682,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015872001647949','2016-08-22 09:29:52'),(21683,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015892028808594','2016-08-22 09:29:52'),(21684,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015904903411865','2016-08-22 09:29:52'),(21685,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015918016433716','2016-08-22 09:29:52'),(21686,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012210845947266','2016-08-22 09:29:52'),(21687,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01131010055542','2016-08-22 09:29:52'),(21688,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012156009674072','2016-08-22 09:29:52'),(21689,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011315107345581','2016-08-22 09:29:52'),(21690,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012234926223755','2016-08-22 09:29:52'),(21691,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011298179626465','2016-08-22 09:29:52'),(21692,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012233972549438','2016-08-22 09:29:52'),(21693,23,28,'192.168.1.201','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2081\'','expenses/removeDetail','0.13762593269348','2016-08-22 09:32:36'),(21694,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49043\'','expenses/saveExpense','0.026579141616821','2016-08-22 09:32:37'),(21695,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49044\'','expenses/saveExpense','0.016154050827026','2016-08-22 09:32:37'),(21696,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49045\'','expenses/saveExpense','0.01685094833374','2016-08-22 09:32:37'),(21697,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49046\'','expenses/saveExpense','0.012871980667114','2016-08-22 09:32:37'),(21698,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49047\'','expenses/saveExpense','0.011795043945312','2016-08-22 09:32:37'),(21699,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49048\'','expenses/saveExpense','0.021236896514893','2016-08-22 09:32:37'),(21700,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49049\'','expenses/saveExpense','0.016531944274902','2016-08-22 09:32:37'),(21701,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49050\'','expenses/saveExpense','0.011476993560791','2016-08-22 09:32:37'),(21702,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49051\'','expenses/saveExpense','0.0084960460662842','2016-08-22 09:32:37'),(21703,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49052\'','expenses/saveExpense','0.007904052734375','2016-08-22 09:32:37'),(21704,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49053\'','expenses/saveExpense','0.0084781646728516','2016-08-22 09:32:37'),(21705,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49054\'','expenses/saveExpense','0.0079081058502197','2016-08-22 09:32:37'),(21706,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49055\'','expenses/saveExpense','0.0085091590881348','2016-08-22 09:32:37'),(21707,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49056\'','expenses/saveExpense','0.021291971206665','2016-08-22 09:32:37'),(21708,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49057\'','expenses/saveExpense','0.011770963668823','2016-08-22 09:32:37'),(21709,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49058\'','expenses/saveExpense','0.016212940216064','2016-08-22 09:32:37'),(21710,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49059\'','expenses/saveExpense','0.0085279941558838','2016-08-22 09:32:37'),(21711,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49060\'','expenses/saveExpense','0.0078599452972412','2016-08-22 09:32:37'),(21712,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49061\'','expenses/saveExpense','0.016838073730469','2016-08-22 09:32:37'),(21713,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49062\'','expenses/saveExpense','0.016227006912231','2016-08-22 09:32:37'),(21714,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49063\'','expenses/saveExpense','0.0085108280181885','2016-08-22 09:32:37'),(21715,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49064\'','expenses/saveExpense','0.007896900177002','2016-08-22 09:32:37'),(21716,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11193\'','expenses/saveExpense','0.0084879398345947','2016-08-22 09:32:37'),(21717,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'7700\', `formNo` = \'OP-C\', `paymentDate` = \'2016-01-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2152\'','expenses/saveExpense','0.013689994812012','2016-08-22 09:32:37'),(21718,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 02\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2082\'','expenses/saveExpense','0.0083858966827393','2016-08-22 09:32:37'),(21719,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 03\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2083\'','expenses/saveExpense','0.0077729225158691','2016-08-22 09:32:37'),(21720,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 04\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2084\'','expenses/saveExpense','0.0083949565887451','2016-08-22 09:32:37'),(21721,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 05\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2085\'','expenses/saveExpense','0.0077970027923584','2016-08-22 09:32:37'),(21722,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 06\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2086\'','expenses/saveExpense','0.0083990097045898','2016-08-22 09:32:37'),(21723,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 07\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2087\'','expenses/saveExpense','0.012864112854004','2016-08-22 09:32:37'),(21724,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 08\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2088\'','expenses/saveExpense','0.011667013168335','2016-08-22 09:32:37'),(21725,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 09\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2089\'','expenses/saveExpense','0.012832164764404','2016-08-22 09:32:37'),(21726,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 10\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2090\'','expenses/saveExpense','0.011677026748657','2016-08-22 09:32:37'),(21727,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 11\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2091\'','expenses/saveExpense','0.0077848434448242','2016-08-22 09:32:37'),(21728,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2152\', `createdBy` = \'28\', `itemdescription` = \'HARINI 12\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2092\'','expenses/saveExpense','0.008368968963623','2016-08-22 09:32:37'),(21729,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'311\'','expenses/saveExpense','0.028874158859253','2016-08-22 09:32:37'),(21730,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000012\' WHERE `ID` =  \'2152\'','expenses/saveExpense','0.011871099472046','2016-08-22 09:32:37'),(21731,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000012\', \'Cost of Goods Sold [OP-C[00000052]]\', \'Cost of Goods Sold [OP-C[00000052]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 7700, 7700, \'28\')','expenses/saveExpense','0.012204885482788','2016-08-22 09:32:37'),(21732,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2152\'','expenses/saveExpense','0.011893033981323','2016-08-22 09:32:37'),(21733,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11194','expenses/saveExpense','0.0078699588775635','2016-08-22 09:32:37'),(21734,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000012\'','expenses/saveExpense','0.00022411346435547','2016-08-22 09:32:37'),(21735,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-01-01\', \'148\', \'100\', \'TT\', \'149\', \'23\', 3)','transfer/newTransfer','0.13131594657898','2016-08-22 10:13:09'),(21736,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2153, \'33008\', \'100\', \'Transfer\')','transfer/newTransfer','0.008497953414917','2016-08-22 10:13:10'),(21737,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'311\'','transfer/newTransfer','0.021105051040649','2016-08-22 10:13:10'),(21738,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000013\' WHERE `ID` =  2153','transfer/newTransfer','0.016510009765625','2016-08-22 10:13:10'),(21739,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000013\', \' [TT[00000053]]]\', \'Bank Transfer [  [TT[00000053]]] ]\', \'\', \'3\', \'2016-01-01\', \'2016\', \'01\', 100, 100, \'User\')','transfer/newTransfer','0.025860071182251','2016-08-22 10:13:10'),(21740,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000013\', 1, \'Transfer\', \'33007\', 100, 1, \'1\', \'100\', \'01\', \'2016\', \'0\', \'TT[00000053]\', \'User\')','transfer/newTransfer','0.029850006103516','2016-08-22 10:13:10'),(21741,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000013\', 2, \'Transfer\', \'33008\', 100, 1, \'1\', \'100\', \'01\', \'2016\', \'0\', \'TT[00000053]\', \'User\')','transfer/newTransfer','0.011282920837402','2016-08-22 10:13:10'),(21742,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000013\'','transfer/newTransfer','0.016804218292236','2016-08-22 10:13:10'),(21743,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2153','transfer/newTransfer','0.013041019439697','2016-08-22 10:13:10'),(21744,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11195','transfer/newTransfer','0.020037889480591','2016-08-22 10:13:10'),(21745,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000013\'','transfer/newTransfer','0.032907009124756','2016-08-22 10:13:10'),(21746,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','transfer/newTransfer','0.014479160308838','2016-08-22 10:13:10'),(21747,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','transfer/newTransfer','0.049283981323242','2016-08-22 10:13:10'),(21748,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'loan payment\', \'23\', \'28\', 1, 1, \'68\', \'12000\', \'OP-L\', \'2016-01-01\', \'148\', \'1\')','expenses/saveExpense','0.029591798782349','2016-08-22 10:24:26'),(21749,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 01\', 1, \'33013\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0084259510040283','2016-08-22 10:24:26'),(21750,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 06\', 1, \'33013\', \'600\', \'600\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01622200012207','2016-08-22 10:24:26'),(21751,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 11\', 1, \'33013\', \'1100\', \'1100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0084819793701172','2016-08-22 10:24:26'),(21752,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 02\', 1, \'33014\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0078859329223633','2016-08-22 10:24:26'),(21753,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 07\', 1, \'33014\', \'700\', \'700\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0084800720214844','2016-08-22 10:24:26'),(21754,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 12\', 1, \'33014\', \'1200\', \'1200\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0078930854797363','2016-08-22 10:24:26'),(21755,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 03\', 1, \'33015\', \'300\', \'300\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0084879398345947','2016-08-22 10:24:26'),(21756,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 08\', 1, \'33015\', \'800\', \'800\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016252994537354','2016-08-22 10:24:26'),(21757,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 13\', 1, \'33015\', \'1300\', \'1300\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0084738731384277','2016-08-22 10:24:27'),(21758,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 04\', 1, \'33016\', \'400\', \'400\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.013181924819946','2016-08-22 10:24:27'),(21759,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 09\', 1, \'33016\', \'900\', \'900\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016523838043213','2016-08-22 10:24:27'),(21760,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 14\', 1, \'33016\', \'1400\', \'1400\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.027902126312256','2016-08-22 10:24:27'),(21761,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 05\', 1, \'33017\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0084688663482666','2016-08-22 10:24:27'),(21762,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 10\', 1, \'33017\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.007896900177002','2016-08-22 10:24:27'),(21763,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2154, \'28\', \'Description 15\', 1, \'33017\', \'1500\', \'1500\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.0084769725799561','2016-08-22 10:24:27'),(21764,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'311\'','expenses/saveExpense','0.022263050079346','2016-08-22 10:24:27'),(21765,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000014\' WHERE `ID` =  2154','expenses/saveExpense','0.0084769725799561','2016-08-22 10:24:27'),(21766,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', \'Loan Repayment [OP-L[00000054]]\', \'Loan Repayment [OP-L[00000054]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 12000, 12000, \'28\')','expenses/saveExpense','0.027549982070923','2016-08-22 10:24:27'),(21767,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 1, \'Description 01\', \'33007\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.011482954025269','2016-08-22 10:24:27'),(21768,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 2, \'Description 01\', \'33013\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0077941417694092','2016-08-22 10:24:27'),(21769,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 3, \'Description 06\', \'33007\', 600, 1, \'1\', \'600\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083751678466797','2016-08-22 10:24:27'),(21770,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 4, \'Description 06\', \'33013\', 600, 1, \'1\', \'600\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.007803201675415','2016-08-22 10:24:27'),(21771,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 5, \'Description 11\', \'33007\', 1100, 1, \'1\', \'1100\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016716957092285','2016-08-22 10:24:27'),(21772,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 6, \'Description 11\', \'33013\', 1100, 1, \'1\', \'1100\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0078058242797852','2016-08-22 10:24:27'),(21773,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 7, \'Description 02\', \'33007\', 200, 1, \'1\', \'200\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083799362182617','2016-08-22 10:24:27'),(21774,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 8, \'Description 02\', \'33014\', 200, 1, \'1\', \'200\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016140937805176','2016-08-22 10:24:27'),(21775,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 9, \'Description 07\', \'33007\', 700, 1, \'1\', \'700\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083789825439453','2016-08-22 10:24:27'),(21776,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 10, \'Description 07\', \'33014\', 700, 1, \'1\', \'700\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0077991485595703','2016-08-22 10:24:27'),(21777,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 11, \'Description 12\', \'33007\', 1200, 1, \'1\', \'1200\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.008389949798584','2016-08-22 10:24:27'),(21778,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 12, \'Description 12\', \'33014\', 1200, 1, \'1\', \'1200\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.01611590385437','2016-08-22 10:24:27'),(21779,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 13, \'Description 03\', \'33007\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083770751953125','2016-08-22 10:24:27'),(21780,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 14, \'Description 03\', \'33015\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.013012170791626','2016-08-22 10:24:27'),(21781,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 15, \'Description 08\', \'33007\', 800, 1, \'1\', \'800\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.011536836624146','2016-08-22 10:24:27'),(21782,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 16, \'Description 08\', \'33015\', 800, 1, \'1\', \'800\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0080471038818359','2016-08-22 10:24:27'),(21783,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 17, \'Description 13\', \'33007\', 1300, 1, \'1\', \'1300\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.082417964935303','2016-08-22 10:24:27'),(21784,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 18, \'Description 13\', \'33015\', 1300, 1, \'1\', \'1300\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.021944999694824','2016-08-22 10:24:27'),(21785,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 19, \'Description 04\', \'33007\', 400, 1, \'1\', \'400\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.011544227600098','2016-08-22 10:24:27'),(21786,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 20, \'Description 04\', \'33016\', 400, 1, \'1\', \'400\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.007781982421875','2016-08-22 10:24:27'),(21787,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 21, \'Description 09\', \'33007\', 900, 1, \'1\', \'900\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083808898925781','2016-08-22 10:24:27'),(21788,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 22, \'Description 09\', \'33016\', 900, 1, \'1\', \'900\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0077970027923584','2016-08-22 10:24:27'),(21789,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 23, \'Description 14\', \'33007\', 1400, 1, \'1\', \'1400\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.008389949798584','2016-08-22 10:24:27'),(21790,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 24, \'Description 14\', \'33016\', 1400, 1, \'1\', \'1400\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0078129768371582','2016-08-22 10:24:27'),(21791,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 25, \'Description 05\', \'33007\', 500, 1, \'1\', \'500\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083820819854736','2016-08-22 10:24:27'),(21792,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 26, \'Description 05\', \'33017\', 500, 1, \'1\', \'500\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0078091621398926','2016-08-22 10:24:27'),(21793,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 27, \'Description 10\', \'33007\', 1000, 1, \'1\', \'1000\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083749294281006','2016-08-22 10:24:27'),(21794,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 28, \'Description 10\', \'33017\', 1000, 1, \'1\', \'1000\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.007800817489624','2016-08-22 10:24:27'),(21795,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 29, \'Description 15\', \'33007\', 1500, 1, \'1\', \'1500\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083780288696289','2016-08-22 10:24:27'),(21796,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000014\', 30, \'Description 15\', \'33017\', 1500, 1, \'1\', \'1500\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0078098773956299','2016-08-22 10:24:27'),(21797,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 12000, `total_amount_cr` = 12000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000014\'','expenses/saveExpense','0.016775131225586','2016-08-22 10:24:27'),(21798,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2154','expenses/saveExpense','0.0079169273376465','2016-08-22 10:24:27'),(21799,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11196','expenses/saveExpense','0.0084760189056396','2016-08-22 10:24:27'),(21800,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000014\'','expenses/saveExpense','0.013101816177368','2016-08-22 10:24:27'),(21801,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.010088920593262','2016-08-22 10:24:27'),(21802,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33013\', \'2016\', \'1\', \'100\', \'0\', 100, \'User\', \'2016-08-22: 04:08:26\')','expenses/saveExpense','0.012300968170166','2016-08-22 10:24:27'),(21803,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011108160018921','2016-08-22 10:24:27'),(21804,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012587070465088','2016-08-22 10:24:27'),(21805,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011060953140259','2016-08-22 10:24:27'),(21806,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.1323390007019','2016-08-22 10:24:27'),(21807,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079028606414795','2016-08-22 10:24:27'),(21808,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33014\', \'2016\', \'1\', \'200\', \'0\', 200, \'User\', \'2016-08-22: 04:08:26\')','expenses/saveExpense','0.02902889251709','2016-08-22 10:24:27'),(21809,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011056900024414','2016-08-22 10:24:27'),(21810,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33014\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015671014785767','2016-08-22 10:24:27'),(21811,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012852191925049','2016-08-22 10:24:27'),(21812,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33014\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.010761022567749','2016-08-22 10:24:27'),(21813,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.021141052246094','2016-08-22 10:24:27'),(21814,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33015\', \'2016\', \'1\', \'300\', \'0\', 300, \'User\', \'2016-08-22: 04:08:26\')','expenses/saveExpense','0.010540008544922','2016-08-22 10:24:27'),(21815,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.024583101272583','2016-08-22 10:24:27'),(21816,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33015\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012501001358032','2016-08-22 10:24:27'),(21817,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.01106595993042','2016-08-22 10:24:27'),(21818,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33015\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015662908554077','2016-08-22 10:24:27'),(21819,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.016242980957031','2016-08-22 10:24:27'),(21820,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33016\', \'2016\', \'1\', \'400\', \'0\', 400, \'User\', \'2016-08-22: 04:08:26\')','expenses/saveExpense','0.012325048446655','2016-08-22 10:24:27'),(21821,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011042833328247','2016-08-22 10:24:27'),(21822,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33016\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012531995773315','2016-08-22 10:24:27'),(21823,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011041879653931','2016-08-22 10:24:27'),(21824,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33016\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012527942657471','2016-08-22 10:24:27'),(21825,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.011043071746826','2016-08-22 10:24:27'),(21826,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33017\', \'2016\', \'1\', \'500\', \'0\', 500, \'User\', \'2016-08-22: 04:08:26\')','expenses/saveExpense','0.01514196395874','2016-08-22 10:24:27'),(21827,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.013115882873535','2016-08-22 10:24:27'),(21828,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33017\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.010473012924194','2016-08-22 10:24:27'),(21829,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079150199890137','2016-08-22 10:24:27'),(21830,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33017\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.012809038162231','2016-08-22 10:24:27'),(21831,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49067\'','expenses/saveExpense','0.02881908416748','2016-08-22 10:24:33'),(21832,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49068\'','expenses/saveExpense','0.012094020843506','2016-08-22 10:24:33'),(21833,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49069\'','expenses/saveExpense','0.0085010528564453','2016-08-22 10:24:33'),(21834,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49070\'','expenses/saveExpense','0.0079121589660645','2016-08-22 10:24:33'),(21835,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49071\'','expenses/saveExpense','0.0084969997406006','2016-08-22 10:24:33'),(21836,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49072\'','expenses/saveExpense','0.0079059600830078','2016-08-22 10:24:33'),(21837,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49073\'','expenses/saveExpense','0.0084519386291504','2016-08-22 10:24:33'),(21838,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49074\'','expenses/saveExpense','0.0079221725463867','2016-08-22 10:24:33'),(21839,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49075\'','expenses/saveExpense','0.0084939002990723','2016-08-22 10:24:33'),(21840,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49076\'','expenses/saveExpense','0.0079078674316406','2016-08-22 10:24:33'),(21841,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49077\'','expenses/saveExpense','0.0084841251373291','2016-08-22 10:24:33'),(21842,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49078\'','expenses/saveExpense','0.0079231262207031','2016-08-22 10:24:33'),(21843,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49079\'','expenses/saveExpense','0.0084800720214844','2016-08-22 10:24:33'),(21844,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49080\'','expenses/saveExpense','0.0079028606414795','2016-08-22 10:24:33'),(21845,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49081\'','expenses/saveExpense','0.0084969997406006','2016-08-22 10:24:33'),(21846,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49082\'','expenses/saveExpense','0.0079171657562256','2016-08-22 10:24:33'),(21847,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49083\'','expenses/saveExpense','0.0084888935089111','2016-08-22 10:24:33'),(21848,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49084\'','expenses/saveExpense','0.0079300403594971','2016-08-22 10:24:33'),(21849,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49085\'','expenses/saveExpense','0.0084629058837891','2016-08-22 10:24:33'),(21850,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49086\'','expenses/saveExpense','0.0079131126403809','2016-08-22 10:24:33'),(21851,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49087\'','expenses/saveExpense','0.0084891319274902','2016-08-22 10:24:33'),(21852,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49088\'','expenses/saveExpense','0.0079128742218018','2016-08-22 10:24:33'),(21853,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49089\'','expenses/saveExpense','0.013887166976929','2016-08-22 10:24:33'),(21854,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49090\'','expenses/saveExpense','0.027534008026123','2016-08-22 10:24:33'),(21855,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49091\'','expenses/saveExpense','0.0084769725799561','2016-08-22 10:24:33'),(21856,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49092\'','expenses/saveExpense','0.0079169273376465','2016-08-22 10:24:33'),(21857,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49093\'','expenses/saveExpense','0.0084822177886963','2016-08-22 10:24:33'),(21858,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49094\'','expenses/saveExpense','0.0079178810119629','2016-08-22 10:24:33'),(21859,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49095\'','expenses/saveExpense','0.02515697479248','2016-08-22 10:24:33'),(21860,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49096\'','expenses/saveExpense','0.01624608039856','2016-08-22 10:24:33'),(21861,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11196\'','expenses/saveExpense','0.016797065734863','2016-08-22 10:24:34'),(21862,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'loan payment\', `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'12000\', `formNo` = \'OP-L\', `paymentDate` = \'2016-01-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2154\'','expenses/saveExpense','0.014066219329834','2016-08-22 10:24:34'),(21863,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 01\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2094\'','expenses/saveExpense','0.03344202041626','2016-08-22 10:24:34'),(21864,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 06\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'600\', `amountExcludedTax` = \'600\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2095\'','expenses/saveExpense','0.00017380714416504','2016-08-22 10:24:34'),(21865,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 11\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'1100\', `amountExcludedTax` = \'1100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2096\'','expenses/saveExpense','0.000097990036010742','2016-08-22 10:24:34'),(21866,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 02\', `lineNo` = 1, `accountID` = \'33014\', `amountIncludedTax` = \'200\', `amountExcludedTax` = \'200\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2097\'','expenses/saveExpense','0.000098943710327148','2016-08-22 10:24:34'),(21867,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 07\', `lineNo` = 1, `accountID` = \'33014\', `amountIncludedTax` = \'700\', `amountExcludedTax` = \'700\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2098\'','expenses/saveExpense','0.000092983245849609','2016-08-22 10:24:34'),(21868,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 12\', `lineNo` = 1, `accountID` = \'33014\', `amountIncludedTax` = \'1200\', `amountExcludedTax` = \'1200\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2099\'','expenses/saveExpense','0.000095844268798828','2016-08-22 10:24:34'),(21869,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 03\', `lineNo` = 1, `accountID` = \'33015\', `amountIncludedTax` = \'300\', `amountExcludedTax` = \'300\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2100\'','expenses/saveExpense','0.000092029571533203','2016-08-22 10:24:34'),(21870,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 08\', `lineNo` = 1, `accountID` = \'33015\', `amountIncludedTax` = \'800\', `amountExcludedTax` = \'800\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2101\'','expenses/saveExpense','0.000092983245849609','2016-08-22 10:24:34'),(21871,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 13\', `lineNo` = 1, `accountID` = \'33015\', `amountIncludedTax` = \'1300\', `amountExcludedTax` = \'1300\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2102\'','expenses/saveExpense','0.000092983245849609','2016-08-22 10:24:34'),(21872,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 04\', `lineNo` = 1, `accountID` = \'33016\', `amountIncludedTax` = \'400\', `amountExcludedTax` = \'400\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2103\'','expenses/saveExpense','0.000092983245849609','2016-08-22 10:24:34'),(21873,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 09\', `lineNo` = 1, `accountID` = \'33016\', `amountIncludedTax` = \'900\', `amountExcludedTax` = \'900\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2104\'','expenses/saveExpense','0.000092029571533203','2016-08-22 10:24:34'),(21874,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 14\', `lineNo` = 1, `accountID` = \'33016\', `amountIncludedTax` = \'1400\', `amountExcludedTax` = \'1400\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2105\'','expenses/saveExpense','0.022633075714111','2016-08-22 10:24:34'),(21875,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 05\', `lineNo` = 1, `accountID` = \'33017\', `amountIncludedTax` = \'500\', `amountExcludedTax` = \'500\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2106\'','expenses/saveExpense','0.00016617774963379','2016-08-22 10:24:34'),(21876,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 10\', `lineNo` = 1, `accountID` = \'33017\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2107\'','expenses/saveExpense','0.000094890594482422','2016-08-22 10:24:34'),(21877,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 15\', `lineNo` = 1, `accountID` = \'33017\', `amountIncludedTax` = \'1500\', `amountExcludedTax` = \'1500\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2108\'','expenses/saveExpense','0.000091791152954102','2016-08-22 10:24:34'),(21878,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'311\'','expenses/saveExpense','0.0316481590271','2016-08-22 10:24:34'),(21879,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000015\' WHERE `ID` =  \'2154\'','expenses/saveExpense','0.024824857711792','2016-08-22 10:24:34'),(21880,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', \'Loan Repayment [OP-L[00000054]]\', \'Loan Repayment [OP-L[00000054]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 12000, 12000, \'28\')','expenses/saveExpense','0.015637874603271','2016-08-22 10:24:34'),(21881,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 1, \'Description 01\', \'33007\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083661079406738','2016-08-22 10:24:34'),(21882,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 2, \'Description 01\', \'33013\', 100, 1, \'1\', \'100\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.024753093719482','2016-08-22 10:24:34'),(21883,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 3, \'Description 06\', \'33007\', 600, 1, \'1\', \'600\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.024754047393799','2016-08-22 10:24:34'),(21884,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 4, \'Description 06\', \'33013\', 600, 1, \'1\', \'600\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.024760007858276','2016-08-22 10:24:34'),(21885,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 5, \'Description 11\', \'33007\', 1100, 1, \'1\', \'1100\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016124963760376','2016-08-22 10:24:34'),(21886,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 6, \'Description 11\', \'33013\', 1100, 1, \'1\', \'1100\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.024751901626587','2016-08-22 10:24:34'),(21887,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 7, \'Description 02\', \'33007\', 200, 1, \'1\', \'200\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083730220794678','2016-08-22 10:24:34'),(21888,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 8, \'Description 02\', \'33014\', 200, 1, \'1\', \'200\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.024762868881226','2016-08-22 10:24:34'),(21889,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 9, \'Description 07\', \'33007\', 700, 1, \'1\', \'700\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.024770975112915','2016-08-22 10:24:34'),(21890,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 10, \'Description 07\', \'33014\', 700, 1, \'1\', \'700\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016111850738525','2016-08-22 10:24:34'),(21891,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 11, \'Description 12\', \'33007\', 1200, 1, \'1\', \'1200\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083839893341064','2016-08-22 10:24:34'),(21892,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 12, \'Description 12\', \'33014\', 1200, 1, \'1\', \'1200\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016139984130859','2016-08-22 10:24:34'),(21893,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 13, \'Description 03\', \'33007\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083730220794678','2016-08-22 10:24:34'),(21894,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 14, \'Description 03\', \'33015\', 300, 1, \'1\', \'300\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016124963760376','2016-08-22 10:24:34'),(21895,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 15, \'Description 08\', \'33007\', 800, 1, \'1\', \'800\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083799362182617','2016-08-22 10:24:34'),(21896,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 16, \'Description 08\', \'33015\', 800, 1, \'1\', \'800\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.01614785194397','2016-08-22 10:24:34'),(21897,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 17, \'Description 13\', \'33007\', 1300, 1, \'1\', \'1300\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083889961242676','2016-08-22 10:24:34'),(21898,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 18, \'Description 13\', \'33015\', 1300, 1, \'1\', \'1300\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016136169433594','2016-08-22 10:24:34'),(21899,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 19, \'Description 04\', \'33007\', 400, 1, \'1\', \'400\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083730220794678','2016-08-22 10:24:34'),(21900,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 20, \'Description 04\', \'33016\', 400, 1, \'1\', \'400\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016140937805176','2016-08-22 10:24:34'),(21901,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 21, \'Description 09\', \'33007\', 900, 1, \'1\', \'900\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083780288696289','2016-08-22 10:24:34'),(21902,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 22, \'Description 09\', \'33016\', 900, 1, \'1\', \'900\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016154050827026','2016-08-22 10:24:34'),(21903,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 23, \'Description 14\', \'33007\', 1400, 1, \'1\', \'1400\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083611011505127','2016-08-22 10:24:34'),(21904,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 24, \'Description 14\', \'33016\', 1400, 1, \'1\', \'1400\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016144037246704','2016-08-22 10:24:34'),(21905,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 25, \'Description 05\', \'33007\', 500, 1, \'1\', \'500\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083839893341064','2016-08-22 10:24:34'),(21906,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 26, \'Description 05\', \'33017\', 500, 1, \'1\', \'500\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.01616907119751','2016-08-22 10:24:34'),(21907,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 27, \'Description 10\', \'33007\', 1000, 1, \'1\', \'1000\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.008368968963623','2016-08-22 10:24:34'),(21908,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 28, \'Description 10\', \'33017\', 1000, 1, \'1\', \'1000\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016147136688232','2016-08-22 10:24:34'),(21909,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 29, \'Description 15\', \'33007\', 1500, 1, \'1\', \'1500\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.0083620548248291','2016-08-22 10:24:34'),(21910,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160100000015\', 30, \'Description 15\', \'33017\', 1500, 1, \'1\', \'1500\', \'01\', \'16\', \'1\', \'OP-L[00000054]\', \'User\')','expenses/saveExpense','0.016142129898071','2016-08-22 10:24:34'),(21911,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 12000, `total_amount_cr` = 12000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000015\'','expenses/saveExpense','0.0084640979766846','2016-08-22 10:24:34'),(21912,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2154\'','expenses/saveExpense','0.016251802444458','2016-08-22 10:24:34'),(21913,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11197','expenses/saveExpense','0.0084681510925293','2016-08-22 10:24:34'),(21914,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000015\'','expenses/saveExpense','0.016242027282715','2016-08-22 10:24:34'),(21915,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.030774831771851','2016-08-22 10:24:34'),(21916,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015943050384521','2016-08-22 10:24:34'),(21917,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015705108642578','2016-08-22 10:24:34'),(21918,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079350471496582','2016-08-22 10:24:34'),(21919,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015703916549683','2016-08-22 10:24:34'),(21920,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079400539398193','2016-08-22 10:24:34'),(21921,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015729904174805','2016-08-22 10:24:34'),(21922,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33014\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079569816589355','2016-08-22 10:24:34'),(21923,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.013241052627563','2016-08-22 10:24:34'),(21924,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33014\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.010411024093628','2016-08-22 10:24:34'),(21925,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015708923339844','2016-08-22 10:24:34'),(21926,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33014\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079331398010254','2016-08-22 10:24:34'),(21927,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015722036361694','2016-08-22 10:24:34'),(21928,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33015\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079178810119629','2016-08-22 10:24:34'),(21929,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015722990036011','2016-08-22 10:24:34'),(21930,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33015\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079619884490967','2016-08-22 10:24:35'),(21931,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015711069107056','2016-08-22 10:24:35'),(21932,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33015\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079360008239746','2016-08-22 10:24:35'),(21933,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015701055526733','2016-08-22 10:24:35'),(21934,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33016\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079419612884521','2016-08-22 10:24:35'),(21935,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015697956085205','2016-08-22 10:24:35'),(21936,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33016\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079421997070312','2016-08-22 10:24:35'),(21937,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015719890594482','2016-08-22 10:24:35'),(21938,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33016\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079648494720459','2016-08-22 10:24:35'),(21939,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015724897384644','2016-08-22 10:24:35'),(21940,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33017\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.0079519748687744','2016-08-22 10:24:35'),(21941,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015712022781372','2016-08-22 10:24:35'),(21942,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33017\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.024614095687866','2016-08-22 10:24:35'),(21943,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.015663146972656','2016-08-22 10:24:35'),(21944,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33017\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'1\'','expenses/saveExpense','0.016282081604004','2016-08-22 10:24:35'),(21945,23,28,'192.168.1.201','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2094\'','expenses/removeDetail','0.093856811523438','2016-08-22 10:26:13'),(21946,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49097\'','expenses/saveExpense','0.028110027313232','2016-08-22 10:26:14'),(21947,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49098\'','expenses/saveExpense','0.016740083694458','2016-08-22 10:26:14'),(21948,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49099\'','expenses/saveExpense','0.022458076477051','2016-08-22 10:26:14'),(21949,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49100\'','expenses/saveExpense','0.027251958847046','2016-08-22 10:26:14'),(21950,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49101\'','expenses/saveExpense','0.01622200012207','2016-08-22 10:26:14'),(21951,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49102\'','expenses/saveExpense','0.016822814941406','2016-08-22 10:26:15'),(21952,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49103\'','expenses/saveExpense','0.016241073608398','2016-08-22 10:26:15'),(21953,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49104\'','expenses/saveExpense','0.016824007034302','2016-08-22 10:26:15'),(21954,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49105\'','expenses/saveExpense','0.01623797416687','2016-08-22 10:26:15'),(21955,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49106\'','expenses/saveExpense','0.016806840896606','2016-08-22 10:26:15'),(21956,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49107\'','expenses/saveExpense','0.022461891174316','2016-08-22 10:26:15'),(21957,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49108\'','expenses/saveExpense','0.018916845321655','2016-08-22 10:26:15'),(21958,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49109\'','expenses/saveExpense','0.016248941421509','2016-08-22 10:26:15'),(21959,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49110\'','expenses/saveExpense','0.016796112060547','2016-08-22 10:26:15'),(21960,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49111\'','expenses/saveExpense','0.024567842483521','2016-08-22 10:26:15'),(21961,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49112\'','expenses/saveExpense','0.016824960708618','2016-08-22 10:26:15'),(21962,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49113\'','expenses/saveExpense','0.016229152679443','2016-08-22 10:26:15'),(21963,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49114\'','expenses/saveExpense','0.016813993453979','2016-08-22 10:26:15'),(21964,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49115\'','expenses/saveExpense','0.024566888809204','2016-08-22 10:26:15'),(21965,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49116\'','expenses/saveExpense','0.016819000244141','2016-08-22 10:26:15'),(21966,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49117\'','expenses/saveExpense','0.024567127227783','2016-08-22 10:26:15'),(21967,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49118\'','expenses/saveExpense','0.025141954421997','2016-08-22 10:26:15'),(21968,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49119\'','expenses/saveExpense','0.02459192276001','2016-08-22 10:26:15'),(21969,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49120\'','expenses/saveExpense','0.016793012619019','2016-08-22 10:26:15'),(21970,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49121\'','expenses/saveExpense','0.016242027282715','2016-08-22 10:26:15'),(21971,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49122\'','expenses/saveExpense','0.016810178756714','2016-08-22 10:26:15'),(21972,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49123\'','expenses/saveExpense','0.016223907470703','2016-08-22 10:26:15'),(21973,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49124\'','expenses/saveExpense','0.016788005828857','2016-08-22 10:26:15'),(21974,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49125\'','expenses/saveExpense','0.016242027282715','2016-08-22 10:26:15'),(21975,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49126\'','expenses/saveExpense','0.016806840896606','2016-08-22 10:26:15'),(21976,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11197\'','expenses/saveExpense','0.016235828399658','2016-08-22 10:26:15'),(21977,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'loan payment\', `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'11900\', `formNo` = \'OP-L\', `paymentDate` = \'2016-01-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2154\'','expenses/saveExpense','0.028316974639893','2016-08-22 10:26:15'),(21978,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 06\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2095\'','expenses/saveExpense','0.018509864807129','2016-08-22 10:26:15'),(21979,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 11\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2096\'','expenses/saveExpense','0.016684055328369','2016-08-22 10:26:15'),(21980,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 02\', `lineNo` = 1, `accountID` = \'33014\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2097\'','expenses/saveExpense','0.016119956970215','2016-08-22 10:26:15'),(21981,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 07\', `lineNo` = 1, `accountID` = \'33014\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2098\'','expenses/saveExpense','0.025028944015503','2016-08-22 10:26:15'),(21982,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 12\', `lineNo` = 1, `accountID` = \'33014\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2099\'','expenses/saveExpense','0.016117095947266','2016-08-22 10:26:15'),(21983,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 03\', `lineNo` = 1, `accountID` = \'33015\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2100\'','expenses/saveExpense','0.025036096572876','2016-08-22 10:26:15'),(21984,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 08\', `lineNo` = 1, `accountID` = \'33015\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2101\'','expenses/saveExpense','0.016110181808472','2016-08-22 10:26:15'),(21985,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 13\', `lineNo` = 1, `accountID` = \'33015\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2102\'','expenses/saveExpense','0.016695976257324','2016-08-22 10:26:15'),(21986,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 04\', `lineNo` = 1, `accountID` = \'33016\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2103\'','expenses/saveExpense','0.016112089157104','2016-08-22 10:26:15'),(21987,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 09\', `lineNo` = 1, `accountID` = \'33016\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2104\'','expenses/saveExpense','0.1363959312439','2016-08-22 10:26:15'),(21988,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 14\', `lineNo` = 1, `accountID` = \'33016\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2105\'','expenses/saveExpense','0.071701049804688','2016-08-22 10:26:15'),(21989,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 05\', `lineNo` = 1, `accountID` = \'33017\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2106\'','expenses/saveExpense','0.03274393081665','2016-08-22 10:26:15'),(21990,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 10\', `lineNo` = 1, `accountID` = \'33017\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2107\'','expenses/saveExpense','0.016762018203735','2016-08-22 10:26:15'),(21991,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2154\', `createdBy` = \'28\', `itemdescription` = \'Description 15\', `lineNo` = 1, `accountID` = \'33017\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2108\'','expenses/saveExpense','0.13144707679749','2016-08-22 10:26:15'),(21992,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'311\'','expenses/saveExpense','0.01647686958313','2016-08-22 10:26:15'),(21993,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160100000016\' WHERE `ID` =  \'2154\'','expenses/saveExpense','0.008458137512207','2016-08-22 10:26:15'),(21994,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160100000016\', \'Loan Repayment [OP-L[00000054]]\', \'Loan Repayment [OP-L[00000054]]\', \'\', \'3\', \'2016-01-01\', \'16\', \'01\', 11900, 11900, \'28\')','expenses/saveExpense','0.015611886978149','2016-08-22 10:26:15'),(21995,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2154\'','expenses/saveExpense','0.0084631443023682','2016-08-22 10:26:15'),(21996,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11198','expenses/saveExpense','0.010167837142944','2016-08-22 10:26:15'),(21997,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160100000016\'','expenses/saveExpense','0.00023913383483887','2016-08-22 10:26:15'),(21998,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-22\', \'148\', \'100\', \'LR\', \'Loan 1	\', \'23\', 3)','loanReceive/save_new_loan','0.021451950073242','2016-08-22 10:27:51'),(21999,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2206, 1, \'33013\', \'100\', \'sese\')','loanReceive/save_new_loan','0.016226053237915','2016-08-22 10:27:51'),(22000,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  \'320\'','loanReceive/save_new_loan','0.014813184738159','2016-08-22 10:27:51'),(22001,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000035\' WHERE `ID` =  2206','loanReceive/save_new_loan','0.01848316192627','2016-08-22 10:27:51'),(22002,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000035\', \'LR[00000014]\', \'Loan Received [ LR[00000014] ]\', \'\', \'3\', \'2016-08-22\', \'2016\', \'08\', 100, 100, \'User\')','loanReceive/save_new_loan','0.031296014785767','2016-08-22 10:27:51'),(22003,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000035\', 1, \'sese\', \'33013\', \'Loan 1	\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'LR[00000014]\', \'0\', \'User\')','loanReceive/save_new_loan','0.13677096366882','2016-08-22 10:27:51'),(22004,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000035\', \'sese\', \'33007\', \'Loan 1	\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'LR[00000014]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.037576913833618','2016-08-22 10:27:51'),(22005,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000035\'','loanReceive/save_new_loan','0.01617693901062','2016-08-22 10:27:51'),(22006,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2206','loanReceive/save_new_loan','0.016853094100952','2016-08-22 10:27:51'),(22007,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11199','loanReceive/save_new_loan','0.024569034576416','2016-08-22 10:27:51'),(22008,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000035\'','loanReceive/save_new_loan','0.097837924957275','2016-08-22 10:27:51'),(22009,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.022478103637695','2016-08-22 10:27:51'),(22010,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.016292095184326','2016-08-22 10:27:51'),(22011,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'1100\', \'OP-E\', \'2016-08-22\', \'82\', \'1\')','expenses/saveExpense','0.14514803886414','2016-08-22 14:28:41'),(22012,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2155, \'1\', \'Item A\', 1, \'32530\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.017573833465576','2016-08-22 14:28:41'),(22013,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2155, \'1\', \'Item B\', 1, \'32536\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.018173933029175','2016-08-22 14:28:41'),(22014,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'300\'','expenses/saveExpense','0.033330917358398','2016-08-22 14:28:41'),(22015,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000008\' WHERE `ID` =  2155','expenses/saveExpense','0.016519069671631','2016-08-22 14:28:41'),(22016,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000008\', \'Operating Expenses [OP-E[00000628]]\', \'Operating Expenses [OP-E[00000628]]\', \'\', \'3\', \'2016-08-22\', \'16\', \'08\', 1100, 1100, \'1\')','expenses/saveExpense','0.029429197311401','2016-08-22 14:28:41'),(22017,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000008\', 1, \'Item A\', \'32515\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.025012969970703','2016-08-22 14:28:41'),(22018,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000008\', 2, \'Item A\', \'32530\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.017632961273193','2016-08-22 14:28:41'),(22019,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000008\', 3, \'Item B\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016429901123047','2016-08-22 14:28:41'),(22020,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000008\', 4, \'Item B\', \'32536\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016420125961304','2016-08-22 14:28:41'),(22021,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1100, `total_amount_cr` = 1100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000008\'','expenses/saveExpense','0.016495943069458','2016-08-22 14:28:41'),(22022,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2155','expenses/saveExpense','0.024888038635254','2016-08-22 14:28:41'),(22023,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11200','expenses/saveExpense','0.016515970230103','2016-08-22 14:28:41'),(22024,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000008\'','expenses/saveExpense','0.024835824966431','2016-08-22 14:28:41'),(22025,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.022802114486694','2016-08-22 14:28:41'),(22026,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32530\', \'2016\', \'8\', \'1000\', \'0\', 1000, \'User\', \'2016-08-22: 08:08:41\')','expenses/saveExpense','0.025409936904907','2016-08-22 14:28:41'),(22027,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.024313926696777','2016-08-22 14:28:41'),(22028,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32536\', \'2016\', \'8\', \'100\', \'0\', 100, \'User\', \'2016-08-22: 08:08:41\')','expenses/saveExpense','0.015791177749634','2016-08-22 14:28:41'),(22029,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'\'','expenses/removeDetail','0.00026702880859375','2016-08-22 14:28:57'),(22030,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2110\'','expenses/removeDetail','0.018757104873657','2016-08-22 14:28:57'),(22031,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49129\'','expenses/saveExpense','0.028800964355469','2016-08-22 14:28:57'),(22032,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49130\'','expenses/saveExpense','0.016477823257446','2016-08-22 14:28:57'),(22033,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49131\'','expenses/saveExpense','0.01651406288147','2016-08-22 14:28:57'),(22034,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49132\'','expenses/saveExpense','0.016520023345947','2016-08-22 14:28:57'),(22035,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11200\'','expenses/saveExpense','0.016516208648682','2016-08-22 14:28:57'),(22036,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1000\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-22\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2155\'','expenses/saveExpense','0.020323991775513','2016-08-22 14:28:58'),(22037,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'Item A\', `lineNo` = 1, `accountID` = \'32530\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2109\'','expenses/saveExpense','0.0002288818359375','2016-08-22 14:28:58'),(22038,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'300\'','expenses/saveExpense','0.024671792984009','2016-08-22 14:28:58'),(22039,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000009\' WHERE `ID` =  \'2155\'','expenses/saveExpense','0.024848937988281','2016-08-22 14:28:58'),(22040,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000009\', \'Operating Expenses [OP-E[00000628]]\', \'Operating Expenses [OP-E[00000628]]\', \'\', \'3\', \'2016-08-22\', \'16\', \'08\', 1000, 1000, \'1\')','expenses/saveExpense','0.015893936157227','2016-08-22 14:28:58'),(22041,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000009\', 1, \'Item A\', \'32515\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016397953033447','2016-08-22 14:28:58'),(22042,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000009\', 2, \'Item A\', \'32530\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016413927078247','2016-08-22 14:28:58'),(22043,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000009\'','expenses/saveExpense','0.016484975814819','2016-08-22 14:28:58'),(22044,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2155\'','expenses/saveExpense','0.016546010971069','2016-08-22 14:28:58'),(22045,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11201','expenses/saveExpense','0.016518115997314','2016-08-22 14:28:58'),(22046,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000009\'','expenses/saveExpense','0.016467094421387','2016-08-22 14:28:58'),(22047,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.023882865905762','2016-08-22 14:28:58'),(22048,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.12652707099915','2016-08-22 14:28:58'),(22049,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49133\'','expenses/saveExpense','0.023061037063599','2016-08-22 14:30:55'),(22050,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49134\'','expenses/saveExpense','0.016495943069458','2016-08-22 14:30:55'),(22051,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11201\'','expenses/saveExpense','0.033169031143188','2016-08-22 14:30:55'),(22052,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1020\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-22\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2155\'','expenses/saveExpense','0.02387809753418','2016-08-22 14:30:55'),(22053,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.041470050811768','2016-08-22 14:30:55'),(22054,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'2\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016483068466187','2016-08-22 14:30:55'),(22055,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'3\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01461386680603','2016-08-22 14:30:55'),(22056,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'4\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.018402099609375','2016-08-22 14:30:55'),(22057,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'5\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016497850418091','2016-08-22 14:30:55'),(22058,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'7\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016500949859619','2016-08-22 14:30:55'),(22059,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'8\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016512155532837','2016-08-22 14:30:55'),(22060,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'6\', 1, \'32530\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.016510009765625','2016-08-22 14:30:55'),(22061,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'Item A\', `lineNo` = 1, `accountID` = \'32530\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2109\'','expenses/saveExpense','0.016401052474976','2016-08-22 14:30:55'),(22062,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'9\', 1, \'32531\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.014884948730469','2016-08-22 14:30:55'),(22063,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2155\', \'1\', \'10\', 1, \'32535\', \'11\', \'11\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01807689666748','2016-08-22 14:30:55'),(22064,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'300\'','expenses/saveExpense','0.014609098434448','2016-08-22 14:30:55'),(22065,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000010\' WHERE `ID` =  \'2155\'','expenses/saveExpense','0.017975091934204','2016-08-22 14:30:55'),(22066,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', \'Operating Expenses [OP-E[00000628]]\', \'Operating Expenses [OP-E[00000628]]\', \'\', \'3\', \'2016-08-22\', \'16\', \'08\', 1020, 1020, \'1\')','expenses/saveExpense','0.015828132629395','2016-08-22 14:30:55'),(22067,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 1, \'1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.024724960327148','2016-08-22 14:30:55'),(22068,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 2, \'1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.024716138839722','2016-08-22 14:30:55'),(22069,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 3, \'2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016402006149292','2016-08-22 14:30:55'),(22070,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 4, \'2\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016394138336182','2016-08-22 14:30:55'),(22071,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 5, \'3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016499042510986','2016-08-22 14:30:55'),(22072,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 6, \'3\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.088227987289429','2016-08-22 14:30:55'),(22073,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 7, \'4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.017674922943115','2016-08-22 14:30:55'),(22074,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 8, \'4\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.02649712562561','2016-08-22 14:30:55'),(22075,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 9, \'5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016396045684814','2016-08-22 14:30:55'),(22076,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 10, \'5\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016412019729614','2016-08-22 14:30:55'),(22077,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 11, \'7\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016431093215942','2016-08-22 14:30:55'),(22078,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 12, \'7\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016426086425781','2016-08-22 14:30:55'),(22079,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 13, \'8\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.024742126464844','2016-08-22 14:30:55'),(22080,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 14, \'8\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016424894332886','2016-08-22 14:30:55'),(22081,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 15, \'6\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016443014144897','2016-08-22 14:30:55'),(22082,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 16, \'6\', \'32530\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016381978988647','2016-08-22 14:30:55'),(22083,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 17, \'9\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016410112380981','2016-08-22 14:30:55'),(22084,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 18, \'9\', \'32531\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016417026519775','2016-08-22 14:30:55'),(22085,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 19, \'10\', \'32515\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016418933868408','2016-08-22 14:30:55'),(22086,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000010\', 20, \'10\', \'32535\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016411066055298','2016-08-22 14:30:55'),(22087,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 20, `total_amount_cr` = 20, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000010\'','expenses/saveExpense','0.016502857208252','2016-08-22 14:30:55'),(22088,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2155\'','expenses/saveExpense','0.016534090042114','2016-08-22 14:30:55'),(22089,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11202','expenses/saveExpense','0.016520023345947','2016-08-22 14:30:56'),(22090,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000010\'','expenses/saveExpense','0.016510963439941','2016-08-22 14:30:56'),(22091,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.036267042160034','2016-08-22 14:30:56'),(22092,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32529\', \'2016\', \'8\', \'1\', \'0\', 1, \'User\', \'2016-08-22: 08:08:54\')','expenses/saveExpense','0.0156569480896','2016-08-22 14:30:56'),(22093,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015845060348511','2016-08-22 14:30:56'),(22094,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015948057174683','2016-08-22 14:30:56'),(22095,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01587700843811','2016-08-22 14:30:56'),(22096,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015933036804199','2016-08-22 14:30:56'),(22097,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01589298248291','2016-08-22 14:30:56'),(22098,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01438307762146','2016-08-22 14:30:56'),(22099,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015927076339722','2016-08-22 14:30:56'),(22100,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015894889831543','2016-08-22 14:30:56'),(22101,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.024265050888062','2016-08-22 14:30:56'),(22102,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.01593017578125','2016-08-22 14:30:56'),(22103,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015918016433716','2016-08-22 14:30:56'),(22104,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015904903411865','2016-08-22 14:30:56'),(22105,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015909910202026','2016-08-22 14:30:56'),(22106,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.02423095703125','2016-08-22 14:30:56'),(22107,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015950202941895','2016-08-22 14:30:56'),(22108,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32531\', \'2016\', \'8\', \'1\', \'0\', 1, \'User\', \'2016-08-22: 08:08:55\')','expenses/saveExpense','0.015647888183594','2016-08-22 14:30:56'),(22109,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.015911102294922','2016-08-22 14:30:56'),(22110,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32535\', \'2016\', \'8\', \'11\', \'0\', 11, \'User\', \'2016-08-22: 08:08:55\')','expenses/saveExpense','0.015695095062256','2016-08-22 14:30:56'),(22111,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'\'','expenses/removeDetail','0.085615873336792','2016-08-22 14:31:18'),(22112,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2112\'','expenses/removeDetail','0.048366785049438','2016-08-22 14:31:18'),(22113,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49135\'','expenses/saveExpense','0.036844968795776','2016-08-22 14:31:20'),(22114,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49136\'','expenses/saveExpense','0.016463994979858','2016-08-22 14:31:20'),(22115,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49137\'','expenses/saveExpense','0.016520977020264','2016-08-22 14:31:20'),(22116,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49138\'','expenses/saveExpense','0.024847030639648','2016-08-22 14:31:20'),(22117,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49139\'','expenses/saveExpense','0.016538143157959','2016-08-22 14:31:20'),(22118,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49140\'','expenses/saveExpense','0.016531944274902','2016-08-22 14:31:20'),(22119,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49141\'','expenses/saveExpense','0.016541957855225','2016-08-22 14:31:20'),(22120,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49142\'','expenses/saveExpense','0.024883985519409','2016-08-22 14:31:20'),(22121,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49143\'','expenses/saveExpense','0.016541004180908','2016-08-22 14:31:20'),(22122,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49144\'','expenses/saveExpense','0.016529083251953','2016-08-22 14:31:20'),(22123,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49145\'','expenses/saveExpense','0.016529083251953','2016-08-22 14:31:20'),(22124,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49146\'','expenses/saveExpense','0.066516876220703','2016-08-22 14:31:20'),(22125,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49147\'','expenses/saveExpense','0.016534090042114','2016-08-22 14:31:20'),(22126,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49148\'','expenses/saveExpense','0.016532897949219','2016-08-22 14:31:20'),(22127,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49149\'','expenses/saveExpense','0.016509056091309','2016-08-22 14:31:20'),(22128,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49150\'','expenses/saveExpense','0.016546010971069','2016-08-22 14:31:20'),(22129,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49151\'','expenses/saveExpense','0.024902820587158','2016-08-22 14:31:20'),(22130,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49152\'','expenses/saveExpense','0.016542911529541','2016-08-22 14:31:20'),(22131,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49153\'','expenses/saveExpense','0.016532897949219','2016-08-22 14:31:20'),(22132,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49154\'','expenses/saveExpense','0.016524076461792','2016-08-22 14:31:20'),(22133,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11202\'','expenses/saveExpense','0.016546010971069','2016-08-22 14:31:20'),(22134,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 1, `paymentMethodID` = \'68\', `amountPaid` = \'1019\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-22\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2155\'','expenses/saveExpense','0.011236906051636','2016-08-22 14:31:20'),(22135,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'1\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2111\'','expenses/saveExpense','0.00020098686218262','2016-08-22 14:31:20'),(22136,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'3\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2113\'','expenses/saveExpense','0.00010085105895996','2016-08-22 14:31:20'),(22137,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'4\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2114\'','expenses/saveExpense','0.000095129013061523','2016-08-22 14:31:20'),(22138,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'5\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2115\'','expenses/saveExpense','0.000093936920166016','2016-08-22 14:31:20'),(22139,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'7\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2116\'','expenses/saveExpense','0.000092983245849609','2016-08-22 14:31:20'),(22140,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'8\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2117\'','expenses/saveExpense','0.000092983245849609','2016-08-22 14:31:20'),(22141,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'6\', `lineNo` = 1, `accountID` = \'32530\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2118\'','expenses/saveExpense','0.00009608268737793','2016-08-22 14:31:20'),(22142,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'Item A\', `lineNo` = 1, `accountID` = \'32530\', `amountIncludedTax` = \'0\', `amountExcludedTax` = \'0\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2109\'','expenses/saveExpense','0.000094175338745117','2016-08-22 14:31:20'),(22143,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'9\', `lineNo` = 1, `accountID` = \'32531\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2119\'','expenses/saveExpense','0.000092029571533203','2016-08-22 14:31:20'),(22144,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2155\', `createdBy` = \'1\', `itemdescription` = \'10\', `lineNo` = 1, `accountID` = \'32535\', `amountIncludedTax` = \'11\', `amountExcludedTax` = \'11\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2120\'','expenses/saveExpense','0.000092029571533203','2016-08-22 14:31:20'),(22145,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'300\'','expenses/saveExpense','0.016035795211792','2016-08-22 14:31:20'),(22146,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000011\' WHERE `ID` =  \'2155\'','expenses/saveExpense','0.018306016921997','2016-08-22 14:31:20'),(22147,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', \'Operating Expenses [OP-E[00000628]]\', \'Operating Expenses [OP-E[00000628]]\', \'\', \'3\', \'2016-08-22\', \'16\', \'08\', 1019, 1019, \'1\')','expenses/saveExpense','0.015992879867554','2016-08-22 14:31:20'),(22148,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 1, \'1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016384840011597','2016-08-22 14:31:20'),(22149,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 2, \'1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016412973403931','2016-08-22 14:31:20'),(22150,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 3, \'3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016439199447632','2016-08-22 14:31:20'),(22151,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 4, \'3\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016446113586426','2016-08-22 14:31:20'),(22152,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 5, \'4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016406059265137','2016-08-22 14:31:20'),(22153,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 6, \'4\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016422986984253','2016-08-22 14:31:20'),(22154,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 7, \'5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016431093215942','2016-08-22 14:31:21'),(22155,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 8, \'5\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016422033309937','2016-08-22 14:31:21'),(22156,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 9, \'7\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016417026519775','2016-08-22 14:31:21'),(22157,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 10, \'7\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016432046890259','2016-08-22 14:31:21'),(22158,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 11, \'8\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016422033309937','2016-08-22 14:31:21'),(22159,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 12, \'8\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.024760007858276','2016-08-22 14:31:21'),(22160,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 13, \'6\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016419887542725','2016-08-22 14:31:21'),(22161,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 14, \'6\', \'32530\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016446113586426','2016-08-22 14:31:21'),(22162,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 15, \'9\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016436815261841','2016-08-22 14:31:21'),(22163,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 16, \'9\', \'32531\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.016414165496826','2016-08-22 14:31:21'),(22164,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 17, \'10\', \'32515\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.044403791427612','2016-08-22 14:31:21'),(22165,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000011\', 18, \'10\', \'32535\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-E[00000628]\', \'User\')','expenses/saveExpense','0.021762132644653','2016-08-22 14:31:21'),(22166,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 19, `total_amount_cr` = 19, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.016451835632324','2016-08-22 14:31:21'),(22167,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2155\'','expenses/saveExpense','0.016557931900024','2016-08-22 14:31:21'),(22168,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11203','expenses/saveExpense','0.016515970230103','2016-08-22 14:31:21'),(22169,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000011\'','expenses/saveExpense','0.016484022140503','2016-08-22 14:31:21'),(22170,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.013154983520508','2016-08-22 14:31:21'),(22171,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.024441003799438','2016-08-22 14:31:21'),(22172,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.04066014289856','2016-08-22 14:31:21'),(22173,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.043030023574829','2016-08-22 14:31:21'),(22174,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.065949201583862','2016-08-22 14:31:21'),(22175,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.12214708328247','2016-08-22 14:31:21'),(22176,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.034902095794678','2016-08-22 14:31:21'),(22177,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032614946365356','2016-08-22 14:31:21'),(22178,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032590866088867','2016-08-22 14:31:21'),(22179,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.040899991989136','2016-08-22 14:31:21'),(22180,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032567977905273','2016-08-22 14:31:21'),(22181,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032279014587402','2016-08-22 14:31:21'),(22182,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032639980316162','2016-08-22 14:31:21'),(22183,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032596111297607','2016-08-22 14:31:21'),(22184,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.03259801864624','2016-08-22 14:31:21'),(22185,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32531\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.03264594078064','2016-08-22 14:31:21'),(22186,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.049247980117798','2016-08-22 14:31:21'),(22187,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32535\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/saveExpense','0.032588005065918','2016-08-22 14:31:21'),(22188,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0028440952301025','2016-08-22 15:03:08'),(22189,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0015499591827393','2016-08-22 15:03:27'),(22190,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0016031265258789','2016-08-22 15:08:22'),(22191,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00088787078857422','2016-08-22 15:11:17'),(22192,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0013809204101562','2016-08-22 15:14:34'),(22193,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.12567186355591','2016-08-22 15:52:33'),(22194,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00090885162353516','2016-08-22 15:52:47'),(22195,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00087308883666992','2016-08-22 15:55:14'),(22196,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00090909004211426','2016-08-22 15:57:51'),(22197,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'600.00\', `createdTS` = \'2016-08-10 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32751\'','setup/saveAsset','0.081197023391724','2016-08-22 16:03:19'),(22198,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00088691711425781','2016-08-22 16:03:21'),(22199,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00091099739074707','2016-08-22 16:03:28'),(22200,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00087690353393555','2016-08-22 16:03:46'),(22201,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'600.00\', `createdTS` = \'2016-06-26 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'32751\'','setup/saveAsset','0.11263990402222','2016-08-22 16:04:01'),(22202,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00088405609130859','2016-08-22 16:04:02'),(22203,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00087094306945801','2016-08-22 16:04:08'),(22204,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00089097023010254','2016-08-22 16:04:24'),(22205,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.016055822372437','2016-08-22 16:04:33'),(22206,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00093889236450195','2016-08-22 16:08:02'),(22207,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00093698501586914','2016-08-22 16:08:53'),(22208,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00090384483337402','2016-08-22 16:15:41'),(22209,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00096511840820312','2016-08-22 16:19:56'),(22210,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00090599060058594','2016-08-22 16:30:10'),(22211,13,10,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-11\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.089905023574829','2016-08-22 16:58:50'),(22212,13,10,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-11\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.033262968063354','2016-08-22 16:58:50'),(22213,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.040956974029541','2016-08-22 16:59:02'),(22214,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00093603134155273','2016-08-22 16:59:31'),(22215,13,10,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-10\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.086893796920776','2016-08-22 16:59:49'),(22216,13,10,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-10\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.008296012878418','2016-08-22 16:59:49'),(22217,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00092005729675293','2016-08-22 17:00:01'),(22218,13,10,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-10\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.00029397010803223','2016-08-22 17:00:45'),(22219,13,10,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-10\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.00013303756713867','2016-08-22 17:00:45'),(22220,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00089216232299805','2016-08-22 17:01:03'),(22221,13,10,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-11\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.095525979995728','2016-08-22 17:01:51'),(22222,13,10,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-11\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.0082731246948242','2016-08-22 17:01:51'),(22223,13,10,'192.168.1.198','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-10\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.094231128692627','2016-08-22 17:02:39'),(22224,13,10,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-10\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.027206897735596','2016-08-22 17:02:39'),(22225,0,0,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.019129991531372','2016-08-23 11:08:44'),(22226,0,0,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00032782554626465','2016-08-23 11:08:44'),(22227,0,0,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00022506713867188','2016-08-23 11:08:44'),(22228,0,0,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.0001990795135498','2016-08-23 11:08:44'),(22229,0,0,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3','home/index','0.094573974609375','2016-08-23 11:08:44'),(22230,0,0,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020447015762329','2016-08-23 11:08:44'),(22231,0,0,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020485877990723','2016-08-23 11:08:44'),(22232,0,0,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020426034927368','2016-08-23 11:08:44'),(22233,0,0,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  0\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.36776089668274','2016-08-23 11:08:44'),(22234,0,0,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0011839866638184','2016-08-23 11:08:44'),(22235,0,0,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00069618225097656','2016-08-23 11:08:44'),(22236,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0088751316070557','2016-08-23 11:08:48'),(22237,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00032186508178711','2016-08-23 11:08:48'),(22238,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00022387504577637','2016-08-23 11:08:48'),(22239,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020599365234375','2016-08-23 11:08:48'),(22240,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019478797912598','2016-08-23 11:08:48'),(22241,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018501281738281','2016-08-23 11:08:48'),(22242,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 11:08:48'),(22243,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018215179443359','2016-08-23 11:08:48'),(22244,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018310546875','2016-08-23 11:08:48'),(22245,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017881393432617','2016-08-23 11:08:48'),(22246,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017285346984863','2016-08-23 11:08:48'),(22247,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 11:08:48'),(22248,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00040102005004883','2016-08-23 11:08:49'),(22249,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0002751350402832','2016-08-23 11:08:49'),(22250,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00024294853210449','2016-08-23 11:08:49'),(22251,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00022697448730469','2016-08-23 11:08:49'),(22252,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00022006034851074','2016-08-23 11:08:49'),(22253,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0002131462097168','2016-08-23 11:08:49'),(22254,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021004676818848','2016-08-23 11:08:49'),(22255,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021100044250488','2016-08-23 11:08:49'),(22256,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021004676818848','2016-08-23 11:08:49'),(22257,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020909309387207','2016-08-23 11:08:49'),(22258,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020503997802734','2016-08-23 11:08:49'),(22259,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021004676818848','2016-08-23 11:08:49'),(22260,0,0,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  0\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00034904479980469','2016-08-23 11:08:52'),(22261,0,0,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  0\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00034189224243164','2016-08-23 11:08:53'),(22262,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019598007202148','2016-08-23 11:08:53'),(22263,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017309188842773','2016-08-23 11:08:53'),(22264,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016689300537109','2016-08-23 11:08:53'),(22265,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016593933105469','2016-08-23 11:08:53'),(22266,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016498565673828','2016-08-23 11:08:53'),(22267,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016498565673828','2016-08-23 11:08:53'),(22268,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016093254089355','2016-08-23 11:08:53'),(22269,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016593933105469','2016-08-23 11:08:53'),(22270,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016593933105469','2016-08-23 11:08:53'),(22271,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016617774963379','2016-08-23 11:08:53'),(22272,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016498565673828','2016-08-23 11:08:53'),(22273,0,0,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016188621520996','2016-08-23 11:08:54'),(22274,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.016467094421387','2016-08-23 11:08:57'),(22275,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00049400329589844','2016-08-23 11:08:57'),(22276,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00035214424133301','2016-08-23 11:08:57'),(22277,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033688545227051','2016-08-23 11:08:57'),(22278,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003349781036377','2016-08-23 11:08:57'),(22279,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032877922058105','2016-08-23 11:08:57'),(22280,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032615661621094','2016-08-23 11:08:57'),(22281,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-23 11:08:57'),(22282,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032687187194824','2016-08-23 11:08:57'),(22283,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032615661621094','2016-08-23 11:08:57'),(22284,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032305717468262','2016-08-23 11:08:57'),(22285,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032591819763184','2016-08-23 11:08:57'),(22286,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00057888031005859','2016-08-23 11:08:59'),(22287,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0004727840423584','2016-08-23 11:08:59'),(22288,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00039386749267578','2016-08-23 11:08:59'),(22289,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00038313865661621','2016-08-23 11:08:59'),(22290,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003669261932373','2016-08-23 11:08:59'),(22291,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00036001205444336','2016-08-23 11:08:59'),(22292,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00036382675170898','2016-08-23 11:08:59'),(22293,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003669261932373','2016-08-23 11:08:59'),(22294,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037002563476562','2016-08-23 11:08:59'),(22295,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00036478042602539','2016-08-23 11:08:59'),(22296,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00036001205444336','2016-08-23 11:08:59'),(22297,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00036191940307617','2016-08-23 11:08:59'),(22298,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0005490779876709','2016-08-23 11:09:01'),(22299,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00042605400085449','2016-08-23 11:09:01'),(22300,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034594535827637','2016-08-23 11:09:01'),(22301,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033807754516602','2016-08-23 11:09:01'),(22302,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032997131347656','2016-08-23 11:09:01'),(22303,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003211498260498','2016-08-23 11:09:01'),(22304,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003199577331543','2016-08-23 11:09:01'),(22305,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032210350036621','2016-08-23 11:09:01'),(22306,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-23 11:09:01'),(22307,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032496452331543','2016-08-23 11:09:01'),(22308,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00031685829162598','2016-08-23 11:09:01'),(22309,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003211498260498','2016-08-23 11:09:01'),(22310,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00054788589477539','2016-08-23 11:09:02'),(22311,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00038814544677734','2016-08-23 11:09:02'),(22312,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034093856811523','2016-08-23 11:09:02'),(22313,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033092498779297','2016-08-23 11:09:02'),(22314,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 11:09:02'),(22315,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00031900405883789','2016-08-23 11:09:02'),(22316,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00031805038452148','2016-08-23 11:09:02'),(22317,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00031900405883789','2016-08-23 11:09:02'),(22318,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00031805038452148','2016-08-23 11:09:02'),(22319,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003199577331543','2016-08-23 11:09:02'),(22320,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00031495094299316','2016-08-23 11:09:02'),(22321,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003211498260498','2016-08-23 11:09:02'),(22322,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00056099891662598','2016-08-23 11:09:05'),(22323,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.00044703483581543','2016-08-23 11:09:05'),(22324,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00036501884460449','2016-08-23 11:09:09'),(22325,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00024509429931641','2016-08-23 11:09:09'),(22326,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020098686218262','2016-08-23 11:09:09'),(22327,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019121170043945','2016-08-23 11:09:09'),(22328,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001838207244873','2016-08-23 11:09:09'),(22329,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017786026000977','2016-08-23 11:09:09'),(22330,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00049591064453125','2016-08-23 11:09:09'),(22331,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001828670501709','2016-08-23 11:09:09'),(22332,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 11:09:09'),(22333,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017809867858887','2016-08-23 11:09:09'),(22334,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 11:09:09'),(22335,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017094612121582','2016-08-23 11:09:09'),(22336,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00046396255493164','2016-08-23 11:09:09'),(22337,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00048708915710449','2016-08-23 11:09:09'),(22338,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00045514106750488','2016-08-23 11:09:09'),(22339,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00044798851013184','2016-08-23 11:09:09'),(22340,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00044488906860352','2016-08-23 11:09:09'),(22341,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00043821334838867','2016-08-23 11:09:09'),(22342,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00044107437133789','2016-08-23 11:09:10'),(22343,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00043916702270508','2016-08-23 11:09:10'),(22344,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00043296813964844','2016-08-23 11:09:10'),(22345,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00049901008605957','2016-08-23 11:09:10'),(22346,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00043106079101562','2016-08-23 11:09:10'),(22347,0,0,'192.168.1.204','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00042390823364258','2016-08-23 11:09:10'),(22348,0,0,'192.168.1.204','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  0\nORDER BY `description`','userProfile/userMaster','0.074903011322021','2016-08-23 11:09:12'),(22349,0,0,'192.168.1.204','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  0\nORDER BY `description`','userProfile/userMaster','0.0013179779052734','2016-08-23 11:09:12'),(22350,0,0,'192.168.1.204','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  0\nLIMIT 1','userProfile/userMaster','0.00023603439331055','2016-08-23 11:09:12'),(22351,0,0,'192.168.1.204','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0013220310211182','2016-08-23 11:09:12'),(22352,0,0,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00027298927307129','2016-08-23 11:09:12'),(22353,0,0,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00019717216491699','2016-08-23 11:09:12'),(22354,26,33,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-08-23\' WHERE `ID` =  \'26\'','setup/updateCompany','0.10993409156799','2016-08-23 12:39:05'),(22355,26,33,'192.168.1.198','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'3\', `businessTypeID` = \'11\', `incorporateDate` = \'2016-08-23\' WHERE `ID` =  \'26\'','setup/updateCompany','0.024511098861694','2016-08-23 12:39:05'),(22356,13,10,'192.168.1.198','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'13\'\nAND `is_delete` =  0','home/index','0.00037097930908203','2016-08-23 14:15:57'),(22357,13,10,'192.168.1.198','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'13\'\nAND `is_delete` =  0','home/index','0.00025391578674316','2016-08-23 14:15:57'),(22358,13,10,'192.168.1.198','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'13\'\nAND `is_delete` =  0','home/index','0.00020217895507812','2016-08-23 14:15:57'),(22359,13,10,'192.168.1.198','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'13\'\nAND `is_delete` =  0','home/index','0.00018692016601562','2016-08-23 14:15:57'),(22360,13,10,'192.168.1.198','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.084811925888062','2016-08-23 14:15:57'),(22361,13,10,'192.168.1.198','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020429134368896','2016-08-23 14:15:57'),(22362,13,10,'192.168.1.198','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020350933074951','2016-08-23 14:15:57'),(22363,13,10,'192.168.1.198','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.02049994468689','2016-08-23 14:15:57'),(22364,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.12628221511841','2016-08-23 14:15:57'),(22365,13,10,'192.168.1.198','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0003209114074707','2016-08-23 14:15:57'),(22366,13,10,'192.168.1.198','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00020194053649902','2016-08-23 14:15:57'),(22367,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.0015220642089844','2016-08-23 14:16:02'),(22368,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00026893615722656','2016-08-23 14:16:02'),(22369,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-23 14:16:02'),(22370,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021982192993164','2016-08-23 14:16:02'),(22371,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-23 14:16:02'),(22372,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-23 14:16:02'),(22373,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 14:16:02'),(22374,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-23 14:16:02'),(22375,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 14:16:02'),(22376,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-23 14:16:02'),(22377,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 14:16:02'),(22378,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-23 14:16:02'),(22379,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00039887428283691','2016-08-23 14:16:03'),(22380,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.0002591609954834','2016-08-23 14:16:03'),(22381,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022482872009277','2016-08-23 14:16:03'),(22382,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-23 14:16:03'),(22383,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-23 14:16:03'),(22384,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-23 14:16:03'),(22385,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-23 14:16:03'),(22386,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-23 14:16:03'),(22387,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021600723266602','2016-08-23 14:16:03'),(22388,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-23 14:16:03'),(22389,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021004676818848','2016-08-23 14:16:03'),(22390,13,10,'192.168.1.198','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.0002138614654541','2016-08-23 14:16:03'),(22391,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.019237041473389','2016-08-23 14:16:31'),(22392,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00085020065307617','2016-08-23 14:33:58'),(22393,12,11,'192.168.1.199','insert','insert into web select * from _ref_web limit 1','web/webadmin','0.023760795593262','2016-08-23 14:35:02'),(22394,12,11,'192.168.1.199','update','UPDATE `web` SET `userid` = \'11\' WHERE `ID` =  1','web/webadmin','0.016356229782104','2016-08-23 14:35:02'),(22395,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0016560554504395','2016-08-23 14:36:46'),(22396,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00037908554077148','2016-08-23 14:44:35'),(22397,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00025391578674316','2016-08-23 14:44:35'),(22398,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00022101402282715','2016-08-23 14:44:35'),(22399,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.0001978874206543','2016-08-23 14:44:35'),(22400,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3','home/index','0.083307981491089','2016-08-23 14:44:35'),(22401,0,0,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020440101623535','2016-08-23 14:44:35'),(22402,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020537137985229','2016-08-23 14:44:35'),(22403,0,0,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020689964294434','2016-08-23 14:44:35'),(22404,0,0,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  0\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.23256707191467','2016-08-23 14:44:35'),(22405,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00027799606323242','2016-08-23 14:44:35'),(22406,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00022196769714355','2016-08-23 14:44:35'),(22407,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0017590522766113','2016-08-23 14:44:41'),(22408,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0002589225769043','2016-08-23 14:44:41'),(22409,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020718574523926','2016-08-23 14:44:41'),(22410,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019311904907227','2016-08-23 14:44:41'),(22411,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018405914306641','2016-08-23 14:44:41'),(22412,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 14:44:41'),(22413,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017380714416504','2016-08-23 14:44:41'),(22414,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017619132995605','2016-08-23 14:44:41'),(22415,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017499923706055','2016-08-23 14:44:41'),(22416,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017309188842773','2016-08-23 14:44:41'),(22417,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017404556274414','2016-08-23 14:44:41'),(22418,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017499923706055','2016-08-23 14:44:41'),(22419,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00037717819213867','2016-08-23 14:44:43'),(22420,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00023794174194336','2016-08-23 14:44:43'),(22421,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020503997802734','2016-08-23 14:44:43'),(22422,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019097328186035','2016-08-23 14:44:43'),(22423,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018310546875','2016-08-23 14:44:43'),(22424,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017499923706055','2016-08-23 14:44:43'),(22425,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017285346984863','2016-08-23 14:44:43'),(22426,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 14:44:43'),(22427,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017285346984863','2016-08-23 14:44:43'),(22428,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017285346984863','2016-08-23 14:44:43'),(22429,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016880035400391','2016-08-23 14:44:43'),(22430,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017309188842773','2016-08-23 14:44:43'),(22431,0,0,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  0\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035905838012695','2016-08-23 14:44:46'),(22432,0,0,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  0\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00038504600524902','2016-08-23 14:44:47'),(22433,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00027203559875488','2016-08-23 14:44:47'),(22434,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00022792816162109','2016-08-23 14:44:47'),(22435,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021696090698242','2016-08-23 14:44:47'),(22436,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021100044250488','2016-08-23 14:44:47'),(22437,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020694732666016','2016-08-23 14:44:47'),(22438,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020503997802734','2016-08-23 14:44:47'),(22439,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020003318786621','2016-08-23 14:44:47'),(22440,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020289421081543','2016-08-23 14:44:47'),(22441,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001988410949707','2016-08-23 14:44:47'),(22442,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001988410949707','2016-08-23 14:44:47'),(22443,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019693374633789','2016-08-23 14:44:47'),(22444,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019693374633789','2016-08-23 14:44:47'),(22445,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.10725402832031','2016-08-23 16:02:19'),(22446,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00036406517028809','2016-08-23 16:02:19'),(22447,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00022983551025391','2016-08-23 16:02:19'),(22448,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.0002129077911377','2016-08-23 16:02:19'),(22449,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3','home/index','0.1445939540863','2016-08-23 16:02:19'),(22450,0,0,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020366907119751','2016-08-23 16:02:19'),(22451,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020401000976562','2016-08-23 16:02:19'),(22452,0,0,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020542144775391','2016-08-23 16:02:19'),(22453,0,0,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  0\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.33410596847534','2016-08-23 16:02:19'),(22454,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.021426916122437','2016-08-23 16:02:19'),(22455,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.010671138763428','2016-08-23 16:02:19'),(22456,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.011102914810181','2016-08-23 16:02:24'),(22457,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00030303001403809','2016-08-23 16:02:24'),(22458,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001828670501709','2016-08-23 16:02:24'),(22459,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017809867858887','2016-08-23 16:02:24'),(22460,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017309188842773','2016-08-23 16:02:24'),(22461,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001680850982666','2016-08-23 16:02:24'),(22462,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001671314239502','2016-08-23 16:02:24'),(22463,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016880035400391','2016-08-23 16:02:24'),(22464,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 16:02:24'),(22465,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017094612121582','2016-08-23 16:02:24'),(22466,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016498565673828','2016-08-23 16:02:24'),(22467,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 16:02:24'),(22468,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00036191940307617','2016-08-23 16:02:25'),(22469,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00023698806762695','2016-08-23 16:02:25'),(22470,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:02:25'),(22471,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:02:25'),(22472,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017189979553223','2016-08-23 16:02:25'),(22473,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001671314239502','2016-08-23 16:02:25'),(22474,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016689300537109','2016-08-23 16:02:25'),(22475,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 16:02:25'),(22476,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 16:02:25'),(22477,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:25'),(22478,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016593933105469','2016-08-23 16:02:25'),(22479,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017094612121582','2016-08-23 16:02:25'),(22480,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` =  \'2\'','setup/getBusinessType','0.0067119598388672','2016-08-23 16:02:27'),(22481,0,0,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  0\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00037312507629395','2016-08-23 16:02:28'),(22482,0,0,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  0\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00035309791564941','2016-08-23 16:02:30'),(22483,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0002439022064209','2016-08-23 16:02:30'),(22484,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:02:30'),(22485,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:30'),(22486,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:30'),(22487,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001678466796875','2016-08-23 16:02:30'),(22488,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016689300537109','2016-08-23 16:02:30'),(22489,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016403198242188','2016-08-23 16:02:30'),(22490,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016593933105469','2016-08-23 16:02:30'),(22491,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016593933105469','2016-08-23 16:02:30'),(22492,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016689300537109','2016-08-23 16:02:30'),(22493,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016498565673828','2016-08-23 16:02:30'),(22494,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016212463378906','2016-08-23 16:02:30'),(22495,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0010039806365967','2016-08-23 16:02:34'),(22496,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00043201446533203','2016-08-23 16:02:34'),(22497,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00034594535827637','2016-08-23 16:02:34'),(22498,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033688545227051','2016-08-23 16:02:34'),(22499,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033092498779297','2016-08-23 16:02:34'),(22500,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032591819763184','2016-08-23 16:02:34'),(22501,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032591819763184','2016-08-23 16:02:34'),(22502,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00036001205444336','2016-08-23 16:02:34'),(22503,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033211708068848','2016-08-23 16:02:34'),(22504,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 16:02:34'),(22505,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032401084899902','2016-08-23 16:02:34'),(22506,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032496452331543','2016-08-23 16:02:34'),(22507,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00055289268493652','2016-08-23 16:02:35'),(22508,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0004279613494873','2016-08-23 16:02:35'),(22509,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00034618377685547','2016-08-23 16:02:35'),(22510,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003359317779541','2016-08-23 16:02:35'),(22511,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033402442932129','2016-08-23 16:02:35'),(22512,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 16:02:35'),(22513,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032687187194824','2016-08-23 16:02:35'),(22514,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 16:02:35'),(22515,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 16:02:35'),(22516,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032711029052734','2016-08-23 16:02:35'),(22517,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032401084899902','2016-08-23 16:02:35'),(22518,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032687187194824','2016-08-23 16:02:35'),(22519,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.015204906463623','2016-08-23 16:02:37'),(22520,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00050115585327148','2016-08-23 16:02:37'),(22521,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034999847412109','2016-08-23 16:02:37'),(22522,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003359317779541','2016-08-23 16:02:37'),(22523,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-23 16:02:37'),(22524,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033187866210938','2016-08-23 16:02:37'),(22525,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032615661621094','2016-08-23 16:02:37'),(22526,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032782554626465','2016-08-23 16:02:37'),(22527,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032711029052734','2016-08-23 16:02:37'),(22528,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-23 16:02:37'),(22529,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032210350036621','2016-08-23 16:02:37'),(22530,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003211498260498','2016-08-23 16:02:37'),(22531,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00054407119750977','2016-08-23 16:02:39'),(22532,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0004279613494873','2016-08-23 16:02:39'),(22533,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034284591674805','2016-08-23 16:02:39'),(22534,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033783912658691','2016-08-23 16:02:39'),(22535,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-23 16:02:39'),(22536,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032687187194824','2016-08-23 16:02:39'),(22537,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032496452331543','2016-08-23 16:02:39'),(22538,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032997131347656','2016-08-23 16:02:39'),(22539,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 16:02:39'),(22540,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 16:02:39'),(22541,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034809112548828','2016-08-23 16:02:39'),(22542,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032615661621094','2016-08-23 16:02:39'),(22543,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00057506561279297','2016-08-23 16:02:42'),(22544,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.00042295455932617','2016-08-23 16:02:42'),(22545,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00036501884460449','2016-08-23 16:02:46'),(22546,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00022602081298828','2016-08-23 16:02:46'),(22547,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017714500427246','2016-08-23 16:02:46'),(22548,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017094612121582','2016-08-23 16:02:46'),(22549,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 16:02:46'),(22550,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016617774963379','2016-08-23 16:02:46'),(22551,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016593933105469','2016-08-23 16:02:46'),(22552,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 16:02:46'),(22553,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:46'),(22554,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:46'),(22555,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016498565673828','2016-08-23 16:02:46'),(22556,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:46'),(22557,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00045895576477051','2016-08-23 16:02:46'),(22558,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00052499771118164','2016-08-23 16:02:46'),(22559,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00048494338989258','2016-08-23 16:02:46'),(22560,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00047612190246582','2016-08-23 16:02:46'),(22561,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00045895576477051','2016-08-23 16:02:46'),(22562,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0004119873046875','2016-08-23 16:02:46'),(22563,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00041913986206055','2016-08-23 16:02:46'),(22564,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0004570484161377','2016-08-23 16:02:46'),(22565,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00045990943908691','2016-08-23 16:02:46'),(22566,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00044798851013184','2016-08-23 16:02:46'),(22567,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00044894218444824','2016-08-23 16:02:46'),(22568,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00044798851013184','2016-08-23 16:02:46'),(22569,0,0,'192.168.1.220','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'8\', `incorporateDate` = \'2016-08-23\' WHERE `ID` =  0','setup/updateCompany','0.26519417762756','2016-08-23 16:02:48'),(22570,0,0,'192.168.1.220','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'8\', `incorporateDate` = \'2016-08-23\' WHERE `ID` =  0','setup/updateCompany','0.017553091049194','2016-08-23 16:02:48'),(22571,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.0003819465637207','2016-08-23 16:02:48'),(22572,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.0002439022064209','2016-08-23 16:02:48'),(22573,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00019097328186035','2016-08-23 16:02:48'),(22574,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00017809867858887','2016-08-23 16:02:48'),(22575,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3','home/index','0.057887077331543','2016-08-23 16:02:49'),(22576,0,0,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020236968994141','2016-08-23 16:02:49'),(22577,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020208120346069','2016-08-23 16:02:49'),(22578,0,0,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.02033805847168','2016-08-23 16:02:49'),(22579,0,0,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  0\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.24903893470764','2016-08-23 16:02:49'),(22580,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00027799606323242','2016-08-23 16:02:49'),(22581,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00019407272338867','2016-08-23 16:02:49'),(22582,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.015588045120239','2016-08-23 16:02:52'),(22583,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00030708312988281','2016-08-23 16:02:52'),(22584,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001828670501709','2016-08-23 16:02:52'),(22585,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017714500427246','2016-08-23 16:02:52'),(22586,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017189979553223','2016-08-23 16:02:52'),(22587,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:52'),(22588,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001671314239502','2016-08-23 16:02:52'),(22589,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:52'),(22590,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 16:02:52'),(22591,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016999244689941','2016-08-23 16:02:52'),(22592,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016593933105469','2016-08-23 16:02:52'),(22593,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:02:52'),(22594,0,0,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  0\nORDER BY `description`','userProfile/userMaster','0.064456939697266','2016-08-23 16:02:53'),(22595,0,0,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  0\nORDER BY `description`','userProfile/userMaster','0.0013589859008789','2016-08-23 16:02:53'),(22596,0,0,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  0\nLIMIT 1','userProfile/userMaster','0.00080084800720215','2016-08-23 16:02:53'),(22597,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0089609622955322','2016-08-23 16:02:53'),(22598,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00029683113098145','2016-08-23 16:02:53'),(22599,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00022411346435547','2016-08-23 16:02:53'),(22600,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00041794776916504','2016-08-23 16:03:17'),(22601,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00028491020202637','2016-08-23 16:03:17'),(22602,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00025415420532227','2016-08-23 16:03:17'),(22603,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00023198127746582','2016-08-23 16:03:17'),(22604,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3','home/index','0.076327085494995','2016-08-23 16:03:17'),(22605,0,0,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020565986633301','2016-08-23 16:03:17'),(22606,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020548105239868','2016-08-23 16:03:17'),(22607,0,0,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020615100860596','2016-08-23 16:03:17'),(22608,0,0,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  0\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.097997188568115','2016-08-23 16:03:17'),(22609,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00034308433532715','2016-08-23 16:03:17'),(22610,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00024795532226562','2016-08-23 16:03:17'),(22611,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0015461444854736','2016-08-23 16:03:22'),(22612,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00031495094299316','2016-08-23 16:03:23'),(22613,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00025081634521484','2016-08-23 16:03:23'),(22614,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00023412704467773','2016-08-23 16:03:23'),(22615,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00022292137145996','2016-08-23 16:03:23'),(22616,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021600723266602','2016-08-23 16:03:23'),(22617,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0002129077911377','2016-08-23 16:03:23'),(22618,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021100044250488','2016-08-23 16:03:23'),(22619,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00021100044250488','2016-08-23 16:03:23'),(22620,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020909309387207','2016-08-23 16:03:23'),(22621,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020909309387207','2016-08-23 16:03:23'),(22622,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020790100097656','2016-08-23 16:03:23'),(22623,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00038385391235352','2016-08-23 16:03:24'),(22624,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00023293495178223','2016-08-23 16:03:24'),(22625,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001988410949707','2016-08-23 16:03:24'),(22626,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018501281738281','2016-08-23 16:03:24'),(22627,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:03:24'),(22628,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017309188842773','2016-08-23 16:03:24'),(22629,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017094612121582','2016-08-23 16:03:24'),(22630,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017380714416504','2016-08-23 16:03:24'),(22631,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017213821411133','2016-08-23 16:03:24'),(22632,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017094612121582','2016-08-23 16:03:24'),(22633,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001678466796875','2016-08-23 16:03:24'),(22634,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00016903877258301','2016-08-23 16:03:24'),(22635,0,0,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  0\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035190582275391','2016-08-23 16:03:29'),(22636,0,0,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  0\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00036382675170898','2016-08-23 16:03:30'),(22637,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00024604797363281','2016-08-23 16:03:30'),(22638,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020384788513184','2016-08-23 16:03:30'),(22639,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001981258392334','2016-08-23 16:03:30'),(22640,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001981258392334','2016-08-23 16:03:30'),(22641,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001981258392334','2016-08-23 16:03:30'),(22642,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00049901008605957','2016-08-23 16:03:30'),(22643,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001978874206543','2016-08-23 16:03:30'),(22644,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020694732666016','2016-08-23 16:03:30'),(22645,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019598007202148','2016-08-23 16:03:30'),(22646,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019693374633789','2016-08-23 16:03:30'),(22647,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019001960754395','2016-08-23 16:03:30'),(22648,0,0,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00019311904907227','2016-08-23 16:03:30'),(22649,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0065271854400635','2016-08-23 16:03:34'),(22650,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00046420097351074','2016-08-23 16:03:34'),(22651,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00034093856811523','2016-08-23 16:03:34'),(22652,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032997131347656','2016-08-23 16:03:34'),(22653,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032591819763184','2016-08-23 16:03:34'),(22654,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032305717468262','2016-08-23 16:03:34'),(22655,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003211498260498','2016-08-23 16:03:34'),(22656,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032401084899902','2016-08-23 16:03:34'),(22657,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032496452331543','2016-08-23 16:03:34'),(22658,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 16:03:34'),(22659,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032401084899902','2016-08-23 16:03:34'),(22660,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032615661621094','2016-08-23 16:03:34'),(22661,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00054121017456055','2016-08-23 16:03:35'),(22662,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00041604042053223','2016-08-23 16:03:35'),(22663,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033903121948242','2016-08-23 16:03:35'),(22664,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033187866210938','2016-08-23 16:03:35'),(22665,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032401084899902','2016-08-23 16:03:35'),(22666,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00031900405883789','2016-08-23 16:03:35'),(22667,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00031900405883789','2016-08-23 16:03:35'),(22668,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003199577331543','2016-08-23 16:03:35'),(22669,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032281875610352','2016-08-23 16:03:35'),(22670,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003209114074707','2016-08-23 16:03:35'),(22671,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00031590461730957','2016-08-23 16:03:35'),(22672,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003211498260498','2016-08-23 16:03:35'),(22673,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00057220458984375','2016-08-23 16:03:37'),(22674,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00046205520629883','2016-08-23 16:03:37'),(22675,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00038504600524902','2016-08-23 16:03:37'),(22676,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037789344787598','2016-08-23 16:03:37'),(22677,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037884712219238','2016-08-23 16:03:37'),(22678,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037193298339844','2016-08-23 16:03:37'),(22679,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037384033203125','2016-08-23 16:03:37'),(22680,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00038290023803711','2016-08-23 16:03:37'),(22681,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037598609924316','2016-08-23 16:03:37'),(22682,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037312507629395','2016-08-23 16:03:37'),(22683,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00036787986755371','2016-08-23 16:03:37'),(22684,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037384033203125','2016-08-23 16:03:37'),(22685,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00058102607727051','2016-08-23 16:03:39'),(22686,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00040006637573242','2016-08-23 16:03:39'),(22687,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003969669342041','2016-08-23 16:03:39'),(22688,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00035691261291504','2016-08-23 16:03:39'),(22689,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034999847412109','2016-08-23 16:03:39'),(22690,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034093856811523','2016-08-23 16:03:39'),(22691,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003349781036377','2016-08-23 16:03:39'),(22692,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003352165222168','2016-08-23 16:03:39'),(22693,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033402442932129','2016-08-23 16:03:39'),(22694,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033211708068848','2016-08-23 16:03:39'),(22695,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032591819763184','2016-08-23 16:03:39'),(22696,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-23 16:03:39'),(22697,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00056099891662598','2016-08-23 16:03:42'),(22698,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.00041413307189941','2016-08-23 16:03:42'),(22699,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00037693977355957','2016-08-23 16:03:46'),(22700,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00023102760314941','2016-08-23 16:03:46'),(22701,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00020217895507812','2016-08-23 16:03:46'),(22702,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018906593322754','2016-08-23 16:03:46'),(22703,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:03:46'),(22704,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:03:46'),(22705,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017189979553223','2016-08-23 16:03:46'),(22706,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:03:46'),(22707,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017189979553223','2016-08-23 16:03:46'),(22708,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017189979553223','2016-08-23 16:03:46'),(22709,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.0001671314239502','2016-08-23 16:03:46'),(22710,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  0','dashboard/fnGetSeries','0.00017118453979492','2016-08-23 16:03:46'),(22711,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00046586990356445','2016-08-23 16:03:46'),(22712,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00049710273742676','2016-08-23 16:03:46'),(22713,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00045514106750488','2016-08-23 16:03:46'),(22714,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0004429817199707','2016-08-23 16:03:46'),(22715,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00043821334838867','2016-08-23 16:03:46'),(22716,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00042200088500977','2016-08-23 16:03:46'),(22717,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00042891502380371','2016-08-23 16:03:46'),(22718,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00042605400085449','2016-08-23 16:03:46'),(22719,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00041389465332031','2016-08-23 16:03:46'),(22720,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0003969669342041','2016-08-23 16:03:46'),(22721,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00039887428283691','2016-08-23 16:03:46'),(22722,0,0,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  0\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00041699409484863','2016-08-23 16:03:46'),(22723,0,0,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  0\nORDER BY `description`','userProfile/userMaster','0.02397894859314','2016-08-23 16:04:00'),(22724,0,0,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  0\nORDER BY `description`','userProfile/userMaster','0.0011270046234131','2016-08-23 16:04:00'),(22725,0,0,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  0\nLIMIT 1','userProfile/userMaster','0.015351057052612','2016-08-23 16:04:00'),(22726,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.018614053726196','2016-08-23 16:04:00'),(22727,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.001215934753418','2016-08-23 16:04:00'),(22728,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.0077140331268311','2016-08-23 16:04:00'),(22729,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.027771949768066','2016-08-23 16:04:22'),(22730,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00031709671020508','2016-08-23 16:04:22'),(22731,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.00021910667419434','2016-08-23 16:04:22'),(22732,0,0,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  0\nAND `is_delete` =  0','home/index','0.0001981258392334','2016-08-23 16:04:22'),(22733,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3','home/index','0.12802290916443','2016-08-23 16:04:22'),(22734,0,0,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.02053689956665','2016-08-23 16:04:22'),(22735,0,0,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020561933517456','2016-08-23 16:04:22'),(22736,0,0,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  0\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.02056097984314','2016-08-23 16:04:22'),(22737,0,0,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  0\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.25891399383545','2016-08-23 16:04:22'),(22738,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00047802925109863','2016-08-23 16:04:22'),(22739,0,0,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00036096572875977','2016-08-23 16:04:22'),(22740,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.014785051345825','2016-08-23 16:05:06'),(22741,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00030994415283203','2016-08-23 16:05:06'),(22742,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00020289421081543','2016-08-23 16:05:06'),(22743,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00018477439880371','2016-08-23 16:05:06'),(22744,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.028957843780518','2016-08-23 16:05:06'),(22745,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020718812942505','2016-08-23 16:05:06'),(22746,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020359992980957','2016-08-23 16:05:06'),(22747,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020653963088989','2016-08-23 16:05:06'),(22748,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.11918115615845','2016-08-23 16:05:06'),(22749,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00029683113098145','2016-08-23 16:05:06'),(22750,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00020408630371094','2016-08-23 16:05:06'),(22751,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0014500617980957','2016-08-23 16:05:09'),(22752,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00029516220092773','2016-08-23 16:05:09'),(22753,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019598007202148','2016-08-23 16:05:09'),(22754,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-23 16:05:09'),(22755,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-23 16:05:09'),(22756,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:05:09'),(22757,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-23 16:05:09'),(22758,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-23 16:05:09'),(22759,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-23 16:05:09'),(22760,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-23 16:05:09'),(22761,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-23 16:05:09'),(22762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:05:09'),(22763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00041604042053223','2016-08-23 16:05:10'),(22764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0003049373626709','2016-08-23 16:05:10'),(22765,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-23 16:05:10'),(22766,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022411346435547','2016-08-23 16:05:10'),(22767,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022196769714355','2016-08-23 16:05:10'),(22768,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021910667419434','2016-08-23 16:05:11'),(22769,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021791458129883','2016-08-23 16:05:11'),(22770,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022292137145996','2016-08-23 16:05:11'),(22771,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-23 16:05:11'),(22772,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-23 16:05:11'),(22773,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002129077911377','2016-08-23 16:05:11'),(22774,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021600723266602','2016-08-23 16:05:11'),(22775,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.082492113113403','2016-08-23 16:05:13'),(22776,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.0085780620574951','2016-08-23 16:05:13'),(22777,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.00029897689819336','2016-08-23 16:05:13'),(22778,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0097639560699463','2016-08-23 16:05:13'),(22779,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00027704238891602','2016-08-23 16:05:13'),(22780,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00019001960754395','2016-08-23 16:05:13'),(22781,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00031614303588867','2016-08-23 16:05:19'),(22782,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00020194053649902','2016-08-23 16:05:19'),(22783,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.00019693374633789','2016-08-23 16:05:19'),(22784,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.00012612342834473','2016-08-23 16:05:19'),(22785,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.0002140998840332','2016-08-23 16:05:19'),(22786,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00017404556274414','2016-08-23 16:05:19'),(22787,25,32,'192.168.1.220','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'farouqtakwan@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'farouq zakwan\', `position` = 0, `email` = \'\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'32-1471512496-Turban.jpg\', `modified_dt` = \'2016-08-23 10-05-19\', `modified_user` = 0 WHERE `fldid` =  \'32\'','userProfile/userMaster','0.098648071289062','2016-08-23 16:06:54'),(22788,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00037908554077148','2016-08-23 16:06:57'),(22789,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00026297569274902','2016-08-23 16:06:57'),(22790,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00020694732666016','2016-08-23 16:06:57'),(22791,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00018811225891113','2016-08-23 16:06:57'),(22792,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.048928022384644','2016-08-23 16:06:57'),(22793,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020447969436646','2016-08-23 16:06:57'),(22794,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020392894744873','2016-08-23 16:06:57'),(22795,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020406007766724','2016-08-23 16:06:57'),(22796,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.21986985206604','2016-08-23 16:06:57'),(22797,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00026512145996094','2016-08-23 16:06:57'),(22798,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00019288063049316','2016-08-23 16:06:57'),(22799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.034048080444336','2016-08-23 16:07:01'),(22800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00030112266540527','2016-08-23 16:07:01'),(22801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-23 16:07:01'),(22802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018620491027832','2016-08-23 16:07:01'),(22803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-23 16:07:01'),(22804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:07:01'),(22805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:07:01'),(22806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-23 16:07:01'),(22807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018119812011719','2016-08-23 16:07:01'),(22808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:07:01'),(22809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:07:01'),(22810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:07:01'),(22811,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00042200088500977','2016-08-23 16:07:06'),(22812,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00030398368835449','2016-08-23 16:07:06'),(22813,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023293495178223','2016-08-23 16:07:06'),(22814,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022387504577637','2016-08-23 16:07:06'),(22815,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022292137145996','2016-08-23 16:07:06'),(22816,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-23 16:07:06'),(22817,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021791458129883','2016-08-23 16:07:06'),(22818,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022292137145996','2016-08-23 16:07:06'),(22819,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021791458129883','2016-08-23 16:07:06'),(22820,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021815299987793','2016-08-23 16:07:06'),(22821,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-23 16:07:06'),(22822,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-23 16:07:06'),(22823,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035500526428223','2016-08-23 16:07:09'),(22824,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00035595893859863','2016-08-23 16:07:11'),(22825,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00025606155395508','2016-08-23 16:07:11'),(22826,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022411346435547','2016-08-23 16:07:11'),(22827,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021600723266602','2016-08-23 16:07:11'),(22828,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021791458129883','2016-08-23 16:07:11'),(22829,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-23 16:07:11'),(22830,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-23 16:07:11'),(22831,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-23 16:07:11'),(22832,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-23 16:07:11'),(22833,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002129077911377','2016-08-23 16:07:11'),(22834,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021195411682129','2016-08-23 16:07:11'),(22835,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002131462097168','2016-08-23 16:07:11'),(22836,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020790100097656','2016-08-23 16:07:11'),(22837,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.12560296058655','2016-08-23 16:07:15'),(22838,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0008089542388916','2016-08-23 16:07:15'),(22839,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067806243896484','2016-08-23 16:07:15'),(22840,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064206123352051','2016-08-23 16:07:15'),(22841,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-23 16:07:15'),(22842,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063300132751465','2016-08-23 16:07:15'),(22843,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063490867614746','2016-08-23 16:07:15'),(22844,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-23 16:07:15'),(22845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-23 16:07:15'),(22846,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063300132751465','2016-08-23 16:07:15'),(22847,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006248950958252','2016-08-23 16:07:15'),(22848,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062680244445801','2016-08-23 16:07:15'),(22849,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00082707405090332','2016-08-23 16:07:16'),(22850,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006568431854248','2016-08-23 16:07:16'),(22851,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061798095703125','2016-08-23 16:07:16'),(22852,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061798095703125','2016-08-23 16:07:16'),(22853,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061988830566406','2016-08-23 16:07:16'),(22854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-23 16:07:16'),(22855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062012672424316','2016-08-23 16:07:16'),(22856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062108039855957','2016-08-23 16:07:16'),(22857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-23 16:07:16'),(22858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062894821166992','2016-08-23 16:07:16'),(22859,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064897537231445','2016-08-23 16:07:16'),(22860,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006260871887207','2016-08-23 16:07:16'),(22861,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002295970916748','2016-08-23 16:07:18'),(22862,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022199153900146','2016-08-23 16:07:18'),(22863,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002155065536499','2016-08-23 16:07:18'),(22864,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021088123321533','2016-08-23 16:07:18'),(22865,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002108097076416','2016-08-23 16:07:18'),(22866,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021538734436035','2016-08-23 16:07:18'),(22867,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021390914916992','2016-08-23 16:07:18'),(22868,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022120475769043','2016-08-23 16:07:18'),(22869,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021400451660156','2016-08-23 16:07:18'),(22870,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021169185638428','2016-08-23 16:07:18'),(22871,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021100044250488','2016-08-23 16:07:18'),(22872,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021319389343262','2016-08-23 16:07:18'),(22873,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00037312507629395','2016-08-23 16:07:19'),(22874,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00025606155395508','2016-08-23 16:07:19'),(22875,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00020384788513184','2016-08-23 16:07:19'),(22876,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00018692016601562','2016-08-23 16:07:19'),(22877,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00030899047851562','2016-08-23 16:07:19'),(22878,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00025796890258789','2016-08-23 16:07:19'),(22879,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00019288063049316','2016-08-23 16:07:19'),(22880,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0004270076751709','2016-08-23 16:07:33'),(22881,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00029683113098145','2016-08-23 16:07:33'),(22882,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00027298927307129','2016-08-23 16:07:33'),(22883,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00023794174194336','2016-08-23 16:07:33'),(22884,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00036191940307617','2016-08-23 16:07:33'),(22885,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00023007392883301','2016-08-23 16:07:33'),(22886,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00022792816162109','2016-08-23 16:07:33'),(22887,25,32,'192.168.1.220','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'25\'\nAND `b`.`parentID` > 0','sales/edit_sale','0.092225074768066','2016-08-23 16:07:36'),(22888,25,32,'192.168.1.220','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'25\'','sales/edit_sale','0.00060200691223145','2016-08-23 16:07:36'),(22889,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, bankID, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `ID` =  \'725\'\nAND `companyID` =  \'25\'','sales/edit_sale','0.00021195411682129','2016-08-23 16:07:36'),(22890,25,32,'192.168.1.220','others','SELECT ID, description, amountExcludedTax as amount\nFROM (`comp_receive_payment_others_detail`)\nWHERE `receivePaymentOthersID` =  \'725\'','sales/edit_sale','0.0012149810791016','2016-08-23 16:07:36'),(22891,25,32,'192.168.1.220','others','SELECT `j`.`ID` as journalID, `j`.`journalID` AS journalNo\nFROM (`comp_journal` j)\nLEFT JOIN `comp_receive_payment_others` rp ON `j`.`companyID` = `rp`.`companyID` and j.journalID=rp.journalNo \nWHERE `rp`.`ID`  =  \'725\'','sales/edit_sale','0.011086940765381','2016-08-23 16:07:36'),(22892,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/edit_sale','0.00028109550476074','2016-08-23 16:07:36'),(22893,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/edit_sale','0.00022411346435547','2016-08-23 16:07:36'),(22894,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.086338996887207','2016-08-23 16:07:42'),(22895,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00075578689575195','2016-08-23 16:07:42'),(22896,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00062108039855957','2016-08-23 16:07:42'),(22897,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00059390068054199','2016-08-23 16:07:42'),(22898,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.02128005027771','2016-08-23 16:07:42'),(22899,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00030899047851562','2016-08-23 16:07:42'),(22900,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00023102760314941','2016-08-23 16:07:42'),(22901,25,32,'192.168.1.220','others','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'User\'\nAND `companyID` =  \'25\'\nAND `menuCode` =  \'APRPTOPW\'\nAND `accessRight` =  1','expenses/printDetail','0.076285123825073','2016-08-23 16:07:47'),(22902,25,32,'192.168.1.220','others','select concat(formcode,if(formyear=1,year(now()),\'\'),if(formMonth=1,date_format(now(),\'%m\'),\'\'),if(formMonth=1,date_format(now(),\'%d\'),\'\'),forminitial) as formno from comp_form_control where companyID=25 and formID=55','expenses/printDetail','0.010365962982178','2016-08-23 16:07:47'),(22903,25,32,'192.168.1.220','others','SELECT `a`.`referenceNo`, `b`.*, `c`.`acctName`\nFROM (`comp_payment_others_without_item` b)\nLEFT OUTER JOIN `comp_payment_others` a ON `a`.`ID` = `b`.`otherPaymentID`\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID` = `b`.`accountID`\nWHERE `b`.`otherPaymentID` =  \'2052\'','expenses/printDetail','0.0012800693511963','2016-08-23 16:07:47'),(22904,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.*, `c`.`fldcurr_code` as currency, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as otherPaymentNo\nFROM (`comp_payment_others` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`otherPaymentID` = `a`.`ID`\nLEFT OUTER JOIN `_ref_currency` c ON `c`.`fldid` = `a`.`currencyID`\nWHERE `is_delete` =  0\nAND `a`.`ID` =  \'2052\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`companyID` =  \'25\'','expenses/printDetail','0.0012378692626953','2016-08-23 16:07:47'),(22905,25,32,'192.168.1.220','others','SELECT company.*, _ref_state.fldname, _ref_country.fldcountry\r\n			  FROM  (company LEFT OUTER JOIN _ref_state ON company.companyStateID=_ref_state.fldid)\r\n			  		 LEFT OUTER JOIN _ref_country ON company.countryID=_ref_country.fldid\r\n					 where company.ID=25','expenses/printDetail','0.0172438621521','2016-08-23 16:07:47'),(22906,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'25\'','setup/companySetup','0.079312086105347','2016-08-23 16:07:55'),(22907,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.00072407722473145','2016-08-23 16:07:55'),(22908,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.00059604644775391','2016-08-23 16:07:56'),(22909,25,32,'192.168.1.220','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1930\'','setup/companySetup','0.0002448558807373','2016-08-23 16:07:56'),(22910,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00016403198242188','2016-08-23 16:07:56'),(22911,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00018095970153809','2016-08-23 16:07:56'),(22912,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00019717216491699','2016-08-23 16:07:56'),(22913,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00018000602722168','2016-08-23 16:07:56'),(22914,25,32,'192.168.1.220','update','UPDATE `company` SET `uploadLogo` = \'25.JPG\' WHERE `ID` =  \'25\'','setup/companySetup','0.00026297569274902','2016-08-23 16:08:19'),(22915,25,32,'192.168.1.220','update','UPDATE `company` SET `companyName` = \'kedai cermin mata\', `line1` = \'no 54\', `line2` = \'jalan cermin\', `line3` = \'kawasan industri cermin\', `city` = \'bandar mata\', `companyPostCode` = \'85000\', `companyStateID` = \'1930\', `countryID` = \'458\', `parlimenID` = \'192\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-08-16\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'25.JPG\', `updatedBy` = 0 WHERE `ID` =  \'25\'','setup/companySetup','0.00029110908508301','2016-08-23 16:08:19'),(22916,25,32,'192.168.1.220','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'kedai cermin mata\', `line1` = \'no 54\', `line2` = \'jalan cermin\', `line3` = \'kawasan industri cermin\', `city` = \'bandar mata\', `companyPostCode` = \'85000\', `companyStateID` = \'1930\', `countryID` = \'458\', `parlimenID` = \'192\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-08-16\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'25.JPG\', `updatedBy` = 0 WHERE `ID` =  \'25\'','setup/companySetup','0.022004842758179','2016-08-23 16:08:19'),(22917,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'25\'','setup/companySetup','0.00050687789916992','2016-08-23 16:08:25'),(22918,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.00066089630126953','2016-08-23 16:08:25'),(22919,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.00030398368835449','2016-08-23 16:08:25'),(22920,25,32,'192.168.1.220','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1930\'','setup/companySetup','0.00023293495178223','2016-08-23 16:08:25'),(22921,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00015401840209961','2016-08-23 16:08:25'),(22922,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00017404556274414','2016-08-23 16:08:25'),(22923,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00017404556274414','2016-08-23 16:08:25'),(22924,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00016999244689941','2016-08-23 16:08:25'),(22925,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00041007995605469','2016-08-23 16:08:29'),(22926,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00024294853210449','2016-08-23 16:08:29'),(22927,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00021696090698242','2016-08-23 16:08:29'),(22928,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00019502639770508','2016-08-23 16:08:29'),(22929,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13932704925537','2016-08-23 16:08:29'),(22930,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020493984222412','2016-08-23 16:08:29'),(22931,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020310878753662','2016-08-23 16:08:29'),(22932,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.02052903175354','2016-08-23 16:08:29'),(22933,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.3513708114624','2016-08-23 16:08:29'),(22934,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00026178359985352','2016-08-23 16:08:29'),(22935,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0002131462097168','2016-08-23 16:08:29'),(22936,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.087354898452759','2016-08-23 16:08:34'),(22937,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00035214424133301','2016-08-23 16:08:34'),(22938,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019598007202148','2016-08-23 16:08:34'),(22939,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-23 16:08:34'),(22940,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-23 16:08:34'),(22941,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:08:34'),(22942,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:08:34'),(22943,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-23 16:08:34'),(22944,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:08:34'),(22945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-23 16:08:34'),(22946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:08:34'),(22947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:08:34'),(22948,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0003819465637207','2016-08-23 16:08:37'),(22949,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00025606155395508','2016-08-23 16:08:37'),(22950,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0002288818359375','2016-08-23 16:08:37'),(22951,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00020503997802734','2016-08-23 16:08:37'),(22952,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00032591819763184','2016-08-23 16:08:37'),(22953,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00023102760314941','2016-08-23 16:08:37'),(22954,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.0002129077911377','2016-08-23 16:08:37'),(22955,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.096827983856201','2016-08-23 16:08:42'),(22956,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00069403648376465','2016-08-23 16:08:42'),(22957,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00055694580078125','2016-08-23 16:08:43'),(22958,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00054097175598145','2016-08-23 16:08:43'),(22959,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0035769939422607','2016-08-23 16:08:43'),(22960,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00027894973754883','2016-08-23 16:08:43'),(22961,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00017595291137695','2016-08-23 16:08:43'),(22962,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.00073003768920898','2016-08-23 16:08:49'),(22963,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.00061917304992676','2016-08-23 16:08:49'),(22964,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.0005500316619873','2016-08-23 16:08:49'),(22965,25,32,'192.168.1.220','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-L\'','expenses/type','0.00054001808166504','2016-08-23 16:08:49'),(22966,25,32,'192.168.1.220','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-L\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0010700225830078','2016-08-23 16:08:49'),(22967,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00023603439331055','2016-08-23 16:08:49'),(22968,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00017094612121582','2016-08-23 16:08:49'),(22969,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.1089448928833','2016-08-23 16:10:43'),(22970,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00031495094299316','2016-08-23 16:10:43'),(22971,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00020694732666016','2016-08-23 16:10:43'),(22972,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00019407272338867','2016-08-23 16:10:43'),(22973,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10290312767029','2016-08-23 16:10:43'),(22974,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020402193069458','2016-08-23 16:10:43'),(22975,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020291090011597','2016-08-23 16:10:43'),(22976,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020441055297852','2016-08-23 16:10:43'),(22977,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.40391612052917','2016-08-23 16:10:43'),(22978,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.018698930740356','2016-08-23 16:10:43'),(22979,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0049159526824951','2016-08-23 16:10:43'),(22980,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0087308883666992','2016-08-23 16:10:46'),(22981,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00029587745666504','2016-08-23 16:10:46'),(22982,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-23 16:10:46'),(22983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-23 16:10:46'),(22984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:10:46'),(22985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:10:46'),(22986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-23 16:10:46'),(22987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-23 16:10:46'),(22988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-23 16:10:46'),(22989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:10:46'),(22990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017499923706055','2016-08-23 16:10:46'),(22991,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:10:46'),(22992,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00036978721618652','2016-08-23 16:10:48'),(22993,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00025105476379395','2016-08-23 16:10:48'),(22994,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-23 16:10:48'),(22995,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-23 16:10:48'),(22996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:10:48'),(22997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:10:48'),(22998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:10:48'),(22999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-23 16:10:48'),(23000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:10:48'),(23001,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:10:48'),(23002,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017619132995605','2016-08-23 16:10:48'),(23003,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:10:48'),(23004,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00037693977355957','2016-08-23 16:10:51'),(23005,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00034403800964355','2016-08-23 16:10:52'),(23006,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00025391578674316','2016-08-23 16:10:52'),(23007,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-23 16:10:52'),(23008,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017881393432617','2016-08-23 16:10:52'),(23009,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:10:53'),(23010,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:10:53'),(23011,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:10:53'),(23012,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-23 16:10:53'),(23013,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-23 16:10:53'),(23014,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:10:53'),(23015,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:10:53'),(23016,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:10:53'),(23017,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017404556274414','2016-08-23 16:10:53'),(23018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.065176963806152','2016-08-23 16:10:57'),(23019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00077390670776367','2016-08-23 16:10:57'),(23020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066113471984863','2016-08-23 16:10:57'),(23021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063300132751465','2016-08-23 16:10:57'),(23022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062990188598633','2016-08-23 16:10:57'),(23023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062394142150879','2016-08-23 16:10:57'),(23024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061702728271484','2016-08-23 16:10:57'),(23025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062894821166992','2016-08-23 16:10:57'),(23026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062084197998047','2016-08-23 16:10:57'),(23027,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062108039855957','2016-08-23 16:10:57'),(23028,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061321258544922','2016-08-23 16:10:57'),(23029,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006110668182373','2016-08-23 16:10:57'),(23030,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00087594985961914','2016-08-23 16:10:59'),(23031,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00072908401489258','2016-08-23 16:10:59'),(23032,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006859302520752','2016-08-23 16:10:59'),(23033,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064206123352051','2016-08-23 16:10:59'),(23034,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063419342041016','2016-08-23 16:10:59'),(23035,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063300132751465','2016-08-23 16:10:59'),(23036,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006401538848877','2016-08-23 16:10:59'),(23037,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.000640869140625','2016-08-23 16:10:59'),(23038,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-23 16:10:59'),(23039,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064206123352051','2016-08-23 16:10:59'),(23040,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063586235046387','2016-08-23 16:10:59'),(23041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064206123352051','2016-08-23 16:10:59'),(23042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0023050308227539','2016-08-23 16:11:03'),(23043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021810531616211','2016-08-23 16:11:03'),(23044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020849704742432','2016-08-23 16:11:03'),(23045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021522045135498','2016-08-23 16:11:03'),(23046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021178722381592','2016-08-23 16:11:03'),(23047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021681785583496','2016-08-23 16:11:03'),(23048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020530223846436','2016-08-23 16:11:03'),(23049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020461082458496','2016-08-23 16:11:03'),(23050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020990371704102','2016-08-23 16:11:03'),(23051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021522045135498','2016-08-23 16:11:03'),(23052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021059513092041','2016-08-23 16:11:03'),(23053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020899772644043','2016-08-23 16:11:03'),(23054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022950172424316','2016-08-23 16:11:04'),(23055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022029876708984','2016-08-23 16:11:04'),(23056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002140998840332','2016-08-23 16:11:04'),(23057,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021121501922607','2016-08-23 16:11:04'),(23058,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020709037780762','2016-08-23 16:11:04'),(23059,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002047061920166','2016-08-23 16:11:04'),(23060,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020759105682373','2016-08-23 16:11:04'),(23061,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021750926971436','2016-08-23 16:11:04'),(23062,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021121501922607','2016-08-23 16:11:04'),(23063,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020980834960938','2016-08-23 16:11:04'),(23064,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020620822906494','2016-08-23 16:11:04'),(23065,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020310878753662','2016-08-23 16:11:04'),(23066,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00085806846618652','2016-08-23 16:11:07'),(23067,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0022239685058594','2016-08-23 16:11:07'),(23068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00037097930908203','2016-08-23 16:11:12'),(23069,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024986267089844','2016-08-23 16:11:12'),(23070,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-23 16:11:12'),(23071,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-23 16:11:12'),(23072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-23 16:11:12'),(23073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:11:12'),(23074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:11:12'),(23075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-23 16:11:12'),(23076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:11:12'),(23077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:11:12'),(23078,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:11:12'),(23079,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:11:12'),(23080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022900104522705','2016-08-23 16:11:12'),(23081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022900104522705','2016-08-23 16:11:12'),(23082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022509098052979','2016-08-23 16:11:12'),(23083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022211074829102','2016-08-23 16:11:12'),(23084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022308826446533','2016-08-23 16:11:12'),(23085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022208690643311','2016-08-23 16:11:12'),(23086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022110939025879','2016-08-23 16:11:12'),(23087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022501945495605','2016-08-23 16:11:12'),(23088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002269983291626','2016-08-23 16:11:12'),(23089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022659301757812','2016-08-23 16:11:12'),(23090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022749900817871','2016-08-23 16:11:12'),(23091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023000240325928','2016-08-23 16:11:12'),(23092,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.065417051315308','2016-08-23 16:27:01'),(23093,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00032782554626465','2016-08-23 16:27:01'),(23094,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00023889541625977','2016-08-23 16:27:01'),(23095,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00021696090698242','2016-08-23 16:27:01'),(23096,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00033998489379883','2016-08-23 16:27:01'),(23097,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.0043768882751465','2016-08-23 16:27:01'),(23098,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.0098788738250732','2016-08-23 16:27:01'),(23099,25,32,'192.168.1.220','others','SELECT *, DATE_FORMAT(effective_date, \"%d-%m-%Y\") as date\nFROM (`comp_journal`)\nWHERE `companyID` =  \'25\'\nAND `effective_date` >= \'2016-08-01\'\nAND `effective_date` <= \'2016-08-31\'','report/postedjournal','0.060367107391357','2016-08-23 16:27:20'),(23100,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/postedjournal','0.0003201961517334','2016-08-23 16:27:20'),(23101,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/postedjournal','0.00017094612121582','2016-08-23 16:27:20'),(23102,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00040483474731445','2016-08-23 16:35:35'),(23103,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00029587745666504','2016-08-23 16:35:35'),(23104,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00024008750915527','2016-08-23 16:35:35'),(23105,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00022101402282715','2016-08-23 16:35:35'),(23106,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.16070485115051','2016-08-23 16:35:35'),(23107,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020582914352417','2016-08-23 16:35:35'),(23108,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020483016967773','2016-08-23 16:35:35'),(23109,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020702838897705','2016-08-23 16:35:35'),(23110,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.27876591682434','2016-08-23 16:35:35'),(23111,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00027894973754883','2016-08-23 16:35:35'),(23112,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00024008750915527','2016-08-23 16:35:35'),(23113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.017881870269775','2016-08-23 16:35:39'),(23114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00065088272094727','2016-08-23 16:35:39'),(23115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-23 16:35:39'),(23116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-23 16:35:39'),(23117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:35:39'),(23118,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-23 16:35:39'),(23119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:35:39'),(23120,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-23 16:35:39'),(23121,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-23 16:35:39'),(23122,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:35:39'),(23123,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017404556274414','2016-08-23 16:35:39'),(23124,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:35:39'),(23125,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00038003921508789','2016-08-23 16:35:40'),(23126,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024795532226562','2016-08-23 16:35:40'),(23127,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-23 16:35:40'),(23128,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-23 16:35:40'),(23129,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:35:40'),(23130,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-23 16:35:40'),(23131,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-23 16:35:40'),(23132,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-23 16:35:40'),(23133,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-23 16:35:40'),(23134,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:35:41'),(23135,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017404556274414','2016-08-23 16:35:41'),(23136,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-23 16:35:41'),(23137,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035190582275391','2016-08-23 16:35:44'),(23138,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00034594535827637','2016-08-23 16:35:46'),(23139,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00025200843811035','2016-08-23 16:35:46'),(23140,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-23 16:35:46'),(23141,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:35:46'),(23142,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:35:46'),(23143,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:35:46'),(23144,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:35:46'),(23145,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-23 16:35:46'),(23146,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-23 16:35:46'),(23147,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:35:46'),(23148,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:35:46'),(23149,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017619132995605','2016-08-23 16:35:46'),(23150,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017309188842773','2016-08-23 16:35:46'),(23151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.16738200187683','2016-08-23 16:35:51'),(23152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00078582763671875','2016-08-23 16:35:52'),(23153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066089630126953','2016-08-23 16:35:52'),(23154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064802169799805','2016-08-23 16:35:52'),(23155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066685676574707','2016-08-23 16:35:52'),(23156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066614151000977','2016-08-23 16:35:52'),(23157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066995620727539','2016-08-23 16:35:52'),(23158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067305564880371','2016-08-23 16:35:52'),(23159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066399574279785','2016-08-23 16:35:52'),(23160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066590309143066','2016-08-23 16:35:52'),(23161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065207481384277','2016-08-23 16:35:52'),(23162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-23 16:35:52'),(23163,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctCode` > 220000000\nAND `acctGroupID` =  3','report/smeCashFlowList','0.22913599014282','2016-08-23 16:35:52'),(23164,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  8','report/smeCashFlowList','0.050868988037109','2016-08-23 16:35:52'),(23165,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID`  =  10','report/smeCashFlowList','0.050719022750854','2016-08-23 16:35:52'),(23166,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  2','report/smeCashFlowList','0.051124095916748','2016-08-23 16:35:52'),(23167,25,32,'192.168.1.220','others','SELECT *\nFROM (`view_sme_cash_flow`)\nWHERE `companyID` =  \'25\'\nAND `year` =  \'2016\'\nAND `acctGroupID` =  4','report/smeCashFlowList','0.050841808319092','2016-08-23 16:35:52'),(23168,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','report/smeCashFlowList','0.00030088424682617','2016-08-23 16:35:52'),(23169,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','report/smeCashFlowList','0.00019407272338867','2016-08-23 16:35:52'),(23170,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00036096572875977','2016-08-23 16:36:01'),(23171,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00025200843811035','2016-08-23 16:36:01'),(23172,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00019693374633789','2016-08-23 16:36:01'),(23173,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00018310546875','2016-08-23 16:36:01'),(23174,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.0003058910369873','2016-08-23 16:36:01'),(23175,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00023484230041504','2016-08-23 16:36:01'),(23176,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.0001828670501709','2016-08-23 16:36:01'),(23177,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-23\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00037002563476562','2016-08-23 16:55:58'),(23178,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00025606155395508','2016-08-23 16:55:58'),(23179,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00020098686218262','2016-08-23 16:55:58'),(23180,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00018596649169922','2016-08-23 16:55:58'),(23181,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.020534992218018','2016-08-23 16:55:58'),(23182,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020488023757935','2016-08-23 16:55:58'),(23183,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020349025726318','2016-08-23 16:55:58'),(23184,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020395994186401','2016-08-23 16:55:58'),(23185,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.27640199661255','2016-08-23 16:55:58'),(23186,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00023913383483887','2016-08-23 16:55:58'),(23187,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00018596649169922','2016-08-23 16:55:58'),(23188,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.022961854934692','2016-08-23 16:56:03'),(23189,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002899169921875','2016-08-23 16:56:03'),(23190,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-23 16:56:03'),(23191,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-23 16:56:03'),(23192,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:56:03'),(23193,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-23 16:56:03'),(23194,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-23 16:56:03'),(23195,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019121170043945','2016-08-23 16:56:03'),(23196,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:56:03'),(23197,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:56:03'),(23198,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017499923706055','2016-08-23 16:56:03'),(23199,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:56:03'),(23200,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00035905838012695','2016-08-23 16:56:04'),(23201,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-23 16:56:04'),(23202,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-23 16:56:04'),(23203,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-23 16:56:04'),(23204,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-23 16:56:04'),(23205,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-23 16:56:04'),(23206,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:56:04'),(23207,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-23 16:56:04'),(23208,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:56:04'),(23209,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:56:04'),(23210,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:56:04'),(23211,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:56:04'),(23212,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00034093856811523','2016-08-23 16:56:07'),(23213,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00034189224243164','2016-08-23 16:56:09'),(23214,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023818016052246','2016-08-23 16:56:09'),(23215,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-23 16:56:09'),(23216,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:56:09'),(23217,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:56:09'),(23218,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:56:09'),(23219,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-23 16:56:09'),(23220,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:56:09'),(23221,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-23 16:56:09'),(23222,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:56:09'),(23223,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-23 16:56:09'),(23224,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-23 16:56:09'),(23225,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:56:09'),(23226,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.38992881774902','2016-08-23 16:56:15'),(23227,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00084018707275391','2016-08-23 16:56:15'),(23228,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00070810317993164','2016-08-23 16:56:15'),(23229,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067615509033203','2016-08-23 16:56:15'),(23230,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067400932312012','2016-08-23 16:56:15'),(23231,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066995620727539','2016-08-23 16:56:15'),(23232,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065708160400391','2016-08-23 16:56:15'),(23233,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006411075592041','2016-08-23 16:56:15'),(23234,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-23 16:56:15'),(23235,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064802169799805','2016-08-23 16:56:15'),(23236,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-23 16:56:15'),(23237,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063800811767578','2016-08-23 16:56:15'),(23238,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00084090232849121','2016-08-23 16:56:17'),(23239,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066709518432617','2016-08-23 16:56:17'),(23240,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006101131439209','2016-08-23 16:56:17'),(23241,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060009956359863','2016-08-23 16:56:17'),(23242,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0005958080291748','2016-08-23 16:56:17'),(23243,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059604644775391','2016-08-23 16:56:17'),(23244,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059390068054199','2016-08-23 16:56:17'),(23245,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060009956359863','2016-08-23 16:56:17'),(23246,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060009956359863','2016-08-23 16:56:17'),(23247,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059890747070312','2016-08-23 16:56:17'),(23248,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00058889389038086','2016-08-23 16:56:17'),(23249,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0005950927734375','2016-08-23 16:56:17'),(23250,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022568702697754','2016-08-23 16:56:20'),(23251,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021710395812988','2016-08-23 16:56:20'),(23252,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021209716796875','2016-08-23 16:56:20'),(23253,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021181106567383','2016-08-23 16:56:20'),(23254,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021498203277588','2016-08-23 16:56:20'),(23255,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021061897277832','2016-08-23 16:56:20'),(23256,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020699501037598','2016-08-23 16:56:20'),(23257,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020771026611328','2016-08-23 16:56:20'),(23258,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020720958709717','2016-08-23 16:56:20'),(23259,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021240711212158','2016-08-23 16:56:20'),(23260,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00211501121521','2016-08-23 16:56:20'),(23261,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021488666534424','2016-08-23 16:56:20'),(23262,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022571086883545','2016-08-23 16:56:22'),(23263,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022170543670654','2016-08-23 16:56:22'),(23264,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021538734436035','2016-08-23 16:56:22'),(23265,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021238327026367','2016-08-23 16:56:22'),(23266,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00211501121521','2016-08-23 16:56:22'),(23267,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021321773529053','2016-08-23 16:56:22'),(23268,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021119117736816','2016-08-23 16:56:22'),(23269,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021240711212158','2016-08-23 16:56:22'),(23270,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021460056304932','2016-08-23 16:56:22'),(23271,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020918846130371','2016-08-23 16:56:22'),(23272,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020530223846436','2016-08-23 16:56:22'),(23273,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020661354064941','2016-08-23 16:56:22'),(23274,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00083088874816895','2016-08-23 16:56:27'),(23275,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0021810531616211','2016-08-23 16:56:27'),(23276,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00036787986755371','2016-08-23 16:56:34'),(23277,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024700164794922','2016-08-23 16:56:34'),(23278,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-23 16:56:34'),(23279,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-23 16:56:34'),(23280,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-23 16:56:34'),(23281,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017881393432617','2016-08-23 16:56:34'),(23282,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-23 16:56:34'),(23283,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-23 16:56:34'),(23284,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017881393432617','2016-08-23 16:56:34'),(23285,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018119812011719','2016-08-23 16:56:34'),(23286,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017499923706055','2016-08-23 16:56:34'),(23287,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-23 16:56:34'),(23288,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022938251495361','2016-08-23 16:56:34'),(23289,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022850036621094','2016-08-23 16:56:34'),(23290,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022590160369873','2016-08-23 16:56:34'),(23291,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022130012512207','2016-08-23 16:56:34'),(23292,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022459030151367','2016-08-23 16:56:34'),(23293,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022661685943604','2016-08-23 16:56:34'),(23294,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022778511047363','2016-08-23 16:56:34'),(23295,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022258758544922','2016-08-23 16:56:34'),(23296,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022871494293213','2016-08-23 16:56:34'),(23297,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022749900817871','2016-08-23 16:56:34'),(23298,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022459030151367','2016-08-23 16:56:34'),(23299,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0021939277648926','2016-08-23 16:56:34'),(23300,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00037693977355957','2016-08-24 09:28:08'),(23301,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.041017055511475','2016-08-24 09:28:08'),(23302,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00037288665771484','2016-08-24 09:28:08'),(23303,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00022077560424805','2016-08-24 09:28:08'),(23304,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.04355001449585','2016-08-24 09:28:08'),(23305,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.077644109725952','2016-08-24 09:28:08'),(23306,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.035724878311157','2016-08-24 09:28:08'),(23307,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.02065110206604','2016-08-24 09:28:08'),(23308,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.30976796150208','2016-08-24 09:28:08'),(23309,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00029587745666504','2016-08-24 09:28:08'),(23310,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00025701522827148','2016-08-24 09:28:08'),(23311,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0014729499816895','2016-08-24 09:28:12'),(23312,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00029110908508301','2016-08-24 09:28:12'),(23313,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 09:28:12'),(23314,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 09:28:12'),(23315,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-24 09:28:12'),(23316,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-24 09:28:12'),(23317,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 09:28:12'),(23318,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 09:28:12'),(23319,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-24 09:28:12'),(23320,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 09:28:12'),(23321,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017404556274414','2016-08-24 09:28:12'),(23322,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-24 09:28:12'),(23323,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00036811828613281','2016-08-24 09:28:14'),(23324,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024890899658203','2016-08-24 09:28:14'),(23325,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 09:28:14'),(23326,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 09:28:14'),(23327,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 09:28:14'),(23328,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-24 09:28:14'),(23329,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 09:28:14'),(23330,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-24 09:28:14'),(23331,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-24 09:28:14'),(23332,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-24 09:28:14'),(23333,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017285346984863','2016-08-24 09:28:14'),(23334,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-24 09:28:14'),(23335,25,32,'192.168.1.220','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'25\'','setup/companySetup','0.10804319381714','2016-08-24 09:28:17'),(23336,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.00075507164001465','2016-08-24 09:28:17'),(23337,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.00069594383239746','2016-08-24 09:28:17'),(23338,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035715103149414','2016-08-24 09:28:17'),(23339,25,32,'192.168.1.220','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'1930\'','setup/companySetup','0.00027298927307129','2016-08-24 09:28:17'),(23340,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.0002140998840332','2016-08-24 09:28:17'),(23341,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00020909309387207','2016-08-24 09:28:17'),(23342,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.000244140625','2016-08-24 09:28:17'),(23343,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.0002140998840332','2016-08-24 09:28:17'),(23344,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00036096572875977','2016-08-24 09:28:28'),(23345,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00023317337036133','2016-08-24 09:28:28'),(23346,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0001990795135498','2016-08-24 09:28:29'),(23347,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00018215179443359','2016-08-24 09:28:29'),(23348,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.07483983039856','2016-08-24 09:28:29'),(23349,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020546913146973','2016-08-24 09:28:29'),(23350,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020385026931763','2016-08-24 09:28:29'),(23351,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020382165908813','2016-08-24 09:28:29'),(23352,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.14134907722473','2016-08-24 09:28:29'),(23353,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00027704238891602','2016-08-24 09:28:29'),(23354,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00019192695617676','2016-08-24 09:28:29'),(23355,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.0012271404266357','2016-08-24 09:28:31'),(23356,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00032687187194824','2016-08-24 09:28:31'),(23357,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00020384788513184','2016-08-24 09:28:31'),(23358,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','sales/saleslist','0.00018310546875','2016-08-24 09:28:31'),(23359,25,32,'192.168.1.220','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'25\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00030994415283203','2016-08-24 09:28:31'),(23360,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00024795532226562','2016-08-24 09:28:31'),(23361,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00018715858459473','2016-08-24 09:28:31'),(23362,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00037193298339844','2016-08-24 09:28:36'),(23363,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00024294853210449','2016-08-24 09:28:36'),(23364,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0001990795135498','2016-08-24 09:28:36'),(23365,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00018501281738281','2016-08-24 09:28:36'),(23366,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.058821201324463','2016-08-24 09:28:36'),(23367,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.02032208442688','2016-08-24 09:28:36'),(23368,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020328044891357','2016-08-24 09:28:36'),(23369,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020372152328491','2016-08-24 09:28:36'),(23370,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.1933319568634','2016-08-24 09:28:36'),(23371,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00026798248291016','2016-08-24 09:28:36'),(23372,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00021004676818848','2016-08-24 09:28:36'),(23373,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.032286167144775','2016-08-24 10:00:56'),(23374,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00034594535827637','2016-08-24 10:00:56'),(23375,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00024795532226562','2016-08-24 10:00:56'),(23376,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00022006034851074','2016-08-24 10:00:56'),(23377,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13611102104187','2016-08-24 10:00:56'),(23378,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020468950271606','2016-08-24 10:00:56'),(23379,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.02027416229248','2016-08-24 10:00:56'),(23380,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020484924316406','2016-08-24 10:00:56'),(23381,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.2747368812561','2016-08-24 10:00:56'),(23382,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00046706199645996','2016-08-24 10:00:56'),(23383,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0003359317779541','2016-08-24 10:00:56'),(23384,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.015066146850586','2016-08-24 10:00:59'),(23385,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00032687187194824','2016-08-24 10:00:59'),(23386,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022792816162109','2016-08-24 10:00:59'),(23387,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021100044250488','2016-08-24 10:01:00'),(23388,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020194053649902','2016-08-24 10:01:00'),(23389,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019693374633789','2016-08-24 10:01:00'),(23390,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:01:00');
INSERT INTO `_log_query` VALUES (23391,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020194053649902','2016-08-24 10:01:00'),(23392,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 10:01:00'),(23393,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:01:00'),(23394,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:01:00'),(23395,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:01:00'),(23396,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00042104721069336','2016-08-24 10:01:01'),(23397,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00029993057250977','2016-08-24 10:01:01'),(23398,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002591609954834','2016-08-24 10:01:01'),(23399,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.25597190856934','2016-08-24 10:01:01'),(23400,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00037503242492676','2016-08-24 10:01:01'),(23401,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00027203559875488','2016-08-24 10:01:01'),(23402,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024580955505371','2016-08-24 10:01:01'),(23403,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000244140625','2016-08-24 10:01:01'),(23404,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-24 10:01:01'),(23405,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002281665802002','2016-08-24 10:01:01'),(23406,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-24 10:01:01'),(23407,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021982192993164','2016-08-24 10:01:01'),(23408,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035214424133301','2016-08-24 10:01:04'),(23409,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00038003921508789','2016-08-24 10:01:05'),(23410,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0003058910369873','2016-08-24 10:01:05'),(23411,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023889541625977','2016-08-24 10:01:05'),(23412,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022697448730469','2016-08-24 10:01:05'),(23413,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002288818359375','2016-08-24 10:01:06'),(23414,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-24 10:01:06'),(23415,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-24 10:01:06'),(23416,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021815299987793','2016-08-24 10:01:06'),(23417,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022292137145996','2016-08-24 10:01:06'),(23418,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021600723266602','2016-08-24 10:01:06'),(23419,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-24 10:01:06'),(23420,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 10:01:06'),(23421,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021100044250488','2016-08-24 10:01:06'),(23422,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.07607102394104','2016-08-24 10:01:10'),(23423,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0008392333984375','2016-08-24 10:01:10'),(23424,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00072216987609863','2016-08-24 10:01:10'),(23425,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067687034606934','2016-08-24 10:01:10'),(23426,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065517425537109','2016-08-24 10:01:10'),(23427,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063610076904297','2016-08-24 10:01:10'),(23428,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062417984008789','2016-08-24 10:01:10'),(23429,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063204765319824','2016-08-24 10:01:10'),(23430,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061297416687012','2016-08-24 10:01:10'),(23431,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060892105102539','2016-08-24 10:01:10'),(23432,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060510635375977','2016-08-24 10:01:10'),(23433,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060391426086426','2016-08-24 10:01:10'),(23434,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00089311599731445','2016-08-24 10:01:11'),(23435,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00077104568481445','2016-08-24 10:01:11'),(23436,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00069808959960938','2016-08-24 10:01:11'),(23437,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067687034606934','2016-08-24 10:01:11'),(23438,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066900253295898','2016-08-24 10:01:11'),(23439,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067400932312012','2016-08-24 10:01:11'),(23440,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065898895263672','2016-08-24 10:01:11'),(23441,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065803527832031','2016-08-24 10:01:11'),(23442,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064992904663086','2016-08-24 10:01:11'),(23443,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064802169799805','2016-08-24 10:01:11'),(23444,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064706802368164','2016-08-24 10:01:11'),(23445,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065898895263672','2016-08-24 10:01:11'),(23446,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0023391246795654','2016-08-24 10:01:13'),(23447,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002155065536499','2016-08-24 10:01:13'),(23448,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021200180053711','2016-08-24 10:01:13'),(23449,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021510124206543','2016-08-24 10:01:13'),(23450,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002161979675293','2016-08-24 10:01:13'),(23451,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020980834960938','2016-08-24 10:01:13'),(23452,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021030902862549','2016-08-24 10:01:13'),(23453,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021529197692871','2016-08-24 10:01:13'),(23454,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020959377288818','2016-08-24 10:01:13'),(23455,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021209716796875','2016-08-24 10:01:13'),(23456,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020840167999268','2016-08-24 10:01:13'),(23457,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020699501037598','2016-08-24 10:01:13'),(23458,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0023040771484375','2016-08-24 10:01:15'),(23459,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021770000457764','2016-08-24 10:01:15'),(23460,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002161979675293','2016-08-24 10:01:15'),(23461,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002155065536499','2016-08-24 10:01:15'),(23462,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002155065536499','2016-08-24 10:01:15'),(23463,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021100044250488','2016-08-24 10:01:15'),(23464,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021040439605713','2016-08-24 10:01:15'),(23465,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020921230316162','2016-08-24 10:01:15'),(23466,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020930767059326','2016-08-24 10:01:15'),(23467,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021109580993652','2016-08-24 10:01:15'),(23468,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021440982818604','2016-08-24 10:01:15'),(23469,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020890235900879','2016-08-24 10:01:15'),(23470,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00086688995361328','2016-08-24 10:01:20'),(23471,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.002155065536499','2016-08-24 10:01:20'),(23472,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0003821849822998','2016-08-24 10:01:27'),(23473,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00025320053100586','2016-08-24 10:01:27'),(23474,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021910667419434','2016-08-24 10:01:27'),(23475,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020694732666016','2016-08-24 10:01:27'),(23476,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001988410949707','2016-08-24 10:01:27'),(23477,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 10:01:27'),(23478,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-24 10:01:27'),(23479,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020098686218262','2016-08-24 10:01:27'),(23480,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:01:27'),(23481,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:01:27'),(23482,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-24 10:01:27'),(23483,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 10:01:27'),(23484,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002284049987793','2016-08-24 10:01:27'),(23485,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022828578948975','2016-08-24 10:01:27'),(23486,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022389888763428','2016-08-24 10:01:27'),(23487,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002295970916748','2016-08-24 10:01:27'),(23488,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022399425506592','2016-08-24 10:01:27'),(23489,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022268295288086','2016-08-24 10:01:27'),(23490,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022001266479492','2016-08-24 10:01:27'),(23491,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0021929740905762','2016-08-24 10:01:27'),(23492,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022039413452148','2016-08-24 10:01:27'),(23493,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022280216217041','2016-08-24 10:01:27'),(23494,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002241849899292','2016-08-24 10:01:27'),(23495,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022411346435547','2016-08-24 10:01:27'),(23496,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00040578842163086','2016-08-24 10:02:23'),(23497,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00029492378234863','2016-08-24 10:02:23'),(23498,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0002448558807373','2016-08-24 10:02:23'),(23499,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00025296211242676','2016-08-24 10:02:23'),(23500,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.16005992889404','2016-08-24 10:02:23'),(23501,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020565032958984','2016-08-24 10:02:23'),(23502,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020526885986328','2016-08-24 10:02:23'),(23503,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020561933517456','2016-08-24 10:02:23'),(23504,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.30461192131042','2016-08-24 10:02:23'),(23505,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00036311149597168','2016-08-24 10:02:23'),(23506,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00025200843811035','2016-08-24 10:02:23'),(23507,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.082003831863403','2016-08-24 10:02:27'),(23508,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00033211708068848','2016-08-24 10:02:27'),(23509,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023412704467773','2016-08-24 10:02:27'),(23510,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002129077911377','2016-08-24 10:02:27'),(23511,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020289421081543','2016-08-24 10:02:27'),(23512,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001988410949707','2016-08-24 10:02:27'),(23513,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-24 10:02:27'),(23514,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020503997802734','2016-08-24 10:02:27'),(23515,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:02:27'),(23516,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-24 10:02:27'),(23517,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:02:27'),(23518,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:02:27'),(23519,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00042200088500977','2016-08-24 10:02:29'),(23520,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00028705596923828','2016-08-24 10:02:29'),(23521,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024795532226562','2016-08-24 10:02:29'),(23522,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023698806762695','2016-08-24 10:02:29'),(23523,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-24 10:02:29'),(23524,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.25635719299316','2016-08-24 10:02:29'),(23525,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00036811828613281','2016-08-24 10:02:29'),(23526,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00026988983154297','2016-08-24 10:02:29'),(23527,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000244140625','2016-08-24 10:02:29'),(23528,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023603439331055','2016-08-24 10:02:29'),(23529,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022482872009277','2016-08-24 10:02:29'),(23530,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022315979003906','2016-08-24 10:02:29'),(23531,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00037002563476562','2016-08-24 10:02:32'),(23532,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00039982795715332','2016-08-24 10:02:33'),(23533,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0003058910369873','2016-08-24 10:02:33'),(23534,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00025296211242676','2016-08-24 10:02:33'),(23535,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023508071899414','2016-08-24 10:02:33'),(23536,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023388862609863','2016-08-24 10:02:33'),(23537,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022697448730469','2016-08-24 10:02:33'),(23538,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022697448730469','2016-08-24 10:02:33'),(23539,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022411346435547','2016-08-24 10:02:33'),(23540,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022792816162109','2016-08-24 10:02:33'),(23541,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021886825561523','2016-08-24 10:02:33'),(23542,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-24 10:02:33'),(23543,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002138614654541','2016-08-24 10:02:33'),(23544,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021219253540039','2016-08-24 10:02:33'),(23545,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.089948892593384','2016-08-24 10:02:37'),(23546,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00083112716674805','2016-08-24 10:02:37'),(23547,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00068497657775879','2016-08-24 10:02:37'),(23548,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006401538848877','2016-08-24 10:02:37'),(23549,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063514709472656','2016-08-24 10:02:37'),(23550,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-24 10:02:37'),(23551,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062417984008789','2016-08-24 10:02:37'),(23552,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-24 10:02:37'),(23553,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062704086303711','2016-08-24 10:02:37'),(23554,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-24 10:02:37'),(23555,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064206123352051','2016-08-24 10:02:37'),(23556,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006251335144043','2016-08-24 10:02:37'),(23557,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00087404251098633','2016-08-24 10:02:38'),(23558,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00077295303344727','2016-08-24 10:02:38'),(23559,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00068902969360352','2016-08-24 10:02:38'),(23560,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00068306922912598','2016-08-24 10:02:38'),(23561,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067996978759766','2016-08-24 10:02:38'),(23562,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00068092346191406','2016-08-24 10:02:38'),(23563,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067591667175293','2016-08-24 10:02:39'),(23564,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067806243896484','2016-08-24 10:02:39'),(23565,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067400932312012','2016-08-24 10:02:39'),(23566,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067496299743652','2016-08-24 10:02:39'),(23567,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006721019744873','2016-08-24 10:02:39'),(23568,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067806243896484','2016-08-24 10:02:39'),(23569,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002263069152832','2016-08-24 10:02:40'),(23570,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022010803222656','2016-08-24 10:02:41'),(23571,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021350383758545','2016-08-24 10:02:41'),(23572,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021359920501709','2016-08-24 10:02:41'),(23573,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021190643310547','2016-08-24 10:02:41'),(23574,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021228790283203','2016-08-24 10:02:41'),(23575,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021140575408936','2016-08-24 10:02:41'),(23576,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021569728851318','2016-08-24 10:02:41'),(23577,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020911693572998','2016-08-24 10:02:41'),(23578,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002047061920166','2016-08-24 10:02:41'),(23579,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020990371704102','2016-08-24 10:02:41'),(23580,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021021366119385','2016-08-24 10:02:41'),(23581,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0023000240325928','2016-08-24 10:02:42'),(23582,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022211074829102','2016-08-24 10:02:42'),(23583,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021870136260986','2016-08-24 10:02:42'),(23584,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021421909332275','2016-08-24 10:02:42'),(23585,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022649765014648','2016-08-24 10:02:42'),(23586,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021638870239258','2016-08-24 10:02:42'),(23587,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020968914031982','2016-08-24 10:02:42'),(23588,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021541118621826','2016-08-24 10:02:42'),(23589,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021200180053711','2016-08-24 10:02:42'),(23590,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021138191223145','2016-08-24 10:02:42'),(23591,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021300315856934','2016-08-24 10:02:42'),(23592,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021719932556152','2016-08-24 10:02:42'),(23593,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00084996223449707','2016-08-24 10:02:46'),(23594,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0022470951080322','2016-08-24 10:02:46'),(23595,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00087499618530273','2016-08-24 10:02:51'),(23596,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00026297569274902','2016-08-24 10:02:51'),(23597,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019598007202148','2016-08-24 10:02:51'),(23598,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-24 10:02:51'),(23599,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 10:02:51'),(23600,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:02:51'),(23601,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:02:51'),(23602,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 10:02:51'),(23603,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:02:51'),(23604,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:02:51'),(23605,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-24 10:02:51'),(23606,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:02:51'),(23607,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022819042205811','2016-08-24 10:02:51'),(23608,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023322105407715','2016-08-24 10:02:51'),(23609,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022909641265869','2016-08-24 10:02:51'),(23610,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023019313812256','2016-08-24 10:02:51'),(23611,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022628307342529','2016-08-24 10:02:51'),(23612,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022280216217041','2016-08-24 10:02:51'),(23613,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022571086883545','2016-08-24 10:02:51'),(23614,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00223708152771','2016-08-24 10:02:51'),(23615,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022509098052979','2016-08-24 10:02:51'),(23616,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022819042205811','2016-08-24 10:02:51'),(23617,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022521018981934','2016-08-24 10:02:51'),(23618,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022468566894531','2016-08-24 10:02:51'),(23619,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.11315298080444','2016-08-24 10:04:27'),(23620,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00038409233093262','2016-08-24 10:04:27'),(23621,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00027585029602051','2016-08-24 10:04:27'),(23622,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.000244140625','2016-08-24 10:04:27'),(23623,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.11097097396851','2016-08-24 10:04:27'),(23624,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020437002182007','2016-08-24 10:04:27'),(23625,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020409107208252','2016-08-24 10:04:27'),(23626,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020488023757935','2016-08-24 10:04:27'),(23627,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.2377450466156','2016-08-24 10:04:27'),(23628,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.01776385307312','2016-08-24 10:04:27'),(23629,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0035040378570557','2016-08-24 10:04:27'),(23630,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0067329406738281','2016-08-24 10:04:31'),(23631,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00033807754516602','2016-08-24 10:04:31'),(23632,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023293495178223','2016-08-24 10:04:31'),(23633,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-24 10:04:31'),(23634,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020694732666016','2016-08-24 10:04:31'),(23635,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020098686218262','2016-08-24 10:04:31'),(23636,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019216537475586','2016-08-24 10:04:31'),(23637,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020599365234375','2016-08-24 10:04:31'),(23638,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-24 10:04:31'),(23639,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019383430480957','2016-08-24 10:04:31'),(23640,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:04:31'),(23641,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-24 10:04:31'),(23642,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00038290023803711','2016-08-24 10:07:10'),(23643,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00024700164794922','2016-08-24 10:07:10'),(23644,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00023102760314941','2016-08-24 10:07:10'),(23645,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00020599365234375','2016-08-24 10:07:10'),(23646,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.038280963897705','2016-08-24 10:07:10'),(23647,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020594120025635','2016-08-24 10:07:10'),(23648,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020503044128418','2016-08-24 10:07:10'),(23649,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020588874816895','2016-08-24 10:07:10'),(23650,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.3672502040863','2016-08-24 10:07:10'),(23651,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0002739429473877','2016-08-24 10:07:10'),(23652,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00021195411682129','2016-08-24 10:07:10'),(23653,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.034652948379517','2016-08-24 10:07:14'),(23654,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00036096572875977','2016-08-24 10:07:14'),(23655,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023698806762695','2016-08-24 10:07:14'),(23656,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002129077911377','2016-08-24 10:07:14'),(23657,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020503997802734','2016-08-24 10:07:14'),(23658,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001990795135498','2016-08-24 10:07:14'),(23659,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-24 10:07:14'),(23660,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020599365234375','2016-08-24 10:07:14'),(23661,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:07:14'),(23662,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:07:14'),(23663,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-24 10:07:14'),(23664,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019121170043945','2016-08-24 10:07:14'),(23665,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00038599967956543','2016-08-24 10:07:15'),(23666,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024008750915527','2016-08-24 10:07:15'),(23667,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 10:07:15'),(23668,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020599365234375','2016-08-24 10:07:15'),(23669,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020003318786621','2016-08-24 10:07:15'),(23670,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-24 10:07:15'),(23671,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:07:15'),(23672,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 10:07:15'),(23673,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 10:07:15'),(23674,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:07:15'),(23675,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:07:15'),(23676,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:07:15'),(23677,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00036287307739258','2016-08-24 10:07:18'),(23678,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0003809928894043','2016-08-24 10:07:20'),(23679,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00026702880859375','2016-08-24 10:07:20'),(23680,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-24 10:07:20'),(23681,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020408630371094','2016-08-24 10:07:20'),(23682,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020098686218262','2016-08-24 10:07:20'),(23683,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-24 10:07:20'),(23684,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-24 10:07:20'),(23685,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:07:20'),(23686,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019693374633789','2016-08-24 10:07:20'),(23687,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 10:07:20'),(23688,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 10:07:20'),(23689,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:07:20'),(23690,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 10:07:20'),(23691,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0012030601501465','2016-08-24 10:07:24'),(23692,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00075292587280273','2016-08-24 10:07:24'),(23693,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00070691108703613','2016-08-24 10:07:24'),(23694,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066494941711426','2016-08-24 10:07:24'),(23695,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064706802368164','2016-08-24 10:07:24'),(23696,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006401538848877','2016-08-24 10:07:24'),(23697,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062704086303711','2016-08-24 10:07:24'),(23698,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006251335144043','2016-08-24 10:07:24'),(23699,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062823295593262','2016-08-24 10:07:24'),(23700,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-24 10:07:24'),(23701,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061702728271484','2016-08-24 10:07:24'),(23702,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006108283996582','2016-08-24 10:07:24'),(23703,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00086712837219238','2016-08-24 10:07:25'),(23704,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00072002410888672','2016-08-24 10:07:25'),(23705,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067520141601562','2016-08-24 10:07:25'),(23706,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065112113952637','2016-08-24 10:07:25'),(23707,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006411075592041','2016-08-24 10:07:25'),(23708,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-24 10:07:25'),(23709,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062298774719238','2016-08-24 10:07:25'),(23710,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062108039855957','2016-08-24 10:07:25'),(23711,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063586235046387','2016-08-24 10:07:25'),(23712,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061488151550293','2016-08-24 10:07:25'),(23713,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060796737670898','2016-08-24 10:07:25'),(23714,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061583518981934','2016-08-24 10:07:25'),(23715,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0023081302642822','2016-08-24 10:07:27'),(23716,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021982192993164','2016-08-24 10:07:27'),(23717,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021100044250488','2016-08-24 10:07:27'),(23718,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002129077911377','2016-08-24 10:07:27'),(23719,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021078586578369','2016-08-24 10:07:27'),(23720,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021297931671143','2016-08-24 10:07:27'),(23721,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021200180053711','2016-08-24 10:07:27'),(23722,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021419525146484','2016-08-24 10:07:27'),(23723,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020999908447266','2016-08-24 10:07:27'),(23724,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020959377288818','2016-08-24 10:07:27'),(23725,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020642280578613','2016-08-24 10:07:27'),(23726,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021040439605713','2016-08-24 10:07:27'),(23727,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002302885055542','2016-08-24 10:07:28'),(23728,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00217604637146','2016-08-24 10:07:28'),(23729,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021300315856934','2016-08-24 10:07:28'),(23730,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021309852600098','2016-08-24 10:07:29'),(23731,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021271705627441','2016-08-24 10:07:29'),(23732,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021491050720215','2016-08-24 10:07:29'),(23733,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002108097076416','2016-08-24 10:07:29'),(23734,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020971298217773','2016-08-24 10:07:29'),(23735,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00211501121521','2016-08-24 10:07:29'),(23736,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021438598632812','2016-08-24 10:07:29'),(23737,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021359920501709','2016-08-24 10:07:29'),(23738,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002108097076416','2016-08-24 10:07:29'),(23739,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00085711479187012','2016-08-24 10:07:33'),(23740,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0022289752960205','2016-08-24 10:07:33'),(23741,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00037193298339844','2016-08-24 10:07:37'),(23742,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022792816162109','2016-08-24 10:07:37'),(23743,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-24 10:07:37'),(23744,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:07:37'),(23745,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:07:37'),(23746,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 10:07:37'),(23747,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:07:37'),(23748,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019598007202148','2016-08-24 10:07:37'),(23749,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-24 10:07:37'),(23750,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:07:37'),(23751,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-24 10:07:37'),(23752,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:07:37'),(23753,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023009777069092','2016-08-24 10:07:37'),(23754,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023088455200195','2016-08-24 10:07:37'),(23755,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023379325866699','2016-08-24 10:07:37'),(23756,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023009777069092','2016-08-24 10:07:37'),(23757,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023269653320312','2016-08-24 10:07:37'),(23758,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023081302642822','2016-08-24 10:07:37'),(23759,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002249002456665','2016-08-24 10:07:37'),(23760,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023090839385986','2016-08-24 10:07:37'),(23761,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023272037506104','2016-08-24 10:07:37'),(23762,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002227783203125','2016-08-24 10:07:37'),(23763,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022170543670654','2016-08-24 10:07:37'),(23764,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022850036621094','2016-08-24 10:07:38'),(23765,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00038313865661621','2016-08-24 10:11:09'),(23766,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00025081634521484','2016-08-24 10:11:09'),(23767,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.0002291202545166','2016-08-24 10:11:09'),(23768,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00020503997802734','2016-08-24 10:11:09'),(23769,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.059460878372192','2016-08-24 10:11:09'),(23770,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020588159561157','2016-08-24 10:11:09'),(23771,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.02046012878418','2016-08-24 10:11:09'),(23772,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.02045202255249','2016-08-24 10:11:09'),(23773,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.24949288368225','2016-08-24 10:11:09'),(23774,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00030398368835449','2016-08-24 10:11:09'),(23775,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00023698806762695','2016-08-24 10:11:09'),(23776,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0021281242370605','2016-08-24 10:11:13'),(23777,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00029706954956055','2016-08-24 10:11:13'),(23778,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022697448730469','2016-08-24 10:11:13'),(23779,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020813941955566','2016-08-24 10:11:13'),(23780,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001988410949707','2016-08-24 10:11:13'),(23781,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-24 10:11:13'),(23782,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:11:13'),(23783,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020289421081543','2016-08-24 10:11:13'),(23784,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018620491027832','2016-08-24 10:11:13'),(23785,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-24 10:11:13'),(23786,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 10:11:13'),(23787,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:11:13'),(23788,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0086979866027832','2016-08-24 10:11:14'),(23789,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00035595893859863','2016-08-24 10:11:14'),(23790,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023794174194336','2016-08-24 10:11:14'),(23791,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021791458129883','2016-08-24 10:11:14'),(23792,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020980834960938','2016-08-24 10:11:15'),(23793,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020503997802734','2016-08-24 10:11:15'),(23794,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 10:11:15'),(23795,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001990795135498','2016-08-24 10:11:15'),(23796,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002129077911377','2016-08-24 10:11:15'),(23797,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-24 10:11:15'),(23798,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:11:15'),(23799,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-24 10:11:15'),(23800,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00041794776916504','2016-08-24 10:11:24'),(23801,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024509429931641','2016-08-24 10:11:24'),(23802,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 10:11:24'),(23803,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020194053649902','2016-08-24 10:11:24'),(23804,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 10:11:24'),(23805,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 10:11:24'),(23806,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 10:11:24'),(23807,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020098686218262','2016-08-24 10:11:24'),(23808,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:11:24'),(23809,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 10:11:24'),(23810,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 10:11:24'),(23811,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:11:24'),(23812,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.082877159118652','2016-08-24 10:11:25'),(23813,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0003361701965332','2016-08-24 10:11:25'),(23814,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-24 10:11:25'),(23815,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021100044250488','2016-08-24 10:11:25'),(23816,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00035691261291504','2016-08-24 10:11:25'),(23817,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00025606155395508','2016-08-24 10:11:25'),(23818,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002899169921875','2016-08-24 10:11:25'),(23819,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00029087066650391','2016-08-24 10:11:25'),(23820,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:11:25'),(23821,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 10:11:25'),(23822,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:11:25'),(23823,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:11:25'),(23824,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00038003921508789','2016-08-24 10:11:25'),(23825,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00026416778564453','2016-08-24 10:11:25'),(23826,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00023007392883301','2016-08-24 10:11:25'),(23827,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00020503997802734','2016-08-24 10:11:25'),(23828,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.040683031082153','2016-08-24 10:11:25'),(23829,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020689964294434','2016-08-24 10:11:25'),(23830,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020642042160034','2016-08-24 10:11:25'),(23831,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020695924758911','2016-08-24 10:11:25'),(23832,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.64243388175964','2016-08-24 10:11:25'),(23833,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0009160041809082','2016-08-24 10:11:25'),(23834,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00074601173400879','2016-08-24 10:11:25'),(23835,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0014548301696777','2016-08-24 10:11:29'),(23836,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00028085708618164','2016-08-24 10:11:29'),(23837,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022602081298828','2016-08-24 10:11:29'),(23838,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021004676818848','2016-08-24 10:11:29'),(23839,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020980834960938','2016-08-24 10:11:29'),(23840,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001988410949707','2016-08-24 10:11:29'),(23841,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-24 10:11:29'),(23842,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020480155944824','2016-08-24 10:11:29'),(23843,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:11:29'),(23844,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-24 10:11:29'),(23845,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:11:29'),(23846,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:11:29'),(23847,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00039196014404297','2016-08-24 10:11:30'),(23848,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024294853210449','2016-08-24 10:11:30'),(23849,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002129077911377','2016-08-24 10:11:30'),(23850,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020503997802734','2016-08-24 10:11:30'),(23851,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001990795135498','2016-08-24 10:11:30'),(23852,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-24 10:11:30'),(23853,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:11:30'),(23854,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:11:30'),(23855,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00050497055053711','2016-08-24 10:11:30'),(23856,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:11:30'),(23857,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:11:30'),(23858,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:11:30'),(23859,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035881996154785','2016-08-24 10:11:33'),(23860,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00038385391235352','2016-08-24 10:11:34'),(23861,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00026988983154297','2016-08-24 10:11:34'),(23862,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022506713867188','2016-08-24 10:11:34'),(23863,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020694732666016','2016-08-24 10:11:34'),(23864,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020289421081543','2016-08-24 10:11:34'),(23865,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020194053649902','2016-08-24 10:11:34'),(23866,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021195411682129','2016-08-24 10:11:34'),(23867,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 10:11:34'),(23868,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019693374633789','2016-08-24 10:11:34'),(23869,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-24 10:11:34'),(23870,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:11:34'),(23871,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:11:34'),(23872,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:11:34'),(23873,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00035691261291504','2016-08-24 10:11:49'),(23874,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00021696090698242','2016-08-24 10:11:49'),(23875,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00020122528076172','2016-08-24 10:11:49'),(23876,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00018715858459473','2016-08-24 10:11:49'),(23877,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.029117107391357','2016-08-24 10:11:49'),(23878,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.02048397064209','2016-08-24 10:11:49'),(23879,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020463943481445','2016-08-24 10:11:49'),(23880,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020470142364502','2016-08-24 10:11:49'),(23881,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.24036383628845','2016-08-24 10:11:49'),(23882,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00027108192443848','2016-08-24 10:11:49'),(23883,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00021195411682129','2016-08-24 10:11:49'),(23884,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0014669895172119','2016-08-24 10:11:52'),(23885,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00028491020202637','2016-08-24 10:11:52'),(23886,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-24 10:11:52'),(23887,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:11:52'),(23888,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:11:52'),(23889,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:11:52'),(23890,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:11:52'),(23891,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-24 10:11:52'),(23892,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:11:52'),(23893,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-24 10:11:52'),(23894,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-24 10:11:52'),(23895,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 10:11:52'),(23896,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00038504600524902','2016-08-24 10:11:53'),(23897,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00027585029602051','2016-08-24 10:11:53'),(23898,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020098686218262','2016-08-24 10:11:53'),(23899,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:11:53'),(23900,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 10:11:53'),(23901,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:11:53'),(23902,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:11:53'),(23903,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 10:11:53'),(23904,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018477439880371','2016-08-24 10:11:53'),(23905,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:11:53'),(23906,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:11:53'),(23907,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:11:53'),(23908,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00034499168395996','2016-08-24 10:11:57'),(23909,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00034594535827637','2016-08-24 10:11:58'),(23910,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00026202201843262','2016-08-24 10:11:58'),(23911,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-24 10:11:58'),(23912,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-24 10:11:58'),(23913,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020694732666016','2016-08-24 10:11:58'),(23914,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:11:58'),(23915,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-24 10:11:58'),(23916,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 10:11:58'),(23917,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-24 10:11:58'),(23918,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:11:58'),(23919,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:11:58'),(23920,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 10:11:58'),(23921,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-24 10:11:58'),(23922,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.058895826339722','2016-08-24 10:12:02'),(23923,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00080680847167969','2016-08-24 10:12:02'),(23924,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067305564880371','2016-08-24 10:12:02'),(23925,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063705444335938','2016-08-24 10:12:02'),(23926,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062799453735352','2016-08-24 10:12:02'),(23927,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060915946960449','2016-08-24 10:12:02'),(23928,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059294700622559','2016-08-24 10:12:02'),(23929,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0005950927734375','2016-08-24 10:12:02'),(23930,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059294700622559','2016-08-24 10:12:02'),(23931,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059103965759277','2016-08-24 10:12:02'),(23932,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00058698654174805','2016-08-24 10:12:02'),(23933,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059199333190918','2016-08-24 10:12:02'),(23934,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00041699409484863','2016-08-24 10:12:18'),(23935,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00029897689819336','2016-08-24 10:12:18'),(23936,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00025296211242676','2016-08-24 10:12:18'),(23937,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00022578239440918','2016-08-24 10:12:18'),(23938,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.02744197845459','2016-08-24 10:12:18'),(23939,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020600080490112','2016-08-24 10:12:18'),(23940,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020462036132812','2016-08-24 10:12:18'),(23941,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020534038543701','2016-08-24 10:12:18'),(23942,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.2298731803894','2016-08-24 10:12:18'),(23943,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00029301643371582','2016-08-24 10:12:18'),(23944,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00023984909057617','2016-08-24 10:12:18'),(23945,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.001446008682251','2016-08-24 10:12:21'),(23946,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00026917457580566','2016-08-24 10:12:21'),(23947,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 10:12:21'),(23948,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:12:21'),(23949,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:12:21'),(23950,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:12:21'),(23951,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-24 10:12:21'),(23952,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-24 10:12:21'),(23953,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018119812011719','2016-08-24 10:12:21'),(23954,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:12:21'),(23955,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-24 10:12:21'),(23956,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 10:12:21'),(23957,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00039315223693848','2016-08-24 10:12:22'),(23958,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023889541625977','2016-08-24 10:12:22'),(23959,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022411346435547','2016-08-24 10:12:22'),(23960,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-24 10:12:22'),(23961,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021910667419434','2016-08-24 10:12:22'),(23962,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021600723266602','2016-08-24 10:12:23'),(23963,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 10:12:23'),(23964,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-24 10:12:23'),(23965,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021600723266602','2016-08-24 10:12:23'),(23966,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 10:12:23'),(23967,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021004676818848','2016-08-24 10:12:23'),(23968,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002138614654541','2016-08-24 10:12:23'),(23969,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00033998489379883','2016-08-24 10:12:26'),(23970,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00038599967956543','2016-08-24 10:12:27'),(23971,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00031304359436035','2016-08-24 10:12:27'),(23972,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023078918457031','2016-08-24 10:12:27'),(23973,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021886825561523','2016-08-24 10:12:27'),(23974,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022411346435547','2016-08-24 10:12:27'),(23975,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021910667419434','2016-08-24 10:12:27'),(23976,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021815299987793','2016-08-24 10:12:27'),(23977,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-24 10:12:27'),(23978,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022387504577637','2016-08-24 10:12:27'),(23979,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 10:12:27'),(23980,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0081138610839844','2016-08-24 10:12:27'),(23981,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00031018257141113','2016-08-24 10:12:27'),(23982,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-24 10:12:27'),(23983,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.015070915222168','2016-08-24 10:12:31'),(23984,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00078892707824707','2016-08-24 10:12:31'),(23985,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066304206848145','2016-08-24 10:12:31'),(23986,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006248950958252','2016-08-24 10:12:31'),(23987,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006248950958252','2016-08-24 10:12:31'),(23988,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062203407287598','2016-08-24 10:12:31'),(23989,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060510635375977','2016-08-24 10:12:31'),(23990,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060009956359863','2016-08-24 10:12:31'),(23991,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0005958080291748','2016-08-24 10:12:31'),(23992,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059294700622559','2016-08-24 10:12:31'),(23993,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00058794021606445','2016-08-24 10:12:31'),(23994,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00059103965759277','2016-08-24 10:12:31'),(23995,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00088095664978027','2016-08-24 10:12:32'),(23996,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00077009201049805','2016-08-24 10:12:32'),(23997,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00070405006408691','2016-08-24 10:12:32'),(23998,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00068998336791992','2016-08-24 10:12:32'),(23999,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067996978759766','2016-08-24 10:12:32'),(24000,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00068998336791992','2016-08-24 10:12:32'),(24001,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067591667175293','2016-08-24 10:12:32'),(24002,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067996978759766','2016-08-24 10:12:32'),(24003,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00068402290344238','2016-08-24 10:12:32'),(24004,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006561279296875','2016-08-24 10:12:32'),(24005,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064301490783691','2016-08-24 10:12:32'),(24006,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064992904663086','2016-08-24 10:12:32'),(24007,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002269983291626','2016-08-24 10:12:34'),(24008,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021710395812988','2016-08-24 10:12:34'),(24009,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021400451660156','2016-08-24 10:12:34'),(24010,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021271705627441','2016-08-24 10:12:34'),(24011,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002129077911377','2016-08-24 10:12:34'),(24012,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020740032196045','2016-08-24 10:12:34'),(24013,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020551681518555','2016-08-24 10:12:34'),(24014,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021140575408936','2016-08-24 10:12:34'),(24015,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020949840545654','2016-08-24 10:12:34'),(24016,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021510124206543','2016-08-24 10:12:34'),(24017,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021259784698486','2016-08-24 10:12:34'),(24018,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021178722381592','2016-08-24 10:12:34'),(24019,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0023279190063477','2016-08-24 10:12:35'),(24020,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022461414337158','2016-08-24 10:12:35'),(24021,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021538734436035','2016-08-24 10:12:35'),(24022,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021460056304932','2016-08-24 10:12:35'),(24023,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021300315856934','2016-08-24 10:12:35'),(24024,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021331310272217','2016-08-24 10:12:35'),(24025,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021569728851318','2016-08-24 10:12:35'),(24026,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020821094512939','2016-08-24 10:12:35'),(24027,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021069049835205','2016-08-24 10:12:35'),(24028,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021860599517822','2016-08-24 10:12:35'),(24029,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021250247955322','2016-08-24 10:12:35'),(24030,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021469593048096','2016-08-24 10:12:35'),(24031,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00083494186401367','2016-08-24 10:12:38'),(24032,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.002126932144165','2016-08-24 10:12:38'),(24033,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00037002563476562','2016-08-24 10:12:42'),(24034,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-24 10:12:43'),(24035,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-24 10:12:43'),(24036,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-24 10:12:43'),(24037,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:12:43'),(24038,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:12:43'),(24039,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 10:12:43'),(24040,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-24 10:12:43'),(24041,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 10:12:43'),(24042,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 10:12:43'),(24043,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-24 10:12:43'),(24044,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-24 10:12:43'),(24045,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022890567779541','2016-08-24 10:12:43'),(24046,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022609233856201','2016-08-24 10:12:43'),(24047,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022580623626709','2016-08-24 10:12:43'),(24048,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022521018981934','2016-08-24 10:12:43'),(24049,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022521018981934','2016-08-24 10:12:43'),(24050,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022640228271484','2016-08-24 10:12:43'),(24051,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002251148223877','2016-08-24 10:12:43'),(24052,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022599697113037','2016-08-24 10:12:43'),(24053,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022389888763428','2016-08-24 10:12:43'),(24054,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022568702697754','2016-08-24 10:12:43'),(24055,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023031234741211','2016-08-24 10:12:43'),(24056,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002269983291626','2016-08-24 10:12:43'),(24057,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.041748046875','2016-08-24 10:17:18'),(24058,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00031280517578125','2016-08-24 10:17:18'),(24059,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00023198127746582','2016-08-24 10:17:18'),(24060,25,32,'192.168.1.220','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'25\'\nAND `is_delete` =  0','home/index','0.00019979476928711','2016-08-24 10:17:18'),(24061,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.14448690414429','2016-08-24 10:17:18'),(24062,25,32,'192.168.1.220','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020557165145874','2016-08-24 10:17:18'),(24063,25,32,'192.168.1.220','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020527839660645','2016-08-24 10:17:18'),(24064,25,32,'192.168.1.220','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'25\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020600080490112','2016-08-24 10:17:18'),(24065,25,32,'192.168.1.220','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'25\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.26520204544067','2016-08-24 10:17:18'),(24066,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.014976978302002','2016-08-24 10:17:18'),(24067,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0048689842224121','2016-08-24 10:17:18'),(24068,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0062158107757568','2016-08-24 10:17:22'),(24069,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0003509521484375','2016-08-24 10:17:22'),(24070,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00026178359985352','2016-08-24 10:17:22'),(24071,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00027108192443848','2016-08-24 10:17:22'),(24072,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-24 10:17:22'),(24073,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022602081298828','2016-08-24 10:17:22'),(24074,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-24 10:17:22'),(24075,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023102760314941','2016-08-24 10:17:22'),(24076,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021910667419434','2016-08-24 10:17:22'),(24077,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-24 10:17:22'),(24078,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 10:17:22'),(24079,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-24 10:17:22'),(24080,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00037789344787598','2016-08-24 10:17:24'),(24081,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00024199485778809','2016-08-24 10:17:24'),(24082,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002129077911377','2016-08-24 10:17:24'),(24083,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001988410949707','2016-08-24 10:17:24'),(24084,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-24 10:17:24'),(24085,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-24 10:17:24'),(24086,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:17:24'),(24087,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:17:24'),(24088,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:17:24'),(24089,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-24 10:17:24'),(24090,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017976760864258','2016-08-24 10:17:24'),(24091,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018119812011719','2016-08-24 10:17:24'),(24092,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00038790702819824','2016-08-24 10:17:29'),(24093,25,32,'192.168.1.220','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.0003509521484375','2016-08-24 10:17:31'),(24094,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.000244140625','2016-08-24 10:17:31'),(24095,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00020313262939453','2016-08-24 10:17:31'),(24096,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-24 10:17:31'),(24097,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:17:31'),(24098,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:17:31'),(24099,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:17:31'),(24100,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:17:31'),(24101,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 10:17:31'),(24102,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:17:31'),(24103,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:17:31'),(24104,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 10:17:31'),(24105,25,32,'192.168.1.220','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-24 10:17:31'),(24106,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.15253305435181','2016-08-24 10:17:37'),(24107,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00086498260498047','2016-08-24 10:17:37'),(24108,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00073790550231934','2016-08-24 10:17:37'),(24109,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00069403648376465','2016-08-24 10:17:37'),(24110,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067710876464844','2016-08-24 10:17:37'),(24111,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066614151000977','2016-08-24 10:17:37'),(24112,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066208839416504','2016-08-24 10:17:37'),(24113,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066113471984863','2016-08-24 10:17:37'),(24114,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065994262695312','2016-08-24 10:17:37'),(24115,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006558895111084','2016-08-24 10:17:37'),(24116,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064778327941895','2016-08-24 10:17:37'),(24117,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064492225646973','2016-08-24 10:17:37'),(24118,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00089001655578613','2016-08-24 10:17:39'),(24119,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00073099136352539','2016-08-24 10:17:39'),(24120,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00069189071655273','2016-08-24 10:17:39'),(24121,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067305564880371','2016-08-24 10:17:39'),(24122,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065398216247559','2016-08-24 10:17:39'),(24123,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006558895111084','2016-08-24 10:17:39'),(24124,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062704086303711','2016-08-24 10:17:39'),(24125,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061917304992676','2016-08-24 10:17:39'),(24126,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006110668182373','2016-08-24 10:17:39'),(24127,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061488151550293','2016-08-24 10:17:39'),(24128,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060486793518066','2016-08-24 10:17:39'),(24129,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060391426086426','2016-08-24 10:17:39'),(24130,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0023109912872314','2016-08-24 10:17:42'),(24131,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021779537200928','2016-08-24 10:17:42'),(24132,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021531581878662','2016-08-24 10:17:42'),(24133,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021350383758545','2016-08-24 10:17:42'),(24134,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021030902862549','2016-08-24 10:17:42'),(24135,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020811557769775','2016-08-24 10:17:42'),(24136,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021169185638428','2016-08-24 10:17:42'),(24137,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021209716796875','2016-08-24 10:17:42'),(24138,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021131038665771','2016-08-24 10:17:42'),(24139,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021049976348877','2016-08-24 10:17:42'),(24140,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002065896987915','2016-08-24 10:17:42'),(24141,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020689964294434','2016-08-24 10:17:42'),(24142,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002345085144043','2016-08-24 10:17:44'),(24143,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022368431091309','2016-08-24 10:17:44'),(24144,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022149085998535','2016-08-24 10:17:44'),(24145,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022361278533936','2016-08-24 10:17:44'),(24146,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021319389343262','2016-08-24 10:17:44'),(24147,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021309852600098','2016-08-24 10:17:44'),(24148,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021049976348877','2016-08-24 10:17:44'),(24149,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021259784698486','2016-08-24 10:17:44'),(24150,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021588802337646','2016-08-24 10:17:44'),(24151,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022189617156982','2016-08-24 10:17:44'),(24152,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021929740905762','2016-08-24 10:17:44'),(24153,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021519660949707','2016-08-24 10:17:44'),(24154,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00085783004760742','2016-08-24 10:17:49'),(24155,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0021500587463379','2016-08-24 10:17:49'),(24156,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00035691261291504','2016-08-24 10:17:56'),(24157,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00023293495178223','2016-08-24 10:17:56'),(24158,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:17:56'),(24159,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:17:56'),(24160,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:17:56'),(24161,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-24 10:17:56'),(24162,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-24 10:17:56'),(24163,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 10:17:56'),(24164,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:17:56'),(24165,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 10:17:56'),(24166,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-24 10:17:56'),(24167,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 10:17:56'),(24168,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00229811668396','2016-08-24 10:17:56'),(24169,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022461414337158','2016-08-24 10:17:56'),(24170,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002255916595459','2016-08-24 10:17:56'),(24171,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022580623626709','2016-08-24 10:17:56'),(24172,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022258758544922','2016-08-24 10:17:56'),(24173,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002269983291626','2016-08-24 10:17:56'),(24174,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023090839385986','2016-08-24 10:17:56'),(24175,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023279190063477','2016-08-24 10:17:56'),(24176,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022759437561035','2016-08-24 10:17:56'),(24177,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023150444030762','2016-08-24 10:17:56'),(24178,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022871494293213','2016-08-24 10:17:56'),(24179,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'25\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022270679473877','2016-08-24 10:17:56'),(24180,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00037121772766113','2016-08-24 10:18:51'),(24181,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0002439022064209','2016-08-24 10:18:51'),(24182,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 10:18:51'),(24183,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:18:51'),(24184,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 10:18:51'),(24185,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-24 10:18:51'),(24186,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-24 10:18:51'),(24187,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-24 10:18:51'),(24188,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018119812011719','2016-08-24 10:18:51'),(24189,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 10:18:51'),(24190,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-24 10:18:51'),(24191,25,32,'192.168.1.220','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'25\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 10:18:51'),(24192,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.021328926086426','2016-08-24 10:18:52'),(24193,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.0013668537139893','2016-08-24 10:18:52'),(24194,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.015220880508423','2016-08-24 10:18:52'),(24195,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.018615007400513','2016-08-24 10:18:52'),(24196,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.0013141632080078','2016-08-24 10:18:52'),(24197,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.0075950622558594','2016-08-24 10:18:52'),(24198,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00031900405883789','2016-08-24 10:19:40'),(24199,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00016188621520996','2016-08-24 10:19:40'),(24200,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.00019383430480957','2016-08-24 10:19:40'),(24201,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.00011992454528809','2016-08-24 10:19:40'),(24202,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00017595291137695','2016-08-24 10:19:40'),(24203,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.0001671314239502','2016-08-24 10:19:40'),(24204,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00034904479980469','2016-08-24 10:19:53'),(24205,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00020289421081543','2016-08-24 10:19:53'),(24206,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.00021696090698242','2016-08-24 10:19:53'),(24207,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.00013494491577148','2016-08-24 10:19:53'),(24208,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00018596649169922','2016-08-24 10:19:53'),(24209,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00018405914306641','2016-08-24 10:19:53'),(24210,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00032210350036621','2016-08-24 10:21:24'),(24211,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00020408630371094','2016-08-24 10:21:24'),(24212,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.00019693374633789','2016-08-24 10:21:24'),(24213,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.0001218318939209','2016-08-24 10:21:24'),(24214,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00017809867858887','2016-08-24 10:21:24'),(24215,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00016689300537109','2016-08-24 10:21:24'),(24216,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00032591819763184','2016-08-24 10:21:55'),(24217,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.0002129077911377','2016-08-24 10:21:55'),(24218,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.0001978874206543','2016-08-24 10:21:55'),(24219,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.00012922286987305','2016-08-24 10:21:55'),(24220,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00021100044250488','2016-08-24 10:21:55'),(24221,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00016903877258301','2016-08-24 10:21:55'),(24222,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00032901763916016','2016-08-24 10:22:26'),(24223,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00021886825561523','2016-08-24 10:22:26'),(24224,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.00019979476928711','2016-08-24 10:22:26'),(24225,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.00013113021850586','2016-08-24 10:22:26'),(24226,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.0002140998840332','2016-08-24 10:22:26'),(24227,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00017094612121582','2016-08-24 10:22:26'),(24228,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_department`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00036501884460449','2016-08-24 10:23:51'),(24229,25,32,'192.168.1.220','others','SELECT *\nFROM (`tbl_section`)\nWHERE `companyID` =  \'25\'\nORDER BY `description`','userProfile/userMaster','0.00021600723266602','2016-08-24 10:23:51'),(24230,25,32,'192.168.1.220','others','SELECT *\nFROM (`tekun-admin`.`tbl_usermaster`)\nWHERE `fldid` =  \'32\'\nLIMIT 1','userProfile/userMaster','0.0001978874206543','2016-08-24 10:23:51'),(24231,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_language`)\nORDER BY `code`','userProfile/userMaster','0.00012803077697754','2016-08-24 10:23:51'),(24232,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','userProfile/userMaster','0.00020694732666016','2016-08-24 10:23:51'),(24233,25,32,'192.168.1.220','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','userProfile/userMaster','0.00017094612121582','2016-08-24 10:23:51'),(24234,1,0,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','home/index','0.00045680999755859','2016-08-24 10:27:55'),(24235,1,0,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','home/index','0.00029492378234863','2016-08-24 10:27:55'),(24236,1,0,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','home/index','0.00026512145996094','2016-08-24 10:27:55'),(24237,1,0,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'1\'\nAND `is_delete` =  0','home/index','0.00023293495178223','2016-08-24 10:27:55'),(24238,1,0,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.16702389717102','2016-08-24 10:27:55'),(24239,1,0,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020609855651855','2016-08-24 10:27:55'),(24240,1,0,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.02066707611084','2016-08-24 10:27:55'),(24241,1,0,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020594120025635','2016-08-24 10:27:55'),(24242,1,0,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.26584196090698','2016-08-24 10:27:55'),(24243,1,0,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0003058910369873','2016-08-24 10:27:55'),(24244,1,0,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00025200843811035','2016-08-24 10:27:55'),(24245,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.086053848266602','2016-08-24 10:27:59'),(24246,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-24 10:27:59'),(24247,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-24 10:27:59'),(24248,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00021100044250488','2016-08-24 10:27:59'),(24249,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00020194053649902','2016-08-24 10:27:59'),(24250,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00019598007202148','2016-08-24 10:27:59'),(24251,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 10:27:59'),(24252,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.0001988410949707','2016-08-24 10:27:59'),(24253,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 10:27:59'),(24254,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 10:27:59'),(24255,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-24 10:27:59'),(24256,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-24 10:27:59'),(24257,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.0004420280456543','2016-08-24 10:28:00'),(24258,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00028300285339355','2016-08-24 10:28:00'),(24259,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00024819374084473','2016-08-24 10:28:00'),(24260,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00023794174194336','2016-08-24 10:28:00'),(24261,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-24 10:28:00'),(24262,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00023198127746582','2016-08-24 10:28:00'),(24263,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00022506713867188','2016-08-24 10:28:00'),(24264,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00022697448730469','2016-08-24 10:28:00'),(24265,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-24 10:28:00'),(24266,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-24 10:28:00'),(24267,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-24 10:28:00'),(24268,1,0,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'1\'','dashboard/fnGetSeries','0.00021791458129883','2016-08-24 10:28:00'),(24269,1,0,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'1\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035309791564941','2016-08-24 10:28:03'),(24270,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00036716461181641','2016-08-24 10:28:11'),(24271,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00023698806762695','2016-08-24 10:28:11'),(24272,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00022196769714355','2016-08-24 10:28:11'),(24273,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.0001990795135498','2016-08-24 10:28:11'),(24274,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.071741819381714','2016-08-24 10:28:11'),(24275,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.02052116394043','2016-08-24 10:28:11'),(24276,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020402908325195','2016-08-24 10:28:11'),(24277,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020524978637695','2016-08-24 10:28:11'),(24278,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.231684923172','2016-08-24 10:28:11'),(24279,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00026583671569824','2016-08-24 10:28:11'),(24280,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00022006034851074','2016-08-24 10:28:11'),(24281,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.036779165267944','2016-08-24 10:28:14'),(24282,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00038599967956543','2016-08-24 10:28:14'),(24283,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00027298927307129','2016-08-24 10:28:14'),(24284,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0002448558807373','2016-08-24 10:28:14'),(24285,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00023412704467773','2016-08-24 10:28:14'),(24286,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00023603439331055','2016-08-24 10:28:14'),(24287,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-24 10:28:14'),(24288,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00023221969604492','2016-08-24 10:28:14'),(24289,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00021815299987793','2016-08-24 10:28:14'),(24290,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-24 10:28:14'),(24291,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00020909309387207','2016-08-24 10:28:14'),(24292,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00021100044250488','2016-08-24 10:28:14'),(24293,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00036287307739258','2016-08-24 10:28:15'),(24294,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00020408630371094','2016-08-24 10:28:15'),(24295,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 10:28:15'),(24296,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-24 10:28:15'),(24297,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-24 10:28:15'),(24298,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 10:28:15'),(24299,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-24 10:28:15'),(24300,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-24 10:28:15'),(24301,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0001990795135498','2016-08-24 10:28:15'),(24302,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 10:28:15'),(24303,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-24 10:28:15'),(24304,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-24 10:28:15'),(24305,14,13,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Hijrah Demo\', `line1` = \'No, 5432\', `line2` = \'\', `line3` = \'Gombak\', `city` = \'Gombak\', `companyPostCode` = \'45555\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'361855444\', `faxNo` = \'+60361855444\', `email` = \'amin@supplier02.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'14\'','setup/companySetup','0.0096731185913086','2016-08-24 12:35:56'),(24306,14,13,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Hijrah Demo\', `line1` = \'No, 5432\', `line2` = \'\', `line3` = \'Gombak\', `city` = \'Gombak\', `companyPostCode` = \'45555\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'361855444\', `faxNo` = \'+60361855444\', `email` = \'amin@supplier02.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'14\'','setup/companySetup','0.018420934677124','2016-08-24 12:35:56'),(24307,14,13,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Hijrah Demo\', `webPageName` = \'HijrahPomade\', `line1` = \'No, 5432\', `line2` = \'\', `line3` = \'Gombak\', `city` = \'Gombak\', `companyPostCode` = \'45555\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'361855444\', `faxNo` = \'+60361855444\', `email` = \'amin@supplier02.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'14\'','setup/companySetup','0.10084509849548','2016-08-24 13:01:17'),(24308,14,13,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Hijrah Demo\', `webPageName` = \'HijrahPomade\', `line1` = \'No, 5432\', `line2` = \'\', `line3` = \'Gombak\', `city` = \'Gombak\', `companyPostCode` = \'45555\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'361855444\', `faxNo` = \'+60361855444\', `email` = \'amin@supplier02.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'13\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'14\'','setup/companySetup','0.12878799438477','2016-08-24 13:01:17'),(24309,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.037246942520142','2016-08-24 14:38:31'),(24310,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.014650106430054','2016-08-24 14:38:31'),(24311,13,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'13\'\nAND `is_delete` =  0','home/index','0.039655923843384','2016-08-24 16:27:42'),(24312,13,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'13\'\nAND `is_delete` =  0','home/index','0.00032901763916016','2016-08-24 16:27:42'),(24313,13,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'13\'\nAND `is_delete` =  0','home/index','0.00020503997802734','2016-08-24 16:27:42'),(24314,13,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'13\'\nAND `is_delete` =  0','home/index','0.00018692016601562','2016-08-24 16:27:42'),(24315,13,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.14453291893005','2016-08-24 16:27:42'),(24316,13,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020454883575439','2016-08-24 16:27:42'),(24317,13,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020343065261841','2016-08-24 16:27:42'),(24318,13,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020457029342651','2016-08-24 16:27:42'),(24319,13,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.68338704109192','2016-08-24 16:27:42'),(24320,13,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.047323942184448','2016-08-24 16:27:42'),(24321,13,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0030989646911621','2016-08-24 16:27:42'),(24322,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.010876178741455','2016-08-24 16:27:45'),(24323,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00037002563476562','2016-08-24 16:27:45'),(24324,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022983551025391','2016-08-24 16:27:45'),(24325,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022482872009277','2016-08-24 16:27:45'),(24326,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022792816162109','2016-08-24 16:27:46'),(24327,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022482872009277','2016-08-24 16:27:46'),(24328,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021982192993164','2016-08-24 16:27:46'),(24329,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00023007392883301','2016-08-24 16:27:46'),(24330,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021910667419434','2016-08-24 16:27:46'),(24331,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021982192993164','2016-08-24 16:27:46'),(24332,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021719932556152','2016-08-24 16:27:46'),(24333,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.0002138614654541','2016-08-24 16:27:46'),(24334,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00041794776916504','2016-08-24 16:29:50'),(24335,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00030899047851562','2016-08-24 16:29:50'),(24336,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00023388862609863','2016-08-24 16:29:50'),(24337,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022602081298828','2016-08-24 16:29:50'),(24338,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022721290588379','2016-08-24 16:29:50'),(24339,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022506713867188','2016-08-24 16:29:50'),(24340,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022196769714355','2016-08-24 16:29:50'),(24341,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.0002291202545166','2016-08-24 16:29:50'),(24342,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021910667419434','2016-08-24 16:29:50'),(24343,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022196769714355','2016-08-24 16:29:50'),(24344,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-24 16:29:50'),(24345,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00024580955505371','2016-08-24 16:29:50'),(24346,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00043392181396484','2016-08-24 16:29:51'),(24347,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00030279159545898','2016-08-24 16:29:51'),(24348,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00026488304138184','2016-08-24 16:29:51'),(24349,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00024914741516113','2016-08-24 16:29:51'),(24350,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00024104118347168','2016-08-24 16:29:51'),(24351,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00023293495178223','2016-08-24 16:29:51'),(24352,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00023293495178223','2016-08-24 16:29:51'),(24353,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00023412704467773','2016-08-24 16:29:51'),(24354,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.0002291202545166','2016-08-24 16:29:51'),(24355,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.0002281665802002','2016-08-24 16:29:51'),(24356,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022196769714355','2016-08-24 16:29:51'),(24357,13,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00022411346435547','2016-08-24 16:29:51'),(24358,13,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'13\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00035691261291504','2016-08-24 16:29:54'),(24359,13,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'13\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00034809112548828','2016-08-24 16:29:55'),(24360,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00025296211242676','2016-08-24 16:29:56'),(24361,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 16:29:56'),(24362,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 16:29:56'),(24363,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 16:29:56'),(24364,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 16:29:56'),(24365,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 16:29:56'),(24366,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 16:29:56'),(24367,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-24 16:29:56'),(24368,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-24 16:29:56'),(24369,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 16:29:56'),(24370,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 16:29:56'),(24371,13,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'13\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-24 16:29:56'),(24372,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.0004270076751709','2016-08-24 16:30:37'),(24373,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00030303001403809','2016-08-24 16:30:37'),(24374,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.0002601146697998','2016-08-24 16:30:37'),(24375,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00023102760314941','2016-08-24 16:30:37'),(24376,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13654398918152','2016-08-24 16:30:37'),(24377,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.0207359790802','2016-08-24 16:30:37'),(24378,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020843029022217','2016-08-24 16:30:37'),(24379,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020621061325073','2016-08-24 16:30:37'),(24380,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.46409296989441','2016-08-24 16:30:37'),(24381,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.0155348777771','2016-08-24 16:30:37'),(24382,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.003154993057251','2016-08-24 16:30:37'),(24383,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.020665168762207','2016-08-24 16:30:40'),(24384,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00032687187194824','2016-08-24 16:30:40'),(24385,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022983551025391','2016-08-24 16:30:40'),(24386,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021195411682129','2016-08-24 16:30:40'),(24387,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020384788513184','2016-08-24 16:30:40'),(24388,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0001988410949707','2016-08-24 16:30:40'),(24389,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 16:30:40'),(24390,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020098686218262','2016-08-24 16:30:40'),(24391,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-24 16:30:40'),(24392,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 16:30:40'),(24393,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 16:30:40'),(24394,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 16:30:40'),(24395,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` =  \'3\'','setup/getBusinessType','0.00033402442932129','2016-08-24 16:30:41'),(24396,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00038504600524902','2016-08-24 16:30:41'),(24397,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00024294853210449','2016-08-24 16:30:41'),(24398,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002129077911377','2016-08-24 16:30:41'),(24399,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020003318786621','2016-08-24 16:30:41'),(24400,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 16:30:41'),(24401,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-24 16:30:41'),(24402,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 16:30:41'),(24403,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-24 16:30:41'),(24404,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 16:30:41'),(24405,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 16:30:41'),(24406,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 16:30:41'),(24407,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-24 16:30:41'),(24408,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` =  \'2\'','setup/getBusinessType','0.00030803680419922','2016-08-24 16:30:44'),(24409,20,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0003659725189209','2016-08-24 16:30:44'),(24410,20,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00037789344787598','2016-08-24 16:30:45'),(24411,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00030398368835449','2016-08-24 16:30:45'),(24412,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022697448730469','2016-08-24 16:30:46'),(24413,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021600723266602','2016-08-24 16:30:46'),(24414,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-24 16:30:46'),(24415,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002131462097168','2016-08-24 16:30:46'),(24416,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-24 16:30:46'),(24417,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020909309387207','2016-08-24 16:30:46'),(24418,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021481513977051','2016-08-24 16:30:46'),(24419,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021004676818848','2016-08-24 16:30:46'),(24420,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021004676818848','2016-08-24 16:30:46'),(24421,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020599365234375','2016-08-24 16:30:46'),(24422,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020599365234375','2016-08-24 16:30:46'),(24423,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.055536985397339','2016-08-24 16:30:49'),(24424,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00051498413085938','2016-08-24 16:30:49'),(24425,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003509521484375','2016-08-24 16:30:49'),(24426,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00034213066101074','2016-08-24 16:30:50'),(24427,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033903121948242','2016-08-24 16:30:50'),(24428,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033283233642578','2016-08-24 16:30:50'),(24429,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033116340637207','2016-08-24 16:30:50'),(24430,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-24 16:30:50'),(24431,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003349781036377','2016-08-24 16:30:50'),(24432,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033187866210938','2016-08-24 16:30:50'),(24433,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032997131347656','2016-08-24 16:30:50'),(24434,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-24 16:30:50'),(24435,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00057005882263184','2016-08-24 16:30:51'),(24436,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00043416023254395','2016-08-24 16:30:51'),(24437,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00034403800964355','2016-08-24 16:30:51'),(24438,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033402442932129','2016-08-24 16:30:51'),(24439,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-24 16:30:51'),(24440,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032711029052734','2016-08-24 16:30:51'),(24441,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032711029052734','2016-08-24 16:30:51'),(24442,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-24 16:30:51'),(24443,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032591819763184','2016-08-24 16:30:51'),(24444,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032687187194824','2016-08-24 16:30:51'),(24445,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032186508178711','2016-08-24 16:30:51'),(24446,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-24 16:30:51'),(24447,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00057506561279297','2016-08-24 16:30:53'),(24448,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00041699409484863','2016-08-24 16:30:53'),(24449,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034999847412109','2016-08-24 16:30:53'),(24450,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034308433532715','2016-08-24 16:30:53'),(24451,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033712387084961','2016-08-24 16:30:53'),(24452,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003349781036377','2016-08-24 16:30:53'),(24453,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003359317779541','2016-08-24 16:30:53'),(24454,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033688545227051','2016-08-24 16:30:53'),(24455,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003359317779541','2016-08-24 16:30:53'),(24456,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033712387084961','2016-08-24 16:30:53'),(24457,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033211708068848','2016-08-24 16:30:53'),(24458,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003349781036377','2016-08-24 16:30:53'),(24459,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00056982040405273','2016-08-24 16:30:54'),(24460,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00044894218444824','2016-08-24 16:30:54'),(24461,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034689903259277','2016-08-24 16:30:54'),(24462,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003359317779541','2016-08-24 16:30:54'),(24463,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033402442932129','2016-08-24 16:30:54'),(24464,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-24 16:30:54'),(24465,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-24 16:30:54'),(24466,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033020973205566','2016-08-24 16:30:54'),(24467,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032997131347656','2016-08-24 16:30:54'),(24468,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033187866210938','2016-08-24 16:30:54'),(24469,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032496452331543','2016-08-24 16:30:54'),(24470,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033402442932129','2016-08-24 16:30:54'),(24471,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00072288513183594','2016-08-24 16:30:57'),(24472,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.00048303604125977','2016-08-24 16:30:57'),(24473,20,18,'192.168.1.203','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'20\'','setup/updateCompany','0.045286893844604','2016-08-24 16:30:59'),(24474,20,18,'192.168.1.203','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'1970-01-01\' WHERE `ID` =  \'20\'','setup/updateCompany','0.016180038452148','2016-08-24 16:30:59'),(24475,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00037217140197754','2016-08-24 16:30:59'),(24476,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.0002598762512207','2016-08-24 16:30:59'),(24477,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00020003318786621','2016-08-24 16:30:59'),(24478,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00018405914306641','2016-08-24 16:30:59'),(24479,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.095473051071167','2016-08-24 16:30:59'),(24480,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020488977432251','2016-08-24 16:30:59'),(24481,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020417928695679','2016-08-24 16:30:59'),(24482,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020487785339355','2016-08-24 16:30:59'),(24483,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.21489191055298','2016-08-24 16:30:59'),(24484,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00028085708618164','2016-08-24 16:30:59'),(24485,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00018906593322754','2016-08-24 16:30:59'),(24486,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.01485800743103','2016-08-24 16:31:48'),(24487,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00032901763916016','2016-08-24 16:31:48'),(24488,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00021696090698242','2016-08-24 16:31:48'),(24489,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00020098686218262','2016-08-24 16:31:48'),(24490,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.078011989593506','2016-08-24 16:31:48'),(24491,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.031399011611938','2016-08-24 16:31:48'),(24492,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020538091659546','2016-08-24 16:31:48'),(24493,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.02082896232605','2016-08-24 16:31:48'),(24494,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.20428395271301','2016-08-24 16:31:48'),(24495,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00028681755065918','2016-08-24 16:31:48'),(24496,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00019288063049316','2016-08-24 16:31:48'),(24497,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0015640258789062','2016-08-24 16:31:51'),(24498,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00027585029602051','2016-08-24 16:31:51'),(24499,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-24 16:31:51'),(24500,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018692016601562','2016-08-24 16:31:51'),(24501,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 16:31:51'),(24502,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-24 16:31:51'),(24503,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 16:31:51'),(24504,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 16:31:52'),(24505,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-24 16:31:52'),(24506,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 16:31:52'),(24507,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-24 16:31:52'),(24508,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018119812011719','2016-08-24 16:31:52'),(24509,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00040602684020996','2016-08-24 16:31:52'),(24510,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00027012825012207','2016-08-24 16:31:52'),(24511,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00023698806762695','2016-08-24 16:31:52'),(24512,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00021600723266602','2016-08-24 16:31:52'),(24513,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.048473834991455','2016-08-24 16:31:52'),(24514,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020630121231079','2016-08-24 16:31:52'),(24515,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020493030548096','2016-08-24 16:31:52'),(24516,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020634889602661','2016-08-24 16:31:52'),(24517,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.1027820110321','2016-08-24 16:31:52'),(24518,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00028610229492188','2016-08-24 16:31:53'),(24519,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00022101402282715','2016-08-24 16:31:53'),(24520,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.031547069549561','2016-08-24 16:31:57'),(24521,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00030994415283203','2016-08-24 16:31:57'),(24522,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 16:31:57'),(24523,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 16:31:57'),(24524,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-24 16:31:57'),(24525,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 16:31:57'),(24526,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 16:31:57'),(24527,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019121170043945','2016-08-24 16:31:57'),(24528,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 16:31:57'),(24529,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 16:31:57'),(24530,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 16:31:57'),(24531,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 16:31:57'),(24532,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00036907196044922','2016-08-24 16:31:59'),(24533,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022792816162109','2016-08-24 16:31:59'),(24534,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-24 16:31:59'),(24535,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-24 16:31:59'),(24536,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018620491027832','2016-08-24 16:31:59'),(24537,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 16:31:59'),(24538,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 16:31:59'),(24539,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021815299987793','2016-08-24 16:31:59'),(24540,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-24 16:31:59'),(24541,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 16:31:59'),(24542,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-24 16:31:59'),(24543,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018310546875','2016-08-24 16:31:59'),(24544,20,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.0003809928894043','2016-08-24 16:32:04'),(24545,20,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00035595893859863','2016-08-24 16:32:06'),(24546,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00026702880859375','2016-08-24 16:32:06'),(24547,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022506713867188','2016-08-24 16:32:06'),(24548,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002131462097168','2016-08-24 16:32:06'),(24549,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 16:32:06'),(24550,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-24 16:32:06'),(24551,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002138614654541','2016-08-24 16:32:06'),(24552,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020790100097656','2016-08-24 16:32:06'),(24553,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-24 16:32:06'),(24554,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021100044250488','2016-08-24 16:32:06'),(24555,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021004676818848','2016-08-24 16:32:06'),(24556,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020623207092285','2016-08-24 16:32:06'),(24557,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020599365234375','2016-08-24 16:32:06'),(24558,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.037490129470825','2016-08-24 16:32:12'),(24559,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00049805641174316','2016-08-24 16:32:12'),(24560,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00035405158996582','2016-08-24 16:32:12'),(24561,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00034308433532715','2016-08-24 16:32:12'),(24562,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033903121948242','2016-08-24 16:32:12'),(24563,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-24 16:32:12'),(24564,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032782554626465','2016-08-24 16:32:12'),(24565,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032782554626465','2016-08-24 16:32:12'),(24566,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-24 16:32:12'),(24567,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033187866210938','2016-08-24 16:32:12'),(24568,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032496452331543','2016-08-24 16:32:12'),(24569,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032687187194824','2016-08-24 16:32:12'),(24570,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00055789947509766','2016-08-24 16:32:14'),(24571,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00043487548828125','2016-08-24 16:32:14'),(24572,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00035810470581055','2016-08-24 16:32:14'),(24573,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00034809112548828','2016-08-24 16:32:14'),(24574,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033903121948242','2016-08-24 16:32:14'),(24575,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033283233642578','2016-08-24 16:32:14'),(24576,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-24 16:32:14'),(24577,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033712387084961','2016-08-24 16:32:14'),(24578,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033807754516602','2016-08-24 16:32:14'),(24579,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037217140197754','2016-08-24 16:32:14'),(24580,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033211708068848','2016-08-24 16:32:14'),(24581,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-24 16:32:14'),(24582,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00057077407836914','2016-08-24 16:32:17'),(24583,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00040602684020996','2016-08-24 16:32:17'),(24584,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034308433532715','2016-08-24 16:32:17'),(24585,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033903121948242','2016-08-24 16:32:17'),(24586,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033402442932129','2016-08-24 16:32:17'),(24587,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-24 16:32:17'),(24588,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032711029052734','2016-08-24 16:32:17'),(24589,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003349781036377','2016-08-24 16:32:17'),(24590,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033211708068848','2016-08-24 16:32:17'),(24591,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-24 16:32:17'),(24592,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032997131347656','2016-08-24 16:32:17'),(24593,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-24 16:32:17'),(24594,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0005640983581543','2016-08-24 16:32:19'),(24595,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00044107437133789','2016-08-24 16:32:19'),(24596,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00035214424133301','2016-08-24 16:32:19'),(24597,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033879280090332','2016-08-24 16:32:19'),(24598,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033903121948242','2016-08-24 16:32:19'),(24599,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003359317779541','2016-08-24 16:32:19'),(24600,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033092498779297','2016-08-24 16:32:19'),(24601,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003349781036377','2016-08-24 16:32:19'),(24602,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-24 16:32:19'),(24603,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033402442932129','2016-08-24 16:32:19'),(24604,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032401084899902','2016-08-24 16:32:19'),(24605,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032305717468262','2016-08-24 16:32:19'),(24606,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00059604644775391','2016-08-24 16:32:24'),(24607,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.00048494338989258','2016-08-24 16:32:24'),(24608,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00038385391235352','2016-08-24 16:32:31'),(24609,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00026202201843262','2016-08-24 16:32:31'),(24610,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-24 16:32:31'),(24611,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-24 16:32:31'),(24612,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-24 16:32:31'),(24613,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 16:32:31'),(24614,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-24 16:32:31'),(24615,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019001960754395','2016-08-24 16:32:31'),(24616,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 16:32:31'),(24617,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-24 16:32:31'),(24618,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-24 16:32:31'),(24619,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-24 16:32:31'),(24620,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00047707557678223','2016-08-24 16:32:31'),(24621,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.080514192581177','2016-08-24 16:32:31'),(24622,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00058794021606445','2016-08-24 16:32:31'),(24623,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00052189826965332','2016-08-24 16:32:31'),(24624,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00049400329589844','2016-08-24 16:32:31'),(24625,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00048494338989258','2016-08-24 16:32:31'),(24626,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00048303604125977','2016-08-24 16:32:31'),(24627,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00044512748718262','2016-08-24 16:32:31'),(24628,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00042915344238281','2016-08-24 16:32:31'),(24629,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00040197372436523','2016-08-24 16:32:31'),(24630,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00041484832763672','2016-08-24 16:32:31'),(24631,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00044393539428711','2016-08-24 16:32:31'),(24632,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00036883354187012','2016-08-24 16:33:14'),(24633,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00022983551025391','2016-08-24 16:33:14'),(24634,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.0001990795135498','2016-08-24 16:33:14'),(24635,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.0001828670501709','2016-08-24 16:33:14'),(24636,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.10368394851685','2016-08-24 16:33:14'),(24637,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.020541191101074','2016-08-24 16:33:14'),(24638,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020494937896729','2016-08-24 16:33:14'),(24639,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.02046799659729','2016-08-24 16:33:14'),(24640,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.2541229724884','2016-08-24 16:33:14'),(24641,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00029301643371582','2016-08-24 16:33:14'),(24642,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.0001978874206543','2016-08-24 16:33:14'),(24643,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-24\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.0014381408691406','2016-08-24 16:34:18'),(24644,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00029492378234863','2016-08-24 16:34:18'),(24645,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00020098686218262','2016-08-24 16:34:18'),(24646,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00018501281738281','2016-08-24 16:34:18'),(24647,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.037240982055664','2016-08-24 16:34:18'),(24648,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.02053689956665','2016-08-24 16:34:18'),(24649,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020457983016968','2016-08-24 16:34:18'),(24650,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020576953887939','2016-08-24 16:34:18'),(24651,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.24475502967834','2016-08-24 16:34:18'),(24652,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00026512145996094','2016-08-24 16:34:19'),(24653,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00021505355834961','2016-08-24 16:34:19'),(24654,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-25\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.046128034591675','2016-08-25 08:40:44'),(24655,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00037693977355957','2016-08-25 08:40:44'),(24656,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00028800964355469','2016-08-25 08:40:44'),(24657,24,31,'192.168.1.204','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'24\'\nAND `is_delete` =  0','home/index','0.00024700164794922','2016-08-25 08:40:44'),(24658,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.14417195320129','2016-08-25 08:40:44'),(24659,24,31,'192.168.1.204','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.021191835403442','2016-08-25 08:40:44'),(24660,24,31,'192.168.1.204','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.020612955093384','2016-08-25 08:40:44'),(24661,24,31,'192.168.1.204','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'24\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.020662069320679','2016-08-25 08:40:44'),(24662,24,31,'192.168.1.204','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'24\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.33367705345154','2016-08-25 08:40:44'),(24663,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.020620107650757','2016-08-25 08:40:44'),(24664,24,31,'192.168.1.204','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.11065912246704','2016-08-25 08:40:44'),(24665,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.010114192962646','2016-08-25 08:40:47'),(24666,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00032401084899902','2016-08-25 08:40:47'),(24667,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-25 08:40:47'),(24668,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-25 08:40:47'),(24669,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-25 08:40:47'),(24670,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-25 08:40:47'),(24671,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-25 08:40:47'),(24672,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-25 08:40:48'),(24673,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-25 08:40:48'),(24674,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-25 08:40:48'),(24675,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-25 08:40:48'),(24676,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-25 08:40:48'),(24677,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00041294097900391','2016-08-25 08:40:49'),(24678,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00025796890258789','2016-08-25 08:40:49'),(24679,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00022792816162109','2016-08-25 08:40:49'),(24680,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00022506713867188','2016-08-25 08:40:49'),(24681,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00022101402282715','2016-08-25 08:40:49'),(24682,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-25 08:40:49'),(24683,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-25 08:40:49'),(24684,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00022602081298828','2016-08-25 08:40:49'),(24685,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00021719932556152','2016-08-25 08:40:49'),(24686,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00021982192993164','2016-08-25 08:40:49'),(24687,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.0002140998840332','2016-08-25 08:40:49'),(24688,24,31,'192.168.1.204','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00021600723266602','2016-08-25 08:40:49'),(24689,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00036287307739258','2016-08-25 08:40:52'),(24690,24,31,'192.168.1.204','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'24\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00035405158996582','2016-08-25 08:40:53'),(24691,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00025582313537598','2016-08-25 08:40:53'),(24692,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-25 08:40:53'),(24693,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-25 08:40:53'),(24694,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018000602722168','2016-08-25 08:40:53'),(24695,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-25 08:40:53'),(24696,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-25 08:40:53'),(24697,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017881393432617','2016-08-25 08:40:53'),(24698,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-25 08:40:53'),(24699,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-25 08:40:53'),(24700,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-25 08:40:53'),(24701,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-25 08:40:53'),(24702,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2014\'\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017499923706055','2016-08-25 08:40:53'),(24703,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-25 08:40:53'),(24704,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-25 08:40:53'),(24705,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-25 08:40:53'),(24706,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-25 08:40:53'),(24707,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017499923706055','2016-08-25 08:40:53'),(24708,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-25 08:40:53'),(24709,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-25 08:40:53'),(24710,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-25 08:40:53'),(24711,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-25 08:40:53'),(24712,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017404556274414','2016-08-25 08:40:53'),(24713,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-25 08:40:53'),(24714,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2015\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-25 08:40:53'),(24715,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-25 08:40:53'),(24716,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017309188842773','2016-08-25 08:40:53'),(24717,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-25 08:40:53'),(24718,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017595291137695','2016-08-25 08:40:53'),(24719,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017690658569336','2016-08-25 08:40:53'),(24720,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017881393432617','2016-08-25 08:40:53'),(24721,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017404556274414','2016-08-25 08:40:54'),(24722,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-25 08:40:54'),(24723,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017786026000977','2016-08-25 08:40:54'),(24724,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017905235290527','2016-08-25 08:40:54'),(24725,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017499923706055','2016-08-25 08:40:54'),(24726,24,31,'192.168.1.204','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  2016\nAND `a`.`companyID` =  \'24\'','dashboard/fnGetSeries','0.00017714500427246','2016-08-25 08:40:54'),(24727,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0016109943389893','2016-08-26 09:54:58'),(24728,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.001082181930542','2016-08-26 09:55:44'),(24729,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.011128187179565','2016-08-26 14:48:15'),(24730,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00036311149597168','2016-08-26 14:48:15'),(24731,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00024890899658203','2016-08-26 14:48:15'),(24732,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00025486946105957','2016-08-26 14:48:15'),(24733,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.028525829315186','2016-08-26 14:48:15'),(24734,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.021573066711426','2016-08-26 14:48:16'),(24735,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.021626949310303','2016-08-26 14:48:16'),(24736,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.021569013595581','2016-08-26 14:48:16'),(24737,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.16219091415405','2016-08-26 14:48:16'),(24738,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00030994415283203','2016-08-26 14:48:16'),(24739,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00021791458129883','2016-08-26 14:48:16'),(24740,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0014848709106445','2016-08-26 14:48:19'),(24741,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002439022064209','2016-08-26 14:48:19'),(24742,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019598007202148','2016-08-26 14:48:19'),(24743,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021982192993164','2016-08-26 14:48:19'),(24744,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-26 14:48:19'),(24745,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-26 14:48:19'),(24746,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018596649169922','2016-08-26 14:48:19'),(24747,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019383430480957','2016-08-26 14:48:19'),(24748,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-26 14:48:19'),(24749,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-26 14:48:19'),(24750,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018119812011719','2016-08-26 14:48:19'),(24751,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018310546875','2016-08-26 14:48:19'),(24752,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.0004880428314209','2016-08-26 14:48:19'),(24753,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00025296211242676','2016-08-26 14:48:19'),(24754,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00022292137145996','2016-08-26 14:48:19'),(24755,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00019001960754395','2016-08-26 14:48:19'),(24756,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.13953113555908','2016-08-26 14:48:19'),(24757,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.021401882171631','2016-08-26 14:48:19'),(24758,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.021384000778198','2016-08-26 14:48:19'),(24759,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.021355867385864','2016-08-26 14:48:20'),(24760,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.27672696113586','2016-08-26 14:48:20'),(24761,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00027894973754883','2016-08-26 14:48:20'),(24762,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00020599365234375','2016-08-26 14:48:20'),(24763,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0015039443969727','2016-08-26 14:48:23'),(24764,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00031495094299316','2016-08-26 14:48:23'),(24765,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00023007392883301','2016-08-26 14:48:23'),(24766,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022482872009277','2016-08-26 14:48:23'),(24767,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022292137145996','2016-08-26 14:48:23'),(24768,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021886825561523','2016-08-26 14:48:23'),(24769,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-26 14:48:23'),(24770,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00023102760314941','2016-08-26 14:48:23'),(24771,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-26 14:48:23'),(24772,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022006034851074','2016-08-26 14:48:23'),(24773,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-26 14:48:23'),(24774,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021815299987793','2016-08-26 14:48:23'),(24775,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00036501884460449','2016-08-26 14:48:24'),(24776,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00024795532226562','2016-08-26 14:48:24'),(24777,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-26 14:48:24'),(24778,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-26 14:48:24'),(24779,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018787384033203','2016-08-26 14:48:24'),(24780,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0001828670501709','2016-08-26 14:48:24'),(24781,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-26 14:48:24'),(24782,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019216537475586','2016-08-26 14:48:24'),(24783,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-26 14:48:24'),(24784,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.015023946762085','2016-08-26 14:48:24'),(24785,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00025486946105957','2016-08-26 14:48:24'),(24786,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-26 14:48:24'),(24787,20,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00037097930908203','2016-08-26 14:48:27'),(24788,20,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00034022331237793','2016-08-26 14:48:28'),(24789,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00025701522827148','2016-08-26 14:48:28'),(24790,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019407272338867','2016-08-26 14:48:28'),(24791,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-26 14:48:28'),(24792,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-26 14:48:28'),(24793,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0001838207244873','2016-08-26 14:48:28'),(24794,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-26 14:48:28'),(24795,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-26 14:48:28'),(24796,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-26 14:48:28'),(24797,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018191337585449','2016-08-26 14:48:28'),(24798,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018215179443359','2016-08-26 14:48:28'),(24799,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00017881393432617','2016-08-26 14:48:28'),(24800,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00017809867858887','2016-08-26 14:48:28'),(24801,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.042865037918091','2016-08-26 14:48:32'),(24802,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00048398971557617','2016-08-26 14:48:32'),(24803,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00035381317138672','2016-08-26 14:48:32'),(24804,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00034213066101074','2016-08-26 14:48:32'),(24805,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003349781036377','2016-08-26 14:48:32'),(24806,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-26 14:48:32'),(24807,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037002563476562','2016-08-26 14:48:32'),(24808,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00033187866210938','2016-08-26 14:48:32'),(24809,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-26 14:48:32'),(24810,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-26 14:48:32'),(24811,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032782554626465','2016-08-26 14:48:32'),(24812,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00032901763916016','2016-08-26 14:48:32'),(24813,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00060081481933594','2016-08-26 14:48:33'),(24814,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00045680999755859','2016-08-26 14:48:33'),(24815,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00038695335388184','2016-08-26 14:48:33'),(24816,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037717819213867','2016-08-26 14:48:33'),(24817,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037693977355957','2016-08-26 14:48:33'),(24818,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037598609924316','2016-08-26 14:48:33'),(24819,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037693977355957','2016-08-26 14:48:33'),(24820,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037789344787598','2016-08-26 14:48:33'),(24821,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003821849822998','2016-08-26 14:48:33'),(24822,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00038003921508789','2016-08-26 14:48:33'),(24823,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0003669261932373','2016-08-26 14:48:33'),(24824,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00037693977355957','2016-08-26 14:48:34'),(24825,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00058579444885254','2016-08-26 14:48:35'),(24826,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00044798851013184','2016-08-26 14:48:36'),(24827,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00039005279541016','2016-08-26 14:48:36'),(24828,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0003819465637207','2016-08-26 14:48:36'),(24829,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037479400634766','2016-08-26 14:48:36'),(24830,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037312507629395','2016-08-26 14:48:36'),(24831,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037097930908203','2016-08-26 14:48:36'),(24832,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037312507629395','2016-08-26 14:48:36'),(24833,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037503242492676','2016-08-26 14:48:36'),(24834,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037908554077148','2016-08-26 14:48:36'),(24835,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00037384033203125','2016-08-26 14:48:36'),(24836,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00038909912109375','2016-08-26 14:48:36'),(24837,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00056886672973633','2016-08-26 14:48:37'),(24838,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00042581558227539','2016-08-26 14:48:37'),(24839,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034284591674805','2016-08-26 14:48:37'),(24840,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00034117698669434','2016-08-26 14:48:37'),(24841,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-26 14:48:37'),(24842,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032877922058105','2016-08-26 14:48:37'),(24843,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032711029052734','2016-08-26 14:48:37'),(24844,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032997131347656','2016-08-26 14:48:37'),(24845,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033307075500488','2016-08-26 14:48:37'),(24846,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00033020973205566','2016-08-26 14:48:37'),(24847,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032806396484375','2016-08-26 14:48:37'),(24848,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.00032711029052734','2016-08-26 14:48:37'),(24849,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00056600570678711','2016-08-26 14:48:40'),(24850,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.00044918060302734','2016-08-26 14:48:40'),(24851,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0004119873046875','2016-08-26 14:48:44'),(24852,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0003049373626709','2016-08-26 14:48:44'),(24853,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00023508071899414','2016-08-26 14:48:44'),(24854,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002291202545166','2016-08-26 14:48:44'),(24855,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022697448730469','2016-08-26 14:48:44'),(24856,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022602081298828','2016-08-26 14:48:44'),(24857,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022077560424805','2016-08-26 14:48:44'),(24858,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00023007392883301','2016-08-26 14:48:44'),(24859,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022315979003906','2016-08-26 14:48:44'),(24860,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022077560424805','2016-08-26 14:48:44'),(24861,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021696090698242','2016-08-26 14:48:44'),(24862,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021982192993164','2016-08-26 14:48:44'),(24863,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00053191184997559','2016-08-26 14:48:44'),(24864,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00058412551879883','2016-08-26 14:48:44'),(24865,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0005490779876709','2016-08-26 14:48:44'),(24866,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00054311752319336','2016-08-26 14:48:44'),(24867,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00048995018005371','2016-08-26 14:48:44'),(24868,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00046396255493164','2016-08-26 14:48:44'),(24869,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00046610832214355','2016-08-26 14:48:44'),(24870,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0004730224609375','2016-08-26 14:48:44'),(24871,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00052785873413086','2016-08-26 14:48:44'),(24872,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00053811073303223','2016-08-26 14:48:44'),(24873,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.00056695938110352','2016-08-26 14:48:44'),(24874,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0004878044128418','2016-08-26 14:48:45'),(24875,20,18,'192.168.1.203','others','SELECT `a`.*, `b`.`fldcountry`, `c`.`fldname`, d.name as businessName, `e`.`parlimen`, `f`.`ID` as industryID, `f`.`name` as industryName\nFROM (`company` a)\nLEFT JOIN `_ref_country` b ON `b`.`fldid` = `a`.`countryID`\nLEFT JOIN `_ref_state` c ON `c`.`fldid` = `a`.`companyStateID`\nLEFT JOIN `_ref_business_type` d ON `d`.`ID` = `a`.`businessTypeID`\nLEFT JOIN `parlimen` e ON `a`.`parlimenID` = `e`.`ID`\nLEFT JOIN `_ref_industry` f ON `f`.`ID` = `d`.`industryID`\nWHERE `a`.`ID` =  \'20\'','setup/companySetup','0.035443067550659','2016-08-26 14:50:42'),(24876,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_country`)\nORDER BY `fldcountry`','setup/companySetup','0.00077009201049805','2016-08-26 14:50:42'),(24877,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_state`)\nWHERE `fldregion_id` =  \'458\'\nORDER BY `fldregion_id`, `fldname`','setup/companySetup','0.00066614151000977','2016-08-26 14:50:42'),(24878,20,18,'192.168.1.203','others','SELECT *\nFROM (`parlimen`)\nWHERE `stateID` =  \'0\'','setup/companySetup','0.00020503997802734','2016-08-26 14:50:42'),(24879,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00014805793762207','2016-08-26 14:50:42'),(24880,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.0001828670501709','2016-08-26 14:50:42'),(24881,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/companySetup','0.00019216537475586','2016-08-26 14:50:42'),(24882,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/companySetup','0.00018191337585449','2016-08-26 14:50:42'),(24883,20,18,'192.168.1.203','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 20, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 20)','setup/assetSetup','0.090035915374756','2016-08-26 14:56:10'),(24884,20,18,'192.168.1.203','others','SELECT *, CONCAT(substr(acctCode, 1, 4), \"-\", substr(acctCode, 5, 3), \"-\", substr(acctCode, 8, 2)) as acctCode\nFROM (`comp_chart_of_acct`)\nWHERE `acctCode` > 200000000\nAND `acctGroupID` =  2\nAND `companyID` =  \'20\'','setup/assetSetup','0.00091910362243652','2016-08-26 14:56:10'),(24885,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','setup/assetSetup','0.00028109550476074','2016-08-26 14:56:10'),(24886,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','setup/assetSetup','0.00018692016601562','2016-08-26 14:56:10'),(24887,13,10,'192.168.1.136','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, 1, \'68\', \'50\', \'OP-C\', \'2016-07-12\', \'126\', \'1\')','expenses/saveExpense','0.031700849533081','2016-08-26 15:34:16'),(24888,13,10,'192.168.1.136','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2156, \'10\', \'beli garam + bahan2 mentah\', 1, \'32773\', \'0\', \'0\', \'0\', \'0\', \'0\', \'0\')','expenses/saveExpense','0.01535701751709','2016-08-26 15:34:16'),(24889,13,10,'192.168.1.136','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'294\'','expenses/saveExpense','0.021420955657959','2016-08-26 15:34:16'),(24890,13,10,'192.168.1.136','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000011\' WHERE `ID` =  2156','expenses/saveExpense','0.016515016555786','2016-08-26 15:34:16'),(24891,13,10,'192.168.1.136','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160700000011\', \'Kos Jualan [OP-C[00000076]]\', \'Kos Jualan [OP-C[00000076]]\', \'\', \'3\', \'2016-07-12\', \'16\', \'07\', 50, 50, \'10\')','expenses/saveExpense','0.020432949066162','2016-08-26 15:34:16'),(24892,13,10,'192.168.1.136','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2156','expenses/saveExpense','0.018577098846436','2016-08-26 15:34:16'),(24893,13,10,'192.168.1.136','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11212','expenses/saveExpense','0.016520023345947','2016-08-26 15:34:16'),(24894,13,10,'192.168.1.136','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160700000011\'','expenses/saveExpense','0.00057196617126465','2016-08-26 15:34:16'),(24895,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00037503242492676','2016-08-26 15:39:23'),(24896,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00025606155395508','2016-08-26 15:39:23'),(24897,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00023198127746582','2016-08-26 15:39:23'),(24898,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00020909309387207','2016-08-26 15:39:23'),(24899,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.040400981903076','2016-08-26 15:39:23'),(24900,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.022709846496582','2016-08-26 15:39:23'),(24901,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.022722005844116','2016-08-26 15:39:23'),(24902,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.022917985916138','2016-08-26 15:39:23'),(24903,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.2989559173584','2016-08-26 15:39:23'),(24904,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.00027203559875488','2016-08-26 15:39:23'),(24905,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.00023007392883301','2016-08-26 15:39:23'),(24906,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.013706922531128','2016-08-26 15:39:26'),(24907,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00033187866210938','2016-08-26 15:39:26'),(24908,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00023818016052246','2016-08-26 15:39:26'),(24909,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021815299987793','2016-08-26 15:39:26'),(24910,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021004676818848','2016-08-26 15:39:26'),(24911,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020003318786621','2016-08-26 15:39:26'),(24912,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019598007202148','2016-08-26 15:39:26'),(24913,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020194053649902','2016-08-26 15:39:26'),(24914,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-26 15:39:26'),(24915,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019192695617676','2016-08-26 15:39:26'),(24916,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018715858459473','2016-08-26 15:39:26'),(24917,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-26 15:39:26'),(24918,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00039410591125488','2016-08-26 15:39:27'),(24919,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00025701522827148','2016-08-26 15:39:27'),(24920,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00022697448730469','2016-08-26 15:39:27'),(24921,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021195411682129','2016-08-26 15:39:27'),(24922,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020503997802734','2016-08-26 15:39:27'),(24923,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020003318786621','2016-08-26 15:39:27'),(24924,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0001981258392334','2016-08-26 15:39:27'),(24925,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020098686218262','2016-08-26 15:39:27'),(24926,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00023388862609863','2016-08-26 15:39:27'),(24927,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019693374633789','2016-08-26 15:39:27'),(24928,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-26 15:39:28'),(24929,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2015\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019121170043945','2016-08-26 15:39:28'),(24930,20,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`is_delete` =  0','dashboard/fnGetLegends','0.00036406517028809','2016-08-26 15:39:30'),(24931,20,18,'192.168.1.203','others','SELECT MIN(YEAR(a.receivePaymentDate)) AS first, MAX(YEAR(a.receivePaymentDate)) AS last\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`is_delete` =  0','dashboard/fnGetSeries','0.00033903121948242','2016-08-26 15:39:32'),(24932,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00023508071899414','2016-08-26 15:39:32'),(24933,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019288063049316','2016-08-26 15:39:32'),(24934,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-26 15:39:32'),(24935,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-26 15:39:32'),(24936,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018501281738281','2016-08-26 15:39:32'),(24937,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018811225891113','2016-08-26 15:39:32'),(24938,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-26 15:39:32'),(24939,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018906593322754','2016-08-26 15:39:32'),(24940,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-26 15:39:32'),(24941,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018405914306641','2016-08-26 15:39:32'),(24942,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-26 15:39:32'),(24943,20,18,'192.168.1.203','others','SELECT SUM(a.totalReceived) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) IS NULL\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018095970153809','2016-08-26 15:39:32'),(24944,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.052761077880859','2016-08-26 15:39:38'),(24945,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00085091590881348','2016-08-26 15:39:38'),(24946,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00071501731872559','2016-08-26 15:39:38'),(24947,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006868839263916','2016-08-26 15:39:38'),(24948,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066900253295898','2016-08-26 15:39:38'),(24949,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065994262695312','2016-08-26 15:39:38'),(24950,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064992904663086','2016-08-26 15:39:38'),(24951,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064897537231445','2016-08-26 15:39:38'),(24952,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064396858215332','2016-08-26 15:39:38'),(24953,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064706802368164','2016-08-26 15:39:38'),(24954,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063395500183105','2016-08-26 15:39:38'),(24955,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063014030456543','2016-08-26 15:39:38'),(24956,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00090885162353516','2016-08-26 15:39:40'),(24957,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00075602531433105','2016-08-26 15:39:40'),(24958,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00070405006408691','2016-08-26 15:39:40'),(24959,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00067901611328125','2016-08-26 15:39:40'),(24960,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00066709518432617','2016-08-26 15:39:40'),(24961,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00065398216247559','2016-08-26 15:39:40'),(24962,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064492225646973','2016-08-26 15:39:40'),(24963,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00064396858215332','2016-08-26 15:39:40'),(24964,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.0006411075592041','2016-08-26 15:39:40'),(24965,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00063586235046387','2016-08-26 15:39:40'),(24966,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00062394142150879','2016-08-26 15:39:40'),(24967,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'','dashboard/fnGetSeries','0.00061893463134766','2016-08-26 15:39:40'),(24968,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0022590160369873','2016-08-26 15:39:43'),(24969,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021340847015381','2016-08-26 15:39:43'),(24970,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021312236785889','2016-08-26 15:39:43'),(24971,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021481513977051','2016-08-26 15:39:43'),(24972,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021710395812988','2016-08-26 15:39:43'),(24973,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021598339080811','2016-08-26 15:39:43'),(24974,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020878314971924','2016-08-26 15:39:43'),(24975,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020749568939209','2016-08-26 15:39:43'),(24976,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021481513977051','2016-08-26 15:39:43'),(24977,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.002108097076416','2016-08-26 15:39:43'),(24978,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020749568939209','2016-08-26 15:39:43'),(24979,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021090507507324','2016-08-26 15:39:43'),(24980,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0023670196533203','2016-08-26 15:39:45'),(24981,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021991729736328','2016-08-26 15:39:45'),(24982,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021371841430664','2016-08-26 15:39:45'),(24983,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021610260009766','2016-08-26 15:39:45'),(24984,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021529197692871','2016-08-26 15:39:45'),(24985,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021321773529053','2016-08-26 15:39:45'),(24986,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020999908447266','2016-08-26 15:39:45'),(24987,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021300315856934','2016-08-26 15:39:45'),(24988,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021359920501709','2016-08-26 15:39:45'),(24989,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0020959377288818','2016-08-26 15:39:45'),(24990,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021200180053711','2016-08-26 15:39:45'),(24991,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2015\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','0.0021240711212158','2016-08-26 15:39:45'),(24992,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  8','dashboard/fnGetSeries','0.00084304809570312','2016-08-26 15:39:50'),(24993,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  10','dashboard/fnGetSeries','0.0022339820861816','2016-08-26 15:39:50'),(24994,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0003960132598877','2016-08-26 15:39:57'),(24995,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00026512145996094','2016-08-26 15:39:57'),(24996,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0002291202545166','2016-08-26 15:39:57'),(24997,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00021505355834961','2016-08-26 15:39:57'),(24998,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020790100097656','2016-08-26 15:39:57'),(24999,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020313262939453','2016-08-26 15:39:57'),(25000,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019717216491699','2016-08-26 15:39:57'),(25001,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020384788513184','2016-08-26 15:39:57'),(25002,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019502639770508','2016-08-26 15:39:57'),(25003,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019311904907227','2016-08-26 15:39:57'),(25004,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018882751464844','2016-08-26 15:39:57'),(25005,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019097328186035','2016-08-26 15:39:57'),(25006,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.11878609657288','2016-08-26 15:39:57'),(25007,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 2 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023829936981201','2016-08-26 15:39:57'),(25008,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 3 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023090839385986','2016-08-26 15:39:57'),(25009,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 4 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023269653320312','2016-08-26 15:39:57'),(25010,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 5 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022749900817871','2016-08-26 15:39:57'),(25011,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 6 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023109912872314','2016-08-26 15:39:57'),(25012,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 7 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002234935760498','2016-08-26 15:39:57'),(25013,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 8 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023059844970703','2016-08-26 15:39:57'),(25014,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 9 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0023047924041748','2016-08-26 15:39:57'),(25015,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 10 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002263069152832','2016-08-26 15:39:57'),(25016,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 11 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.0022220611572266','2016-08-26 15:39:57'),(25017,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 12 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` IN (8, 10) \nGROUP BY `a`.`acctGroupID`','dashboard/fnGetSeries','0.002202033996582','2016-08-26 15:39:57'),(25018,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-26\', \'148\', \'1211\', \'LR\', \'Loan 1	\', \'23\', 3)','loanReceive/save_new_loan','0.066412925720215','2016-08-26 15:56:13'),(25019,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2223, 1, \'33013\', \'1211\', \'harini try\')','loanReceive/save_new_loan','0.011805057525635','2016-08-26 15:56:13'),(25020,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'320\'','loanReceive/save_new_loan','0.01329493522644','2016-08-26 15:56:13'),(25021,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000049\' WHERE `ID` =  2223','loanReceive/save_new_loan','0.016507863998413','2016-08-26 15:56:13'),(25022,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000049\', \'LR[00000015]\', \'Loan Received [ LR[00000015] ]\', \'\', \'3\', \'2016-08-26\', \'2016\', \'08\', 1211, 1211, \'User\')','loanReceive/save_new_loan','0.014328002929688','2016-08-26 15:56:13'),(25023,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000049\', 1, \'harini try\', \'33013\', \'Loan 1	\', 1211, \'1\', \'1\', \'1211\', \'08\', \'2016\', \'1\', \'LR[00000015]\', \'0\', \'User\')','loanReceive/save_new_loan','0.01637601852417','2016-08-26 15:56:13'),(25024,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000049\', \'harini try\', \'33007\', \'Loan 1	\', 1211, \'1\', \'1\', \'1211\', \'08\', \'2016\', \'LR[00000015]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.0080289840698242','2016-08-26 15:56:13'),(25025,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1211, `total_amount_cr` = 1211, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000049\'','loanReceive/save_new_loan','0.0081629753112793','2016-08-26 15:56:13'),(25026,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2223','loanReceive/save_new_loan','0.016540050506592','2016-08-26 15:56:13'),(25027,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11224','loanReceive/save_new_loan','0.0081908702850342','2016-08-26 15:56:13'),(25028,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000049\'','loanReceive/save_new_loan','0.012979030609131','2016-08-26 15:56:13'),(25029,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.014505863189697','2016-08-26 15:56:13'),(25030,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.010826110839844','2016-08-26 15:56:13'),(25031,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00042295455932617','2016-08-26 16:02:21'),(25032,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00029110908508301','2016-08-26 16:02:21'),(25033,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00027084350585938','2016-08-26 16:02:21'),(25034,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00023508071899414','2016-08-26 16:02:21'),(25035,20,18,'192.168.1.203','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'20\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00032711029052734','2016-08-26 16:02:21'),(25036,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00026702880859375','2016-08-26 16:02:21'),(25037,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00024199485778809','2016-08-26 16:02:21'),(25038,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00041317939758301','2016-08-26 16:02:33'),(25039,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00029802322387695','2016-08-26 16:02:33'),(25040,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00024294853210449','2016-08-26 16:02:33'),(25041,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00022006034851074','2016-08-26 16:02:33'),(25042,20,18,'192.168.1.203','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'20\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00031089782714844','2016-08-26 16:02:33'),(25043,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00026893615722656','2016-08-26 16:02:33'),(25044,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00021696090698242','2016-08-26 16:02:33'),(25045,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.19129109382629','2016-08-26 16:02:35'),(25046,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0007331371307373','2016-08-26 16:02:35'),(25047,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00059795379638672','2016-08-26 16:02:35'),(25048,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00058603286743164','2016-08-26 16:02:35'),(25049,20,18,'192.168.1.203','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.00091409683227539','2016-08-26 16:02:35'),(25050,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00025796890258789','2016-08-26 16:02:35'),(25051,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0002129077911377','2016-08-26 16:02:35'),(25052,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.079759120941162','2016-08-26 16:02:42'),(25053,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0089449882507324','2016-08-26 16:02:42'),(25054,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00024700164794922','2016-08-26 16:02:42'),(25055,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00018501281738281','2016-08-26 16:02:42'),(25056,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0010011196136475','2016-08-26 16:06:04'),(25057,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','expenses/addNew','0.0004279613494873','2016-08-26 16:06:04'),(25058,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00022792816162109','2016-08-26 16:06:04'),(25059,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00018692016601562','2016-08-26 16:06:04'),(25060,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0011069774627686','2016-08-26 16:09:45'),(25061,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.001054048538208','2016-08-26 16:10:34'),(25062,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','expenses/addNew','0.00041913986206055','2016-08-26 16:10:34'),(25063,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00019216537475586','2016-08-26 16:10:34'),(25064,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00019693374633789','2016-08-26 16:10:34'),(25065,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00036501884460449','2016-08-26 16:11:43'),(25066,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00025200843811035','2016-08-26 16:11:43'),(25067,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00020194053649902','2016-08-26 16:11:43'),(25068,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00018501281738281','2016-08-26 16:11:43'),(25069,20,18,'192.168.1.203','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'20\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00027608871459961','2016-08-26 16:11:43'),(25070,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00021600723266602','2016-08-26 16:11:43'),(25071,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00018095970153809','2016-08-26 16:11:43'),(25072,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','sales/new_sale','0.00052499771118164','2016-08-26 16:11:47'),(25073,20,18,'192.168.1.203','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'20\'','sales/new_sale','0.00055408477783203','2016-08-26 16:11:47'),(25074,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.00023603439331055','2016-08-26 16:11:47'),(25075,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.00018405914306641','2016-08-26 16:11:47'),(25076,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00042605400085449','2016-08-26 16:11:52'),(25077,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00029897689819336','2016-08-26 16:11:52'),(25078,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00024604797363281','2016-08-26 16:11:52'),(25079,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00021910667419434','2016-08-26 16:11:52'),(25080,20,18,'192.168.1.203','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'20\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00032281875610352','2016-08-26 16:11:52'),(25081,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00023102760314941','2016-08-26 16:11:52'),(25082,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00021600723266602','2016-08-26 16:11:52'),(25083,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','sales/new_sale','0.00053811073303223','2016-08-26 16:11:56'),(25084,20,18,'192.168.1.203','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'20\'','sales/new_sale','0.00054192543029785','2016-08-26 16:11:56'),(25085,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.00020813941955566','2016-08-26 16:11:56'),(25086,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.0001838207244873','2016-08-26 16:11:56'),(25087,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','sales/new_sale','0.00053501129150391','2016-08-26 16:12:00'),(25088,20,18,'192.168.1.203','others','SELECT ID, acctCode, acctName\nFROM (`comp_chart_of_acct`)\nWHERE `acctGroupID` =  7\nAND `companyID` =  \'20\'','sales/new_sale','0.00056099891662598','2016-08-26 16:12:00'),(25089,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/new_sale','0.00024199485778809','2016-08-26 16:12:00'),(25090,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/new_sale','0.00018596649169922','2016-08-26 16:12:00'),(25091,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0007319450378418','2016-08-26 16:12:03'),(25092,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00060200691223145','2016-08-26 16:12:03'),(25093,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00055599212646484','2016-08-26 16:12:03'),(25094,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00053787231445312','2016-08-26 16:12:03'),(25095,20,18,'192.168.1.203','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.0011007785797119','2016-08-26 16:12:03'),(25096,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.0002131462097168','2016-08-26 16:12:03'),(25097,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00018215179443359','2016-08-26 16:12:03'),(25098,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00075411796569824','2016-08-26 16:12:07'),(25099,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00064992904663086','2016-08-26 16:12:08'),(25100,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00056195259094238','2016-08-26 16:12:08'),(25101,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00054717063903809','2016-08-26 16:12:08'),(25102,20,18,'192.168.1.203','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.00089406967163086','2016-08-26 16:12:08'),(25103,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00023388862609863','2016-08-26 16:12:08'),(25104,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.0001838207244873','2016-08-26 16:12:08'),(25105,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00074911117553711','2016-08-26 16:12:11'),(25106,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.0006401538848877','2016-08-26 16:12:11'),(25107,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00055885314941406','2016-08-26 16:12:11'),(25108,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-E\'','expenses/type','0.00054693222045898','2016-08-26 16:12:11'),(25109,20,18,'192.168.1.203','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-E\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.00090408325195312','2016-08-26 16:12:11'),(25110,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00024604797363281','2016-08-26 16:12:11'),(25111,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00018596649169922','2016-08-26 16:12:11'),(25112,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'10\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0015099048614502','2016-08-26 16:12:12'),(25113,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','expenses/addNew','0.00048112869262695','2016-08-26 16:12:12'),(25114,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00022387504577637','2016-08-26 16:12:12'),(25115,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00018501281738281','2016-08-26 16:12:12'),(25116,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.0003659725189209','2016-08-26 16:12:19'),(25117,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-22\'\nAND `receivePaymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00025105476379395','2016-08-26 16:12:20'),(25118,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00020289421081543','2016-08-26 16:12:20'),(25119,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','sales/saleslist','0.00018501281738281','2016-08-26 16:12:20'),(25120,20,18,'192.168.1.203','others','SELECT ID, date_format(receivePaymentDate, \'%d-%m-%Y\') as saleDate, CONCAT(formNo, \'[\', lpad(serialNo, 8, \'0\'), \']\') as formNo, totalReceived as grandTotal\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-01\'\nAND `receivePaymentDate` <= \'2016-08-31\'\nAND `companyID` =  \'20\'\nAND `formNo` =  \'OR\'\nORDER BY `receivePaymentDate`','sales/saleslist','0.00027894973754883','2016-08-26 16:12:20'),(25121,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','sales/saleslist','0.00022292137145996','2016-08-26 16:12:20'),(25122,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','sales/saleslist','0.00018191337585449','2016-08-26 16:12:20'),(25123,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00076103210449219','2016-08-26 16:12:24'),(25124,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00064516067504883','2016-08-26 16:12:24'),(25125,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00057315826416016','2016-08-26 16:12:24'),(25126,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00055813789367676','2016-08-26 16:12:24'),(25127,20,18,'192.168.1.203','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.00089788436889648','2016-08-26 16:12:24'),(25128,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00022697448730469','2016-08-26 16:12:24'),(25129,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00020003318786621','2016-08-26 16:12:24'),(25130,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00077009201049805','2016-08-26 16:12:27'),(25131,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00063300132751465','2016-08-26 16:12:27'),(25132,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00058197975158691','2016-08-26 16:12:27'),(25133,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00055789947509766','2016-08-26 16:12:27'),(25134,20,18,'192.168.1.203','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.00089311599731445','2016-08-26 16:12:27'),(25135,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00020003318786621','2016-08-26 16:12:27'),(25136,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00020194053649902','2016-08-26 16:12:27'),(25137,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` =  \'2016-08-26\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00070786476135254','2016-08-26 16:12:29'),(25138,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE `paymentDate` >= \'2016-08-22\'\nAND `paymentDate` <= \'2016-08-28\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.0005948543548584','2016-08-26 16:12:29'),(25139,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND month(paymentDate) =  \'08\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00056886672973633','2016-08-26 16:12:29'),(25140,20,18,'192.168.1.203','others','SELECT sum(amountPaid) as purchase\nFROM (`comp_payment_others`)\nWHERE year(paymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0\nAND `formNo` =  \'OP-C\'','expenses/type','0.00056314468383789','2016-08-26 16:12:29'),(25141,20,18,'192.168.1.203','others','SELECT `a`.*, `d`.`Id` jId, concat(a.formNo, \"[\", lpad(a.serialNo, 8, \"0\"), \"]\") as formNo, `b`.`fldcurr_code`, date_format(a.paymentDate, \"%d-%m-%Y\") as payDate, `c`.`bankName`\nFROM (`comp_payment_others` a)\nLEFT JOIN `comp_journal` d ON `d`.`journalID` = `a`.`journalNo` and d.companyId = a.companyId\nLEFT OUTER JOIN `_ref_currency` b ON `b`.`fldid` = `a`.`currencyID`\nLEFT JOIN `comp_bank` c ON `c`.`ID` = `a`.`bankId`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`paymentDate` >= \'2016-08-01\'\nAND `a`.`paymentDate` <= \'2016-08-31\'\nAND `a`.`otherPaymentType` =  1\nAND `a`.`formNo` =  \'OP-C\'\nAND `a`.`updateAble` =  0\nAND `a`.`is_delete` =  0\nORDER BY `a`.`paymentDate`','expenses/type','0.00088715553283691','2016-08-26 16:12:29'),(25142,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/type','0.00019001960754395','2016-08-26 16:12:29'),(25143,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/type','0.00020909309387207','2016-08-26 16:12:29'),(25144,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.0010900497436523','2016-08-26 16:12:31'),(25145,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','expenses/addNew','0.00043582916259766','2016-08-26 16:12:31'),(25146,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00020599365234375','2016-08-26 16:12:31'),(25147,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00020408630371094','2016-08-26 16:12:31'),(25148,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_chart_of_acct` a)\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`a`.`acctCode`\nWHERE `a`.`companyID` =  \'20\'\nAND `a`.`acctGroupID` =  \'8\'\nAND `a`.`is_delete` =  0','expenses/addNew','0.001068115234375','2016-08-26 16:12:35'),(25149,20,18,'192.168.1.203','others','SELECT `a`.*\nFROM (`comp_bank` a)\nLEFT JOIN `comp_chart_of_acct` c ON `c`.`ID`=`a`.`linkAccountID`\nLEFT JOIN `_ref_chart_of_acct` b ON `b`.`acctCode`=`c`.`acctCode`\nWHERE `a`.`is_delete` =  0\nAND `a`.`companyID` =  \'20\'\nAND `b`.`parentID` > 0','expenses/addNew','0.00048708915710449','2016-08-26 16:12:36'),(25150,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','expenses/addNew','0.00025105476379395','2016-08-26 16:12:36'),(25151,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','expenses/addNew','0.00023698806762695','2016-08-26 16:12:36'),(25152,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48931\'','expenses/fnSaveExpenses','0.038043975830078','2016-08-26 16:27:05'),(25153,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48932\'','expenses/fnSaveExpenses','0.033464908599854','2016-08-26 16:27:05'),(25154,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48933\'','expenses/fnSaveExpenses','0.011896848678589','2016-08-26 16:27:05'),(25155,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'48934\'','expenses/fnSaveExpenses','0.021169900894165','2016-08-26 16:27:05'),(25156,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11150\'','expenses/fnSaveExpenses','0.032883882522583','2016-08-26 16:27:05'),(25157,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'abcgdjhhgghh\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.040153980255127','2016-08-26 17:27:08'),(25158,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'abcgdjhhgghh\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.032989978790283','2016-08-26 17:27:08'),(25159,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'abcgdjhhgghh\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.00029087066650391','2016-08-26 17:27:20'),(25160,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'abcgdjhhgghh\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.00014114379882812','2016-08-26 17:27:20'),(25161,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.088456869125366','2016-08-26 17:27:41'),(25162,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.011770963668823','2016-08-26 17:27:41'),(25163,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.091402053833008','2016-08-26 17:49:47'),(25164,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.011981964111328','2016-08-26 17:49:47'),(25165,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.083065986633301','2016-08-26 17:51:20'),(25166,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.020870923995972','2016-08-26 17:51:20'),(25167,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'2\', \'OP-C\', \'2016-08-26\', \'84\', \'1\')','expenses/fnSaveExpenses','0.054571866989136','2016-08-26 19:20:07'),(25168,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2157, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'on\'','expenses/fnSaveExpenses','0.00021696090698242','2016-08-26 19:20:07'),(25169,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2157, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'on\'','expenses/fnSaveExpenses','0.00012707710266113','2016-08-26 19:20:07'),(25170,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.027740955352783','2016-08-26 19:20:07'),(25171,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000012\' WHERE `ID` =  2157','expenses/fnSaveExpenses','0.012517929077148','2016-08-26 19:20:07'),(25172,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000012\', \'Cost of Goods Sold [OP-C[00000629]]\', \'Cost of Goods Sold [OP-C[00000629]]\', \'\', \'3\', \'2016-08-26\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.12664008140564','2016-08-26 19:20:07'),(25173,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2157','expenses/fnSaveExpenses','0.020819902420044','2016-08-26 19:20:07'),(25174,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11225','expenses/fnSaveExpenses','0.01680588722229','2016-08-26 19:20:07'),(25175,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000012\'','expenses/fnSaveExpenses','0.020117998123169','2016-08-26 19:20:07'),(25176,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'3\', \'OP-C\', \'2016-08-26\', \'85\', \'1\')','expenses/fnSaveExpenses','0.095345020294189','2016-08-26 19:38:06'),(25177,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2158, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'0\'','expenses/fnSaveExpenses','0.00021004676818848','2016-08-26 19:38:06'),(25178,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2158, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'0\'','expenses/fnSaveExpenses','0.00010895729064941','2016-08-26 19:38:06'),(25179,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2158, `createdBy` = \'1\', `itemdescription` = \'Item 3\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'0\'','expenses/fnSaveExpenses','0.000095129013061523','2016-08-26 19:38:06'),(25180,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.017893075942993','2016-08-26 19:38:06'),(25181,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000013\' WHERE `ID` =  2158','expenses/fnSaveExpenses','0.012479066848755','2016-08-26 19:38:06'),(25182,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000013\', \'Cost of Goods Sold [OP-C[00000630]]\', \'Cost of Goods Sold [OP-C[00000630]]\', \'\', \'3\', \'2016-08-26\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.010066986083984','2016-08-26 19:38:06'),(25183,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2158','expenses/fnSaveExpenses','0.016535997390747','2016-08-26 19:38:06'),(25184,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11226','expenses/fnSaveExpenses','0.012753963470459','2016-08-26 19:38:06'),(25185,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000013\'','expenses/fnSaveExpenses','0.020102977752686','2016-08-26 19:38:06'),(25186,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, 1, \'68\', \'3\', \'OP-C\', \'2016-08-26\', \'85\', \'1\')','expenses/fnSaveExpenses','0.090008020401001','2016-08-26 19:39:05'),(25187,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2159, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016144990921021','2016-08-26 19:39:05'),(25188,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2159, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012369155883789','2016-08-26 19:39:05'),(25189,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2159, \'1\', \'Item 3\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012310981750488','2016-08-26 19:39:05'),(25190,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.010879993438721','2016-08-26 19:39:05'),(25191,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000014\' WHERE `ID` =  2159','expenses/fnSaveExpenses','0.012437105178833','2016-08-26 19:39:05'),(25192,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000014\', \'Cost of Goods Sold [OP-C[00000631]]\', \'Cost of Goods Sold [OP-C[00000631]]\', \'\', \'3\', \'2016-08-26\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.010140180587769','2016-08-26 19:39:05'),(25193,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000014\', 1, \'Item 1\', \'32518\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000631]\', \'User\')','expenses/fnSaveExpenses','0.02065110206604','2016-08-26 19:39:05'),(25194,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000014\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000631]\', \'User\')','expenses/fnSaveExpenses','0.012132883071899','2016-08-26 19:39:05'),(25195,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000014\', 3, \'Item 2\', \'32518\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000631]\', \'User\')','expenses/fnSaveExpenses','0.012602806091309','2016-08-26 19:39:05'),(25196,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000014\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000631]\', \'User\')','expenses/fnSaveExpenses','0.13314700126648','2016-08-26 19:39:05'),(25197,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000014\', 5, \'Item 3\', \'32518\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000631]\', \'User\')','expenses/fnSaveExpenses','0.011842012405396','2016-08-26 19:39:05'),(25198,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000014\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000631]\', \'User\')','expenses/fnSaveExpenses','0.012638092041016','2016-08-26 19:39:05'),(25199,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000014\'','expenses/fnSaveExpenses','0.011940956115723','2016-08-26 19:39:05'),(25200,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2159','expenses/fnSaveExpenses','0.021106004714966','2016-08-26 19:39:05'),(25201,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11227','expenses/fnSaveExpenses','0.011953830718994','2016-08-26 19:39:05'),(25202,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000014\'','expenses/fnSaveExpenses','0.012727975845337','2016-08-26 19:39:05'),(25203,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01416802406311','2016-08-26 19:39:05'),(25204,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.020036935806274','2016-08-26 19:39:05'),(25205,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011889934539795','2016-08-26 19:39:05'),(25206,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016248941421509','2016-08-26 19:39:05'),(25207,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011399030685425','2016-08-26 19:39:05'),(25208,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01216721534729','2016-08-26 19:39:05'),(25209,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.00028300285339355','2016-08-26 20:29:19'),(25210,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.00084686279296875','2016-08-26 20:29:19'),(25211,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'hai\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.088869094848633','2016-08-26 20:29:26'),(25212,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'hai\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.012201070785522','2016-08-26 20:29:26'),(25213,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.079130887985229','2016-08-26 20:29:35'),(25214,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'7.png\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.020331859588623','2016-08-26 20:29:35'),(25215,1,1,'192.168.1.192','update','UPDATE `company` SET `uploadLogo` = \'1.JPG\' WHERE `ID` =  \'1\'','setup/companySetup','0.089577198028564','2016-08-26 20:33:08'),(25216,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.00029397010803223','2016-08-26 20:33:08'),(25217,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.017575025558472','2016-08-26 20:33:08'),(25218,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'148\', \'1\')','expenses/fnSaveExpenses','0.021271944046021','2016-08-29 09:15:09'),(25219,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2160, \'28\', \'29082016\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012656211853027','2016-08-29 09:15:09'),(25220,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 64 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.028553009033203','2016-08-29 09:15:09'),(25221,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000064\' WHERE `ID` =  2160','expenses/fnSaveExpenses','0.029239892959595','2016-08-29 09:15:09'),(25222,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000064\', \'Cost of Goods Sold [OP-C[00000055]]\', \'Cost of Goods Sold [OP-C[00000055]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.0099461078643799','2016-08-29 09:15:09'),(25223,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000064\', 1, \'29082016\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000055]\', \'User\')','expenses/fnSaveExpenses','0.012443065643311','2016-08-29 09:15:09'),(25224,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000064\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000055]\', \'User\')','expenses/fnSaveExpenses','0.012037038803101','2016-08-29 09:15:09'),(25225,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000064\'','expenses/fnSaveExpenses','0.012569904327393','2016-08-29 09:15:09'),(25226,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2160','expenses/fnSaveExpenses','0.020488023757935','2016-08-29 09:15:09'),(25227,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11229','expenses/fnSaveExpenses','0.012608051300049','2016-08-29 09:15:09'),(25228,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000064\'','expenses/fnSaveExpenses','0.012104988098145','2016-08-29 09:15:09'),(25229,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01161789894104','2016-08-29 09:15:09'),(25230,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.019950151443481','2016-08-29 09:15:09'),(25231,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2160\'','expenses/removePayment','0.086068868637085','2016-08-29 09:15:19'),(25232,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'148\', \'1\')','expenses/fnSaveExpenses','0.025821924209595','2016-08-29 09:18:21'),(25233,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2161, \'28\', \'29082016\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.028791904449463','2016-08-29 09:18:22'),(25234,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 65 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.043986082077026','2016-08-29 09:18:22'),(25235,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000065\' WHERE `ID` =  2161','expenses/fnSaveExpenses','0.0084319114685059','2016-08-29 09:18:22'),(25236,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000065\', \'Cost of Goods Sold [OP-C[00000056]]\', \'Cost of Goods Sold [OP-C[00000056]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.010189056396484','2016-08-29 09:18:22'),(25237,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000065\', 1, \'29082016\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000056]\', \'User\')','expenses/fnSaveExpenses','0.012158155441284','2016-08-29 09:18:22'),(25238,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000065\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000056]\', \'User\')','expenses/fnSaveExpenses','0.012328147888184','2016-08-29 09:18:22'),(25239,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000065\'','expenses/fnSaveExpenses','0.012248039245605','2016-08-29 09:18:22'),(25240,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2161','expenses/fnSaveExpenses','0.0079259872436523','2016-08-29 09:18:22'),(25241,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11232','expenses/fnSaveExpenses','0.0085000991821289','2016-08-29 09:18:22'),(25242,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000065\'','expenses/fnSaveExpenses','0.012379169464111','2016-08-29 09:18:22'),(25243,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010205984115601','2016-08-29 09:18:22'),(25244,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011811017990112','2016-08-29 09:18:22'),(25245,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2161\'','expenses/removePayment','0.0092380046844482','2016-08-29 09:18:39'),(25246,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1958\'','expenses/removePayment','0.086715936660767','2016-08-29 09:23:37'),(25247,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2145\'','expenses/removePayment','0.079046010971069','2016-08-29 09:24:02'),(25248,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2002\'','expenses/removePayment','0.090211868286133','2016-08-29 09:24:32'),(25249,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-29\', \'123\', \'120\', \'LR\', \'Bank Rakyat	\', \'13\', 3)','loanReceive/save_new_loan','0.10596990585327','2016-08-29 09:24:57'),(25250,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2227, 1, \'32767\', \'120\', \'kikikikiki\')','loanReceive/save_new_loan','0.0078568458557129','2016-08-29 09:24:57'),(25251,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'297\'','loanReceive/save_new_loan','0.022361040115356','2016-08-29 09:24:57'),(25252,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000021\' WHERE `ID` =  2227','loanReceive/save_new_loan','0.012603044509888','2016-08-29 09:24:57'),(25253,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000021\', \'LR[00000031]\', \'Loan Received [ LR[00000031] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 120, 120, \'User\')','loanReceive/save_new_loan','0.014455080032349','2016-08-29 09:24:57'),(25254,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000021\', 1, \'kikikikiki\', \'32767\', \'Bank Rakyat	\', 120, \'1\', \'1\', \'120\', \'08\', \'2016\', \'1\', \'LR[00000031]\', \'0\', \'User\')','loanReceive/save_new_loan','0.13637614250183','2016-08-29 09:24:57'),(25255,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000021\', \'kikikikiki\', \'32762\', \'Bank Rakyat	\', 120, \'1\', \'1\', \'120\', \'08\', \'2016\', \'LR[00000031]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.0083050727844238','2016-08-29 09:24:57'),(25256,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000021\'','loanReceive/save_new_loan','0.016189813613892','2016-08-29 09:24:57'),(25257,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2227','loanReceive/save_new_loan','0.0084888935089111','2016-08-29 09:24:57'),(25258,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11233','loanReceive/save_new_loan','0.016258955001831','2016-08-29 09:24:57'),(25259,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000021\'','loanReceive/save_new_loan','0.012902975082397','2016-08-29 09:24:57'),(25260,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.027158975601196','2016-08-29 09:24:57'),(25261,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015573978424072','2016-08-29 09:24:57'),(25262,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'123\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'1220.00\', `updateAble` = 1 WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.030379056930542','2016-08-29 09:25:21'),(25263,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'1220.00\', `description` = \'kikikikiki\' WHERE `ID` =  \'1908\'','loanReceive/update_loan','0.011728048324585','2016-08-29 09:25:21'),(25264,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000021\'','loanReceive/update_loan','0.01680588722229','2016-08-29 09:25:21'),(25265,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000021\'','loanReceive/update_loan','0.012650966644287','2016-08-29 09:25:21'),(25266,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.0099430084228516','2016-08-29 09:25:21'),(25267,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000022\' WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.011780023574829','2016-08-29 09:25:21'),(25268,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000022\', \'LR[00000031]\', \'Loan Received [ LR[00000031] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 1220, 1220, \'User\')','loanReceive/update_loan','0.010648012161255','2016-08-29 09:25:21'),(25269,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000022\', 1, \'kikikikiki\', \'32767\', \'Bank Rakyat	\', 1220, \'1\', \'1\', \'1220\', \'08\', \'2016\', \'1\', \'LR[00000031]\', \'0\', \'User\')','loanReceive/update_loan','0.011650800704956','2016-08-29 09:25:21'),(25270,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000022\', \'kikikikiki\', \'32762\', \'Bank Rakyat	\', 1220, \'1\', \'1\', \'1220\', \'08\', \'2016\', \'LR[00000031]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.0083341598510742','2016-08-29 09:25:21'),(25271,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1220, `total_amount_cr` = 1220, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000022\'','loanReceive/update_loan','0.012576103210449','2016-08-29 09:25:21'),(25272,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.012109994888306','2016-08-29 09:25:21'),(25273,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11234','loanReceive/update_loan','0.1292679309845','2016-08-29 09:25:21'),(25274,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000022\'','loanReceive/update_loan','0.012025833129883','2016-08-29 09:25:21'),(25275,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.011559963226318','2016-08-29 09:25:21'),(25276,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.011393070220947','2016-08-29 09:25:21'),(25277,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, 1, \'68\', \'29\', \'OP-C\', \'2016-08-12\', \'122\', \'1\')','expenses/fnSaveExpenses','0.063207864761353','2016-08-29 09:33:49'),(25278,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2162, `createdBy` = \'10\', `itemdescription` = \'Ahfat18\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'29\', `amountExcludedTax` = \'29\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1932\'','expenses/fnSaveExpenses','0.012693881988525','2016-08-29 09:33:49'),(25279,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'282\'','expenses/fnSaveExpenses','0.028739929199219','2016-08-29 09:33:49'),(25280,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000039\' WHERE `ID` =  2162','expenses/fnSaveExpenses','0.016500949859619','2016-08-29 09:33:49'),(25281,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000039\', \'Cost of Goods Sold [OP-C[00000077]]\', \'Cost of Goods Sold [OP-C[00000077]]\', \'\', \'3\', \'2016-08-12\', \'16\', \'08\', 29, 29, \'10\')','expenses/fnSaveExpenses','0.014263868331909','2016-08-29 09:33:49'),(25282,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000039\', 1, \'Ahfat18\', \'32761\', 29, 1, \'1\', \'29\', \'08\', \'16\', \'1\', \'OP-C[00000077]\', \'User\')','expenses/fnSaveExpenses','0.01154899597168','2016-08-29 09:33:50'),(25283,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000039\', 2, \'Ahfat18\', \'32773\', 29, 1, \'1\', \'29\', \'08\', \'16\', \'1\', \'OP-C[00000077]\', \'User\')','expenses/fnSaveExpenses','0.008368968963623','2016-08-29 09:33:50'),(25284,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 29, `total_amount_cr` = 29, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000039\'','expenses/fnSaveExpenses','0.021052122116089','2016-08-29 09:33:50'),(25285,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2162','expenses/fnSaveExpenses','0.02867579460144','2016-08-29 09:33:50'),(25286,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11235','expenses/fnSaveExpenses','0.016235113143921','2016-08-29 09:33:50'),(25287,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000039\'','expenses/fnSaveExpenses','0.025063991546631','2016-08-29 09:33:50'),(25288,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018948078155518','2016-08-29 09:33:50'),(25289,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.019733190536499','2016-08-29 09:33:50'),(25290,23,28,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-29\', \'149\', \'23\', \'TT\', \'148\', \'23\', 3)','transfer/newTransfer','0.1250638961792','2016-08-29 10:05:29'),(25291,23,28,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2163, \'33007\', \'23\', \'\')','transfer/newTransfer','0.011453151702881','2016-08-29 10:05:29'),(25292,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  \'314\'','transfer/newTransfer','0.020517110824585','2016-08-29 10:05:29'),(25293,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000066\' WHERE `ID` =  2163','transfer/newTransfer','0.011558055877686','2016-08-29 10:05:29'),(25294,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000066\', \' [TT[00000057]]]\', \'Bank Transfer [  [TT[00000057]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 23, 23, \'User\')','transfer/newTransfer','0.010955810546875','2016-08-29 10:05:29'),(25295,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000066\', 1, \'\', \'33008\', 23, 1, \'1\', \'23\', \'08\', \'2016\', \'0\', \'TT[00000057]\', \'User\')','transfer/newTransfer','0.011436939239502','2016-08-29 10:05:29'),(25296,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000066\', 2, \'\', \'33007\', 23, 1, \'1\', \'23\', \'08\', \'2016\', \'0\', \'TT[00000057]\', \'User\')','transfer/newTransfer','0.0083649158477783','2016-08-29 10:05:29'),(25297,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000066\'','transfer/newTransfer','0.016221046447754','2016-08-29 10:05:29'),(25298,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2163','transfer/newTransfer','0.0085060596466064','2016-08-29 10:05:29'),(25299,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11236','transfer/newTransfer','0.0079100131988525','2016-08-29 10:05:29'),(25300,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000066\'','transfer/newTransfer','0.0084810256958008','2016-08-29 10:05:29'),(25301,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.019177913665771','2016-08-29 10:05:29'),(25302,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.011276006698608','2016-08-29 10:05:29'),(25303,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'120\', \'OP-C\', \'2016-08-29\', \'148\', \'1\')','expenses/fnSaveExpenses','0.043309926986694','2016-08-29 10:33:39'),(25304,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033136129379272','2016-08-29 10:33:39'),(25305,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'2\', \'2\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016506910324097','2016-08-29 10:33:39'),(25306,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'3\', \'3\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011137962341309','2016-08-29 10:33:39'),(25307,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'4\', \'4\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016840934753418','2016-08-29 10:33:39'),(25308,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'5\', \'5\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078849792480469','2016-08-29 10:33:39'),(25309,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'6\', \'6\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084800720214844','2016-08-29 10:33:39'),(25310,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'7\', \'7\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078768730163574','2016-08-29 10:33:39'),(25311,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'8\', \'8\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.00850510597229','2016-08-29 10:33:39'),(25312,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'9\', \'9\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.007871150970459','2016-08-29 10:33:39'),(25313,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084960460662842','2016-08-29 10:33:39'),(25314,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'11\', \'11\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0079019069671631','2016-08-29 10:33:39'),(25315,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'12\', \'12\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084800720214844','2016-08-29 10:33:39'),(25316,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'13\', \'13\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.021589994430542','2016-08-29 10:33:39'),(25317,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'14\', \'14\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011470079421997','2016-08-29 10:33:39'),(25318,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2164, \'28\', \'harini\', 1, \'33019\', \'15\', \'15\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078771114349365','2016-08-29 10:33:39'),(25319,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.030755043029785','2016-08-29 10:33:39'),(25320,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000067\' WHERE `ID` =  2164','expenses/fnSaveExpenses','0.013120174407959','2016-08-29 10:33:39'),(25321,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', \'Cost of Goods Sold [OP-C[00000058]]\', \'Cost of Goods Sold [OP-C[00000058]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 120, 120, \'28\')','expenses/fnSaveExpenses','0.017773866653442','2016-08-29 10:33:39'),(25322,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 1, \'harini\', \'33007\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.021347999572754','2016-08-29 10:33:39'),(25323,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 2, \'harini\', \'33019\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.011468172073364','2016-08-29 10:33:39'),(25324,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 3, \'harini\', \'33007\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0077860355377197','2016-08-29 10:33:39'),(25325,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 4, \'harini\', \'33019\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083959102630615','2016-08-29 10:33:39'),(25326,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 5, \'harini\', \'33007\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0078070163726807','2016-08-29 10:33:39'),(25327,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 6, \'harini\', \'33019\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.01672101020813','2016-08-29 10:33:39'),(25328,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 7, \'harini\', \'33007\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.016119003295898','2016-08-29 10:33:39'),(25329,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 8, \'harini\', \'33019\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083878040313721','2016-08-29 10:33:39'),(25330,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 9, \'harini\', \'33007\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0078408718109131','2016-08-29 10:33:39'),(25331,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 10, \'harini\', \'33019\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083608627319336','2016-08-29 10:33:39'),(25332,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 11, \'harini\', \'33007\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0077929496765137','2016-08-29 10:33:39'),(25333,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 12, \'harini\', \'33019\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083880424499512','2016-08-29 10:33:39'),(25334,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 13, \'harini\', \'33007\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0077850818634033','2016-08-29 10:33:39'),(25335,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 14, \'harini\', \'33019\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083739757537842','2016-08-29 10:33:39'),(25336,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 15, \'harini\', \'33007\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0078208446502686','2016-08-29 10:33:39'),(25337,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 16, \'harini\', \'33019\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.016700983047485','2016-08-29 10:33:39'),(25338,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 17, \'harini\', \'33007\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0077989101409912','2016-08-29 10:33:39'),(25339,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 18, \'harini\', \'33019\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083780288696289','2016-08-29 10:33:39'),(25340,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 19, \'harini\', \'33007\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0078179836273193','2016-08-29 10:33:39'),(25341,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 20, \'harini\', \'33019\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083589553833008','2016-08-29 10:33:39'),(25342,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 21, \'harini\', \'33007\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0077910423278809','2016-08-29 10:33:39'),(25343,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 22, \'harini\', \'33019\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.00838303565979','2016-08-29 10:33:39'),(25344,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 23, \'harini\', \'33007\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0077900886535645','2016-08-29 10:33:39'),(25345,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 24, \'harini\', \'33019\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083730220794678','2016-08-29 10:33:39'),(25346,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 25, \'harini\', \'33007\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0077979564666748','2016-08-29 10:33:39'),(25347,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 26, \'harini\', \'33019\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083811283111572','2016-08-29 10:33:39'),(25348,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 27, \'harini\', \'33007\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0077869892120361','2016-08-29 10:33:39'),(25349,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 28, \'harini\', \'33019\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083792209625244','2016-08-29 10:33:39'),(25350,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 29, \'harini\', \'33007\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0078089237213135','2016-08-29 10:33:39'),(25351,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000067\', 30, \'harini\', \'33019\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000058]\', \'User\')','expenses/fnSaveExpenses','0.0083949565887451','2016-08-29 10:33:39'),(25352,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000067\'','expenses/fnSaveExpenses','0.007857084274292','2016-08-29 10:33:39'),(25353,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2164','expenses/fnSaveExpenses','0.0085020065307617','2016-08-29 10:33:39'),(25354,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11237','expenses/fnSaveExpenses','0.016228914260864','2016-08-29 10:33:39'),(25355,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000067\'','expenses/fnSaveExpenses','0.013457059860229','2016-08-29 10:33:39'),(25356,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0096549987792969','2016-08-29 10:33:39'),(25357,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024576187133789','2016-08-29 10:33:39'),(25358,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015578031539917','2016-08-29 10:33:39'),(25359,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01288104057312','2016-08-29 10:33:39'),(25360,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01066517829895','2016-08-29 10:33:39'),(25361,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016237020492554','2016-08-29 10:33:39'),(25362,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023965120315552','2016-08-29 10:33:39'),(25363,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079019069671631','2016-08-29 10:33:39'),(25364,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012566089630127','2016-08-29 10:33:39'),(25365,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.019304037094116','2016-08-29 10:33:39'),(25366,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012564182281494','2016-08-29 10:33:39'),(25367,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010973930358887','2016-08-29 10:33:39'),(25368,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015629053115845','2016-08-29 10:33:39'),(25369,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079250335693359','2016-08-29 10:33:39'),(25370,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0073421001434326','2016-08-29 10:33:39'),(25371,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0078818798065186','2016-08-29 10:33:39'),(25372,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012557983398438','2016-08-29 10:33:39'),(25373,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010945081710815','2016-08-29 10:33:39'),(25374,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012578964233398','2016-08-29 10:33:39'),(25375,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010978937149048','2016-08-29 10:33:39'),(25376,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012563943862915','2016-08-29 10:33:40'),(25377,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010683059692383','2016-08-29 10:33:40'),(25378,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012869834899902','2016-08-29 10:33:40'),(25379,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01592493057251','2016-08-29 10:33:40'),(25380,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010339975357056','2016-08-29 10:33:40'),(25381,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0078938007354736','2016-08-29 10:33:40'),(25382,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0073039531707764','2016-08-29 10:33:40'),(25383,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0078971385955811','2016-08-29 10:33:40'),(25384,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0073080062866211','2016-08-29 10:33:40'),(25385,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016273021697998','2016-08-29 10:33:40'),(25386,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'120\', \'OP-C\', \'2016-08-29\', \'148\', \'1\')','expenses/fnSaveExpenses','0.046267986297607','2016-08-29 10:34:14'),(25387,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2128\'','expenses/fnSaveExpenses','0.0083181858062744','2016-08-29 10:34:14'),(25388,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'2\', `amountExcludedTax` = \'2\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2129\'','expenses/fnSaveExpenses','0.024469137191772','2016-08-29 10:34:14'),(25389,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'3\', `amountExcludedTax` = \'3\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2130\'','expenses/fnSaveExpenses','0.0083780288696289','2016-08-29 10:34:14'),(25390,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'4\', `amountExcludedTax` = \'4\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2131\'','expenses/fnSaveExpenses','0.016148090362549','2016-08-29 10:34:14'),(25391,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'5\', `amountExcludedTax` = \'5\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2132\'','expenses/fnSaveExpenses','0.0083611011505127','2016-08-29 10:34:14'),(25392,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'6\', `amountExcludedTax` = \'6\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2133\'','expenses/fnSaveExpenses','0.016135931015015','2016-08-29 10:34:15'),(25393,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'7\', `amountExcludedTax` = \'7\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2134\'','expenses/fnSaveExpenses','0.0084149837493896','2016-08-29 10:34:15'),(25394,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'8\', `amountExcludedTax` = \'8\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2135\'','expenses/fnSaveExpenses','0.013627052307129','2016-08-29 10:34:15'),(25395,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'9\', `amountExcludedTax` = \'9\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2136\'','expenses/fnSaveExpenses','0.010880947113037','2016-08-29 10:34:15'),(25396,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2137\'','expenses/fnSaveExpenses','0.024468898773193','2016-08-29 10:34:15'),(25397,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'11\', `amountExcludedTax` = \'11\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2138\'','expenses/fnSaveExpenses','0.008389949798584','2016-08-29 10:34:15'),(25398,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'12\', `amountExcludedTax` = \'12\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2139\'','expenses/fnSaveExpenses','0.013633012771606','2016-08-29 10:34:15'),(25399,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'13\', `amountExcludedTax` = \'13\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2140\'','expenses/fnSaveExpenses','0.010905027389526','2016-08-29 10:34:15'),(25400,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'14\', `amountExcludedTax` = \'14\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2141\'','expenses/fnSaveExpenses','0.016134023666382','2016-08-29 10:34:15'),(25401,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2165, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'15\', `amountExcludedTax` = \'15\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2142\'','expenses/fnSaveExpenses','0.0083780288696289','2016-08-29 10:34:15'),(25402,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 68 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.022316932678223','2016-08-29 10:34:15'),(25403,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000068\' WHERE `ID` =  2165','expenses/fnSaveExpenses','0.0084748268127441','2016-08-29 10:34:15'),(25404,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', \'Cost of Goods Sold [OP-C[00000059]]\', \'Cost of Goods Sold [OP-C[00000059]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 120, 120, \'28\')','expenses/fnSaveExpenses','0.011380910873413','2016-08-29 10:34:15'),(25405,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 1, \'harini\', \'33007\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.010942935943604','2016-08-29 10:34:15'),(25406,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 2, \'harini\', \'33019\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0078048706054688','2016-08-29 10:34:15'),(25407,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 3, \'harini\', \'33007\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083911418914795','2016-08-29 10:34:15'),(25408,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 4, \'harini\', \'33019\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0077910423278809','2016-08-29 10:34:15'),(25409,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 5, \'harini\', \'33007\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.008397102355957','2016-08-29 10:34:15'),(25410,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 6, \'harini\', \'33019\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.024478912353516','2016-08-29 10:34:15'),(25411,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 7, \'harini\', \'33007\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083720684051514','2016-08-29 10:34:15'),(25412,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 8, \'harini\', \'33019\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.007796049118042','2016-08-29 10:34:15'),(25413,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 9, \'harini\', \'33007\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083799362182617','2016-08-29 10:34:15'),(25414,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 10, \'harini\', \'33019\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.021887063980103','2016-08-29 10:34:15'),(25415,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 11, \'harini\', \'33007\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.010974884033203','2016-08-29 10:34:15'),(25416,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 12, \'harini\', \'33019\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0078210830688477','2016-08-29 10:34:15'),(25417,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 13, \'harini\', \'33007\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083801746368408','2016-08-29 10:34:15'),(25418,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 14, \'harini\', \'33019\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.013521194458008','2016-08-29 10:34:15'),(25419,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 15, \'harini\', \'33007\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.011000871658325','2016-08-29 10:34:15'),(25420,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 16, \'harini\', \'33019\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0078039169311523','2016-08-29 10:34:15'),(25421,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 17, \'harini\', \'33007\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083811283111572','2016-08-29 10:34:15'),(25422,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 18, \'harini\', \'33019\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0078060626983643','2016-08-29 10:34:15'),(25423,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 19, \'harini\', \'33007\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083861351013184','2016-08-29 10:34:15'),(25424,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 20, \'harini\', \'33019\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.007803201675415','2016-08-29 10:34:15'),(25425,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 21, \'harini\', \'33007\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083880424499512','2016-08-29 10:34:15'),(25426,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 22, \'harini\', \'33019\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.024488925933838','2016-08-29 10:34:15'),(25427,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 23, \'harini\', \'33007\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083920955657959','2016-08-29 10:34:15'),(25428,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 24, \'harini\', \'33019\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0077931880950928','2016-08-29 10:34:15'),(25429,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 25, \'harini\', \'33007\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083968639373779','2016-08-29 10:34:15'),(25430,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 26, \'harini\', \'33019\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0077989101409912','2016-08-29 10:34:15'),(25431,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 27, \'harini\', \'33007\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0083880424499512','2016-08-29 10:34:15'),(25432,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 28, \'harini\', \'33019\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0078020095825195','2016-08-29 10:34:15'),(25433,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 29, \'harini\', \'33007\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.00838303565979','2016-08-29 10:34:15'),(25434,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000068\', 30, \'harini\', \'33019\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000059]\', \'User\')','expenses/fnSaveExpenses','0.0078210830688477','2016-08-29 10:34:15'),(25435,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000068\'','expenses/fnSaveExpenses','0.0084700584411621','2016-08-29 10:34:15'),(25436,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2165','expenses/fnSaveExpenses','0.0079159736633301','2016-08-29 10:34:15'),(25437,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11238','expenses/fnSaveExpenses','0.0084950923919678','2016-08-29 10:34:15'),(25438,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000068\'','expenses/fnSaveExpenses','0.013652801513672','2016-08-29 10:34:15'),(25439,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016165971755981','2016-08-29 10:34:15'),(25440,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024029970169067','2016-08-29 10:34:15'),(25441,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.02420711517334','2016-08-29 10:34:15'),(25442,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016201972961426','2016-08-29 10:34:15'),(25443,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024035930633545','2016-08-29 10:34:15'),(25444,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015866994857788','2016-08-29 10:34:15'),(25445,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015949010848999','2016-08-29 10:34:15'),(25446,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015945911407471','2016-08-29 10:34:15'),(25447,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01609992980957','2016-08-29 10:34:15'),(25448,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015972137451172','2016-08-29 10:34:15'),(25449,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015941858291626','2016-08-29 10:34:16'),(25450,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015949010848999','2016-08-29 10:34:16'),(25451,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015974044799805','2016-08-29 10:34:16'),(25452,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015957832336426','2016-08-29 10:34:16'),(25453,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.021675109863281','2016-08-29 10:34:16'),(25454,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.026849031448364','2016-08-29 10:34:16'),(25455,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.029920816421509','2016-08-29 10:34:16'),(25456,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018213987350464','2016-08-29 10:34:16'),(25457,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079619884490967','2016-08-29 10:34:16'),(25458,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015587091445923','2016-08-29 10:34:16'),(25459,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079550743103027','2016-08-29 10:34:16'),(25460,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015698194503784','2016-08-29 10:34:16'),(25461,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079340934753418','2016-08-29 10:34:16'),(25462,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015704154968262','2016-08-29 10:34:16'),(25463,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0078208446502686','2016-08-29 10:34:16'),(25464,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015629053115845','2016-08-29 10:34:16'),(25465,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079481601715088','2016-08-29 10:34:16'),(25466,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.02399206161499','2016-08-29 10:34:16'),(25467,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079419612884521','2016-08-29 10:34:16'),(25468,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015707015991211','2016-08-29 10:34:16'),(25469,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'120\', \'OP-C\', \'2016-08-29\', \'148\', \'1\')','expenses/fnSaveExpenses','0.063172817230225','2016-08-29 10:35:10'),(25470,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2128\'','expenses/fnSaveExpenses','0.016080141067505','2016-08-29 10:35:10'),(25471,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'2\', `amountExcludedTax` = \'2\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2129\'','expenses/fnSaveExpenses','0.01672101020813','2016-08-29 10:35:10'),(25472,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'3\', `amountExcludedTax` = \'3\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2130\'','expenses/fnSaveExpenses','0.016106843948364','2016-08-29 10:35:10'),(25473,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'4\', `amountExcludedTax` = \'4\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2131\'','expenses/fnSaveExpenses','0.016726016998291','2016-08-29 10:35:10'),(25474,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'5\', `amountExcludedTax` = \'5\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2132\'','expenses/fnSaveExpenses','0.024458169937134','2016-08-29 10:35:10'),(25475,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'6\', `amountExcludedTax` = \'6\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2133\'','expenses/fnSaveExpenses','0.01670503616333','2016-08-29 10:35:10'),(25476,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'7\', `amountExcludedTax` = \'7\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2134\'','expenses/fnSaveExpenses','0.016123056411743','2016-08-29 10:35:10'),(25477,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'8\', `amountExcludedTax` = \'8\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2135\'','expenses/fnSaveExpenses','0.016735076904297','2016-08-29 10:35:10'),(25478,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'9\', `amountExcludedTax` = \'9\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2136\'','expenses/fnSaveExpenses','0.014408111572266','2016-08-29 10:35:10'),(25479,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2137\'','expenses/fnSaveExpenses','0.018409013748169','2016-08-29 10:35:10'),(25480,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'11\', `amountExcludedTax` = \'11\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2138\'','expenses/fnSaveExpenses','0.016118049621582','2016-08-29 10:35:10'),(25481,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'12\', `amountExcludedTax` = \'12\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2139\'','expenses/fnSaveExpenses','0.016730070114136','2016-08-29 10:35:10'),(25482,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'13\', `amountExcludedTax` = \'13\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2140\'','expenses/fnSaveExpenses','0.024453163146973','2016-08-29 10:35:10'),(25483,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'14\', `amountExcludedTax` = \'14\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2141\'','expenses/fnSaveExpenses','0.01672101020813','2016-08-29 10:35:10'),(25484,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2166, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'15\', `amountExcludedTax` = \'15\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2142\'','expenses/fnSaveExpenses','0.016122102737427','2016-08-29 10:35:10'),(25485,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 69 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.023514032363892','2016-08-29 10:35:10'),(25486,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000069\' WHERE `ID` =  2166','expenses/fnSaveExpenses','0.016218900680542','2016-08-29 10:35:10'),(25487,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', \'Cost of Goods Sold [OP-C[00000060]]\', \'Cost of Goods Sold [OP-C[00000060]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 120, 120, \'28\')','expenses/fnSaveExpenses','0.022871971130371','2016-08-29 10:35:10'),(25488,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 1, \'harini\', \'33007\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016100883483887','2016-08-29 10:35:10'),(25489,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 2, \'harini\', \'33019\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016685009002686','2016-08-29 10:35:10'),(25490,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 3, \'harini\', \'33007\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016108989715576','2016-08-29 10:35:10'),(25491,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 4, \'harini\', \'33019\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016705989837646','2016-08-29 10:35:10'),(25492,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 5, \'harini\', \'33007\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016124963760376','2016-08-29 10:35:10'),(25493,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 6, \'harini\', \'33019\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.014605045318604','2016-08-29 10:35:10'),(25494,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 7, \'harini\', \'33007\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.018209934234619','2016-08-29 10:35:10'),(25495,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 8, \'harini\', \'33019\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016714811325073','2016-08-29 10:35:10'),(25496,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 9, \'harini\', \'33007\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016112089157104','2016-08-29 10:35:10'),(25497,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 10, \'harini\', \'33019\', 5, 1, \'1\', \'5\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016707181930542','2016-08-29 10:35:10'),(25498,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 11, \'harini\', \'33007\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016148090362549','2016-08-29 10:35:10'),(25499,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 12, \'harini\', \'33019\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016706943511963','2016-08-29 10:35:10'),(25500,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 13, \'harini\', \'33007\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016119956970215','2016-08-29 10:35:10'),(25501,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 14, \'harini\', \'33019\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016716003417969','2016-08-29 10:35:10'),(25502,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 15, \'harini\', \'33007\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016113042831421','2016-08-29 10:35:10'),(25503,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 16, \'harini\', \'33019\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016719102859497','2016-08-29 10:35:10'),(25504,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 17, \'harini\', \'33007\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.024459838867188','2016-08-29 10:35:10'),(25505,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 18, \'harini\', \'33019\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.014627933502197','2016-08-29 10:35:10'),(25506,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 19, \'harini\', \'33007\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.093517065048218','2016-08-29 10:35:10'),(25507,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 20, \'harini\', \'33019\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016118049621582','2016-08-29 10:35:10'),(25508,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 21, \'harini\', \'33007\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016696929931641','2016-08-29 10:35:10'),(25509,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 22, \'harini\', \'33019\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016114950180054','2016-08-29 10:35:10'),(25510,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 23, \'harini\', \'33007\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016723871231079','2016-08-29 10:35:10'),(25511,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 24, \'harini\', \'33019\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016104936599731','2016-08-29 10:35:10'),(25512,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 25, \'harini\', \'33007\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016721963882446','2016-08-29 10:35:10'),(25513,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 26, \'harini\', \'33019\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.032783985137939','2016-08-29 10:35:10'),(25514,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 27, \'harini\', \'33007\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.12868309020996','2016-08-29 10:35:10'),(25515,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 28, \'harini\', \'33019\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.018965005874634','2016-08-29 10:35:10'),(25516,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 29, \'harini\', \'33007\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.018494844436646','2016-08-29 10:35:10'),(25517,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000069\', 30, \'harini\', \'33019\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000060]\', \'User\')','expenses/fnSaveExpenses','0.016128063201904','2016-08-29 10:35:10'),(25518,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000069\'','expenses/fnSaveExpenses','0.025087833404541','2016-08-29 10:35:10'),(25519,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2166','expenses/fnSaveExpenses','0.016259908676147','2016-08-29 10:35:10'),(25520,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11239','expenses/fnSaveExpenses','0.01683497428894','2016-08-29 10:35:10'),(25521,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000069\'','expenses/fnSaveExpenses','0.024548053741455','2016-08-29 10:35:10'),(25522,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.043401956558228','2016-08-29 10:35:10'),(25523,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015629053115845','2016-08-29 10:35:10'),(25524,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016210079193115','2016-08-29 10:35:10'),(25525,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015666007995605','2016-08-29 10:35:10'),(25526,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016211032867432','2016-08-29 10:35:10'),(25527,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015650987625122','2016-08-29 10:35:11'),(25528,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016221046447754','2016-08-29 10:35:11'),(25529,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015667200088501','2016-08-29 10:35:11'),(25530,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016223907470703','2016-08-29 10:35:11'),(25531,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015631914138794','2016-08-29 10:35:11'),(25532,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016178131103516','2016-08-29 10:35:11'),(25533,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015621900558472','2016-08-29 10:35:11'),(25534,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016180038452148','2016-08-29 10:35:11'),(25535,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015633821487427','2016-08-29 10:35:11'),(25536,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01624608039856','2016-08-29 10:35:11'),(25537,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015647888183594','2016-08-29 10:35:11'),(25538,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024541854858398','2016-08-29 10:35:11'),(25539,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015666007995605','2016-08-29 10:35:11'),(25540,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016212940216064','2016-08-29 10:35:11'),(25541,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015635013580322','2016-08-29 10:35:11'),(25542,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016220092773438','2016-08-29 10:35:11'),(25543,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015639066696167','2016-08-29 10:35:11'),(25544,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016267776489258','2016-08-29 10:35:11'),(25545,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015638113021851','2016-08-29 10:35:11'),(25546,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016247034072876','2016-08-29 10:35:11'),(25547,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015594005584717','2016-08-29 10:35:11'),(25548,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.014137029647827','2016-08-29 10:35:11'),(25549,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.017733097076416','2016-08-29 10:35:11'),(25550,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016244173049927','2016-08-29 10:35:11'),(25551,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015625','2016-08-29 10:35:11'),(25552,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'130\', \'OP-C\', \'2016-08-29\', \'148\', \'1\')','expenses/fnSaveExpenses','0.046496152877808','2016-08-29 10:36:38'),(25553,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2128\'','expenses/fnSaveExpenses','0.016062021255493','2016-08-29 10:36:38'),(25554,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'2\', `amountExcludedTax` = \'2\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2129\'','expenses/fnSaveExpenses','0.016724109649658','2016-08-29 10:36:38'),(25555,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'3\', `amountExcludedTax` = \'3\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2130\'','expenses/fnSaveExpenses','0.1327269077301','2016-08-29 10:36:38'),(25556,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'4\', `amountExcludedTax` = \'4\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2131\'','expenses/fnSaveExpenses','0.016730070114136','2016-08-29 10:36:38'),(25557,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2167, \'28\', \'harini\', 1, \'33019\', \'15\', \'15\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024525165557861','2016-08-29 10:36:38'),(25558,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'6\', `amountExcludedTax` = \'6\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2133\'','expenses/fnSaveExpenses','0.016707181930542','2016-08-29 10:36:38'),(25559,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'7\', `amountExcludedTax` = \'7\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2134\'','expenses/fnSaveExpenses','0.016118049621582','2016-08-29 10:36:38'),(25560,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'8\', `amountExcludedTax` = \'8\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2135\'','expenses/fnSaveExpenses','0.016713857650757','2016-08-29 10:36:38'),(25561,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'9\', `amountExcludedTax` = \'9\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2136\'','expenses/fnSaveExpenses','0.016113042831421','2016-08-29 10:36:38'),(25562,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2137\'','expenses/fnSaveExpenses','0.016690969467163','2016-08-29 10:36:38'),(25563,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'11\', `amountExcludedTax` = \'11\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2138\'','expenses/fnSaveExpenses','0.01611590385437','2016-08-29 10:36:38'),(25564,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'12\', `amountExcludedTax` = \'12\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2139\'','expenses/fnSaveExpenses','0.016683101654053','2016-08-29 10:36:38'),(25565,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'13\', `amountExcludedTax` = \'13\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2140\'','expenses/fnSaveExpenses','0.01610803604126','2016-08-29 10:36:38'),(25566,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'14\', `amountExcludedTax` = \'14\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2141\'','expenses/fnSaveExpenses','0.016701936721802','2016-08-29 10:36:38'),(25567,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2167, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'15\', `amountExcludedTax` = \'15\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2142\'','expenses/fnSaveExpenses','0.016149044036865','2016-08-29 10:36:38'),(25568,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 70 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.010836124420166','2016-08-29 10:36:38'),(25569,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000070\' WHERE `ID` =  2167','expenses/fnSaveExpenses','0.017893075942993','2016-08-29 10:36:38'),(25570,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', \'Cost of Goods Sold [OP-C[00000061]]\', \'Cost of Goods Sold [OP-C[00000061]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 130, 130, \'28\')','expenses/fnSaveExpenses','0.02291202545166','2016-08-29 10:36:38'),(25571,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 1, \'harini\', \'33007\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016075134277344','2016-08-29 10:36:38'),(25572,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 2, \'harini\', \'33019\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016719102859497','2016-08-29 10:36:38'),(25573,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 3, \'harini\', \'33007\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016085863113403','2016-08-29 10:36:38'),(25574,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 4, \'harini\', \'33019\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016693115234375','2016-08-29 10:36:38'),(25575,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 5, \'harini\', \'33007\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.01612114906311','2016-08-29 10:36:38'),(25576,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 6, \'harini\', \'33019\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016700029373169','2016-08-29 10:36:38'),(25577,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 7, \'harini\', \'33007\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016112089157104','2016-08-29 10:36:38'),(25578,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 8, \'harini\', \'33019\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016686916351318','2016-08-29 10:36:39'),(25579,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 9, \'harini\', \'33007\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.01610803604126','2016-08-29 10:36:39'),(25580,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 10, \'harini\', \'33019\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016717195510864','2016-08-29 10:36:39'),(25581,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 11, \'harini\', \'33007\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016116857528687','2016-08-29 10:36:39'),(25582,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 12, \'harini\', \'33019\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016710996627808','2016-08-29 10:36:39'),(25583,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 13, \'harini\', \'33007\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016115188598633','2016-08-29 10:36:39'),(25584,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 14, \'harini\', \'33019\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016700029373169','2016-08-29 10:36:39'),(25585,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 15, \'harini\', \'33007\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.01610803604126','2016-08-29 10:36:39'),(25586,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 16, \'harini\', \'33019\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016710042953491','2016-08-29 10:36:39'),(25587,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 17, \'harini\', \'33007\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016109943389893','2016-08-29 10:36:39'),(25588,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 18, \'harini\', \'33019\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016722917556763','2016-08-29 10:36:39'),(25589,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 19, \'harini\', \'33007\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016113996505737','2016-08-29 10:36:39'),(25590,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 20, \'harini\', \'33019\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016694068908691','2016-08-29 10:36:39'),(25591,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 21, \'harini\', \'33007\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016129016876221','2016-08-29 10:36:39'),(25592,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 22, \'harini\', \'33019\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016685009002686','2016-08-29 10:36:39'),(25593,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 23, \'harini\', \'33007\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016112804412842','2016-08-29 10:36:39'),(25594,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 24, \'harini\', \'33019\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.01670503616333','2016-08-29 10:36:39'),(25595,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 25, \'harini\', \'33007\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016122102737427','2016-08-29 10:36:39'),(25596,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 26, \'harini\', \'33019\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016733169555664','2016-08-29 10:36:39'),(25597,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 27, \'harini\', \'33007\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016093015670776','2016-08-29 10:36:39'),(25598,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 28, \'harini\', \'33019\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016703128814697','2016-08-29 10:36:39'),(25599,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 29, \'harini\', \'33007\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016114950180054','2016-08-29 10:36:39'),(25600,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000070\', 30, \'harini\', \'33019\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000061]\', \'User\')','expenses/fnSaveExpenses','0.016653060913086','2016-08-29 10:36:39'),(25601,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 130, `total_amount_cr` = 130, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000070\'','expenses/fnSaveExpenses','0.016211032867432','2016-08-29 10:36:39'),(25602,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2167','expenses/fnSaveExpenses','0.016829013824463','2016-08-29 10:36:39'),(25603,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11240','expenses/fnSaveExpenses','0.016242027282715','2016-08-29 10:36:39'),(25604,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000070\'','expenses/fnSaveExpenses','0.033480882644653','2016-08-29 10:36:39'),(25605,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.022976875305176','2016-08-29 10:36:39'),(25606,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.037260055541992','2016-08-29 10:36:39'),(25607,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.036278009414673','2016-08-29 10:36:39'),(25608,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032957077026367','2016-08-29 10:36:39'),(25609,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023977994918823','2016-08-29 10:36:39'),(25610,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032886028289795','2016-08-29 10:36:39'),(25611,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024109840393066','2016-08-29 10:36:39'),(25612,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015861034393311','2016-08-29 10:36:39'),(25613,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015692949295044','2016-08-29 10:36:39'),(25614,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016268968582153','2016-08-29 10:36:39'),(25615,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024023056030273','2016-08-29 10:36:39'),(25616,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024610996246338','2016-08-29 10:36:39'),(25617,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015667915344238','2016-08-29 10:36:39'),(25618,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016278028488159','2016-08-29 10:36:39'),(25619,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015739917755127','2016-08-29 10:36:39'),(25620,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016292095184326','2016-08-29 10:36:39'),(25621,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015681028366089','2016-08-29 10:36:39'),(25622,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01624608039856','2016-08-29 10:36:39'),(25623,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015680074691772','2016-08-29 10:36:39'),(25624,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016312837600708','2016-08-29 10:36:39'),(25625,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015713930130005','2016-08-29 10:36:39'),(25626,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016232013702393','2016-08-29 10:36:39'),(25627,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015408039093018','2016-08-29 10:36:39'),(25628,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016295909881592','2016-08-29 10:36:39'),(25629,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015699148178101','2016-08-29 10:36:39'),(25630,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016234874725342','2016-08-29 10:36:39'),(25631,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015679121017456','2016-08-29 10:36:39'),(25632,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016288995742798','2016-08-29 10:36:39'),(25633,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015705108642578','2016-08-29 10:36:39'),(25634,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.26852297782898','2016-08-29 10:36:40'),(25635,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'115\', \'OP-C\', \'2016-08-29\', \'148\', \'1\')','expenses/fnSaveExpenses','0.029531002044678','2016-08-29 10:39:28'),(25636,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2128\'','expenses/fnSaveExpenses','0.016669034957886','2016-08-29 10:39:28'),(25637,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'2\', `amountExcludedTax` = \'2\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2129\'','expenses/fnSaveExpenses','0.016111850738525','2016-08-29 10:39:28'),(25638,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'3\', `amountExcludedTax` = \'3\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2130\'','expenses/fnSaveExpenses','0.016731023788452','2016-08-29 10:39:28'),(25639,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'4\', `amountExcludedTax` = \'4\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2131\'','expenses/fnSaveExpenses','0.016149997711182','2016-08-29 10:39:28'),(25640,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'6\', `amountExcludedTax` = \'6\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2133\'','expenses/fnSaveExpenses','0.016710996627808','2016-08-29 10:39:28'),(25641,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'7\', `amountExcludedTax` = \'7\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2134\'','expenses/fnSaveExpenses','0.016098976135254','2016-08-29 10:39:28'),(25642,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'8\', `amountExcludedTax` = \'8\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2135\'','expenses/fnSaveExpenses','0.016729831695557','2016-08-29 10:39:28'),(25643,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'9\', `amountExcludedTax` = \'9\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2136\'','expenses/fnSaveExpenses','0.016116857528687','2016-08-29 10:39:28'),(25644,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2137\'','expenses/fnSaveExpenses','0.029742956161499','2016-08-29 10:39:28'),(25645,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'11\', `amountExcludedTax` = \'11\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2138\'','expenses/fnSaveExpenses','0.019706010818481','2016-08-29 10:39:28'),(25646,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'12\', `amountExcludedTax` = \'12\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2139\'','expenses/fnSaveExpenses','0.016707897186279','2016-08-29 10:39:28'),(25647,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'13\', `amountExcludedTax` = \'13\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2140\'','expenses/fnSaveExpenses','0.01609992980957','2016-08-29 10:39:28'),(25648,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'14\', `amountExcludedTax` = \'14\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2141\'','expenses/fnSaveExpenses','0.016735076904297','2016-08-29 10:39:28'),(25649,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2168, `createdBy` = \'28\', `itemdescription` = \'harini\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'15\', `amountExcludedTax` = \'15\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2142\'','expenses/fnSaveExpenses','0.016119003295898','2016-08-29 10:39:28'),(25650,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 71 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.028028011322021','2016-08-29 10:39:28'),(25651,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000071\' WHERE `ID` =  2168','expenses/fnSaveExpenses','0.016210079193115','2016-08-29 10:39:28'),(25652,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', \'Cost of Goods Sold [OP-C[00000062]]\', \'Cost of Goods Sold [OP-C[00000062]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 115, 115, \'28\')','expenses/fnSaveExpenses','0.014569997787476','2016-08-29 10:39:28'),(25653,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 1, \'harini\', \'33007\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016075849533081','2016-08-29 10:39:28'),(25654,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 2, \'harini\', \'33019\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016710996627808','2016-08-29 10:39:28'),(25655,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 3, \'harini\', \'33007\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016112089157104','2016-08-29 10:39:28'),(25656,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 4, \'harini\', \'33019\', 2, 1, \'1\', \'2\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016702175140381','2016-08-29 10:39:28'),(25657,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 5, \'harini\', \'33007\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016165971755981','2016-08-29 10:39:28'),(25658,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 6, \'harini\', \'33019\', 3, 1, \'1\', \'3\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.024527072906494','2016-08-29 10:39:28'),(25659,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 7, \'harini\', \'33007\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016698837280273','2016-08-29 10:39:28'),(25660,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 8, \'harini\', \'33019\', 4, 1, \'1\', \'4\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016106843948364','2016-08-29 10:39:28'),(25661,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 9, \'harini\', \'33007\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.025024890899658','2016-08-29 10:39:28'),(25662,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 10, \'harini\', \'33019\', 6, 1, \'1\', \'6\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016135931015015','2016-08-29 10:39:28'),(25663,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 11, \'harini\', \'33007\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016723871231079','2016-08-29 10:39:28'),(25664,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 12, \'harini\', \'33019\', 7, 1, \'1\', \'7\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016111135482788','2016-08-29 10:39:28'),(25665,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 13, \'harini\', \'33007\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016718864440918','2016-08-29 10:39:28'),(25666,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 14, \'harini\', \'33019\', 8, 1, \'1\', \'8\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016109943389893','2016-08-29 10:39:28'),(25667,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 15, \'harini\', \'33007\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016721963882446','2016-08-29 10:39:28'),(25668,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 16, \'harini\', \'33019\', 9, 1, \'1\', \'9\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016133785247803','2016-08-29 10:39:28'),(25669,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 17, \'harini\', \'33007\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016684055328369','2016-08-29 10:39:28'),(25670,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 18, \'harini\', \'33019\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016144037246704','2016-08-29 10:39:28'),(25671,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 19, \'harini\', \'33007\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016695976257324','2016-08-29 10:39:28'),(25672,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 20, \'harini\', \'33019\', 11, 1, \'1\', \'11\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016129970550537','2016-08-29 10:39:28'),(25673,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 21, \'harini\', \'33007\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016709089279175','2016-08-29 10:39:28'),(25674,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 22, \'harini\', \'33019\', 12, 1, \'1\', \'12\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016121864318848','2016-08-29 10:39:28'),(25675,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 23, \'harini\', \'33007\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016703128814697','2016-08-29 10:39:28'),(25676,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 24, \'harini\', \'33019\', 13, 1, \'1\', \'13\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016104936599731','2016-08-29 10:39:28'),(25677,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 25, \'harini\', \'33007\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016719102859497','2016-08-29 10:39:28'),(25678,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 26, \'harini\', \'33019\', 14, 1, \'1\', \'14\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016144037246704','2016-08-29 10:39:29'),(25679,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 27, \'harini\', \'33007\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016714811325073','2016-08-29 10:39:29'),(25680,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000071\', 28, \'harini\', \'33019\', 15, 1, \'1\', \'15\', \'08\', \'16\', \'1\', \'OP-C[00000062]\', \'User\')','expenses/fnSaveExpenses','0.016125202178955','2016-08-29 10:39:29'),(25681,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 115, `total_amount_cr` = 115, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000071\'','expenses/fnSaveExpenses','0.016769886016846','2016-08-29 10:39:29'),(25682,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2168','expenses/fnSaveExpenses','0.016250133514404','2016-08-29 10:39:29'),(25683,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11244','expenses/fnSaveExpenses','0.016824007034302','2016-08-29 10:39:29'),(25684,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000071\'','expenses/fnSaveExpenses','0.032868146896362','2016-08-29 10:39:29'),(25685,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015219926834106','2016-08-29 10:39:29'),(25686,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015649080276489','2016-08-29 10:39:29'),(25687,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016222953796387','2016-08-29 10:39:29'),(25688,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023968935012817','2016-08-29 10:39:29'),(25689,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016182899475098','2016-08-29 10:39:29'),(25690,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015595197677612','2016-08-29 10:39:29'),(25691,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016234159469604','2016-08-29 10:39:29'),(25692,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023972988128662','2016-08-29 10:39:29'),(25693,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016186952590942','2016-08-29 10:39:29'),(25694,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015647888183594','2016-08-29 10:39:29'),(25695,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024539947509766','2016-08-29 10:39:29'),(25696,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015604972839355','2016-08-29 10:39:29'),(25697,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016237020492554','2016-08-29 10:39:29'),(25698,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015630006790161','2016-08-29 10:39:29'),(25699,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016235113143921','2016-08-29 10:39:29'),(25700,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015625','2016-08-29 10:39:29'),(25701,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016217947006226','2016-08-29 10:39:29'),(25702,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015612125396729','2016-08-29 10:39:29'),(25703,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016216039657593','2016-08-29 10:39:29'),(25704,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015622138977051','2016-08-29 10:39:29'),(25705,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016185998916626','2016-08-29 10:39:29'),(25706,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015628814697266','2016-08-29 10:39:29'),(25707,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016228199005127','2016-08-29 10:39:29'),(25708,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015586137771606','2016-08-29 10:39:29'),(25709,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01619815826416','2016-08-29 10:39:29'),(25710,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015681028366089','2016-08-29 10:39:29'),(25711,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01622200012207','2016-08-29 10:39:29'),(25712,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015662908554077','2016-08-29 10:39:29'),(25713,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2165\'','expenses/removePayment','0.084437131881714','2016-08-29 10:40:17'),(25714,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2166\'','expenses/removePayment','0.049594879150391','2016-08-29 10:40:17'),(25715,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2164\'','expenses/removePayment','0.13560700416565','2016-08-29 10:40:17'),(25716,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2168\'','expenses/removePayment','0.065318822860718','2016-08-29 10:40:17'),(25717,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2167\'','expenses/removePayment','0.087544918060303','2016-08-29 10:40:17'),(25718,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'148\', \'1\')','expenses/fnSaveExpenses','0.0625319480896','2016-08-29 10:40:45'),(25719,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2169, \'28\', \'harini\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024499177932739','2016-08-29 10:40:45'),(25720,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 72 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.028012037277222','2016-08-29 10:40:45'),(25721,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000072\' WHERE `ID` =  2169','expenses/fnSaveExpenses','0.024538993835449','2016-08-29 10:40:45'),(25722,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000072\', \'Cost of Goods Sold [OP-C[00000063]]\', \'Cost of Goods Sold [OP-C[00000063]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.014590978622437','2016-08-29 10:40:45'),(25723,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000072\', 1, \'harini\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000063]\', \'User\')','expenses/fnSaveExpenses','0.016112804412842','2016-08-29 10:40:45'),(25724,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000072\', 2, \'harini\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000063]\', \'User\')','expenses/fnSaveExpenses','0.016677141189575','2016-08-29 10:40:45'),(25725,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000072\'','expenses/fnSaveExpenses','0.016211032867432','2016-08-29 10:40:45'),(25726,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2169','expenses/fnSaveExpenses','0.01682710647583','2016-08-29 10:40:45'),(25727,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11245','expenses/fnSaveExpenses','0.024569988250732','2016-08-29 10:40:45'),(25728,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000072\'','expenses/fnSaveExpenses','0.025124073028564','2016-08-29 10:40:45'),(25729,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.055873870849609','2016-08-29 10:40:45'),(25730,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016200065612793','2016-08-29 10:40:45'),(25731,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'200\', \'OP-C\', \'2016-08-29\', \'149\', \'1\')','expenses/fnSaveExpenses','0.020604848861694','2016-08-29 10:40:57'),(25732,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2170, \'28\', \'harini\', 1, \'33019\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016546964645386','2016-08-29 10:40:57'),(25733,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 73 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.016206979751587','2016-08-29 10:40:57'),(25734,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000073\' WHERE `ID` =  2170','expenses/fnSaveExpenses','0.016215801239014','2016-08-29 10:40:57'),(25735,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000073\', \'Cost of Goods Sold [OP-C[00000064]]\', \'Cost of Goods Sold [OP-C[00000064]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 200, 200, \'28\')','expenses/fnSaveExpenses','0.014547109603882','2016-08-29 10:40:57'),(25736,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000073\', 1, \'harini\', \'33008\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-C[00000064]\', \'User\')','expenses/fnSaveExpenses','0.016073942184448','2016-08-29 10:40:57'),(25737,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000073\', 2, \'harini\', \'33019\', 200, 1, \'1\', \'200\', \'08\', \'16\', \'1\', \'OP-C[00000064]\', \'User\')','expenses/fnSaveExpenses','0.016730070114136','2016-08-29 10:40:57'),(25738,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000073\'','expenses/fnSaveExpenses','0.016179084777832','2016-08-29 10:40:57'),(25739,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2170','expenses/fnSaveExpenses','0.016855001449585','2016-08-29 10:40:57'),(25740,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11246','expenses/fnSaveExpenses','0.016190052032471','2016-08-29 10:40:57'),(25741,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000073\'','expenses/fnSaveExpenses','0.041513919830322','2016-08-29 10:40:57'),(25742,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015799999237061','2016-08-29 10:40:57'),(25743,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015646934509277','2016-08-29 10:40:57'),(25744,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2169\'','expenses/removePayment','0.090710163116455','2016-08-29 10:41:07'),(25745,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2170\'','expenses/removePayment','0.12408113479614','2016-08-29 10:41:07'),(25746,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2162\'','expenses/removePayment','0.09873104095459','2016-08-29 11:38:42'),(25747,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2204\', \'26\', \'13\', \'\', \'0\', \'0\', \'\', \'126\', \'0\', \'OR\', \'2016-08-19\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'1000\', \'0\', \'0\', \'0\', \'2016-08-19 15:21:59\', \'0\', \'2016-08-19 15:21:59\', \'0\', \'AR20160800000016\', \'0\')','sales/delete_sales','0.10673809051514','2016-08-29 11:57:31'),(25748,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1816\', \'2204\', \'1\', \'32772\', \'Jualan Hari Jumaat\', \'1000\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-19 15:21:59\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.024506092071533','2016-08-29 11:57:31'),(25749,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2204\'','sales/delete_sales','0.015757083892822','2016-08-29 11:57:31'),(25750,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2204\'','sales/delete_sales','0.016854047775269','2016-08-29 11:57:31'),(25751,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000016\'','sales/delete_sales','0.016518831253052','2016-08-29 11:57:31'),(25752,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000016\'','sales/delete_sales','0.016540050506592','2016-08-29 11:57:31'),(25753,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2229\', \'32\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'1452\', \'0\', \'0\', \'0\', \'2016-08-29 11:58:37\', \'0\', \'2016-08-29 11:58:38\', \'0\', \'AR20160800000023\', \'0\')','sales/delete_sales','0.12551999092102','2016-08-29 11:59:49'),(25754,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1912\', \'2229\', \'1\', \'32772\', \'fad1\', \'1230\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 11:58:37\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.032554864883423','2016-08-29 11:59:49'),(25755,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1913\', \'2229\', \'2\', \'32772\', \'fad2\', \'222\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 11:58:37\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.016442060470581','2016-08-29 11:59:49'),(25756,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2229\'','sales/delete_sales','0.016039848327637','2016-08-29 11:59:49'),(25757,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2229\'','sales/delete_sales','0.016557931900024','2016-08-29 11:59:49'),(25758,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000023\'','sales/delete_sales','0.033180952072144','2016-08-29 11:59:49'),(25759,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000023\'','sales/delete_sales','0.016536951065063','2016-08-29 11:59:49'),(25760,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2230\', \'33\', \'13\', \'\', \'0\', \'0\', \'\', \'123\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'672221\', \'0\', \'0\', \'0\', \'2016-08-29 11:59:38\', \'0\', \'2016-08-29 11:59:38\', \'0\', \'AR20160800000024\', \'0\')','sales/delete_sales','0.015944957733154','2016-08-29 11:59:49'),(25761,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1914\', \'2230\', \'1\', \'32772\', \'fad34\', \'5555\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 11:59:38\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.032601833343506','2016-08-29 11:59:49'),(25762,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1915\', \'2230\', \'2\', \'32772\', \'fad45\', \'666666\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 11:59:38\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.016427993774414','2016-08-29 11:59:49'),(25763,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2230\'','sales/delete_sales','0.016093969345093','2016-08-29 11:59:49'),(25764,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2230\'','sales/delete_sales','0.016550064086914','2016-08-29 11:59:49'),(25765,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000024\'','sales/delete_sales','0.016543865203857','2016-08-29 11:59:49'),(25766,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000024\'','sales/delete_sales','0.016522884368896','2016-08-29 11:59:49'),(25767,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2201\', \'25\', \'13\', \'\', \'0\', \'0\', \'\', \'126\', \'0\', \'OR\', \'2016-08-18\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'100\', \'0\', \'0\', \'0\', \'2016-08-18 15:20:44\', \'0\', \'2016-08-18 15:20:44\', \'0\', \'AR20160800000015\', \'0\')','sales/delete_sales','0.093889951705933','2016-08-29 12:02:09'),(25768,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1813\', \'2201\', \'1\', \'32772\', \'jual tudung\', \'100\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-18 15:20:44\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.015928030014038','2016-08-29 12:02:09'),(25769,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2201\'','sales/delete_sales','0.026519775390625','2016-08-29 12:02:09'),(25770,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2201\'','sales/delete_sales','0.016744136810303','2016-08-29 12:02:09'),(25771,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000015\'','sales/delete_sales','0.016517877578735','2016-08-29 12:02:09'),(25772,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000015\'','sales/delete_sales','0.016522884368896','2016-08-29 12:02:09'),(25773,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2231\', \'32\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'3333\', \'0\', \'0\', \'0\', \'2016-08-29 12:03:11\', \'0\', \'2016-08-29 12:03:11\', \'0\', \'AR20160800000025\', \'0\')','sales/delete_sales','0.024425029754639','2016-08-29 12:03:20'),(25774,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1916\', \'2231\', \'1\', \'32772\', \'fad123\', \'3333\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:03:11\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.015864133834839','2016-08-29 12:03:20'),(25775,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2231\'','sales/delete_sales','0.015897989273071','2016-08-29 12:03:20'),(25776,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2231\'','sales/delete_sales','0.016520023345947','2016-08-29 12:03:20'),(25777,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000025\'','sales/delete_sales','0.016539812088013','2016-08-29 12:03:20'),(25778,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000025\'','sales/delete_sales','0.016531944274902','2016-08-29 12:03:20'),(25779,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2232\', \'32\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'4535\', \'0\', \'0\', \'0\', \'2016-08-29 12:05:04\', \'0\', \'2016-08-29 12:05:05\', \'0\', \'AR20160800000026\', \'0\')','sales/delete_sales','0.10799384117126','2016-08-29 12:05:13'),(25780,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1917\', \'2232\', \'1\', \'32772\', \'fad44\', \'4535\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:05:05\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.015858888626099','2016-08-29 12:05:13'),(25781,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2232\'','sales/delete_sales','0.016010046005249','2016-08-29 12:05:13'),(25782,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2232\'','sales/delete_sales','0.016535997390747','2016-08-29 12:05:13'),(25783,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000026\'','sales/delete_sales','0.016529083251953','2016-08-29 12:05:13'),(25784,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000026\'','sales/delete_sales','0.016505002975464','2016-08-29 12:05:13'),(25785,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2233\', \'32\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'435235\', \'0\', \'0\', \'0\', \'2016-08-29 12:06:24\', \'0\', \'2016-08-29 12:06:24\', \'0\', \'AR20160800000027\', \'0\')','sales/delete_sales','0.087591171264648','2016-08-29 12:07:04'),(25786,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1918\', \'2233\', \'1\', \'32772\', \'fad34\', \'435235\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:06:24\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.015199184417725','2016-08-29 12:07:04'),(25787,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2233\'','sales/delete_sales','0.016719102859497','2016-08-29 12:07:04'),(25788,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2233\'','sales/delete_sales','0.016525983810425','2016-08-29 12:07:04'),(25789,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000027\'','sales/delete_sales','0.016515016555786','2016-08-29 12:07:04'),(25790,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000027\'','sales/delete_sales','0.016519069671631','2016-08-29 12:07:04'),(25791,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2234\', \'33\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'53252\', \'0\', \'0\', \'0\', \'2016-08-29 12:06:54\', \'0\', \'2016-08-29 12:06:54\', \'0\', \'AR20160800000028\', \'0\')','sales/delete_sales','0.02154016494751','2016-08-29 12:07:32'),(25792,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1919\', \'2234\', \'1\', \'32772\', \'hhh\', \'53252\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:06:54\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.021095037460327','2016-08-29 12:07:32'),(25793,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2234\'','sales/delete_sales','0.017123937606812','2016-08-29 12:07:32'),(25794,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2234\'','sales/delete_sales','0.041556835174561','2016-08-29 12:07:32'),(25795,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000028\'','sales/delete_sales','0.033184051513672','2016-08-29 12:07:32'),(25796,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000028\'','sales/delete_sales','0.041536092758179','2016-08-29 12:07:32'),(25797,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2016\'','expenses/removePayment','0.088372945785522','2016-08-29 12:07:54'),(25798,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2235\', \'32\', \'13\', \'\', \'0\', \'0\', \'\', \'123\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'32424\', \'0\', \'0\', \'0\', \'2016-08-29 12:11:33\', \'0\', \'2016-08-29 12:11:33\', \'0\', \'AR20160800000029\', \'0\')','sales/delete_sales','0.24306797981262','2016-08-29 12:12:07'),(25799,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1920\', \'2235\', \'1\', \'32772\', \'huhuhuh\', \'32424\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:11:33\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.032524108886719','2016-08-29 12:12:07'),(25800,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2235\'','sales/delete_sales','0.016021013259888','2016-08-29 12:12:07'),(25801,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2235\'','sales/delete_sales','0.02487587928772','2016-08-29 12:12:07'),(25802,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000029\'','sales/delete_sales','0.01652193069458','2016-08-29 12:12:07'),(25803,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000029\'','sales/delete_sales','0.01650595664978','2016-08-29 12:12:07'),(25804,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2236\', \'33\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'235234\', \'0\', \'0\', \'0\', \'2016-08-29 12:11:57\', \'0\', \'2016-08-29 12:11:57\', \'0\', \'AR20160800000030\', \'0\')','sales/delete_sales','0.015887975692749','2016-08-29 12:12:07'),(25805,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1921\', \'2236\', \'1\', \'32772\', \'rgsgdsg\', \'235234\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:11:57\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.015894889831543','2016-08-29 12:12:07'),(25806,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2236\'','sales/delete_sales','0.016055107116699','2016-08-29 12:12:07'),(25807,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2236\'','sales/delete_sales','0.016539096832275','2016-08-29 12:12:07'),(25808,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000030\'','sales/delete_sales','0.016485214233398','2016-08-29 12:12:07'),(25809,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000030\'','sales/delete_sales','0.016521215438843','2016-08-29 12:12:07'),(25810,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2237\', \'32\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'23423432423\', \'0\', \'0\', \'0\', \'2016-08-29 12:13:56\', \'0\', \'2016-08-29 12:13:56\', \'0\', \'AR20160800000031\', \'0\')','sales/delete_sales','0.038380861282349','2016-08-29 12:14:28'),(25811,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1922\', \'2237\', \'1\', \'32772\', \'fasdsd\', \'23423432423\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:13:56\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.015798091888428','2016-08-29 12:14:28'),(25812,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2237\'','sales/delete_sales','0.015995025634766','2016-08-29 12:14:28'),(25813,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2237\'','sales/delete_sales','0.024868965148926','2016-08-29 12:14:28'),(25814,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000031\'','sales/delete_sales','0.033159971237183','2016-08-29 12:14:28'),(25815,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000031\'','sales/delete_sales','0.016502857208252','2016-08-29 12:14:28'),(25816,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2238\', \'33\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'34235\', \'0\', \'0\', \'0\', \'2016-08-29 12:14:18\', \'0\', \'2016-08-29 12:14:18\', \'0\', \'AR20160800000032\', \'0\')','sales/delete_sales','0.01948094367981','2016-08-29 12:15:42'),(25817,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1923\', \'2238\', \'1\', \'32772\', \'rgdd\', \'34235\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:14:18\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.021323919296265','2016-08-29 12:15:42'),(25818,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2238\'','sales/delete_sales','0.01507306098938','2016-08-29 12:15:42'),(25819,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2238\'','sales/delete_sales','0.016545057296753','2016-08-29 12:15:42'),(25820,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000032\'','sales/delete_sales','0.016523838043213','2016-08-29 12:15:42'),(25821,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000032\'','sales/delete_sales','0.058187007904053','2016-08-29 12:15:42'),(25822,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2239\', \'34\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'53235\', \'0\', \'0\', \'0\', \'2016-08-29 12:15:25\', \'0\', \'2016-08-29 12:15:25\', \'0\', \'AR20160800000033\', \'0\')','sales/delete_sales','0.09480881690979','2016-08-29 12:18:50'),(25823,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1924\', \'2239\', \'1\', \'32772\', \'asdasd\', \'53235\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 12:15:25\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.015836000442505','2016-08-29 12:18:50'),(25824,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2239\'','sales/delete_sales','0.032669067382812','2016-08-29 12:18:50'),(25825,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2239\'','sales/delete_sales','0.049131870269775','2016-08-29 12:18:50'),(25826,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000033\'','sales/delete_sales','0.050551891326904','2016-08-29 12:18:50'),(25827,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000033\'','sales/delete_sales','0.033237934112549','2016-08-29 12:18:50'),(25828,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'148\', `payTo` = \'150\', `amountPaid` = \'1200000.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.090871810913086','2016-08-29 13:17:17'),(25829,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33009\', `amountExcludedTax` = \'1200000.00\', `itemdescription` = \'fad\' WHERE `ID` =  \'1962\'','transfer/saveTransfer','0.023737907409668','2016-08-29 13:17:17'),(25830,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000031\'','transfer/saveTransfer','0.025952816009521','2016-08-29 13:17:17'),(25831,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000031\'','transfer/saveTransfer','0.049845933914185','2016-08-29 13:17:17'),(25832,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 74 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.02336597442627','2016-08-29 13:17:17'),(25833,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000074\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.01649808883667','2016-08-29 13:17:17'),(25834,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000074\', \' [TT[00000028]]]\', \'Bank Transfer [  [TT[00000028]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 1200000, 1200000, \'User\')','transfer/saveTransfer','0.039393901824951','2016-08-29 13:17:17'),(25835,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000074\', 1, \'fad\', \'33007\', 1200000, 1, \'1\', \'1200000\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.033056020736694','2016-08-29 13:17:17'),(25836,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000074\', 2, \'fad\', \'33009\', 1200000, 1, \'1\', \'1200000\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.024752855300903','2016-08-29 13:17:17'),(25837,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1200000, `total_amount_cr` = 1200000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000074\'','transfer/saveTransfer','0.016509056091309','2016-08-29 13:17:18'),(25838,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.023605108261108','2016-08-29 13:17:18'),(25839,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11259','transfer/saveTransfer','0.026140928268433','2016-08-29 13:17:18'),(25840,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000074\'','transfer/saveTransfer','0.02482008934021','2016-08-29 13:17:18'),(25841,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.064464092254639','2016-08-29 13:17:18'),(25842,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.016923904418945','2016-08-29 13:17:18'),(25843,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'150\', `payTo` = \'151\', `amountPaid` = \'4447.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.09457802772522','2016-08-29 13:19:13'),(25844,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33010\', `amountExcludedTax` = \'4447.00\', `itemdescription` = \'fad\' WHERE `ID` =  \'1957\'','transfer/saveTransfer','0.017929077148438','2016-08-29 13:19:13'),(25845,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000023\'','transfer/saveTransfer','0.00076699256896973','2016-08-29 13:19:13'),(25846,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000023\'','transfer/saveTransfer','0.01154088973999','2016-08-29 13:19:13'),(25847,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 75 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.023155927658081','2016-08-29 13:19:13'),(25848,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000075\' WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.0261549949646','2016-08-29 13:19:13'),(25849,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000075\', \' [TT[00000026]]]\', \'Bank Transfer [  [TT[00000026]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 4447, 4447, \'User\')','transfer/saveTransfer','0.039409160614014','2016-08-29 13:19:14'),(25850,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000075\', 1, \'fad\', \'33009\', 4447, 1, \'1\', \'4447\', \'08\', \'2016\', \'0\', \'TT[00000026]\', \'User\')','transfer/saveTransfer','0.04138708114624','2016-08-29 13:19:14'),(25851,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000075\', 2, \'fad\', \'33010\', 4447, 1, \'1\', \'4447\', \'08\', \'2016\', \'0\', \'TT[00000026]\', \'User\')','transfer/saveTransfer','0.016432046890259','2016-08-29 13:19:14'),(25852,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 4447, `total_amount_cr` = 4447, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000075\'','transfer/saveTransfer','0.016474008560181','2016-08-29 13:19:14'),(25853,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.016540050506592','2016-08-29 13:19:14'),(25854,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11260','transfer/saveTransfer','0.024878978729248','2016-08-29 13:19:14'),(25855,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000075\'','transfer/saveTransfer','0.01649284362793','2016-08-29 13:19:14'),(25856,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.057142972946167','2016-08-29 13:19:14'),(25857,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33010\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.015953063964844','2016-08-29 13:19:14'),(25858,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'148\', `payTo` = \'149\', `amountPaid` = \'77899.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.10309195518494','2016-08-29 13:19:24'),(25859,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33008\', `amountExcludedTax` = \'77899.00\', `itemdescription` = \'fasd\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.016484022140503','2016-08-29 13:19:24'),(25860,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000033\'','transfer/saveTransfer','0.024837017059326','2016-08-29 13:19:24'),(25861,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000033\'','transfer/saveTransfer','0.016546964645386','2016-08-29 13:19:24'),(25862,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 76 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.015318870544434','2016-08-29 13:19:24'),(25863,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000076\' WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.024827003479004','2016-08-29 13:19:24'),(25864,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000076\', \' [TT[00000027]]]\', \'Bank Transfer [  [TT[00000027]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 77899, 77899, \'User\')','transfer/saveTransfer','0.014400005340576','2016-08-29 13:19:24'),(25865,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000076\', 1, \'fasd\', \'33007\', 77899, 1, \'1\', \'77899\', \'08\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/saveTransfer','0.024719953536987','2016-08-29 13:19:24'),(25866,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000076\', 2, \'fasd\', \'33008\', 77899, 1, \'1\', \'77899\', \'08\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/saveTransfer','0.024739980697632','2016-08-29 13:19:24'),(25867,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 77899, `total_amount_cr` = 77899, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000076\'','transfer/saveTransfer','0.016490936279297','2016-08-29 13:19:25'),(25868,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.016552925109863','2016-08-29 13:19:25'),(25869,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11261','transfer/saveTransfer','0.016538858413696','2016-08-29 13:19:25'),(25870,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000076\'','transfer/saveTransfer','0.016509056091309','2016-08-29 13:19:25'),(25871,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.039166927337646','2016-08-29 13:19:25'),(25872,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.017364978790283','2016-08-29 13:19:25'),(25873,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'152\', `payTo` = \'151\', `amountPaid` = \'545.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2058\'','transfer/saveTransfer','0.088300943374634','2016-08-29 13:19:40'),(25874,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33010\', `amountExcludedTax` = \'545.00\', `itemdescription` = \'test123\' WHERE `ID` =  \'1972\'','transfer/saveTransfer','0.016499996185303','2016-08-29 13:19:40'),(25875,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000030\'','transfer/saveTransfer','0.00020408630371094','2016-08-29 13:19:40'),(25876,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000030\'','transfer/saveTransfer','0.00013089179992676','2016-08-29 13:19:40'),(25877,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 77 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.014912843704224','2016-08-29 13:19:40'),(25878,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000077\' WHERE `ID` =  \'2058\'','transfer/saveTransfer','0.016499996185303','2016-08-29 13:19:40'),(25879,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000077\', \' [TT[00000029]]]\', \'Bank Transfer [  [TT[00000029]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 545, 545, \'User\')','transfer/saveTransfer','0.014385938644409','2016-08-29 13:19:40'),(25880,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000077\', 1, \'test123\', \'33011\', 545, 1, \'1\', \'545\', \'08\', \'2016\', \'0\', \'TT[00000029]\', \'User\')','transfer/saveTransfer','0.016392946243286','2016-08-29 13:19:40'),(25881,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000077\', 2, \'test123\', \'33010\', 545, 1, \'1\', \'545\', \'08\', \'2016\', \'0\', \'TT[00000029]\', \'User\')','transfer/saveTransfer','0.01642107963562','2016-08-29 13:19:40'),(25882,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 545, `total_amount_cr` = 545, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000077\'','transfer/saveTransfer','0.016499042510986','2016-08-29 13:19:40'),(25883,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2058\'','transfer/saveTransfer','0.016533851623535','2016-08-29 13:19:40'),(25884,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11262','transfer/saveTransfer','0.016537189483643','2016-08-29 13:19:40'),(25885,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000077\'','transfer/saveTransfer','0.016490936279297','2016-08-29 13:19:40'),(25886,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33011\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.015552997589111','2016-08-29 13:19:40'),(25887,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33010\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.015944957733154','2016-08-29 13:19:40'),(25888,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-02-03\', `bankID` = \'150\', `payTo` = \'151\', `amountPaid` = \'4447.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.09064793586731','2016-08-29 13:20:30'),(25889,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33010\', `amountExcludedTax` = \'4447.00\', `itemdescription` = \'fad\' WHERE `ID` =  \'1957\'','transfer/saveTransfer','0.0001978874206543','2016-08-29 13:20:30'),(25890,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000075\'','transfer/saveTransfer','0.016191005706787','2016-08-29 13:20:30'),(25891,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000075\'','transfer/saveTransfer','0.016517877578735','2016-08-29 13:20:30'),(25892,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'312\'','transfer/saveTransfer','0.014856100082397','2016-08-29 13:20:30'),(25893,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160200000005\' WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.12732601165771','2016-08-29 13:20:30'),(25894,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160200000005\', \' [TT[00000026]]]\', \'Bank Transfer [  [TT[00000026]]] ]\', \'\', \'3\', \'2016-02-03\', \'2016\', \'02\', 4447, 4447, \'User\')','transfer/saveTransfer','0.028460025787354','2016-08-29 13:20:31'),(25895,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160200000005\', 1, \'fad\', \'33009\', 4447, 1, \'1\', \'4447\', \'02\', \'2016\', \'0\', \'TT[00000026]\', \'User\')','transfer/saveTransfer','0.01645302772522','2016-08-29 13:20:31'),(25896,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160200000005\', 2, \'fad\', \'33010\', 4447, 1, \'1\', \'4447\', \'02\', \'2016\', \'0\', \'TT[00000026]\', \'User\')','transfer/saveTransfer','0.016423940658569','2016-08-29 13:20:31'),(25897,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 4447, `total_amount_cr` = 4447, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160200000005\'','transfer/saveTransfer','0.01648211479187','2016-08-29 13:20:31'),(25898,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2042\'','transfer/saveTransfer','0.016541957855225','2016-08-29 13:20:31'),(25899,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11263','transfer/saveTransfer','0.016550064086914','2016-08-29 13:20:31'),(25900,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160200000005\'','transfer/saveTransfer','0.016489028930664','2016-08-29 13:20:31'),(25901,23,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33009\', \'2016\', \'2\', \'0\', \'4447\', -4447, \'User\', \'2016-08-29: 07:08:30\')','transfer/saveTransfer','0.032050848007202','2016-08-29 13:20:31'),(25902,23,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33010\', \'2016\', \'2\', \'4447\', \'0\', 4447, \'User\', \'2016-08-29: 07:08:30\')','transfer/saveTransfer','0.015771150588989','2016-08-29 13:20:31'),(25903,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-03-01\', `bankID` = \'148\', `payTo` = \'149\', `amountPaid` = \'77899.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.095046997070312','2016-08-29 13:20:58'),(25904,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33008\', `amountExcludedTax` = \'77899.00\', `itemdescription` = \'fasd\' WHERE `ID` =  \'1960\'','transfer/saveTransfer','0.00024700164794922','2016-08-29 13:20:58'),(25905,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000076\'','transfer/saveTransfer','0.016093015670776','2016-08-29 13:20:58'),(25906,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000076\'','transfer/saveTransfer','0.015086889266968','2016-08-29 13:20:58'),(25907,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'325\'','transfer/saveTransfer','0.015176773071289','2016-08-29 13:20:58'),(25908,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160300000002\' WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.016560792922974','2016-08-29 13:20:58'),(25909,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160300000002\', \' [TT[00000027]]]\', \'Bank Transfer [  [TT[00000027]]] ]\', \'\', \'3\', \'2016-03-01\', \'2016\', \'03\', 77899, 77899, \'User\')','transfer/saveTransfer','0.012563943862915','2016-08-29 13:20:58'),(25910,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160300000002\', 1, \'fasd\', \'33007\', 77899, 1, \'1\', \'77899\', \'03\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/saveTransfer','0.018144130706787','2016-08-29 13:20:58'),(25911,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160300000002\', 2, \'fasd\', \'33008\', 77899, 1, \'1\', \'77899\', \'03\', \'2016\', \'0\', \'TT[00000027]\', \'User\')','transfer/saveTransfer','0.016404867172241','2016-08-29 13:20:58'),(25912,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 77899, `total_amount_cr` = 77899, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160300000002\'','transfer/saveTransfer','0.024807929992676','2016-08-29 13:20:58'),(25913,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2044\'','transfer/saveTransfer','0.016547918319702','2016-08-29 13:20:58'),(25914,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11264','transfer/saveTransfer','0.016529083251953','2016-08-29 13:20:58'),(25915,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160300000002\'','transfer/saveTransfer','0.016486883163452','2016-08-29 13:20:58'),(25916,23,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33007\', \'2016\', \'3\', \'0\', \'77899\', -77899, \'User\', \'2016-08-29: 07:08:58\')','transfer/saveTransfer','0.015260934829712','2016-08-29 13:20:58'),(25917,23,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33008\', \'2016\', \'3\', \'77899\', \'0\', 77899, \'User\', \'2016-08-29: 07:08:58\')','transfer/saveTransfer','0.015703916549683','2016-08-29 13:20:58'),(25918,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-04-06\', `bankID` = \'152\', `payTo` = \'151\', `amountPaid` = \'545.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2058\'','transfer/saveTransfer','0.027719020843506','2016-08-29 13:21:11'),(25919,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33010\', `amountExcludedTax` = \'545.00\', `itemdescription` = \'test123\' WHERE `ID` =  \'1972\'','transfer/saveTransfer','0.00019001960754395','2016-08-29 13:21:11'),(25920,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000077\'','transfer/saveTransfer','0.016213893890381','2016-08-29 13:21:11'),(25921,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000077\'','transfer/saveTransfer','0.033194065093994','2016-08-29 13:21:11'),(25922,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'326\'','transfer/saveTransfer','0.015647888183594','2016-08-29 13:21:11'),(25923,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160400000002\' WHERE `ID` =  \'2058\'','transfer/saveTransfer','0.016512155532837','2016-08-29 13:21:11'),(25924,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160400000002\', \' [TT[00000029]]]\', \'Bank Transfer [  [TT[00000029]]] ]\', \'\', \'3\', \'2016-04-06\', \'2016\', \'04\', 545, 545, \'User\')','transfer/saveTransfer','0.012526035308838','2016-08-29 13:21:11'),(25925,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160400000002\', 1, \'test123\', \'33011\', 545, 1, \'1\', \'545\', \'04\', \'2016\', \'0\', \'TT[00000029]\', \'User\')','transfer/saveTransfer','0.018310785293579','2016-08-29 13:21:11'),(25926,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160400000002\', 2, \'test123\', \'33010\', 545, 1, \'1\', \'545\', \'04\', \'2016\', \'0\', \'TT[00000029]\', \'User\')','transfer/saveTransfer','0.01643705368042','2016-08-29 13:21:11'),(25927,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 545, `total_amount_cr` = 545, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160400000002\'','transfer/saveTransfer','0.016488075256348','2016-08-29 13:21:11'),(25928,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2058\'','transfer/saveTransfer','0.01655101776123','2016-08-29 13:21:11'),(25929,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11265','transfer/saveTransfer','0.023262023925781','2016-08-29 13:21:11'),(25930,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160400000002\'','transfer/saveTransfer','0.016196966171265','2016-08-29 13:21:11'),(25931,23,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33011\', \'2016\', \'4\', \'0\', \'545\', -545, \'User\', \'2016-08-29: 07:08:11\')','transfer/saveTransfer','0.015706062316895','2016-08-29 13:21:11'),(25932,23,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33010\', \'2016\', \'4\', \'545\', \'0\', 545, \'User\', \'2016-08-29: 07:08:11\')','transfer/saveTransfer','0.017385005950928','2016-08-29 13:21:11'),(25933,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-05-11\', `bankID` = \'148\', `payTo` = \'150\', `amountPaid` = \'5555.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2070\'','transfer/saveTransfer','0.082695007324219','2016-08-29 13:21:30'),(25934,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33009\', `amountExcludedTax` = \'5555.00\', `itemdescription` = \'Hye\' WHERE `ID` =  \'1984\'','transfer/saveTransfer','0.00020098686218262','2016-08-29 13:21:30'),(25935,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000032\'','transfer/saveTransfer','0.042930126190186','2016-08-29 13:21:30'),(25936,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000032\'','transfer/saveTransfer','0.041533946990967','2016-08-29 13:21:30'),(25937,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'327\'','transfer/saveTransfer','0.014846801757812','2016-08-29 13:21:30'),(25938,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160500000002\' WHERE `ID` =  \'2070\'','transfer/saveTransfer','0.018481969833374','2016-08-29 13:21:30'),(25939,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160500000002\', \' [TT[00000030]]]\', \'Bank Transfer [  [TT[00000030]]] ]\', \'\', \'3\', \'2016-05-11\', \'2016\', \'05\', 5555, 5555, \'User\')','transfer/saveTransfer','0.029030084609985','2016-08-29 13:21:30'),(25940,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160500000002\', 1, \'Hye\', \'33007\', 5555, 1, \'1\', \'5555\', \'05\', \'2016\', \'0\', \'TT[00000030]\', \'User\')','transfer/saveTransfer','0.018353939056396','2016-08-29 13:21:30'),(25941,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160500000002\', 2, \'Hye\', \'33009\', 5555, 1, \'1\', \'5555\', \'05\', \'2016\', \'0\', \'TT[00000030]\', \'User\')','transfer/saveTransfer','0.024760961532593','2016-08-29 13:21:30'),(25942,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 5555, `total_amount_cr` = 5555, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160500000002\'','transfer/saveTransfer','0.016492128372192','2016-08-29 13:21:30'),(25943,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2070\'','transfer/saveTransfer','0.01655101776123','2016-08-29 13:21:30'),(25944,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11266','transfer/saveTransfer','0.01653790473938','2016-08-29 13:21:30'),(25945,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160500000002\'','transfer/saveTransfer','0.016523122787476','2016-08-29 13:21:30'),(25946,23,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33007\', \'2016\', \'5\', \'0\', \'5555\', -5555, \'User\', \'2016-08-29: 07:08:30\')','transfer/saveTransfer','0.028457164764404','2016-08-29 13:21:30'),(25947,23,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'3\', \'33009\', \'2016\', \'5\', \'5555\', \'0\', 5555, \'User\', \'2016-08-29: 07:08:30\')','transfer/saveTransfer','0.013818979263306','2016-08-29 13:21:30'),(25948,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-07-19\', `bankID` = \'149\', `payTo` = \'148\', `amountPaid` = \'23.00\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2163\'','transfer/saveTransfer','0.14136099815369','2016-08-29 13:21:44'),(25949,23,28,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33007\', `amountExcludedTax` = \'23.00\', `itemdescription` = \'\' WHERE `ID` =  \'2127\'','transfer/saveTransfer','0.00020289421081543','2016-08-29 13:21:44'),(25950,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000066\'','transfer/saveTransfer','0.016177177429199','2016-08-29 13:21:44'),(25951,23,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000066\'','transfer/saveTransfer','0.024858951568604','2016-08-29 13:21:45'),(25952,23,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'329\'','transfer/saveTransfer','0.015541076660156','2016-08-29 13:21:45'),(25953,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160700000003\' WHERE `ID` =  \'2163\'','transfer/saveTransfer','0.016527891159058','2016-08-29 13:21:45'),(25954,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160700000003\', \' [TT[00000057]]]\', \'Bank Transfer [  [TT[00000057]]] ]\', \'\', \'3\', \'2016-07-19\', \'2016\', \'07\', 23, 23, \'User\')','transfer/saveTransfer','0.012286901473999','2016-08-29 13:21:45'),(25955,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160700000003\', 1, \'\', \'33008\', 23, 1, \'1\', \'23\', \'07\', \'2016\', \'0\', \'TT[00000057]\', \'User\')','transfer/saveTransfer','0.018424987792969','2016-08-29 13:21:45'),(25956,23,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160700000003\', 2, \'\', \'33007\', 23, 1, \'1\', \'23\', \'07\', \'2016\', \'0\', \'TT[00000057]\', \'User\')','transfer/saveTransfer','0.016429901123047','2016-08-29 13:21:45'),(25957,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160700000003\'','transfer/saveTransfer','0.016710042953491','2016-08-29 13:21:45'),(25958,23,28,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2163\'','transfer/saveTransfer','0.1329870223999','2016-08-29 13:21:45'),(25959,23,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11267','transfer/saveTransfer','0.01651406288147','2016-08-29 13:21:45'),(25960,23,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160700000003\'','transfer/saveTransfer','0.016525030136108','2016-08-29 13:21:45'),(25961,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/saveTransfer','0.022820949554443','2016-08-29 13:21:45'),(25962,23,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'7\'','transfer/saveTransfer','0.017713069915771','2016-08-29 13:21:45'),(25963,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1965\'','expenses/removePayment','0.10913491249084','2016-08-29 14:51:18'),(25964,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'1998\'','expenses/removePayment','0.023403882980347','2016-08-29 14:52:00'),(25965,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'690\', \'17\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-08\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'100\', \'0\', \'0\', \'0\', \'2016-08-08 10:29:00\', \'0\', \'2016-08-08 10:29:01\', \'0\', \'AR20160800000005\', \'0\')','sales/delete_sales','0.10803198814392','2016-08-29 14:52:47'),(25966,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1536\', \'690\', \'1\', \'32772\', \'Air\', \'100\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-08 10:29:01\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.047698974609375','2016-08-29 14:52:47'),(25967,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'690\'','sales/delete_sales','0.016000986099243','2016-08-29 14:52:47'),(25968,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'690\'','sales/delete_sales','0.016535043716431','2016-08-29 14:52:47'),(25969,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_bak` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`, `bankReconcileID`) VALUES (\'2241\', \'36\', \'13\', \'\', \'0\', \'0\', \'\', \'122\', \'0\', \'OR\', \'2016-08-29\', \'1\', \'1\', \'0\', \'\', \'0\', \'0\', \'0\', \'324235\', \'0\', \'0\', \'0\', \'2016-08-29 14:57:15\', \'0\', \'2016-08-29 14:57:15\', \'0\', \'AR20160800000035\', \'0\')','sales/delete_sales','0.093935012817383','2016-08-29 14:57:29'),(25970,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail_bak` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES (\'1926\', \'2241\', \'1\', \'32772\', \'asd\', \'324235\', \'0\', \'0\', \'0\', \'0\', \'0\', \'2016-08-29 14:57:15\', \'0\', \'0000-00-00 00:00:00\')','sales/delete_sales','0.14858794212341','2016-08-29 14:57:29'),(25971,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others`\nWHERE `ID` =  \'2241\'','sales/delete_sales','0.016296148300171','2016-08-29 14:57:29'),(25972,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2241\'','sales/delete_sales','0.016216993331909','2016-08-29 14:57:29'),(25973,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000035\'','sales/delete_sales','0.018830060958862','2016-08-29 14:57:29'),(25974,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000035\'','sales/delete_sales','0.016495943069458','2016-08-29 14:57:29'),(25975,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000036\'','sales/save_update_sale','0.10142707824707','2016-08-29 15:20:17'),(25976,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000036\'','sales/save_update_sale','0.016516923904419','2016-08-29 15:20:17'),(25977,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'123\', `totalReceived` = \'77.00\', `updateAble` = 1 WHERE `ID` =  \'2242\'','sales/save_update_sale','0.016458034515381','2016-08-29 15:20:17'),(25978,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2242\'','sales/save_update_sale','0.024880886077881','2016-08-29 15:20:17'),(25979,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2242\', \'gafad\', \'77.00\', \'32772\', 1)','sales/save_update_sale','0.016533136367798','2016-08-29 15:20:17'),(25980,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2242\'','sales/save_update_sale','0.00020813941955566','2016-08-29 15:20:17'),(25981,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  \'297\'','sales/save_update_sale','0.016149997711182','2016-08-29 15:20:17'),(25982,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000038\' WHERE `ID` =  \'2242\'','sales/save_update_sale','0.016505002975464','2016-08-29 15:20:17'),(25983,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000038\', \'OR[00000036]\', \'Sales [ OR[00000036] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'77\', \'77\', \'10\')','sales/save_update_sale','0.020632028579712','2016-08-29 15:20:17'),(25984,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000038\', 1, \'gafad\', \'32772\', \'\', 77, \'1\', \'1\', \'77\', \'08\', \'2016\', \'1\', \'OR[00000036]\', \'0\', \'User\')','sales/save_update_sale','0.018468856811523','2016-08-29 15:20:17'),(25985,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000038\', \'gafad\', \'32762\', \'\', 77, \'1\', \'1\', \'77\', \'08\', \'2016\', \'OR[00000036]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016412019729614','2016-08-29 15:20:17'),(25986,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 77, `total_amount_cr` = 77, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000038\'','sales/save_update_sale','0.024823904037476','2016-08-29 15:20:18'),(25987,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2242\'','sales/save_update_sale','0.016540050506592','2016-08-29 15:20:18'),(25988,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11271','sales/save_update_sale','0.016522169113159','2016-08-29 15:20:18'),(25989,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000038\'','sales/save_update_sale','0.016540050506592','2016-08-29 15:20:18'),(25990,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015546083450317','2016-08-29 15:20:18'),(25991,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.020277976989746','2016-08-29 15:20:18'),(25992,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000009\'','sales/save_update_sale','0.11331582069397','2016-08-29 15:21:47'),(25993,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000009\'','sales/save_update_sale','0.030636072158813','2016-08-29 15:21:47'),(25994,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-10\', `bankID` = \'122\', `totalReceived` = \'227.00\', `updateAble` = 1 WHERE `ID` =  \'694\'','sales/save_update_sale','0.025081872940063','2016-08-29 15:21:47'),(25995,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'694\'','sales/save_update_sale','0.018748998641968','2016-08-29 15:21:47'),(25996,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'694\', \'fad\', \'150.00\', \'32772\', 1)','sales/save_update_sale','0.016520977020264','2016-08-29 15:21:47'),(25997,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'694\', \'ACT\', \'77.00\', \'32772\', 2)','sales/save_update_sale','0.016554832458496','2016-08-29 15:21:48'),(25998,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'694\'','sales/save_update_sale','0.00018906593322754','2016-08-29 15:21:48'),(25999,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'297\'','sales/save_update_sale','0.030700922012329','2016-08-29 15:21:48'),(26000,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000039\' WHERE `ID` =  \'694\'','sales/save_update_sale','0.12863802909851','2016-08-29 15:21:48'),(26001,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000039\', \'OR[00000019]\', \'Sales [ OR[00000019] ]\', \'\', \'2\', \'2016-08-10\', \'2016\', \'08\', \'227\', \'227\', \'10\')','sales/save_update_sale','0.037606000900269','2016-08-29 15:21:48'),(26002,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000039\', 1, \'fad\', \'32772\', \'\', 150, \'1\', \'1\', \'150\', \'08\', \'2016\', \'1\', \'OR[00000019]\', \'0\', \'User\')','sales/save_update_sale','0.016364097595215','2016-08-29 15:21:48'),(26003,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000039\', \'fad\', \'32761\', \'\', 150, \'1\', \'1\', \'150\', \'08\', \'2016\', \'OR[00000019]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016396999359131','2016-08-29 15:21:48'),(26004,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000039\', 3, \'ACT\', \'32772\', \'\', 77, \'1\', \'1\', \'77\', \'08\', \'2016\', \'2\', \'OR[00000019]\', \'0\', \'User\')','sales/save_update_sale','0.024715185165405','2016-08-29 15:21:48'),(26005,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160800000039\', \'ACT\', \'32761\', \'\', 77, \'1\', \'1\', \'77\', \'08\', \'2016\', \'OR[00000019]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016382932662964','2016-08-29 15:21:48'),(26006,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 227, `total_amount_cr` = 227, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000039\'','sales/save_update_sale','0.016492128372192','2016-08-29 15:21:48'),(26007,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'694\'','sales/save_update_sale','0.016555070877075','2016-08-29 15:21:48'),(26008,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11272','sales/save_update_sale','0.016508102416992','2016-08-29 15:21:48'),(26009,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000039\'','sales/save_update_sale','0.016503095626831','2016-08-29 15:21:48'),(26010,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015449047088623','2016-08-29 15:21:48'),(26011,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015918970108032','2016-08-29 15:21:48'),(26012,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015913009643555','2016-08-29 15:21:48'),(26013,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015868902206421','2016-08-29 15:21:48'),(26014,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000039\'','sales/save_update_sale','0.05044412612915','2016-08-29 15:22:08'),(26015,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000039\'','sales/save_update_sale','0.019368886947632','2016-08-29 15:22:08'),(26016,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-10\', `bankID` = \'123\', `totalReceived` = \'227.00\', `updateAble` = 1 WHERE `ID` =  \'694\'','sales/save_update_sale','0.0081019401550293','2016-08-29 15:22:08'),(26017,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'694\'','sales/save_update_sale','0.014248847961426','2016-08-29 15:22:08'),(26018,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'694\', \'fad\', \'150.00\', \'32772\', 1)','sales/save_update_sale','0.010492086410522','2016-08-29 15:22:08'),(26019,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'694\', \'ACT\', \'77.00\', \'32772\', 2)','sales/save_update_sale','0.016561031341553','2016-08-29 15:22:08'),(26020,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'694\'','sales/save_update_sale','0.00018310546875','2016-08-29 15:22:08'),(26021,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'297\'','sales/save_update_sale','0.017287969589233','2016-08-29 15:22:08'),(26022,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000040\' WHERE `ID` =  \'694\'','sales/save_update_sale','0.016504049301147','2016-08-29 15:22:08'),(26023,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000040\', \'OR[00000019]\', \'Sales [ OR[00000019] ]\', \'\', \'2\', \'2016-08-10\', \'2016\', \'08\', \'227\', \'227\', \'10\')','sales/save_update_sale','0.011797904968262','2016-08-29 15:22:08'),(26024,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000040\', 1, \'fad\', \'32772\', \'\', 150, \'1\', \'1\', \'150\', \'08\', \'2016\', \'1\', \'OR[00000019]\', \'0\', \'User\')','sales/save_update_sale','0.018941879272461','2016-08-29 15:22:08'),(26025,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000040\', \'fad\', \'32762\', \'\', 150, \'1\', \'1\', \'150\', \'08\', \'2016\', \'OR[00000019]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.01640796661377','2016-08-29 15:22:08'),(26026,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000040\', 3, \'ACT\', \'32772\', \'\', 77, \'1\', \'1\', \'77\', \'08\', \'2016\', \'2\', \'OR[00000019]\', \'0\', \'User\')','sales/save_update_sale','0.016385078430176','2016-08-29 15:22:08'),(26027,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160800000040\', \'ACT\', \'32762\', \'\', 77, \'1\', \'1\', \'77\', \'08\', \'2016\', \'OR[00000019]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016427040100098','2016-08-29 15:22:08'),(26028,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 227, `total_amount_cr` = 227, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000040\'','sales/save_update_sale','0.016496896743774','2016-08-29 15:22:08'),(26029,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'694\'','sales/save_update_sale','0.016544103622437','2016-08-29 15:22:08'),(26030,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11273','sales/save_update_sale','0.016535997390747','2016-08-29 15:22:08'),(26031,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000040\'','sales/save_update_sale','0.024833202362061','2016-08-29 15:22:08'),(26032,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015507936477661','2016-08-29 15:22:08'),(26033,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015986919403076','2016-08-29 15:22:08'),(26034,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015964031219482','2016-08-29 15:22:08'),(26035,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.013469934463501','2016-08-29 15:22:08'),(26036,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-29\', \'122\', \'13090\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.20504999160767','2016-08-29 15:30:08'),(26037,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2171, \'32762\', \'13090\', \'fadddd\')','transfer/newTransfer','0.060384035110474','2016-08-29 15:30:08'),(26038,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'282\'','transfer/newTransfer','0.024486064910889','2016-08-29 15:30:08'),(26039,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000040\' WHERE `ID` =  2171','transfer/newTransfer','0.016508102416992','2016-08-29 15:30:08'),(26040,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000040\', \' [TT[00000078]]]\', \'Bank Transfer [  [TT[00000078]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 13090, 13090, \'User\')','transfer/newTransfer','0.030840873718262','2016-08-29 15:30:08'),(26041,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000040\', 1, \'fadddd\', \'32761\', 13090, 1, \'1\', \'13090\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/newTransfer','0.06636905670166','2016-08-29 15:30:08'),(26042,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000040\', 2, \'fadddd\', \'32762\', 13090, 1, \'1\', \'13090\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/newTransfer','0.013824939727783','2016-08-29 15:30:08'),(26043,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 13090, `total_amount_cr` = 13090, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000040\'','transfer/newTransfer','0.027366161346436','2016-08-29 15:30:08'),(26044,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2171','transfer/newTransfer','0.013956069946289','2016-08-29 15:30:08'),(26045,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11274','transfer/newTransfer','0.019107818603516','2016-08-29 15:30:08'),(26046,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000040\'','transfer/newTransfer','0.0081448554992676','2016-08-29 15:30:08'),(26047,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.041727066040039','2016-08-29 15:30:08'),(26048,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.032171964645386','2016-08-29 15:30:08'),(26049,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'77\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.04138708114624','2016-08-29 15:38:53'),(26050,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'77\', `itemdescription` = \'fadddd\' WHERE `ID` =  \'2146\'','transfer/saveTransfer','0.022020816802979','2016-08-29 15:38:53'),(26051,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000040\'','transfer/saveTransfer','0.044291019439697','2016-08-29 15:38:53'),(26052,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000040\'','transfer/saveTransfer','0.066524028778076','2016-08-29 15:38:53'),(26053,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.034159898757935','2016-08-29 15:38:53'),(26054,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000041\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.030503034591675','2016-08-29 15:38:53'),(26055,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000041\', \' [TT[00000078]]]\', \'Bank Transfer [  [TT[00000078]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 77, 77, \'User\')','transfer/saveTransfer','0.023025035858154','2016-08-29 15:38:53'),(26056,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000041\', 1, \'fadddd\', \'32761\', 77, 1, \'1\', \'77\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.016099214553833','2016-08-29 15:38:53'),(26057,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000041\', 2, \'fadddd\', \'32762\', 77, 1, \'1\', \'77\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.019093036651611','2016-08-29 15:38:53'),(26058,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 77, `total_amount_cr` = 77, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000041\'','transfer/saveTransfer','0.0081601142883301','2016-08-29 15:38:53'),(26059,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.01416802406311','2016-08-29 15:38:53'),(26060,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11275','transfer/saveTransfer','0.010593175888062','2016-08-29 15:38:53'),(26061,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000041\'','transfer/saveTransfer','0.016506910324097','2016-08-29 15:38:54'),(26062,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.033506870269775','2016-08-29 15:38:54'),(26063,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.029965877532959','2016-08-29 15:38:54'),(26064,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'78.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.017037868499756','2016-08-29 15:41:01'),(26065,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'78.00\', `itemdescription` = \'fadddd\' WHERE `ID` =  \'2146\'','transfer/saveTransfer','0.12692093849182','2016-08-29 15:41:01'),(26066,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000041\'','transfer/saveTransfer','0.03316593170166','2016-08-29 15:41:01'),(26067,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000041\'','transfer/saveTransfer','0.024857997894287','2016-08-29 15:41:01'),(26068,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.023490190505981','2016-08-29 15:41:01'),(26069,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000042\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.010516166687012','2016-08-29 15:41:01'),(26070,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000042\', \' [TT[00000078]]]\', \'Bank Transfer [  [TT[00000078]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 78, 78, \'User\')','transfer/saveTransfer','0.012039184570312','2016-08-29 15:41:01'),(26071,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000042\', 1, \'fadddd\', \'32761\', 78, 1, \'1\', \'78\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.016098976135254','2016-08-29 15:41:01'),(26072,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000042\', 2, \'fadddd\', \'32762\', 78, 1, \'1\', \'78\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.019095182418823','2016-08-29 15:41:02'),(26073,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 78, `total_amount_cr` = 78, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000042\'','transfer/saveTransfer','0.022166967391968','2016-08-29 15:41:02'),(26074,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.019190073013306','2016-08-29 15:41:02'),(26075,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11276','transfer/saveTransfer','0.0082161426544189','2016-08-29 15:41:02'),(26076,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000042\'','transfer/saveTransfer','0.016504049301147','2016-08-29 15:41:02'),(26077,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.031237840652466','2016-08-29 15:41:02'),(26078,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.032320022583008','2016-08-29 15:41:02'),(26079,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'79.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.09679913520813','2016-08-29 15:41:57'),(26080,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'79.00\', `itemdescription` = \'fadddd\' WHERE `ID` =  \'2146\'','transfer/saveTransfer','0.0077958106994629','2016-08-29 15:41:57'),(26081,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000042\'','transfer/saveTransfer','0.0081892013549805','2016-08-29 15:41:57'),(26082,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000042\'','transfer/saveTransfer','0.0081808567047119','2016-08-29 15:41:57'),(26083,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.012543916702271','2016-08-29 15:41:57'),(26084,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000043\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.016175985336304','2016-08-29 15:41:57'),(26085,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000043\', \' [TT[00000078]]]\', \'Bank Transfer [  [TT[00000078]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 79, 79, \'User\')','transfer/saveTransfer','0.017183065414429','2016-08-29 15:41:57'),(26086,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000043\', 1, \'fadddd\', \'32761\', 79, 1, \'1\', \'79\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.0080490112304688','2016-08-29 15:41:57'),(26087,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000043\', 2, \'fadddd\', \'32762\', 79, 1, \'1\', \'79\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.013919115066528','2016-08-29 15:41:57'),(26088,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 79, `total_amount_cr` = 79, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000043\'','transfer/saveTransfer','0.010681867599487','2016-08-29 15:41:57'),(26089,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.016561985015869','2016-08-29 15:41:57'),(26090,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11277','transfer/saveTransfer','0.0081870555877686','2016-08-29 15:41:57'),(26091,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000043\'','transfer/saveTransfer','0.016519069671631','2016-08-29 15:41:57');
INSERT INTO `_log_query` VALUES (26092,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.012737035751343','2016-08-29 15:41:57'),(26093,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.018784999847412','2016-08-29 15:41:57'),(26094,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'3\', \'OP-E\', \'2016-08-29\', \'85\', \'1\')','expenses/fnSaveExpenses','0.071447134017944','2016-08-29 15:46:52'),(26095,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2172, \'1\', \'Item 1\', 1, \'0\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.027692079544067','2016-08-29 15:46:52'),(26096,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2172, \'1\', \'Item 2\', 1, \'0\', \'0.99\', \'0.99\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0081911087036133','2016-08-29 15:46:52'),(26097,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2172, \'1\', \'Item 3\', 1, \'0\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.013965845108032','2016-08-29 15:46:52'),(26098,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2172, \'1\', \'Item 4\', 1, \'0\', \'0.01\', \'0.01\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.010759115219116','2016-08-29 15:46:52'),(26099,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.036528825759888','2016-08-29 15:46:52'),(26100,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000015\' WHERE `ID` =  2172','expenses/fnSaveExpenses','0.011013984680176','2016-08-29 15:46:52'),(26101,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', \'Operating Expenses [OP-E[00000632]]\', \'Operating Expenses [OP-E[00000632]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.028241872787476','2016-08-29 15:46:52'),(26102,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', 1, \'Item 1\', \'32518\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000632]\', \'User\')','expenses/fnSaveExpenses','0.027513980865479','2016-08-29 15:46:52'),(26103,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', 2, \'Item 1\', \'0\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000632]\', \'User\')','expenses/fnSaveExpenses','0.0081009864807129','2016-08-29 15:46:52'),(26104,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', 3, \'Item 2\', \'32518\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-E[00000632]\', \'User\')','expenses/fnSaveExpenses','0.013293027877808','2016-08-29 15:46:52'),(26105,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', 4, \'Item 2\', \'0\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-E[00000632]\', \'User\')','expenses/fnSaveExpenses','0.011209011077881','2016-08-29 15:46:52'),(26106,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', 5, \'Item 3\', \'32518\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000632]\', \'User\')','expenses/fnSaveExpenses','0.0080878734588623','2016-08-29 15:46:52'),(26107,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', 6, \'Item 3\', \'0\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000632]\', \'User\')','expenses/fnSaveExpenses','0.013613939285278','2016-08-29 15:46:53'),(26108,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', 7, \'Item 4\', \'32518\', 0.01, 1, \'1\', \'0.01\', \'08\', \'16\', \'1\', \'OP-E[00000632]\', \'User\')','expenses/fnSaveExpenses','0.010918140411377','2016-08-29 15:46:53'),(26109,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000015\', 8, \'Item 4\', \'0\', 0.01, 1, \'1\', \'0.01\', \'08\', \'16\', \'1\', \'OP-E[00000632]\', \'User\')','expenses/fnSaveExpenses','0.0080878734588623','2016-08-29 15:46:53'),(26110,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000015\'','expenses/fnSaveExpenses','0.030065059661865','2016-08-29 15:46:53'),(26111,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2172','expenses/fnSaveExpenses','0.024799108505249','2016-08-29 15:46:53'),(26112,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11278','expenses/fnSaveExpenses','0.012346982955933','2016-08-29 15:46:53'),(26113,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000015\'','expenses/fnSaveExpenses','0.023825168609619','2016-08-29 15:46:53'),(26114,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.025578022003174','2016-08-29 15:46:53'),(26115,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016069889068604','2016-08-29 15:46:53'),(26116,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012865781784058','2016-08-29 15:46:53'),(26117,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024731874465942','2016-08-29 15:46:53'),(26118,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01038122177124','2016-08-29 15:46:53'),(26119,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032639026641846','2016-08-29 15:46:53'),(26120,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012848138809204','2016-08-29 15:46:53'),(26121,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.035707950592041','2016-08-29 15:46:53'),(26122,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'75.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.093806982040405','2016-08-29 15:47:02'),(26123,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'75.00\', `itemdescription` = \'fadddd\' WHERE `ID` =  \'2146\'','transfer/saveTransfer','0.036031007766724','2016-08-29 15:47:02'),(26124,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000043\'','transfer/saveTransfer','0.056138038635254','2016-08-29 15:47:02'),(26125,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000043\'','transfer/saveTransfer','0.01019287109375','2016-08-29 15:47:02'),(26126,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.014598846435547','2016-08-29 15:47:02'),(26127,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000044\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.011043071746826','2016-08-29 15:47:03'),(26128,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000044\', \' [TT[00000078]]]\', \'Bank Transfer [  [TT[00000078]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 75, 75, \'User\')','transfer/saveTransfer','0.011466979980469','2016-08-29 15:47:03'),(26129,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000044\', 1, \'fadddd\', \'32761\', 75, 1, \'1\', \'75\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.010899066925049','2016-08-29 15:47:03'),(26130,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000044\', 2, \'fadddd\', \'32762\', 75, 1, \'1\', \'75\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.0081019401550293','2016-08-29 15:47:03'),(26131,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 75, `total_amount_cr` = 75, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000044\'','transfer/saveTransfer','0.013334989547729','2016-08-29 15:47:03'),(26132,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.011379957199097','2016-08-29 15:47:03'),(26133,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11279','transfer/saveTransfer','0.016544103622437','2016-08-29 15:47:03'),(26134,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000044\'','transfer/saveTransfer','0.0081548690795898','2016-08-29 15:47:03'),(26135,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.011482000350952','2016-08-29 15:47:03'),(26136,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.018779039382935','2016-08-29 15:47:03'),(26137,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'This is Operating Expenses\', \'1\', \'1\', 1, 1, \'68\', \'3\', \'OP-E\', \'2016-08-29\', \'85\', \'1\')','expenses/fnSaveExpenses','0.057958126068115','2016-08-29 15:47:30'),(26138,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2173, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'0\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2147\'','expenses/fnSaveExpenses','0.013386964797974','2016-08-29 15:47:30'),(26139,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2173, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'0\', `amountIncludedTax` = \'0.99\', `amountExcludedTax` = \'0.99\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2148\'','expenses/fnSaveExpenses','0.011101007461548','2016-08-29 15:47:30'),(26140,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2173, `createdBy` = \'1\', `itemdescription` = \'Item 3\', `lineNo` = 1, `accountID` = \'0\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2149\'','expenses/fnSaveExpenses','0.0080990791320801','2016-08-29 15:47:30'),(26141,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2173, `createdBy` = \'1\', `itemdescription` = \'Item 4\', `lineNo` = 1, `accountID` = \'0\', `amountIncludedTax` = \'0.01\', `amountExcludedTax` = \'0.01\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2150\'','expenses/fnSaveExpenses','0.013130903244019','2016-08-29 15:47:30'),(26142,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.015375852584839','2016-08-29 15:47:30'),(26143,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000016\' WHERE `ID` =  2173','expenses/fnSaveExpenses','0.0082030296325684','2016-08-29 15:47:30'),(26144,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', \'Operating Expenses [OP-E[00000633]]\', \'Operating Expenses [OP-E[00000633]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.028053045272827','2016-08-29 15:47:30'),(26145,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', 1, \'Item 1\', \'32518\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000633]\', \'User\')','expenses/fnSaveExpenses','0.010962009429932','2016-08-29 15:47:30'),(26146,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', 2, \'Item 1\', \'0\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000633]\', \'User\')','expenses/fnSaveExpenses','0.0081100463867188','2016-08-29 15:47:30'),(26147,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', 3, \'Item 2\', \'32518\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-E[00000633]\', \'User\')','expenses/fnSaveExpenses','0.013207912445068','2016-08-29 15:47:30'),(26148,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', 4, \'Item 2\', \'0\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-E[00000633]\', \'User\')','expenses/fnSaveExpenses','0.011260032653809','2016-08-29 15:47:30'),(26149,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', 5, \'Item 3\', \'32518\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000633]\', \'User\')','expenses/fnSaveExpenses','0.0081040859222412','2016-08-29 15:47:30'),(26150,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', 6, \'Item 3\', \'0\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000633]\', \'User\')','expenses/fnSaveExpenses','0.013512134552002','2016-08-29 15:47:30'),(26151,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', 7, \'Item 4\', \'32518\', 0.01, 1, \'1\', \'0.01\', \'08\', \'16\', \'1\', \'OP-E[00000633]\', \'User\')','expenses/fnSaveExpenses','0.011013031005859','2016-08-29 15:47:30'),(26152,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000016\', 8, \'Item 4\', \'0\', 0.01, 1, \'1\', \'0.01\', \'08\', \'16\', \'1\', \'OP-E[00000633]\', \'User\')','expenses/fnSaveExpenses','0.0080997943878174','2016-08-29 15:47:30'),(26153,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000016\'','expenses/fnSaveExpenses','0.021633863449097','2016-08-29 15:47:30'),(26154,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2173','expenses/fnSaveExpenses','0.016835927963257','2016-08-29 15:47:30'),(26155,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11280','expenses/fnSaveExpenses','0.01111888885498','2016-08-29 15:47:30'),(26156,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000016\'','expenses/fnSaveExpenses','0.033170938491821','2016-08-29 15:47:30'),(26157,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.014348983764648','2016-08-29 15:47:30'),(26158,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076351165771484','2016-08-29 15:47:30'),(26159,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012778997421265','2016-08-29 15:47:30'),(26160,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010893821716309','2016-08-29 15:47:30'),(26161,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01277494430542','2016-08-29 15:47:30'),(26162,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010869979858398','2016-08-29 15:47:30'),(26163,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32518\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012792825698853','2016-08-29 15:47:30'),(26164,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010879993438721','2016-08-29 15:47:30'),(26165,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'79999.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.22759389877319','2016-08-29 15:48:15'),(26166,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'79999.00\', `itemdescription` = \'fadddd\' WHERE `ID` =  \'2146\'','transfer/saveTransfer','0.0081400871276855','2016-08-29 15:48:15'),(26167,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000044\'','transfer/saveTransfer','0.16648578643799','2016-08-29 15:48:15'),(26168,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000044\'','transfer/saveTransfer','0.024832010269165','2016-08-29 15:48:15'),(26169,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.014587879180908','2016-08-29 15:48:15'),(26170,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000045\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.011196136474609','2016-08-29 15:48:15'),(26171,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000045\', \' [TT[00000078]]]\', \'Bank Transfer [  [TT[00000078]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 79999, 79999, \'User\')','transfer/saveTransfer','0.01117992401123','2016-08-29 15:48:15'),(26172,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000045\', 1, \'fadddd\', \'32761\', 79999, 1, \'1\', \'79999\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.01939582824707','2016-08-29 15:48:15'),(26173,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000045\', 2, \'fadddd\', \'32762\', 79999, 1, \'1\', \'79999\', \'08\', \'2016\', \'0\', \'TT[00000078]\', \'User\')','transfer/saveTransfer','0.0080511569976807','2016-08-29 15:48:15'),(26174,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 79999, `total_amount_cr` = 79999, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000045\'','transfer/saveTransfer','0.013146877288818','2016-08-29 15:48:15'),(26175,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2171\'','transfer/saveTransfer','0.01154088973999','2016-08-29 15:48:15'),(26176,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11281','transfer/saveTransfer','0.016532897949219','2016-08-29 15:48:15'),(26177,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000045\'','transfer/saveTransfer','0.0081238746643066','2016-08-29 15:48:15'),(26178,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.019049167633057','2016-08-29 15:48:15'),(26179,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.046263933181763','2016-08-29 15:48:15'),(26180,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'149\', \'1\')','expenses/fnSaveExpenses','0.058092832565308','2016-08-29 15:49:09'),(26181,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2174, \'28\', \'29082016\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024798154830933','2016-08-29 15:49:09'),(26182,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 78 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.031302928924561','2016-08-29 15:49:09'),(26183,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000078\' WHERE `ID` =  2174','expenses/fnSaveExpenses','0.016204118728638','2016-08-29 15:49:09'),(26184,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000078\', \'Cost of Goods Sold [OP-C[00000065]]\', \'Cost of Goods Sold [OP-C[00000065]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.017704010009766','2016-08-29 15:49:09'),(26185,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000078\', 1, \'29082016\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000065]\', \'User\')','expenses/fnSaveExpenses','0.046239137649536','2016-08-29 15:49:09'),(26186,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000078\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000065]\', \'User\')','expenses/fnSaveExpenses','0.025021076202393','2016-08-29 15:49:09'),(26187,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000078\'','expenses/fnSaveExpenses','0.011338949203491','2016-08-29 15:49:09'),(26188,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2174','expenses/fnSaveExpenses','0.0082199573516846','2016-08-29 15:49:09'),(26189,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11282','expenses/fnSaveExpenses','0.0081779956817627','2016-08-29 15:49:09'),(26190,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000078\'','expenses/fnSaveExpenses','0.01332688331604','2016-08-29 15:49:09'),(26191,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.025958061218262','2016-08-29 15:49:09'),(26192,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.037734031677246','2016-08-29 15:49:09'),(26193,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'149\', \'1\')','expenses/fnSaveExpenses','0.10031914710999','2016-08-29 15:49:20'),(26194,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2175, `createdBy` = \'28\', `itemdescription` = \'29082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2151\'','expenses/fnSaveExpenses','0.032994031906128','2016-08-29 15:49:20'),(26195,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 79 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.013482093811035','2016-08-29 15:49:20'),(26196,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000079\' WHERE `ID` =  2175','expenses/fnSaveExpenses','0.011706829071045','2016-08-29 15:49:20'),(26197,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000079\', \'Cost of Goods Sold [OP-C[00000066]]\', \'Cost of Goods Sold [OP-C[00000066]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.014323949813843','2016-08-29 15:49:20'),(26198,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000079\', 1, \'29082016\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000066]\', \'User\')','expenses/fnSaveExpenses','0.0080568790435791','2016-08-29 15:49:20'),(26199,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000079\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000066]\', \'User\')','expenses/fnSaveExpenses','0.0080940723419189','2016-08-29 15:49:20'),(26200,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000079\'','expenses/fnSaveExpenses','0.021744966506958','2016-08-29 15:49:20'),(26201,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2175','expenses/fnSaveExpenses','0.11793899536133','2016-08-29 15:49:20'),(26202,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11283','expenses/fnSaveExpenses','0.046818971633911','2016-08-29 15:49:20'),(26203,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000079\'','expenses/fnSaveExpenses','0.036218881607056','2016-08-29 15:49:20'),(26204,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.014029979705811','2016-08-29 15:49:20'),(26205,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.019185066223145','2016-08-29 15:49:20'),(26206,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'149\', \'1\')','expenses/fnSaveExpenses','0.018934011459351','2016-08-29 15:49:54'),(26207,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2176, `createdBy` = \'28\', `itemdescription` = \'29082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2151\'','expenses/fnSaveExpenses','0.0080580711364746','2016-08-29 15:49:54'),(26208,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 80 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.011258125305176','2016-08-29 15:49:54'),(26209,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000080\' WHERE `ID` =  2176','expenses/fnSaveExpenses','0.011740207672119','2016-08-29 15:49:54'),(26210,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000080\', \'Cost of Goods Sold [OP-C[00000067]]\', \'Cost of Goods Sold [OP-C[00000067]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.010810852050781','2016-08-29 15:49:54'),(26211,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000080\', 1, \'29082016\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000067]\', \'User\')','expenses/fnSaveExpenses','0.011599063873291','2016-08-29 15:49:54'),(26212,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000080\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000067]\', \'User\')','expenses/fnSaveExpenses','0.0080997943878174','2016-08-29 15:49:54'),(26213,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000080\'','expenses/fnSaveExpenses','0.013236999511719','2016-08-29 15:49:54'),(26214,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2176','expenses/fnSaveExpenses','0.019857883453369','2016-08-29 15:49:54'),(26215,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11284','expenses/fnSaveExpenses','0.0081369876861572','2016-08-29 15:49:54'),(26216,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000080\'','expenses/fnSaveExpenses','0.012984991073608','2016-08-29 15:49:54'),(26217,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.027501106262207','2016-08-29 15:49:54'),(26218,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012413024902344','2016-08-29 15:49:54'),(26219,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'149\', \'1\')','expenses/fnSaveExpenses','0.090755939483643','2016-08-29 15:49:58'),(26220,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2177, `createdBy` = \'28\', `itemdescription` = \'29082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2151\'','expenses/fnSaveExpenses','0.011433124542236','2016-08-29 15:49:58'),(26221,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 81 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.028652191162109','2016-08-29 15:49:58'),(26222,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000081\' WHERE `ID` =  2177','expenses/fnSaveExpenses','0.01145601272583','2016-08-29 15:49:58'),(26223,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000081\', \'Cost of Goods Sold [OP-C[00000068]]\', \'Cost of Goods Sold [OP-C[00000068]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.011034965515137','2016-08-29 15:49:58'),(26224,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000081\', 1, \'29082016\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000068]\', \'User\')','expenses/fnSaveExpenses','0.011361122131348','2016-08-29 15:49:58'),(26225,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000081\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000068]\', \'User\')','expenses/fnSaveExpenses','0.0080749988555908','2016-08-29 15:49:58'),(26226,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000081\'','expenses/fnSaveExpenses','0.012911081314087','2016-08-29 15:49:58'),(26227,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2177','expenses/fnSaveExpenses','0.011790990829468','2016-08-29 15:49:58'),(26228,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11285','expenses/fnSaveExpenses','0.012969017028809','2016-08-29 15:49:58'),(26229,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000081\'','expenses/fnSaveExpenses','0.011739015579224','2016-08-29 15:49:58'),(26230,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0119788646698','2016-08-29 15:49:58'),(26231,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011149883270264','2016-08-29 15:49:58'),(26232,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'149\', \'1\')','expenses/fnSaveExpenses','0.020821094512939','2016-08-29 15:50:30'),(26233,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2178, `createdBy` = \'28\', `itemdescription` = \'29082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2151\'','expenses/fnSaveExpenses','0.01637601852417','2016-08-29 15:50:30'),(26234,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 82 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.019346952438354','2016-08-29 15:50:30'),(26235,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000082\' WHERE `ID` =  2178','expenses/fnSaveExpenses','0.011744976043701','2016-08-29 15:50:30'),(26236,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000082\', \'Cost of Goods Sold [OP-C[00000069]]\', \'Cost of Goods Sold [OP-C[00000069]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.010755062103271','2016-08-29 15:50:30'),(26237,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000082\', 1, \'29082016\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000069]\', \'User\')','expenses/fnSaveExpenses','0.02502179145813','2016-08-29 15:50:30'),(26238,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000082\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000069]\', \'User\')','expenses/fnSaveExpenses','0.016120910644531','2016-08-29 15:50:30'),(26239,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000082\'','expenses/fnSaveExpenses','0.011740922927856','2016-08-29 15:50:30'),(26240,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2178','expenses/fnSaveExpenses','0.0081939697265625','2016-08-29 15:50:30'),(26241,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11286','expenses/fnSaveExpenses','0.013278007507324','2016-08-29 15:50:30'),(26242,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000082\'','expenses/fnSaveExpenses','0.011415004730225','2016-08-29 15:50:30'),(26243,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.038059949874878','2016-08-29 15:50:30'),(26244,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.029049158096313','2016-08-29 15:50:30'),(26245,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'149\', \'1\')','expenses/fnSaveExpenses','0.12232398986816','2016-08-29 15:51:16'),(26246,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2179, `createdBy` = \'28\', `itemdescription` = \'29082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2151\'','expenses/fnSaveExpenses','0.02376389503479','2016-08-29 15:51:16'),(26247,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 83 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.032013893127441','2016-08-29 15:51:16'),(26248,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000083\' WHERE `ID` =  2179','expenses/fnSaveExpenses','0.019881010055542','2016-08-29 15:51:16'),(26249,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000083\', \'Cost of Goods Sold [OP-C[00000070]]\', \'Cost of Goods Sold [OP-C[00000070]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.019335031509399','2016-08-29 15:51:16'),(26250,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000083\', 1, \'29082016\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000070]\', \'User\')','expenses/fnSaveExpenses','0.057751893997192','2016-08-29 15:51:16'),(26251,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000083\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000070]\', \'User\')','expenses/fnSaveExpenses','0.011779069900513','2016-08-29 15:51:16'),(26252,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000083\'','expenses/fnSaveExpenses','0.02112889289856','2016-08-29 15:51:16'),(26253,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2179','expenses/fnSaveExpenses','0.011911869049072','2016-08-29 15:51:16'),(26254,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11287','expenses/fnSaveExpenses','0.0081908702850342','2016-08-29 15:51:16'),(26255,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000083\'','expenses/fnSaveExpenses','0.01316499710083','2016-08-29 15:51:16'),(26256,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.022619009017944','2016-08-29 15:51:16'),(26257,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.036293983459473','2016-08-29 15:51:16'),(26258,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, 1, \'68\', \'100\', \'OP-C\', \'2016-08-29\', \'149\', \'1\')','expenses/fnSaveExpenses','0.12980604171753','2016-08-29 15:52:55'),(26259,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2180, `createdBy` = \'28\', `itemdescription` = \'29082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2151\'','expenses/fnSaveExpenses','0.053526878356934','2016-08-29 15:52:55'),(26260,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 84 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.02997612953186','2016-08-29 15:52:55'),(26261,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000084\' WHERE `ID` =  2180','expenses/fnSaveExpenses','0.012800931930542','2016-08-29 15:52:55'),(26262,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000084\', \'Cost of Goods Sold [OP-C[00000071]]\', \'Cost of Goods Sold [OP-C[00000071]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.030749082565308','2016-08-29 15:52:55'),(26263,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000084\', 1, \'29082016\', \'33008\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000071]\', \'User\')','expenses/fnSaveExpenses','0.050019025802612','2016-08-29 15:52:55'),(26264,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000084\', 2, \'29082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000071]\', \'User\')','expenses/fnSaveExpenses','0.016113042831421','2016-08-29 15:52:55'),(26265,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000084\'','expenses/fnSaveExpenses','0.012163162231445','2016-08-29 15:52:55'),(26266,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2180','expenses/fnSaveExpenses','0.012557029724121','2016-08-29 15:52:55'),(26267,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11288','expenses/fnSaveExpenses','0.012193202972412','2016-08-29 15:52:55'),(26268,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000084\'','expenses/fnSaveExpenses','0.012497901916504','2016-08-29 15:52:55'),(26269,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.022708177566528','2016-08-29 15:52:55'),(26270,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032320022583008','2016-08-29 15:52:55'),(26271,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000055\'','sales/save_update_sale','0.11098909378052','2016-08-29 15:53:19'),(26272,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000055\'','sales/save_update_sale','0.020781993865967','2016-08-29 15:53:19'),(26273,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'148\', `totalReceived` = \'100.00\', `updateAble` = 1 WHERE `ID` =  \'2228\'','sales/save_update_sale','0.016731977462769','2016-08-29 15:53:19'),(26274,23,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2228\'','sales/save_update_sale','0.024562835693359','2016-08-29 15:53:19'),(26275,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2228\', \'harini\', \'100.00\', \'33018\', 1)','sales/save_update_sale','0.016832828521729','2016-08-29 15:53:19'),(26276,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.00018191337585449','2016-08-29 15:53:19'),(26277,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'320\'','sales/save_update_sale','0.008864164352417','2016-08-29 15:53:19'),(26278,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000056\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.012178897857666','2016-08-29 15:53:19'),(26279,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000056\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'100\', \'100\', \'28\')','sales/save_update_sale','0.010272026062012','2016-08-29 15:53:19'),(26280,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000056\', 1, \'harini\', \'33018\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.037041187286377','2016-08-29 15:53:19'),(26281,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000056\', \'harini\', \'33007\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.0080549716949463','2016-08-29 15:53:19'),(26282,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000056\'','sales/save_update_sale','0.020814180374146','2016-08-29 15:53:19'),(26283,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.012186050415039','2016-08-29 15:53:19'),(26284,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11289','sales/save_update_sale','0.029181957244873','2016-08-29 15:53:19'),(26285,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000056\'','sales/save_update_sale','0.012158870697021','2016-08-29 15:53:19'),(26286,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015475034713745','2016-08-29 15:53:19'),(26287,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015923023223877','2016-08-29 15:53:19'),(26288,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000056\'','sales/save_update_sale','0.021701097488403','2016-08-29 15:53:33'),(26289,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000056\'','sales/save_update_sale','0.012058019638062','2016-08-29 15:53:33'),(26290,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'148\', `totalReceived` = \'100.00\', `updateAble` = 1 WHERE `ID` =  \'2228\'','sales/save_update_sale','0.008105993270874','2016-08-29 15:53:33'),(26291,23,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2228\'','sales/save_update_sale','0.0123450756073','2016-08-29 15:53:33'),(26292,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2228\', \'harini\', \'100.00\', \'33018\', 1)','sales/save_update_sale','0.01239800453186','2016-08-29 15:53:33'),(26293,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.00020599365234375','2016-08-29 15:53:34'),(26294,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'320\'','sales/save_update_sale','0.017853975296021','2016-08-29 15:53:34'),(26295,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000057\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.0081501007080078','2016-08-29 15:53:34'),(26296,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000057\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'100\', \'100\', \'28\')','sales/save_update_sale','0.010116100311279','2016-08-29 15:53:34'),(26297,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000057\', 1, \'harini\', \'33018\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.012181997299194','2016-08-29 15:53:34'),(26298,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000057\', \'harini\', \'33007\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.01224684715271','2016-08-29 15:53:34'),(26299,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000057\'','sales/save_update_sale','0.012326955795288','2016-08-29 15:53:34'),(26300,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.012380123138428','2016-08-29 15:53:34'),(26301,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11290','sales/save_update_sale','0.012338876724243','2016-08-29 15:53:34'),(26302,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000057\'','sales/save_update_sale','0.012353181838989','2016-08-29 15:53:34'),(26303,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.013367891311646','2016-08-29 15:53:34'),(26304,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.040910005569458','2016-08-29 15:53:34'),(26305,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000057\'','sales/save_update_sale','0.28982210159302','2016-08-29 15:54:19'),(26306,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000057\'','sales/save_update_sale','0.12901401519775','2016-08-29 15:54:19'),(26307,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'148\', `totalReceived` = \'100.00\', `updateAble` = 1 WHERE `ID` =  \'2228\'','sales/save_update_sale','0.029136896133423','2016-08-29 15:54:19'),(26308,23,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2228\'','sales/save_update_sale','0.057883024215698','2016-08-29 15:54:19'),(26309,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2228\', \'harini\', \'100.00\', \'33018\', 1)','sales/save_update_sale','0.029145002365112','2016-08-29 15:54:19'),(26310,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.00023317337036133','2016-08-29 15:54:19'),(26311,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'320\'','sales/save_update_sale','0.018006086349487','2016-08-29 15:54:19'),(26312,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000058\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.058151006698608','2016-08-29 15:54:19'),(26313,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000058\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'100\', \'100\', \'28\')','sales/save_update_sale','0.022510051727295','2016-08-29 15:54:19'),(26314,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000058\', 1, \'harini\', \'33018\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.020473003387451','2016-08-29 15:54:19'),(26315,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000058\', \'harini\', \'33007\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.012246131896973','2016-08-29 15:54:19'),(26316,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000058\'','sales/save_update_sale','0.012279987335205','2016-08-29 15:54:19'),(26317,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2228\'','sales/save_update_sale','0.012388944625854','2016-08-29 15:54:19'),(26318,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11291','sales/save_update_sale','0.012315034866333','2016-08-29 15:54:19'),(26319,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000058\'','sales/save_update_sale','0.012377023696899','2016-08-29 15:54:19'),(26320,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.026710987091064','2016-08-29 15:54:19'),(26321,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.045202016830444','2016-08-29 15:54:19'),(26322,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-16\', `bankID` = \'148\', `payTo` = \'150\', `amountPaid` = \'1200000.10\', `companyID` = \'23\', `updateAble` = 1 WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.033933877944946','2016-08-29 15:55:11'),(26323,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33009\', `amountExcludedTax` = \'1200000.10\', `itemdescription` = \'fad\' WHERE `ID` =  \'1962\'','transfer/saveTransfer','0.020575046539307','2016-08-29 15:55:11'),(26324,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000074\'','transfer/saveTransfer','0.012440204620361','2016-08-29 15:55:11'),(26325,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AP20160800000074\'','transfer/saveTransfer','0.074863910675049','2016-08-29 15:55:11'),(26326,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 85 WHERE `ID` =  \'314\'','transfer/saveTransfer','0.033776998519897','2016-08-29 15:55:11'),(26327,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000085\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.010169982910156','2016-08-29 15:55:11'),(26328,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000085\', \' [TT[00000028]]]\', \'Bank Transfer [  [TT[00000028]]] ]\', \'\', \'3\', \'2016-08-16\', \'2016\', \'08\', 1200000.1, 1200000.1, \'User\')','transfer/saveTransfer','0.010229110717773','2016-08-29 15:55:11'),(26329,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000085\', 1, \'fad\', \'33007\', 1200000.1, 1, \'1\', \'1200000.1\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.012202978134155','2016-08-29 15:55:11'),(26330,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000085\', 2, \'fad\', \'33009\', 1200000.1, 1, \'1\', \'1200000.1\', \'08\', \'2016\', \'0\', \'TT[00000028]\', \'User\')','transfer/saveTransfer','0.016422986984253','2016-08-29 15:55:11'),(26331,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1200000.1, `total_amount_cr` = 1200000.1, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000085\'','transfer/saveTransfer','0.016494989395142','2016-08-29 15:55:11'),(26332,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2046\'','transfer/saveTransfer','0.020725011825562','2016-08-29 15:55:11'),(26333,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11292','transfer/saveTransfer','0.012353897094727','2016-08-29 15:55:11'),(26334,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000085\'','transfer/saveTransfer','0.012362957000732','2016-08-29 15:55:11'),(26335,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.039026021957397','2016-08-29 15:55:11'),(26336,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.016268014907837','2016-08-29 15:55:11'),(26337,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2155\'','expenses/removePayment','0.021782159805298','2016-08-29 15:56:30'),(26338,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2172\'','expenses/removePayment','0.029828071594238','2016-08-29 15:56:30'),(26339,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2173\'','expenses/removePayment','0.026297807693481','2016-08-29 15:56:30'),(26340,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000059\'','sales/save_update_sale','0.04121208190918','2016-08-29 15:58:42'),(26341,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000059\'','sales/save_update_sale','0.012763023376465','2016-08-29 15:58:42'),(26342,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'149\', `totalReceived` = \'300.00\', `updateAble` = 1 WHERE `ID` =  \'2244\'','sales/save_update_sale','0.011857986450195','2016-08-29 15:58:42'),(26343,23,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2244\'','sales/save_update_sale','0.012799024581909','2016-08-29 15:58:42'),(26344,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2244\', \'29082016\', \'100.00\', \'33018\', 1)','sales/save_update_sale','0.011926889419556','2016-08-29 15:58:42'),(26345,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2244\', \'290820162\', \'200.00\', \'33018\', 2)','sales/save_update_sale','0.025189161300659','2016-08-29 15:58:42'),(26346,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2244\'','sales/save_update_sale','0.00018787384033203','2016-08-29 15:58:42'),(26347,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  \'320\'','sales/save_update_sale','0.020920038223267','2016-08-29 15:58:42'),(26348,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000060\' WHERE `ID` =  \'2244\'','sales/save_update_sale','0.012248039245605','2016-08-29 15:58:42'),(26349,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000060\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'300\', \'300\', \'28\')','sales/save_update_sale','0.018554925918579','2016-08-29 15:58:42'),(26350,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000060\', 1, \'29082016\', \'33018\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.012108087539673','2016-08-29 15:58:42'),(26351,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000060\', \'29082016\', \'33008\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.01230788230896','2016-08-29 15:58:42'),(26352,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000060\', 3, \'290820162\', \'33018\', \'\', 200, \'1\', \'1\', \'200\', \'08\', \'2016\', \'2\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.012134075164795','2016-08-29 15:58:42'),(26353,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 4, \'AR20160800000060\', \'290820162\', \'33008\', \'\', 200, \'1\', \'1\', \'200\', \'08\', \'2016\', \'OR[00000016]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.012305974960327','2016-08-29 15:58:42'),(26354,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000060\'','sales/save_update_sale','0.012236833572388','2016-08-29 15:58:42'),(26355,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2244\'','sales/save_update_sale','0.012476921081543','2016-08-29 15:58:42'),(26356,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11294','sales/save_update_sale','0.012255907058716','2016-08-29 15:58:42'),(26357,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000060\'','sales/save_update_sale','0.012428998947144','2016-08-29 15:58:42'),(26358,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.019564151763916','2016-08-29 15:58:42'),(26359,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011860132217407','2016-08-29 15:58:42'),(26360,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.019991159439087','2016-08-29 15:58:42'),(26361,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011890888214111','2016-08-29 15:58:42'),(26362,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000061\'','sales/save_update_sale','0.086570024490356','2016-08-29 16:00:30'),(26363,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000061\'','sales/save_update_sale','0.012750864028931','2016-08-29 16:00:30'),(26364,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'148\', `totalReceived` = \'300.00\', `updateAble` = 1 WHERE `ID` =  \'2245\'','sales/save_update_sale','0.016458034515381','2016-08-29 16:00:30'),(26365,23,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2245\'','sales/save_update_sale','0.019996881484985','2016-08-29 16:00:30'),(26366,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2245\', \'29082016\', \'100.00\', \'33018\', 1)','sales/save_update_sale','0.0084798336029053','2016-08-29 16:00:30'),(26367,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2245\', \'290820162\', \'200.00\', \'33018\', 2)','sales/save_update_sale','0.012803792953491','2016-08-29 16:00:30'),(26368,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2245\'','sales/save_update_sale','0.00023102760314941','2016-08-29 16:00:31'),(26369,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  \'320\'','sales/save_update_sale','0.011740207672119','2016-08-29 16:00:31'),(26370,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000062\' WHERE `ID` =  \'2245\'','sales/save_update_sale','0.012700080871582','2016-08-29 16:00:31'),(26371,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000062\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'300\', \'300\', \'28\')','sales/save_update_sale','0.018136024475098','2016-08-29 16:00:31'),(26372,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000062\', 1, \'29082016\', \'33018\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.012573957443237','2016-08-29 16:00:31'),(26373,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000062\', \'29082016\', \'33007\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.011881113052368','2016-08-29 16:00:31'),(26374,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000062\', 3, \'290820162\', \'33018\', \'\', 200, \'1\', \'1\', \'200\', \'08\', \'2016\', \'2\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.012584924697876','2016-08-29 16:00:31'),(26375,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 4, \'AR20160800000062\', \'290820162\', \'33007\', \'\', 200, \'1\', \'1\', \'200\', \'08\', \'2016\', \'OR[00000016]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.011871099472046','2016-08-29 16:00:31'),(26376,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000062\'','sales/save_update_sale','0.01270604133606','2016-08-29 16:00:31'),(26377,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2245\'','sales/save_update_sale','0.011987924575806','2016-08-29 16:00:31'),(26378,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11296','sales/save_update_sale','0.012740135192871','2016-08-29 16:00:31'),(26379,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000062\'','sales/save_update_sale','0.011964797973633','2016-08-29 16:00:31'),(26380,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011687994003296','2016-08-29 16:00:31'),(26381,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011354923248291','2016-08-29 16:00:31'),(26382,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.01214599609375','2016-08-29 16:00:31'),(26383,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011392116546631','2016-08-29 16:00:31'),(26384,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'1\', \'OP-E\', \'2016-08-29\', \'82\', \'1\')','expenses/fnSaveExpenses','0.10140991210938','2016-08-29 16:06:02'),(26385,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2181, \'1\', \'Item 1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.053339004516602','2016-08-29 16:06:02'),(26386,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.022932052612305','2016-08-29 16:06:02'),(26387,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000017\' WHERE `ID` =  2181','expenses/fnSaveExpenses','0.011803865432739','2016-08-29 16:06:02'),(26388,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000017\', \'Operating Expenses [OP-E[00000634]]\', \'Operating Expenses [OP-E[00000634]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.030755996704102','2016-08-29 16:06:02'),(26389,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000017\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000634]\', \'User\')','expenses/fnSaveExpenses','0.038068056106567','2016-08-29 16:06:02'),(26390,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000017\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000634]\', \'User\')','expenses/fnSaveExpenses','0.01141095161438','2016-08-29 16:06:02'),(26391,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000017\'','expenses/fnSaveExpenses','0.021492004394531','2016-08-29 16:06:02'),(26392,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2181','expenses/fnSaveExpenses','0.011560916900635','2016-08-29 16:06:02'),(26393,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11297','expenses/fnSaveExpenses','0.0084781646728516','2016-08-29 16:06:02'),(26394,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000017\'','expenses/fnSaveExpenses','0.037873983383179','2016-08-29 16:06:02'),(26395,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.03583288192749','2016-08-29 16:06:02'),(26396,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010704040527344','2016-08-29 16:06:02'),(26397,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'3\', \'OP-E\', \'2016-08-29\', \'84\', \'1\')','expenses/fnSaveExpenses','0.025519847869873','2016-08-29 16:15:03'),(26398,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2182, \'1\', \'Item 1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012176036834717','2016-08-29 16:15:03'),(26399,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2182, \'1\', \'Item 2\', 1, \'32530\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012476921081543','2016-08-29 16:15:03'),(26400,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2182, \'1\', \'Item 3\', 1, \'32531\', \'0.99\', \'0.99\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.020534038543701','2016-08-29 16:15:03'),(26401,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2182, \'1\', \'Item 4\', 1, \'32532\', \'0.01\', \'0.01\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012470960617065','2016-08-29 16:15:03'),(26402,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.015941858291626','2016-08-29 16:15:03'),(26403,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000018\' WHERE `ID` =  2182','expenses/fnSaveExpenses','0.012647151947021','2016-08-29 16:15:03'),(26404,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', \'Operating Expenses [OP-E[00000635]]\', \'Operating Expenses [OP-E[00000635]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.0098459720611572','2016-08-29 16:15:03'),(26405,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', 1, \'Item 1\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000635]\', \'User\')','expenses/fnSaveExpenses','0.012508153915405','2016-08-29 16:15:03'),(26406,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000635]\', \'User\')','expenses/fnSaveExpenses','0.011959075927734','2016-08-29 16:15:03'),(26407,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', 3, \'Item 2\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000635]\', \'User\')','expenses/fnSaveExpenses','0.012526035308838','2016-08-29 16:15:03'),(26408,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', 4, \'Item 2\', \'32530\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000635]\', \'User\')','expenses/fnSaveExpenses','0.011954069137573','2016-08-29 16:15:03'),(26409,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', 5, \'Item 3\', \'32517\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-E[00000635]\', \'User\')','expenses/fnSaveExpenses','0.012543916702271','2016-08-29 16:15:03'),(26410,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', 6, \'Item 3\', \'32531\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-E[00000635]\', \'User\')','expenses/fnSaveExpenses','0.011945962905884','2016-08-29 16:15:03'),(26411,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', 7, \'Item 4\', \'32517\', 0.01, 1, \'1\', \'0.01\', \'08\', \'16\', \'1\', \'OP-E[00000635]\', \'User\')','expenses/fnSaveExpenses','0.012538909912109','2016-08-29 16:15:03'),(26412,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000018\', 8, \'Item 4\', \'32532\', 0.01, 1, \'1\', \'0.01\', \'08\', \'16\', \'1\', \'OP-E[00000635]\', \'User\')','expenses/fnSaveExpenses','0.01195502281189','2016-08-29 16:15:03'),(26413,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000018\'','expenses/fnSaveExpenses','0.012614011764526','2016-08-29 16:15:03'),(26414,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2182','expenses/fnSaveExpenses','0.0121009349823','2016-08-29 16:15:03'),(26415,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11301','expenses/fnSaveExpenses','0.041534900665283','2016-08-29 16:15:03'),(26416,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000018\'','expenses/fnSaveExpenses','0.012301921844482','2016-08-29 16:15:03'),(26417,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.03616189956665','2016-08-29 16:15:03'),(26418,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011721134185791','2016-08-29 16:15:03'),(26419,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011749029159546','2016-08-29 16:15:03'),(26420,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011785984039307','2016-08-29 16:15:03'),(26421,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011784076690674','2016-08-29 16:15:03'),(26422,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32531\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011765003204346','2016-08-29 16:15:03'),(26423,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011800050735474','2016-08-29 16:15:03'),(26424,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32532\', \'2016\', \'8\', \'0.01\', \'0\', 0.01, \'User\', \'2016-08-29: 10:08:03\')','expenses/fnSaveExpenses','0.011551141738892','2016-08-29 16:15:03'),(26425,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000065\'','sales/save_update_sale','0.10087895393372','2016-08-29 16:16:53'),(26426,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000065\'','sales/save_update_sale','0.029187917709351','2016-08-29 16:16:53'),(26427,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'150\', `totalReceived` = \'11111.11\', `updateAble` = 1 WHERE `ID` =  \'2248\'','sales/save_update_sale','0.020463943481445','2016-08-29 16:16:53'),(26428,23,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2248\'','sales/save_update_sale','0.037345170974731','2016-08-29 16:16:53'),(26429,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2248\', \'29082016\', \'10000.00\', \'33018\', 1)','sales/save_update_sale','0.01623797416687','2016-08-29 16:16:53'),(26430,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2248\', \'2323\', \'1111.11\', \'33018\', 2)','sales/save_update_sale','0.012721061706543','2016-08-29 16:16:53'),(26431,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2248\'','sales/save_update_sale','0.00018095970153809','2016-08-29 16:16:53'),(26432,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  \'320\'','sales/save_update_sale','0.01321005821228','2016-08-29 16:16:53'),(26433,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000066\' WHERE `ID` =  \'2248\'','sales/save_update_sale','0.012639999389648','2016-08-29 16:16:53'),(26434,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000066\', \'OR[00000018]\', \'Jualan [ OR[00000018] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'11111.11\', \'11111.11\', \'28\')','sales/save_update_sale','0.014392137527466','2016-08-29 16:16:53'),(26435,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000066\', 1, \'29082016\', \'33018\', \'\', 10000, \'1\', \'1\', \'10000\', \'08\', \'2016\', \'1\', \'OR[00000018]\', \'0\', \'User\')','sales/save_update_sale','0.03305196762085','2016-08-29 16:16:53'),(26436,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000066\', \'29082016\', \'33009\', \'\', 10000, \'1\', \'1\', \'10000\', \'08\', \'2016\', \'OR[00000018]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.012212038040161','2016-08-29 16:16:53'),(26437,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000066\', 3, \'2323\', \'33018\', \'\', 1111.11, \'1\', \'1\', \'1111.11\', \'08\', \'2016\', \'2\', \'OR[00000018]\', \'0\', \'User\')','sales/save_update_sale','0.012254953384399','2016-08-29 16:16:53'),(26438,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 4, \'AR20160800000066\', \'2323\', \'33009\', \'\', 1111.11, \'1\', \'1\', \'1111.11\', \'08\', \'2016\', \'OR[00000018]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.012217998504639','2016-08-29 16:16:53'),(26439,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 11111.11, `total_amount_cr` = 11111.11, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000066\'','sales/save_update_sale','0.01620888710022','2016-08-29 16:16:53'),(26440,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2248\'','sales/save_update_sale','0.012687921524048','2016-08-29 16:16:53'),(26441,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11302','sales/save_update_sale','0.012081861495972','2016-08-29 16:16:53'),(26442,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000066\'','sales/save_update_sale','0.01264500617981','2016-08-29 16:16:53'),(26443,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011099100112915','2016-08-29 16:16:53'),(26444,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.012120008468628','2016-08-29 16:16:53'),(26445,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011740922927856','2016-08-29 16:16:53'),(26446,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33009\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.12856292724609','2016-08-29 16:16:53'),(26447,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2181\'','expenses/removePayment','0.11527800559998','2016-08-29 16:23:03'),(26448,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2182\'','expenses/removePayment','0.1244900226593','2016-08-29 16:23:03'),(26449,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'2\', \'OP-E\', \'2016-08-29\', \'83\', \'1\')','expenses/fnSaveExpenses','0.06296706199646','2016-08-29 16:27:29'),(26450,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2183, \'1\', \'Item 2\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084371566772461','2016-08-29 16:27:29'),(26451,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2183, \'1\', \'Item 1\', 1, \'32540\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078809261322021','2016-08-29 16:27:29'),(26452,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.014801979064941','2016-08-29 16:27:29'),(26453,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000019\' WHERE `ID` =  2183','expenses/fnSaveExpenses','0.012447834014893','2016-08-29 16:27:29'),(26454,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000019\', \'Operating Expenses [OP-E[00000636]]\', \'Operating Expenses [OP-E[00000636]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.018404960632324','2016-08-29 16:27:29'),(26455,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000019\', 1, \'Item 2\', \'32516\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000636]\', \'User\')','expenses/fnSaveExpenses','0.041094064712524','2016-08-29 16:27:29'),(26456,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000019\', 2, \'Item 2\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000636]\', \'User\')','expenses/fnSaveExpenses','0.012650012969971','2016-08-29 16:27:30'),(26457,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000019\', 3, \'Item 1\', \'32516\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000636]\', \'User\')','expenses/fnSaveExpenses','0.011847972869873','2016-08-29 16:27:30'),(26458,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000019\', 4, \'Item 1\', \'32540\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000636]\', \'User\')','expenses/fnSaveExpenses','0.0083909034729004','2016-08-29 16:27:30'),(26459,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000019\'','expenses/fnSaveExpenses','0.016194820404053','2016-08-29 16:27:30'),(26460,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2183','expenses/fnSaveExpenses','0.0085098743438721','2016-08-29 16:27:30'),(26461,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11303','expenses/fnSaveExpenses','0.016259908676147','2016-08-29 16:27:30'),(26462,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000019\'','expenses/fnSaveExpenses','0.046073913574219','2016-08-29 16:27:30'),(26463,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.027086973190308','2016-08-29 16:27:30'),(26464,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032330989837646','2016-08-29 16:27:30'),(26465,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01137113571167','2016-08-29 16:27:30'),(26466,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'10\', \'32540\', \'2016\', \'8\', \'1\', \'0\', 1, \'User\', \'2016-08-29: 10:08:29\')','expenses/fnSaveExpenses','0.012036085128784','2016-08-29 16:27:30'),(26467,23,28,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'Pikachu Sdn Bhd\', `webPageName` = \'hijrah.com\', `line1` = \'LOT 5555\', `line2` = \'taman samudra\', `line3` = \'BATU CAVES\', `city` = \'BATU CAVES\', `companyPostCode` = \'53100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'7\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'23\'','setup/companySetup','0.086693048477173','2016-08-29 16:29:04'),(26468,23,28,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Pikachu Sdn Bhd\', `webPageName` = \'hijrah.com\', `line1` = \'LOT 5555\', `line2` = \'taman samudra\', `line3` = \'BATU CAVES\', `city` = \'BATU CAVES\', `companyPostCode` = \'53100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'7\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'23\'','setup/companySetup','0.19981288909912','2016-08-29 16:29:04'),(26469,23,28,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'Pikachu Sdn Bhd\', `webPageName` = \'hijrah.comsali\', `line1` = \'LOT 5555\', `line2` = \'taman samudra\', `line3` = \'BATU CAVES\', `city` = \'BATU CAVES\', `companyPostCode` = \'53100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'7\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'23\'','setup/companySetup','0.094120025634766','2016-08-29 16:29:39'),(26470,23,28,'192.168.1.201','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Pikachu Sdn Bhd\', `webPageName` = \'hijrah.comsali\', `line1` = \'LOT 5555\', `line2` = \'taman samudra\', `line3` = \'BATU CAVES\', `city` = \'BATU CAVES\', `companyPostCode` = \'53100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'\', `faxNo` = \'\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'7\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'23\'','setup/companySetup','0.012748003005981','2016-08-29 16:29:39'),(26471,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000042\'','sales/save_update_sale','0.088903188705444','2016-08-29 16:29:49'),(26472,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000042\'','sales/save_update_sale','0.012986898422241','2016-08-29 16:29:49'),(26473,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'123\', `totalReceived` = \'1111.00\', `updateAble` = 1 WHERE `ID` =  \'2250\'','sales/save_update_sale','0.011647939682007','2016-08-29 16:29:49'),(26474,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2250\'','sales/save_update_sale','0.0085098743438721','2016-08-29 16:29:49'),(26475,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2250\', \'ewqeqwe\', \'1111.00\', \'32772\', 1)','sales/save_update_sale','0.0079090595245361','2016-08-29 16:29:49'),(26476,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.00018095970153809','2016-08-29 16:29:49'),(26477,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'297\'','sales/save_update_sale','0.017916917800903','2016-08-29 16:29:49'),(26478,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000043\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.012643098831177','2016-08-29 16:29:49'),(26479,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000043\', \'OR[00000038]\', \'Jualan [ OR[00000038] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'1111\', \'1111\', \'10\')','sales/save_update_sale','0.0098559856414795','2016-08-29 16:29:49'),(26480,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000043\', 1, \'ewqeqwe\', \'32772\', \'\', 1111, \'1\', \'1\', \'1111\', \'08\', \'2016\', \'1\', \'OR[00000038]\', \'0\', \'User\')','sales/save_update_sale','0.012526988983154','2016-08-29 16:29:49'),(26481,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000043\', \'ewqeqwe\', \'32762\', \'\', 1111, \'1\', \'1\', \'1111\', \'08\', \'2016\', \'OR[00000038]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.011921167373657','2016-08-29 16:29:49'),(26482,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1111, `total_amount_cr` = 1111, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000043\'','sales/save_update_sale','0.012663841247559','2016-08-29 16:29:49'),(26483,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.012063980102539','2016-08-29 16:29:49'),(26484,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11306','sales/save_update_sale','0.012674808502197','2016-08-29 16:29:49'),(26485,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000043\'','sales/save_update_sale','0.012043952941895','2016-08-29 16:29:49'),(26486,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011729955673218','2016-08-29 16:29:49'),(26487,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.011519908905029','2016-08-29 16:29:50'),(26488,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demodemo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.20614194869995','2016-08-29 16:32:24'),(26489,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demodemo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.016578912734985','2016-08-29 16:32:24'),(26490,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.009713888168335','2016-08-29 16:37:30'),(26491,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.011388063430786','2016-08-29 16:37:30'),(26492,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2183\'','expenses/removePayment','0.095077037811279','2016-08-29 16:42:05'),(26493,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-29\', \'122\', \'23132\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.092190980911255','2016-08-29 16:42:49'),(26494,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2184, \'32762\', \'23132\', \'sda\')','transfer/newTransfer','0.011880874633789','2016-08-29 16:42:49'),(26495,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  \'282\'','transfer/newTransfer','0.015799045562744','2016-08-29 16:42:49'),(26496,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000046\' WHERE `ID` =  2184','transfer/newTransfer','0.016823053359985','2016-08-29 16:42:49'),(26497,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000046\', \' [TT[00000079]]]\', \'Bank Transfer [  [TT[00000079]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 23132, 23132, \'User\')','transfer/newTransfer','0.03807806968689','2016-08-29 16:42:49'),(26498,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000046\', 1, \'sda\', \'32761\', 23132, 1, \'1\', \'23132\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/newTransfer','0.017706155776978','2016-08-29 16:42:49'),(26499,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000046\', 2, \'sda\', \'32762\', 23132, 1, \'1\', \'23132\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/newTransfer','0.029283046722412','2016-08-29 16:42:49'),(26500,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23132, `total_amount_cr` = 23132, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000046\'','transfer/newTransfer','0.011965036392212','2016-08-29 16:42:49'),(26501,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2184','transfer/newTransfer','0.02940821647644','2016-08-29 16:42:49'),(26502,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11307','transfer/newTransfer','0.020323991775513','2016-08-29 16:42:49'),(26503,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000046\'','transfer/newTransfer','0.024567127227783','2016-08-29 16:42:50'),(26504,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.014465808868408','2016-08-29 16:42:50'),(26505,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.011868000030518','2016-08-29 16:42:50'),(26506,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'23132.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.081765174865723','2016-08-29 16:43:03'),(26507,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'23132.00\', `itemdescription` = \'sdadd\' WHERE `ID` =  \'2159\'','transfer/saveTransfer','0.013167858123779','2016-08-29 16:43:03'),(26508,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000046\'','transfer/saveTransfer','0.011525869369507','2016-08-29 16:43:03'),(26509,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000046\'','transfer/saveTransfer','0.013187170028687','2016-08-29 16:43:03'),(26510,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.0091590881347656','2016-08-29 16:43:03'),(26511,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000047\' WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.0084629058837891','2016-08-29 16:43:03'),(26512,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000047\', \' [TT[00000079]]]\', \'Bank Transfer [  [TT[00000079]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 23132, 23132, \'User\')','transfer/saveTransfer','0.010653972625732','2016-08-29 16:43:03'),(26513,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000047\', 1, \'sdadd\', \'32761\', 23132, 1, \'1\', \'23132\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/saveTransfer','0.01178503036499','2016-08-29 16:43:03'),(26514,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000047\', 2, \'sdadd\', \'32762\', 23132, 1, \'1\', \'23132\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/saveTransfer','0.0077958106994629','2016-08-29 16:43:03'),(26515,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23132, `total_amount_cr` = 23132, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000047\'','transfer/saveTransfer','0.0084729194641113','2016-08-29 16:43:03'),(26516,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.0079061985015869','2016-08-29 16:43:03'),(26517,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11308','transfer/saveTransfer','0.0085151195526123','2016-08-29 16:43:03'),(26518,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000047\'','transfer/saveTransfer','0.0078649520874023','2016-08-29 16:43:03'),(26519,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.012048006057739','2016-08-29 16:43:03'),(26520,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.011011123657227','2016-08-29 16:43:03'),(26521,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'sdasdasdasdasdasd\', \'13\', \'10\', 1, 1, \'68\', \'1000\', \'OP-L\', \'2016-08-19\', \'123\', \'1\')','expenses/fnSaveExpenses','0.046572923660278','2016-08-29 16:43:33'),(26522,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2185, `createdBy` = \'10\', `itemdescription` = \'January\', `lineNo` = 1, `accountID` = \'32768\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2064\'','expenses/fnSaveExpenses','0.0077531337738037','2016-08-29 16:43:33'),(26523,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'282\'','expenses/fnSaveExpenses','0.011858940124512','2016-08-29 16:43:33'),(26524,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000048\' WHERE `ID` =  2185','expenses/fnSaveExpenses','0.0078749656677246','2016-08-29 16:43:33'),(26525,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000048\', \'Loan Repayment [OP-L[00000080]]\', \'Loan Repayment [OP-L[00000080]]\', \'\', \'3\', \'2016-08-19\', \'16\', \'08\', 1000, 1000, \'10\')','expenses/fnSaveExpenses','0.01090407371521','2016-08-29 16:43:33'),(26526,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000048\', 1, \'January\', \'32762\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-L[00000080]\', \'User\')','expenses/fnSaveExpenses','0.011440992355347','2016-08-29 16:43:33'),(26527,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000048\', 2, \'January\', \'32768\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-L[00000080]\', \'User\')','expenses/fnSaveExpenses','0.0083780288696289','2016-08-29 16:43:33'),(26528,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000048\'','expenses/fnSaveExpenses','0.0078749656677246','2016-08-29 16:43:33'),(26529,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2185','expenses/fnSaveExpenses','0.0085070133209229','2016-08-29 16:43:33'),(26530,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11309','expenses/fnSaveExpenses','0.0079190731048584','2016-08-29 16:43:33'),(26531,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000048\'','expenses/fnSaveExpenses','0.0084669589996338','2016-08-29 16:43:33'),(26532,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.02020788192749','2016-08-29 16:43:33'),(26533,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32768\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011291027069092','2016-08-29 16:43:33'),(26534,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2146\'','expenses/removePayment','0.079380035400391','2016-08-29 16:44:41'),(26535,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-29\', \'126\', \'2131\', \'LR\', \'Bank Rakyat	\', \'13\', 3)','loanReceive/save_new_loan','0.20361399650574','2016-08-29 16:45:21'),(26536,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2251, 1, \'32767\', \'2131\', \'fad\')','loanReceive/save_new_loan','0.036566972732544','2016-08-29 16:45:21'),(26537,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'297\'','loanReceive/save_new_loan','0.010721921920776','2016-08-29 16:45:21'),(26538,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000044\' WHERE `ID` =  2251','loanReceive/save_new_loan','0.011780977249146','2016-08-29 16:45:21'),(26539,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000044\', \'LR[00000039]\', \'Loan Received [ LR[00000039] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 2131, 2131, \'User\')','loanReceive/save_new_loan','0.022334814071655','2016-08-29 16:45:21'),(26540,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000044\', 1, \'fad\', \'32767\', \'Bank Rakyat	\', 2131, \'1\', \'1\', \'2131\', \'08\', \'2016\', \'1\', \'LR[00000039]\', \'0\', \'User\')','loanReceive/save_new_loan','0.0083029270172119','2016-08-29 16:45:21'),(26541,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000044\', \'fad\', \'32765\', \'Bank Rakyat	\', 2131, \'1\', \'1\', \'2131\', \'08\', \'2016\', \'LR[00000039]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.0077650547027588','2016-08-29 16:45:21'),(26542,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2131, `total_amount_cr` = 2131, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000044\'','loanReceive/save_new_loan','0.0084588527679443','2016-08-29 16:45:21'),(26543,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2251','loanReceive/save_new_loan','0.0079219341278076','2016-08-29 16:45:21'),(26544,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11310','loanReceive/save_new_loan','0.008512020111084','2016-08-29 16:45:21'),(26545,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000044\'','loanReceive/save_new_loan','0.021234035491943','2016-08-29 16:45:21'),(26546,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.010747909545898','2016-08-29 16:45:21'),(26547,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.012318134307861','2016-08-29 16:45:21'),(26548,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'126\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'2131.00\', `updateAble` = 1 WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.094797849655151','2016-08-29 16:45:31'),(26549,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'2131.00\', `description` = \'fadddddd\' WHERE `ID` =  \'1952\'','loanReceive/update_loan','0.0084500312805176','2016-08-29 16:45:31'),(26550,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000044\'','loanReceive/update_loan','0.0078549385070801','2016-08-29 16:45:31'),(26551,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000044\'','loanReceive/update_loan','0.021746158599854','2016-08-29 16:45:31'),(26552,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.021862030029297','2016-08-29 16:45:31'),(26553,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000045\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.021350145339966','2016-08-29 16:45:31'),(26554,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000045\', \'LR[00000039]\', \'Loan Received [ LR[00000039] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 2131, 2131, \'User\')','loanReceive/update_loan','0.0094079971313477','2016-08-29 16:45:31'),(26555,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000045\', 1, \'fadddddd\', \'32767\', \'Bank Rakyat	\', 2131, \'1\', \'1\', \'2131\', \'08\', \'2016\', \'1\', \'LR[00000039]\', \'0\', \'User\')','loanReceive/update_loan','0.021247863769531','2016-08-29 16:45:31'),(26556,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000045\', \'fadddddd\', \'32765\', \'Bank Rakyat	\', 2131, \'1\', \'1\', \'2131\', \'08\', \'2016\', \'LR[00000039]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.01150918006897','2016-08-29 16:45:31'),(26557,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2131, `total_amount_cr` = 2131, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000045\'','loanReceive/update_loan','0.007843017578125','2016-08-29 16:45:31'),(26558,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.008526086807251','2016-08-29 16:45:31'),(26559,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11311','loanReceive/update_loan','0.0079131126403809','2016-08-29 16:45:31'),(26560,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000045\'','loanReceive/update_loan','0.021661996841431','2016-08-29 16:45:31'),(26561,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.010282039642334','2016-08-29 16:45:31'),(26562,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.016200065612793','2016-08-29 16:45:31'),(26563,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'1\', \'OP-E\', \'2016-08-29\', \'82\', \'1\')','expenses/fnSaveExpenses','0.118577003479','2016-08-29 16:46:23'),(26564,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2186, \'1\', \'Item 1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041786193847656','2016-08-29 16:46:23'),(26565,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.011383056640625','2016-08-29 16:46:23'),(26566,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000020\' WHERE `ID` =  2186','expenses/fnSaveExpenses','0.011631965637207','2016-08-29 16:46:23'),(26567,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000020\', \'Operating Expenses [OP-E[00000637]]\', \'Operating Expenses [OP-E[00000637]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.010894775390625','2016-08-29 16:46:23'),(26568,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000020\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000637]\', \'User\')','expenses/fnSaveExpenses','0.019837856292725','2016-08-29 16:46:23'),(26569,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000020\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000637]\', \'User\')','expenses/fnSaveExpenses','0.0077981948852539','2016-08-29 16:46:23'),(26570,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000020\'','expenses/fnSaveExpenses','0.021667003631592','2016-08-29 16:46:23'),(26571,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2186','expenses/fnSaveExpenses','0.011360168457031','2016-08-29 16:46:23'),(26572,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11312','expenses/fnSaveExpenses','0.0084679126739502','2016-08-29 16:46:23'),(26573,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000020\'','expenses/fnSaveExpenses','0.024553060531616','2016-08-29 16:46:23'),(26574,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012326002120972','2016-08-29 16:46:23'),(26575,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015310049057007','2016-08-29 16:46:23'),(26576,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2186\'','expenses/removePayment','0.024611949920654','2016-08-29 16:48:05'),(26577,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'1\', \'OP-E\', \'2016-08-29\', \'84\', \'1\')','expenses/fnSaveExpenses','0.059876918792725','2016-08-29 16:52:20'),(26578,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2187, \'1\', \'Item 1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011130094528198','2016-08-29 16:52:21'),(26579,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.011584043502808','2016-08-29 16:52:21'),(26580,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000021\' WHERE `ID` =  2187','expenses/fnSaveExpenses','0.0078651905059814','2016-08-29 16:52:21'),(26581,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000021\', \'Operating Expenses [OP-E[00000638]]\', \'Operating Expenses [OP-E[00000638]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.01109790802002','2016-08-29 16:52:21'),(26582,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000021\', 1, \'Item 1\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000638]\', \'User\')','expenses/fnSaveExpenses','0.011178016662598','2016-08-29 16:52:21'),(26583,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000021\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000638]\', \'User\')','expenses/fnSaveExpenses','0.0083670616149902','2016-08-29 16:52:21'),(26584,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000021\'','expenses/fnSaveExpenses','0.024516105651855','2016-08-29 16:52:21'),(26585,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2187','expenses/fnSaveExpenses','0.016851186752319','2016-08-29 16:52:21'),(26586,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11313','expenses/fnSaveExpenses','0.0078890323638916','2016-08-29 16:52:21'),(26587,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000021\'','expenses/fnSaveExpenses','0.01679515838623','2016-08-29 16:52:21'),(26588,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012043952941895','2016-08-29 16:52:21'),(26589,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024257898330688','2016-08-29 16:52:21'),(26590,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'1\', \'OP-E\', \'2016-08-29\', \'84\', \'1\')','expenses/fnSaveExpenses','0.024747133255005','2016-08-29 16:54:08'),(26591,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2188, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2161\'','expenses/fnSaveExpenses','0.019651889801025','2016-08-29 16:54:08'),(26592,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.016200065612793','2016-08-29 16:54:08'),(26593,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000022\' WHERE `ID` =  2188','expenses/fnSaveExpenses','0.011332035064697','2016-08-29 16:54:08'),(26594,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000022\', \'Operating Expenses [OP-E[00000639]]\', \'Operating Expenses [OP-E[00000639]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.011220932006836','2016-08-29 16:54:08'),(26595,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000022\', 1, \'Item 1\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000639]\', \'User\')','expenses/fnSaveExpenses','0.011193037033081','2016-08-29 16:54:08'),(26596,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000022\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000639]\', \'User\')','expenses/fnSaveExpenses','0.013282060623169','2016-08-29 16:54:08'),(26597,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000022\'','expenses/fnSaveExpenses','0.011331796646118','2016-08-29 16:54:08'),(26598,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2188','expenses/fnSaveExpenses','0.0085041522979736','2016-08-29 16:54:08'),(26599,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11314','expenses/fnSaveExpenses','0.0078959465026855','2016-08-29 16:54:08'),(26600,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000022\'','expenses/fnSaveExpenses','0.0084819793701172','2016-08-29 16:54:08'),(26601,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012131929397583','2016-08-29 16:54:08'),(26602,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011054039001465','2016-08-29 16:54:08'),(26603,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2188\'','expenses/removePayment','0.0088968276977539','2016-08-29 16:54:50'),(26604,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2187\'','expenses/removePayment','0.024688959121704','2016-08-29 16:54:50'),(26605,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'126\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'2132.00\', `updateAble` = 1 WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.085147857666016','2016-08-29 16:54:57'),(26606,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'2132.00\', `description` = \'fadddddd\' WHERE `ID` =  \'1952\'','loanReceive/update_loan','0.007857084274292','2016-08-29 16:54:57'),(26607,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000045\'','loanReceive/update_loan','0.0084710121154785','2016-08-29 16:54:57'),(26608,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000045\'','loanReceive/update_loan','0.057899951934814','2016-08-29 16:54:57'),(26609,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.014798879623413','2016-08-29 16:54:57'),(26610,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000046\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.0084629058837891','2016-08-29 16:54:57'),(26611,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000046\', \'LR[00000039]\', \'Loan Received [ LR[00000039] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 2132, 2132, \'User\')','loanReceive/update_loan','0.029744148254395','2016-08-29 16:54:57'),(26612,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000046\', 1, \'fadddddd\', \'32767\', \'Bank Rakyat	\', 2132, \'1\', \'1\', \'2132\', \'08\', \'2016\', \'1\', \'LR[00000039]\', \'0\', \'User\')','loanReceive/update_loan','0.034327030181885','2016-08-29 16:54:57'),(26613,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000046\', \'fadddddd\', \'32765\', \'Bank Rakyat	\', 2132, \'1\', \'1\', \'2132\', \'08\', \'2016\', \'LR[00000039]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.0077610015869141','2016-08-29 16:54:57'),(26614,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2132, `total_amount_cr` = 2132, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000046\'','loanReceive/update_loan','0.008469820022583','2016-08-29 16:54:57'),(26615,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.0079259872436523','2016-08-29 16:54:57'),(26616,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11315','loanReceive/update_loan','0.0084869861602783','2016-08-29 16:54:57'),(26617,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000046\'','loanReceive/update_loan','0.013246059417725','2016-08-29 16:54:57'),(26618,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.015093088150024','2016-08-29 16:54:57'),(26619,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.13521313667297','2016-08-29 16:54:57'),(26620,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'126\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'2131.00\', `updateAble` = 1 WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.092659950256348','2016-08-29 16:55:50'),(26621,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'2131.00\', `description` = \'fadddddd\' WHERE `ID` =  \'1952\'','loanReceive/update_loan','0.013386964797974','2016-08-29 16:55:50'),(26622,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000046\'','loanReceive/update_loan','0.011293172836304','2016-08-29 16:55:50'),(26623,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000046\'','loanReceive/update_loan','0.007896900177002','2016-08-29 16:55:50'),(26624,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.016263961791992','2016-08-29 16:55:50'),(26625,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000047\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.011023044586182','2016-08-29 16:55:51'),(26626,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000047\', \'LR[00000039]\', \'Loan Received [ LR[00000039] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 2131, 2131, \'User\')','loanReceive/update_loan','0.011472225189209','2016-08-29 16:55:51'),(26627,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000047\', 1, \'fadddddd\', \'32767\', \'Bank Rakyat	\', 2131, \'1\', \'1\', \'2131\', \'08\', \'2016\', \'1\', \'LR[00000039]\', \'0\', \'User\')','loanReceive/update_loan','0.010908842086792','2016-08-29 16:55:51'),(26628,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000047\', \'fadddddd\', \'32765\', \'Bank Rakyat	\', 2131, \'1\', \'1\', \'2131\', \'08\', \'2016\', \'LR[00000039]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.0083479881286621','2016-08-29 16:55:51'),(26629,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2131, `total_amount_cr` = 2131, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000047\'','loanReceive/update_loan','0.016220092773438','2016-08-29 16:55:51'),(26630,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.0084991455078125','2016-08-29 16:55:51'),(26631,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11316','loanReceive/update_loan','0.0079460144042969','2016-08-29 16:55:51'),(26632,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000047\'','loanReceive/update_loan','0.036445140838623','2016-08-29 16:55:51'),(26633,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.012332916259766','2016-08-29 16:55:51'),(26634,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.007889986038208','2016-08-29 16:55:51'),(26635,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 1, \'68\', \'2\', \'OP-E\', \'2016-08-29\', \'82\', \'1\')','expenses/fnSaveExpenses','0.054612874984741','2016-08-29 16:56:06'),(26636,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2189, \'1\', \'Item 1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084488391876221','2016-08-29 16:56:06'),(26637,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2189, \'1\', \'Item 2\', 1, \'32530\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078840255737305','2016-08-29 16:56:06'),(26638,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.014378070831299','2016-08-29 16:56:06'),(26639,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000023\' WHERE `ID` =  2189','expenses/fnSaveExpenses','0.0078880786895752','2016-08-29 16:56:06'),(26640,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000023\', \'Operating Expenses [OP-E[00000640]]\', \'Operating Expenses [OP-E[00000640]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.011399984359741','2016-08-29 16:56:06'),(26641,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000023\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000640]\', \'User\')','expenses/fnSaveExpenses','0.010921955108643','2016-08-29 16:56:06'),(26642,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000023\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000640]\', \'User\')','expenses/fnSaveExpenses','0.0083849430084229','2016-08-29 16:56:06'),(26643,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000023\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000640]\', \'User\')','expenses/fnSaveExpenses','0.0077970027923584','2016-08-29 16:56:06'),(26644,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000023\', 4, \'Item 2\', \'32530\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000640]\', \'User\')','expenses/fnSaveExpenses','0.0083999633789062','2016-08-29 16:56:06'),(26645,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000023\'','expenses/fnSaveExpenses','0.013342142105103','2016-08-29 16:56:06'),(26646,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2189','expenses/fnSaveExpenses','0.011375188827515','2016-08-29 16:56:06'),(26647,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11317','expenses/fnSaveExpenses','0.0079140663146973','2016-08-29 16:56:06'),(26648,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000023\'','expenses/fnSaveExpenses','0.033442974090576','2016-08-29 16:56:06'),(26649,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012411832809448','2016-08-29 16:56:06'),(26650,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.014122009277344','2016-08-29 16:56:06'),(26651,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012848138809204','2016-08-29 16:56:06'),(26652,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010810136795044','2016-08-29 16:56:06'),(26653,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'126\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'2132.00\', `updateAble` = 1 WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.024236917495728','2016-08-29 16:56:08'),(26654,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'2132.00\', `description` = \'fadddddd\' WHERE `ID` =  \'1952\'','loanReceive/update_loan','0.011126041412354','2016-08-29 16:56:08'),(26655,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000047\'','loanReceive/update_loan','0.016219139099121','2016-08-29 16:56:08'),(26656,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000047\'','loanReceive/update_loan','0.008491039276123','2016-08-29 16:56:08'),(26657,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.016777992248535','2016-08-29 16:56:08'),(26658,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000048\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.0084538459777832','2016-08-29 16:56:08'),(26659,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000048\', \'LR[00000039]\', \'Loan Received [ LR[00000039] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 2132, 2132, \'User\')','loanReceive/update_loan','0.014057874679565','2016-08-29 16:56:08'),(26660,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000048\', 1, \'fadddddd\', \'32767\', \'Bank Rakyat	\', 2132, \'1\', \'1\', \'2132\', \'08\', \'2016\', \'1\', \'LR[00000039]\', \'0\', \'User\')','loanReceive/update_loan','0.0083248615264893','2016-08-29 16:56:08'),(26661,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000048\', \'fadddddd\', \'32765\', \'Bank Rakyat	\', 2132, \'1\', \'1\', \'2132\', \'08\', \'2016\', \'LR[00000039]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.0077798366546631','2016-08-29 16:56:09'),(26662,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2132, `total_amount_cr` = 2132, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000048\'','loanReceive/update_loan','0.0084629058837891','2016-08-29 16:56:09'),(26663,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.0079250335693359','2016-08-29 16:56:09'),(26664,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11318','loanReceive/update_loan','0.016860961914062','2016-08-29 16:56:09'),(26665,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000048\'','loanReceive/update_loan','0.13286995887756','2016-08-29 16:56:09'),(26666,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.11732506752014','2016-08-29 16:56:09'),(26667,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.046257019042969','2016-08-29 16:56:09'),(26668,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'126\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'2131.00\', `updateAble` = 1 WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.011805057525635','2016-08-29 16:56:40'),(26669,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'2131.00\', `description` = \'fadddddd\' WHERE `ID` =  \'1952\'','loanReceive/update_loan','0.019088983535767','2016-08-29 16:56:40'),(26670,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000048\'','loanReceive/update_loan','0.0084981918334961','2016-08-29 16:56:40'),(26671,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000048\'','loanReceive/update_loan','0.13285398483276','2016-08-29 16:56:40'),(26672,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.018872976303101','2016-08-29 16:56:40'),(26673,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000049\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.0078520774841309','2016-08-29 16:56:40'),(26674,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000049\', \'LR[00000039]\', \'Loan Received [ LR[00000039] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 2131, 2131, \'User\')','loanReceive/update_loan','0.011691093444824','2016-08-29 16:56:40'),(26675,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000049\', 1, \'fadddddd\', \'32767\', \'Bank Rakyat	\', 2131, \'1\', \'1\', \'2131\', \'08\', \'2016\', \'1\', \'LR[00000039]\', \'0\', \'User\')','loanReceive/update_loan','0.010698080062866','2016-08-29 16:56:40'),(26676,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000049\', \'fadddddd\', \'32765\', \'Bank Rakyat	\', 2131, \'1\', \'1\', \'2131\', \'08\', \'2016\', \'LR[00000039]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.0083200931549072','2016-08-29 16:56:40'),(26677,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2131, `total_amount_cr` = 2131, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000049\'','loanReceive/update_loan','0.024535894393921','2016-08-29 16:56:40'),(26678,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.0085499286651611','2016-08-29 16:56:40'),(26679,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11319','loanReceive/update_loan','0.0078771114349365','2016-08-29 16:56:40'),(26680,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000049\'','loanReceive/update_loan','0.044764995574951','2016-08-29 16:56:40'),(26681,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.017977952957153','2016-08-29 16:56:40'),(26682,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.010549068450928','2016-08-29 16:56:40'),(26683,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'To update remarks\', \'1\', \'1\', 1, 1, \'68\', \'2\', \'OP-E\', \'2016-08-29\', \'82\', \'1\')','expenses/fnSaveExpenses','0.12454891204834','2016-08-29 16:56:52'),(26684,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2190, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2162\'','expenses/fnSaveExpenses','0.010938167572021','2016-08-29 16:56:52'),(26685,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2190, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32530\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2163\'','expenses/fnSaveExpenses','0.0077970027923584','2016-08-29 16:56:52'),(26686,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.0076429843902588','2016-08-29 16:56:52'),(26687,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000024\' WHERE `ID` =  2190','expenses/fnSaveExpenses','0.0078821182250977','2016-08-29 16:56:52'),(26688,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000024\', \'Operating Expenses [OP-E[00000641]]\', \'Operating Expenses [OP-E[00000641]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.011645078659058','2016-08-29 16:56:52'),(26689,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000024\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000641]\', \'User\')','expenses/fnSaveExpenses','0.010779142379761','2016-08-29 16:56:52'),(26690,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000024\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000641]\', \'User\')','expenses/fnSaveExpenses','0.0083639621734619','2016-08-29 16:56:52'),(26691,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000024\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000641]\', \'User\')','expenses/fnSaveExpenses','0.0078017711639404','2016-08-29 16:56:52'),(26692,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000024\', 4, \'Item 2\', \'32530\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000641]\', \'User\')','expenses/fnSaveExpenses','0.00838303565979','2016-08-29 16:56:52'),(26693,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000024\'','expenses/fnSaveExpenses','0.016211032867432','2016-08-29 16:56:52'),(26694,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2190','expenses/fnSaveExpenses','0.0084919929504395','2016-08-29 16:56:52'),(26695,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11320','expenses/fnSaveExpenses','0.0079030990600586','2016-08-29 16:56:52'),(26696,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000024\'','expenses/fnSaveExpenses','0.0084540843963623','2016-08-29 16:56:53'),(26697,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012569904327393','2016-08-29 16:56:53'),(26698,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01065993309021','2016-08-29 16:56:53'),(26699,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012954950332642','2016-08-29 16:56:53'),(26700,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010657072067261','2016-08-29 16:56:53'),(26701,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'126\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'2133333.00\', `updateAble` = 1 WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.18792104721069','2016-08-29 16:56:56'),(26702,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'2133333.00\', `description` = \'fadddddd\' WHERE `ID` =  \'1952\'','loanReceive/update_loan','0.047605991363525','2016-08-29 16:56:56'),(26703,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000049\'','loanReceive/update_loan','0.054716110229492','2016-08-29 16:56:56'),(26704,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000049\'','loanReceive/update_loan','0.016211032867432','2016-08-29 16:56:56'),(26705,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.016288995742798','2016-08-29 16:56:56'),(26706,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000050\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.041478872299194','2016-08-29 16:56:56'),(26707,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000050\', \'LR[00000039]\', \'Loan Received [ LR[00000039] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 2133333, 2133333, \'User\')','loanReceive/update_loan','0.0084969997406006','2016-08-29 16:56:56'),(26708,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000050\', 1, \'fadddddd\', \'32767\', \'Bank Rakyat	\', 2133333, \'1\', \'1\', \'2133333\', \'08\', \'2016\', \'1\', \'LR[00000039]\', \'0\', \'User\')','loanReceive/update_loan','0.0083460807800293','2016-08-29 16:56:56'),(26709,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000050\', \'fadddddd\', \'32765\', \'Bank Rakyat	\', 2133333, \'1\', \'1\', \'2133333\', \'08\', \'2016\', \'LR[00000039]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.016103982925415','2016-08-29 16:56:56'),(26710,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2133333, `total_amount_cr` = 2133333, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000050\'','loanReceive/update_loan','0.0084559917449951','2016-08-29 16:56:56'),(26711,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2251\'','loanReceive/update_loan','0.01624608039856','2016-08-29 16:56:56'),(26712,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11321','loanReceive/update_loan','0.022343873977661','2016-08-29 16:56:56'),(26713,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000050\'','loanReceive/update_loan','0.01069712638855','2016-08-29 16:56:56'),(26714,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.0075418949127197','2016-08-29 16:56:56'),(26715,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.0073320865631104','2016-08-29 16:56:56'),(26716,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000043\'','sales/save_update_sale','0.098870038986206','2016-08-29 17:07:18'),(26717,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000043\'','sales/save_update_sale','0.078543186187744','2016-08-29 17:07:18'),(26718,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'123\', `totalReceived` = \'1112.00\', `updateAble` = 1 WHERE `ID` =  \'2250\'','sales/save_update_sale','0.037755966186523','2016-08-29 17:07:18'),(26719,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2250\'','sales/save_update_sale','0.016821146011353','2016-08-29 17:07:18'),(26720,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2250\', \'ewqeqwe\', \'1112.00\', \'32772\', 1)','sales/save_update_sale','0.024584054946899','2016-08-29 17:07:18'),(26721,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.00022292137145996','2016-08-29 17:07:18'),(26722,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'297\'','sales/save_update_sale','0.0088329315185547','2016-08-29 17:07:19'),(26723,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000052\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.024510860443115','2016-08-29 17:07:19'),(26724,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000052\', \'OR[00000038]\', \'Sales [ OR[00000038] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'1112\', \'1112\', \'10\')','sales/save_update_sale','0.02854585647583','2016-08-29 17:07:19'),(26725,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000052\', 1, \'ewqeqwe\', \'32772\', \'\', 1112, \'1\', \'1\', \'1112\', \'08\', \'2016\', \'1\', \'OR[00000038]\', \'0\', \'User\')','sales/save_update_sale','0.018805027008057','2016-08-29 17:07:19'),(26726,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000052\', \'ewqeqwe\', \'32762\', \'\', 1112, \'1\', \'1\', \'1112\', \'08\', \'2016\', \'OR[00000038]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.0083510875701904','2016-08-29 17:07:19'),(26727,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1112, `total_amount_cr` = 1112, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000052\'','sales/save_update_sale','0.024554014205933','2016-08-29 17:07:19'),(26728,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.0084700584411621','2016-08-29 17:07:19'),(26729,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11323','sales/save_update_sale','0.024580955505371','2016-08-29 17:07:19'),(26730,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000052\'','sales/save_update_sale','0.0084631443023682','2016-08-29 17:07:19'),(26731,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.012792110443115','2016-08-29 17:07:19'),(26732,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.010277986526489','2016-08-29 17:07:19'),(26733,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000052\'','sales/save_update_sale','0.014982938766479','2016-08-29 17:07:53'),(26734,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000052\'','sales/save_update_sale','0.010740041732788','2016-08-29 17:07:53'),(26735,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'123\', `totalReceived` = \'1111.00\', `updateAble` = 1 WHERE `ID` =  \'2250\'','sales/save_update_sale','0.01616382598877','2016-08-29 17:07:53'),(26736,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2250\'','sales/save_update_sale','0.0084760189056396','2016-08-29 17:07:53'),(26737,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2250\', \'ewqeqwe\', \'1111.00\', \'32772\', 1)','sales/save_update_sale','0.030600070953369','2016-08-29 17:07:53'),(26738,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.00023603439331055','2016-08-29 17:07:53'),(26739,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'297\'','sales/save_update_sale','0.0098011493682861','2016-08-29 17:07:53'),(26740,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000053\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.016184091567993','2016-08-29 17:07:53'),(26741,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000053\', \'OR[00000038]\', \'Sales [ OR[00000038] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'1111\', \'1111\', \'10\')','sales/save_update_sale','0.02855920791626','2016-08-29 17:07:53'),(26742,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000053\', 1, \'ewqeqwe\', \'32772\', \'\', 1111, \'1\', \'1\', \'1111\', \'08\', \'2016\', \'1\', \'OR[00000038]\', \'0\', \'User\')','sales/save_update_sale','0.018689155578613','2016-08-29 17:07:53'),(26743,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000053\', \'ewqeqwe\', \'32762\', \'\', 1111, \'1\', \'1\', \'1111\', \'08\', \'2016\', \'OR[00000038]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.0083329677581787','2016-08-29 17:07:53'),(26744,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1111, `total_amount_cr` = 1111, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000053\'','sales/save_update_sale','0.024543046951294','2016-08-29 17:07:53'),(26745,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2250\'','sales/save_update_sale','0.0084719657897949','2016-08-29 17:07:53'),(26746,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11324','sales/save_update_sale','0.016227006912231','2016-08-29 17:07:53'),(26747,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000053\'','sales/save_update_sale','0.0084419250488281','2016-08-29 17:07:53'),(26748,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.012800931930542','2016-08-29 17:07:53'),(26749,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.01012110710144','2016-08-29 17:07:53'),(26750,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'23133.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.085115194320679','2016-08-29 17:08:24'),(26751,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'23133.00\', `itemdescription` = \'sdadd\' WHERE `ID` =  \'2159\'','transfer/saveTransfer','0.020610809326172','2016-08-29 17:08:24'),(26752,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000047\'','transfer/saveTransfer','0.031245946884155','2016-08-29 17:08:24'),(26753,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000047\'','transfer/saveTransfer','0.041810989379883','2016-08-29 17:08:24'),(26754,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.030997037887573','2016-08-29 17:08:24'),(26755,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000049\' WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.024824142456055','2016-08-29 17:08:24'),(26756,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000049\', \' [TT[00000079]]]\', \'Bank Transfer [  [TT[00000079]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 23133, 23133, \'User\')','transfer/saveTransfer','0.022464990615845','2016-08-29 17:08:24'),(26757,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000049\', 1, \'sdadd\', \'32761\', 23133, 1, \'1\', \'23133\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/saveTransfer','0.024711132049561','2016-08-29 17:08:24'),(26758,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000049\', 2, \'sdadd\', \'32762\', 23133, 1, \'1\', \'23133\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/saveTransfer','0.041481971740723','2016-08-29 17:08:24'),(26759,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23133, `total_amount_cr` = 23133, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000049\'','transfer/saveTransfer','0.024788856506348','2016-08-29 17:08:24'),(26760,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.024871110916138','2016-08-29 17:08:24'),(26761,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11325','transfer/saveTransfer','0.024857044219971','2016-08-29 17:08:24'),(26762,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000049\'','transfer/saveTransfer','0.024812936782837','2016-08-29 17:08:24'),(26763,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.023664951324463','2016-08-29 17:08:24'),(26764,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.024212121963501','2016-08-29 17:08:24'),(26765,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'23132.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.033329963684082','2016-08-29 17:08:38'),(26766,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'23132.00\', `itemdescription` = \'sdadd\' WHERE `ID` =  \'2159\'','transfer/saveTransfer','0.01619815826416','2016-08-29 17:08:38'),(26767,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000049\'','transfer/saveTransfer','0.016808986663818','2016-08-29 17:08:38'),(26768,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000049\'','transfer/saveTransfer','0.049593210220337','2016-08-29 17:08:38'),(26769,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.015794992446899','2016-08-29 17:08:38'),(26770,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000050\' WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.02454400062561','2016-08-29 17:08:38'),(26771,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000050\', \' [TT[00000079]]]\', \'Bank Transfer [  [TT[00000079]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 23132, 23132, \'User\')','transfer/saveTransfer','0.012104988098145','2016-08-29 17:08:38'),(26772,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000050\', 1, \'sdadd\', \'32761\', 23132, 1, \'1\', \'23132\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/saveTransfer','0.018676996231079','2016-08-29 17:08:38'),(26773,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000050\', 2, \'sdadd\', \'32762\', 23132, 1, \'1\', \'23132\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/saveTransfer','0.0083768367767334','2016-08-29 17:08:38'),(26774,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23132, `total_amount_cr` = 23132, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000050\'','transfer/saveTransfer','0.016201019287109','2016-08-29 17:08:38'),(26775,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.0084969997406006','2016-08-29 17:08:38'),(26776,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11326','transfer/saveTransfer','0.016261100769043','2016-08-29 17:08:38'),(26777,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000050\'','transfer/saveTransfer','0.0084800720214844','2016-08-29 17:08:38'),(26778,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.023642063140869','2016-08-29 17:08:38'),(26779,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.0079519748687744','2016-08-29 17:08:38'),(26780,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'123\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'1221.00\', `updateAble` = 1 WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.098932027816772','2016-08-29 17:09:12'),(26781,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'1221.00\', `description` = \'kikikikiki\' WHERE `ID` =  \'1908\'','loanReceive/update_loan','0.044877052307129','2016-08-29 17:09:12'),(26782,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000022\'','loanReceive/update_loan','0.037771940231323','2016-08-29 17:09:12'),(26783,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000022\'','loanReceive/update_loan','0.033491134643555','2016-08-29 17:09:12'),(26784,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.017010927200317','2016-08-29 17:09:12'),(26785,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000054\' WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.018932104110718','2016-08-29 17:09:12'),(26786,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000054\', \'LR[00000031]\', \'Loan Received [ LR[00000031] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 1221, 1221, \'User\')','loanReceive/update_loan','0.022439002990723','2016-08-29 17:09:12'),(26787,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000054\', 1, \'kikikikiki\', \'32767\', \'Bank Rakyat	\', 1221, \'1\', \'1\', \'1221\', \'08\', \'2016\', \'1\', \'LR[00000031]\', \'0\', \'User\')','loanReceive/update_loan','0.01665997505188','2016-08-29 17:09:12'),(26788,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000054\', \'kikikikiki\', \'32762\', \'Bank Rakyat	\', 1221, \'1\', \'1\', \'1221\', \'08\', \'2016\', \'LR[00000031]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.016101121902466','2016-08-29 17:09:12'),(26789,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1221, `total_amount_cr` = 1221, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000054\'','loanReceive/update_loan','0.025117158889771','2016-08-29 17:09:12'),(26790,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.016273021697998','2016-08-29 17:09:12'),(26791,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11327','loanReceive/update_loan','0.016817092895508','2016-08-29 17:09:12'),(26792,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000054\'','loanReceive/update_loan','0.016216993331909','2016-08-29 17:09:12'),(26793,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.015872001647949','2016-08-29 17:09:12'),(26794,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.015672206878662','2016-08-29 17:09:12'),(26795,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'123\', `receiveFrom` = \'Bank Rakyat	\', `totalReceived` = \'1220.00\', `updateAble` = 1 WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.10112810134888','2016-08-29 17:09:31'),(26796,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'32767\', `amountExcludedTax` = \'1220.00\', `description` = \'kikikikiki\' WHERE `ID` =  \'1908\'','loanReceive/update_loan','0.01678204536438','2016-08-29 17:09:31'),(26797,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000054\'','loanReceive/update_loan','0.016236066818237','2016-08-29 17:09:31'),(26798,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000054\'','loanReceive/update_loan','0.016816139221191','2016-08-29 17:09:31'),(26799,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'297\'','loanReceive/update_loan','0.017662048339844','2016-08-29 17:09:31'),(26800,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000055\' WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.016777992248535','2016-08-29 17:09:31'),(26801,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000055\', \'LR[00000031]\', \'Loan Received [ LR[00000031] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 1220, 1220, \'User\')','loanReceive/update_loan','0.020307064056396','2016-08-29 17:09:31'),(26802,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000055\', 1, \'kikikikiki\', \'32767\', \'Bank Rakyat	\', 1220, \'1\', \'1\', \'1220\', \'08\', \'2016\', \'1\', \'LR[00000031]\', \'0\', \'User\')','loanReceive/update_loan','0.018651008605957','2016-08-29 17:09:31'),(26803,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000055\', \'kikikikiki\', \'32762\', \'Bank Rakyat	\', 1220, \'1\', \'1\', \'1220\', \'08\', \'2016\', \'LR[00000031]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.01608419418335','2016-08-29 17:09:31'),(26804,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1220, `total_amount_cr` = 1220, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000055\'','loanReceive/update_loan','0.016792058944702','2016-08-29 17:09:31'),(26805,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2227\'','loanReceive/update_loan','0.016232967376709','2016-08-29 17:09:31'),(26806,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11328','loanReceive/update_loan','0.022865056991577','2016-08-29 17:09:31'),(26807,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000055\'','loanReceive/update_loan','0.018487930297852','2016-08-29 17:09:31'),(26808,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.015760898590088','2016-08-29 17:09:31'),(26809,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/update_loan','0.015611886978149','2016-08-29 17:09:31'),(26810,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 0, \'68\', \'2\', \'OP-E\', \'2016-08-29\', \'82\', \'1\')','expenses/fnSaveExpenses','0.046816110610962','2016-08-29 17:10:37'),(26811,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2191, \'1\', \'Item 1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016762018203735','2016-08-29 17:10:37'),(26812,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2191, \'1\', \'Item 2\', 1, \'32530\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016229867935181','2016-08-29 17:10:37'),(26813,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.031253814697266','2016-08-29 17:10:37'),(26814,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000025\' WHERE `ID` =  2191','expenses/fnSaveExpenses','0.016222953796387','2016-08-29 17:10:37'),(26815,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000025\', \'Operating Expenses [OP-E[00000642]]\', \'Operating Expenses [OP-E[00000642]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.012290954589844','2016-08-29 17:10:37'),(26816,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000025\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000642]\', \'User\')','expenses/fnSaveExpenses','0.018481969833374','2016-08-29 17:10:37'),(26817,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000025\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000642]\', \'User\')','expenses/fnSaveExpenses','0.01671290397644','2016-08-29 17:10:37'),(26818,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000025\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000642]\', \'User\')','expenses/fnSaveExpenses','0.016123056411743','2016-08-29 17:10:37'),(26819,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000025\', 4, \'Item 2\', \'32530\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000642]\', \'User\')','expenses/fnSaveExpenses','0.016726016998291','2016-08-29 17:10:37'),(26820,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000025\'','expenses/fnSaveExpenses','0.016199111938477','2016-08-29 17:10:37'),(26821,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2191','expenses/fnSaveExpenses','0.025161981582642','2016-08-29 17:10:37'),(26822,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11329','expenses/fnSaveExpenses','0.02455997467041','2016-08-29 17:10:37'),(26823,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000025\'','expenses/fnSaveExpenses','0.058454990386963','2016-08-29 17:10:37'),(26824,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023612022399902','2016-08-29 17:10:37'),(26825,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01643705368042','2016-08-29 17:10:37'),(26826,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018011093139648','2016-08-29 17:10:37'),(26827,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01628589630127','2016-08-29 17:10:37'),(26828,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 0, \'68\', \'2\', \'OP-E\', \'2016-08-29\', \'82\', \'1\')','expenses/fnSaveExpenses','0.087949991226196','2016-08-29 17:27:17'),(26829,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2192, \'1\', \'Item 1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.025092124938965','2016-08-29 17:27:17'),(26830,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2192, \'1\', \'Item 2\', 1, \'32530\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016228914260864','2016-08-29 17:27:17'),(26831,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.04275107383728','2016-08-29 17:27:17'),(26832,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000026\' WHERE `ID` =  2192','expenses/fnSaveExpenses','0.12850594520569','2016-08-29 17:27:17'),(26833,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000026\', \'Operating Expenses [OP-E[00000643]]\', \'Operating Expenses [OP-E[00000643]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.027204990386963','2016-08-29 17:27:17'),(26834,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000026\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000643]\', \'User\')','expenses/fnSaveExpenses','0.057764053344727','2016-08-29 17:27:17'),(26835,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000026\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000643]\', \'User\')','expenses/fnSaveExpenses','0.016680955886841','2016-08-29 17:27:17'),(26836,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000026\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000643]\', \'User\')','expenses/fnSaveExpenses','0.016129970550537','2016-08-29 17:27:17'),(26837,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000026\', 4, \'Item 2\', \'32530\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000643]\', \'User\')','expenses/fnSaveExpenses','0.016695976257324','2016-08-29 17:27:17'),(26838,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000026\'','expenses/fnSaveExpenses','0.016188144683838','2016-08-29 17:27:17'),(26839,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2192','expenses/fnSaveExpenses','0.016855001449585','2016-08-29 17:27:17'),(26840,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11331','expenses/fnSaveExpenses','0.016232967376709','2016-08-29 17:27:17'),(26841,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000026\'','expenses/fnSaveExpenses','0.048172950744629','2016-08-29 17:27:17'),(26842,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.047513008117676','2016-08-29 17:27:17'),(26843,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01586389541626','2016-08-29 17:27:17'),(26844,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015630960464478','2016-08-29 17:27:17'),(26845,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016211986541748','2016-08-29 17:27:17'),(26846,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/fnSaveExpenses','0.000081062316894531','2016-08-29 17:34:14'),(26847,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11331\'','expenses/fnSaveExpenses','0.068293809890747','2016-08-29 17:34:14'),(26848,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = \'To update remarks\', `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'2\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-29\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2192\'','expenses/fnSaveExpenses','0.030468940734863','2016-08-29 17:34:14'),(26849,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2192\', `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2166\'','expenses/fnSaveExpenses','0.0001978874206543','2016-08-29 17:34:14'),(26850,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2192\', `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32530\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2167\'','expenses/fnSaveExpenses','0.00010013580322266','2016-08-29 17:34:14'),(26851,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.031911134719849','2016-08-29 17:34:14'),(26852,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000027\' WHERE `ID` =  \'2192\'','expenses/fnSaveExpenses','0.016211986541748','2016-08-29 17:34:14'),(26853,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000027\', \'Operating Expenses [OP-E[00000643]]\', \'Operating Expenses [OP-E[00000643]]\', \'\', \'3\', \'2016-08-29\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.024497032165527','2016-08-29 17:34:14'),(26854,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000027\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000643]\', \'User\')','expenses/fnSaveExpenses','0.032485008239746','2016-08-29 17:34:14'),(26855,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000027\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000643]\', \'User\')','expenses/fnSaveExpenses','0.025054931640625','2016-08-29 17:34:14'),(26856,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000027\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000643]\', \'User\')','expenses/fnSaveExpenses','0.04111909866333','2016-08-29 17:34:14'),(26857,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000027\', 4, \'Item 2\', \'32530\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000643]\', \'User\')','expenses/fnSaveExpenses','0.016709804534912','2016-08-29 17:34:14'),(26858,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000027\'','expenses/fnSaveExpenses','0.016191959381104','2016-08-29 17:34:14'),(26859,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2192\'','expenses/fnSaveExpenses','0.025191068649292','2016-08-29 17:34:14'),(26860,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11332','expenses/fnSaveExpenses','0.01623010635376','2016-08-29 17:34:14'),(26861,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000027\'','expenses/fnSaveExpenses','0.016790151596069','2016-08-29 17:34:14'),(26862,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.03905987739563','2016-08-29 17:34:14'),(26863,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015945911407471','2016-08-29 17:34:15'),(26864,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015673160552979','2016-08-29 17:34:15'),(26865,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32530\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016286134719849','2016-08-29 17:34:15'),(26866,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2192\'','expenses/removePayment','0.088224172592163','2016-08-29 17:34:35'),(26867,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49741\'','expenses/removePayment','0.019718885421753','2016-08-29 17:34:35'),(26868,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49742\'','expenses/removePayment','0.016801834106445','2016-08-29 17:34:35'),(26869,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49743\'','expenses/removePayment','0.031458854675293','2016-08-29 17:34:35'),(26870,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49744\'','expenses/removePayment','0.018229007720947','2016-08-29 17:34:35'),(26871,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11332\'','expenses/removePayment','0.016232967376709','2016-08-29 17:34:35'),(26872,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-08-29\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'23130.00\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.11276698112488','2016-08-29 17:58:17'),(26873,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'23130.00\', `itemdescription` = \'sdadd\' WHERE `ID` =  \'2159\'','transfer/saveTransfer','0.024521827697754','2016-08-29 17:58:17'),(26874,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000050\'','transfer/saveTransfer','0.033473014831543','2016-08-29 17:58:17'),(26875,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160800000050\'','transfer/saveTransfer','0.074569940567017','2016-08-29 17:58:17'),(26876,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  \'282\'','transfer/saveTransfer','0.040135145187378','2016-08-29 17:58:17'),(26877,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000051\' WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.024538040161133','2016-08-29 17:58:17'),(26878,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000051\', \' [TT[00000079]]]\', \'Bank Transfer [  [TT[00000079]]] ]\', \'\', \'3\', \'2016-08-29\', \'2016\', \'08\', 23130, 23130, \'User\')','transfer/saveTransfer','0.022994041442871','2016-08-29 17:58:17'),(26879,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000051\', 1, \'sdadd\', \'32761\', 23130, 1, \'1\', \'23130\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/saveTransfer','0.024462938308716','2016-08-29 17:58:17'),(26880,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000051\', 2, \'sdadd\', \'32762\', 23130, 1, \'1\', \'23130\', \'08\', \'2016\', \'0\', \'TT[00000079]\', \'User\')','transfer/saveTransfer','0.016700029373169','2016-08-29 17:58:17'),(26881,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 23130, `total_amount_cr` = 23130, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000051\'','transfer/saveTransfer','0.016258001327515','2016-08-29 17:58:17'),(26882,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2184\'','transfer/saveTransfer','0.10688996315002','2016-08-29 17:58:17'),(26883,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11333','transfer/saveTransfer','0.034456968307495','2016-08-29 17:58:17'),(26884,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000051\'','transfer/saveTransfer','0.01679801940918','2016-08-29 17:58:17'),(26885,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.022516012191772','2016-08-29 17:58:17'),(26886,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/saveTransfer','0.024286031723022','2016-08-29 17:58:17'),(26887,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'48997\'','expenses/fnSaveExpenses','0.031967163085938','2016-08-30 09:09:59'),(26888,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'48998\'','expenses/fnSaveExpenses','0.016489028930664','2016-08-30 09:09:59'),(26889,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'48999\'','expenses/fnSaveExpenses','0.016519784927368','2016-08-30 09:09:59'),(26890,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'49000\'','expenses/fnSaveExpenses','0.026314973831177','2016-08-30 09:09:59'),(26891,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'11182\'','expenses/fnSaveExpenses','0.016215085983276','2016-08-30 09:09:59'),(26892,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'13\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'2080\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-19\', `bankId` = \'126\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2144\'','expenses/fnSaveExpenses','0.022310018539429','2016-08-30 09:09:59'),(26893,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (\'2144\', \'10\', \'Saya fad\', 1, \'32781\', \'980\', \'980\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016187906265259','2016-08-30 09:09:59'),(26894,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2144\', `createdBy` = \'10\', `itemdescription` = \'Petronas\', `lineNo` = 1, `accountID` = \'32787\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2060\'','expenses/fnSaveExpenses','0.00018692016601562','2016-08-30 09:09:59'),(26895,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2144\', `createdBy` = \'10\', `itemdescription` = \'Sewa\', `lineNo` = 1, `accountID` = \'32793\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2061\'','expenses/fnSaveExpenses','0.00010180473327637','2016-08-30 09:09:59'),(26896,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'282\'','expenses/fnSaveExpenses','0.022212982177734','2016-08-30 09:09:59'),(26897,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000052\' WHERE `ID` =  \'2144\'','expenses/fnSaveExpenses','0.016232967376709','2016-08-30 09:09:59'),(26898,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000052\', \'Operating Expenses [OP-E[00000072]]\', \'Operating Expenses [OP-E[00000072]]\', \'\', \'3\', \'2016-08-19\', \'16\', \'08\', 2080, 2080, \'10\')','expenses/fnSaveExpenses','0.016206979751587','2016-08-30 09:09:59'),(26899,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000052\', 1, \'Petronas\', \'32765\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.024466991424561','2016-08-30 09:09:59'),(26900,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000052\', 2, \'Petronas\', \'32787\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016784906387329','2016-08-30 09:09:59'),(26901,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000052\', 3, \'Sewa\', \'32765\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.098122119903564','2016-08-30 09:09:59'),(26902,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000052\', 4, \'Sewa\', \'32793\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.026278972625732','2016-08-30 09:09:59'),(26903,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000052\', 5, \'Saya fad\', \'32765\', 980, 1, \'1\', \'980\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016139984130859','2016-08-30 09:09:59'),(26904,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000052\', 6, \'Saya fad\', \'32781\', 980, 1, \'1\', \'980\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.023491144180298','2016-08-30 09:09:59'),(26905,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2080, `total_amount_cr` = 2080, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000052\'','expenses/fnSaveExpenses','0.017802000045776','2016-08-30 09:09:59'),(26906,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2144\'','expenses/fnSaveExpenses','0.016798973083496','2016-08-30 09:09:59'),(26907,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11334','expenses/fnSaveExpenses','0.02455997467041','2016-08-30 09:09:59'),(26908,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000052\'','expenses/fnSaveExpenses','0.025135040283203','2016-08-30 09:09:59'),(26909,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.022531986236572','2016-08-30 09:09:59'),(26910,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32787\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015926122665405','2016-08-30 09:09:59'),(26911,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015383005142212','2016-08-30 09:09:59'),(26912,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32793\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016271829605103','2016-08-30 09:09:59'),(26913,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015684843063354','2016-08-30 09:09:59'),(26914,13,10,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32781\', \'2016\', \'8\', \'980\', \'0\', 980, \'User\', \'2016-08-30: 03:08:59\')','expenses/fnSaveExpenses','0.016056060791016','2016-08-30 09:09:59'),(26915,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'49747\'','expenses/fnSaveExpenses','0.018018007278442','2016-08-30 09:10:20'),(26916,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'49748\'','expenses/fnSaveExpenses','0.016804933547974','2016-08-30 09:10:20'),(26917,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'49749\'','expenses/fnSaveExpenses','0.016221046447754','2016-08-30 09:10:20'),(26918,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'49750\'','expenses/fnSaveExpenses','0.016849994659424','2016-08-30 09:10:20'),(26919,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'49751\'','expenses/fnSaveExpenses','0.016204118728638','2016-08-30 09:10:20'),(26920,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'49752\'','expenses/fnSaveExpenses','0.015514850616455','2016-08-30 09:10:20'),(26921,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'11334\'','expenses/fnSaveExpenses','0.024884939193726','2016-08-30 09:10:20'),(26922,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = \'hihi\', `companyID` = \'13\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'2080\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-19\', `bankId` = \'126\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2144\'','expenses/fnSaveExpenses','0.048363924026489','2016-08-30 09:10:20'),(26923,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2144\', `createdBy` = \'10\', `itemdescription` = \'Saya fad\', `lineNo` = 1, `accountID` = \'32781\', `amountIncludedTax` = \'980\', `amountExcludedTax` = \'980\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2168\'','expenses/fnSaveExpenses','0.00020694732666016','2016-08-30 09:10:20'),(26924,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2144\', `createdBy` = \'10\', `itemdescription` = \'Petronas\', `lineNo` = 1, `accountID` = \'32787\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2060\'','expenses/fnSaveExpenses','0.00010395050048828','2016-08-30 09:10:20'),(26925,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2144\', `createdBy` = \'10\', `itemdescription` = \'Sewa\', `lineNo` = 1, `accountID` = \'32793\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2061\'','expenses/fnSaveExpenses','0.00009608268737793','2016-08-30 09:10:20'),(26926,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'282\'','expenses/fnSaveExpenses','0.021543025970459','2016-08-30 09:10:20'),(26927,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000053\' WHERE `ID` =  \'2144\'','expenses/fnSaveExpenses','0.016252040863037','2016-08-30 09:10:20'),(26928,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000053\', \'Operating Expenses [OP-E[00000072]]\', \'Operating Expenses [OP-E[00000072]]\', \'\', \'3\', \'2016-08-19\', \'16\', \'08\', 2080, 2080, \'10\')','expenses/fnSaveExpenses','0.02449107170105','2016-08-30 09:10:20'),(26929,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000053\', 1, \'Petronas\', \'32765\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.024436950683594','2016-08-30 09:10:20'),(26930,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000053\', 2, \'Petronas\', \'32787\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016724824905396','2016-08-30 09:10:20'),(26931,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000053\', 3, \'Sewa\', \'32765\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016139030456543','2016-08-30 09:10:20'),(26932,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000053\', 4, \'Sewa\', \'32793\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016691923141479','2016-08-30 09:10:20'),(26933,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000053\', 5, \'Saya fad\', \'32765\', 980, 1, \'1\', \'980\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016145944595337','2016-08-30 09:10:21'),(26934,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000053\', 6, \'Saya fad\', \'32781\', 980, 1, \'1\', \'980\', \'08\', \'16\', \'1\', \'OP-E[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016722917556763','2016-08-30 09:10:21'),(26935,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2080, `total_amount_cr` = 2080, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000053\'','expenses/fnSaveExpenses','0.016200065612793','2016-08-30 09:10:21'),(26936,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2144\'','expenses/fnSaveExpenses','0.033491849899292','2016-08-30 09:10:21'),(26937,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11335','expenses/fnSaveExpenses','0.024590969085693','2016-08-30 09:10:21'),(26938,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000053\'','expenses/fnSaveExpenses','0.033627033233643','2016-08-30 09:10:21'),(26939,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.014969110488892','2016-08-30 09:10:21'),(26940,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32787\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01622200012207','2016-08-30 09:10:21'),(26941,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015689134597778','2016-08-30 09:10:21'),(26942,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32793\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01627516746521','2016-08-30 09:10:21'),(26943,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015683174133301','2016-08-30 09:10:21'),(26944,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32781\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024563074111938','2016-08-30 09:10:21'),(26945,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'100\', \'OP-C\', \'2016-08-30\', \'148\', \'1\')','expenses/fnSaveExpenses','0.063284873962402','2016-08-30 10:45:13'),(26946,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2193, \'28\', \'30082016\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.049491167068481','2016-08-30 10:45:13'),(26947,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 86 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.034131050109863','2016-08-30 10:45:13'),(26948,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000086\' WHERE `ID` =  2193','expenses/fnSaveExpenses','0.024535179138184','2016-08-30 10:45:13'),(26949,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000086\', \'Cost of Goods Sold [OP-C[00000072]]\', \'Cost of Goods Sold [OP-C[00000072]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.039617776870728','2016-08-30 10:45:13'),(26950,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000086\', 1, \'30082016\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.04938793182373','2016-08-30 10:45:13'),(26951,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000086\', 2, \'30082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016695022583008','2016-08-30 10:45:13'),(26952,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000086\'','expenses/fnSaveExpenses','0.016184091567993','2016-08-30 10:45:13'),(26953,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2193','expenses/fnSaveExpenses','0.016834020614624','2016-08-30 10:45:13'),(26954,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11336','expenses/fnSaveExpenses','0.024406909942627','2016-08-30 10:45:13'),(26955,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000086\'','expenses/fnSaveExpenses','0.033448934555054','2016-08-30 10:45:13'),(26956,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.07249903678894','2016-08-30 10:45:13'),(26957,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016185998916626','2016-08-30 10:45:13'),(26958,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49759\'','expenses/fnSaveExpenses','0.036419153213501','2016-08-30 10:45:16'),(26959,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49760\'','expenses/fnSaveExpenses','0.024533987045288','2016-08-30 10:45:16'),(26960,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11336\'','expenses/fnSaveExpenses','0.016825914382935','2016-08-30 10:45:16'),(26961,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.02199387550354','2016-08-30 10:45:16'),(26962,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2193\', `createdBy` = \'28\', `itemdescription` = \'30082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2169\'','expenses/fnSaveExpenses','0.00019717216491699','2016-08-30 10:45:16'),(26963,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 87 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.037452936172485','2016-08-30 10:45:16'),(26964,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000087\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.017132997512817','2016-08-30 10:45:16'),(26965,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000087\', \'Cost of Goods Sold [OP-C[00000072]]\', \'Cost of Goods Sold [OP-C[00000072]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.016268968582153','2016-08-30 10:45:16'),(26966,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000087\', 1, \'30082016\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016098022460938','2016-08-30 10:45:16'),(26967,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000087\', 2, \'30082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016724109649658','2016-08-30 10:45:16'),(26968,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000087\'','expenses/fnSaveExpenses','0.016195058822632','2016-08-30 10:45:16'),(26969,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.016844987869263','2016-08-30 10:45:16'),(26970,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11337','expenses/fnSaveExpenses','0.01614785194397','2016-08-30 10:45:16'),(26971,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000087\'','expenses/fnSaveExpenses','0.016804933547974','2016-08-30 10:45:16'),(26972,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015326976776123','2016-08-30 10:45:16'),(26973,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016292095184326','2016-08-30 10:45:16'),(26974,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49761\'','expenses/fnSaveExpenses','0.094536066055298','2016-08-30 10:45:26'),(26975,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49762\'','expenses/fnSaveExpenses','0.017228126525879','2016-08-30 10:45:26'),(26976,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11337\'','expenses/fnSaveExpenses','0.017492055892944','2016-08-30 10:45:26'),(26977,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.013631105422974','2016-08-30 10:45:26'),(26978,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2193\', `createdBy` = \'28\', `itemdescription` = \'30082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2169\'','expenses/fnSaveExpenses','0.00019502639770508','2016-08-30 10:45:26'),(26979,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 88 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.014734983444214','2016-08-30 10:45:26'),(26980,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000088\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.016217947006226','2016-08-30 10:45:26'),(26981,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000088\', \'Cost of Goods Sold [OP-C[00000072]]\', \'Cost of Goods Sold [OP-C[00000072]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.016240835189819','2016-08-30 10:45:26'),(26982,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000088\', 1, \'30082016\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016107082366943','2016-08-30 10:45:26'),(26983,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000088\', 2, \'30082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016731023788452','2016-08-30 10:45:26'),(26984,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000088\'','expenses/fnSaveExpenses','0.016209125518799','2016-08-30 10:45:26'),(26985,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.016840934753418','2016-08-30 10:45:26'),(26986,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11338','expenses/fnSaveExpenses','0.016155004501343','2016-08-30 10:45:26'),(26987,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000088\'','expenses/fnSaveExpenses','0.016803026199341','2016-08-30 10:45:26'),(26988,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023605823516846','2016-08-30 10:45:26'),(26989,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016288995742798','2016-08-30 10:45:26'),(26990,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-30\', \'123\', \'12331\', \'TT\', \'126\', \'13\', 3)','transfer/newTransfer','0.041666984558105','2016-08-30 10:45:46'),(26991,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2194, \'32765\', \'12331\', \'fadfasfdasfasfasfasfasfasf\')','transfer/newTransfer','0.01679801940918','2016-08-30 10:45:46'),(26992,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'282\'','transfer/newTransfer','0.02305006980896','2016-08-30 10:45:46'),(26993,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000054\' WHERE `ID` =  2194','transfer/newTransfer','0.016814947128296','2016-08-30 10:45:46'),(26994,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000054\', \' [TT[00000081]]]\', \'Bank Transfer [  [TT[00000081]]] ]\', \'\', \'3\', \'2016-08-30\', \'2016\', \'08\', 12331, 12331, \'User\')','transfer/newTransfer','0.013921022415161','2016-08-30 10:45:46'),(26995,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000054\', 1, \'fadfasfdasfasfasfasfasfasf\', \'32762\', 12331, 1, \'1\', \'12331\', \'08\', \'2016\', \'0\', \'TT[00000081]\', \'User\')','transfer/newTransfer','0.016674041748047','2016-08-30 10:45:46'),(26996,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000054\', 2, \'fadfasfdasfasfasfasfasfasf\', \'32765\', 12331, 1, \'1\', \'12331\', \'08\', \'2016\', \'0\', \'TT[00000081]\', \'User\')','transfer/newTransfer','0.016114950180054','2016-08-30 10:45:46'),(26997,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 12331, `total_amount_cr` = 12331, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000054\'','transfer/newTransfer','0.016797065734863','2016-08-30 10:45:46'),(26998,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2194','transfer/newTransfer','0.016248941421509','2016-08-30 10:45:46'),(26999,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11339','transfer/newTransfer','0.016837120056152','2016-08-30 10:45:46'),(27000,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000054\'','transfer/newTransfer','0.016168117523193','2016-08-30 10:45:46'),(27001,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.017267942428589','2016-08-30 10:45:46'),(27002,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.033282995223999','2016-08-30 10:45:46'),(27003,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000063\'','sales/save_update_sale','0.094823837280273','2016-08-30 10:45:56'),(27004,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `journalID` =  \'AR20160800000063\'','sales/save_update_sale','0.033461093902588','2016-08-30 10:45:56'),(27005,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-29\', `bankID` = \'148\', `totalReceived` = \'100.00\', `updateAble` = 1 WHERE `ID` =  \'2246\'','sales/save_update_sale','0.016135931015015','2016-08-30 10:45:56'),(27006,23,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2246\'','sales/save_update_sale','0.016826152801514','2016-08-30 10:45:56'),(27007,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2246\', \'29092016\', \'100.00\', \'33018\', 1)','sales/save_update_sale','0.016217947006226','2016-08-30 10:45:56'),(27008,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2246\'','sales/save_update_sale','0.00018095970153809','2016-08-30 10:45:56'),(27009,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  \'320\'','sales/save_update_sale','0.016704082489014','2016-08-30 10:45:56'),(27010,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000067\' WHERE `ID` =  \'2246\'','sales/save_update_sale','0.049050092697144','2016-08-30 10:45:56'),(27011,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160800000067\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-08-29\', \'2016\', \'08\', \'100\', \'100\', \'28\')','sales/save_update_sale','0.023340940475464','2016-08-30 10:45:56'),(27012,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160800000067\', 1, \'29092016\', \'33018\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.016057968139648','2016-08-30 10:45:56'),(27013,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160800000067\', \'29092016\', \'33007\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016679048538208','2016-08-30 10:45:56'),(27014,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000067\'','sales/save_update_sale','0.024538993835449','2016-08-30 10:45:56'),(27015,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2246\'','sales/save_update_sale','0.016812086105347','2016-08-30 10:45:56'),(27016,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11340','sales/save_update_sale','0.01623797416687','2016-08-30 10:45:56'),(27017,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160800000067\'','sales/save_update_sale','0.016796112060547','2016-08-30 10:45:56'),(27018,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33018\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015161037445068','2016-08-30 10:45:56'),(27019,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.016192197799683','2016-08-30 10:45:56'),(27020,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48435\'','expenses/fnSaveExpenses','0.02678394317627','2016-08-30 10:46:52'),(27021,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48436\'','expenses/fnSaveExpenses','0.032870054244995','2016-08-30 10:46:52'),(27022,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10949\'','expenses/fnSaveExpenses','0.016823053359985','2016-08-30 10:46:52'),(27023,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'pymt\', `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'2200\', `formNo` = \'OP-L\', `paymentDate` = \'2016-08-15\', `bankId` = \'149\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2032\'','expenses/fnSaveExpenses','0.021962881088257','2016-08-30 10:46:52'),(27024,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2032\', `createdBy` = \'28\', `itemdescription` = \'10/08/2016\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'2200\', `amountExcludedTax` = \'2200\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1948\'','expenses/fnSaveExpenses','0.01671314239502','2016-08-30 10:46:52'),(27025,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 89 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.022181034088135','2016-08-30 10:46:52'),(27026,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000089\' WHERE `ID` =  \'2032\'','expenses/fnSaveExpenses','0.01679801940918','2016-08-30 10:46:52'),(27027,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000089\', \'Loan Repayment [OP-L[00000020]]\', \'Loan Repayment [OP-L[00000020]]\', \'\', \'3\', \'2016-08-15\', \'16\', \'08\', 2200, 2200, \'28\')','expenses/fnSaveExpenses','0.015671968460083','2016-08-30 10:46:52'),(27028,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000089\', 1, \'10/08/2016\', \'33008\', 2200, 1, \'1\', \'2200\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/fnSaveExpenses','0.016685962677002','2016-08-30 10:46:52'),(27029,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000089\', 2, \'10/08/2016\', \'33013\', 2200, 1, \'1\', \'2200\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/fnSaveExpenses','0.016133785247803','2016-08-30 10:46:52'),(27030,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2200, `total_amount_cr` = 2200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000089\'','expenses/fnSaveExpenses','0.016792058944702','2016-08-30 10:46:52'),(27031,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2032\'','expenses/fnSaveExpenses','0.016273021697998','2016-08-30 10:46:52'),(27032,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11341','expenses/fnSaveExpenses','0.016734838485718','2016-08-30 10:46:52'),(27033,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000089\'','expenses/fnSaveExpenses','0.016206026077271','2016-08-30 10:46:52'),(27034,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.059540033340454','2016-08-30 10:46:52'),(27035,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.040584087371826','2016-08-30 10:46:52'),(27036,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49769\'','expenses/fnSaveExpenses','0.025402069091797','2016-08-30 10:46:57'),(27037,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49770\'','expenses/fnSaveExpenses','0.01684308052063','2016-08-30 10:46:57'),(27038,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11341\'','expenses/fnSaveExpenses','0.016210079193115','2016-08-30 10:46:57'),(27039,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'pymt\', `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'2200\', `formNo` = \'OP-L\', `paymentDate` = \'2016-08-15\', `bankId` = \'149\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2032\'','expenses/fnSaveExpenses','0.022346973419189','2016-08-30 10:46:57'),(27040,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2032\', `createdBy` = \'28\', `itemdescription` = \'10/08/2016\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'2200\', `amountExcludedTax` = \'2200\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'1948\'','expenses/fnSaveExpenses','0.0008080005645752','2016-08-30 10:46:57'),(27041,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 90 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.019679069519043','2016-08-30 10:46:57'),(27042,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000090\' WHERE `ID` =  \'2032\'','expenses/fnSaveExpenses','0.016784191131592','2016-08-30 10:46:57'),(27043,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000090\', \'Loan Repayment [OP-L[00000020]]\', \'Loan Repayment [OP-L[00000020]]\', \'\', \'3\', \'2016-08-15\', \'16\', \'08\', 2200, 2200, \'28\')','expenses/fnSaveExpenses','0.015665054321289','2016-08-30 10:46:57'),(27044,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000090\', 1, \'10/08/2016\', \'33008\', 2200, 1, \'1\', \'2200\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/fnSaveExpenses','0.016686916351318','2016-08-30 10:46:57'),(27045,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000090\', 2, \'10/08/2016\', \'33013\', 2200, 1, \'1\', \'2200\', \'08\', \'16\', \'1\', \'OP-L[00000020]\', \'User\')','expenses/fnSaveExpenses','0.016119003295898','2016-08-30 10:46:57'),(27046,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2200, `total_amount_cr` = 2200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000090\'','expenses/fnSaveExpenses','0.016778945922852','2016-08-30 10:46:57'),(27047,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2032\'','expenses/fnSaveExpenses','0.016257047653198','2016-08-30 10:46:57'),(27048,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11342','expenses/fnSaveExpenses','0.01673698425293','2016-08-30 10:46:57'),(27049,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000090\'','expenses/fnSaveExpenses','0.016191005706787','2016-08-30 10:46:57'),(27050,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33008\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015797138214111','2016-08-30 10:46:57'),(27051,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015668869018555','2016-08-30 10:46:57'),(27052,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49763\'','expenses/fnSaveExpenses','0.03056812286377','2016-08-30 10:47:50'),(27053,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49764\'','expenses/fnSaveExpenses','0.016808986663818','2016-08-30 10:47:50'),(27054,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11338\'','expenses/fnSaveExpenses','0.016226053237915','2016-08-30 10:47:50'),(27055,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.014295816421509','2016-08-30 10:47:50'),(27056,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2193\', `createdBy` = \'28\', `itemdescription` = \'30082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2169\'','expenses/fnSaveExpenses','0.0001988410949707','2016-08-30 10:47:50'),(27057,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 91 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.014040946960449','2016-08-30 10:47:50'),(27058,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000091\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.017139911651611','2016-08-30 10:47:50'),(27059,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000091\', \'Cost of Goods Sold [OP-C[00000072]]\', \'Cost of Goods Sold [OP-C[00000072]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.015676021575928','2016-08-30 10:47:50'),(27060,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000091\', 1, \'30082016\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.01667594909668','2016-08-30 10:47:50'),(27061,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000091\', 2, \'30082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016151905059814','2016-08-30 10:47:50'),(27062,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000091\'','expenses/fnSaveExpenses','0.016785860061646','2016-08-30 10:47:50'),(27063,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.016247034072876','2016-08-30 10:47:50'),(27064,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11343','expenses/fnSaveExpenses','0.016746997833252','2016-08-30 10:47:50'),(27065,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000091\'','expenses/fnSaveExpenses','0.016225099563599','2016-08-30 10:47:50'),(27066,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.031935930252075','2016-08-30 10:47:50'),(27067,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016340017318726','2016-08-30 10:47:50'),(27068,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49773\'','expenses/fnSaveExpenses','0.021950960159302','2016-08-30 10:48:18'),(27069,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49774\'','expenses/fnSaveExpenses','0.01681113243103','2016-08-30 10:48:18'),(27070,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11343\'','expenses/fnSaveExpenses','0.032892942428589','2016-08-30 10:48:18'),(27071,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.014286994934082','2016-08-30 10:48:18'),(27072,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2193\', `createdBy` = \'28\', `itemdescription` = \'30082016\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2169\'','expenses/fnSaveExpenses','0.00020408630371094','2016-08-30 10:48:18'),(27073,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 92 WHERE `ID` =  \'314\'','expenses/fnSaveExpenses','0.029629945755005','2016-08-30 10:48:18'),(27074,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000092\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.016819000244141','2016-08-30 10:48:18'),(27075,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160800000092\', \'Cost of Goods Sold [OP-C[00000072]]\', \'Cost of Goods Sold [OP-C[00000072]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.015661954879761','2016-08-30 10:48:18'),(27076,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000092\', 1, \'30082016\', \'33007\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016702890396118','2016-08-30 10:48:18'),(27077,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160800000092\', 2, \'30082016\', \'33019\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000072]\', \'User\')','expenses/fnSaveExpenses','0.016133069992065','2016-08-30 10:48:18'),(27078,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000092\'','expenses/fnSaveExpenses','0.016788959503174','2016-08-30 10:48:18'),(27079,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.016248226165771','2016-08-30 10:48:18'),(27080,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11344','expenses/fnSaveExpenses','0.016744136810303','2016-08-30 10:48:18'),(27081,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160800000092\'','expenses/fnSaveExpenses','0.016211032867432','2016-08-30 10:48:18'),(27082,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01593804359436','2016-08-30 10:48:18'),(27083,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015680074691772','2016-08-30 10:48:18'),(27084,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2178\'','expenses/removePayment','0.079708099365234','2016-08-30 10:48:30'),(27085,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2177\'','expenses/removePayment','0.088134050369263','2016-08-30 10:48:30'),(27086,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2174\'','expenses/removePayment','0.099053144454956','2016-08-30 10:48:30'),(27087,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2175\'','expenses/removePayment','0.086055994033813','2016-08-30 10:48:30'),(27088,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49625\'','expenses/removePayment','0.063428163528442','2016-08-30 10:48:30'),(27089,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49623\'','expenses/removePayment','0.079946041107178','2016-08-30 10:48:30'),(27090,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49617\'','expenses/removePayment','0.046947002410889','2016-08-30 10:48:30'),(27091,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2176\'','expenses/removePayment','0.15257716178894','2016-08-30 10:48:30'),(27092,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49619\'','expenses/removePayment','0.054666042327881','2016-08-30 10:48:30'),(27093,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49618\'','expenses/removePayment','0.099768161773682','2016-08-30 10:48:30'),(27094,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49624\'','expenses/removePayment','0.033146858215332','2016-08-30 10:48:30'),(27095,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49626\'','expenses/removePayment','0.016026973724365','2016-08-30 10:48:30'),(27096,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2179\'','expenses/removePayment','0.079596042633057','2016-08-30 10:48:30'),(27097,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49621\'','expenses/removePayment','0.056175947189331','2016-08-30 10:48:30'),(27098,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49620\'','expenses/removePayment','0.074848890304565','2016-08-30 10:48:30'),(27099,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11285\'','expenses/removePayment','0.033977031707764','2016-08-30 10:48:30'),(27100,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49627\'','expenses/removePayment','0.096281051635742','2016-08-30 10:48:30'),(27101,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49622\'','expenses/removePayment','0.022084951400757','2016-08-30 10:48:30'),(27102,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11286\'','expenses/removePayment','0.050137996673584','2016-08-30 10:48:30'),(27103,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11282\'','expenses/removePayment','0.033010959625244','2016-08-30 10:48:31'),(27104,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11284\'','expenses/removePayment','0.091606855392456','2016-08-30 10:48:31'),(27105,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11283\'','expenses/removePayment','0.05846905708313','2016-08-30 10:48:31'),(27106,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49628\'','expenses/removePayment','0.049566984176636','2016-08-30 10:48:31'),(27107,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11287\'','expenses/removePayment','0.12508487701416','2016-08-30 10:48:31'),(27108,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2180\'','expenses/removePayment','0.032968044281006','2016-08-30 10:48:31'),(27109,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49629\'','expenses/removePayment','0.033071041107178','2016-08-30 10:48:31'),(27110,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49630\'','expenses/removePayment','0.016795873641968','2016-08-30 10:48:31'),(27111,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11288\'','expenses/removePayment','0.016222953796387','2016-08-30 10:48:31'),(27112,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2193\'','expenses/removePayment','0.030090093612671','2016-08-30 10:48:31'),(27113,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49775\'','expenses/removePayment','0.064906120300293','2016-08-30 10:48:31'),(27114,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49776\'','expenses/removePayment','0.0331871509552','2016-08-30 10:48:31'),(27115,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11344\'','expenses/removePayment','0.033194065093994','2016-08-30 10:48:31'),(27116,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-08-30\', \'123\', \'21321.90\', \'LR\', \'Bank Rakyat	\', \'13\', 3)','loanReceive/save_new_loan','0.04482102394104','2016-08-30 14:24:52'),(27117,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2254, 1, \'32767\', \'21321.90\', \'dasda\')','loanReceive/save_new_loan','0.016531944274902','2016-08-30 14:24:52'),(27118,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'297\'','loanReceive/save_new_loan','0.03516697883606','2016-08-30 14:24:52'),(27119,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000056\' WHERE `ID` =  2254','loanReceive/save_new_loan','0.016510009765625','2016-08-30 14:24:52'),(27120,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000056\', \'LR[00000039]\', \'Loan Received [ LR[00000039] ]\', \'\', \'3\', \'2016-08-30\', \'2016\', \'08\', 21321.9, 21321.9, \'User\')','loanReceive/save_new_loan','0.014379978179932','2016-08-30 14:24:52'),(27121,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000056\', 1, \'dasda\', \'32767\', \'Bank Rakyat	\', 21321.9, \'1\', \'1\', \'21321.9\', \'08\', \'2016\', \'1\', \'LR[00000039]\', \'0\', \'User\')','loanReceive/save_new_loan','0.024717092514038','2016-08-30 14:24:53'),(27122,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000056\', \'dasda\', \'32762\', \'Bank Rakyat	\', 21321.9, \'1\', \'1\', \'21321.9\', \'08\', \'2016\', \'LR[00000039]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016409158706665','2016-08-30 14:24:53'),(27123,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 21321.9, `total_amount_cr` = 21321.9, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000056\'','loanReceive/save_new_loan','0.016495943069458','2016-08-30 14:24:53'),(27124,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2254','loanReceive/save_new_loan','0.016535997390747','2016-08-30 14:24:53'),(27125,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11345','loanReceive/save_new_loan','0.016543865203857','2016-08-30 14:24:53'),(27126,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000056\'','loanReceive/save_new_loan','0.02357006072998','2016-08-30 14:24:53'),(27127,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32767\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.023755073547363','2016-08-30 14:24:53'),(27128,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','loanReceive/save_new_loan','0.015944004058838','2016-08-30 14:24:53'),(27129,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'4\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.079981088638306','2016-08-30 14:40:31'),(27130,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2195, \'1\', \'Item 1\', 1, \'32527\', \'1.3\', \'1.3\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.042593002319336','2016-08-30 14:40:31'),(27131,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2195, \'1\', \'Item 2\', 1, \'32527\', \'0.7\', \'0.7\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016493082046509','2016-08-30 14:40:31'),(27132,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2195, \'1\', \'Item 3\', 1, \'32527\', \'0.99\', \'0.99\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.015119075775146','2016-08-30 14:40:31'),(27133,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2195, \'1\', \'Item 4\', 1, \'32527\', \'1.01\', \'1.01\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.026240110397339','2016-08-30 14:40:31'),(27134,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.023522138595581','2016-08-30 14:40:31'),(27135,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000028\' WHERE `ID` =  2195','expenses/fnSaveExpenses','0.016520977020264','2016-08-30 14:40:31'),(27136,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', \'Cost of Goods Sold [OP-C[00000644]]\', \'Cost of Goods Sold [OP-C[00000644]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 4, 4, \'1\')','expenses/fnSaveExpenses','0.047705888748169','2016-08-30 14:40:31'),(27137,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', 1, \'Item 1\', \'32515\', 1.3, 1, \'1\', \'1.3\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.049746990203857','2016-08-30 14:40:31'),(27138,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', 2, \'Item 1\', \'32527\', 1.3, 1, \'1\', \'1.3\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016401052474976','2016-08-30 14:40:31'),(27139,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', 3, \'Item 2\', \'32515\', 0.7, 1, \'1\', \'0.7\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016427040100098','2016-08-30 14:40:31'),(27140,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', 4, \'Item 2\', \'32527\', 0.7, 1, \'1\', \'0.7\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.01642918586731','2016-08-30 14:40:31'),(27141,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', 5, \'Item 3\', \'32515\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016423940658569','2016-08-30 14:40:31'),(27142,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', 6, \'Item 3\', \'32527\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016429901123047','2016-08-30 14:40:31'),(27143,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', 7, \'Item 4\', \'32515\', 1.01, 1, \'1\', \'1.01\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.024768114089966','2016-08-30 14:40:31'),(27144,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000028\', 8, \'Item 4\', \'32527\', 1.01, 1, \'1\', \'1.01\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016423940658569','2016-08-30 14:40:31'),(27145,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 4, `total_amount_cr` = 4, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000028\'','expenses/fnSaveExpenses','0.031863927841187','2016-08-30 14:40:31'),(27146,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2195','expenses/fnSaveExpenses','0.02620005607605','2016-08-30 14:40:31'),(27147,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11346','expenses/fnSaveExpenses','0.024712085723877','2016-08-30 14:40:31'),(27148,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000028\'','expenses/fnSaveExpenses','0.04981803894043','2016-08-30 14:40:31'),(27149,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.057152032852173','2016-08-30 14:40:31'),(27150,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015979051589966','2016-08-30 14:40:31'),(27151,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016000032424927','2016-08-30 14:40:31'),(27152,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024335861206055','2016-08-30 14:40:31'),(27153,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015974998474121','2016-08-30 14:40:31'),(27154,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016014099121094','2016-08-30 14:40:31'),(27155,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015974044799805','2016-08-30 14:40:31'),(27156,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016010999679565','2016-08-30 14:40:31'),(27157,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49779\'','expenses/fnSaveExpenses','0.13913321495056','2016-08-30 14:41:06'),(27158,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49780\'','expenses/fnSaveExpenses','0.021024942398071','2016-08-30 14:41:06'),(27159,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49781\'','expenses/fnSaveExpenses','0.026046991348267','2016-08-30 14:41:06'),(27160,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49782\'','expenses/fnSaveExpenses','0.016523122787476','2016-08-30 14:41:06'),(27161,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49783\'','expenses/fnSaveExpenses','0.016539812088013','2016-08-30 14:41:06'),(27162,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49784\'','expenses/fnSaveExpenses','0.016524791717529','2016-08-30 14:41:06'),(27163,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49785\'','expenses/fnSaveExpenses','0.016525983810425','2016-08-30 14:41:06'),(27164,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49786\'','expenses/fnSaveExpenses','0.016520023345947','2016-08-30 14:41:06'),(27165,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11346\'','expenses/fnSaveExpenses','0.016557931900024','2016-08-30 14:41:06'),(27166,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'2\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  \'2195\'','expenses/fnSaveExpenses','0.013948917388916','2016-08-30 14:41:06'),(27167,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2195\', `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1.3\', `amountExcludedTax` = \'1.3\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2171\'','expenses/fnSaveExpenses','0.00023007392883301','2016-08-30 14:41:06'),(27168,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = \'2195\', `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'0.7\', `amountExcludedTax` = \'0.7\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2172\'','expenses/fnSaveExpenses','0.00012397766113281','2016-08-30 14:41:06'),(27169,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.011883974075317','2016-08-30 14:41:06'),(27170,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000029\' WHERE `ID` =  \'2195\'','expenses/fnSaveExpenses','0.026179075241089','2016-08-30 14:41:06'),(27171,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', \'Cost of Goods Sold [OP-C[00000644]]\', \'Cost of Goods Sold [OP-C[00000644]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.015810966491699','2016-08-30 14:41:06'),(27172,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', 1, \'Item 1\', \'32515\', 1.3, 1, \'1\', \'1.3\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016379833221436','2016-08-30 14:41:06'),(27173,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', 2, \'Item 1\', \'32527\', 1.3, 1, \'1\', \'1.3\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016423940658569','2016-08-30 14:41:06'),(27174,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', 3, \'Item 2\', \'32515\', 0.7, 1, \'1\', \'0.7\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016396045684814','2016-08-30 14:41:07'),(27175,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', 4, \'Item 2\', \'32527\', 0.7, 1, \'1\', \'0.7\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.016413927078247','2016-08-30 14:41:07'),(27176,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', 5, \'Item 3\', \'32515\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.01639986038208','2016-08-30 14:41:07'),(27177,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', 6, \'Item 3\', \'32527\', 0.99, 1, \'1\', \'0.99\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.023421049118042','2016-08-30 14:41:07'),(27178,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', 7, \'Item 4\', \'32515\', 1.01, 1, \'1\', \'1.01\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.01776385307312','2016-08-30 14:41:07'),(27179,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000029\', 8, \'Item 4\', \'32527\', 1.01, 1, \'1\', \'1.01\', \'08\', \'16\', \'1\', \'OP-C[00000644]\', \'User\')','expenses/fnSaveExpenses','0.048360109329224','2016-08-30 14:41:07'),(27180,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 4, `total_amount_cr` = 4, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000029\'','expenses/fnSaveExpenses','0.017826080322266','2016-08-30 14:41:07'),(27181,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2195\'','expenses/fnSaveExpenses','0.016539812088013','2016-08-30 14:41:07'),(27182,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11347','expenses/fnSaveExpenses','0.016433954238892','2016-08-30 14:41:07'),(27183,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000029\'','expenses/fnSaveExpenses','0.016502857208252','2016-08-30 14:41:07'),(27184,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015345811843872','2016-08-30 14:41:07'),(27185,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.083218097686768','2016-08-30 14:41:07'),(27186,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032590866088867','2016-08-30 14:41:07'),(27187,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.017266035079956','2016-08-30 14:41:07'),(27188,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015753984451294','2016-08-30 14:41:07'),(27189,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015706062316895','2016-08-30 14:41:07'),(27190,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015733957290649','2016-08-30 14:41:07'),(27191,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.022814989089966','2016-08-30 14:41:07'),(27192,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2142\'','expenses/removePayment','0.11959004402161','2016-08-30 14:49:34'),(27193,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'\'','expenses/removePayment','0.00018310546875','2016-08-30 14:49:34'),(27194,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2157\'','expenses/removePayment','0.096848011016846','2016-08-30 14:49:34'),(27195,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2158\'','expenses/removePayment','0.062285900115967','2016-08-30 14:49:34'),(27196,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.00015497207641602','2016-08-30 14:49:34'),(27197,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` IS NULL','expenses/removePayment','0.0012490749359131','2016-08-30 14:49:34'),(27198,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11225\'','expenses/removePayment','0.060748100280762','2016-08-30 14:49:34'),(27199,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11226\'','expenses/removePayment','0.095199108123779','2016-08-30 14:49:34'),(27200,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2148\'','expenses/removePayment','0.12805700302124','2016-08-30 14:49:34'),(27201,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2147\'','expenses/removePayment','0.13311195373535','2016-08-30 14:49:34'),(27202,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49011\'','expenses/removePayment','0.09612512588501','2016-08-30 14:49:34'),(27203,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49009\'','expenses/removePayment','0.095558166503906','2016-08-30 14:49:34'),(27204,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49012\'','expenses/removePayment','0.20806193351746','2016-08-30 14:49:34'),(27205,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49010\'','expenses/removePayment','0.23937082290649','2016-08-30 14:49:34'),(27206,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11187\'','expenses/removePayment','0.066273927688599','2016-08-30 14:49:34'),(27207,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11186\'','expenses/removePayment','0.051226139068604','2016-08-30 14:49:34'),(27208,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2159\'','expenses/removePayment','0.035907030105591','2016-08-30 14:49:35'),(27209,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2195\'','expenses/removePayment','0.06988000869751','2016-08-30 14:49:35'),(27210,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49345\'','expenses/removePayment','0.12933897972107','2016-08-30 14:49:35'),(27211,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49787\'','expenses/removePayment','0.2214949131012','2016-08-30 14:49:35'),(27212,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49346\'','expenses/removePayment','0.20764589309692','2016-08-30 14:49:35'),(27213,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49788\'','expenses/removePayment','0.066940069198608','2016-08-30 14:49:35'),(27214,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49347\'','expenses/removePayment','0.08397102355957','2016-08-30 14:49:35'),(27215,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49789\'','expenses/removePayment','0.06574821472168','2016-08-30 14:49:35'),(27216,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49348\'','expenses/removePayment','0.08232593536377','2016-08-30 14:49:35'),(27217,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49790\'','expenses/removePayment','0.050112962722778','2016-08-30 14:49:35'),(27218,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49349\'','expenses/removePayment','0.033183813095093','2016-08-30 14:49:35'),(27219,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49791\'','expenses/removePayment','0.057904958724976','2016-08-30 14:49:35'),(27220,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49350\'','expenses/removePayment','0.12483096122742','2016-08-30 14:49:35'),(27221,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49792\'','expenses/removePayment','0.049888134002686','2016-08-30 14:49:35'),(27222,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11227\'','expenses/removePayment','0.03312611579895','2016-08-30 14:49:35'),(27223,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49793\'','expenses/removePayment','0.01649808883667','2016-08-30 14:49:35'),(27224,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49794\'','expenses/removePayment','0.033188819885254','2016-08-30 14:49:35'),(27225,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11347\'','expenses/removePayment','0.033170938491821','2016-08-30 14:49:35'),(27226,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'\'','sales/save_update_sale','0.00023198127746582','2016-08-30 15:16:29'),(27227,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'\'','sales/save_update_sale','0.085400104522705','2016-08-30 15:16:29'),(27228,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-01\', `bankID` = \'122\', `totalReceived` = \'32423423523.00\', `updateAble` = 1 WHERE `ID` =  \'688\'','sales/save_update_sale','0.044095993041992','2016-08-30 15:16:29'),(27229,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'688\'','sales/save_update_sale','0.018126010894775','2016-08-30 15:16:29'),(27230,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'688\', \'seluar\', \'100.00\', \'32772\', 1)','sales/save_update_sale','0.024873018264771','2016-08-30 15:16:29'),(27231,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'688\', \'dfsdf\', \'32423423423.00\', \'32772\', 2)','sales/save_update_sale','0.016546010971069','2016-08-30 15:16:29'),(27232,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'688\'','sales/save_update_sale','0.00020909309387207','2016-08-30 15:16:29'),(27233,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'297\'','sales/save_update_sale','0.022372961044312','2016-08-30 15:16:29'),(27234,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000057\' WHERE `ID` =  \'688\'','sales/save_update_sale','0.026350975036621','2016-08-30 15:16:29'),(27235,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000057\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-08-01\', \'2016\', \'08\', \'32423423523\', \'32423423523\', \'10\')','sales/save_update_sale','0.03936505317688','2016-08-30 15:16:29'),(27236,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000057\', 1, \'seluar\', \'32772\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.15205216407776','2016-08-30 15:16:29'),(27237,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000057\', \'seluar\', \'32761\', \'\', 100, \'1\', \'1\', \'100\', \'08\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.022366046905518','2016-08-30 15:16:29'),(27238,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000057\', 3, \'dfsdf\', \'32772\', \'\', 32423423423, \'1\', \'1\', \'32423423423\', \'08\', \'2016\', \'2\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.016427040100098','2016-08-30 15:16:29'),(27239,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160800000057\', \'dfsdf\', \'32761\', \'\', 32423423423, \'1\', \'1\', \'32423423423\', \'08\', \'2016\', \'OR[00000016]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016420125961304','2016-08-30 15:16:29'),(27240,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 32423423523, `total_amount_cr` = 32423423523, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000057\'','sales/save_update_sale','0.014703989028931','2016-08-30 15:16:29'),(27241,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'688\'','sales/save_update_sale','0.018362045288086','2016-08-30 15:16:29'),(27242,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11348','sales/save_update_sale','0.016534090042114','2016-08-30 15:16:29'),(27243,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000057\'','sales/save_update_sale','0.024841070175171','2016-08-30 15:16:29'),(27244,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.049278974533081','2016-08-30 15:16:29'),(27245,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.032636880874634','2016-08-30 15:16:29'),(27246,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.024311065673828','2016-08-30 15:16:29'),(27247,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.016009092330933','2016-08-30 15:16:29'),(27248,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'3\', \'OP-C\', \'2016-08-30\', \'83\', \'1\')','expenses/fnSaveExpenses','0.064892053604126','2016-08-30 15:17:56'),(27249,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2196, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016477823257446','2016-08-30 15:17:56'),(27250,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2196, \'1\', \'Item 2\', 1, \'32527\', \'0.09\', \'0.09\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016516923904419','2016-08-30 15:17:56'),(27251,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2196, \'1\', \'Item 3\', 1, \'32527\', \'1.91\', \'1.91\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024838209152222','2016-08-30 15:17:56'),(27252,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.032038927078247','2016-08-30 15:17:56'),(27253,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000030\' WHERE `ID` =  2196','expenses/fnSaveExpenses','0.016500949859619','2016-08-30 15:17:56'),(27254,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000030\', \'Cost of Goods Sold [OP-C[00000645]]\', \'Cost of Goods Sold [OP-C[00000645]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.012157917022705','2016-08-30 15:17:56'),(27255,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000030\', 1, \'Item 1\', \'32516\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.018245935440063','2016-08-30 15:17:56'),(27256,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000030\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016426086425781','2016-08-30 15:17:56'),(27257,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000030\', 3, \'Item 2\', \'32516\', 0.09, 1, \'1\', \'0.09\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016389846801758','2016-08-30 15:17:56'),(27258,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000030\', 4, \'Item 2\', \'32527\', 0.09, 1, \'1\', \'0.09\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016412019729614','2016-08-30 15:17:56'),(27259,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000030\', 5, \'Item 3\', \'32516\', 1.91, 1, \'1\', \'1.91\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.01643180847168','2016-08-30 15:17:56'),(27260,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000030\', 6, \'Item 3\', \'32527\', 1.91, 1, \'1\', \'1.91\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016415119171143','2016-08-30 15:17:56'),(27261,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000030\'','expenses/fnSaveExpenses','0.033154010772705','2016-08-30 15:17:56'),(27262,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2196','expenses/fnSaveExpenses','0.01653790473938','2016-08-30 15:17:56'),(27263,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11349','expenses/fnSaveExpenses','0.016392946243286','2016-08-30 15:17:56'),(27264,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000030\'','expenses/fnSaveExpenses','0.041493892669678','2016-08-30 15:17:56'),(27265,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015459060668945','2016-08-30 15:17:56'),(27266,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01594614982605','2016-08-30 15:17:56'),(27267,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015920162200928','2016-08-30 15:17:56'),(27268,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016175985336304','2016-08-30 15:17:56'),(27269,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.13233304023743','2016-08-30 15:17:56'),(27270,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015919923782349','2016-08-30 15:17:56'),(27271,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49799\'','expenses/fnSaveExpenses','0.020280838012695','2016-08-30 15:22:20'),(27272,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49800\'','expenses/fnSaveExpenses','0.024826049804688','2016-08-30 15:22:20'),(27273,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49801\'','expenses/fnSaveExpenses','0.01653003692627','2016-08-30 15:22:20'),(27274,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49802\'','expenses/fnSaveExpenses','0.016511917114258','2016-08-30 15:22:20'),(27275,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49803\'','expenses/fnSaveExpenses','0.016526937484741','2016-08-30 15:22:20'),(27276,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49804\'','expenses/fnSaveExpenses','0.014435052871704','2016-08-30 15:22:20'),(27277,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11349\'','expenses/fnSaveExpenses','0.018592119216919','2016-08-30 15:22:20'),(27278,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'5\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'83\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2196','expenses/fnSaveExpenses','0.030527830123901','2016-08-30 15:22:20'),(27279,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2196, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2175\'','expenses/fnSaveExpenses','0.00021910667419434','2016-08-30 15:22:20'),(27280,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2196, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'0.09\', `amountExcludedTax` = \'0.09\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2176\'','expenses/fnSaveExpenses','0.00012779235839844','2016-08-30 15:22:20'),(27281,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2196, `createdBy` = \'1\', `itemdescription` = \'Item 3\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1.91\', `amountExcludedTax` = \'1.91\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2177\'','expenses/fnSaveExpenses','0.00011205673217773','2016-08-30 15:22:20'),(27282,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2196, \'1\', \'Item 4\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.013654947280884','2016-08-30 15:22:20'),(27283,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2196, \'1\', \'Item 5\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.026591062545776','2016-08-30 15:22:20'),(27284,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.018132925033569','2016-08-30 15:22:20'),(27285,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000031\' WHERE `ID` =  2196','expenses/fnSaveExpenses','0.024525880813599','2016-08-30 15:22:20'),(27286,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', \'Cost of Goods Sold [OP-C[00000645]]\', \'Cost of Goods Sold [OP-C[00000645]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 5, 5, \'1\')','expenses/fnSaveExpenses','0.024500131607056','2016-08-30 15:22:20'),(27287,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 1, \'Item 1\', \'32516\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.12842392921448','2016-08-30 15:22:20'),(27288,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.062644958496094','2016-08-30 15:22:20'),(27289,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 3, \'Item 2\', \'32516\', 0.09, 1, \'1\', \'0.09\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.026352167129517','2016-08-30 15:22:20'),(27290,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 4, \'Item 2\', \'32527\', 0.09, 1, \'1\', \'0.09\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.02471399307251','2016-08-30 15:22:20'),(27291,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 5, \'Item 3\', \'32516\', 1.91, 1, \'1\', \'1.91\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016386032104492','2016-08-30 15:22:20'),(27292,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 6, \'Item 3\', \'32527\', 1.91, 1, \'1\', \'1.91\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016396045684814','2016-08-30 15:22:20'),(27293,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 7, \'Item 4\', \'32516\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016386032104492','2016-08-30 15:22:20'),(27294,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 8, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016398191452026','2016-08-30 15:22:20'),(27295,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 9, \'Item 5\', \'32516\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016378879547119','2016-08-30 15:22:20'),(27296,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000031\', 10, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000645]\', \'User\')','expenses/fnSaveExpenses','0.016401052474976','2016-08-30 15:22:20'),(27297,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 5, `total_amount_cr` = 5, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000031\'','expenses/fnSaveExpenses','0.016455888748169','2016-08-30 15:22:20'),(27298,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2196','expenses/fnSaveExpenses','0.016547918319702','2016-08-30 15:22:20'),(27299,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11350','expenses/fnSaveExpenses','0.016413927078247','2016-08-30 15:22:20'),(27300,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000031\'','expenses/fnSaveExpenses','0.033159017562866','2016-08-30 15:22:20'),(27301,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01960015296936','2016-08-30 15:22:20'),(27302,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015922069549561','2016-08-30 15:22:20'),(27303,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015928030014038','2016-08-30 15:22:20'),(27304,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015912055969238','2016-08-30 15:22:20'),(27305,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015951871871948','2016-08-30 15:22:20'),(27306,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015928983688354','2016-08-30 15:22:20'),(27307,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015949010848999','2016-08-30 15:22:20'),(27308,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015916109085083','2016-08-30 15:22:21'),(27309,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015933990478516','2016-08-30 15:22:21'),(27310,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015913009643555','2016-08-30 15:22:21'),(27311,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2196\'','expenses/removePayment','0.096857786178589','2016-08-30 15:25:20'),(27312,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49805\'','expenses/removePayment','0.021500110626221','2016-08-30 15:25:20'),(27313,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49806\'','expenses/removePayment','0.016487121582031','2016-08-30 15:25:20'),(27314,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49807\'','expenses/removePayment','0.016534090042114','2016-08-30 15:25:20'),(27315,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49808\'','expenses/removePayment','0.033195018768311','2016-08-30 15:25:20'),(27316,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49809\'','expenses/removePayment','0.16009497642517','2016-08-30 15:25:20'),(27317,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49810\'','expenses/removePayment','0.020709991455078','2016-08-30 15:25:20'),(27318,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49811\'','expenses/removePayment','0.01875114440918','2016-08-30 15:25:20'),(27319,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49812\'','expenses/removePayment','0.016524076461792','2016-08-30 15:25:20'),(27320,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49813\'','expenses/removePayment','0.016544818878174','2016-08-30 15:25:20'),(27321,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49814\'','expenses/removePayment','0.016528844833374','2016-08-30 15:25:20'),(27322,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11350\'','expenses/removePayment','0.016528844833374','2016-08-30 15:25:20'),(27323,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-08-30\', \'122\', \'77777777777\', \'TT\', \'126\', \'13\', 3)','transfer/newTransfer','0.13262701034546','2016-08-30 15:27:05'),(27324,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2197, \'32765\', \'77777777777\', \'fad34\')','transfer/newTransfer','0.014245986938477','2016-08-30 15:27:05'),(27325,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'282\'','transfer/newTransfer','0.027082920074463','2016-08-30 15:27:06'),(27326,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000055\' WHERE `ID` =  2197','transfer/newTransfer','0.014775991439819','2016-08-30 15:27:06'),(27327,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160800000055\', \' [TT[00000082]]]\', \'Bank Transfer [  [TT[00000082]]] ]\', \'\', \'3\', \'2016-08-30\', \'2016\', \'08\', 77777777777, 77777777777, \'User\')','transfer/newTransfer','0.022585868835449','2016-08-30 15:27:06'),(27328,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000055\', 1, \'fad34\', \'32761\', 77777777777, 1, \'1\', \'77777777777\', \'08\', \'2016\', \'0\', \'TT[00000082]\', \'User\')','transfer/newTransfer','0.024696826934814','2016-08-30 15:27:06'),(27329,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160800000055\', 2, \'fad34\', \'32765\', 77777777777, 1, \'1\', \'77777777777\', \'08\', \'2016\', \'0\', \'TT[00000082]\', \'User\')','transfer/newTransfer','0.016398191452026','2016-08-30 15:27:06'),(27330,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 77777777777, `total_amount_cr` = 77777777777, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000055\'','transfer/newTransfer','0.016491889953613','2016-08-30 15:27:06'),(27331,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2197','transfer/newTransfer','0.024872064590454','2016-08-30 15:27:06'),(27332,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11351','transfer/newTransfer','0.016540050506592','2016-08-30 15:27:06'),(27333,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160800000055\'','transfer/newTransfer','0.024819135665894','2016-08-30 15:27:06'),(27334,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.048811912536621','2016-08-30 15:27:06'),(27335,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','transfer/newTransfer','0.022244215011597','2016-08-30 15:27:06'),(27336,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'100\', \'OP-C\', \'2016-08-30\', \'84\', \'1\')','expenses/fnSaveExpenses','0.065291881561279','2016-08-30 15:35:25'),(27337,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.039350032806396','2016-08-30 15:35:25'),(27338,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.01901388168335','2016-08-30 15:35:25'),(27339,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 3\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.14103007316589','2016-08-30 15:35:25'),(27340,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 4\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016487121582031','2016-08-30 15:35:25'),(27341,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 5\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016503095626831','2016-08-30 15:35:25'),(27342,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 6\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033152103424072','2016-08-30 15:35:25'),(27343,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 7\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016500949859619','2016-08-30 15:35:25'),(27344,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 8\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016520977020264','2016-08-30 15:35:25'),(27345,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 9\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016490936279297','2016-08-30 15:35:25'),(27346,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 10\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033151149749756','2016-08-30 15:35:25'),(27347,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 11\', 1, \'32527\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016504049301147','2016-08-30 15:35:25'),(27348,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 12\', 1, \'32527\', \'80\', \'80\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016495943069458','2016-08-30 15:35:25'),(27349,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.016392946243286','2016-08-30 15:35:25'),(27350,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000032\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.01846981048584','2016-08-30 15:35:25'),(27351,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', \'Cost of Goods Sold [OP-C[00000646]]\', \'Cost of Goods Sold [OP-C[00000646]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 100, 100, \'1\')','expenses/fnSaveExpenses','0.012181997299194','2016-08-30 15:35:25'),(27352,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 1, \'Item 1\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.049426078796387','2016-08-30 15:35:25'),(27353,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.018654108047485','2016-08-30 15:35:25'),(27354,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 3, \'Item 2\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016406059265137','2016-08-30 15:35:25'),(27355,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.01640510559082','2016-08-30 15:35:25'),(27356,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 5, \'Item 3\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016392946243286','2016-08-30 15:35:25'),(27357,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016427993774414','2016-08-30 15:35:25'),(27358,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 7, \'Item 4\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016381025314331','2016-08-30 15:35:25'),(27359,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 8, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.01640510559082','2016-08-30 15:35:25'),(27360,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 9, \'Item 5\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016416788101196','2016-08-30 15:35:25'),(27361,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 10, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016409158706665','2016-08-30 15:35:25'),(27362,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 11, \'Item 6\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.033056020736694','2016-08-30 15:35:25'),(27363,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 12, \'Item 6\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.033041954040527','2016-08-30 15:35:25'),(27364,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 13, \'Item 7\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.022440910339355','2016-08-30 15:35:25'),(27365,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 14, \'Item 7\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.026985168457031','2016-08-30 15:35:25'),(27366,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 15, \'Item 8\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.033058881759644','2016-08-30 15:35:25'),(27367,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 16, \'Item 8\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.024728059768677','2016-08-30 15:35:25'),(27368,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 17, \'Item 9\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.04140305519104','2016-08-30 15:35:25'),(27369,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 18, \'Item 9\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.039420127868652','2016-08-30 15:35:25'),(27370,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 19, \'Item 10\', \'32517\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.018370151519775','2016-08-30 15:35:25'),(27371,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 20, \'Item 10\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.031069993972778','2016-08-30 15:35:25'),(27372,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 21, \'Item 11\', \'32517\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016088008880615','2016-08-30 15:35:25'),(27373,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 22, \'Item 11\', \'32527\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.05199408531189','2016-08-30 15:35:25'),(27374,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 23, \'Item 12\', \'32517\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.031100988388062','2016-08-30 15:35:26'),(27375,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000032\', 24, \'Item 12\', \'32527\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.04140305519104','2016-08-30 15:35:26'),(27376,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000032\'','expenses/fnSaveExpenses','0.093425989151001','2016-08-30 15:35:26'),(27377,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.033154964447021','2016-08-30 15:35:26'),(27378,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11352','expenses/fnSaveExpenses','0.03298807144165','2016-08-30 15:35:26'),(27379,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000032\'','expenses/fnSaveExpenses','0.033139944076538','2016-08-30 15:35:26'),(27380,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.041442155838013','2016-08-30 15:35:26'),(27381,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032488822937012','2016-08-30 15:35:26'),(27382,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032513856887817','2016-08-30 15:35:26'),(27383,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032493114471436','2016-08-30 15:35:26'),(27384,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.030238151550293','2016-08-30 15:35:26'),(27385,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.034772872924805','2016-08-30 15:35:26'),(27386,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032487869262695','2016-08-30 15:35:26'),(27387,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.049184083938599','2016-08-30 15:35:26'),(27388,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.040794849395752','2016-08-30 15:35:26'),(27389,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024151086807251','2016-08-30 15:35:26'),(27390,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.049147129058838','2016-08-30 15:35:26'),(27391,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024151086807251','2016-08-30 15:35:26'),(27392,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024178028106689','2016-08-30 15:35:26'),(27393,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0075249671936035','2016-08-30 15:35:26'),(27394,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01358699798584','2016-08-30 15:35:26'),(27395,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018099069595337','2016-08-30 15:35:26'),(27396,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015848875045776','2016-08-30 15:35:26'),(27397,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.038254976272583','2016-08-30 15:35:26'),(27398,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016128063201904','2016-08-30 15:35:26'),(27399,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0097920894622803','2016-08-30 15:35:26'),(27400,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015872001647949','2016-08-30 15:35:26'),(27401,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0075399875640869','2016-08-30 15:35:26'),(27402,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013644218444824','2016-08-30 15:35:26'),(27403,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0097980499267578','2016-08-30 15:35:26'),(27404,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49817\'','expenses/fnSaveExpenses','0.022235155105591','2016-08-30 15:36:27'),(27405,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49818\'','expenses/fnSaveExpenses','0.0081360340118408','2016-08-30 15:36:27'),(27406,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49819\'','expenses/fnSaveExpenses','0.022396802902222','2016-08-30 15:36:27'),(27407,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49820\'','expenses/fnSaveExpenses','0.027331829071045','2016-08-30 15:36:27'),(27408,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49821\'','expenses/fnSaveExpenses','0.016529083251953','2016-08-30 15:36:27'),(27409,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49822\'','expenses/fnSaveExpenses','0.024884939193726','2016-08-30 15:36:27'),(27410,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49823\'','expenses/fnSaveExpenses','0.016535997390747','2016-08-30 15:36:27'),(27411,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49824\'','expenses/fnSaveExpenses','0.024831056594849','2016-08-30 15:36:27'),(27412,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49825\'','expenses/fnSaveExpenses','0.016537189483643','2016-08-30 15:36:27'),(27413,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49826\'','expenses/fnSaveExpenses','0.0081741809844971','2016-08-30 15:36:27'),(27414,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49827\'','expenses/fnSaveExpenses','0.033214092254639','2016-08-30 15:36:27'),(27415,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49828\'','expenses/fnSaveExpenses','0.013762950897217','2016-08-30 15:36:27'),(27416,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49829\'','expenses/fnSaveExpenses','0.019320011138916','2016-08-30 15:36:27'),(27417,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49830\'','expenses/fnSaveExpenses','0.033174991607666','2016-08-30 15:36:27'),(27418,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49831\'','expenses/fnSaveExpenses','0.014045000076294','2016-08-30 15:36:27'),(27419,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49832\'','expenses/fnSaveExpenses','0.016235113143921','2016-08-30 15:36:27'),(27420,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49833\'','expenses/fnSaveExpenses','0.019320964813232','2016-08-30 15:36:27'),(27421,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49834\'','expenses/fnSaveExpenses','0.0081830024719238','2016-08-30 15:36:27'),(27422,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49835\'','expenses/fnSaveExpenses','0.0140540599823','2016-08-30 15:36:27'),(27423,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49836\'','expenses/fnSaveExpenses','0.010680913925171','2016-08-30 15:36:27'),(27424,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49837\'','expenses/fnSaveExpenses','0.016530990600586','2016-08-30 15:36:27'),(27425,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49838\'','expenses/fnSaveExpenses','0.024854183197021','2016-08-30 15:36:27'),(27426,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49839\'','expenses/fnSaveExpenses','0.016544103622437','2016-08-30 15:36:27'),(27427,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49840\'','expenses/fnSaveExpenses','0.0082030296325684','2016-08-30 15:36:27'),(27428,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11352\'','expenses/fnSaveExpenses','0.022382974624634','2016-08-30 15:36:27'),(27429,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'10\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2198','expenses/fnSaveExpenses','0.024835109710693','2016-08-30 15:36:27'),(27430,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2181\'','expenses/fnSaveExpenses','0.016841888427734','2016-08-30 15:36:27'),(27431,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2182\'','expenses/fnSaveExpenses','0.00019001960754395','2016-08-30 15:36:27'),(27432,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 3\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2183\'','expenses/fnSaveExpenses','0.00010800361633301','2016-08-30 15:36:27'),(27433,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 4\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2184\'','expenses/fnSaveExpenses','0.00010490417480469','2016-08-30 15:36:27'),(27434,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 5\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2185\'','expenses/fnSaveExpenses','0.000097990036010742','2016-08-30 15:36:27'),(27435,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 6\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2186\'','expenses/fnSaveExpenses','0.00009608268737793','2016-08-30 15:36:27'),(27436,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 7\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2187\'','expenses/fnSaveExpenses','0.000093936920166016','2016-08-30 15:36:27'),(27437,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 8\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2188\'','expenses/fnSaveExpenses','0.000092983245849609','2016-08-30 15:36:27'),(27438,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 9\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2189\'','expenses/fnSaveExpenses','0.000093936920166016','2016-08-30 15:36:27'),(27439,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 10\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2190\'','expenses/fnSaveExpenses','0.000092983245849609','2016-08-30 15:36:27'),(27440,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.024814128875732','2016-08-30 15:36:27'),(27441,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000033\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.0081820487976074','2016-08-30 15:36:28'),(27442,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', \'Cost of Goods Sold [OP-C[00000646]]\', \'Cost of Goods Sold [OP-C[00000646]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 10, 10, \'1\')','expenses/fnSaveExpenses','0.01599383354187','2016-08-30 15:36:28'),(27443,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080561637878418','2016-08-30 15:36:28'),(27444,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.014004945755005','2016-08-30 15:36:28'),(27445,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.027173042297363','2016-08-30 15:36:28'),(27446,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.01642918586731','2016-08-30 15:36:28'),(27447,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 5, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080769062042236','2016-08-30 15:36:28'),(27448,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.014042854309082','2016-08-30 15:36:28'),(27449,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 7, \'Item 4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.010496139526367','2016-08-30 15:36:28'),(27450,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 8, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016443967819214','2016-08-30 15:36:28'),(27451,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 9, \'Item 5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080661773681641','2016-08-30 15:36:28'),(27452,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 10, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.014040946960449','2016-08-30 15:36:28'),(27453,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 11, \'Item 6\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.010462999343872','2016-08-30 15:36:28'),(27454,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 12, \'Item 6\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.024758100509644','2016-08-30 15:36:28'),(27455,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 13, \'Item 7\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080721378326416','2016-08-30 15:36:28'),(27456,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 14, \'Item 7\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.014033079147339','2016-08-30 15:36:28'),(27457,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 15, \'Item 8\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.010484218597412','2016-08-30 15:36:28'),(27458,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 16, \'Item 8\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016422986984253','2016-08-30 15:36:28'),(27459,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 17, \'Item 9\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080959796905518','2016-08-30 15:36:28'),(27460,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 18, \'Item 9\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.014021158218384','2016-08-30 15:36:28'),(27461,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 19, \'Item 10\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.010507106781006','2016-08-30 15:36:28'),(27462,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 20, \'Item 10\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.01643180847168','2016-08-30 15:36:28'),(27463,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 21, \'Item 11\', \'32515\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080769062042236','2016-08-30 15:36:28'),(27464,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 22, \'Item 11\', \'32527\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.014056921005249','2016-08-30 15:36:28'),(27465,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 23, \'Item 12\', \'32515\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.010478019714355','2016-08-30 15:36:28'),(27466,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000033\', 24, \'Item 12\', \'32527\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016418933868408','2016-08-30 15:36:28'),(27467,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000033\'','expenses/fnSaveExpenses','0.0081439018249512','2016-08-30 15:36:28'),(27468,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.01416802406311','2016-08-30 15:36:28'),(27469,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11353','expenses/fnSaveExpenses','0.010539054870605','2016-08-30 15:36:28'),(27470,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000033\'','expenses/fnSaveExpenses','0.21644687652588','2016-08-30 15:36:28'),(27471,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.041993141174316','2016-08-30 15:36:28'),(27472,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076208114624023','2016-08-30 15:36:28'),(27473,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01360297203064','2016-08-30 15:36:28'),(27474,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01006817817688','2016-08-30 15:36:28'),(27475,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015992164611816','2016-08-30 15:36:28'),(27476,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076630115509033','2016-08-30 15:36:28'),(27477,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015978097915649','2016-08-30 15:36:28'),(27478,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076649188995361','2016-08-30 15:36:28'),(27479,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013601064682007','2016-08-30 15:36:28'),(27480,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010056972503662','2016-08-30 15:36:28'),(27481,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015990972518921','2016-08-30 15:36:28'),(27482,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076570510864258','2016-08-30 15:36:28'),(27483,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015916109085083','2016-08-30 15:36:28'),(27484,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0077650547027588','2016-08-30 15:36:28'),(27485,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076451301574707','2016-08-30 15:36:28'),(27486,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013068914413452','2016-08-30 15:36:28'),(27487,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010619163513184','2016-08-30 15:36:28'),(27488,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076830387115479','2016-08-30 15:36:28'),(27489,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013341903686523','2016-08-30 15:36:28'),(27490,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010334968566895','2016-08-30 15:36:28'),(27491,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076611042022705','2016-08-30 15:36:28'),(27492,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013031959533691','2016-08-30 15:36:28'),(27493,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010624170303345','2016-08-30 15:36:28'),(27494,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0076768398284912','2016-08-30 15:36:28'),(27495,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49841\'','expenses/fnSaveExpenses','0.015100955963135','2016-08-30 15:36:51'),(27496,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49842\'','expenses/fnSaveExpenses','0.0079090595245361','2016-08-30 15:36:51'),(27497,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49843\'','expenses/fnSaveExpenses','0.021933794021606','2016-08-30 15:36:51'),(27498,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49844\'','expenses/fnSaveExpenses','0.011108875274658','2016-08-30 15:36:51'),(27499,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49845\'','expenses/fnSaveExpenses','0.0081980228424072','2016-08-30 15:36:51'),(27500,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49846\'','expenses/fnSaveExpenses','0.0081849098205566','2016-08-30 15:36:51'),(27501,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49847\'','expenses/fnSaveExpenses','0.0081918239593506','2016-08-30 15:36:51'),(27502,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49848\'','expenses/fnSaveExpenses','0.00819993019104','2016-08-30 15:36:51'),(27503,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49849\'','expenses/fnSaveExpenses','0.0082159042358398','2016-08-30 15:36:51'),(27504,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49850\'','expenses/fnSaveExpenses','0.0081939697265625','2016-08-30 15:36:51'),(27505,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49851\'','expenses/fnSaveExpenses','0.0081920623779297','2016-08-30 15:36:51'),(27506,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49852\'','expenses/fnSaveExpenses','0.0082039833068848','2016-08-30 15:36:51'),(27507,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49853\'','expenses/fnSaveExpenses','0.0082030296325684','2016-08-30 15:36:51'),(27508,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49854\'','expenses/fnSaveExpenses','0.013263940811157','2016-08-30 15:36:51'),(27509,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49855\'','expenses/fnSaveExpenses','0.011429071426392','2016-08-30 15:36:51'),(27510,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49856\'','expenses/fnSaveExpenses','0.013275861740112','2016-08-30 15:36:51'),(27511,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49857\'','expenses/fnSaveExpenses','0.011426210403442','2016-08-30 15:36:51'),(27512,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49858\'','expenses/fnSaveExpenses','0.0081939697265625','2016-08-30 15:36:51'),(27513,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49859\'','expenses/fnSaveExpenses','0.013622045516968','2016-08-30 15:36:51'),(27514,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49860\'','expenses/fnSaveExpenses','0.011112928390503','2016-08-30 15:36:51'),(27515,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49861\'','expenses/fnSaveExpenses','0.0081930160522461','2016-08-30 15:36:51'),(27516,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49862\'','expenses/fnSaveExpenses','0.013314008712769','2016-08-30 15:36:51'),(27517,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49863\'','expenses/fnSaveExpenses','0.01141095161438','2016-08-30 15:36:52'),(27518,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49864\'','expenses/fnSaveExpenses','0.0081889629364014','2016-08-30 15:36:52'),(27519,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11353\'','expenses/fnSaveExpenses','0.013605117797852','2016-08-30 15:36:52'),(27520,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'110\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2198','expenses/fnSaveExpenses','0.022043943405151','2016-08-30 15:36:52'),(27521,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2181\'','expenses/fnSaveExpenses','0.00025200843811035','2016-08-30 15:36:52'),(27522,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2182\'','expenses/fnSaveExpenses','0.00012493133544922','2016-08-30 15:36:52'),(27523,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 3\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2183\'','expenses/fnSaveExpenses','0.00011992454528809','2016-08-30 15:36:52'),(27524,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 4\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2184\'','expenses/fnSaveExpenses','0.00012087821960449','2016-08-30 15:36:52'),(27525,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 5\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2185\'','expenses/fnSaveExpenses','0.00011491775512695','2016-08-30 15:36:52'),(27526,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 6\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2186\'','expenses/fnSaveExpenses','0.00011515617370605','2016-08-30 15:36:52'),(27527,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 7\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2187\'','expenses/fnSaveExpenses','0.00011491775512695','2016-08-30 15:36:52'),(27528,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 8\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2188\'','expenses/fnSaveExpenses','0.00011396408081055','2016-08-30 15:36:52'),(27529,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 9\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2189\'','expenses/fnSaveExpenses','0.00011515617370605','2016-08-30 15:36:52'),(27530,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 10\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2190\'','expenses/fnSaveExpenses','0.00011396408081055','2016-08-30 15:36:52'),(27531,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2198, \'1\', \'Item 11\', 1, \'32527\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0082759857177734','2016-08-30 15:36:52'),(27532,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.010847091674805','2016-08-30 15:36:52'),(27533,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000034\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.011331081390381','2016-08-30 15:36:52'),(27534,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', \'Cost of Goods Sold [OP-C[00000646]]\', \'Cost of Goods Sold [OP-C[00000646]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 110, 110, \'1\')','expenses/fnSaveExpenses','0.0075738430023193','2016-08-30 15:36:52'),(27535,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080499649047852','2016-08-30 15:36:52'),(27536,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080969333648682','2016-08-30 15:36:52'),(27537,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.013593196868896','2016-08-30 15:36:52'),(27538,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.010925054550171','2016-08-30 15:36:52'),(27539,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 5, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0081040859222412','2016-08-30 15:36:52'),(27540,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.096893072128296','2016-08-30 15:36:52'),(27541,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 7, \'Item 4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.010928869247437','2016-08-30 15:36:52'),(27542,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 8, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080862045288086','2016-08-30 15:36:52'),(27543,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 9, \'Item 5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.013291120529175','2016-08-30 15:36:52'),(27544,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 10, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.011224031448364','2016-08-30 15:36:52'),(27545,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 11, \'Item 6\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080521106719971','2016-08-30 15:36:52'),(27546,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 12, \'Item 6\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.013590097427368','2016-08-30 15:36:52'),(27547,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 13, \'Item 7\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.010915040969849','2016-08-30 15:36:52'),(27548,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 14, \'Item 7\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080959796905518','2016-08-30 15:36:52'),(27549,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 15, \'Item 8\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.029910087585449','2016-08-30 15:36:52'),(27550,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 16, \'Item 8\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.019536018371582','2016-08-30 15:36:52'),(27551,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 17, \'Item 9\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.016414165496826','2016-08-30 15:36:52'),(27552,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 18, \'Item 9\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.030233860015869','2016-08-30 15:36:52'),(27553,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 19, \'Item 10\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.019238948822021','2016-08-30 15:36:52'),(27554,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 20, \'Item 10\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.021888017654419','2016-08-30 15:36:52'),(27555,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 21, \'Item 11\', \'32515\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.019259929656982','2016-08-30 15:36:52'),(27556,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 22, \'Item 11\', \'32527\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.024745941162109','2016-08-30 15:36:52'),(27557,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 23, \'Item 12\', \'32515\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.024737119674683','2016-08-30 15:36:52'),(27558,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 24, \'Item 12\', \'32527\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.024740934371948','2016-08-30 15:36:52'),(27559,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 25, \'Item 11\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.013288021087646','2016-08-30 15:36:52'),(27560,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000034\', 26, \'Item 11\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.01951789855957','2016-08-30 15:36:52'),(27561,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000034\'','expenses/fnSaveExpenses','0.049832820892334','2016-08-30 15:36:52'),(27562,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.013399839401245','2016-08-30 15:36:52'),(27563,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11354','expenses/fnSaveExpenses','0.036264896392822','2016-08-30 15:36:52'),(27564,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000034\'','expenses/fnSaveExpenses','0.030305147171021','2016-08-30 15:36:52'),(27565,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.10794687271118','2016-08-30 15:36:52'),(27566,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.028703927993774','2016-08-30 15:36:52'),(27567,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.021075010299683','2016-08-30 15:36:52'),(27568,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01904296875','2016-08-30 15:36:52'),(27569,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.040899038314819','2016-08-30 15:36:52'),(27570,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.021371126174927','2016-08-30 15:36:52'),(27571,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.040884017944336','2016-08-30 15:36:52'),(27572,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.027099132537842','2016-08-30 15:36:52'),(27573,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015905141830444','2016-08-30 15:36:53'),(27574,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015898942947388','2016-08-30 15:36:53'),(27575,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01593804359436','2016-08-30 15:36:53'),(27576,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015915870666504','2016-08-30 15:36:53'),(27577,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.032596111297607','2016-08-30 15:36:53'),(27578,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.12417197227478','2016-08-30 15:36:53'),(27579,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.05761194229126','2016-08-30 15:36:53'),(27580,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012478828430176','2016-08-30 15:36:53'),(27581,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024574041366577','2016-08-30 15:36:53'),(27582,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.027343988418579','2016-08-30 15:36:53'),(27583,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012793064117432','2016-08-30 15:36:53'),(27584,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010761022567749','2016-08-30 15:36:53'),(27585,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.021134853363037','2016-08-30 15:36:53'),(27586,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010719060897827','2016-08-30 15:36:53'),(27587,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012814998626709','2016-08-30 15:36:53'),(27588,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01070499420166','2016-08-30 15:36:53'),(27589,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012799024581909','2016-08-30 15:36:53'),(27590,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010729789733887','2016-08-30 15:36:53'),(27591,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49865\'','expenses/fnSaveExpenses','0.026880979537964','2016-08-30 15:37:59'),(27592,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49866\'','expenses/fnSaveExpenses','0.011863946914673','2016-08-30 15:37:59'),(27593,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49867\'','expenses/fnSaveExpenses','0.037806034088135','2016-08-30 15:37:59'),(27594,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49868\'','expenses/fnSaveExpenses','0.016815900802612','2016-08-30 15:37:59'),(27595,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49869\'','expenses/fnSaveExpenses','0.011611938476562','2016-08-30 15:37:59'),(27596,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49870\'','expenses/fnSaveExpenses','0.0081758499145508','2016-08-30 15:37:59'),(27597,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49871\'','expenses/fnSaveExpenses','0.021149873733521','2016-08-30 15:37:59'),(27598,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49872\'','expenses/fnSaveExpenses','0.011888027191162','2016-08-30 15:37:59'),(27599,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49873\'','expenses/fnSaveExpenses','0.012823104858398','2016-08-30 15:37:59'),(27600,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49874\'','expenses/fnSaveExpenses','0.011912107467651','2016-08-30 15:37:59'),(27601,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49875\'','expenses/fnSaveExpenses','0.012805938720703','2016-08-30 15:37:59'),(27602,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49876\'','expenses/fnSaveExpenses','0.016830921173096','2016-08-30 15:37:59'),(27603,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49877\'','expenses/fnSaveExpenses','0.011619091033936','2016-08-30 15:37:59'),(27604,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49878\'','expenses/fnSaveExpenses','0.008195161819458','2016-08-30 15:37:59'),(27605,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49879\'','expenses/fnSaveExpenses','0.012805938720703','2016-08-30 15:37:59'),(27606,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49880\'','expenses/fnSaveExpenses','0.028581142425537','2016-08-30 15:37:59'),(27607,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49881\'','expenses/fnSaveExpenses','0.012807130813599','2016-08-30 15:37:59'),(27608,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49882\'','expenses/fnSaveExpenses','0.011904001235962','2016-08-30 15:37:59'),(27609,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49883\'','expenses/fnSaveExpenses','0.0082008838653564','2016-08-30 15:37:59'),(27610,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49884\'','expenses/fnSaveExpenses','0.013118028640747','2016-08-30 15:37:59'),(27611,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49885\'','expenses/fnSaveExpenses','0.011614084243774','2016-08-30 15:37:59'),(27612,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49886\'','expenses/fnSaveExpenses','0.0081889629364014','2016-08-30 15:37:59'),(27613,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49887\'','expenses/fnSaveExpenses','0.012830018997192','2016-08-30 15:37:59'),(27614,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49888\'','expenses/fnSaveExpenses','0.016839981079102','2016-08-30 15:37:59'),(27615,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49889\'','expenses/fnSaveExpenses','0.011605978012085','2016-08-30 15:37:59'),(27616,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49890\'','expenses/fnSaveExpenses','0.0081961154937744','2016-08-30 15:37:59'),(27617,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11354\'','expenses/fnSaveExpenses','0.012815952301025','2016-08-30 15:37:59'),(27618,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'110\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2198','expenses/fnSaveExpenses','0.014008045196533','2016-08-30 15:37:59'),(27619,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2181\'','expenses/fnSaveExpenses','0.00019097328186035','2016-08-30 15:37:59'),(27620,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2182\'','expenses/fnSaveExpenses','0.000098943710327148','2016-08-30 15:37:59'),(27621,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 3\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2183\'','expenses/fnSaveExpenses','0.000097990036010742','2016-08-30 15:37:59'),(27622,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 4\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2184\'','expenses/fnSaveExpenses','0.000092983245849609','2016-08-30 15:37:59'),(27623,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 5\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2185\'','expenses/fnSaveExpenses','0.000092029571533203','2016-08-30 15:37:59'),(27624,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 6\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2186\'','expenses/fnSaveExpenses','0.000092029571533203','2016-08-30 15:37:59'),(27625,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 7\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2187\'','expenses/fnSaveExpenses','0.000091075897216797','2016-08-30 15:37:59'),(27626,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 8\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2188\'','expenses/fnSaveExpenses','0.000091075897216797','2016-08-30 15:37:59'),(27627,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 9\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2189\'','expenses/fnSaveExpenses','0.000091075897216797','2016-08-30 15:37:59'),(27628,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 10\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2190\'','expenses/fnSaveExpenses','0.000090837478637695','2016-08-30 15:37:59'),(27629,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 11\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.000091075897216797','2016-08-30 15:37:59'),(27630,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.017392158508301','2016-08-30 15:37:59'),(27631,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000035\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.0081901550292969','2016-08-30 15:37:59'),(27632,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', \'Cost of Goods Sold [OP-C[00000646]]\', \'Cost of Goods Sold [OP-C[00000646]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 110, 110, \'1\')','expenses/fnSaveExpenses','0.012341022491455','2016-08-30 15:37:59'),(27633,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.011690855026245','2016-08-30 15:37:59'),(27634,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080950260162354','2016-08-30 15:37:59'),(27635,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.01308798789978','2016-08-30 15:37:59'),(27636,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.011425971984863','2016-08-30 15:37:59'),(27637,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 5, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080890655517578','2016-08-30 15:37:59'),(27638,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012813091278076','2016-08-30 15:37:59'),(27639,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 7, \'Item 4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.05835485458374','2016-08-30 15:37:59'),(27640,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 8, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.011406898498535','2016-08-30 15:37:59'),(27641,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 9, \'Item 5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080859661102295','2016-08-30 15:37:59'),(27642,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 10, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012825012207031','2016-08-30 15:37:59'),(27643,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 11, \'Item 6\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.011707067489624','2016-08-30 15:37:59'),(27644,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 12, \'Item 6\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0081140995025635','2016-08-30 15:37:59'),(27645,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 13, \'Item 7\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.033085107803345','2016-08-30 15:37:59'),(27646,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 14, \'Item 7\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080649852752686','2016-08-30 15:37:59'),(27647,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 15, \'Item 8\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012587070465088','2016-08-30 15:37:59'),(27648,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 16, \'Item 8\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.011950016021729','2016-08-30 15:38:00'),(27649,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 17, \'Item 9\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.024719953536987','2016-08-30 15:38:00'),(27650,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 18, \'Item 9\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080831050872803','2016-08-30 15:38:00'),(27651,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 19, \'Item 10\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012603044509888','2016-08-30 15:38:00'),(27652,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 20, \'Item 10\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.011919021606445','2016-08-30 15:38:00'),(27653,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 21, \'Item 11\', \'32515\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012598037719727','2016-08-30 15:38:00'),(27654,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 22, \'Item 11\', \'32527\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.011910200119019','2016-08-30 15:38:00'),(27655,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 23, \'Item 12\', \'32515\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0081188678741455','2016-08-30 15:38:00'),(27656,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 24, \'Item 12\', \'32527\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012898921966553','2016-08-30 15:38:00'),(27657,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 25, \'Item 11\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.028284072875977','2016-08-30 15:38:00'),(27658,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000035\', 26, \'Item 11\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.0080950260162354','2016-08-30 15:38:00'),(27659,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000035\'','expenses/fnSaveExpenses','0.012678861618042','2016-08-30 15:38:00'),(27660,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.012049913406372','2016-08-30 15:38:00'),(27661,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11355','expenses/fnSaveExpenses','0.012631893157959','2016-08-30 15:38:00'),(27662,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000035\'','expenses/fnSaveExpenses','0.011998176574707','2016-08-30 15:38:00'),(27663,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.042938947677612','2016-08-30 15:38:00'),(27664,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012388944625854','2016-08-30 15:38:00'),(27665,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011224031448364','2016-08-30 15:38:00'),(27666,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012456893920898','2016-08-30 15:38:00'),(27667,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011190891265869','2016-08-30 15:38:00'),(27668,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012440919876099','2016-08-30 15:38:00'),(27669,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011183023452759','2016-08-30 15:38:00'),(27670,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01242208480835','2016-08-30 15:38:00'),(27671,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.027852058410645','2016-08-30 15:38:00'),(27672,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024307012557983','2016-08-30 15:38:00'),(27673,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012159109115601','2016-08-30 15:38:00'),(27674,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011489152908325','2016-08-30 15:38:00'),(27675,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012176990509033','2016-08-30 15:38:00'),(27676,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011486053466797','2016-08-30 15:38:00'),(27677,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0121750831604','2016-08-30 15:38:00'),(27678,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011520147323608','2016-08-30 15:38:00'),(27679,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012149095535278','2016-08-30 15:38:00'),(27680,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016271829605103','2016-08-30 15:38:00'),(27681,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015684127807617','2016-08-30 15:38:00'),(27682,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016293048858643','2016-08-30 15:38:00'),(27683,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.019550085067749','2016-08-30 15:38:00'),(27684,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012418985366821','2016-08-30 15:38:00'),(27685,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011178970336914','2016-08-30 15:38:00'),(27686,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012478113174438','2016-08-30 15:38:00'),(27687,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011183977127075','2016-08-30 15:38:00'),(27688,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012462139129639','2016-08-30 15:38:00'),(27689,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49891\'','expenses/fnSaveExpenses','0.03866720199585','2016-08-30 15:39:39'),(27690,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49892\'','expenses/fnSaveExpenses','0.0081100463867188','2016-08-30 15:39:39'),(27691,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49893\'','expenses/fnSaveExpenses','0.012355089187622','2016-08-30 15:39:39'),(27692,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49894\'','expenses/fnSaveExpenses','0.016802787780762','2016-08-30 15:39:39'),(27693,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49895\'','expenses/fnSaveExpenses','0.028700113296509','2016-08-30 15:39:39'),(27694,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49896\'','expenses/fnSaveExpenses','0.02100396156311','2016-08-30 15:39:39'),(27695,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49897\'','expenses/fnSaveExpenses','0.012010097503662','2016-08-30 15:39:39'),(27696,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49898\'','expenses/fnSaveExpenses','0.024847984313965','2016-08-30 15:39:39'),(27697,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49899\'','expenses/fnSaveExpenses','0.029052019119263','2016-08-30 15:39:39'),(27698,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49900\'','expenses/fnSaveExpenses','0.012303829193115','2016-08-30 15:39:39'),(27699,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49901\'','expenses/fnSaveExpenses','0.012392997741699','2016-08-30 15:39:39'),(27700,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49902\'','expenses/fnSaveExpenses','0.1289439201355','2016-08-30 15:39:39'),(27701,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49903\'','expenses/fnSaveExpenses','0.012378931045532','2016-08-30 15:39:39'),(27702,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49904\'','expenses/fnSaveExpenses','0.016811847686768','2016-08-30 15:39:39'),(27703,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49905\'','expenses/fnSaveExpenses','0.012027025222778','2016-08-30 15:39:39'),(27704,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49906\'','expenses/fnSaveExpenses','0.0081741809844971','2016-08-30 15:39:39'),(27705,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49907\'','expenses/fnSaveExpenses','0.01239013671875','2016-08-30 15:39:39'),(27706,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49908\'','expenses/fnSaveExpenses','0.012309074401855','2016-08-30 15:39:39'),(27707,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49909\'','expenses/fnSaveExpenses','0.012395858764648','2016-08-30 15:39:39'),(27708,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49910\'','expenses/fnSaveExpenses','0.016803979873657','2016-08-30 15:39:39'),(27709,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49911\'','expenses/fnSaveExpenses','0.012000799179077','2016-08-30 15:39:39'),(27710,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49912\'','expenses/fnSaveExpenses','0.0081689357757568','2016-08-30 15:39:39'),(27711,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49913\'','expenses/fnSaveExpenses','0.012409925460815','2016-08-30 15:39:39'),(27712,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49914\'','expenses/fnSaveExpenses','0.012312173843384','2016-08-30 15:39:39'),(27713,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49915\'','expenses/fnSaveExpenses','0.012397050857544','2016-08-30 15:39:39'),(27714,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49916\'','expenses/fnSaveExpenses','0.012306928634644','2016-08-30 15:39:39'),(27715,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11355\'','expenses/fnSaveExpenses','0.012376070022583','2016-08-30 15:39:39'),(27716,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'110\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2198','expenses/fnSaveExpenses','0.026161909103394','2016-08-30 15:39:39'),(27717,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2181\'','expenses/fnSaveExpenses','0.00040912628173828','2016-08-30 15:39:39'),(27718,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2182\'','expenses/fnSaveExpenses','0.00022602081298828','2016-08-30 15:39:39'),(27719,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 3\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2183\'','expenses/fnSaveExpenses','0.00021100044250488','2016-08-30 15:39:39'),(27720,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 4\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2184\'','expenses/fnSaveExpenses','0.00019407272338867','2016-08-30 15:39:39'),(27721,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 5\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2185\'','expenses/fnSaveExpenses','0.00019192695617676','2016-08-30 15:39:39'),(27722,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 6\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2186\'','expenses/fnSaveExpenses','0.00018596649169922','2016-08-30 15:39:39'),(27723,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 7\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2187\'','expenses/fnSaveExpenses','0.0001838207244873','2016-08-30 15:39:39'),(27724,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 8\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2188\'','expenses/fnSaveExpenses','0.00018000602722168','2016-08-30 15:39:39'),(27725,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 9\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2189\'','expenses/fnSaveExpenses','0.00017905235290527','2016-08-30 15:39:39'),(27726,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 10\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2190\'','expenses/fnSaveExpenses','0.00017809867858887','2016-08-30 15:39:39'),(27727,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2198, `createdBy` = \'1\', `itemdescription` = \'Item 11\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2193\'','expenses/fnSaveExpenses','0.00017905235290527','2016-08-30 15:39:39'),(27728,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.014398097991943','2016-08-30 15:39:39'),(27729,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000036\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.012195110321045','2016-08-30 15:39:39'),(27730,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', \'Cost of Goods Sold [OP-C[00000646]]\', \'Cost of Goods Sold [OP-C[00000646]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 110, 110, \'1\')','expenses/fnSaveExpenses','0.011889934539795','2016-08-30 15:39:39'),(27731,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012105941772461','2016-08-30 15:39:39'),(27732,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012336015701294','2016-08-30 15:39:39'),(27733,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012124061584473','2016-08-30 15:39:39'),(27734,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012348890304565','2016-08-30 15:39:39'),(27735,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 5, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012119054794312','2016-08-30 15:39:39'),(27736,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012351036071777','2016-08-30 15:39:39'),(27737,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 7, \'Item 4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.025050163269043','2016-08-30 15:39:39'),(27738,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 8, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020140886306763','2016-08-30 15:39:39'),(27739,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 9, \'Item 5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.025641202926636','2016-08-30 15:39:39'),(27740,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 10, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.019771099090576','2016-08-30 15:39:39'),(27741,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 11, \'Item 6\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020411014556885','2016-08-30 15:39:39'),(27742,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 12, \'Item 6\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020686149597168','2016-08-30 15:39:39'),(27743,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 13, \'Item 7\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020473957061768','2016-08-30 15:39:39'),(27744,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 14, \'Item 7\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012315034866333','2016-08-30 15:39:39'),(27745,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 15, \'Item 8\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.028777122497559','2016-08-30 15:39:39'),(27746,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 16, \'Item 8\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.012367963790894','2016-08-30 15:39:39'),(27747,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 17, \'Item 9\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020420074462891','2016-08-30 15:39:40'),(27748,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 18, \'Item 9\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.024770021438599','2016-08-30 15:39:40'),(27749,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 19, \'Item 10\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.18759512901306','2016-08-30 15:39:40'),(27750,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 20, \'Item 10\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.045092105865479','2016-08-30 15:39:40'),(27751,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 21, \'Item 11\', \'32515\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020687103271484','2016-08-30 15:39:40'),(27752,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 22, \'Item 11\', \'32527\', 10, 1, \'1\', \'10\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.049396991729736','2016-08-30 15:39:40'),(27753,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 23, \'Item 12\', \'32515\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.037387847900391','2016-08-30 15:39:40'),(27754,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 24, \'Item 12\', \'32527\', 80, 1, \'1\', \'80\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020709991455078','2016-08-30 15:39:40'),(27755,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 25, \'Item 11\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020373106002808','2016-08-30 15:39:40'),(27756,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000036\', 26, \'Item 11\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000646]\', \'User\')','expenses/fnSaveExpenses','0.020725965499878','2016-08-30 15:39:40'),(27757,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000036\'','expenses/fnSaveExpenses','0.070443868637085','2016-08-30 15:39:40'),(27758,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2198','expenses/fnSaveExpenses','0.070850133895874','2016-08-30 15:39:40'),(27759,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11356','expenses/fnSaveExpenses','0.016399145126343','2016-08-30 15:39:40'),(27760,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000036\'','expenses/fnSaveExpenses','0.020507097244263','2016-08-30 15:39:40'),(27761,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.022347927093506','2016-08-30 15:39:40'),(27762,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011927127838135','2016-08-30 15:39:40'),(27763,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011597871780396','2016-08-30 15:39:40'),(27764,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011951923370361','2016-08-30 15:39:40'),(27765,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011611938476562','2016-08-30 15:39:40'),(27766,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011949777603149','2016-08-30 15:39:40'),(27767,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.020167112350464','2016-08-30 15:39:40'),(27768,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01167893409729','2016-08-30 15:39:40'),(27769,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01187801361084','2016-08-30 15:39:40'),(27770,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011675119400024','2016-08-30 15:39:40'),(27771,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011911153793335','2016-08-30 15:39:40'),(27772,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011614084243774','2016-08-30 15:39:40'),(27773,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011925935745239','2016-08-30 15:39:40'),(27774,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011578798294067','2016-08-30 15:39:40'),(27775,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01189398765564','2016-08-30 15:39:40'),(27776,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011609077453613','2016-08-30 15:39:40'),(27777,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011896133422852','2016-08-30 15:39:40'),(27778,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01154088973999','2016-08-30 15:39:40'),(27779,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011919021606445','2016-08-30 15:39:40'),(27780,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011638879776001','2016-08-30 15:39:40'),(27781,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011914968490601','2016-08-30 15:39:40'),(27782,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011656999588013','2016-08-30 15:39:40'),(27783,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011909008026123','2016-08-30 15:39:40'),(27784,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01161003112793','2016-08-30 15:39:40'),(27785,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011905908584595','2016-08-30 15:39:40'),(27786,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011651992797852','2016-08-30 15:39:40'),(27787,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2198\'','expenses/removePayment','0.084694147109985','2016-08-30 16:19:19'),(27788,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49917\'','expenses/removePayment','0.028373003005981','2016-08-30 16:19:19'),(27789,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49918\'','expenses/removePayment','0.011718988418579','2016-08-30 16:19:19'),(27790,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49919\'','expenses/removePayment','0.0084991455078125','2016-08-30 16:19:19'),(27791,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49920\'','expenses/removePayment','0.016229867935181','2016-08-30 16:19:19'),(27792,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49921\'','expenses/removePayment','0.016839027404785','2016-08-30 16:19:19'),(27793,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49922\'','expenses/removePayment','0.016218185424805','2016-08-30 16:19:19'),(27794,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49923\'','expenses/removePayment','0.0084900856018066','2016-08-30 16:19:20'),(27795,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49924\'','expenses/removePayment','0.012638092041016','2016-08-30 16:19:20'),(27796,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49925\'','expenses/removePayment','0.012134075164795','2016-08-30 16:19:20'),(27797,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49926\'','expenses/removePayment','0.012624025344849','2016-08-30 16:19:20'),(27798,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49927\'','expenses/removePayment','0.04646897315979','2016-08-30 16:19:20'),(27799,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49928\'','expenses/removePayment','0.044929981231689','2016-08-30 16:19:20'),(27800,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49929\'','expenses/removePayment','0.012099027633667','2016-08-30 16:19:20'),(27801,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49930\'','expenses/removePayment','0.020961999893188','2016-08-30 16:19:20'),(27802,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49931\'','expenses/removePayment','0.020420074462891','2016-08-30 16:19:20'),(27803,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49932\'','expenses/removePayment','0.01265287399292','2016-08-30 16:19:20'),(27804,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49933\'','expenses/removePayment','0.012107849121094','2016-08-30 16:19:20'),(27805,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49934\'','expenses/removePayment','0.012614965438843','2016-08-30 16:19:20'),(27806,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49935\'','expenses/removePayment','0.012117862701416','2016-08-30 16:19:20'),(27807,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49936\'','expenses/removePayment','0.012625217437744','2016-08-30 16:19:20'),(27808,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49937\'','expenses/removePayment','0.024855852127075','2016-08-30 16:19:20'),(27809,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49938\'','expenses/removePayment','0.024877071380615','2016-08-30 16:19:20'),(27810,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49939\'','expenses/removePayment','0.012118101119995','2016-08-30 16:19:20'),(27811,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49940\'','expenses/removePayment','0.012621879577637','2016-08-30 16:19:20'),(27812,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49941\'','expenses/removePayment','0.012130975723267','2016-08-30 16:19:20'),(27813,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49942\'','expenses/removePayment','0.012609004974365','2016-08-30 16:19:20'),(27814,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11356\'','expenses/removePayment','0.012115001678467','2016-08-30 16:19:20'),(27815,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'2\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.12025213241577','2016-08-30 16:24:12'),(27816,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2199, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.042433977127075','2016-08-30 16:24:12'),(27817,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2199, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084707736968994','2016-08-30 16:24:12'),(27818,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.016264915466309','2016-08-30 16:24:12'),(27819,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000037\' WHERE `ID` =  2199','expenses/fnSaveExpenses','0.016789197921753','2016-08-30 16:24:12'),(27820,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000037\', \'Cost of Goods Sold [OP-C[00000647]]\', \'Cost of Goods Sold [OP-C[00000647]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.01028299331665','2016-08-30 16:24:12'),(27821,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000037\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000647]\', \'User\')','expenses/fnSaveExpenses','0.011961221694946','2016-08-30 16:24:12'),(27822,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000037\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000647]\', \'User\')','expenses/fnSaveExpenses','0.012469053268433','2016-08-30 16:24:12'),(27823,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000037\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000647]\', \'User\')','expenses/fnSaveExpenses','0.012013912200928','2016-08-30 16:24:12'),(27824,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000037\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000647]\', \'User\')','expenses/fnSaveExpenses','0.13678908348083','2016-08-30 16:24:12'),(27825,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000037\'','expenses/fnSaveExpenses','0.029431819915771','2016-08-30 16:24:12'),(27826,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2199','expenses/fnSaveExpenses','0.012609958648682','2016-08-30 16:24:12'),(27827,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11357','expenses/fnSaveExpenses','0.011990785598755','2016-08-30 16:24:12'),(27828,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000037\'','expenses/fnSaveExpenses','0.024528980255127','2016-08-30 16:24:12'),(27829,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01449179649353','2016-08-30 16:24:12'),(27830,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01568603515625','2016-08-30 16:24:12'),(27831,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012342929840088','2016-08-30 16:24:12'),(27832,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011301040649414','2016-08-30 16:24:12'),(27833,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-08-30\', \'83\', \'1\')','expenses/fnSaveExpenses','0.024210929870605','2016-08-30 16:24:46'),(27834,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2200, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078420639038086','2016-08-30 16:24:46'),(27835,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.015304088592529','2016-08-30 16:24:46'),(27836,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000038\' WHERE `ID` =  2200','expenses/fnSaveExpenses','0.012647151947021','2016-08-30 16:24:46'),(27837,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000038\', \'Cost of Goods Sold [OP-C[00000648]]\', \'Cost of Goods Sold [OP-C[00000648]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.0098519325256348','2016-08-30 16:24:46'),(27838,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000038\', 1, \'Item 1\', \'32516\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000648]\', \'User\')','expenses/fnSaveExpenses','0.012514114379883','2016-08-30 16:24:46'),(27839,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000038\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000648]\', \'User\')','expenses/fnSaveExpenses','0.024768114089966','2016-08-30 16:24:46'),(27840,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000038\'','expenses/fnSaveExpenses','0.011708974838257','2016-08-30 16:24:46'),(27841,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2200','expenses/fnSaveExpenses','0.0085089206695557','2016-08-30 16:24:46'),(27842,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11358','expenses/fnSaveExpenses','0.012520790100098','2016-08-30 16:24:46'),(27843,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000038\'','expenses/fnSaveExpenses','0.012021064758301','2016-08-30 16:24:46'),(27844,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011666059494019','2016-08-30 16:24:46'),(27845,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011483907699585','2016-08-30 16:24:46'),(27846,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.02470588684082','2016-08-30 16:31:17'),(27847,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2201, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078260898590088','2016-08-30 16:31:17'),(27848,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.036058187484741','2016-08-30 16:31:17'),(27849,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000039\' WHERE `ID` =  2201','expenses/fnSaveExpenses','0.011595964431763','2016-08-30 16:31:17'),(27850,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000039\', \'Cost of Goods Sold [OP-C[00000649]]\', \'Cost of Goods Sold [OP-C[00000649]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.010767936706543','2016-08-30 16:31:17'),(27851,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000039\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.011487007141113','2016-08-30 16:31:17'),(27852,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000039\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.008368968963623','2016-08-30 16:31:17'),(27853,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000039\'','expenses/fnSaveExpenses','0.02453088760376','2016-08-30 16:31:17'),(27854,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2201','expenses/fnSaveExpenses','0.016823053359985','2016-08-30 16:31:17'),(27855,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11359','expenses/fnSaveExpenses','0.012650012969971','2016-08-30 16:31:17'),(27856,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000039\'','expenses/fnSaveExpenses','0.011864185333252','2016-08-30 16:31:17'),(27857,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011672019958496','2016-08-30 16:31:17'),(27858,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011308908462524','2016-08-30 16:31:17'),(27859,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49949\'','expenses/fnSaveExpenses','0.015161037445068','2016-08-30 16:32:37'),(27860,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49950\'','expenses/fnSaveExpenses','0.011791944503784','2016-08-30 16:32:37'),(27861,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11359\'','expenses/fnSaveExpenses','0.0078880786895752','2016-08-30 16:32:37'),(27862,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'5\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2201','expenses/fnSaveExpenses','0.010590076446533','2016-08-30 16:32:37'),(27863,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2201, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2197\'','expenses/fnSaveExpenses','0.00018811225891113','2016-08-30 16:32:37'),(27864,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2201, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011099100112915','2016-08-30 16:32:37'),(27865,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2201, \'1\', \'Item 3\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084748268127441','2016-08-30 16:32:37'),(27866,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2201, \'1\', \'Item 4\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078978538513184','2016-08-30 16:32:37'),(27867,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2201, \'1\', \'Item 5\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084798336029053','2016-08-30 16:32:37'),(27868,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.015194892883301','2016-08-30 16:32:37'),(27869,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000040\' WHERE `ID` =  2201','expenses/fnSaveExpenses','0.025144100189209','2016-08-30 16:32:37'),(27870,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', \'Cost of Goods Sold [OP-C[00000649]]\', \'Cost of Goods Sold [OP-C[00000649]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 5, 5, \'1\')','expenses/fnSaveExpenses','0.015655040740967','2016-08-30 16:32:37'),(27871,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0083730220794678','2016-08-30 16:32:37'),(27872,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0077948570251465','2016-08-30 16:32:37'),(27873,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0083920955657959','2016-08-30 16:32:37'),(27874,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0077991485595703','2016-08-30 16:32:37'),(27875,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 5, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0083901882171631','2016-08-30 16:32:37'),(27876,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0078020095825195','2016-08-30 16:32:37'),(27877,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 7, \'Item 4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0083920955657959','2016-08-30 16:32:37'),(27878,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 8, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0078120231628418','2016-08-30 16:32:37'),(27879,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 9, \'Item 5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.0084171295166016','2016-08-30 16:32:37'),(27880,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000040\', 10, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000649]\', \'User\')','expenses/fnSaveExpenses','0.029353857040405','2016-08-30 16:32:37'),(27881,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 5, `total_amount_cr` = 5, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000040\'','expenses/fnSaveExpenses','0.011887073516846','2016-08-30 16:32:37'),(27882,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2201','expenses/fnSaveExpenses','0.0079290866851807','2016-08-30 16:32:37'),(27883,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11360','expenses/fnSaveExpenses','0.021354913711548','2016-08-30 16:32:37'),(27884,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000040\'','expenses/fnSaveExpenses','0.011608123779297','2016-08-30 16:32:37'),(27885,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012010812759399','2016-08-30 16:32:37'),(27886,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011085033416748','2016-08-30 16:32:37'),(27887,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012563943862915','2016-08-30 16:32:37'),(27888,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011028051376343','2016-08-30 16:32:37'),(27889,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016262054443359','2016-08-30 16:32:37'),(27890,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012241840362549','2016-08-30 16:32:37'),(27891,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011417150497437','2016-08-30 16:32:37'),(27892,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012217998504639','2016-08-30 16:32:37'),(27893,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.011367082595825','2016-08-30 16:32:37'),(27894,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012257099151611','2016-08-30 16:32:37'),(27895,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2200\'','expenses/removePayment','0.26715588569641','2016-08-30 16:33:54'),(27896,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49947\'','expenses/removePayment','0.043646097183228','2016-08-30 16:33:55'),(27897,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49948\'','expenses/removePayment','0.033118009567261','2016-08-30 16:33:55'),(27898,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11358\'','expenses/removePayment','0.02003002166748','2016-08-30 16:33:55'),(27899,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2199\'','expenses/removePayment','0.2925820350647','2016-08-30 16:33:55'),(27900,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49943\'','expenses/removePayment','0.096812009811401','2016-08-30 16:33:55'),(27901,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49944\'','expenses/removePayment','0.045580148696899','2016-08-30 16:33:55'),(27902,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49945\'','expenses/removePayment','0.036648035049438','2016-08-30 16:33:55'),(27903,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49946\'','expenses/removePayment','0.016510963439941','2016-08-30 16:33:55'),(27904,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11357\'','expenses/removePayment','0.016550064086914','2016-08-30 16:33:55'),(27905,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2201\'','expenses/removePayment','0.2822151184082','2016-08-30 16:33:55'),(27906,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49951\'','expenses/removePayment','0.068490982055664','2016-08-30 16:33:55'),(27907,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49952\'','expenses/removePayment','0.066163063049316','2016-08-30 16:33:55'),(27908,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49953\'','expenses/removePayment','0.033190011978149','2016-08-30 16:33:55'),(27909,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49954\'','expenses/removePayment','0.041800975799561','2016-08-30 16:33:55'),(27910,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49955\'','expenses/removePayment','0.024832010269165','2016-08-30 16:33:55'),(27911,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49956\'','expenses/removePayment','0.032968044281006','2016-08-30 16:33:55'),(27912,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49957\'','expenses/removePayment','0.016520023345947','2016-08-30 16:33:55'),(27913,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49958\'','expenses/removePayment','0.016524076461792','2016-08-30 16:33:55'),(27914,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49959\'','expenses/removePayment','0.033185958862305','2016-08-30 16:33:55'),(27915,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49960\'','expenses/removePayment','0.01653790473938','2016-08-30 16:33:55'),(27916,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11360\'','expenses/removePayment','0.016811847686768','2016-08-30 16:33:55'),(27917,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'3\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.088133096694946','2016-08-30 16:36:51'),(27918,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2202, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041157960891724','2016-08-30 16:36:51'),(27919,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2202, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084679126739502','2016-08-30 16:36:51'),(27920,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2202, \'1\', \'Item 5\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016187906265259','2016-08-30 16:36:51'),(27921,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.19473600387573','2016-08-30 16:36:51'),(27922,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000041\' WHERE `ID` =  2202','expenses/fnSaveExpenses','0.011574029922485','2016-08-30 16:36:51'),(27923,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000041\', \'Cost of Goods Sold [OP-C[00000650]]\', \'Cost of Goods Sold [OP-C[00000650]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.010833024978638','2016-08-30 16:36:51'),(27924,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000041\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.011460065841675','2016-08-30 16:36:51'),(27925,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000041\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0077760219573975','2016-08-30 16:36:51'),(27926,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000041\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0083818435668945','2016-08-30 16:36:51'),(27927,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000041\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0077970027923584','2016-08-30 16:36:51'),(27928,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000041\', 5, \'Item 5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.016704797744751','2016-08-30 16:36:51'),(27929,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000041\', 6, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.007781982421875','2016-08-30 16:36:51'),(27930,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000041\'','expenses/fnSaveExpenses','0.03001880645752','2016-08-30 16:36:51'),(27931,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2202','expenses/fnSaveExpenses','0.011348962783813','2016-08-30 16:36:51'),(27932,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11361','expenses/fnSaveExpenses','0.0083119869232178','2016-08-30 16:36:51'),(27933,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000041\'','expenses/fnSaveExpenses','0.032873153686523','2016-08-30 16:36:51'),(27934,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.044381856918335','2016-08-30 16:36:51'),(27935,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010638952255249','2016-08-30 16:36:51'),(27936,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.029471158981323','2016-08-30 16:36:51'),(27937,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010710954666138','2016-08-30 16:36:51'),(27938,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016202211380005','2016-08-30 16:36:51'),(27939,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01249098777771','2016-08-30 16:36:51'),(27940,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49961\'','expenses/fnSaveExpenses','0.015367984771729','2016-08-30 16:37:44'),(27941,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49962\'','expenses/fnSaveExpenses','0.01104998588562','2016-08-30 16:37:44'),(27942,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49963\'','expenses/fnSaveExpenses','0.00848388671875','2016-08-30 16:37:44'),(27943,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49964\'','expenses/fnSaveExpenses','0.0079009532928467','2016-08-30 16:37:44'),(27944,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49965\'','expenses/fnSaveExpenses','0.0084860324859619','2016-08-30 16:37:44'),(27945,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49966\'','expenses/fnSaveExpenses','0.0079009532928467','2016-08-30 16:37:45'),(27946,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11361\'','expenses/fnSaveExpenses','0.0085048675537109','2016-08-30 16:37:45'),(27947,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'5\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2202','expenses/fnSaveExpenses','0.010674953460693','2016-08-30 16:37:45'),(27948,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2202, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2202\'','expenses/fnSaveExpenses','0.00021505355834961','2016-08-30 16:37:45'),(27949,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2202, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2203\'','expenses/fnSaveExpenses','0.0001220703125','2016-08-30 16:37:45'),(27950,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2202, \'1\', \'Item 3\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.010609865188599','2016-08-30 16:37:45'),(27951,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2202, \'1\', \'Item 4\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078699588775635','2016-08-30 16:37:45'),(27952,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2202, \'1\', \'Item 5\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084760189056396','2016-08-30 16:37:45'),(27953,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.0088620185852051','2016-08-30 16:37:45'),(27954,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000042\' WHERE `ID` =  2202','expenses/fnSaveExpenses','0.011482954025269','2016-08-30 16:37:45'),(27955,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', \'Cost of Goods Sold [OP-C[00000650]]\', \'Cost of Goods Sold [OP-C[00000650]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 5, 5, \'1\')','expenses/fnSaveExpenses','0.012612104415894','2016-08-30 16:37:45'),(27956,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.011341094970703','2016-08-30 16:37:45'),(27957,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0077850818634033','2016-08-30 16:37:45'),(27958,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.021759986877441','2016-08-30 16:37:45'),(27959,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.011088848114014','2016-08-30 16:37:45'),(27960,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 5, \'Item 5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.021762132644653','2016-08-30 16:37:45'),(27961,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 6, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.01106595993042','2016-08-30 16:37:45'),(27962,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 7, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.016710042953491','2016-08-30 16:37:45'),(27963,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 8, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0077681541442871','2016-08-30 16:37:45'),(27964,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 9, \'Item 4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0083630084991455','2016-08-30 16:37:45'),(27965,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 10, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0078060626983643','2016-08-30 16:37:45'),(27966,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 11, \'Item 5\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0083701610565186','2016-08-30 16:37:45'),(27967,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000042\', 12, \'Item 5\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000650]\', \'User\')','expenses/fnSaveExpenses','0.0077998638153076','2016-08-30 16:37:45'),(27968,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 6, `total_amount_cr` = 6, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000042\'','expenses/fnSaveExpenses','0.030181884765625','2016-08-30 16:37:45'),(27969,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2202','expenses/fnSaveExpenses','0.011204957962036','2016-08-30 16:37:45'),(27970,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11362','expenses/fnSaveExpenses','0.0083959102630615','2016-08-30 16:37:45'),(27971,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000042\'','expenses/fnSaveExpenses','0.016199827194214','2016-08-30 16:37:45'),(27972,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012299060821533','2016-08-30 16:37:45'),(27973,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018906116485596','2016-08-30 16:37:45'),(27974,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012953042984009','2016-08-30 16:37:45'),(27975,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010570049285889','2016-08-30 16:37:45'),(27976,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012978076934814','2016-08-30 16:37:45'),(27977,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010587930679321','2016-08-30 16:37:45'),(27978,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012953042984009','2016-08-30 16:37:45'),(27979,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01063084602356','2016-08-30 16:37:45'),(27980,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012935161590576','2016-08-30 16:37:45'),(27981,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010632038116455','2016-08-30 16:37:45'),(27982,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012962102890015','2016-08-30 16:37:45'),(27983,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010562896728516','2016-08-30 16:37:45'),(27984,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2202\'','expenses/removePayment','0.12773990631104','2016-08-30 16:39:18'),(27985,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49967\'','expenses/removePayment','0.016541004180908','2016-08-30 16:39:18'),(27986,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49968\'','expenses/removePayment','0.0245201587677','2016-08-30 16:39:18'),(27987,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49969\'','expenses/removePayment','0.0085098743438721','2016-08-30 16:39:18'),(27988,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49970\'','expenses/removePayment','0.030219078063965','2016-08-30 16:39:18'),(27989,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49971\'','expenses/removePayment','0.011191129684448','2016-08-30 16:39:18'),(27990,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49972\'','expenses/removePayment','0.0078809261322021','2016-08-30 16:39:18'),(27991,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49973\'','expenses/removePayment','0.0084688663482666','2016-08-30 16:39:18'),(27992,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49974\'','expenses/removePayment','0.0078721046447754','2016-08-30 16:39:18'),(27993,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49975\'','expenses/removePayment','0.0085060596466064','2016-08-30 16:39:18'),(27994,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49976\'','expenses/removePayment','0.0081419944763184','2016-08-30 16:39:18'),(27995,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49977\'','expenses/removePayment','0.13323998451233','2016-08-30 16:39:18'),(27996,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49978\'','expenses/removePayment','0.0078790187835693','2016-08-30 16:39:18'),(27997,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11362\'','expenses/removePayment','0.0085189342498779','2016-08-30 16:39:18'),(27998,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'3\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.054899930953979','2016-08-30 16:39:46'),(27999,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2203, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041175127029419','2016-08-30 16:39:46'),(28000,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2203, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084729194641113','2016-08-30 16:39:46'),(28001,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2203, \'1\', \'Item 3\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078761577606201','2016-08-30 16:39:46'),(28002,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.030333042144775','2016-08-30 16:39:46'),(28003,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000043\' WHERE `ID` =  2203','expenses/fnSaveExpenses','0.0084891319274902','2016-08-30 16:39:46'),(28004,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000043\', \'Cost of Goods Sold [OP-C[00000651]]\', \'Cost of Goods Sold [OP-C[00000651]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.01124906539917','2016-08-30 16:39:46'),(28005,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000043\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.011043071746826','2016-08-30 16:39:46'),(28006,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000043\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.0078070163726807','2016-08-30 16:39:46'),(28007,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000043\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.0083730220794678','2016-08-30 16:39:46'),(28008,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000043\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.02173900604248','2016-08-30 16:39:46'),(28009,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000043\', 5, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.024659156799316','2016-08-30 16:39:46'),(28010,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000043\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.027459144592285','2016-08-30 16:39:46'),(28011,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000043\'','expenses/fnSaveExpenses','0.038788080215454','2016-08-30 16:39:46'),(28012,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2203','expenses/fnSaveExpenses','0.019253969192505','2016-08-30 16:39:46'),(28013,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11363','expenses/fnSaveExpenses','0.021974086761475','2016-08-30 16:39:46'),(28014,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000043\'','expenses/fnSaveExpenses','0.024818181991577','2016-08-30 16:39:47'),(28015,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.050909996032715','2016-08-30 16:39:47'),(28016,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016203165054321','2016-08-30 16:39:47'),(28017,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015604019165039','2016-08-30 16:39:47'),(28018,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016242980957031','2016-08-30 16:39:47'),(28019,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015939950942993','2016-08-30 16:39:47'),(28020,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023943901062012','2016-08-30 16:39:47'),(28021,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49979\'','expenses/fnSaveExpenses','0.015796899795532','2016-08-30 16:40:28'),(28022,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49980\'','expenses/fnSaveExpenses','0.018985986709595','2016-08-30 16:40:28'),(28023,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49981\'','expenses/fnSaveExpenses','0.008418083190918','2016-08-30 16:40:28'),(28024,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49982\'','expenses/fnSaveExpenses','0.024562120437622','2016-08-30 16:40:28'),(28025,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49983\'','expenses/fnSaveExpenses','0.0084772109985352','2016-08-30 16:40:28'),(28026,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49984\'','expenses/fnSaveExpenses','0.016220808029175','2016-08-30 16:40:28'),(28027,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11363\'','expenses/fnSaveExpenses','0.00848388671875','2016-08-30 16:40:28'),(28028,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'5\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2203','expenses/fnSaveExpenses','0.011124849319458','2016-08-30 16:40:28'),(28029,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2203, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2208\'','expenses/fnSaveExpenses','0.00022101402282715','2016-08-30 16:40:28'),(28030,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2203, `createdBy` = \'1\', `itemdescription` = \'Item 2\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2209\'','expenses/fnSaveExpenses','0.00012803077697754','2016-08-30 16:40:28'),(28031,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2203, `createdBy` = \'1\', `itemdescription` = \'Item 3\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2210\'','expenses/fnSaveExpenses','0.00011515617370605','2016-08-30 16:40:28'),(28032,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2203, \'1\', \'Item 3\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.018118858337402','2016-08-30 16:40:28'),(28033,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2203, \'1\', \'Item 4\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016232013702393','2016-08-30 16:40:28'),(28034,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.030602931976318','2016-08-30 16:40:28'),(28035,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000044\' WHERE `ID` =  2203','expenses/fnSaveExpenses','0.022968053817749','2016-08-30 16:40:28'),(28036,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', \'Cost of Goods Sold [OP-C[00000651]]\', \'Cost of Goods Sold [OP-C[00000651]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 5, 5, \'1\')','expenses/fnSaveExpenses','0.016180038452148','2016-08-30 16:40:28'),(28037,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.016067028045654','2016-08-30 16:40:28'),(28038,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.0083780288696289','2016-08-30 16:40:28'),(28039,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.024423122406006','2016-08-30 16:40:28'),(28040,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.01668119430542','2016-08-30 16:40:28'),(28041,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 5, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.024430990219116','2016-08-30 16:40:28'),(28042,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.016665935516357','2016-08-30 16:40:28'),(28043,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 7, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.016100883483887','2016-08-30 16:40:29'),(28044,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 8, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.0083479881286621','2016-08-30 16:40:29'),(28045,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 9, \'Item 4\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.01609992980957','2016-08-30 16:40:29'),(28046,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000044\', 10, \'Item 4\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000651]\', \'User\')','expenses/fnSaveExpenses','0.0083808898925781','2016-08-30 16:40:29'),(28047,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 5, `total_amount_cr` = 5, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000044\'','expenses/fnSaveExpenses','0.016170978546143','2016-08-30 16:40:29'),(28048,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2203','expenses/fnSaveExpenses','0.022459030151367','2016-08-30 16:40:29'),(28049,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11364','expenses/fnSaveExpenses','0.018873929977417','2016-08-30 16:40:29'),(28050,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000044\'','expenses/fnSaveExpenses','0.0084109306335449','2016-08-30 16:40:29'),(28051,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012603044509888','2016-08-30 16:40:29'),(28052,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.010220050811768','2016-08-30 16:40:29'),(28053,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015616178512573','2016-08-30 16:40:29'),(28054,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013432025909424','2016-08-30 16:40:29'),(28055,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018324136734009','2016-08-30 16:40:29'),(28056,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0078198909759521','2016-08-30 16:40:29'),(28057,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013214826583862','2016-08-30 16:40:29'),(28058,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.051951169967651','2016-08-30 16:40:29'),(28059,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015595197677612','2016-08-30 16:40:29'),(28060,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0078940391540527','2016-08-30 16:40:29'),(28061,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.27951097488403','2016-08-30 16:42:32'),(28062,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2204, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033416032791138','2016-08-30 16:42:32'),(28063,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.013680219650269','2016-08-30 16:42:32'),(28064,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000045\' WHERE `ID` =  2204','expenses/fnSaveExpenses','0.0084600448608398','2016-08-30 16:42:32'),(28065,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000045\', \'Cost of Goods Sold [OP-C[00000652]]\', \'Cost of Goods Sold [OP-C[00000652]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.01115894317627','2016-08-30 16:42:32'),(28066,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000045\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000652]\', \'User\')','expenses/fnSaveExpenses','0.033061981201172','2016-08-30 16:42:32'),(28067,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000045\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000652]\', \'User\')','expenses/fnSaveExpenses','0.010891914367676','2016-08-30 16:42:32'),(28068,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000045\'','expenses/fnSaveExpenses','0.022011995315552','2016-08-30 16:42:32'),(28069,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2204','expenses/fnSaveExpenses','0.011013984680176','2016-08-30 16:42:32'),(28070,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11365','expenses/fnSaveExpenses','0.0083200931549072','2016-08-30 16:42:32'),(28071,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000045\'','expenses/fnSaveExpenses','0.049533843994141','2016-08-30 16:42:32'),(28072,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.03466796875','2016-08-30 16:42:32'),(28073,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012511014938354','2016-08-30 16:42:32'),(28074,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49995\'','expenses/fnSaveExpenses','0.026653051376343','2016-08-30 16:43:33'),(28075,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49996\'','expenses/fnSaveExpenses','0.0084547996520996','2016-08-30 16:43:33'),(28076,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11365\'','expenses/fnSaveExpenses','0.016247987747192','2016-08-30 16:43:33'),(28077,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'2\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2204','expenses/fnSaveExpenses','0.011132955551147','2016-08-30 16:43:33'),(28078,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2204, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.019075155258179','2016-08-30 16:43:33'),(28079,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2204, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084540843963623','2016-08-30 16:43:33'),(28080,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.029277086257935','2016-08-30 16:43:33'),(28081,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000046\' WHERE `ID` =  2204','expenses/fnSaveExpenses','0.016804933547974','2016-08-30 16:43:33'),(28082,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000046\', \'Cost of Goods Sold [OP-C[00000652]]\', \'Cost of Goods Sold [OP-C[00000652]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.012857913970947','2016-08-30 16:43:33'),(28083,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000046\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000652]\', \'User\')','expenses/fnSaveExpenses','0.011044979095459','2016-08-30 16:43:33'),(28084,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000046\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000652]\', \'User\')','expenses/fnSaveExpenses','0.13273406028748','2016-08-30 16:43:33'),(28085,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000046\', 3, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000652]\', \'User\')','expenses/fnSaveExpenses','0.0083448886871338','2016-08-30 16:43:33'),(28086,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000046\', 4, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000652]\', \'User\')','expenses/fnSaveExpenses','0.0077660083770752','2016-08-30 16:43:33'),(28087,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000046\', 5, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000652]\', \'User\')','expenses/fnSaveExpenses','0.0083789825439453','2016-08-30 16:43:33'),(28088,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000046\', 6, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000652]\', \'User\')','expenses/fnSaveExpenses','0.0077738761901855','2016-08-30 16:43:33'),(28089,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000046\'','expenses/fnSaveExpenses','0.022123098373413','2016-08-30 16:43:33'),(28090,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2204','expenses/fnSaveExpenses','0.010887145996094','2016-08-30 16:43:33'),(28091,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11366','expenses/fnSaveExpenses','0.022088050842285','2016-08-30 16:43:33'),(28092,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000046\'','expenses/fnSaveExpenses','0.019176959991455','2016-08-30 16:43:33'),(28093,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012583017349243','2016-08-30 16:43:33'),(28094,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01024603843689','2016-08-30 16:43:33'),(28095,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0077919960021973','2016-08-30 16:43:33'),(28096,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0072510242462158','2016-08-30 16:43:33'),(28097,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0078399181365967','2016-08-30 16:43:33'),(28098,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.007194995880127','2016-08-30 16:43:33'),(28099,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.092709064483643','2016-08-30 16:46:10'),(28100,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2205, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016172885894775','2016-08-30 16:46:10'),(28101,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.022910118103027','2016-08-30 16:46:10'),(28102,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000047\' WHERE `ID` =  2205','expenses/fnSaveExpenses','0.016212224960327','2016-08-30 16:46:10'),(28103,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000047\', \'Cost of Goods Sold [OP-C[00000653]]\', \'Cost of Goods Sold [OP-C[00000653]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.011701107025146','2016-08-30 16:46:10'),(28104,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000047\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000653]\', \'User\')','expenses/fnSaveExpenses','0.019006967544556','2016-08-30 16:46:10'),(28105,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000047\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000653]\', \'User\')','expenses/fnSaveExpenses','0.0083701610565186','2016-08-30 16:46:10'),(28106,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000047\'','expenses/fnSaveExpenses','0.016210079193115','2016-08-30 16:46:10'),(28107,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2205','expenses/fnSaveExpenses','0.0085079669952393','2016-08-30 16:46:10'),(28108,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11367','expenses/fnSaveExpenses','0.016126871109009','2016-08-30 16:46:10'),(28109,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000047\'','expenses/fnSaveExpenses','0.022212982177734','2016-08-30 16:46:10'),(28110,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018136978149414','2016-08-30 16:46:10'),(28111,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.007889986038208','2016-08-30 16:46:10'),(28112,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50003\'','expenses/fnSaveExpenses','0.070685148239136','2016-08-30 16:46:34'),(28113,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50004\'','expenses/fnSaveExpenses','0.010916948318481','2016-08-30 16:46:34'),(28114,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11367\'','expenses/fnSaveExpenses','0.0245680809021','2016-08-30 16:46:34'),(28115,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'2\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2205','expenses/fnSaveExpenses','0.011533975601196','2016-08-30 16:46:34'),(28116,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2205, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.03558611869812','2016-08-30 16:46:34'),(28117,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2205, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084779262542725','2016-08-30 16:46:34'),(28118,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.012099027633667','2016-08-30 16:46:34'),(28119,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000048\' WHERE `ID` =  2205','expenses/fnSaveExpenses','0.019377946853638','2016-08-30 16:46:34'),(28120,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000048\', \'Cost of Goods Sold [OP-C[00000653]]\', \'Cost of Goods Sold [OP-C[00000653]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.015629053115845','2016-08-30 16:46:34'),(28121,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000048\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000653]\', \'User\')','expenses/fnSaveExpenses','0.0083549022674561','2016-08-30 16:46:34'),(28122,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000048\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000653]\', \'User\')','expenses/fnSaveExpenses','0.016139984130859','2016-08-30 16:46:34'),(28123,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000048\', 3, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000653]\', \'User\')','expenses/fnSaveExpenses','0.0083858966827393','2016-08-30 16:46:34'),(28124,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000048\', 4, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000653]\', \'User\')','expenses/fnSaveExpenses','0.016143083572388','2016-08-30 16:46:34'),(28125,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000048\', 5, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000653]\', \'User\')','expenses/fnSaveExpenses','0.008368968963623','2016-08-30 16:46:34'),(28126,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000048\', 6, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000653]\', \'User\')','expenses/fnSaveExpenses','0.024486064910889','2016-08-30 16:46:34'),(28127,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000048\'','expenses/fnSaveExpenses','0.0084438323974609','2016-08-30 16:46:34'),(28128,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2205','expenses/fnSaveExpenses','0.016258955001831','2016-08-30 16:46:34'),(28129,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11368','expenses/fnSaveExpenses','0.0084030628204346','2016-08-30 16:46:34'),(28130,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000048\'','expenses/fnSaveExpenses','0.016218900680542','2016-08-30 16:46:34'),(28131,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0075080394744873','2016-08-30 16:46:34'),(28132,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015674114227295','2016-08-30 16:46:34'),(28133,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079350471496582','2016-08-30 16:46:34'),(28134,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015699863433838','2016-08-30 16:46:34'),(28135,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0079619884490967','2016-08-30 16:46:34'),(28136,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015708923339844','2016-08-30 16:46:34'),(28137,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.10387015342712','2016-08-30 16:47:13'),(28138,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2206, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016752958297729','2016-08-30 16:47:13'),(28139,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.011385917663574','2016-08-30 16:47:13'),(28140,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000049\' WHERE `ID` =  2206','expenses/fnSaveExpenses','0.01091194152832','2016-08-30 16:47:13'),(28141,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000049\', \'Cost of Goods Sold [OP-C[00000654]]\', \'Cost of Goods Sold [OP-C[00000654]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.011523008346558','2016-08-30 16:47:13'),(28142,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000049\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000654]\', \'User\')','expenses/fnSaveExpenses','0.010824918746948','2016-08-30 16:47:13'),(28143,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000049\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000654]\', \'User\')','expenses/fnSaveExpenses','0.016131162643433','2016-08-30 16:47:13'),(28144,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000049\'','expenses/fnSaveExpenses','0.0084559917449951','2016-08-30 16:47:13'),(28145,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2206','expenses/fnSaveExpenses','0.016265869140625','2016-08-30 16:47:13'),(28146,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11369','expenses/fnSaveExpenses','0.0083310604095459','2016-08-30 16:47:13'),(28147,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000049\'','expenses/fnSaveExpenses','0.016205072402954','2016-08-30 16:47:13'),(28148,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013000011444092','2016-08-30 16:47:13'),(28149,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.026670932769775','2016-08-30 16:47:13'),(28150,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.096524000167847','2016-08-30 16:49:18'),(28151,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2207, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041146039962769','2016-08-30 16:49:18'),(28152,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.014294862747192','2016-08-30 16:49:18'),(28153,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000050\' WHERE `ID` =  2207','expenses/fnSaveExpenses','0.018896818161011','2016-08-30 16:49:18'),(28154,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000050\', \'Cost of Goods Sold [OP-C[00000655]]\', \'Cost of Goods Sold [OP-C[00000655]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.053539991378784','2016-08-30 16:49:18'),(28155,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000050\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000655]\', \'User\')','expenses/fnSaveExpenses','0.018790006637573','2016-08-30 16:49:18'),(28156,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000050\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000655]\', \'User\')','expenses/fnSaveExpenses','0.0083510875701904','2016-08-30 16:49:18'),(28157,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000050\'','expenses/fnSaveExpenses','0.016206026077271','2016-08-30 16:49:18'),(28158,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2207','expenses/fnSaveExpenses','0.0084898471832275','2016-08-30 16:49:18'),(28159,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11370','expenses/fnSaveExpenses','0.016122102737427','2016-08-30 16:49:18'),(28160,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000050\'','expenses/fnSaveExpenses','0.050100088119507','2016-08-30 16:49:18'),(28161,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.051018953323364','2016-08-30 16:49:18'),(28162,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0078620910644531','2016-08-30 16:49:18'),(28163,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2220\'','expenses/fnDeleteDetail','0.11087799072266','2016-08-30 16:49:40'),(28164,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.026180028915405','2016-08-30 16:51:10'),(28165,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2208, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016757965087891','2016-08-30 16:51:10'),(28166,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.011490106582642','2016-08-30 16:51:10'),(28167,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000051\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.13116192817688','2016-08-30 16:51:10'),(28168,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000051\', \'Cost of Goods Sold [OP-C[00000656]]\', \'Cost of Goods Sold [OP-C[00000656]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.026937007904053','2016-08-30 16:51:10'),(28169,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000051\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016710996627808','2016-08-30 16:51:10'),(28170,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000051\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.01612114906311','2016-08-30 16:51:10'),(28171,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000051\'','expenses/fnSaveExpenses','0.02513313293457','2016-08-30 16:51:10'),(28172,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.016249895095825','2016-08-30 16:51:10'),(28173,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11371','expenses/fnSaveExpenses','0.025026082992554','2016-08-30 16:51:10'),(28174,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000051\'','expenses/fnSaveExpenses','0.016201019287109','2016-08-30 16:51:10'),(28175,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013193130493164','2016-08-30 16:51:10'),(28176,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.02665901184082','2016-08-30 16:51:10'),(28177,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2221\'','expenses/fnDeleteDetail','0.023757934570312','2016-08-30 16:51:28'),(28178,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50015\'','expenses/fnSaveExpenses','0.019272804260254','2016-08-30 16:51:28'),(28179,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50016\'','expenses/fnSaveExpenses','0.024551153182983','2016-08-30 16:51:28'),(28180,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11371\'','expenses/fnSaveExpenses','0.016813039779663','2016-08-30 16:51:28'),(28181,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'2\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2208','expenses/fnSaveExpenses','0.011494159698486','2016-08-30 16:51:28'),(28182,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2208, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.018980979919434','2016-08-30 16:51:28'),(28183,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2208, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.022342920303345','2016-08-30 16:51:28'),(28184,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.015537977218628','2016-08-30 16:51:28'),(28185,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000052\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.016221046447754','2016-08-30 16:51:28'),(28186,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000052\', \'Cost of Goods Sold [OP-C[00000656]]\', \'Cost of Goods Sold [OP-C[00000656]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.016252994537354','2016-08-30 16:51:29'),(28187,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000052\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016108989715576','2016-08-30 16:51:29'),(28188,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000052\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016711950302124','2016-08-30 16:51:29'),(28189,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000052\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016118049621582','2016-08-30 16:51:29'),(28190,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000052\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.022475004196167','2016-08-30 16:51:29'),(28191,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000052\'','expenses/fnSaveExpenses','0.018764019012451','2016-08-30 16:51:29'),(28192,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.025163173675537','2016-08-30 16:51:29'),(28193,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11372','expenses/fnSaveExpenses','0.025786876678467','2016-08-30 16:51:29'),(28194,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000052\'','expenses/fnSaveExpenses','0.012919902801514','2016-08-30 16:51:29'),(28195,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.017890214920044','2016-08-30 16:51:29'),(28196,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016258001327515','2016-08-30 16:51:29'),(28197,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023985862731934','2016-08-30 16:51:29'),(28198,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016252994537354','2016-08-30 16:51:29'),(28199,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2222\'','expenses/fnDeleteDetail','0.096807956695557','2016-08-30 16:52:15'),(28200,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2223\'','expenses/fnDeleteDetail','0.076982975006104','2016-08-30 16:52:15'),(28201,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50017\'','expenses/fnSaveExpenses','0.026541948318481','2016-08-30 16:52:16'),(28202,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50018\'','expenses/fnSaveExpenses','0.016247034072876','2016-08-30 16:52:16'),(28203,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50019\'','expenses/fnSaveExpenses','0.016824007034302','2016-08-30 16:52:16'),(28204,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50020\'','expenses/fnSaveExpenses','0.016236066818237','2016-08-30 16:52:16'),(28205,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11372\'','expenses/fnSaveExpenses','0.016818046569824','2016-08-30 16:52:16'),(28206,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2208','expenses/fnSaveExpenses','0.022107124328613','2016-08-30 16:52:16'),(28207,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2208, \'1\', \'Item 1\', 1, \'32527\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016761064529419','2016-08-30 16:52:16'),(28208,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.021240949630737','2016-08-30 16:52:16'),(28209,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000053\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.016798973083496','2016-08-30 16:52:16'),(28210,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000053\', \'Cost of Goods Sold [OP-C[00000656]]\', \'Cost of Goods Sold [OP-C[00000656]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 100, 100, \'1\')','expenses/fnSaveExpenses','0.015677928924561','2016-08-30 16:52:16'),(28211,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000053\', 1, \'Item 1\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016696929931641','2016-08-30 16:52:16'),(28212,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000053\', 2, \'Item 1\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016149997711182','2016-08-30 16:52:16'),(28213,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000053\'','expenses/fnSaveExpenses','0.016777038574219','2016-08-30 16:52:16'),(28214,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.016267061233521','2016-08-30 16:52:16'),(28215,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11373','expenses/fnSaveExpenses','0.016763925552368','2016-08-30 16:52:16'),(28216,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000053\'','expenses/fnSaveExpenses','0.016212940216064','2016-08-30 16:52:16'),(28217,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015897035598755','2016-08-30 16:52:16'),(28218,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015693187713623','2016-08-30 16:52:16'),(28219,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2222\'','expenses/fnDeleteDetail','0.00022602081298828','2016-08-30 16:53:17'),(28220,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2223\'','expenses/fnDeleteDetail','0.00010299682617188','2016-08-30 16:53:17'),(28221,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50021\'','expenses/fnSaveExpenses','0.021522998809814','2016-08-30 16:53:18'),(28222,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50022\'','expenses/fnSaveExpenses','0.016240119934082','2016-08-30 16:53:18'),(28223,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11373\'','expenses/fnSaveExpenses','0.025160074234009','2016-08-30 16:53:18'),(28224,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'300\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2208','expenses/fnSaveExpenses','0.02192211151123','2016-08-30 16:53:18'),(28225,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2208, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2224\'','expenses/fnSaveExpenses','0.00022602081298828','2016-08-30 16:53:18'),(28226,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2208, \'1\', \'Item 2\', 1, \'32527\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.022343158721924','2016-08-30 16:53:18'),(28227,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2208, \'1\', \'Item 3\', 1, \'32527\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.018527984619141','2016-08-30 16:53:18'),(28228,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.0096628665924072','2016-08-30 16:53:18'),(28229,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000054\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.13098096847534','2016-08-30 16:53:18'),(28230,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000054\', \'Cost of Goods Sold [OP-C[00000656]]\', \'Cost of Goods Sold [OP-C[00000656]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 300, 300, \'1\')','expenses/fnSaveExpenses','0.028820991516113','2016-08-30 16:53:18'),(28231,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000054\', 1, \'Item 1\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016094207763672','2016-08-30 16:53:18'),(28232,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000054\', 2, \'Item 1\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016713857650757','2016-08-30 16:53:18'),(28233,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000054\', 3, \'Item 2\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016113996505737','2016-08-30 16:53:18'),(28234,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000054\', 4, \'Item 2\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016698122024536','2016-08-30 16:53:18'),(28235,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000054\', 5, \'Item 3\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016113042831421','2016-08-30 16:53:18'),(28236,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000054\', 6, \'Item 3\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.016706943511963','2016-08-30 16:53:18'),(28237,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000054\'','expenses/fnSaveExpenses','0.016223192214966','2016-08-30 16:53:18'),(28238,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.016816139221191','2016-08-30 16:53:18'),(28239,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11374','expenses/fnSaveExpenses','0.01616096496582','2016-08-30 16:53:18'),(28240,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000054\'','expenses/fnSaveExpenses','0.016788959503174','2016-08-30 16:53:18'),(28241,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.012979030609131','2016-08-30 16:53:18'),(28242,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018278121948242','2016-08-30 16:53:18'),(28243,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015594005584717','2016-08-30 16:53:18'),(28244,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016210079193115','2016-08-30 16:53:18'),(28245,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023983955383301','2016-08-30 16:53:18'),(28246,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016160011291504','2016-08-30 16:53:18'),(28247,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2225\'','expenses/fnDeleteDetail','0.015239000320435','2016-08-30 16:54:24'),(28248,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2226\'','expenses/fnDeleteDetail','0.018738985061646','2016-08-30 16:54:24'),(28249,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50023\'','expenses/fnSaveExpenses','0.015584945678711','2016-08-30 16:54:24'),(28250,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50024\'','expenses/fnSaveExpenses','0.018712997436523','2016-08-30 16:54:24'),(28251,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50025\'','expenses/fnSaveExpenses','0.022632122039795','2016-08-30 16:54:24'),(28252,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50026\'','expenses/fnSaveExpenses','0.01875114440918','2016-08-30 16:54:24'),(28253,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50027\'','expenses/fnSaveExpenses','0.016202926635742','2016-08-30 16:54:24'),(28254,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50028\'','expenses/fnSaveExpenses','0.016808032989502','2016-08-30 16:54:25'),(28255,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11374\'','expenses/fnSaveExpenses','0.016216993331909','2016-08-30 16:54:25'),(28256,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2208','expenses/fnSaveExpenses','0.022329092025757','2016-08-30 16:54:25'),(28257,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2208, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2224\'','expenses/fnSaveExpenses','0.00023198127746582','2016-08-30 16:54:25'),(28258,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.022095203399658','2016-08-30 16:54:25'),(28259,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000055\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.016787052154541','2016-08-30 16:54:25'),(28260,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000055\', \'Cost of Goods Sold [OP-C[00000656]]\', \'Cost of Goods Sold [OP-C[00000656]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 100, 100, \'1\')','expenses/fnSaveExpenses','0.015666007995605','2016-08-30 16:54:25'),(28261,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000055\', 1, \'Item 1\', \'32515\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.098392963409424','2016-08-30 16:54:25'),(28262,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000055\', 2, \'Item 1\', \'32527\', 100, 1, \'1\', \'100\', \'08\', \'16\', \'1\', \'OP-C[00000656]\', \'User\')','expenses/fnSaveExpenses','0.023896932601929','2016-08-30 16:54:25'),(28263,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000055\'','expenses/fnSaveExpenses','0.018822908401489','2016-08-30 16:54:25'),(28264,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2208','expenses/fnSaveExpenses','0.024580001831055','2016-08-30 16:54:25'),(28265,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11375','expenses/fnSaveExpenses','0.01671314239502','2016-08-30 16:54:25'),(28266,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000055\'','expenses/fnSaveExpenses','0.016215085983276','2016-08-30 16:54:25'),(28267,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.059711933135986','2016-08-30 16:54:25'),(28268,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.021906852722168','2016-08-30 16:54:25'),(28269,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2224\'','expenses/fnDeleteDetail','0.015220880508423','2016-08-30 16:55:11'),(28270,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2207\'','expenses/removePayment','0.060092210769653','2016-08-30 16:57:18'),(28271,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2206\'','expenses/removePayment','0.15483808517456','2016-08-30 16:57:18'),(28272,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50013\'','expenses/removePayment','0.19193410873413','2016-08-30 16:57:18'),(28273,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2208\'','expenses/removePayment','0.19081497192383','2016-08-30 16:57:18'),(28274,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50011\'','expenses/removePayment','0.073390007019043','2016-08-30 16:57:19'),(28275,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50014\'','expenses/removePayment','0.075109958648682','2016-08-30 16:57:19'),(28276,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50029\'','expenses/removePayment','0.071048021316528','2016-08-30 16:57:19'),(28277,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50012\'','expenses/removePayment','0.091105937957764','2016-08-30 16:57:19'),(28278,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11370\'','expenses/removePayment','0.041532039642334','2016-08-30 16:57:19'),(28279,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50030\'','expenses/removePayment','0.050084114074707','2016-08-30 16:57:19'),(28280,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11369\'','expenses/removePayment','0.033192873001099','2016-08-30 16:57:19'),(28281,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11375\'','expenses/removePayment','0.033246040344238','2016-08-30 16:57:19'),(28282,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2204\'','expenses/removePayment','0.066632986068726','2016-08-30 16:57:19'),(28283,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49997\'','expenses/removePayment','0.18718004226685','2016-08-30 16:57:19'),(28284,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2205\'','expenses/removePayment','0.090158939361572','2016-08-30 16:57:19'),(28285,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49998\'','expenses/removePayment','0.074765920639038','2016-08-30 16:57:19'),(28286,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2203\'','expenses/removePayment','0.095621109008789','2016-08-30 16:57:19'),(28287,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50005\'','expenses/removePayment','0.2025580406189','2016-08-30 16:57:19'),(28288,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49999\'','expenses/removePayment','0.050120115280151','2016-08-30 16:57:19'),(28289,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49985\'','expenses/removePayment','0.20516991615295','2016-08-30 16:57:19'),(28290,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50000\'','expenses/removePayment','0.033847808837891','2016-08-30 16:57:19'),(28291,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50006\'','expenses/removePayment','0.076086044311523','2016-08-30 16:57:19'),(28292,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49986\'','expenses/removePayment','0.058142900466919','2016-08-30 16:57:19'),(28293,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49987\'','expenses/removePayment','0.075747966766357','2016-08-30 16:57:19'),(28294,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50001\'','expenses/removePayment','0.057579040527344','2016-08-30 16:57:19'),(28295,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50007\'','expenses/removePayment','0.066519975662231','2016-08-30 16:57:19'),(28296,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49988\'','expenses/removePayment','0.049528121948242','2016-08-30 16:57:19'),(28297,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50008\'','expenses/removePayment','0.057578086853027','2016-08-30 16:57:19'),(28298,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50002\'','expenses/removePayment','0.083063125610352','2016-08-30 16:57:19'),(28299,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49989\'','expenses/removePayment','0.032693862915039','2016-08-30 16:57:19'),(28300,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11366\'','expenses/removePayment','0.056279897689819','2016-08-30 16:57:19'),(28301,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50009\'','expenses/removePayment','0.1159200668335','2016-08-30 16:57:19'),(28302,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49990\'','expenses/removePayment','0.066804170608521','2016-08-30 16:57:19'),(28303,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50010\'','expenses/removePayment','0.12480902671814','2016-08-30 16:57:19'),(28304,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49991\'','expenses/removePayment','0.091227054595947','2016-08-30 16:57:19'),(28305,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11368\'','expenses/removePayment','0.05000114440918','2016-08-30 16:57:19'),(28306,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49992\'','expenses/removePayment','0.041285037994385','2016-08-30 16:57:19'),(28307,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49993\'','expenses/removePayment','0.083415031433105','2016-08-30 16:57:19'),(28308,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'49994\'','expenses/removePayment','0.049652814865112','2016-08-30 16:57:19'),(28309,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11364\'','expenses/removePayment','0.048063993453979','2016-08-30 16:57:19'),(28310,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'3\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.12262487411499','2016-08-30 16:57:47'),(28311,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2209, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.13576006889343','2016-08-30 16:57:47'),(28312,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2209, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.019170045852661','2016-08-30 16:57:47'),(28313,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2209, \'1\', \'Item 3\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.018061876296997','2016-08-30 16:57:47'),(28314,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.034106969833374','2016-08-30 16:57:47'),(28315,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000056\' WHERE `ID` =  2209','expenses/fnSaveExpenses','0.016222953796387','2016-08-30 16:57:47'),(28316,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000056\', \'Cost of Goods Sold [OP-C[00000657]]\', \'Cost of Goods Sold [OP-C[00000657]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 3, 3, \'1\')','expenses/fnSaveExpenses','0.022851943969727','2016-08-30 16:57:47'),(28317,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000056\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.032752990722656','2016-08-30 16:57:47'),(28318,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000056\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016678810119629','2016-08-30 16:57:47'),(28319,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000056\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016111135482788','2016-08-30 16:57:47'),(28320,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000056\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016705989837646','2016-08-30 16:57:47'),(28321,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000056\', 5, \'Item 3\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016098976135254','2016-08-30 16:57:47'),(28322,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000056\', 6, \'Item 3\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016695022583008','2016-08-30 16:57:47'),(28323,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000056\'','expenses/fnSaveExpenses','0.016213893890381','2016-08-30 16:57:47'),(28324,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2209','expenses/fnSaveExpenses','0.016833066940308','2016-08-30 16:57:47'),(28325,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11376','expenses/fnSaveExpenses','0.016070127487183','2016-08-30 16:57:47'),(28326,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000056\'','expenses/fnSaveExpenses','0.041778802871704','2016-08-30 16:57:47'),(28327,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.047523975372314','2016-08-30 16:57:47'),(28328,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016189098358154','2016-08-30 16:57:47'),(28329,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015600919723511','2016-08-30 16:57:47'),(28330,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016202926635742','2016-08-30 16:57:47'),(28331,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015655994415283','2016-08-30 16:57:47'),(28332,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016207933425903','2016-08-30 16:57:47'),(28333,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2227\'','expenses/fnDeleteDetail','0.34390211105347','2016-08-30 16:59:42'),(28334,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2228\'','expenses/fnDeleteDetail','0.016824960708618','2016-08-30 16:59:42'),(28335,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2229\'','expenses/fnDeleteDetail','0.016225099563599','2016-08-30 16:59:42'),(28336,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50031\'','expenses/fnSaveExpenses','0.027551889419556','2016-08-30 16:59:43'),(28337,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50032\'','expenses/fnSaveExpenses','0.016783952713013','2016-08-30 16:59:43'),(28338,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50033\'','expenses/fnSaveExpenses','0.024573087692261','2016-08-30 16:59:43'),(28339,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50034\'','expenses/fnSaveExpenses','0.016817092895508','2016-08-30 16:59:43'),(28340,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50035\'','expenses/fnSaveExpenses','0.024554967880249','2016-08-30 16:59:43'),(28341,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50036\'','expenses/fnSaveExpenses','0.016849994659424','2016-08-30 16:59:43'),(28342,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11376\'','expenses/fnSaveExpenses','0.031397104263306','2016-08-30 16:59:43'),(28343,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'3000\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'84\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2209','expenses/fnSaveExpenses','0.21619701385498','2016-08-30 16:59:43'),(28344,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2209, \'1\', \'Item 1\', 1, \'32527\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.032618999481201','2016-08-30 16:59:43'),(28345,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2209, \'1\', \'Item 2\', 1, \'32527\', \'999.99\', \'999.99\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033172845840454','2016-08-30 16:59:43'),(28346,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2209, \'1\', \'Item 3\', 1, \'32527\', \'1000.01\', \'1000.01\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033175945281982','2016-08-30 16:59:43'),(28347,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.030241966247559','2016-08-30 16:59:43'),(28348,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000057\' WHERE `ID` =  2209','expenses/fnSaveExpenses','0.01679801940918','2016-08-30 16:59:43'),(28349,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000057\', \'Cost of Goods Sold [OP-C[00000657]]\', \'Cost of Goods Sold [OP-C[00000657]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 3000, 3000, \'1\')','expenses/fnSaveExpenses','0.057307958602905','2016-08-30 16:59:43'),(28350,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000057\', 1, \'Item 1\', \'32517\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.033041000366211','2016-08-30 16:59:43'),(28351,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000057\', 2, \'Item 1\', \'32527\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.033116102218628','2016-08-30 16:59:44'),(28352,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000057\', 3, \'Item 2\', \'32517\', 999.99, 1, \'1\', \'999.99\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.03305196762085','2016-08-30 16:59:44'),(28353,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000057\', 4, \'Item 2\', \'32527\', 999.99, 1, \'1\', \'999.99\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.049736976623535','2016-08-30 16:59:44'),(28354,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000057\', 5, \'Item 3\', \'32517\', 1000.01, 1, \'1\', \'1000.01\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.033071994781494','2016-08-30 16:59:44'),(28355,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000057\', 6, \'Item 3\', \'32527\', 1000.01, 1, \'1\', \'1000.01\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016695022583008','2016-08-30 16:59:44'),(28356,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000057\'','expenses/fnSaveExpenses','0.016221046447754','2016-08-30 16:59:44'),(28357,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2209','expenses/fnSaveExpenses','0.016840934753418','2016-08-30 16:59:44'),(28358,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11377','expenses/fnSaveExpenses','0.016151905059814','2016-08-30 16:59:44'),(28359,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000057\'','expenses/fnSaveExpenses','0.025127172470093','2016-08-30 16:59:44'),(28360,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.013629198074341','2016-08-30 16:59:44'),(28361,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.017810106277466','2016-08-30 16:59:44'),(28362,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015690088272095','2016-08-30 16:59:44'),(28363,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024583101272583','2016-08-30 16:59:44'),(28364,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.023941040039062','2016-08-30 16:59:44'),(28365,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.024561166763306','2016-08-30 16:59:44'),(28366,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2231\'','expenses/fnDeleteDetail','0.014128923416138','2016-08-30 17:00:44'),(28367,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2232\'','expenses/fnDeleteDetail','0.016258001327515','2016-08-30 17:00:44'),(28368,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50037\'','expenses/fnSaveExpenses','0.018781900405884','2016-08-30 17:00:44'),(28369,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50038\'','expenses/fnSaveExpenses','0.016227960586548','2016-08-30 17:00:44'),(28370,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50039\'','expenses/fnSaveExpenses','0.016819953918457','2016-08-30 17:00:44'),(28371,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50040\'','expenses/fnSaveExpenses','0.049548864364624','2016-08-30 17:00:45'),(28372,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50041\'','expenses/fnSaveExpenses','0.016814947128296','2016-08-30 17:00:45'),(28373,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50042\'','expenses/fnSaveExpenses','0.016232013702393','2016-08-30 17:00:45'),(28374,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11377\'','expenses/fnSaveExpenses','0.016825914382935','2016-08-30 17:00:45'),(28375,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'2000\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'84\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2209','expenses/fnSaveExpenses','0.030378103256226','2016-08-30 17:00:45'),(28376,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2209, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32527\', `amountIncludedTax` = \'1000\', `amountExcludedTax` = \'1000\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2230\'','expenses/fnSaveExpenses','0.00021910667419434','2016-08-30 17:00:45'),(28377,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2209, \'1\', \'Item 5\', 1, \'32527\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024723052978516','2016-08-30 17:00:45'),(28378,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.023141145706177','2016-08-30 17:00:45'),(28379,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000058\' WHERE `ID` =  2209','expenses/fnSaveExpenses','0.016820907592773','2016-08-30 17:00:45'),(28380,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000058\', \'Cost of Goods Sold [OP-C[00000657]]\', \'Cost of Goods Sold [OP-C[00000657]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 2000, 2000, \'1\')','expenses/fnSaveExpenses','0.015645027160645','2016-08-30 17:00:45'),(28381,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000058\', 1, \'Item 1\', \'32517\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.025022983551025','2016-08-30 17:00:45'),(28382,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000058\', 2, \'Item 1\', \'32527\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.01616907119751','2016-08-30 17:00:45'),(28383,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000058\', 3, \'Item 5\', \'32517\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.01668906211853','2016-08-30 17:00:45'),(28384,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000058\', 4, \'Item 5\', \'32527\', 1000, 1, \'1\', \'1000\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016138076782227','2016-08-30 17:00:45'),(28385,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000058\'','expenses/fnSaveExpenses','0.016787052154541','2016-08-30 17:00:45'),(28386,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2209','expenses/fnSaveExpenses','0.016259908676147','2016-08-30 17:00:45'),(28387,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11378','expenses/fnSaveExpenses','0.016729831695557','2016-08-30 17:00:45'),(28388,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000058\'','expenses/fnSaveExpenses','0.016200065612793','2016-08-30 17:00:45'),(28389,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.018059015274048','2016-08-30 17:00:45'),(28390,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015680074691772','2016-08-30 17:00:45'),(28391,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016304016113281','2016-08-30 17:00:45'),(28392,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015686988830566','2016-08-30 17:00:45'),(28393,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2230\'','expenses/fnDeleteDetail','0.024143934249878','2016-08-30 17:01:40'),(28394,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2233\'','expenses/fnDeleteDetail','0.016868114471436','2016-08-30 17:01:40'),(28395,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50043\'','expenses/fnSaveExpenses','0.027830123901367','2016-08-30 17:01:41'),(28396,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50044\'','expenses/fnSaveExpenses','0.016802072525024','2016-08-30 17:01:41'),(28397,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50045\'','expenses/fnSaveExpenses','0.016216039657593','2016-08-30 17:01:41'),(28398,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50046\'','expenses/fnSaveExpenses','0.01681113243103','2016-08-30 17:01:41'),(28399,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11378\'','expenses/fnSaveExpenses','0.016233921051025','2016-08-30 17:01:41'),(28400,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = \'32527\', `paymentMethodID` = \'68\', `amountPaid` = \'10000\', `formNo` = \'OP-C\', `paymentDate` = \'2016-08-30\', `bankId` = \'84\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2209','expenses/fnSaveExpenses','0.022581100463867','2016-08-30 17:01:41'),(28401,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2209, \'1\', \'Item 1\', 1, \'32527\', \'10000\', \'10000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016183137893677','2016-08-30 17:01:41'),(28402,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.012430906295776','2016-08-30 17:01:41'),(28403,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000059\' WHERE `ID` =  2209','expenses/fnSaveExpenses','0.025810956954956','2016-08-30 17:01:41'),(28404,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000059\', \'Cost of Goods Sold [OP-C[00000657]]\', \'Cost of Goods Sold [OP-C[00000657]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 10000, 10000, \'1\')','expenses/fnSaveExpenses','0.016227006912231','2016-08-30 17:01:41'),(28405,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000059\', 1, \'Item 1\', \'32517\', 10000, 1, \'1\', \'10000\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016113996505737','2016-08-30 17:01:41'),(28406,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000059\', 2, \'Item 1\', \'32527\', 10000, 1, \'1\', \'10000\', \'08\', \'16\', \'1\', \'OP-C[00000657]\', \'User\')','expenses/fnSaveExpenses','0.016687154769897','2016-08-30 17:01:41'),(28407,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000059\'','expenses/fnSaveExpenses','0.12852883338928','2016-08-30 17:01:41'),(28408,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2209','expenses/fnSaveExpenses','0.028259038925171','2016-08-30 17:01:41'),(28409,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11379','expenses/fnSaveExpenses','0.017394065856934','2016-08-30 17:01:41'),(28410,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000059\'','expenses/fnSaveExpenses','0.016772985458374','2016-08-30 17:01:41'),(28411,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32517\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.0153489112854','2016-08-30 17:01:41'),(28412,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01623797416687','2016-08-30 17:01:41'),(28413,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000057\'','sales/save_update_sale','0.023183822631836','2016-08-30 17:02:29'),(28414,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160800000057\'','sales/save_update_sale','0.033476829528809','2016-08-30 17:02:29'),(28415,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-08-01\', `bankID` = \'122\', `totalReceived` = \'33432432513.00\', `updateAble` = 1 WHERE `ID` =  \'688\'','sales/save_update_sale','0.016134977340698','2016-08-30 17:02:29'),(28416,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'688\'','sales/save_update_sale','0.05811882019043','2016-08-30 17:02:29'),(28417,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'688\', \'seluar\', \'1009009090.00\', \'32772\', 1)','sales/save_update_sale','0.016865015029907','2016-08-30 17:02:29'),(28418,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'688\', \'dfsdf\', \'32423423423.00\', \'32772\', 2)','sales/save_update_sale','0.016248941421509','2016-08-30 17:02:29'),(28419,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'688\'','sales/save_update_sale','0.0001978874206543','2016-08-30 17:02:29'),(28420,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'297\'','sales/save_update_sale','0.016288995742798','2016-08-30 17:02:30'),(28421,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160800000058\' WHERE `ID` =  \'688\'','sales/save_update_sale','0.016204118728638','2016-08-30 17:02:30'),(28422,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160800000058\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-08-01\', \'2016\', \'08\', \'33432432513\', \'33432432513\', \'10\')','sales/save_update_sale','0.014540910720825','2016-08-30 17:02:30'),(28423,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000058\', 1, \'seluar\', \'32772\', \'\', 1009009090, \'1\', \'1\', \'1009009090\', \'08\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.016071081161499','2016-08-30 17:02:30'),(28424,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160800000058\', \'seluar\', \'32761\', \'\', 1009009090, \'1\', \'1\', \'1009009090\', \'08\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016669988632202','2016-08-30 17:02:30'),(28425,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160800000058\', 3, \'dfsdf\', \'32772\', \'\', 32423423423, \'1\', \'1\', \'32423423423\', \'08\', \'2016\', \'2\', \'OR[00000016]\', \'0\', \'User\')','sales/save_update_sale','0.016094923019409','2016-08-30 17:02:30'),(28426,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160800000058\', \'dfsdf\', \'32761\', \'\', 32423423423, \'1\', \'1\', \'32423423423\', \'08\', \'2016\', \'OR[00000016]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016683101654053','2016-08-30 17:02:30'),(28427,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 33432432513, `total_amount_cr` = 33432432513, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000058\'','sales/save_update_sale','0.024542093276978','2016-08-30 17:02:30'),(28428,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'688\'','sales/save_update_sale','0.016824007034302','2016-08-30 17:02:30'),(28429,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11380','sales/save_update_sale','0.016233921051025','2016-08-30 17:02:30'),(28430,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160800000058\'','sales/save_update_sale','0.016793012619019','2016-08-30 17:02:30'),(28431,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.040047168731689','2016-08-30 17:02:30'),(28432,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.016170978546143','2016-08-30 17:02:30'),(28433,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.015617847442627','2016-08-30 17:02:30'),(28434,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','sales/save_update_sale','0.016174077987671','2016-08-30 17:02:30'),(28435,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2209\'','expenses/removePayment','0.037030935287476','2016-08-30 17:02:31'),(28436,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50047\'','expenses/removePayment','0.013542890548706','2016-08-30 17:02:31'),(28437,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50048\'','expenses/removePayment','0.024516105651855','2016-08-30 17:02:31'),(28438,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11379\'','expenses/removePayment','0.01682186126709','2016-08-30 17:02:31'),(28439,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 0, \'68\', \'2\', \'OP-E\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.062360048294067','2016-08-30 17:05:43'),(28440,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2210, \'1\', \'Item 1\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041156053543091','2016-08-30 17:05:43'),(28441,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2210, \'1\', \'Item 2\', 1, \'32529\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016805171966553','2016-08-30 17:05:43'),(28442,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.025290966033936','2016-08-30 17:05:43'),(28443,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000060\' WHERE `ID` =  2210','expenses/fnSaveExpenses','0.016793966293335','2016-08-30 17:05:43'),(28444,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000060\', \'Operating Expenses [OP-E[00000658]]\', \'Operating Expenses [OP-E[00000658]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.013972997665405','2016-08-30 17:05:43'),(28445,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000060\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000658]\', \'User\')','expenses/fnSaveExpenses','0.016678094863892','2016-08-30 17:05:43'),(28446,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000060\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000658]\', \'User\')','expenses/fnSaveExpenses','0.01609992980957','2016-08-30 17:05:43'),(28447,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000060\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000658]\', \'User\')','expenses/fnSaveExpenses','0.01671290397644','2016-08-30 17:05:43'),(28448,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000060\', 4, \'Item 2\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000658]\', \'User\')','expenses/fnSaveExpenses','0.01612114906311','2016-08-30 17:05:43'),(28449,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000060\'','expenses/fnSaveExpenses','0.016772031784058','2016-08-30 17:05:43'),(28450,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2210','expenses/fnSaveExpenses','0.024587154388428','2016-08-30 17:05:43'),(28451,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11381','expenses/fnSaveExpenses','0.016668081283569','2016-08-30 17:05:43'),(28452,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000060\'','expenses/fnSaveExpenses','0.016430139541626','2016-08-30 17:05:43'),(28453,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.14879298210144','2016-08-30 17:05:43'),(28454,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.029687881469727','2016-08-30 17:05:43'),(28455,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016891002655029','2016-08-30 17:05:43'),(28456,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.01559591293335','2016-08-30 17:05:43'),(28457,1,1,'192.168.1.254','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2236\'','expenses/fnDeleteDetail','0.096723079681396','2016-08-30 17:06:44'),(28458,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50053\'','expenses/fnSaveExpenses','0.020426034927368','2016-08-30 17:06:45'),(28459,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50054\'','expenses/fnSaveExpenses','0.13263607025146','2016-08-30 17:06:45'),(28460,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50055\'','expenses/fnSaveExpenses','0.025141954421997','2016-08-30 17:06:45'),(28461,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50056\'','expenses/fnSaveExpenses','0.016232013702393','2016-08-30 17:06:45'),(28462,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11381\'','expenses/fnSaveExpenses','0.016833782196045','2016-08-30 17:06:45'),(28463,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `memo` = \'To add remarks\', `companyID` = \'1\', `createdBy` = \'1\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'1\', `formNo` = \'OP-E\', `paymentDate` = \'2016-08-30\', `bankId` = \'82\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2210','expenses/fnSaveExpenses','0.022053003311157','2016-08-30 17:06:45'),(28464,1,1,'192.168.1.254','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2210, `createdBy` = \'1\', `itemdescription` = \'Item 1\', `lineNo` = 1, `accountID` = \'32529\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2235\'','expenses/fnSaveExpenses','0.00020408630371094','2016-08-30 17:06:45'),(28465,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 61 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.019076108932495','2016-08-30 17:06:45'),(28466,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000061\' WHERE `ID` =  2210','expenses/fnSaveExpenses','0.016212940216064','2016-08-30 17:06:45'),(28467,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000061\', \'Operating Expenses [OP-E[00000658]]\', \'Operating Expenses [OP-E[00000658]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.016277074813843','2016-08-30 17:06:45'),(28468,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000061\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000658]\', \'User\')','expenses/fnSaveExpenses','0.016109943389893','2016-08-30 17:06:45'),(28469,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000061\', 2, \'Item 1\', \'32529\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000658]\', \'User\')','expenses/fnSaveExpenses','0.016716957092285','2016-08-30 17:06:45'),(28470,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000061\'','expenses/fnSaveExpenses','0.015594005584717','2016-08-30 17:06:45'),(28471,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2210','expenses/fnSaveExpenses','0.017350912094116','2016-08-30 17:06:45'),(28472,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11382','expenses/fnSaveExpenses','0.016127109527588','2016-08-30 17:06:45'),(28473,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000061\'','expenses/fnSaveExpenses','0.01678991317749','2016-08-30 17:06:45'),(28474,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.051184177398682','2016-08-30 17:06:45'),(28475,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32529\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016258955001831','2016-08-30 17:06:45'),(28476,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 0, \'68\', \'1\', \'OP-E\', \'2016-08-30\', \'83\', \'1\')','expenses/fnSaveExpenses','0.12370109558105','2016-08-30 17:07:35'),(28477,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2211, \'1\', \'Item 1\', 1, \'32531\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016162872314453','2016-08-30 17:07:35'),(28478,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.029266119003296','2016-08-30 17:07:35'),(28479,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000062\' WHERE `ID` =  2211','expenses/fnSaveExpenses','0.016201972961426','2016-08-30 17:07:35'),(28480,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000062\', \'Operating Expenses [OP-E[00000659]]\', \'Operating Expenses [OP-E[00000659]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.014591932296753','2016-08-30 17:07:35'),(28481,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000062\', 1, \'Item 1\', \'32516\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000659]\', \'User\')','expenses/fnSaveExpenses','0.016100883483887','2016-08-30 17:07:35'),(28482,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000062\', 2, \'Item 1\', \'32531\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-E[00000659]\', \'User\')','expenses/fnSaveExpenses','0.016716003417969','2016-08-30 17:07:35'),(28483,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000062\'','expenses/fnSaveExpenses','0.024525165557861','2016-08-30 17:07:35'),(28484,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2211','expenses/fnSaveExpenses','0.016844034194946','2016-08-30 17:07:35'),(28485,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11383','expenses/fnSaveExpenses','0.016072034835815','2016-08-30 17:07:35'),(28486,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000062\'','expenses/fnSaveExpenses','0.016799926757812','2016-08-30 17:07:35'),(28487,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015232086181641','2016-08-30 17:07:36'),(28488,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32531\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016234874725342','2016-08-30 17:07:36'),(28489,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2210\'','expenses/removePayment','0.089282035827637','2016-08-30 17:07:43'),(28490,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50057\'','expenses/removePayment','0.030131101608276','2016-08-30 17:07:43'),(28491,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50058\'','expenses/removePayment','0.033493041992188','2016-08-30 17:07:43'),(28492,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2211\'','expenses/removePayment','0.07463002204895','2016-08-30 17:07:43'),(28493,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11382\'','expenses/removePayment','0.024532079696655','2016-08-30 17:07:43'),(28494,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50059\'','expenses/removePayment','0.088356018066406','2016-08-30 17:07:43'),(28495,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50060\'','expenses/removePayment','0.033157110214233','2016-08-30 17:07:43'),(28496,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11383\'','expenses/removePayment','0.033194065093994','2016-08-30 17:07:43'),(28497,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'2\', \'OP-C\', \'2016-08-30\', \'82\', \'1\')','expenses/fnSaveExpenses','0.046874046325684','2016-08-30 17:20:14'),(28498,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2212, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.032845973968506','2016-08-30 17:20:14'),(28499,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2212, \'1\', \'Item 2\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016817092895508','2016-08-30 17:20:14'),(28500,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  \'300\'','expenses/fnSaveExpenses','0.029912948608398','2016-08-30 17:20:14'),(28501,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160800000063\' WHERE `ID` =  2212','expenses/fnSaveExpenses','0.02531099319458','2016-08-30 17:20:14'),(28502,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160800000063\', \'Cost of Goods Sold [OP-C[00000660]]\', \'Cost of Goods Sold [OP-C[00000660]]\', \'\', \'3\', \'2016-08-30\', \'16\', \'08\', 2, 2, \'1\')','expenses/fnSaveExpenses','0.019425868988037','2016-08-30 17:20:14'),(28503,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000063\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000660]\', \'User\')','expenses/fnSaveExpenses','0.016674995422363','2016-08-30 17:20:14'),(28504,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000063\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000660]\', \'User\')','expenses/fnSaveExpenses','0.016136169433594','2016-08-30 17:20:14'),(28505,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000063\', 3, \'Item 2\', \'32515\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000660]\', \'User\')','expenses/fnSaveExpenses','0.016718149185181','2016-08-30 17:20:14'),(28506,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160800000063\', 4, \'Item 2\', \'32527\', 1, 1, \'1\', \'1\', \'08\', \'16\', \'1\', \'OP-C[00000660]\', \'User\')','expenses/fnSaveExpenses','0.01612401008606','2016-08-30 17:20:14'),(28507,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000063\'','expenses/fnSaveExpenses','0.016788959503174','2016-08-30 17:20:14'),(28508,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2212','expenses/fnSaveExpenses','0.016261100769043','2016-08-30 17:20:14'),(28509,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11384','expenses/fnSaveExpenses','0.016653060913086','2016-08-30 17:20:14'),(28510,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160800000063\'','expenses/fnSaveExpenses','0.016300201416016','2016-08-30 17:20:14'),(28511,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.23878908157349','2016-08-30 17:20:14'),(28512,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.033723115921021','2016-08-30 17:20:14'),(28513,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.016258001327515','2016-08-30 17:20:14'),(28514,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'8\'','expenses/fnSaveExpenses','0.015667200088501','2016-08-30 17:20:14'),(28515,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2212\'','expenses/removePayment','0.023060083389282','2016-08-30 17:20:23'),(28516,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50061\'','expenses/removePayment','0.012856960296631','2016-08-30 17:20:23'),(28517,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50062\'','expenses/removePayment','0.017038822174072','2016-08-30 17:20:23'),(28518,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50063\'','expenses/removePayment','0.016211986541748','2016-08-30 17:20:23'),(28519,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50064\'','expenses/removePayment','0.016830921173096','2016-08-30 17:20:23'),(28520,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11384\'','expenses/removePayment','0.016221046447754','2016-08-30 17:20:23'),(28521,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'100\', \'OP-C\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.029655933380127','2016-09-01 09:29:29'),(28522,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2213, \'28\', \'haiyaaaa\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033430099487305','2016-09-01 09:29:30'),(28523,23,28,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'09\', \'AP\', 1)','expenses/fnSaveExpenses','0.023330926895142','2016-09-01 09:29:30'),(28524,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160900000001\' WHERE `ID` =  2213','expenses/fnSaveExpenses','0.025151014328003','2016-09-01 09:29:30'),(28525,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP160900000001\', \'Cost of Goods Sold [OP-C[00000073]]\', \'Cost of Goods Sold [OP-C[00000073]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.022329807281494','2016-09-01 09:29:30'),(28526,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160900000001\', 1, \'haiyaaaa\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000073]\', \'User\')','expenses/fnSaveExpenses','0.025014162063599','2016-09-01 09:29:30'),(28527,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP160900000001\', 2, \'haiyaaaa\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000073]\', \'User\')','expenses/fnSaveExpenses','0.016138076782227','2016-09-01 09:29:30'),(28528,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.016809940338135','2016-09-01 09:29:30'),(28529,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2213','expenses/fnSaveExpenses','0.024601221084595','2016-09-01 09:29:30'),(28530,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11387','expenses/fnSaveExpenses','0.016654968261719','2016-09-01 09:29:30'),(28531,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.04123592376709','2016-09-01 09:29:30'),(28532,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015858888626099','2016-09-01 09:29:30'),(28533,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'8\', \'33019\', \'2016\', \'9\', \'100\', \'0\', 100, \'User\', \'2016-09-01: 03:09:29\')','expenses/fnSaveExpenses','0.015522956848145','2016-09-01 09:29:30'),(28534,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50069\'','expenses/fnSaveExpenses','0.17530798912048','2016-09-01 09:29:37'),(28535,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50070\'','expenses/fnSaveExpenses','0.03452205657959','2016-09-01 09:29:37'),(28536,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11387\'','expenses/fnSaveExpenses','0.025089979171753','2016-09-01 09:29:37'),(28537,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'100\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2213','expenses/fnSaveExpenses','0.013658046722412','2016-09-01 09:29:37'),(28538,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2213, `createdBy` = \'28\', `itemdescription` = \'haiyaaaa\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2240\'','expenses/fnSaveExpenses','0.00022101402282715','2016-09-01 09:29:37'),(28539,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.015551090240479','2016-09-01 09:29:37'),(28540,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000002\' WHERE `ID` =  2213','expenses/fnSaveExpenses','0.016216039657593','2016-09-01 09:29:38'),(28541,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000002\', \'Cost of Goods Sold [OP-C[00000073]]\', \'Cost of Goods Sold [OP-C[00000073]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.016216993331909','2016-09-01 09:29:38'),(28542,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000002\', 1, \'haiyaaaa\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000073]\', \'User\')','expenses/fnSaveExpenses','0.01611590385437','2016-09-01 09:29:38'),(28543,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000002\', 2, \'haiyaaaa\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000073]\', \'User\')','expenses/fnSaveExpenses','0.016691923141479','2016-09-01 09:29:38'),(28544,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.016207218170166','2016-09-01 09:29:38'),(28545,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2213','expenses/fnSaveExpenses','0.016844034194946','2016-09-01 09:29:38'),(28546,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11388','expenses/fnSaveExpenses','0.024504899978638','2016-09-01 09:29:38'),(28547,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.033460855484009','2016-09-01 09:29:38'),(28548,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015244960784912','2016-09-01 09:29:38'),(28549,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024579048156738','2016-09-01 09:29:38'),(28550,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'100\', \'OP-C\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.029806137084961','2016-09-01 09:32:38'),(28551,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoiii\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.049853086471558','2016-09-01 09:32:38'),(28552,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.017782926559448','2016-09-01 09:32:38'),(28553,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000003\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.016646862030029','2016-09-01 09:32:38'),(28554,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000003\', \'Cost of Goods Sold [OP-C[00000074]]\', \'Cost of Goods Sold [OP-C[00000074]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.039152145385742','2016-09-01 09:32:38'),(28555,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000003\', 1, \'hoiii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016527891159058','2016-09-01 09:32:38'),(28556,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000003\', 2, \'hoiii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016252994537354','2016-09-01 09:32:38'),(28557,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.016631841659546','2016-09-01 09:32:38'),(28558,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.016406059265137','2016-09-01 09:32:38'),(28559,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11392','expenses/fnSaveExpenses','0.024849891662598','2016-09-01 09:32:38'),(28560,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.03301215171814','2016-09-01 09:32:38'),(28561,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015618085861206','2016-09-01 09:32:38'),(28562,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015799045562744','2016-09-01 09:32:38'),(28563,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'123\', \'OP-C\', \'2016-09-01\', \'122\', \'1\')','expenses/fnSaveExpenses','0.13579988479614','2016-09-01 09:33:51'),(28564,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2215, \'10\', \'fad\', 1, \'32773\', \'123\', \'123\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016463041305542','2016-09-01 09:33:51'),(28565,13,10,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'13\', \'3\', \'16\', \'09\', \'AP\', 1)','expenses/fnSaveExpenses','0.014677047729492','2016-09-01 09:33:51'),(28566,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160900000001\' WHERE `ID` =  2215','expenses/fnSaveExpenses','0.033185958862305','2016-09-01 09:33:51'),(28567,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP160900000001\', \'Cost of Goods Sold [OP-C[00000083]]\', \'Cost of Goods Sold [OP-C[00000083]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 123, 123, \'10\')','expenses/fnSaveExpenses','0.014335155487061','2016-09-01 09:33:51'),(28568,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160900000001\', 1, \'fad\', \'32761\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000083]\', \'User\')','expenses/fnSaveExpenses','0.016425132751465','2016-09-01 09:33:51'),(28569,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP160900000001\', 2, \'fad\', \'32773\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000083]\', \'User\')','expenses/fnSaveExpenses','0.016414880752563','2016-09-01 09:33:51'),(28570,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.033151865005493','2016-09-01 09:33:51'),(28571,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2215','expenses/fnSaveExpenses','0.016533851623535','2016-09-01 09:33:51'),(28572,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11393','expenses/fnSaveExpenses','0.033005952835083','2016-09-01 09:33:52'),(28573,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.041473865509033','2016-09-01 09:33:52'),(28574,13,10,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32761\', \'2016\', \'9\', \'0\', \'123\', -123, \'User\', \'2016-09-01: 03:09:51\')','expenses/fnSaveExpenses','0.023236989974976','2016-09-01 09:33:52'),(28575,13,10,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'8\', \'32773\', \'2016\', \'9\', \'123\', \'0\', 123, \'User\', \'2016-09-01: 03:09:51\')','expenses/fnSaveExpenses','0.016031980514526','2016-09-01 09:33:52'),(28576,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50079\'','expenses/fnSaveExpenses','0.01798415184021','2016-09-01 09:36:19'),(28577,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50080\'','expenses/fnSaveExpenses','0.033175945281982','2016-09-01 09:36:19'),(28578,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11392\'','expenses/fnSaveExpenses','0.016487121582031','2016-09-01 09:36:19'),(28579,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'3442\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2214','expenses/fnSaveExpenses','0.022469043731689','2016-09-01 09:36:19'),(28580,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoiii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2241\'','expenses/fnSaveExpenses','0.0090060234069824','2016-09-01 09:36:19'),(28581,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.023908853530884','2016-09-01 09:36:19'),(28582,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024826049804688','2016-09-01 09:36:19'),(28583,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'222\', \'222\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016492128372192','2016-09-01 09:36:19'),(28584,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'333\', \'333\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016508102416992','2016-09-01 09:36:19'),(28585,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'444\', \'444\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024853944778442','2016-09-01 09:36:19'),(28586,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'555\', \'555\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016506195068359','2016-09-01 09:36:19'),(28587,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'666\', \'666\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016535043716431','2016-09-01 09:36:19'),(28588,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'777\', \'777\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016484975814819','2016-09-01 09:36:19'),(28589,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'121\', \'121\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016516923904419','2016-09-01 09:36:19'),(28590,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'123\', \'123\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.01650595664978','2016-09-01 09:36:20'),(28591,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.022495985031128','2016-09-01 09:36:20'),(28592,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000004\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.01648998260498','2016-09-01 09:36:20'),(28593,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', \'Cost of Goods Sold [OP-C[00000074]]\', \'Cost of Goods Sold [OP-C[00000074]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 3442, 3442, \'28\')','expenses/fnSaveExpenses','0.015887022018433','2016-09-01 09:36:20'),(28594,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 1, \'hoiii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016411066055298','2016-09-01 09:36:20'),(28595,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 2, \'hoiii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016371965408325','2016-09-01 09:36:20'),(28596,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 3, \'hoii\', \'33007\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016396045684814','2016-09-01 09:36:20'),(28597,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 4, \'hoii\', \'33019\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016430854797363','2016-09-01 09:36:20'),(28598,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 5, \'hoii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016402006149292','2016-09-01 09:36:20'),(28599,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 6, \'hoii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016405820846558','2016-09-01 09:36:20'),(28600,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 7, \'hoii\', \'33007\', 222, 1, \'1\', \'222\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.024739027023315','2016-09-01 09:36:20'),(28601,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 8, \'hoii\', \'33019\', 222, 1, \'1\', \'222\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016397953033447','2016-09-01 09:36:20'),(28602,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 9, \'hoii\', \'33007\', 333, 1, \'1\', \'333\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016407012939453','2016-09-01 09:36:20'),(28603,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 10, \'hoii\', \'33019\', 333, 1, \'1\', \'333\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016417980194092','2016-09-01 09:36:20'),(28604,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 11, \'hoii\', \'33007\', 444, 1, \'1\', \'444\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.024736166000366','2016-09-01 09:36:20'),(28605,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 12, \'hoii\', \'33019\', 444, 1, \'1\', \'444\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016412019729614','2016-09-01 09:36:20'),(28606,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 13, \'hoii\', \'33007\', 555, 1, \'1\', \'555\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016382217407227','2016-09-01 09:36:20'),(28607,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 14, \'hoii\', \'33019\', 555, 1, \'1\', \'555\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016424894332886','2016-09-01 09:36:20'),(28608,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 15, \'hoii\', \'33007\', 666, 1, \'1\', \'666\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016417980194092','2016-09-01 09:36:20'),(28609,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 16, \'hoii\', \'33019\', 666, 1, \'1\', \'666\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016443967819214','2016-09-01 09:36:20'),(28610,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 17, \'hoii\', \'33007\', 777, 1, \'1\', \'777\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016435146331787','2016-09-01 09:36:20'),(28611,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 18, \'hoii\', \'33019\', 777, 1, \'1\', \'777\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.033092975616455','2016-09-01 09:36:20'),(28612,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 19, \'hoii\', \'33007\', 121, 1, \'1\', \'121\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016375064849854','2016-09-01 09:36:20'),(28613,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 20, \'hoii\', \'33019\', 121, 1, \'1\', \'121\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016419887542725','2016-09-01 09:36:20'),(28614,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 21, \'hoii\', \'33007\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.13283705711365','2016-09-01 09:36:20'),(28615,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000004\', 22, \'hoii\', \'33019\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.017235994338989','2016-09-01 09:36:20'),(28616,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3442, `total_amount_cr` = 3442, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.13251805305481','2016-09-01 09:36:20'),(28617,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.01651406288147','2016-09-01 09:36:20'),(28618,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11395','expenses/fnSaveExpenses','0.016463994979858','2016-09-01 09:36:20'),(28619,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.016491889953613','2016-09-01 09:36:20'),(28620,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.022576093673706','2016-09-01 09:36:20'),(28621,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015352964401245','2016-09-01 09:36:20'),(28622,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.033142805099487','2016-09-01 09:36:20'),(28623,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015880107879639','2016-09-01 09:36:20'),(28624,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0159010887146','2016-09-01 09:36:20'),(28625,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015888929367065','2016-09-01 09:36:20'),(28626,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015970945358276','2016-09-01 09:36:20'),(28627,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015985012054443','2016-09-01 09:36:20'),(28628,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015995025634766','2016-09-01 09:36:20'),(28629,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015975952148438','2016-09-01 09:36:20'),(28630,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024300098419189','2016-09-01 09:36:20'),(28631,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024313926696777','2016-09-01 09:36:20'),(28632,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01599907875061','2016-09-01 09:36:20'),(28633,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015979051589966','2016-09-01 09:36:20'),(28634,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024295091629028','2016-09-01 09:36:20'),(28635,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015905857086182','2016-09-01 09:36:20'),(28636,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01593017578125','2016-09-01 09:36:20'),(28637,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015907049179077','2016-09-01 09:36:20'),(28638,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015961885452271','2016-09-01 09:36:20'),(28639,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024283170700073','2016-09-01 09:36:20'),(28640,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015995979309082','2016-09-01 09:36:20'),(28641,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01595401763916','2016-09-01 09:36:20'),(28642,23,28,'192.168.1.201','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2241\'','expenses/fnDeleteDetail','0.088078022003174','2016-09-01 09:37:03'),(28643,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50085\'','expenses/fnSaveExpenses','0.020964860916138','2016-09-01 09:37:06'),(28644,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50086\'','expenses/fnSaveExpenses','0.13287496566772','2016-09-01 09:37:06'),(28645,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50087\'','expenses/fnSaveExpenses','0.016500949859619','2016-09-01 09:37:06'),(28646,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50088\'','expenses/fnSaveExpenses','0.016541004180908','2016-09-01 09:37:06'),(28647,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50089\'','expenses/fnSaveExpenses','0.016560077667236','2016-09-01 09:37:06'),(28648,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50090\'','expenses/fnSaveExpenses','0.016515016555786','2016-09-01 09:37:06'),(28649,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50091\'','expenses/fnSaveExpenses','0.01652717590332','2016-09-01 09:37:06'),(28650,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50092\'','expenses/fnSaveExpenses','0.016536951065063','2016-09-01 09:37:06'),(28651,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50093\'','expenses/fnSaveExpenses','0.016522884368896','2016-09-01 09:37:06'),(28652,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50094\'','expenses/fnSaveExpenses','0.016535043716431','2016-09-01 09:37:06'),(28653,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50095\'','expenses/fnSaveExpenses','0.016540050506592','2016-09-01 09:37:06'),(28654,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50096\'','expenses/fnSaveExpenses','0.04082989692688','2016-09-01 09:37:06'),(28655,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50097\'','expenses/fnSaveExpenses','0.033895015716553','2016-09-01 09:37:06'),(28656,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50098\'','expenses/fnSaveExpenses','0.049866914749146','2016-09-01 09:37:06'),(28657,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50099\'','expenses/fnSaveExpenses','0.024847030639648','2016-09-01 09:37:06'),(28658,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50100\'','expenses/fnSaveExpenses','0.016509056091309','2016-09-01 09:37:06'),(28659,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50101\'','expenses/fnSaveExpenses','0.016506910324097','2016-09-01 09:37:06'),(28660,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50102\'','expenses/fnSaveExpenses','0.016546010971069','2016-09-01 09:37:06'),(28661,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50103\'','expenses/fnSaveExpenses','0.024867057800293','2016-09-01 09:37:06'),(28662,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50104\'','expenses/fnSaveExpenses','0.016520977020264','2016-09-01 09:37:06'),(28663,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50105\'','expenses/fnSaveExpenses','0.016538143157959','2016-09-01 09:37:06'),(28664,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50106\'','expenses/fnSaveExpenses','0.016550064086914','2016-09-01 09:37:06'),(28665,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11395\'','expenses/fnSaveExpenses','0.033201932907104','2016-09-01 09:37:06'),(28666,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'3342\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2214','expenses/fnSaveExpenses','0.02283787727356','2016-09-01 09:37:06'),(28667,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2243\'','expenses/fnSaveExpenses','0.00018501281738281','2016-09-01 09:37:06'),(28668,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2244\'','expenses/fnSaveExpenses','0.000097036361694336','2016-09-01 09:37:06'),(28669,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'222\', `amountExcludedTax` = \'222\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2245\'','expenses/fnSaveExpenses','0.000094890594482422','2016-09-01 09:37:06'),(28670,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'333\', `amountExcludedTax` = \'333\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2246\'','expenses/fnSaveExpenses','0.000090837478637695','2016-09-01 09:37:06'),(28671,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'444\', `amountExcludedTax` = \'444\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2247\'','expenses/fnSaveExpenses','0.000091075897216797','2016-09-01 09:37:06'),(28672,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'555\', `amountExcludedTax` = \'555\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2248\'','expenses/fnSaveExpenses','0.000090122222900391','2016-09-01 09:37:06'),(28673,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'666\', `amountExcludedTax` = \'666\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2249\'','expenses/fnSaveExpenses','0.000088930130004883','2016-09-01 09:37:06'),(28674,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'777\', `amountExcludedTax` = \'777\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2250\'','expenses/fnSaveExpenses','0.000089883804321289','2016-09-01 09:37:06'),(28675,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'121\', `amountExcludedTax` = \'121\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2251\'','expenses/fnSaveExpenses','0.000090122222900391','2016-09-01 09:37:06'),(28676,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'123\', `amountExcludedTax` = \'123\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2252\'','expenses/fnSaveExpenses','0.000089883804321289','2016-09-01 09:37:06'),(28677,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.022814989089966','2016-09-01 09:37:06'),(28678,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000005\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.016483068466187','2016-09-01 09:37:06'),(28679,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', \'Cost of Goods Sold [OP-C[00000074]]\', \'Cost of Goods Sold [OP-C[00000074]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 3342, 3342, \'28\')','expenses/fnSaveExpenses','0.015949010848999','2016-09-01 09:37:07'),(28680,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 1, \'hoii\', \'33007\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016411066055298','2016-09-01 09:37:07'),(28681,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 2, \'hoii\', \'33019\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016424894332886','2016-09-01 09:37:07'),(28682,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 3, \'hoii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016374111175537','2016-09-01 09:37:07'),(28683,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 4, \'hoii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016398906707764','2016-09-01 09:37:07'),(28684,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 5, \'hoii\', \'33007\', 222, 1, \'1\', \'222\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016415119171143','2016-09-01 09:37:07'),(28685,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 6, \'hoii\', \'33019\', 222, 1, \'1\', \'222\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016398906707764','2016-09-01 09:37:07'),(28686,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 7, \'hoii\', \'33007\', 333, 1, \'1\', \'333\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016411066055298','2016-09-01 09:37:07'),(28687,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 8, \'hoii\', \'33019\', 333, 1, \'1\', \'333\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016402959823608','2016-09-01 09:37:07'),(28688,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 9, \'hoii\', \'33007\', 444, 1, \'1\', \'444\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016417980194092','2016-09-01 09:37:07'),(28689,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 10, \'hoii\', \'33019\', 444, 1, \'1\', \'444\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.025461912155151','2016-09-01 09:37:07'),(28690,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 11, \'hoii\', \'33007\', 555, 1, \'1\', \'555\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.015694141387939','2016-09-01 09:37:07'),(28691,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 12, \'hoii\', \'33019\', 555, 1, \'1\', \'555\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016449928283691','2016-09-01 09:37:07'),(28692,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 13, \'hoii\', \'33007\', 666, 1, \'1\', \'666\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016393899917603','2016-09-01 09:37:07'),(28693,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 14, \'hoii\', \'33019\', 666, 1, \'1\', \'666\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016443014144897','2016-09-01 09:37:07'),(28694,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 15, \'hoii\', \'33007\', 777, 1, \'1\', \'777\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016396045684814','2016-09-01 09:37:07'),(28695,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 16, \'hoii\', \'33019\', 777, 1, \'1\', \'777\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016458034515381','2016-09-01 09:37:07'),(28696,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 17, \'hoii\', \'33007\', 121, 1, \'1\', \'121\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016400814056396','2016-09-01 09:37:07'),(28697,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 18, \'hoii\', \'33019\', 121, 1, \'1\', \'121\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016426086425781','2016-09-01 09:37:07'),(28698,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 19, \'hoii\', \'33007\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016423940658569','2016-09-01 09:37:07'),(28699,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000005\', 20, \'hoii\', \'33019\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.01640796661377','2016-09-01 09:37:07'),(28700,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3342, `total_amount_cr` = 3342, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.016494035720825','2016-09-01 09:37:07'),(28701,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.016549110412598','2016-09-01 09:37:07'),(28702,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11396','expenses/fnSaveExpenses','0.016433954238892','2016-09-01 09:37:07'),(28703,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.016527891159058','2016-09-01 09:37:07'),(28704,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.057682991027832','2016-09-01 09:37:07'),(28705,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.083801031112671','2016-09-01 09:37:07'),(28706,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.039676904678345','2016-09-01 09:37:07'),(28707,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032573938369751','2016-09-01 09:37:07'),(28708,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024259090423584','2016-09-01 09:37:07'),(28709,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.040931940078735','2016-09-01 09:37:07'),(28710,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032624006271362','2016-09-01 09:37:07'),(28711,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.040951013565063','2016-09-01 09:37:07'),(28712,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032553911209106','2016-09-01 09:37:07'),(28713,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.03258204460144','2016-09-01 09:37:07'),(28714,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.040842056274414','2016-09-01 09:37:07'),(28715,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032500982284546','2016-09-01 09:37:07'),(28716,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.049299955368042','2016-09-01 09:37:07'),(28717,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.03256893157959','2016-09-01 09:37:07'),(28718,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032594919204712','2016-09-01 09:37:07'),(28719,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032613039016724','2016-09-01 09:37:07'),(28720,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032564163208008','2016-09-01 09:37:07'),(28721,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032585859298706','2016-09-01 09:37:07'),(28722,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.15551090240479','2016-09-01 09:37:08'),(28723,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.084571123123169','2016-09-01 09:37:08'),(28724,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50107\'','expenses/fnSaveExpenses','0.059103012084961','2016-09-01 09:37:28'),(28725,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50108\'','expenses/fnSaveExpenses','0.091439008712769','2016-09-01 09:37:29'),(28726,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50109\'','expenses/fnSaveExpenses','0.016515016555786','2016-09-01 09:37:29'),(28727,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50110\'','expenses/fnSaveExpenses','0.033202886581421','2016-09-01 09:37:29'),(28728,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50111\'','expenses/fnSaveExpenses','0.024846792221069','2016-09-01 09:37:29'),(28729,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50112\'','expenses/fnSaveExpenses','0.033170938491821','2016-09-01 09:37:29'),(28730,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50113\'','expenses/fnSaveExpenses','0.095978975296021','2016-09-01 09:37:29'),(28731,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50114\'','expenses/fnSaveExpenses','0.11924195289612','2016-09-01 09:37:29'),(28732,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50115\'','expenses/fnSaveExpenses','0.059265851974487','2016-09-01 09:37:29'),(28733,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50116\'','expenses/fnSaveExpenses','0.024847984313965','2016-09-01 09:37:29'),(28734,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50117\'','expenses/fnSaveExpenses','0.041534900665283','2016-09-01 09:37:29'),(28735,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50118\'','expenses/fnSaveExpenses','0.033160209655762','2016-09-01 09:37:29'),(28736,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50119\'','expenses/fnSaveExpenses','0.033160924911499','2016-09-01 09:37:29'),(28737,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50120\'','expenses/fnSaveExpenses','0.023680925369263','2016-09-01 09:37:29'),(28738,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50121\'','expenses/fnSaveExpenses','0.026015996932983','2016-09-01 09:37:29'),(28739,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50122\'','expenses/fnSaveExpenses','0.040317058563232','2016-09-01 09:37:29'),(28740,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50123\'','expenses/fnSaveExpenses','0.026041984558105','2016-09-01 09:37:29'),(28741,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50124\'','expenses/fnSaveExpenses','0.024847030639648','2016-09-01 09:37:29'),(28742,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50125\'','expenses/fnSaveExpenses','0.016475915908813','2016-09-01 09:37:29'),(28743,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50126\'','expenses/fnSaveExpenses','0.016549110412598','2016-09-01 09:37:29'),(28744,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11396\'','expenses/fnSaveExpenses','0.016511917114258','2016-09-01 09:37:29'),(28745,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'3887\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2214','expenses/fnSaveExpenses','0.030434131622314','2016-09-01 09:37:29'),(28746,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2243\'','expenses/fnSaveExpenses','0.026133060455322','2016-09-01 09:37:29'),(28747,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2244\'','expenses/fnSaveExpenses','0.00018191337585449','2016-09-01 09:37:29'),(28748,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'222\', `amountExcludedTax` = \'222\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2245\'','expenses/fnSaveExpenses','0.00010204315185547','2016-09-01 09:37:29'),(28749,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'333\', `amountExcludedTax` = \'333\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2246\'','expenses/fnSaveExpenses','0.000094890594482422','2016-09-01 09:37:29'),(28750,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'444\', `amountExcludedTax` = \'444\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2247\'','expenses/fnSaveExpenses','0.000092029571533203','2016-09-01 09:37:29'),(28751,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'555\', `amountExcludedTax` = \'555\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2248\'','expenses/fnSaveExpenses','0.000092983245849609','2016-09-01 09:37:29'),(28752,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'666\', `amountExcludedTax` = \'666\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2249\'','expenses/fnSaveExpenses','0.000092983245849609','2016-09-01 09:37:29'),(28753,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'777\', `amountExcludedTax` = \'777\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2250\'','expenses/fnSaveExpenses','0.000092029571533203','2016-09-01 09:37:29'),(28754,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'121\', `amountExcludedTax` = \'121\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2251\'','expenses/fnSaveExpenses','0.000091075897216797','2016-09-01 09:37:29'),(28755,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'123\', `amountExcludedTax` = \'123\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2252\'','expenses/fnSaveExpenses','0.000092029571533203','2016-09-01 09:37:29'),(28756,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2214, \'28\', \'hoii\', 1, \'33019\', \'545\', \'545\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.021297931671143','2016-09-01 09:37:29'),(28757,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.02427077293396','2016-09-01 09:37:29'),(28758,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000006\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.016509056091309','2016-09-01 09:37:29'),(28759,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', \'Cost of Goods Sold [OP-C[00000074]]\', \'Cost of Goods Sold [OP-C[00000074]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 3887, 3887, \'28\')','expenses/fnSaveExpenses','0.015854835510254','2016-09-01 09:37:29'),(28760,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 1, \'hoii\', \'33007\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.024727821350098','2016-09-01 09:37:29'),(28761,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 2, \'hoii\', \'33019\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016427040100098','2016-09-01 09:37:29'),(28762,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 3, \'hoii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.01639986038208','2016-09-01 09:37:29'),(28763,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 4, \'hoii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016440153121948','2016-09-01 09:37:29'),(28764,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 5, \'hoii\', \'33007\', 222, 1, \'1\', \'222\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016396045684814','2016-09-01 09:37:29'),(28765,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 6, \'hoii\', \'33019\', 222, 1, \'1\', \'222\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.024742126464844','2016-09-01 09:37:29'),(28766,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 7, \'hoii\', \'33007\', 333, 1, \'1\', \'333\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016443967819214','2016-09-01 09:37:29'),(28767,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 8, \'hoii\', \'33019\', 333, 1, \'1\', \'333\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016422986984253','2016-09-01 09:37:29'),(28768,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 9, \'hoii\', \'33007\', 444, 1, \'1\', \'444\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.16638398170471','2016-09-01 09:37:29'),(28769,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 10, \'hoii\', \'33019\', 444, 1, \'1\', \'444\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016395807266235','2016-09-01 09:37:29'),(28770,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 11, \'hoii\', \'33007\', 555, 1, \'1\', \'555\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016381978988647','2016-09-01 09:37:29'),(28771,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 12, \'hoii\', \'33019\', 555, 1, \'1\', \'555\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016398906707764','2016-09-01 09:37:29'),(28772,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 13, \'hoii\', \'33007\', 666, 1, \'1\', \'666\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.01641583442688','2016-09-01 09:37:29'),(28773,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 14, \'hoii\', \'33019\', 666, 1, \'1\', \'666\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016391038894653','2016-09-01 09:37:30'),(28774,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 15, \'hoii\', \'33007\', 777, 1, \'1\', \'777\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.01642894744873','2016-09-01 09:37:30'),(28775,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 16, \'hoii\', \'33019\', 777, 1, \'1\', \'777\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016419887542725','2016-09-01 09:37:30'),(28776,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 17, \'hoii\', \'33007\', 121, 1, \'1\', \'121\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.01643705368042','2016-09-01 09:37:30'),(28777,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 18, \'hoii\', \'33019\', 121, 1, \'1\', \'121\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016433000564575','2016-09-01 09:37:30'),(28778,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 19, \'hoii\', \'33007\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.033041954040527','2016-09-01 09:37:30'),(28779,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 20, \'hoii\', \'33019\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016433954238892','2016-09-01 09:37:30'),(28780,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 21, \'hoii\', \'33007\', 545, 1, \'1\', \'545\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.0330650806427','2016-09-01 09:37:30'),(28781,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000006\', 22, \'hoii\', \'33019\', 545, 1, \'1\', \'545\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016422033309937','2016-09-01 09:37:30'),(28782,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3887, `total_amount_cr` = 3887, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.016494035720825','2016-09-01 09:37:30'),(28783,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.016543865203857','2016-09-01 09:37:30'),(28784,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11397','expenses/fnSaveExpenses','0.016451835632324','2016-09-01 09:37:30'),(28785,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.016517162322998','2016-09-01 09:37:30'),(28786,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023362874984741','2016-09-01 09:37:30'),(28787,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032673120498657','2016-09-01 09:37:30'),(28788,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032549858093262','2016-09-01 09:37:30'),(28789,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032582998275757','2016-09-01 09:37:30'),(28790,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.031203031539917','2016-09-01 09:37:30'),(28791,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.025640964508057','2016-09-01 09:37:30'),(28792,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.031261920928955','2016-09-01 09:37:30'),(28793,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.025659084320068','2016-09-01 09:37:30'),(28794,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032591104507446','2016-09-01 09:37:30'),(28795,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023290157318115','2016-09-01 09:37:30'),(28796,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.025366067886353','2016-09-01 09:37:30'),(28797,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032594919204712','2016-09-01 09:37:30'),(28798,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032650947570801','2016-09-01 09:37:30'),(28799,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032613039016724','2016-09-01 09:37:30'),(28800,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024241924285889','2016-09-01 09:37:30'),(28801,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024300098419189','2016-09-01 09:37:30'),(28802,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.031227111816406','2016-09-01 09:37:30'),(28803,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.033085107803345','2016-09-01 09:37:30'),(28804,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.083341121673584','2016-09-01 09:37:30'),(28805,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024283170700073','2016-09-01 09:37:30'),(28806,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.049276113510132','2016-09-01 09:37:30'),(28807,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.022985935211182','2016-09-01 09:37:30'),(28808,23,28,'192.168.1.201','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2253\'','expenses/fnDeleteDetail','0.12182903289795','2016-09-01 09:37:42'),(28809,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50127\'','expenses/fnSaveExpenses','0.019313097000122','2016-09-01 09:37:44'),(28810,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50128\'','expenses/fnSaveExpenses','0.024754047393799','2016-09-01 09:37:44'),(28811,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50129\'','expenses/fnSaveExpenses','0.016508102416992','2016-09-01 09:37:44'),(28812,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50130\'','expenses/fnSaveExpenses','0.023283958435059','2016-09-01 09:37:44'),(28813,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50131\'','expenses/fnSaveExpenses','0.018081903457642','2016-09-01 09:37:44'),(28814,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50132\'','expenses/fnSaveExpenses','0.016505002975464','2016-09-01 09:37:44'),(28815,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50133\'','expenses/fnSaveExpenses','0.016542911529541','2016-09-01 09:37:44'),(28816,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50134\'','expenses/fnSaveExpenses','0.016484022140503','2016-09-01 09:37:44'),(28817,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50135\'','expenses/fnSaveExpenses','0.016539096832275','2016-09-01 09:37:44'),(28818,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50136\'','expenses/fnSaveExpenses','0.016525030136108','2016-09-01 09:37:44'),(28819,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50137\'','expenses/fnSaveExpenses','0.016541004180908','2016-09-01 09:37:44'),(28820,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50138\'','expenses/fnSaveExpenses','0.016515016555786','2016-09-01 09:37:44'),(28821,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50139\'','expenses/fnSaveExpenses','0.016529083251953','2016-09-01 09:37:44'),(28822,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50140\'','expenses/fnSaveExpenses','0.016494989395142','2016-09-01 09:37:44'),(28823,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50141\'','expenses/fnSaveExpenses','0.016538143157959','2016-09-01 09:37:44'),(28824,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50142\'','expenses/fnSaveExpenses','0.016540050506592','2016-09-01 09:37:44'),(28825,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50143\'','expenses/fnSaveExpenses','0.033260822296143','2016-09-01 09:37:44'),(28826,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50144\'','expenses/fnSaveExpenses','0.033166170120239','2016-09-01 09:37:44'),(28827,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50145\'','expenses/fnSaveExpenses','0.016515016555786','2016-09-01 09:37:44'),(28828,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50146\'','expenses/fnSaveExpenses','0.016508102416992','2016-09-01 09:37:44'),(28829,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50147\'','expenses/fnSaveExpenses','0.016513109207153','2016-09-01 09:37:44'),(28830,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50148\'','expenses/fnSaveExpenses','0.016512870788574','2016-09-01 09:37:44'),(28831,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11397\'','expenses/fnSaveExpenses','0.016502141952515','2016-09-01 09:37:44'),(28832,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33019\', `paymentMethodID` = \'68\', `amountPaid` = \'3342\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2214','expenses/fnSaveExpenses','0.02365517616272','2016-09-01 09:37:44'),(28833,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'1\', `amountExcludedTax` = \'1\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2243\'','expenses/fnSaveExpenses','0.00026392936706543','2016-09-01 09:37:44'),(28834,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2244\'','expenses/fnSaveExpenses','0.00015807151794434','2016-09-01 09:37:44'),(28835,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'222\', `amountExcludedTax` = \'222\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2245\'','expenses/fnSaveExpenses','0.00013518333435059','2016-09-01 09:37:44'),(28836,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'333\', `amountExcludedTax` = \'333\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2246\'','expenses/fnSaveExpenses','0.00012707710266113','2016-09-01 09:37:44'),(28837,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'444\', `amountExcludedTax` = \'444\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2247\'','expenses/fnSaveExpenses','0.00012111663818359','2016-09-01 09:37:44'),(28838,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'555\', `amountExcludedTax` = \'555\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2248\'','expenses/fnSaveExpenses','0.00011992454528809','2016-09-01 09:37:44'),(28839,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'666\', `amountExcludedTax` = \'666\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2249\'','expenses/fnSaveExpenses','0.00011610984802246','2016-09-01 09:37:44'),(28840,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'777\', `amountExcludedTax` = \'777\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2250\'','expenses/fnSaveExpenses','0.00011706352233887','2016-09-01 09:37:44'),(28841,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'121\', `amountExcludedTax` = \'121\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2251\'','expenses/fnSaveExpenses','0.00011610984802246','2016-09-01 09:37:44'),(28842,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2214, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33019\', `amountIncludedTax` = \'123\', `amountExcludedTax` = \'123\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2252\'','expenses/fnSaveExpenses','0.00011491775512695','2016-09-01 09:37:44'),(28843,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.056916952133179','2016-09-01 09:37:44'),(28844,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000007\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.016508102416992','2016-09-01 09:37:44'),(28845,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', \'Cost of Goods Sold [OP-C[00000074]]\', \'Cost of Goods Sold [OP-C[00000074]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 3342, 3342, \'28\')','expenses/fnSaveExpenses','0.032553911209106','2016-09-01 09:37:44'),(28846,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 1, \'hoii\', \'33007\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.049711942672729','2016-09-01 09:37:44'),(28847,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 2, \'hoii\', \'33019\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016412019729614','2016-09-01 09:37:44'),(28848,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 3, \'hoii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016423940658569','2016-09-01 09:37:44'),(28849,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 4, \'hoii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016393899917603','2016-09-01 09:37:44'),(28850,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 5, \'hoii\', \'33007\', 222, 1, \'1\', \'222\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016422033309937','2016-09-01 09:37:44'),(28851,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 6, \'hoii\', \'33019\', 222, 1, \'1\', \'222\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016372919082642','2016-09-01 09:37:44'),(28852,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 7, \'hoii\', \'33007\', 333, 1, \'1\', \'333\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016412019729614','2016-09-01 09:37:44'),(28853,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 8, \'hoii\', \'33019\', 333, 1, \'1\', \'333\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016404867172241','2016-09-01 09:37:44'),(28854,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 9, \'hoii\', \'33007\', 444, 1, \'1\', \'444\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016388893127441','2016-09-01 09:37:44'),(28855,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 10, \'hoii\', \'33019\', 444, 1, \'1\', \'444\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016406059265137','2016-09-01 09:37:44'),(28856,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 11, \'hoii\', \'33007\', 555, 1, \'1\', \'555\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016397953033447','2016-09-01 09:37:44'),(28857,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 12, \'hoii\', \'33019\', 555, 1, \'1\', \'555\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016412973403931','2016-09-01 09:37:44'),(28858,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 13, \'hoii\', \'33007\', 666, 1, \'1\', \'666\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016453981399536','2016-09-01 09:37:45'),(28859,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 14, \'hoii\', \'33019\', 666, 1, \'1\', \'666\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016414165496826','2016-09-01 09:37:45'),(28860,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 15, \'hoii\', \'33007\', 777, 1, \'1\', \'777\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016385078430176','2016-09-01 09:37:45'),(28861,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 16, \'hoii\', \'33019\', 777, 1, \'1\', \'777\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016411066055298','2016-09-01 09:37:45'),(28862,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 17, \'hoii\', \'33007\', 121, 1, \'1\', \'121\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016411781311035','2016-09-01 09:37:45'),(28863,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 18, \'hoii\', \'33019\', 121, 1, \'1\', \'121\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016418933868408','2016-09-01 09:37:45'),(28864,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 19, \'hoii\', \'33007\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016417980194092','2016-09-01 09:37:45'),(28865,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000007\', 20, \'hoii\', \'33019\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000074]\', \'User\')','expenses/fnSaveExpenses','0.016417980194092','2016-09-01 09:37:45'),(28866,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3342, `total_amount_cr` = 3342, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000007\'','expenses/fnSaveExpenses','0.024808883666992','2016-09-01 09:37:45'),(28867,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2214','expenses/fnSaveExpenses','0.033207893371582','2016-09-01 09:37:45'),(28868,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11398','expenses/fnSaveExpenses','0.0331130027771','2016-09-01 09:37:45'),(28869,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000007\'','expenses/fnSaveExpenses','0.016484975814819','2016-09-01 09:37:45'),(28870,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.019248008728027','2016-09-01 09:37:45'),(28871,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01582407951355','2016-09-01 09:37:45'),(28872,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015891075134277','2016-09-01 09:37:45'),(28873,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015803813934326','2016-09-01 09:37:45'),(28874,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015896081924438','2016-09-01 09:37:45'),(28875,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0242600440979','2016-09-01 09:37:45'),(28876,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015947103500366','2016-09-01 09:37:45'),(28877,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015934944152832','2016-09-01 09:37:45'),(28878,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015914916992188','2016-09-01 09:37:45'),(28879,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015895128250122','2016-09-01 09:37:45'),(28880,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015913009643555','2016-09-01 09:37:45');
INSERT INTO `_log_query` VALUES (28881,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015915870666504','2016-09-01 09:37:45'),(28882,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015918970108032','2016-09-01 09:37:45'),(28883,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.014569044113159','2016-09-01 09:37:45'),(28884,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.017282962799072','2016-09-01 09:37:45'),(28885,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015941858291626','2016-09-01 09:37:45'),(28886,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.014235019683838','2016-09-01 09:37:45'),(28887,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.017643928527832','2016-09-01 09:37:45'),(28888,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015923976898193','2016-09-01 09:37:45'),(28889,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01593804359436','2016-09-01 09:37:45'),(28890,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'23\', \'28\', 1, 0, \'68\', \'1000\', \'OP-E\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.031012773513794','2016-09-01 09:53:54'),(28891,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2216, \'28\', \'tax\', 1, \'33048\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.022506952285767','2016-09-01 09:53:54'),(28892,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.024249076843262','2016-09-01 09:53:54'),(28893,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000008\' WHERE `ID` =  2216','expenses/fnSaveExpenses','0.01649284362793','2016-09-01 09:53:54'),(28894,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000008\', \'Operating Expenses [OP-E[00000075]]\', \'Operating Expenses [OP-E[00000075]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1000, 1000, \'28\')','expenses/fnSaveExpenses','0.03088903427124','2016-09-01 09:53:54'),(28895,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000008\', 1, \'tax\', \'33007\', 1000, 1, \'1\', \'1000\', \'09\', \'16\', \'1\', \'OP-E[00000075]\', \'User\')','expenses/fnSaveExpenses','0.041380167007446','2016-09-01 09:53:54'),(28896,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000008\', 2, \'tax\', \'33048\', 1000, 1, \'1\', \'1000\', \'09\', \'16\', \'1\', \'OP-E[00000075]\', \'User\')','expenses/fnSaveExpenses','0.016412973403931','2016-09-01 09:53:54'),(28897,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000008\'','expenses/fnSaveExpenses','0.016471862792969','2016-09-01 09:53:54'),(28898,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2216','expenses/fnSaveExpenses','0.016545057296753','2016-09-01 09:53:54'),(28899,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11400','expenses/fnSaveExpenses','0.01633620262146','2016-09-01 09:53:54'),(28900,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000008\'','expenses/fnSaveExpenses','0.016485214233398','2016-09-01 09:53:54'),(28901,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.037978172302246','2016-09-01 09:53:54'),(28902,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'10\', \'33048\', \'2016\', \'9\', \'1000\', \'0\', 1000, \'User\', \'2016-09-01: 03:09:54\')','expenses/fnSaveExpenses','0.017839908599854','2016-09-01 09:53:54'),(28903,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'123\', \'OP-C\', \'2016-09-01\', \'122\', \'1\')','expenses/fnSaveExpenses','0.031193971633911','2016-09-01 09:54:00'),(28904,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2217, \'10\', \'fad\', 1, \'32773\', \'123\', \'123\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.01644492149353','2016-09-01 09:54:00'),(28905,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.012421846389771','2016-09-01 09:54:00'),(28906,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000002\' WHERE `ID` =  2217','expenses/fnSaveExpenses','0.018716096878052','2016-09-01 09:54:00'),(28907,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000002\', \'Cost of Goods Sold [OP-C[00000084]]\', \'Cost of Goods Sold [OP-C[00000084]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 123, 123, \'10\')','expenses/fnSaveExpenses','0.011946201324463','2016-09-01 09:54:00'),(28908,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000002\', 1, \'fad\', \'32761\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000084]\', \'User\')','expenses/fnSaveExpenses','0.018634080886841','2016-09-01 09:54:00'),(28909,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000002\', 2, \'fad\', \'32773\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000084]\', \'User\')','expenses/fnSaveExpenses','0.016395807266235','2016-09-01 09:54:00'),(28910,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.016491174697876','2016-09-01 09:54:00'),(28911,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2217','expenses/fnSaveExpenses','0.016539096832275','2016-09-01 09:54:00'),(28912,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11401','expenses/fnSaveExpenses','0.01637601852417','2016-09-01 09:54:00'),(28913,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.016489028930664','2016-09-01 09:54:00'),(28914,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015450000762939','2016-09-01 09:54:00'),(28915,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015830993652344','2016-09-01 09:54:00'),(28916,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000002\'','sales/save_update_sale','0.10727214813232','2016-09-01 09:54:35'),(28917,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000002\'','sales/save_update_sale','0.029026031494141','2016-09-01 09:54:35'),(28918,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-01\', `bankID` = \'122\', `totalReceived` = \'1234.00\', `updateAble` = 1 WHERE `ID` =  \'2261\'','sales/save_update_sale','0.018524885177612','2016-09-01 09:54:35'),(28919,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2261\'','sales/save_update_sale','0.016531944274902','2016-09-01 09:54:35'),(28920,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2261\', \'fad\', \'1234.00\', \'32772\', 1)','sales/save_update_sale','0.014129161834717','2016-09-01 09:54:35'),(28921,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2261\'','sales/save_update_sale','0.00018811225891113','2016-09-01 09:54:35'),(28922,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'350\'','sales/save_update_sale','0.018882989883423','2016-09-01 09:54:35'),(28923,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000003\' WHERE `ID` =  \'2261\'','sales/save_update_sale','0.033161878585815','2016-09-01 09:54:35'),(28924,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000003\', \'OR[00000041]\', \'Sales [ OR[00000041] ]\', \'\', \'2\', \'2016-09-01\', \'2016\', \'09\', \'1234\', \'1234\', \'10\')','sales/save_update_sale','0.039313793182373','2016-09-01 09:54:35'),(28925,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000003\', 1, \'fad\', \'32772\', \'\', 1234, \'1\', \'1\', \'1234\', \'09\', \'2016\', \'1\', \'OR[00000041]\', \'0\', \'User\')','sales/save_update_sale','0.016372919082642','2016-09-01 09:54:35'),(28926,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000003\', \'fad\', \'32761\', \'\', 1234, \'1\', \'1\', \'1234\', \'09\', \'2016\', \'OR[00000041]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.033044099807739','2016-09-01 09:54:35'),(28927,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1234, `total_amount_cr` = 1234, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000003\'','sales/save_update_sale','0.024832010269165','2016-09-01 09:54:35'),(28928,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2261\'','sales/save_update_sale','0.014153003692627','2016-09-01 09:54:35'),(28929,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11402','sales/save_update_sale','0.0189049243927','2016-09-01 09:54:35'),(28930,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000003\'','sales/save_update_sale','0.016484022140503','2016-09-01 09:54:35'),(28931,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.023755788803101','2016-09-01 09:54:35'),(28932,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015905857086182','2016-09-01 09:54:35'),(28933,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'23\', \'28\', 1, 0, \'68\', \'1090\', \'OP-E\', \'2016-10-07\', \'148\', \'1\')','expenses/fnSaveExpenses','0.03205680847168','2016-09-01 09:56:18'),(28934,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2218, \'28\', \'hoii\', 1, \'33036\', \'1090\', \'1090\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016489028930664','2016-09-01 09:56:18'),(28935,23,28,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'23\', \'3\', \'16\', \'10\', \'AP\', 1)','expenses/fnSaveExpenses','0.021955966949463','2016-09-01 09:56:18'),(28936,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP161000000001\' WHERE `ID` =  2218','expenses/fnSaveExpenses','0.018824815750122','2016-09-01 09:56:18'),(28937,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP161000000001\', \'Operating Expenses [OP-E[00000076]]\', \'Operating Expenses [OP-E[00000076]]\', \'\', \'3\', \'2016-10-07\', \'16\', \'10\', 1090, 1090, \'28\')','expenses/fnSaveExpenses','0.022605895996094','2016-09-01 09:56:18'),(28938,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP161000000001\', 1, \'hoii\', \'33007\', 1090, 1, \'1\', \'1090\', \'10\', \'16\', \'1\', \'OP-E[00000076]\', \'User\')','expenses/fnSaveExpenses','0.016356945037842','2016-09-01 09:56:18'),(28939,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP161000000001\', 2, \'hoii\', \'33036\', 1090, 1, \'1\', \'1090\', \'10\', \'16\', \'1\', \'OP-E[00000076]\', \'User\')','expenses/fnSaveExpenses','0.016435146331787','2016-09-01 09:56:18'),(28940,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1090, `total_amount_cr` = 1090, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP161000000001\'','expenses/fnSaveExpenses','0.047755002975464','2016-09-01 09:56:18'),(28941,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2218','expenses/fnSaveExpenses','0.018616914749146','2016-09-01 09:56:18'),(28942,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11403','expenses/fnSaveExpenses','0.016356945037842','2016-09-01 09:56:18'),(28943,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP161000000001\'','expenses/fnSaveExpenses','0.0331711769104','2016-09-01 09:56:18'),(28944,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.028621912002563','2016-09-01 09:56:18'),(28945,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'10\', \'33036\', \'2016\', \'10\', \'1090\', \'0\', 1090, \'User\', \'2016-09-01: 03:09:18\')','expenses/fnSaveExpenses','0.015764951705933','2016-09-01 09:56:18'),(28946,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'23\', \'28\', 1, 0, \'68\', \'1000\', \'OP-A\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.065491199493408','2016-09-01 09:57:30'),(28947,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2219, \'28\', \'hoii\', 1, \'33002\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.038949012756348','2016-09-01 09:57:30'),(28948,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.028383016586304','2016-09-01 09:57:31'),(28949,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000009\' WHERE `ID` =  2219','expenses/fnSaveExpenses','0.024823904037476','2016-09-01 09:57:31'),(28950,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000009\', \'Purchase of Fixed Asset [OP-A[00000077]]\', \'Purchase of Fixed Asset [OP-A[00000077]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1000, 1000, \'28\')','expenses/fnSaveExpenses','0.012218952178955','2016-09-01 09:57:31'),(28951,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000009\', 1, \'hoii\', \'33007\', 1000, 1, \'1\', \'1000\', \'09\', \'16\', \'1\', \'OP-A[00000077]\', \'User\')','expenses/fnSaveExpenses','0.041120052337646','2016-09-01 09:57:31'),(28952,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000009\', 2, \'hoii\', \'33002\', 1000, 1, \'1\', \'1000\', \'09\', \'16\', \'1\', \'OP-A[00000077]\', \'User\')','expenses/fnSaveExpenses','0.018818140029907','2016-09-01 09:57:31'),(28953,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000009\'','expenses/fnSaveExpenses','0.016535997390747','2016-09-01 09:57:31'),(28954,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2219','expenses/fnSaveExpenses','0.016515016555786','2016-09-01 09:57:31'),(28955,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11404','expenses/fnSaveExpenses','0.024703979492188','2016-09-01 09:57:31'),(28956,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000009\'','expenses/fnSaveExpenses','0.047688961029053','2016-09-01 09:57:31'),(28957,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.17088794708252','2016-09-01 09:57:31'),(28958,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'2\', \'33002\', \'2016\', \'9\', \'1000\', \'0\', 1000, \'User\', \'2016-09-01: 03:09:30\')','expenses/fnSaveExpenses','0.017268896102905','2016-09-01 09:57:31'),(28959,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'23\', \'28\', 1, 0, \'68\', \'19092\', \'OP-L\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.03791880607605','2016-09-01 10:03:20'),(28960,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2220, \'28\', \'hoii\', 1, \'33013\', \'19092\', \'19092\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016762018203735','2016-09-01 10:03:20'),(28961,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.022078990936279','2016-09-01 10:03:20'),(28962,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000010\' WHERE `ID` =  2220','expenses/fnSaveExpenses','0.016794919967651','2016-09-01 10:03:20'),(28963,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000010\', \'Loan Repayment [OP-L[00000078]]\', \'Loan Repayment [OP-L[00000078]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 19092, 19092, \'28\')','expenses/fnSaveExpenses','0.030661106109619','2016-09-01 10:03:20'),(28964,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000010\', 1, \'hoii\', \'33007\', 19092, 1, \'1\', \'19092\', \'09\', \'16\', \'1\', \'OP-L[00000078]\', \'User\')','expenses/fnSaveExpenses','0.027179002761841','2016-09-01 10:03:20'),(28965,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000010\', 2, \'hoii\', \'33013\', 19092, 1, \'1\', \'19092\', \'09\', \'16\', \'1\', \'OP-L[00000078]\', \'User\')','expenses/fnSaveExpenses','0.016396045684814','2016-09-01 10:03:20'),(28966,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 19092, `total_amount_cr` = 19092, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000010\'','expenses/fnSaveExpenses','0.016494035720825','2016-09-01 10:03:20'),(28967,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2220','expenses/fnSaveExpenses','0.13475680351257','2016-09-01 10:03:20'),(28968,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11405','expenses/fnSaveExpenses','0.020954132080078','2016-09-01 10:03:20'),(28969,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000010\'','expenses/fnSaveExpenses','0.018649816513062','2016-09-01 10:03:20'),(28970,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024631023406982','2016-09-01 10:03:20'),(28971,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'4\', \'33013\', \'2016\', \'9\', \'19092\', \'0\', 19092, \'User\', \'2016-09-01: 04:09:20\')','expenses/fnSaveExpenses','0.024042129516602','2016-09-01 10:03:20'),(28972,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50181\'','expenses/fnSaveExpenses','0.031929016113281','2016-09-01 10:04:07'),(28973,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50182\'','expenses/fnSaveExpenses','0.014184951782227','2016-09-01 10:04:07'),(28974,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11405\'','expenses/fnSaveExpenses','0.016218185424805','2016-09-01 10:04:07'),(28975,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'23\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'19092\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-01\', `bankId` = \'148\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2220','expenses/fnSaveExpenses','0.030790090560913','2016-09-01 10:04:07'),(28976,23,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2220, `createdBy` = \'28\', `itemdescription` = \'hoii\', `lineNo` = 1, `accountID` = \'33013\', `amountIncludedTax` = \'19092\', `amountExcludedTax` = \'19092\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2258\'','expenses/fnSaveExpenses','0.00025796890258789','2016-09-01 10:04:07'),(28977,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.019384145736694','2016-09-01 10:04:07'),(28978,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000011\' WHERE `ID` =  2220','expenses/fnSaveExpenses','0.027323961257935','2016-09-01 10:04:07'),(28979,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000011\', \'Loan Repayment [OP-L[00000078]]\', \'Loan Repayment [OP-L[00000078]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 19092, 19092, \'28\')','expenses/fnSaveExpenses','0.015825033187866','2016-09-01 10:04:07'),(28980,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000011\', 1, \'hoii\', \'33007\', 19092, 1, \'1\', \'19092\', \'09\', \'16\', \'1\', \'OP-L[00000078]\', \'User\')','expenses/fnSaveExpenses','0.016386032104492','2016-09-01 10:04:07'),(28981,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000011\', 2, \'hoii\', \'33013\', 19092, 1, \'1\', \'19092\', \'09\', \'16\', \'1\', \'OP-L[00000078]\', \'User\')','expenses/fnSaveExpenses','0.016386985778809','2016-09-01 10:04:07'),(28982,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 19092, `total_amount_cr` = 19092, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000011\'','expenses/fnSaveExpenses','0.016463041305542','2016-09-01 10:04:07'),(28983,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2220','expenses/fnSaveExpenses','0.016540050506592','2016-09-01 10:04:07'),(28984,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11406','expenses/fnSaveExpenses','0.016402006149292','2016-09-01 10:04:07'),(28985,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000011\'','expenses/fnSaveExpenses','0.016481876373291','2016-09-01 10:04:07'),(28986,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023741960525513','2016-09-01 10:04:07'),(28987,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33013\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.021799802780151','2016-09-01 10:04:07'),(28988,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-01\', \'122\', \'OR\', \'1231.00\', \'13\')','sales/save_new_sale','0.059738874435425','2016-09-01 10:08:29'),(28989,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2262, \'fad\', \'1231.00\', 0, 1)','sales/save_new_sale','0.010637044906616','2016-09-01 10:08:29'),(28990,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2262','sales/save_new_sale','0.00018787384033203','2016-09-01 10:08:29'),(28991,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'350\'','sales/save_new_sale','0.02873420715332','2016-09-01 10:08:29'),(28992,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000004\' WHERE `ID` =  2262','sales/save_new_sale','0.0081639289855957','2016-09-01 10:08:29'),(28993,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000004\', \'OR[00000042]\', \'Sales [ OR[00000042] ]\', \'\', \'2\', \'2016-09-01\', \'2016\', \'09\', \'1231\', \'1231\', \'10\')','sales/save_new_sale','0.0119469165802','2016-09-01 10:08:29'),(28994,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000004\', 1, \'fad\', \'0\', \'\', 1231, \'1\', \'1\', \'1231\', \'09\', \'2016\', \'1\', \'OR[00000042]\', \'0\', \'User\')','sales/save_new_sale','0.02712082862854','2016-09-01 10:08:29'),(28995,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000004\', \'fad\', \'32761\', \'\', 1231, \'1\', \'1\', \'1231\', \'09\', \'2016\', \'OR[00000042]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.033061981201172','2016-09-01 10:08:29'),(28996,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1231, `total_amount_cr` = 1231, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000004\'','sales/save_new_sale','0.0081729888916016','2016-09-01 10:08:29'),(28997,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2262','sales/save_new_sale','0.014129161834717','2016-09-01 10:08:30'),(28998,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11407','sales/save_new_sale','0.010617971420288','2016-09-01 10:08:30'),(28999,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000004\'','sales/save_new_sale','0.016542911529541','2016-09-01 10:08:30'),(29000,13,10,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', NULL, \'0\', \'2016\', \'9\', \'0\', \'1231\', -1231, \'User\', \'2016-09-01: 04:09:29\')','sales/save_new_sale','0.041769981384277','2016-09-01 10:08:30'),(29001,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018662929534912','2016-09-01 10:08:30'),(29002,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-01\', \'122\', \'OR\', \'123.00\', \'13\')','sales/save_new_sale','0.039341926574707','2016-09-01 10:08:51'),(29003,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2263, \'fad\', \'123.00\', 0, 1)','sales/save_new_sale','0.0081720352172852','2016-09-01 10:08:51'),(29004,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2263','sales/save_new_sale','0.00020289421081543','2016-09-01 10:08:51'),(29005,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'350\'','sales/save_new_sale','0.016510963439941','2016-09-01 10:08:51'),(29006,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000005\' WHERE `ID` =  2263','sales/save_new_sale','0.024847030639648','2016-09-01 10:08:51'),(29007,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000005\', \'OR[00000043]\', \'Sales [ OR[00000043] ]\', \'\', \'2\', \'2016-09-01\', \'2016\', \'09\', \'123\', \'123\', \'10\')','sales/save_new_sale','0.011890888214111','2016-09-01 10:08:51'),(29008,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000005\', 1, \'fad\', \'0\', \'\', 123, \'1\', \'1\', \'123\', \'09\', \'2016\', \'1\', \'OR[00000043]\', \'0\', \'User\')','sales/save_new_sale','0.010493993759155','2016-09-01 10:08:51'),(29009,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000005\', \'fad\', \'32761\', \'\', 123, \'1\', \'1\', \'123\', \'09\', \'2016\', \'OR[00000043]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01640796661377','2016-09-01 10:08:51'),(29010,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000005\'','sales/save_new_sale','0.024831056594849','2016-09-01 10:08:51'),(29011,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2263','sales/save_new_sale','0.016554832458496','2016-09-01 10:08:51'),(29012,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11408','sales/save_new_sale','0.0081961154937744','2016-09-01 10:08:51'),(29013,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000005\'','sales/save_new_sale','0.016522884368896','2016-09-01 10:08:51'),(29014,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015544176101685','2016-09-01 10:08:51'),(29015,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015956878662109','2016-09-01 10:08:51'),(29016,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.00099396705627441','2016-09-01 10:09:20'),(29017,23,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Bangkok\', `currentBalance` = \'100.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'148\'','bank/saveBank','0.084513902664185','2016-09-01 10:09:39'),(29018,23,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bangkok\', `openingBalanceDr` = 100, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33007\'','bank/saveBank','0.010868072509766','2016-09-01 10:09:39'),(29019,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.00097393989562988','2016-09-01 10:09:40'),(29020,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-01\', \'122\', \'OR\', \'2313.00\', \'13\')','sales/save_new_sale','0.11354684829712','2016-09-01 10:09:55'),(29021,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2264, \'fad\', \'2313.00\', 0, 1)','sales/save_new_sale','0.011345148086548','2016-09-01 10:09:55'),(29022,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2264','sales/save_new_sale','0.00022101402282715','2016-09-01 10:09:55'),(29023,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'350\'','sales/save_new_sale','0.025159120559692','2016-09-01 10:09:55'),(29024,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000006\' WHERE `ID` =  2264','sales/save_new_sale','0.0081830024719238','2016-09-01 10:09:55'),(29025,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000006\', \'OR[00000040]\', \'Sales [ OR[00000040] ]\', \'\', \'2\', \'2016-09-01\', \'2016\', \'09\', \'2313\', \'2313\', \'10\')','sales/save_new_sale','0.027865886688232','2016-09-01 10:09:55'),(29026,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000006\', 1, \'fad\', \'0\', \'\', 2313, \'1\', \'1\', \'2313\', \'09\', \'2016\', \'1\', \'OR[00000040]\', \'0\', \'User\')','sales/save_new_sale','0.011138916015625','2016-09-01 10:09:55'),(29027,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000006\', \'fad\', \'32761\', \'\', 2313, \'1\', \'1\', \'2313\', \'09\', \'2016\', \'OR[00000040]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0080630779266357','2016-09-01 10:09:55'),(29028,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2313, `total_amount_cr` = 2313, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000006\'','sales/save_new_sale','0.0081620216369629','2016-09-01 10:09:55'),(29029,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2264','sales/save_new_sale','0.0082111358642578','2016-09-01 10:09:55'),(29030,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11409','sales/save_new_sale','0.0082027912139893','2016-09-01 10:09:55'),(29031,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000006\'','sales/save_new_sale','0.030059814453125','2016-09-01 10:09:55'),(29032,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.014060020446777','2016-09-01 10:09:55'),(29033,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.027044057846069','2016-09-01 10:09:55'),(29034,23,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.0010571479797363','2016-09-01 10:10:18'),(29035,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.0016798973083496','2016-09-01 10:11:16'),(29036,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-01\', \'126\', \'OR\', \'5233.00\', \'13\')','sales/save_new_sale','0.10746192932129','2016-09-01 10:12:36'),(29037,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2265, \'fadd\', \'5233.00\', 0, 1)','sales/save_new_sale','0.016196966171265','2016-09-01 10:12:36'),(29038,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2265','sales/save_new_sale','0.00023293495178223','2016-09-01 10:12:36'),(29039,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'350\'','sales/save_new_sale','0.022830009460449','2016-09-01 10:12:36'),(29040,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000007\' WHERE `ID` =  2265','sales/save_new_sale','0.019395112991333','2016-09-01 10:12:36'),(29041,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000007\', \'OR[00000041]\', \'Sales [ OR[00000041] ]\', \'\', \'2\', \'2016-09-01\', \'2016\', \'09\', \'5233\', \'5233\', \'10\')','sales/save_new_sale','0.011303901672363','2016-09-01 10:12:36'),(29042,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000007\', 1, \'fadd\', \'0\', \'\', 5233, \'1\', \'1\', \'5233\', \'09\', \'2016\', \'1\', \'OR[00000041]\', \'0\', \'User\')','sales/save_new_sale','0.019258975982666','2016-09-01 10:12:36'),(29043,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000007\', \'fadd\', \'32765\', \'\', 5233, \'1\', \'1\', \'5233\', \'09\', \'2016\', \'OR[00000041]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0080339908599854','2016-09-01 10:12:36'),(29044,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 5233, `total_amount_cr` = 5233, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000007\'','sales/save_new_sale','0.01333212852478','2016-09-01 10:12:36'),(29045,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2265','sales/save_new_sale','0.011372089385986','2016-09-01 10:12:36'),(29046,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11410','sales/save_new_sale','0.016517162322998','2016-09-01 10:12:36'),(29047,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000007\'','sales/save_new_sale','0.0081560611724854','2016-09-01 10:12:36'),(29048,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011330127716064','2016-09-01 10:12:36'),(29049,13,10,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'3\', \'32765\', \'2016\', \'9\', \'5233\', \'0\', 5233, \'User\', \'2016-09-01: 04:09:36\')','sales/save_new_sale','0.12684607505798','2016-09-01 10:12:36'),(29050,13,10,'192.168.1.198','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.com\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-551090901\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-01 04-13-01\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/userMaster','0.30143213272095','2016-09-01 10:13:11'),(29051,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-09-01\', \'82\', \'1\')','expenses/fnSaveExpenses','0.052118062973022','2016-09-01 10:13:21'),(29052,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2221, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.027329921722412','2016-09-01 10:13:21'),(29053,1,1,'192.168.1.254','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'1\', \'3\', \'16\', \'09\', \'AP\', 1)','expenses/fnSaveExpenses','0.025086879730225','2016-09-01 10:13:21'),(29054,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160900000001\' WHERE `ID` =  2221','expenses/fnSaveExpenses','0.024847030639648','2016-09-01 10:13:21'),(29055,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP160900000001\', \'Cost of Goods Sold [OP-C[00000661]]\', \'Cost of Goods Sold [OP-C[00000661]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.028179168701172','2016-09-01 10:13:21'),(29056,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP160900000001\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000661]\', \'User\')','expenses/fnSaveExpenses','0.01926589012146','2016-09-01 10:13:21'),(29057,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP160900000001\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000661]\', \'User\')','expenses/fnSaveExpenses','0.024712085723877','2016-09-01 10:13:21'),(29058,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.013343095779419','2016-09-01 10:13:21'),(29059,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2221','expenses/fnSaveExpenses','0.011383056640625','2016-09-01 10:13:21'),(29060,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11411','expenses/fnSaveExpenses','0.033077955245972','2016-09-01 10:13:21'),(29061,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.013466119766235','2016-09-01 10:13:21'),(29062,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32515\', \'2016\', \'9\', \'0\', \'1\', -1, \'User\', \'2016-09-01: 04:09:21\')','expenses/fnSaveExpenses','0.033895015716553','2016-09-01 10:13:21'),(29063,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'8\', \'32527\', \'2016\', \'9\', \'1\', \'0\', 1, \'User\', \'2016-09-01: 04:09:21\')','expenses/fnSaveExpenses','0.010798931121826','2016-09-01 10:13:21'),(29064,13,10,'192.168.1.198','update','UPDATE `tekun-admin`.`tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.com\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-01 04-13-16\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/userMaster','0.029983997344971','2016-09-01 10:13:23'),(29065,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-09-01\', \'82\', \'1\')','expenses/fnSaveExpenses','0.035820960998535','2016-09-01 10:14:02'),(29066,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2222, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011451005935669','2016-09-01 10:14:03'),(29067,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'352\'','expenses/fnSaveExpenses','0.025872230529785','2016-09-01 10:14:03'),(29068,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000002\' WHERE `ID` =  2222','expenses/fnSaveExpenses','0.0081930160522461','2016-09-01 10:14:03'),(29069,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160900000002\', \'Cost of Goods Sold [OP-C[00000662]]\', \'Cost of Goods Sold [OP-C[00000662]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.011116981506348','2016-09-01 10:14:03'),(29070,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000002\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000662]\', \'User\')','expenses/fnSaveExpenses','0.011291027069092','2016-09-01 10:14:03'),(29071,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000002\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000662]\', \'User\')','expenses/fnSaveExpenses','0.024751901626587','2016-09-01 10:14:03'),(29072,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.0081532001495361','2016-09-01 10:14:03'),(29073,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2222','expenses/fnSaveExpenses','0.0082170963287354','2016-09-01 10:14:03'),(29074,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11412','expenses/fnSaveExpenses','0.0080549716949463','2016-09-01 10:14:03'),(29075,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.024833917617798','2016-09-01 10:14:03'),(29076,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.031188011169434','2016-09-01 10:14:03'),(29077,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012744903564453','2016-09-01 10:14:03'),(29078,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-09-01\', \'83\', \'1\')','expenses/fnSaveExpenses','0.021572113037109','2016-09-01 10:16:06'),(29079,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2223, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0081508159637451','2016-09-01 10:16:06'),(29080,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'352\'','expenses/fnSaveExpenses','0.022095918655396','2016-09-01 10:16:06'),(29081,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000003\' WHERE `ID` =  2223','expenses/fnSaveExpenses','0.0081861019134521','2016-09-01 10:16:06'),(29082,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160900000003\', \'Cost of Goods Sold [OP-C[00000663]]\', \'Cost of Goods Sold [OP-C[00000663]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.01119589805603','2016-09-01 10:16:06'),(29083,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000003\', 1, \'Item 1\', \'32516\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000663]\', \'User\')','expenses/fnSaveExpenses','0.019622087478638','2016-09-01 10:16:06'),(29084,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000003\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000663]\', \'User\')','expenses/fnSaveExpenses','0.0080869197845459','2016-09-01 10:16:06'),(29085,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.013552188873291','2016-09-01 10:16:06'),(29086,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2223','expenses/fnSaveExpenses','0.011192798614502','2016-09-01 10:16:06'),(29087,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11413','expenses/fnSaveExpenses','0.016386985778809','2016-09-01 10:16:06'),(29088,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.024826049804688','2016-09-01 10:16:06'),(29089,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'3\', \'32516\', \'2016\', \'9\', \'0\', \'1\', -1, \'User\', \'2016-09-01: 04:09:06\')','expenses/fnSaveExpenses','0.012511014938354','2016-09-01 10:16:06'),(29090,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015730857849121','2016-09-01 10:16:06'),(29091,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2221\'','expenses/removePayment','0.011819839477539','2016-09-01 10:16:17'),(29092,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50193\'','expenses/removePayment','0.025702953338623','2016-09-01 10:16:17'),(29093,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2223\'','expenses/removePayment','0.028478145599365','2016-09-01 10:16:17'),(29094,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50194\'','expenses/removePayment','0.024909019470215','2016-09-01 10:16:17'),(29095,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50197\'','expenses/removePayment','0.030365943908691','2016-09-01 10:16:17'),(29096,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2222\'','expenses/removePayment','0.013850927352905','2016-09-01 10:16:17'),(29097,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11411\'','expenses/removePayment','0.016517162322998','2016-09-01 10:16:17'),(29098,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50198\'','expenses/removePayment','0.041521072387695','2016-09-01 10:16:17'),(29099,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50195\'','expenses/removePayment','0.024569034576416','2016-09-01 10:16:17'),(29100,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11413\'','expenses/removePayment','0.033390998840332','2016-09-01 10:16:17'),(29101,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50196\'','expenses/removePayment','0.066553115844727','2016-09-01 10:16:17'),(29102,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11412\'','expenses/removePayment','0.066508054733276','2016-09-01 10:16:17'),(29103,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-09-01\', \'82\', \'1\')','expenses/fnSaveExpenses','0.15345501899719','2016-09-01 10:17:36'),(29104,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2224, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.037724018096924','2016-09-01 10:17:36'),(29105,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'352\'','expenses/fnSaveExpenses','0.036975145339966','2016-09-01 10:17:36'),(29106,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000004\' WHERE `ID` =  2224','expenses/fnSaveExpenses','0.0081548690795898','2016-09-01 10:17:36'),(29107,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160900000004\', \'Cost of Goods Sold [OP-C[00000664]]\', \'Cost of Goods Sold [OP-C[00000664]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.031015157699585','2016-09-01 10:17:36'),(29108,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000004\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000664]\', \'User\')','expenses/fnSaveExpenses','0.02997088432312','2016-09-01 10:17:36'),(29109,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000004\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000664]\', \'User\')','expenses/fnSaveExpenses','0.011178016662598','2016-09-01 10:17:36'),(29110,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.0081729888916016','2016-09-01 10:17:36'),(29111,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2224','expenses/fnSaveExpenses','0.0082061290740967','2016-09-01 10:17:36'),(29112,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11414','expenses/fnSaveExpenses','0.0080718994140625','2016-09-01 10:17:36'),(29113,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.041491031646729','2016-09-01 10:17:36'),(29114,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012712001800537','2016-09-01 10:17:36'),(29115,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012602090835571','2016-09-01 10:17:36'),(29116,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2224\'','expenses/removePayment','0.018730878829956','2016-09-01 10:17:51'),(29117,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50199\'','expenses/removePayment','0.016618013381958','2016-09-01 10:17:51'),(29118,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50200\'','expenses/removePayment','0.021534204483032','2016-09-01 10:17:51'),(29119,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11414\'','expenses/removePayment','0.011419057846069','2016-09-01 10:17:51'),(29120,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-09-01\', \'82\', \'1\')','expenses/fnSaveExpenses','0.024584054946899','2016-09-01 10:18:12'),(29121,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2225, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0081419944763184','2016-09-01 10:18:12'),(29122,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'352\'','expenses/fnSaveExpenses','0.010612964630127','2016-09-01 10:18:12'),(29123,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000005\' WHERE `ID` =  2225','expenses/fnSaveExpenses','0.01679801940918','2016-09-01 10:18:12'),(29124,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160900000005\', \'Cost of Goods Sold [OP-C[00000665]]\', \'Cost of Goods Sold [OP-C[00000665]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.0092239379882812','2016-09-01 10:18:12'),(29125,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000005\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000665]\', \'User\')','expenses/fnSaveExpenses','0.008044958114624','2016-09-01 10:18:12'),(29126,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000005\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000665]\', \'User\')','expenses/fnSaveExpenses','0.024769067764282','2016-09-01 10:18:12'),(29127,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.0081651210784912','2016-09-01 10:18:12'),(29128,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2225','expenses/fnSaveExpenses','0.013098955154419','2016-09-01 10:18:12'),(29129,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11415','expenses/fnSaveExpenses','0.011497974395752','2016-09-01 10:18:12'),(29130,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.024832963943481','2016-09-01 10:18:12'),(29131,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012468814849854','2016-09-01 10:18:12'),(29132,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01081109046936','2016-09-01 10:18:12'),(29133,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-09-01\', \'82\', \'1\')','expenses/fnSaveExpenses','0.025010108947754','2016-09-01 10:22:33'),(29134,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2226, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011658191680908','2016-09-01 10:22:33'),(29135,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'352\'','expenses/fnSaveExpenses','0.017125129699707','2016-09-01 10:22:33'),(29136,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000006\' WHERE `ID` =  2226','expenses/fnSaveExpenses','0.011566162109375','2016-09-01 10:22:33'),(29137,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160900000006\', \'Cost of Goods Sold [OP-C[00000666]]\', \'Cost of Goods Sold [OP-C[00000666]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.010815858840942','2016-09-01 10:22:33'),(29138,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000006\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000666]\', \'User\')','expenses/fnSaveExpenses','0.011449098587036','2016-09-01 10:22:33'),(29139,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000006\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000666]\', \'User\')','expenses/fnSaveExpenses','0.0080718994140625','2016-09-01 10:22:33'),(29140,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.013370990753174','2016-09-01 10:22:33'),(29141,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2226','expenses/fnSaveExpenses','0.011344194412231','2016-09-01 10:22:33'),(29142,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11416','expenses/fnSaveExpenses','0.0080289840698242','2016-09-01 10:22:33'),(29143,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.01305890083313','2016-09-01 10:22:33'),(29144,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010578870773315','2016-09-01 10:22:33'),(29145,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012538194656372','2016-09-01 10:22:33'),(29146,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0010111331939697','2016-09-01 10:23:16'),(29147,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1\', \'OP-C\', \'2016-09-01\', \'82\', \'1\')','expenses/fnSaveExpenses','0.21575284004211','2016-09-01 10:24:28'),(29148,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2227, \'1\', \'Item 1\', 1, \'32527\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011831998825073','2016-09-01 10:24:28'),(29149,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'352\'','expenses/fnSaveExpenses','0.022644996643066','2016-09-01 10:24:28'),(29150,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000007\' WHERE `ID` =  2227','expenses/fnSaveExpenses','0.0081641674041748','2016-09-01 10:24:28'),(29151,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160900000007\', \'Cost of Goods Sold [OP-C[00000667]]\', \'Cost of Goods Sold [OP-C[00000667]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 1, 1, \'1\')','expenses/fnSaveExpenses','0.010782957077026','2016-09-01 10:24:28'),(29152,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000007\', 1, \'Item 1\', \'32515\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000667]\', \'User\')','expenses/fnSaveExpenses','0.011626005172729','2016-09-01 10:24:28'),(29153,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000007\', 2, \'Item 1\', \'32527\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000667]\', \'User\')','expenses/fnSaveExpenses','0.0080740451812744','2016-09-01 10:24:28'),(29154,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000007\'','expenses/fnSaveExpenses','0.029914855957031','2016-09-01 10:24:28'),(29155,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2227','expenses/fnSaveExpenses','0.016237020492554','2016-09-01 10:24:28'),(29156,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11417','expenses/fnSaveExpenses','0.01160192489624','2016-09-01 10:24:28'),(29157,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000007\'','expenses/fnSaveExpenses','0.14196705818176','2016-09-01 10:24:28'),(29158,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.020005941390991','2016-09-01 10:24:28'),(29159,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010859966278076','2016-09-01 10:24:28'),(29160,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2213\'','expenses/removePayment','0.10045003890991','2016-09-01 10:34:50'),(29161,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50071\'','expenses/removePayment','0.019954919815063','2016-09-01 10:34:50'),(29162,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50072\'','expenses/removePayment','0.020243883132935','2016-09-01 10:34:50'),(29163,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11388\'','expenses/removePayment','0.14148187637329','2016-09-01 10:34:50'),(29164,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2214\'','expenses/removePayment','0.030613899230957','2016-09-01 10:35:02'),(29165,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50149\'','expenses/removePayment','0.029294967651367','2016-09-01 10:35:02'),(29166,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50150\'','expenses/removePayment','0.0081229209899902','2016-09-01 10:35:02'),(29167,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50151\'','expenses/removePayment','0.012796878814697','2016-09-01 10:35:02'),(29168,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50152\'','expenses/removePayment','0.020270824432373','2016-09-01 10:35:02'),(29169,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50153\'','expenses/removePayment','0.012802839279175','2016-09-01 10:35:02'),(29170,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50154\'','expenses/removePayment','0.011938095092773','2016-09-01 10:35:02'),(29171,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50155\'','expenses/removePayment','0.024861097335815','2016-09-01 10:35:02'),(29172,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50156\'','expenses/removePayment','0.0081949234008789','2016-09-01 10:35:02'),(29173,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50157\'','expenses/removePayment','0.012814044952393','2016-09-01 10:35:02'),(29174,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50158\'','expenses/removePayment','0.011924028396606','2016-09-01 10:35:02'),(29175,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50159\'','expenses/removePayment','0.012841939926147','2016-09-01 10:35:02'),(29176,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50160\'','expenses/removePayment','0.011927127838135','2016-09-01 10:35:02'),(29177,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50161\'','expenses/removePayment','0.012799024581909','2016-09-01 10:35:02'),(29178,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50162\'','expenses/removePayment','0.0119309425354','2016-09-01 10:35:02'),(29179,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50163\'','expenses/removePayment','0.012814998626709','2016-09-01 10:35:02'),(29180,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50164\'','expenses/removePayment','0.011942863464355','2016-09-01 10:35:02'),(29181,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50165\'','expenses/removePayment','0.012796878814697','2016-09-01 10:35:02'),(29182,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50166\'','expenses/removePayment','0.01191520690918','2016-09-01 10:35:02'),(29183,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50167\'','expenses/removePayment','0.012822866439819','2016-09-01 10:35:02'),(29184,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50168\'','expenses/removePayment','0.02859902381897','2016-09-01 10:35:02'),(29185,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11398\'','expenses/removePayment','0.012804985046387','2016-09-01 10:35:02'),(29186,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'100\', \'OP-C\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.058442115783691','2016-09-01 10:35:55'),(29187,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2228, \'28\', \'hoii\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.03781795501709','2016-09-01 10:35:55'),(29188,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.031144857406616','2016-09-01 10:35:55'),(29189,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000012\' WHERE `ID` =  2228','expenses/fnSaveExpenses','0.010389089584351','2016-09-01 10:35:55'),(29190,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000012\', \'Cost of Goods Sold [OP-C[00000079]]\', \'Cost of Goods Sold [OP-C[00000079]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.0097038745880127','2016-09-01 10:35:55'),(29191,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000012\', 1, \'hoii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000079]\', \'User\')','expenses/fnSaveExpenses','0.012654066085815','2016-09-01 10:35:55'),(29192,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000012\', 2, \'hoii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000079]\', \'User\')','expenses/fnSaveExpenses','0.0118248462677','2016-09-01 10:35:55'),(29193,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000012\'','expenses/fnSaveExpenses','0.012753009796143','2016-09-01 10:35:55'),(29194,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2228','expenses/fnSaveExpenses','0.011960029602051','2016-09-01 10:35:55'),(29195,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11418','expenses/fnSaveExpenses','0.012653827667236','2016-09-01 10:35:55'),(29196,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000012\'','expenses/fnSaveExpenses','0.011881113052368','2016-09-01 10:35:55'),(29197,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.013791084289551','2016-09-01 10:35:55'),(29198,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.027984142303467','2016-09-01 10:35:55'),(29199,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2228\'','expenses/removePayment','0.088193893432617','2016-09-01 10:36:29'),(29200,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50207\'','expenses/removePayment','0.0089108943939209','2016-09-01 10:36:29'),(29201,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50208\'','expenses/removePayment','0.01264500617981','2016-09-01 10:36:29'),(29202,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11418\'','expenses/removePayment','0.012071847915649','2016-09-01 10:36:29'),(29203,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'100\', \'OP-C\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.088651895523071','2016-09-01 10:36:48'),(29204,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2229, \'28\', \'hoii\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.01172399520874','2016-09-01 10:36:48'),(29205,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.022525072097778','2016-09-01 10:36:48'),(29206,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000013\' WHERE `ID` =  2229','expenses/fnSaveExpenses','0.012688159942627','2016-09-01 10:36:48'),(29207,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000013\', \'Cost of Goods Sold [OP-C[00000080]]\', \'Cost of Goods Sold [OP-C[00000080]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.0098099708557129','2016-09-01 10:36:48'),(29208,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000013\', 1, \'hoii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000080]\', \'User\')','expenses/fnSaveExpenses','0.012601852416992','2016-09-01 10:36:48'),(29209,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000013\', 2, \'hoii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000080]\', \'User\')','expenses/fnSaveExpenses','0.011870861053467','2016-09-01 10:36:48'),(29210,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000013\'','expenses/fnSaveExpenses','0.033146142959595','2016-09-01 10:36:48'),(29211,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2229','expenses/fnSaveExpenses','0.0082049369812012','2016-09-01 10:36:48'),(29212,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11419','expenses/fnSaveExpenses','0.012593030929565','2016-09-01 10:36:48'),(29213,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000013\'','expenses/fnSaveExpenses','0.011912107467651','2016-09-01 10:36:48'),(29214,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011684894561768','2016-09-01 10:36:48'),(29215,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011402130126953','2016-09-01 10:36:48'),(29216,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'12121\', \'OP-C\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.084503889083862','2016-09-01 10:37:14'),(29217,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2230, \'28\', \'hoii\', 1, \'33019\', \'12121\', \'12121\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011805057525635','2016-09-01 10:37:14'),(29218,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.017554044723511','2016-09-01 10:37:14'),(29219,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000014\' WHERE `ID` =  2230','expenses/fnSaveExpenses','0.0081949234008789','2016-09-01 10:37:14'),(29220,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000014\', \'Cost of Goods Sold [OP-C[00000081]]\', \'Cost of Goods Sold [OP-C[00000081]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 12121, 12121, \'28\')','expenses/fnSaveExpenses','0.010738134384155','2016-09-01 10:37:14'),(29221,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000014\', 1, \'hoii\', \'33007\', 12121, 1, \'1\', \'12121\', \'09\', \'16\', \'1\', \'OP-C[00000081]\', \'User\')','expenses/fnSaveExpenses','0.011641025543213','2016-09-01 10:37:14'),(29222,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000014\', 2, \'hoii\', \'33019\', 12121, 1, \'1\', \'12121\', \'09\', \'16\', \'1\', \'OP-C[00000081]\', \'User\')','expenses/fnSaveExpenses','0.012845039367676','2016-09-01 10:37:14'),(29223,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 12121, `total_amount_cr` = 12121, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000014\'','expenses/fnSaveExpenses','0.016324043273926','2016-09-01 10:37:14'),(29224,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2230','expenses/fnSaveExpenses','0.011940002441406','2016-09-01 10:37:14'),(29225,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11420','expenses/fnSaveExpenses','0.012377023696899','2016-09-01 10:37:14'),(29226,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000014\'','expenses/fnSaveExpenses','0.012152910232544','2016-09-01 10:37:14'),(29227,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010339021682739','2016-09-01 10:37:14'),(29228,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011626005172729','2016-09-01 10:37:14'),(29229,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2229\'','expenses/removePayment','0.078956842422485','2016-09-01 10:37:26'),(29230,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50209\'','expenses/removePayment','0.0086350440979004','2016-09-01 10:37:26'),(29231,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50210\'','expenses/removePayment','0.008188009262085','2016-09-01 10:37:26'),(29232,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11419\'','expenses/removePayment','0.012510776519775','2016-09-01 10:37:26'),(29233,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2229\'','expenses/removePayment','0.00025200843811035','2016-09-01 10:37:37'),(29234,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2230\'','expenses/removePayment','0.092716932296753','2016-09-01 10:37:49'),(29235,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50211\'','expenses/removePayment','0.009303092956543','2016-09-01 10:37:49'),(29236,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50212\'','expenses/removePayment','0.012221097946167','2016-09-01 10:37:49'),(29237,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11420\'','expenses/removePayment','0.012511968612671','2016-09-01 10:37:49'),(29238,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'100\', \'OP-C\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.024425029754639','2016-09-01 10:38:09'),(29239,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2231, \'28\', \'hoii\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012735843658447','2016-09-01 10:38:09'),(29240,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.0077359676361084','2016-09-01 10:38:09'),(29241,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000015\' WHERE `ID` =  2231','expenses/fnSaveExpenses','0.0081758499145508','2016-09-01 10:38:09'),(29242,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000015\', \'Cost of Goods Sold [OP-C[00000082]]\', \'Cost of Goods Sold [OP-C[00000082]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.014368057250977','2016-09-01 10:38:09'),(29243,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000015\', 1, \'hoii\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000082]\', \'User\')','expenses/fnSaveExpenses','0.024707078933716','2016-09-01 10:38:09'),(29244,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000015\', 2, \'hoii\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000082]\', \'User\')','expenses/fnSaveExpenses','0.012500047683716','2016-09-01 10:38:09'),(29245,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000015\'','expenses/fnSaveExpenses','0.020418167114258','2016-09-01 10:38:09'),(29246,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2231','expenses/fnSaveExpenses','0.012612104415894','2016-09-01 10:38:09'),(29247,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11421','expenses/fnSaveExpenses','0.011981964111328','2016-09-01 10:38:09'),(29248,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000015\'','expenses/fnSaveExpenses','0.01255202293396','2016-09-01 10:38:09'),(29249,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011145114898682','2016-09-01 10:38:09'),(29250,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024279117584229','2016-09-01 10:38:09'),(29251,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'200\', \'OP-C\', \'2016-09-01\', \'148\', \'1\')','expenses/fnSaveExpenses','0.094400882720947','2016-09-01 10:38:28'),(29252,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2232, \'28\', \'hoii\', 1, \'33019\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.01195502281189','2016-09-01 10:38:29'),(29253,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.010118007659912','2016-09-01 10:38:29'),(29254,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000016\' WHERE `ID` =  2232','expenses/fnSaveExpenses','0.011883020401001','2016-09-01 10:38:29'),(29255,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000016\', \'Cost of Goods Sold [OP-C[00000083]]\', \'Cost of Goods Sold [OP-C[00000083]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 200, 200, \'28\')','expenses/fnSaveExpenses','0.010617017745972','2016-09-01 10:38:29'),(29256,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000016\', 1, \'hoii\', \'33007\', 200, 1, \'1\', \'200\', \'09\', \'16\', \'1\', \'OP-C[00000083]\', \'User\')','expenses/fnSaveExpenses','0.01176905632019','2016-09-01 10:38:29'),(29257,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000016\', 2, \'hoii\', \'33019\', 200, 1, \'1\', \'200\', \'09\', \'16\', \'1\', \'OP-C[00000083]\', \'User\')','expenses/fnSaveExpenses','0.01274585723877','2016-09-01 10:38:29'),(29258,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000016\'','expenses/fnSaveExpenses','0.01183295249939','2016-09-01 10:38:29'),(29259,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2232','expenses/fnSaveExpenses','0.012877941131592','2016-09-01 10:38:29'),(29260,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11422','expenses/fnSaveExpenses','0.011749029159546','2016-09-01 10:38:29'),(29261,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000016\'','expenses/fnSaveExpenses','0.0081720352172852','2016-09-01 10:38:29'),(29262,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011640071868896','2016-09-01 10:38:29'),(29263,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011632919311523','2016-09-01 10:38:29'),(29264,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2231\'','expenses/removePayment','0.15217995643616','2016-09-01 10:38:39'),(29265,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50213\'','expenses/removePayment','0.034350156784058','2016-09-01 10:38:39'),(29266,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50214\'','expenses/removePayment','0.012665033340454','2016-09-01 10:38:39'),(29267,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11421\'','expenses/removePayment','0.012032032012939','2016-09-01 10:38:39'),(29268,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2232\'','expenses/removePayment','0.11234307289124','2016-09-01 10:38:46'),(29269,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50215\'','expenses/removePayment','0.044372081756592','2016-09-01 10:38:46'),(29270,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50216\'','expenses/removePayment','0.016795873641968','2016-09-01 10:38:46'),(29271,23,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11422\'','expenses/removePayment','0.012003183364868','2016-09-01 10:38:46'),(29272,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.11769390106201','2016-09-01 10:45:04'),(29273,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.08293604850769','2016-09-01 10:45:33'),(29274,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00095796585083008','2016-09-01 10:46:01'),(29275,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.079118013381958','2016-09-01 14:45:03'),(29276,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.24492001533508','2016-09-01 14:51:39'),(29277,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0010311603546143','2016-09-01 14:51:51'),(29278,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0009760856628418','2016-09-01 14:54:50'),(29279,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00091385841369629','2016-09-01 14:55:02'),(29280,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00098609924316406','2016-09-01 14:55:08'),(29281,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00093293190002441','2016-09-01 14:55:13'),(29282,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00095510482788086','2016-09-01 14:55:23'),(29283,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0009610652923584','2016-09-01 14:56:34'),(29284,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00096702575683594','2016-09-01 14:56:43'),(29285,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00097322463989258','2016-09-01 14:56:51'),(29286,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.0010051727294922','2016-09-01 14:57:00'),(29287,13,10,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 13, acctName, id from comp_chart_of_acct where companyid = 13 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 13)','bank/index','0.00096988677978516','2016-09-01 15:03:38'),(29288,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'1\', \'1\', 1, 0, \'68\', \'10000\', \'OP-L\', \'2016-09-01\', \'82\', \'1\')','expenses/fnSaveExpenses','0.037416219711304','2016-09-01 15:07:00'),(29289,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2233, \'1\', \'Item 1\', 1, \'32522\', \'10000\', \'10000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.021364212036133','2016-09-01 15:07:00'),(29290,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'352\'','expenses/fnSaveExpenses','0.030627965927124','2016-09-01 15:07:00'),(29291,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000008\' WHERE `ID` =  2233','expenses/fnSaveExpenses','0.016201972961426','2016-09-01 15:07:00'),(29292,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160900000008\', \'Loan Repayment [OP-L[00000668]]\', \'Loan Repayment [OP-L[00000668]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 10000, 10000, \'1\')','expenses/fnSaveExpenses','0.039631843566895','2016-09-01 15:07:00'),(29293,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000008\', 1, \'Item 1\', \'32515\', 10000, 1, \'1\', \'10000\', \'09\', \'16\', \'1\', \'OP-L[00000668]\', \'User\')','expenses/fnSaveExpenses','0.01282000541687','2016-09-01 15:07:00'),(29294,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000008\', 2, \'Item 1\', \'32522\', 10000, 1, \'1\', \'10000\', \'09\', \'16\', \'1\', \'OP-L[00000668]\', \'User\')','expenses/fnSaveExpenses','0.016425132751465','2016-09-01 15:07:00'),(29295,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000008\'','expenses/fnSaveExpenses','0.011498928070068','2016-09-01 15:07:00'),(29296,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2233','expenses/fnSaveExpenses','0.0084829330444336','2016-09-01 15:07:00'),(29297,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11423','expenses/fnSaveExpenses','0.016337156295776','2016-09-01 15:07:00'),(29298,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000008\'','expenses/fnSaveExpenses','0.1328980922699','2016-09-01 15:07:00'),(29299,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.018851041793823','2016-09-01 15:07:00'),(29300,1,1,'192.168.1.254','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'4\', \'32522\', \'2016\', \'9\', \'10000\', \'0\', 10000, \'User\', \'2016-09-01: 09:09:00\')','expenses/fnSaveExpenses','0.010715007781982','2016-09-01 15:07:00'),(29301,23,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.11070704460144','2016-09-01 16:59:18'),(29302,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.015151023864746','2016-09-01 16:59:24'),(29303,23,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 23, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 23)','setup/assetSetup','0.00093388557434082','2016-09-01 17:00:43'),(29304,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.00096797943115234','2016-09-01 17:00:46'),(29305,23,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'23\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2021570205688','2016-09-01 17:01:33'),(29306,23,28,'192.168.1.201','others','SELECT IFNULL((select debit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oDebit, sum(b.amountdr) as currentyeardebit, IFNULL((select credit from comp_opening_balance where companyID = a.companyID and accountID = a.ID and year =2016), 0) as oCredit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, (select sum(c.amountcr) from `comp_budget` c where `c`.`acctID` = `a`.`ID` and c.year = 2016 and c.year = b.year and c.companyID = 23) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `a`.`ID` = `b`.`acctID` and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) <= 201612 and CONCAT(b.year,if(b.period<=9, CONCAT(\"0\",b.period),b.period)) >= 201601 and b.companyID = 23\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nWHERE `a`.`companyID` =  \'23\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','1.2538630962372','2016-09-01 17:04:59'),(29307,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'123\', \'OP-C\', \'2016-09-02\', \'123\', \'1\')','expenses/fnSaveExpenses','0.037961006164551','2016-09-02 10:15:48'),(29308,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2234, \'10\', \'fadhihi\', 1, \'32773\', \'123\', \'123\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016775131225586','2016-09-02 10:15:48'),(29309,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.019052028656006','2016-09-02 10:15:48'),(29310,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000003\' WHERE `ID` =  2234','expenses/fnSaveExpenses','0.016806125640869','2016-09-02 10:15:48'),(29311,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000003\', \'Cost of Goods Sold [OP-C[00000085]]\', \'Cost of Goods Sold [OP-C[00000085]]\', \'\', \'3\', \'2016-09-02\', \'16\', \'09\', 123, 123, \'10\')','expenses/fnSaveExpenses','0.014020919799805','2016-09-02 10:15:48'),(29312,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000003\', 1, \'fadhihi\', \'32762\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000085]\', \'User\')','expenses/fnSaveExpenses','0.016696929931641','2016-09-02 10:15:48'),(29313,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000003\', 2, \'fadhihi\', \'32773\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000085]\', \'User\')','expenses/fnSaveExpenses','0.016128063201904','2016-09-02 10:15:48'),(29314,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.016785860061646','2016-09-02 10:15:48'),(29315,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2234','expenses/fnSaveExpenses','0.016255855560303','2016-09-02 10:15:48'),(29316,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11427','expenses/fnSaveExpenses','0.016661882400513','2016-09-02 10:15:48'),(29317,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.016206979751587','2016-09-02 10:15:48'),(29318,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032518148422241','2016-09-02 10:15:48'),(29319,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023948907852173','2016-09-02 10:15:48'),(29320,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000010\'','sales/save_update_sale','0.11038088798523','2016-09-02 10:23:11'),(29321,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000010\'','sales/save_update_sale','0.032866954803467','2016-09-02 10:23:11'),(29322,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-02\', `bankID` = \'122\', `totalReceived` = \'321237.00\', `updateAble` = 1 WHERE `ID` =  \'2268\'','sales/save_update_sale','0.016739130020142','2016-09-02 10:23:11'),(29323,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2268\'','sales/save_update_sale','0.016242980957031','2016-09-02 10:23:12'),(29324,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2268\', \'hihi\', \'321237.00\', \'32772\', 1)','sales/save_update_sale','0.016902923583984','2016-09-02 10:23:12'),(29325,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2268\'','sales/save_update_sale','0.0001988410949707','2016-09-02 10:23:12'),(29326,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'350\'','sales/save_update_sale','0.017074108123779','2016-09-02 10:23:12'),(29327,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000011\' WHERE `ID` =  \'2268\'','sales/save_update_sale','0.01679801940918','2016-09-02 10:23:12'),(29328,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000011\', \'OR[00000044]\', \'Sales [ OR[00000044] ]\', \'\', \'2\', \'2016-09-02\', \'2016\', \'09\', \'321237\', \'321237\', \'10\')','sales/save_update_sale','0.014073848724365','2016-09-02 10:23:12'),(29329,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000011\', 1, \'hihi\', \'32772\', \'\', 321237, \'1\', \'1\', \'321237\', \'09\', \'2016\', \'1\', \'OR[00000044]\', \'0\', \'User\')','sales/save_update_sale','0.016669988632202','2016-09-02 10:23:12'),(29330,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000011\', \'hihi\', \'32761\', \'\', 321237, \'1\', \'1\', \'321237\', \'09\', \'2016\', \'OR[00000044]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016109943389893','2016-09-02 10:23:12'),(29331,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 321237, `total_amount_cr` = 321237, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000011\'','sales/save_update_sale','0.025129079818726','2016-09-02 10:23:12'),(29332,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2268\'','sales/save_update_sale','0.016242980957031','2016-09-02 10:23:12'),(29333,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11428','sales/save_update_sale','0.016858100891113','2016-09-02 10:23:12'),(29334,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000011\'','sales/save_update_sale','0.016204118728638','2016-09-02 10:23:12'),(29335,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.024170875549316','2016-09-02 10:23:12'),(29336,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015667915344238','2016-09-02 10:23:12'),(29337,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-02\', \'122\', \'OR\', \'433.00\', \'13\')','sales/save_new_sale','0.092829942703247','2016-09-02 10:28:06'),(29338,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2269, \'huhuhihu\', \'433.00\', 0, 1)','sales/save_new_sale','0.02514910697937','2016-09-02 10:28:06'),(29339,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2269','sales/save_new_sale','0.00022101402282715','2016-09-02 10:28:06'),(29340,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'350\'','sales/save_new_sale','0.025361061096191','2016-09-02 10:28:06'),(29341,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000012\' WHERE `ID` =  2269','sales/save_new_sale','0.025110006332397','2016-09-02 10:28:06'),(29342,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000012\', \'OR[00000045]\', \'Sales [ OR[00000045] ]\', \'\', \'2\', \'2016-09-02\', \'2016\', \'09\', \'433\', \'433\', \'10\')','sales/save_new_sale','0.0138099193573','2016-09-02 10:28:07'),(29343,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000012\', 1, \'huhuhihu\', \'0\', \'\', 433, \'1\', \'1\', \'433\', \'09\', \'2016\', \'1\', \'OR[00000045]\', \'0\', \'User\')','sales/save_new_sale','0.024986028671265','2016-09-02 10:28:07'),(29344,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000012\', \'huhuhihu\', \'32761\', \'\', 433, \'1\', \'1\', \'433\', \'09\', \'2016\', \'OR[00000045]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01608681678772','2016-09-02 10:28:07'),(29345,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 433, `total_amount_cr` = 433, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000012\'','sales/save_new_sale','0.016790866851807','2016-09-02 10:28:07'),(29346,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2269','sales/save_new_sale','0.024564981460571','2016-09-02 10:28:07'),(29347,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11429','sales/save_new_sale','0.016803026199341','2016-09-02 10:28:07'),(29348,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000012\'','sales/save_new_sale','0.016201972961426','2016-09-02 10:28:07'),(29349,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015630006790161','2016-09-02 10:28:07'),(29350,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023916006088257','2016-09-02 10:28:07'),(29351,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-02\', \'122\', \'OR\', \'12345.00\', \'13\')','sales/save_new_sale','0.022403001785278','2016-09-02 10:31:01'),(29352,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2270, \'kikiki\', \'12345.00\', 0, 1)','sales/save_new_sale','0.016242980957031','2016-09-02 10:31:01'),(29353,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2270','sales/save_new_sale','0.00019693374633789','2016-09-02 10:31:01'),(29354,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017946004867554','2016-09-02 10:31:01'),(29355,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000013\' WHERE `ID` =  2270','sales/save_new_sale','0.016204118728638','2016-09-02 10:31:01'),(29356,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000013\', \'OR[00000046]\', \'Sales [ OR[00000046] ]\', \'\', \'2\', \'2016-09-02\', \'2016\', \'09\', \'12345\', \'12345\', \'10\')','sales/save_new_sale','0.023021936416626','2016-09-02 10:31:01'),(29357,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000013\', 1, \'kikiki\', \'0\', \'\', 12345, \'1\', \'1\', \'12345\', \'09\', \'2016\', \'1\', \'OR[00000046]\', \'0\', \'User\')','sales/save_new_sale','0.016087055206299','2016-09-02 10:31:01'),(29358,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000013\', \'kikiki\', \'32761\', \'\', 12345, \'1\', \'1\', \'12345\', \'09\', \'2016\', \'OR[00000046]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016704797744751','2016-09-02 10:31:01'),(29359,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 12345, `total_amount_cr` = 12345, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000013\'','sales/save_new_sale','0.01622200012207','2016-09-02 10:31:01'),(29360,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2270','sales/save_new_sale','0.016810894012451','2016-09-02 10:31:01'),(29361,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11430','sales/save_new_sale','0.016243934631348','2016-09-02 10:31:01'),(29362,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000013\'','sales/save_new_sale','0.016816854476929','2016-09-02 10:31:01'),(29363,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015290021896362','2016-09-02 10:31:01'),(29364,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016279935836792','2016-09-02 10:31:01'),(29365,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'188\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.12857103347778','2016-09-02 11:02:45'),(29366,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2235, \'32762\', \'188\', \'fad\')','transfer/newTransfer','0.041226148605347','2016-09-02 11:02:45'),(29367,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'349\'','transfer/newTransfer','0.015794992446899','2016-09-02 11:02:45'),(29368,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000004\' WHERE `ID` =  2235','transfer/newTransfer','0.017343997955322','2016-09-02 11:02:45'),(29369,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000004\', \' [TT[00000086]]]\', \'Bank Transfer [  [TT[00000086]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 188, 188, \'User\')','transfer/newTransfer','0.014611959457397','2016-09-02 11:02:45'),(29370,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000004\', 1, \'fad\', \'32761\', 188, 1, \'1\', \'188\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/newTransfer','0.016104936599731','2016-09-02 11:02:45'),(29371,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000004\', 2, \'fad\', \'32762\', 188, 1, \'1\', \'188\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/newTransfer','0.016716957092285','2016-09-02 11:02:45'),(29372,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 188, `total_amount_cr` = 188, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000004\'','transfer/newTransfer','0.016201972961426','2016-09-02 11:02:45'),(29373,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2235','transfer/newTransfer','0.01683497428894','2016-09-02 11:02:45'),(29374,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11431','transfer/newTransfer','0.032909870147705','2016-09-02 11:02:45'),(29375,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000004\'','transfer/newTransfer','0.016794919967651','2016-09-02 11:02:45'),(29376,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.022197008132935','2016-09-02 11:02:45'),(29377,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.01625919342041','2016-09-02 11:02:45'),(29378,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-02\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'1887\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2235\'','transfer/saveTransfer','0.055183887481689','2016-09-02 11:03:14'),(29379,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'1887\', `itemdescription` = \'fad\' WHERE `ID` =  \'2273\'','transfer/saveTransfer','0.025175094604492','2016-09-02 11:03:14'),(29380,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160900000004\'','transfer/saveTransfer','0.01620888710022','2016-09-02 11:03:14'),(29381,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160900000004\'','transfer/saveTransfer','0.025179862976074','2016-09-02 11:03:14'),(29382,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'349\'','transfer/saveTransfer','0.014190912246704','2016-09-02 11:03:14'),(29383,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000005\' WHERE `ID` =  \'2235\'','transfer/saveTransfer','0.016811847686768','2016-09-02 11:03:14'),(29384,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000005\', \' [TT[00000086]]]\', \'Bank Transfer [  [TT[00000086]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 1887, 1887, \'User\')','transfer/saveTransfer','0.014020204544067','2016-09-02 11:03:14'),(29385,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000005\', 1, \'fad\', \'32761\', 1887, 1, \'1\', \'1887\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/saveTransfer','0.016690015792847','2016-09-02 11:03:14'),(29386,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000005\', 2, \'fad\', \'32762\', 1887, 1, \'1\', \'1887\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/saveTransfer','0.016150951385498','2016-09-02 11:03:14'),(29387,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1887, `total_amount_cr` = 1887, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000005\'','transfer/saveTransfer','0.016788959503174','2016-09-02 11:03:14'),(29388,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2235\'','transfer/saveTransfer','0.016258001327515','2016-09-02 11:03:14'),(29389,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11432','transfer/saveTransfer','0.016841173171997','2016-09-02 11:03:14'),(29390,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000005\'','transfer/saveTransfer','0.02454400062561','2016-09-02 11:03:14'),(29391,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015882968902588','2016-09-02 11:03:14'),(29392,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015682935714722','2016-09-02 11:03:14'),(29393,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-02\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'1887342\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2235\'','transfer/saveTransfer','0.10645604133606','2016-09-02 11:03:45'),(29394,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'1887342\', `itemdescription` = \'fad\' WHERE `ID` =  \'2273\'','transfer/saveTransfer','0.016829967498779','2016-09-02 11:03:45'),(29395,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160900000005\'','transfer/saveTransfer','0.016194105148315','2016-09-02 11:03:45'),(29396,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160900000005\'','transfer/saveTransfer','0.016847848892212','2016-09-02 11:03:45'),(29397,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'349\'','transfer/saveTransfer','0.013007164001465','2016-09-02 11:03:45'),(29398,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000006\' WHERE `ID` =  \'2235\'','transfer/saveTransfer','0.016792058944702','2016-09-02 11:03:45'),(29399,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000006\', \' [TT[00000086]]]\', \'Bank Transfer [  [TT[00000086]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 1887342, 1887342, \'User\')','transfer/saveTransfer','0.014007091522217','2016-09-02 11:03:45'),(29400,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000006\', 1, \'fad\', \'32761\', 1887342, 1, \'1\', \'1887342\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/saveTransfer','0.01667594909668','2016-09-02 11:03:45'),(29401,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000006\', 2, \'fad\', \'32762\', 1887342, 1, \'1\', \'1887342\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/saveTransfer','0.016110897064209','2016-09-02 11:03:45'),(29402,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1887342, `total_amount_cr` = 1887342, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000006\'','transfer/saveTransfer','0.016784906387329','2016-09-02 11:03:45'),(29403,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2235\'','transfer/saveTransfer','0.016252040863037','2016-09-02 11:03:45'),(29404,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11433','transfer/saveTransfer','0.016824960708618','2016-09-02 11:03:45'),(29405,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000006\'','transfer/saveTransfer','0.01619291305542','2016-09-02 11:03:45'),(29406,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015769004821777','2016-09-02 11:03:45'),(29407,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015657901763916','2016-09-02 11:03:45'),(29408,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'123\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.11948895454407','2016-09-02 11:08:05'),(29409,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2236, \'32762\', \'123\', \'fad\')','transfer/newTransfer','0.016813039779663','2016-09-02 11:08:05'),(29410,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'349\'','transfer/newTransfer','0.022074937820435','2016-09-02 11:08:05'),(29411,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000007\' WHERE `ID` =  2236','transfer/newTransfer','0.025139093399048','2016-09-02 11:08:05'),(29412,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000007\', \' [TT[00000086]]]\', \'Bank Transfer [  [TT[00000086]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 123, 123, \'User\')','transfer/newTransfer','0.022371053695679','2016-09-02 11:08:05'),(29413,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000007\', 1, \'fad\', \'32761\', 123, 1, \'1\', \'123\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/newTransfer','0.041697978973389','2016-09-02 11:08:05'),(29414,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000007\', 2, \'fad\', \'32762\', 123, 1, \'1\', \'123\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/newTransfer','0.041105985641479','2016-09-02 11:08:05'),(29415,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000007\'','transfer/newTransfer','0.016797065734863','2016-09-02 11:08:05'),(29416,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2236','transfer/newTransfer','0.01624608039856','2016-09-02 11:08:05'),(29417,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11434','transfer/newTransfer','0.016832113265991','2016-09-02 11:08:05'),(29418,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000007\'','transfer/newTransfer','0.036639213562012','2016-09-02 11:08:05'),(29419,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.022539854049683','2016-09-02 11:08:05'),(29420,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015650033950806','2016-09-02 11:08:05'),(29421,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'1234\', \'TT\', \'122\', \'13\', 3)','transfer/newTransfer','0.20248508453369','2016-09-02 11:14:33'),(29422,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2237, \'32761\', \'1234\', \'fad\')','transfer/newTransfer','0.01623010635376','2016-09-02 11:14:33'),(29423,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'349\'','transfer/newTransfer','0.031439065933228','2016-09-02 11:14:33'),(29424,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000008\' WHERE `ID` =  2237','transfer/newTransfer','0.01622200012207','2016-09-02 11:14:33'),(29425,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000008\', \' [TT[00000086]]]\', \'Bank Transfer [  [TT[00000086]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 1234, 1234, \'User\')','transfer/newTransfer','0.014588117599487','2016-09-02 11:14:33'),(29426,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000008\', 1, \'fad\', \'32761\', 1234, 1, \'1\', \'1234\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/newTransfer','0.01610803604126','2016-09-02 11:14:33'),(29427,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000008\', 2, \'fad\', \'32761\', 1234, 1, \'1\', \'1234\', \'09\', \'2016\', \'0\', \'TT[00000086]\', \'User\')','transfer/newTransfer','0.025038003921509','2016-09-02 11:14:33'),(29428,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1234, `total_amount_cr` = 1234, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000008\'','transfer/newTransfer','0.024523019790649','2016-09-02 11:14:33'),(29429,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2237','transfer/newTransfer','0.025160074234009','2016-09-02 11:14:33'),(29430,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11435','transfer/newTransfer','0.016227960586548','2016-09-02 11:14:33'),(29431,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000008\'','transfer/newTransfer','0.016793966293335','2016-09-02 11:14:33'),(29432,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.022229909896851','2016-09-02 11:14:33'),(29433,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.016205072402954','2016-09-02 11:14:33'),(29434,23,28,'192.168.1.254','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'23\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','2.0659790039062','2016-09-02 11:14:45'),(29435,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'3424\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.13338613510132','2016-09-02 11:16:32'),(29436,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2238, \'32762\', \'3424\', \'sdsasa\')','transfer/newTransfer','0.024559020996094','2016-09-02 11:16:32'),(29437,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'349\'','transfer/newTransfer','0.047705888748169','2016-09-02 11:16:32'),(29438,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000009\' WHERE `ID` =  2238','transfer/newTransfer','0.016798973083496','2016-09-02 11:16:32'),(29439,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000009\', \' [TT[00000087]]]\', \'Bank Transfer [  [TT[00000087]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 3424, 3424, \'User\')','transfer/newTransfer','0.030915021896362','2016-09-02 11:16:32'),(29440,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000009\', 1, \'sdsasa\', \'32761\', 3424, 1, \'1\', \'3424\', \'09\', \'2016\', \'0\', \'TT[00000087]\', \'User\')','transfer/newTransfer','0.032984972000122','2016-09-02 11:16:32'),(29441,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000009\', 2, \'sdsasa\', \'32762\', 3424, 1, \'1\', \'3424\', \'09\', \'2016\', \'0\', \'TT[00000087]\', \'User\')','transfer/newTransfer','0.016116857528687','2016-09-02 11:16:32'),(29442,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 3424, `total_amount_cr` = 3424, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000009\'','transfer/newTransfer','0.016749143600464','2016-09-02 11:16:32'),(29443,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2238','transfer/newTransfer','0.01625394821167','2016-09-02 11:16:32'),(29444,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11436','transfer/newTransfer','0.033038854598999','2016-09-02 11:16:32'),(29445,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000009\'','transfer/newTransfer','0.016792058944702','2016-09-02 11:16:32'),(29446,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.022000074386597','2016-09-02 11:16:32'),(29447,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.016196012496948','2016-09-02 11:16:32'),(29448,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'213\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.10807418823242','2016-09-02 11:17:58'),(29449,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2239, \'32762\', \'213\', \'fadsfasfasf\')','transfer/newTransfer','0.016813993453979','2016-09-02 11:17:58'),(29450,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'349\'','transfer/newTransfer','0.021981000900269','2016-09-02 11:17:58'),(29451,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000010\' WHERE `ID` =  2239','transfer/newTransfer','0.025119066238403','2016-09-02 11:17:58'),(29452,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000010\', \' [TT[00000088]]]\', \'Bank Transfer [  [TT[00000088]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 213, 213, \'User\')','transfer/newTransfer','0.013888835906982','2016-09-02 11:17:58'),(29453,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000010\', 1, \'fadsfasfasf\', \'32761\', 213, 1, \'1\', \'213\', \'09\', \'2016\', \'0\', \'TT[00000088]\', \'User\')','transfer/newTransfer','0.016664028167725','2016-09-02 11:17:58'),(29454,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000010\', 2, \'fadsfasfasf\', \'32762\', 213, 1, \'1\', \'213\', \'09\', \'2016\', \'0\', \'TT[00000088]\', \'User\')','transfer/newTransfer','0.016108989715576','2016-09-02 11:17:58'),(29455,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 213, `total_amount_cr` = 213, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000010\'','transfer/newTransfer','0.016772031784058','2016-09-02 11:17:58'),(29456,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2239','transfer/newTransfer','0.03290581703186','2016-09-02 11:17:58'),(29457,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11437','transfer/newTransfer','0.01680588722229','2016-09-02 11:17:58'),(29458,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000010\'','transfer/newTransfer','0.016188859939575','2016-09-02 11:17:58'),(29459,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015651941299438','2016-09-02 11:17:58'),(29460,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015578031539917','2016-09-02 11:17:58'),(29461,23,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 23, acctName, id from comp_chart_of_acct where companyid = 23 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 23)','bank/index','0.001086950302124','2016-09-02 11:20:00'),(29462,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'41242\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.021322965621948','2016-09-02 11:22:13'),(29463,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2240, \'32762\', \'41242\', \'faddd\')','transfer/newTransfer','0.016817092895508','2016-09-02 11:22:13'),(29464,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'349\'','transfer/newTransfer','0.015531063079834','2016-09-02 11:22:13'),(29465,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000011\' WHERE `ID` =  2240','transfer/newTransfer','0.01620888710022','2016-09-02 11:22:13'),(29466,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000011\', \' [TT[00000088]]]\', \'Bank Transfer [  [TT[00000088]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 41242, 41242, \'User\')','transfer/newTransfer','0.014562845230103','2016-09-02 11:22:13'),(29467,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000011\', 1, \'faddd\', \'32761\', 41242, 1, \'1\', \'41242\', \'09\', \'2016\', \'0\', \'TT[00000088]\', \'User\')','transfer/newTransfer','0.016085147857666','2016-09-02 11:22:13'),(29468,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000011\', 2, \'faddd\', \'32762\', 41242, 1, \'1\', \'41242\', \'09\', \'2016\', \'0\', \'TT[00000088]\', \'User\')','transfer/newTransfer','0.016710996627808','2016-09-02 11:22:13'),(29469,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 41242, `total_amount_cr` = 41242, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000011\'','transfer/newTransfer','0.016207933425903','2016-09-02 11:22:13'),(29470,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2240','transfer/newTransfer','0.025130033493042','2016-09-02 11:22:13'),(29471,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11438','transfer/newTransfer','0.016264915466309','2016-09-02 11:22:13'),(29472,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000011\'','transfer/newTransfer','0.025115966796875','2016-09-02 11:22:13'),(29473,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015136003494263','2016-09-02 11:22:13'),(29474,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.016235113143921','2016-09-02 11:22:13'),(29475,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'232\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.080713987350464','2016-09-02 11:30:48'),(29476,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2241, \'32762\', \'232\', \'fadddfss\')','transfer/newTransfer','0.016709089279175','2016-09-02 11:30:48'),(29477,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'349\'','transfer/newTransfer','0.022554159164429','2016-09-02 11:30:48'),(29478,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000012\' WHERE `ID` =  2241','transfer/newTransfer','0.016195058822632','2016-09-02 11:30:48'),(29479,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000012\', \' [TT[00000089]]]\', \'Bank Transfer [  [TT[00000089]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 232, 232, \'User\')','transfer/newTransfer','0.022850036621094','2016-09-02 11:30:48'),(29480,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000012\', 1, \'fadddfss\', \'32761\', 232, 1, \'1\', \'232\', \'09\', \'2016\', \'0\', \'TT[00000089]\', \'User\')','transfer/newTransfer','0.016066074371338','2016-09-02 11:30:48'),(29481,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000012\', 2, \'fadddfss\', \'32762\', 232, 1, \'1\', \'232\', \'09\', \'2016\', \'0\', \'TT[00000089]\', \'User\')','transfer/newTransfer','0.016702890396118','2016-09-02 11:30:48'),(29482,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 232, `total_amount_cr` = 232, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000012\'','transfer/newTransfer','0.016196012496948','2016-09-02 11:30:48'),(29483,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2241','transfer/newTransfer','0.01681113243103','2016-09-02 11:30:48'),(29484,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11439','transfer/newTransfer','0.016240119934082','2016-09-02 11:30:48'),(29485,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000012\'','transfer/newTransfer','0.016770124435425','2016-09-02 11:30:48'),(29486,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015083074569702','2016-09-02 11:30:48'),(29487,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.016112804412842','2016-09-02 11:30:48'),(29488,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'123\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.096901893615723','2016-09-02 11:32:15'),(29489,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2242, \'32762\', \'123\', \'fad\')','transfer/newTransfer','0.016211032867432','2016-09-02 11:32:15'),(29490,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'349\'','transfer/newTransfer','0.022724866867065','2016-09-02 11:32:15'),(29491,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000013\' WHERE `ID` =  2242','transfer/newTransfer','0.016203880310059','2016-09-02 11:32:15'),(29492,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000013\', \' [TT[00000088]]]\', \'Bank Transfer [  [TT[00000088]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 123, 123, \'User\')','transfer/newTransfer','0.014593839645386','2016-09-02 11:32:15'),(29493,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000013\', 1, \'fad\', \'32761\', 123, 1, \'1\', \'123\', \'09\', \'2016\', \'0\', \'TT[00000088]\', \'User\')','transfer/newTransfer','0.016113996505737','2016-09-02 11:32:15'),(29494,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000013\', 2, \'fad\', \'32762\', 123, 1, \'1\', \'123\', \'09\', \'2016\', \'0\', \'TT[00000088]\', \'User\')','transfer/newTransfer','0.016687870025635','2016-09-02 11:32:15'),(29495,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000013\'','transfer/newTransfer','0.016215085983276','2016-09-02 11:32:15'),(29496,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2242','transfer/newTransfer','0.025162935256958','2016-09-02 11:32:15'),(29497,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11440','transfer/newTransfer','0.016228914260864','2016-09-02 11:32:15'),(29498,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000013\'','transfer/newTransfer','0.025134086608887','2016-09-02 11:32:15'),(29499,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015222072601318','2016-09-02 11:32:15'),(29500,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.016225099563599','2016-09-02 11:32:15'),(29501,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'4444\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.13007593154907','2016-09-02 11:51:32'),(29502,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2243, \'32762\', \'4444\', \'fad\')','transfer/newTransfer','0.016263008117676','2016-09-02 11:51:32'),(29503,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'349\'','transfer/newTransfer','0.022641897201538','2016-09-02 11:51:32'),(29504,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000014\' WHERE `ID` =  2243','transfer/newTransfer','0.016219139099121','2016-09-02 11:51:32'),(29505,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000014\', \' [TT[00000087]]]\', \'Bank Transfer [  [TT[00000087]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 4444, 4444, \'User\')','transfer/newTransfer','0.01450514793396','2016-09-02 11:51:32'),(29506,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000014\', 1, \'fad\', \'32761\', 4444, 1, \'1\', \'4444\', \'09\', \'2016\', \'0\', \'TT[00000087]\', \'User\')','transfer/newTransfer','0.024409055709839','2016-09-02 11:51:32'),(29507,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000014\', 2, \'fad\', \'32762\', 4444, 1, \'1\', \'4444\', \'09\', \'2016\', \'0\', \'TT[00000087]\', \'User\')','transfer/newTransfer','0.016701936721802','2016-09-02 11:51:32'),(29508,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 4444, `total_amount_cr` = 4444, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000014\'','transfer/newTransfer','0.016190052032471','2016-09-02 11:51:33'),(29509,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2243','transfer/newTransfer','0.016827821731567','2016-09-02 11:51:33'),(29510,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11441','transfer/newTransfer','0.016227006912231','2016-09-02 11:51:33'),(29511,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000014\'','transfer/newTransfer','0.12889003753662','2016-09-02 11:51:33'),(29512,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.030791997909546','2016-09-02 11:51:33'),(29513,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.024235963821411','2016-09-02 11:51:33'),(29514,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'421\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.12658190727234','2016-09-02 11:54:53'),(29515,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2244, \'32762\', \'421\', \'gggg\')','transfer/newTransfer','0.016309022903442','2016-09-02 11:54:53'),(29516,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'349\'','transfer/newTransfer','0.013665914535522','2016-09-02 11:54:53'),(29517,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000015\' WHERE `ID` =  2244','transfer/newTransfer','0.057919979095459','2016-09-02 11:54:53'),(29518,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000015\', \' [TT[00000088]]]\', \'Bank Transfer [  [TT[00000088]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 421, 421, \'User\')','transfer/newTransfer','0.031324863433838','2016-09-02 11:54:53'),(29519,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000015\', 1, \'gggg\', \'32761\', 421, 1, \'1\', \'421\', \'09\', \'2016\', \'0\', \'TT[00000088]\', \'User\')','transfer/newTransfer','0.024373054504395','2016-09-02 11:54:53'),(29520,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000015\', 2, \'gggg\', \'32762\', 421, 1, \'1\', \'421\', \'09\', \'2016\', \'0\', \'TT[00000088]\', \'User\')','transfer/newTransfer','0.016717195510864','2016-09-02 11:54:53'),(29521,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 421, `total_amount_cr` = 421, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000015\'','transfer/newTransfer','0.016218900680542','2016-09-02 11:54:53'),(29522,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2244','transfer/newTransfer','0.016844987869263','2016-09-02 11:54:53'),(29523,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11442','transfer/newTransfer','0.024579048156738','2016-09-02 11:54:53'),(29524,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000015\'','transfer/newTransfer','0.016818046569824','2016-09-02 11:54:53'),(29525,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015314817428589','2016-09-02 11:54:53'),(29526,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.016291856765747','2016-09-02 11:54:53'),(29527,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'123\', \'2312\', \'LR\', \'Bank Rakyat	\', \'13\', 3)','loanReceive/save_new_loan','0.2058801651001','2016-09-02 11:58:58'),(29528,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2272, 1, \'32767\', \'2312\', \'fad\')','loanReceive/save_new_loan','0.029328107833862','2016-09-02 11:58:58'),(29529,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'350\'','loanReceive/save_new_loan','0.017514944076538','2016-09-02 11:58:58'),(29530,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000014\' WHERE `ID` =  2272','loanReceive/save_new_loan','0.016706943511963','2016-09-02 11:58:58'),(29531,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000014\', \'LR[00000042]\', \'Loan Received [ LR[00000042] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 2312, 2312, \'User\')','loanReceive/save_new_loan','0.01416802406311','2016-09-02 11:58:58'),(29532,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000014\', 1, \'fad\', \'32767\', \'Bank Rakyat	\', 2312, \'1\', \'1\', \'2312\', \'09\', \'2016\', \'1\', \'LR[00000042]\', \'0\', \'User\')','loanReceive/save_new_loan','0.016581773757935','2016-09-02 11:58:58'),(29533,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000014\', \'fad\', \'32762\', \'Bank Rakyat	\', 2312, \'1\', \'1\', \'2312\', \'09\', \'2016\', \'LR[00000042]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.016185998916626','2016-09-02 11:58:58'),(29534,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2312, `total_amount_cr` = 2312, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000014\'','loanReceive/save_new_loan','0.01671314239502','2016-09-02 11:58:58'),(29535,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2272','loanReceive/save_new_loan','0.016340017318726','2016-09-02 11:58:58'),(29536,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11443','loanReceive/save_new_loan','0.016753196716309','2016-09-02 11:58:58'),(29537,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000014\'','loanReceive/save_new_loan','0.032994031906128','2016-09-02 11:58:58'),(29538,13,10,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'4\', \'32767\', \'2016\', \'9\', \'0\', \'2312\', -2312, \'User\', \'2016-09-02: 05:09:58\')','loanReceive/save_new_loan','0.015599012374878','2016-09-02 11:58:58'),(29539,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','loanReceive/save_new_loan','0.0157790184021','2016-09-02 11:58:58'),(29540,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-02\', \'122\', \'6666\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.10268115997314','2016-09-02 12:02:35'),(29541,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2245, \'32762\', \'6666\', \'ghdfhs\')','transfer/newTransfer','0.13280916213989','2016-09-02 12:02:35'),(29542,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'349\'','transfer/newTransfer','0.012825012207031','2016-09-02 12:02:35'),(29543,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000016\' WHERE `ID` =  2245','transfer/newTransfer','0.032951831817627','2016-09-02 12:02:35'),(29544,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000016\', \' [TT[00000089]]]\', \'Bank Transfer [  [TT[00000089]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 6666, 6666, \'User\')','transfer/newTransfer','0.022754907608032','2016-09-02 12:02:35'),(29545,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000016\', 1, \'ghdfhs\', \'32761\', 6666, 1, \'1\', \'6666\', \'09\', \'2016\', \'0\', \'TT[00000089]\', \'User\')','transfer/newTransfer','0.024441957473755','2016-09-02 12:02:35'),(29546,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000016\', 2, \'ghdfhs\', \'32762\', 6666, 1, \'1\', \'6666\', \'09\', \'2016\', \'0\', \'TT[00000089]\', \'User\')','transfer/newTransfer','0.016615152359009','2016-09-02 12:02:35'),(29547,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 6666, `total_amount_cr` = 6666, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000016\'','transfer/newTransfer','0.041271209716797','2016-09-02 12:02:35'),(29548,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2245','transfer/newTransfer','0.025036096572876','2016-09-02 12:02:35'),(29549,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11444','transfer/newTransfer','0.016311883926392','2016-09-02 12:02:35'),(29550,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000016\'','transfer/newTransfer','0.024802923202515','2016-09-02 12:02:35'),(29551,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015431880950928','2016-09-02 12:02:35'),(29552,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015787839889526','2016-09-02 12:02:35'),(29553,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-02\', `bankID` = \'122\', `payTo` = \'123\', `amountPaid` = \'66667\', `companyID` = \'13\', `updateAble` = 1 WHERE `ID` =  \'2245\'','transfer/saveTransfer','0.029170036315918','2016-09-02 12:03:11'),(29554,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32762\', `amountExcludedTax` = \'66667\', `itemdescription` = \'ghdfhs\' WHERE `ID` =  \'2283\'','transfer/saveTransfer','0.016557931900024','2016-09-02 12:03:11'),(29555,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160900000016\'','transfer/saveTransfer','0.033156871795654','2016-09-02 12:03:11'),(29556,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AP20160900000016\'','transfer/saveTransfer','0.033200025558472','2016-09-02 12:03:11'),(29557,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'349\'','transfer/saveTransfer','0.022436857223511','2016-09-02 12:03:11'),(29558,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000017\' WHERE `ID` =  \'2245\'','transfer/saveTransfer','0.033336877822876','2016-09-02 12:03:11'),(29559,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000017\', \' [TT[00000089]]]\', \'Bank Transfer [  [TT[00000089]]] ]\', \'\', \'3\', \'2016-09-02\', \'2016\', \'09\', 66667, 66667, \'User\')','transfer/saveTransfer','0.014172077178955','2016-09-02 12:03:11'),(29560,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000017\', 1, \'ghdfhs\', \'32761\', 66667, 1, \'1\', \'66667\', \'09\', \'2016\', \'0\', \'TT[00000089]\', \'User\')','transfer/saveTransfer','0.01653003692627','2016-09-02 12:03:11'),(29561,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000017\', 2, \'ghdfhs\', \'32762\', 66667, 1, \'1\', \'66667\', \'09\', \'2016\', \'0\', \'TT[00000089]\', \'User\')','transfer/saveTransfer','0.016278982162476','2016-09-02 12:03:11'),(29562,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 66667, `total_amount_cr` = 66667, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000017\'','transfer/saveTransfer','0.024975061416626','2016-09-02 12:03:11'),(29563,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2245\'','transfer/saveTransfer','0.016378879547119','2016-09-02 12:03:11'),(29564,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11445','transfer/saveTransfer','0.016716003417969','2016-09-02 12:03:11'),(29565,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000017\'','transfer/saveTransfer','0.016337871551514','2016-09-02 12:03:11'),(29566,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015702962875366','2016-09-02 12:03:11'),(29567,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015817880630493','2016-09-02 12:03:11'),(29568,13,10,'192.168.1.254','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.872200012207','2016-09-02 15:42:27'),(29569,1,1,'183.171.171.213','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-04\', \'82\', \'OR\', \'570.00\', \'1\')','sales/save_new_sale','0.13775992393494','2016-09-04 17:21:45'),(29570,1,1,'183.171.171.213','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2273, \'RAY BAN WAYFARER\', \'570.00\', 0, 1)','sales/save_new_sale','0.016812086105347','2016-09-04 17:21:45'),(29571,1,1,'183.171.171.213','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2273','sales/save_new_sale','0.00021195411682129','2016-09-04 17:21:45'),(29572,1,1,'183.171.171.213','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'1\', \'2\', \'2016\', \'09\', \'AR\', 1)','sales/save_new_sale','0.060302972793579','2016-09-04 17:21:45'),(29573,1,1,'183.171.171.213','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000001\' WHERE `ID` =  2273','sales/save_new_sale','0.033171892166138','2016-09-04 17:21:45'),(29574,1,1,'183.171.171.213','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AR20160900000001\', \'OR[00000060]\', \'Jualan [ OR[00000060] ]\', \'\', \'2\', \'2016-09-04\', \'2016\', \'09\', \'570\', \'570\', \'1\')','sales/save_new_sale','0.039275884628296','2016-09-04 17:21:45'),(29575,1,1,'183.171.171.213','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'1\', \'AR20160900000001\', 1, \'RAY BAN WAYFARER\', \'0\', \'\', 570, \'1\', \'1\', \'570\', \'09\', \'2016\', \'1\', \'OR[00000060]\', \'0\', \'User\')','sales/save_new_sale','0.049695014953613','2016-09-04 17:21:45'),(29576,1,1,'183.171.171.213','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'1\', 2, \'AR20160900000001\', \'RAY BAN WAYFARER\', \'32515\', \'\', 570, \'1\', \'1\', \'570\', \'09\', \'2016\', \'OR[00000060]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016356945037842','2016-09-04 17:21:45'),(29577,1,1,'183.171.171.213','update','UPDATE `comp_journal` SET `total_amount_dr` = 570, `total_amount_cr` = 570, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000001\'','sales/save_new_sale','0.033147811889648','2016-09-04 17:21:45'),(29578,1,1,'183.171.171.213','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2273','sales/save_new_sale','0.016546964645386','2016-09-04 17:21:45'),(29579,1,1,'183.171.171.213','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11446','sales/save_new_sale','0.024847984313965','2016-09-04 17:21:45'),(29580,1,1,'183.171.171.213','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000001\'','sales/save_new_sale','0.049841165542603','2016-09-04 17:21:45'),(29581,1,1,'183.171.171.213','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', NULL, \'0\', \'2016\', \'9\', \'0\', \'570\', -570, \'User\', \'2016-09-04: 11:09:45\')','sales/save_new_sale','0.042314767837524','2016-09-04 17:21:45'),(29582,1,1,'183.171.171.213','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.040894985198975','2016-09-04 17:21:46'),(29583,1,1,'183.171.171.213','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-04\', \'82\', \'OR\', \'570.00\', \'1\')','sales/save_new_sale','0.094203948974609','2016-09-04 17:22:04'),(29584,1,1,'183.171.171.213','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2274, \'RAY BAN WAYFARER\', \'570.00\', 0, 1)','sales/save_new_sale','0.016527891159058','2016-09-04 17:22:04'),(29585,1,1,'183.171.171.213','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2274','sales/save_new_sale','0.00019001960754395','2016-09-04 17:22:04'),(29586,1,1,'183.171.171.213','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'353\'','sales/save_new_sale','0.017752885818481','2016-09-04 17:22:04'),(29587,1,1,'183.171.171.213','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000002\' WHERE `ID` =  2274','sales/save_new_sale','0.016511917114258','2016-09-04 17:22:04'),(29588,1,1,'183.171.171.213','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AR20160900000002\', \'OR[00000061]\', \'Jualan [ OR[00000061] ]\', \'\', \'2\', \'2016-09-04\', \'2016\', \'09\', \'570\', \'570\', \'1\')','sales/save_new_sale','0.014428853988647','2016-09-04 17:22:04'),(29589,1,1,'183.171.171.213','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'1\', \'AR20160900000002\', 1, \'RAY BAN WAYFARER\', \'0\', \'\', 570, \'1\', \'1\', \'570\', \'09\', \'2016\', \'1\', \'OR[00000061]\', \'0\', \'User\')','sales/save_new_sale','0.016366004943848','2016-09-04 17:22:04'),(29590,1,1,'183.171.171.213','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'1\', 2, \'AR20160900000002\', \'RAY BAN WAYFARER\', \'32515\', \'\', 570, \'1\', \'1\', \'570\', \'09\', \'2016\', \'OR[00000061]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016422033309937','2016-09-04 17:22:04'),(29591,1,1,'183.171.171.213','update','UPDATE `comp_journal` SET `total_amount_dr` = 570, `total_amount_cr` = 570, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000002\'','sales/save_new_sale','0.016499042510986','2016-09-04 17:22:04'),(29592,1,1,'183.171.171.213','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2274','sales/save_new_sale','0.016563177108765','2016-09-04 17:22:04'),(29593,1,1,'183.171.171.213','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11447','sales/save_new_sale','0.016548156738281','2016-09-04 17:22:04'),(29594,1,1,'183.171.171.213','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000002\'','sales/save_new_sale','0.024358987808228','2016-09-04 17:22:04'),(29595,1,1,'183.171.171.213','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032761096954346','2016-09-04 17:22:04'),(29596,1,1,'183.171.171.213','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024333953857422','2016-09-04 17:22:04'),(29597,13,10,'183.171.160.54','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-04\', \'126\', \'OR\', \'900.00\', \'13\')','sales/save_new_sale','0.10178709030151','2016-09-04 18:00:52'),(29598,13,10,'183.171.160.54','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2275, \'Pakaian\', \'900.00\', 0, 1)','sales/save_new_sale','0.016494989395142','2016-09-04 18:00:52'),(29599,13,10,'183.171.160.54','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2275','sales/save_new_sale','0.0001981258392334','2016-09-04 18:00:52'),(29600,13,10,'183.171.160.54','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'350\'','sales/save_new_sale','0.023919820785522','2016-09-04 18:00:52'),(29601,13,10,'183.171.160.54','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000015\' WHERE `ID` =  2275','sales/save_new_sale','0.016510963439941','2016-09-04 18:00:52'),(29602,13,10,'183.171.160.54','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000015\', \'OR[00000043]\', \'Sales [ OR[00000043] ]\', \'\', \'2\', \'2016-09-04\', \'2016\', \'09\', \'900\', \'900\', \'10\')','sales/save_new_sale','0.0135498046875','2016-09-04 18:00:52'),(29603,13,10,'183.171.160.54','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000015\', 1, \'Pakaian\', \'0\', \'\', 900, \'1\', \'1\', \'900\', \'09\', \'2016\', \'1\', \'OR[00000043]\', \'0\', \'User\')','sales/save_new_sale','0.017201900482178','2016-09-04 18:00:52'),(29604,13,10,'183.171.160.54','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000015\', \'Pakaian\', \'32765\', \'\', 900, \'1\', \'1\', \'900\', \'09\', \'2016\', \'OR[00000043]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01639986038208','2016-09-04 18:00:52'),(29605,13,10,'183.171.160.54','update','UPDATE `comp_journal` SET `total_amount_dr` = 900, `total_amount_cr` = 900, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000015\'','sales/save_new_sale','0.032640933990479','2016-09-04 18:00:52'),(29606,13,10,'183.171.160.54','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2275','sales/save_new_sale','0.01707911491394','2016-09-04 18:00:52'),(29607,13,10,'183.171.160.54','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11448','sales/save_new_sale','0.024329900741577','2016-09-04 18:00:52'),(29608,13,10,'183.171.160.54','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000015\'','sales/save_new_sale','0.017045974731445','2016-09-04 18:00:52'),(29609,13,10,'183.171.160.54','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022830963134766','2016-09-04 18:00:52'),(29610,13,10,'183.171.160.54','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015934944152832','2016-09-04 18:00:52'),(29611,13,10,'183.171.160.54','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-04\', \'126\', \'OR\', \'1400.00\', \'13\')','sales/save_new_sale','0.097743034362793','2016-09-04 18:01:20'),(29612,13,10,'183.171.160.54','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2276, \'Pakaian\', \'900.00\', 0, 1)','sales/save_new_sale','0.044281959533691','2016-09-04 18:01:20'),(29613,13,10,'183.171.160.54','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2276, \'Tudung\', \'500.00\', 0, 2)','sales/save_new_sale','0.038081884384155','2016-09-04 18:01:20'),(29614,13,10,'183.171.160.54','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2276','sales/save_new_sale','0.0001978874206543','2016-09-04 18:01:20'),(29615,13,10,'183.171.160.54','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'350\'','sales/save_new_sale','0.016221046447754','2016-09-04 18:01:20'),(29616,13,10,'183.171.160.54','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000016\' WHERE `ID` =  2276','sales/save_new_sale','0.016518115997314','2016-09-04 18:01:20'),(29617,13,10,'183.171.160.54','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000016\', \'OR[00000044]\', \'Sales [ OR[00000044] ]\', \'\', \'2\', \'2016-09-04\', \'2016\', \'09\', \'1400\', \'1400\', \'10\')','sales/save_new_sale','0.022564888000488','2016-09-04 18:01:20'),(29618,13,10,'183.171.160.54','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000016\', 1, \'Pakaian\', \'0\', \'\', 900, \'1\', \'1\', \'900\', \'09\', \'2016\', \'1\', \'OR[00000044]\', \'0\', \'User\')','sales/save_new_sale','0.016365051269531','2016-09-04 18:01:20'),(29619,13,10,'183.171.160.54','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000016\', \'Pakaian\', \'32765\', \'\', 900, \'1\', \'1\', \'900\', \'09\', \'2016\', \'OR[00000044]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016404151916504','2016-09-04 18:01:20'),(29620,13,10,'183.171.160.54','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000016\', 3, \'Tudung\', \'0\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'2\', \'OR[00000044]\', \'0\', \'User\')','sales/save_new_sale','0.016416072845459','2016-09-04 18:01:20'),(29621,13,10,'183.171.160.54','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000016\', \'Tudung\', \'32765\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'OR[00000044]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.016397953033447','2016-09-04 18:01:20'),(29622,13,10,'183.171.160.54','update','UPDATE `comp_journal` SET `total_amount_dr` = 1400, `total_amount_cr` = 1400, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000016\'','sales/save_new_sale','0.016499996185303','2016-09-04 18:01:20'),(29623,13,10,'183.171.160.54','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2276','sales/save_new_sale','0.024887084960938','2016-09-04 18:01:20'),(29624,13,10,'183.171.160.54','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11449','sales/save_new_sale','0.024858951568604','2016-09-04 18:01:20'),(29625,13,10,'183.171.160.54','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000016\'','sales/save_new_sale','0.016498804092407','2016-09-04 18:01:20'),(29626,13,10,'183.171.160.54','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015472888946533','2016-09-04 18:01:20'),(29627,13,10,'183.171.160.54','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015952110290527','2016-09-04 18:01:20'),(29628,13,10,'183.171.160.54','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015938997268677','2016-09-04 18:01:20'),(29629,13,10,'183.171.160.54','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01596212387085','2016-09-04 18:01:20'),(29630,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` =  \'2016-09-05\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.0003969669342041','2016-09-05 09:09:53'),(29631,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE `receivePaymentDate` >= \'2016-08-29\'\nAND `receivePaymentDate` <= \'2016-09-11\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00026917457580566','2016-09-05 09:09:53'),(29632,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND month(receivePaymentDate) =  \'09\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00020503997802734','2016-09-05 09:09:53'),(29633,20,18,'192.168.1.203','others','SELECT sum(totalReceived) as sale\nFROM (`comp_receive_payment_others`)\nWHERE year(receivePaymentDate) =  \'2016\'\nAND `companyID` =  \'20\'\nAND `is_delete` =  0','home/index','0.00019192695617676','2016-09-05 09:09:53'),(29634,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3','home/index','0.18009400367737','2016-09-05 09:09:53'),(29635,20,18,'192.168.1.203','others','SELECT sum(if(acctgroupid=7, balance * -1, 0) - if(acctgroupid=8 or acctgroupid = 10, balance, 0)) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid in (7,8,10)','home/index','0.025352001190186','2016-09-05 09:09:53'),(29636,20,18,'192.168.1.203','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 4','home/index','0.025435209274292','2016-09-05 09:09:53'),(29637,20,18,'192.168.1.203','others','SELECT acctName, balance * 1 as balance\nFROM (`view_total_debitcredit`)\nWHERE `companyID` =  \'20\'\nAND year = 2016\nAND acctgroupid = 3\nAND `acctCode` > \'220000000\'\nORDER BY `acctCode`','home/index','0.025490045547485','2016-09-05 09:09:53'),(29638,20,18,'192.168.1.203','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tekun-admin`.`tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'20\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','0.58964705467224','2016-09-05 09:09:53'),(29639,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_industry`)\nWHERE `ID` IN (2, 3) ','home/index','0.016340017318726','2016-09-05 09:09:53'),(29640,20,18,'192.168.1.203','others','SELECT *\nFROM (`_ref_business_type`)\nWHERE `industryID` IN (2, 3) ','home/index','0.035667896270752','2016-09-05 09:09:53'),(29641,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  1\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.035259008407593','2016-09-05 09:09:56'),(29642,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  2\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00031614303588867','2016-09-05 09:09:56'),(29643,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  3\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00020289421081543','2016-09-05 09:09:57'),(29644,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  4\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019407272338867','2016-09-05 09:09:57'),(29645,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  5\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019407272338867','2016-09-05 09:09:57'),(29646,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  6\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019216537475586','2016-09-05 09:09:57'),(29647,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  7\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018692016601562','2016-09-05 09:09:57'),(29648,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  8\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.0001978874206543','2016-09-05 09:09:57'),(29649,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  9\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019097328186035','2016-09-05 09:09:57'),(29650,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  10\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00019001960754395','2016-09-05 09:09:57'),(29651,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  11\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018596649169922','2016-09-05 09:09:57'),(29652,20,18,'192.168.1.203','others','SELECT SUM(COALESCE(a.totalReceived, 0)) AS amount\nFROM (`comp_receive_payment_others` a)\nWHERE `a`.`is_delete` =  0\nAND MONTH(a.receivePaymentDate) =  12\nAND YEAR(a.receivePaymentDate) =  \'2016\'\nAND `a`.`companyID` =  \'20\'','dashboard/fnGetSeries','0.00018811225891113','2016-09-05 09:09:57'),(29653,1,1,'192.168.1.254','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','4.7862188816071','2016-09-05 12:06:34'),(29654,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-05\', \'148\', \'OR\', \'100.00\', \'23\')','sales/save_new_sale','0.1349048614502','2016-09-05 12:58:49'),(29655,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2277, \'05092016\', \'100.00\', 0, 1)','sales/save_new_sale','0.017922878265381','2016-09-05 12:58:49'),(29656,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2277','sales/save_new_sale','0.00021791458129883','2016-09-05 12:58:49'),(29657,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'321\'','sales/save_new_sale','0.034386157989502','2016-09-05 12:58:49'),(29658,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000007\' WHERE `ID` =  2277','sales/save_new_sale','0.024831056594849','2016-09-05 12:58:49'),(29659,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160900000007\', \'OR[00000024]\', \'Sales [ OR[00000024] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'100\', \'100\', \'28\')','sales/save_new_sale','0.03093695640564','2016-09-05 12:58:49'),(29660,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160900000007\', 1, \'05092016\', \'0\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'1\', \'OR[00000024]\', \'0\', \'User\')','sales/save_new_sale','0.016346216201782','2016-09-05 12:58:49'),(29661,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160900000007\', \'05092016\', \'33007\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'OR[00000024]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016382932662964','2016-09-05 12:58:49'),(29662,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160900000007\'','sales/save_new_sale','0.024781942367554','2016-09-05 12:58:49'),(29663,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2277','sales/save_new_sale','0.02485990524292','2016-09-05 12:58:49'),(29664,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11450','sales/save_new_sale','0.016529083251953','2016-09-05 12:58:49'),(29665,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160900000007\'','sales/save_new_sale','0.041510105133057','2016-09-05 12:58:49'),(29666,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', NULL, \'0\', \'2016\', \'9\', \'0\', \'100\', -100, \'User\', \'2016-09-05: 06:09:49\')','sales/save_new_sale','0.042840957641602','2016-09-05 12:58:49'),(29667,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015902996063232','2016-09-05 12:58:49'),(29668,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-05\', \'148\', \'OR\', \'200.00\', \'23\')','sales/save_new_sale','0.018450975418091','2016-09-05 12:59:45'),(29669,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2278, \'05091602\', \'200.00\', 0, 1)','sales/save_new_sale','0.016535043716431','2016-09-05 12:59:45'),(29670,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2278','sales/save_new_sale','0.00020503997802734','2016-09-05 12:59:45'),(29671,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'321\'','sales/save_new_sale','0.016086101531982','2016-09-05 12:59:45'),(29672,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000008\' WHERE `ID` =  2278','sales/save_new_sale','0.024853944778442','2016-09-05 12:59:45'),(29673,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160900000008\', \'OR[00000025]\', \'Sales [ OR[00000025] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'200\', \'200\', \'28\')','sales/save_new_sale','0.014204025268555','2016-09-05 12:59:45'),(29674,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160900000008\', 1, \'05091602\', \'0\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000025]\', \'0\', \'User\')','sales/save_new_sale','0.016352891921997','2016-09-05 12:59:45'),(29675,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160900000008\', \'05091602\', \'33007\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000025]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016386032104492','2016-09-05 12:59:45'),(29676,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160900000008\'','sales/save_new_sale','0.016502857208252','2016-09-05 12:59:45'),(29677,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2278','sales/save_new_sale','0.016535043716431','2016-09-05 12:59:45'),(29678,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11451','sales/save_new_sale','0.016524076461792','2016-09-05 12:59:45'),(29679,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160900000008\'','sales/save_new_sale','0.016515016555786','2016-09-05 12:59:45'),(29680,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032171010971069','2016-09-05 12:59:45'),(29681,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015922069549561','2016-09-05 12:59:45'),(29682,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-05\', \'148\', \'OR\', \'300.00\', \'23\')','sales/save_new_sale','0.061239957809448','2016-09-05 13:00:29'),(29683,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2279, \'02091603\', \'300.00\', 0, 1)','sales/save_new_sale','0.016524076461792','2016-09-05 13:00:29'),(29684,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2279','sales/save_new_sale','0.00018501281738281','2016-09-05 13:00:29'),(29685,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'321\'','sales/save_new_sale','0.016213893890381','2016-09-05 13:00:29'),(29686,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000009\' WHERE `ID` =  2279','sales/save_new_sale','0.016510009765625','2016-09-05 13:00:29'),(29687,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160900000009\', \'OR[00000026]\', \'Sales [ OR[00000026] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'300\', \'300\', \'28\')','sales/save_new_sale','0.022676944732666','2016-09-05 13:00:29'),(29688,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160900000009\', 1, \'02091603\', \'0\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000026]\', \'0\', \'User\')','sales/save_new_sale','0.033047914505005','2016-09-05 13:00:29'),(29689,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160900000009\', \'02091603\', \'33007\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000026]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016403198242188','2016-09-05 13:00:29'),(29690,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160900000009\'','sales/save_new_sale','0.016505002975464','2016-09-05 13:00:29'),(29691,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2279','sales/save_new_sale','0.016546010971069','2016-09-05 13:00:29'),(29692,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11452','sales/save_new_sale','0.016535997390747','2016-09-05 13:00:29'),(29693,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160900000009\'','sales/save_new_sale','0.016546010971069','2016-09-05 13:00:29'),(29694,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.019107818603516','2016-09-05 13:00:29'),(29695,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.03259801864624','2016-09-05 13:00:29'),(29696,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'23\', \'28\', 1, \'33019\', \'68\', \'100\', \'OP-C\', \'2016-09-05\', \'148\', \'1\')','expenses/fnSaveExpenses','0.046847105026245','2016-09-05 14:21:56'),(29697,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2246, \'28\', \'05092016\', 1, \'33019\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.14091491699219','2016-09-05 14:21:56'),(29698,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.02382493019104','2016-09-05 14:21:56'),(29699,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000017\' WHERE `ID` =  2246','expenses/fnSaveExpenses','0.04149317741394','2016-09-05 14:21:56'),(29700,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000017\', \'Cost of Goods Sold [OP-C[00000084]]\', \'Cost of Goods Sold [OP-C[00000084]]\', \'\', \'3\', \'2016-09-05\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.064363956451416','2016-09-05 14:21:56'),(29701,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000017\', 1, \'05092016\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000084]\', \'User\')','expenses/fnSaveExpenses','0.031363010406494','2016-09-05 14:21:56'),(29702,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000017\', 2, \'05092016\', \'33019\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000084]\', \'User\')','expenses/fnSaveExpenses','0.018120050430298','2016-09-05 14:21:56'),(29703,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000017\'','expenses/fnSaveExpenses','0.041476011276245','2016-09-05 14:21:56'),(29704,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2246','expenses/fnSaveExpenses','0.024873971939087','2016-09-05 14:21:56'),(29705,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11453','expenses/fnSaveExpenses','0.024729013442993','2016-09-05 14:21:56'),(29706,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000017\'','expenses/fnSaveExpenses','0.049829959869385','2016-09-05 14:21:56'),(29707,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032211065292358','2016-09-05 14:21:56'),(29708,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33019\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016000986099243','2016-09-05 14:21:56'),(29709,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'pening dah aku\', \'23\', \'28\', 1, 0, \'68\', \'100\', \'OP-E\', \'2016-09-05\', \'148\', \'1\')','expenses/fnSaveExpenses','0.065004110336304','2016-09-05 14:24:44'),(29710,23,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2247, \'28\', \'05092016\', 1, \'33021\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.023092031478882','2016-09-05 14:24:44'),(29711,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'348\'','expenses/fnSaveExpenses','0.018367052078247','2016-09-05 14:24:44'),(29712,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000018\' WHERE `ID` =  2247','expenses/fnSaveExpenses','0.016500949859619','2016-09-05 14:24:44'),(29713,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AP20160900000018\', \'Operating Expenses [OP-E[00000085]]\', \'Operating Expenses [OP-E[00000085]]\', \'\', \'3\', \'2016-09-05\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.012411117553711','2016-09-05 14:24:44'),(29714,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000018\', 1, \'05092016\', \'33007\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-E[00000085]\', \'User\')','expenses/fnSaveExpenses','0.051655054092407','2016-09-05 14:24:44'),(29715,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'23\', \'AP20160900000018\', 2, \'05092016\', \'33021\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-E[00000085]\', \'User\')','expenses/fnSaveExpenses','0.016408920288086','2016-09-05 14:24:44'),(29716,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000018\'','expenses/fnSaveExpenses','0.016498804092407','2016-09-05 14:24:44'),(29717,23,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2247','expenses/fnSaveExpenses','0.016541957855225','2016-09-05 14:24:44'),(29718,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11454','expenses/fnSaveExpenses','0.016396045684814','2016-09-05 14:24:44'),(29719,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AP20160900000018\'','expenses/fnSaveExpenses','0.041509866714478','2016-09-05 14:24:44'),(29720,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024109840393066','2016-09-05 14:24:44'),(29721,23,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'23\', \'10\', \'33021\', \'2016\', \'9\', \'100\', \'0\', 100, \'User\', \'2016-09-05: 08:09:44\')','expenses/fnSaveExpenses','0.02409815788269','2016-09-05 14:24:44'),(29722,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2225\'','expenses/removePayment','0.029768943786621','2016-09-05 14:25:31'),(29723,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50201\'','expenses/removePayment','0.022143840789795','2016-09-05 14:25:31'),(29724,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50202\'','expenses/removePayment','0.016504049301147','2016-09-05 14:25:31'),(29725,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11415\'','expenses/removePayment','0.024859189987183','2016-09-05 14:25:31'),(29726,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2227\'','expenses/removePayment','0.050290107727051','2016-09-05 14:26:12'),(29727,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50205\'','expenses/removePayment','0.013720989227295','2016-09-05 14:26:12'),(29728,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50206\'','expenses/removePayment','0.016227006912231','2016-09-05 14:26:12'),(29729,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11417\'','expenses/removePayment','0.027004957199097','2016-09-05 14:26:12'),(29730,13,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'13\', \'10\', 1, 0, \'68\', \'100\', \'OP-E\', \'2016-09-05\', \'122\', \'1\')','expenses/fnSaveExpenses','0.063349962234497','2016-09-05 14:27:20'),(29731,13,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2248, \'10\', \'05092016\', 1, \'32777\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.034921169281006','2016-09-05 14:27:20'),(29732,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.035199165344238','2016-09-05 14:27:20'),(29733,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000018\' WHERE `ID` =  2248','expenses/fnSaveExpenses','0.024847030639648','2016-09-05 14:27:20'),(29734,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000018\', \'Operating Expenses [OP-E[00000090]]\', \'Operating Expenses [OP-E[00000090]]\', \'\', \'3\', \'2016-09-05\', \'16\', \'09\', 100, 100, \'10\')','expenses/fnSaveExpenses','0.012650012969971','2016-09-05 14:27:20'),(29735,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000018\', 1, \'05092016\', \'32761\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-E[00000090]\', \'User\')','expenses/fnSaveExpenses','0.026420831680298','2016-09-05 14:27:20'),(29736,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000018\', 2, \'05092016\', \'32777\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-E[00000090]\', \'User\')','expenses/fnSaveExpenses','0.016418218612671','2016-09-05 14:27:20'),(29737,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000018\'','expenses/fnSaveExpenses','0.01648998260498','2016-09-05 14:27:20'),(29738,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2248','expenses/fnSaveExpenses','0.016560792922974','2016-09-05 14:27:20'),(29739,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11455','expenses/fnSaveExpenses','0.016365051269531','2016-09-05 14:27:20'),(29740,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000018\'','expenses/fnSaveExpenses','0.031470060348511','2016-09-05 14:27:20'),(29741,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024210929870605','2016-09-05 14:27:20'),(29742,13,10,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'13\', \'10\', \'32777\', \'2016\', \'9\', \'100\', \'0\', 100, \'User\', \'2016-09-05: 08:09:20\')','expenses/fnSaveExpenses','0.014989852905273','2016-09-05 14:27:20'),(29743,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2246\'','expenses/removePayment','0.059082984924316','2016-09-05 14:27:22'),(29744,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50279\'','expenses/removePayment','0.029675960540771','2016-09-05 14:27:22'),(29745,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50280\'','expenses/removePayment','0.024842023849487','2016-09-05 14:27:22'),(29746,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11453\'','expenses/removePayment','0.016518115997314','2016-09-05 14:27:22'),(29747,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2152\'','expenses/removePayment','0.038417100906372','2016-09-05 14:27:44'),(29748,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` IS NULL','expenses/removePayment','0.00015115737915039','2016-09-05 14:27:44'),(29749,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11194\'','expenses/removePayment','0.024105072021484','2016-09-05 14:27:44'),(29750,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2149\'','expenses/removePayment','0.09719705581665','2016-09-05 14:27:52'),(29751,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` IS NULL','expenses/removePayment','0.00013208389282227','2016-09-05 14:27:52'),(29752,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11189\'','expenses/removePayment','0.029745101928711','2016-09-05 14:27:52'),(29753,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2151\'','expenses/removePayment','0.093024969100952','2016-09-05 14:27:52'),(29754,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49039\'','expenses/removePayment','0.043053865432739','2016-09-05 14:27:52'),(29755,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'49040\'','expenses/removePayment','0.041481971740723','2016-09-05 14:27:52'),(29756,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11191\'','expenses/removePayment','0.033199071884155','2016-09-05 14:27:52'),(29757,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2247\'','expenses/removePayment','0.017698049545288','2016-09-05 14:28:05'),(29758,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50281\'','expenses/removePayment','0.015581130981445','2016-09-05 14:28:05'),(29759,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50282\'','expenses/removePayment','0.016440868377686','2016-09-05 14:28:05'),(29760,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11454\'','expenses/removePayment','0.016535997390747','2016-09-05 14:28:05'),(29761,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2216\'','expenses/removePayment','0.018493175506592','2016-09-05 14:28:17'),(29762,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50171\'','expenses/removePayment','0.044964075088501','2016-09-05 14:28:17'),(29763,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50172\'','expenses/removePayment','0.018485069274902','2016-09-05 14:28:17'),(29764,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11400\'','expenses/removePayment','0.016525983810425','2016-09-05 14:28:18'),(29765,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2014\'','expenses/removePayment','0.086217880249023','2016-09-05 14:28:39'),(29766,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48215\'','expenses/removePayment','0.02054500579834','2016-09-05 14:28:39'),(29767,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2015\'','expenses/removePayment','0.10456585884094','2016-09-05 14:28:39'),(29768,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48216\'','expenses/removePayment','0.047856092453003','2016-09-05 14:28:39'),(29769,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48219\'','expenses/removePayment','0.046489000320435','2016-09-05 14:28:39'),(29770,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10840\'','expenses/removePayment','0.01855993270874','2016-09-05 14:28:39'),(29771,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2219\'','expenses/removePayment','0.099864959716797','2016-09-05 14:28:39'),(29772,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'48220\'','expenses/removePayment','0.051837921142578','2016-09-05 14:28:39'),(29773,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'10842\'','expenses/removePayment','0.033209800720215','2016-09-05 14:28:39'),(29774,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50179\'','expenses/removePayment','0.030641078948975','2016-09-05 14:28:39'),(29775,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'50180\'','expenses/removePayment','0.066490173339844','2016-09-05 14:28:39'),(29776,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11404\'','expenses/removePayment','0.10817098617554','2016-09-05 14:28:39'),(29777,13,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'100\', \'OP-C\', \'2016-09-05\', \'122\', \'1\')','expenses/fnSaveExpenses','0.065268039703369','2016-09-05 14:28:45'),(29778,13,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2249, \'10\', \'05092016\', 1, \'32773\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.039180040359497','2016-09-05 14:28:45'),(29779,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.023813962936401','2016-09-05 14:28:45'),(29780,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000019\' WHERE `ID` =  2249','expenses/fnSaveExpenses','0.014347076416016','2016-09-05 14:28:45'),(29781,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000019\', \'Cost of Goods Sold [OP-C[00000091]]\', \'Cost of Goods Sold [OP-C[00000091]]\', \'\', \'3\', \'2016-09-05\', \'16\', \'09\', 100, 100, \'10\')','expenses/fnSaveExpenses','0.016443014144897','2016-09-05 14:28:45'),(29782,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000019\', 1, \'05092016\', \'32761\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000091]\', \'User\')','expenses/fnSaveExpenses','0.016385078430176','2016-09-05 14:28:45'),(29783,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000019\', 2, \'05092016\', \'32773\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000091]\', \'User\')','expenses/fnSaveExpenses','0.016417026519775','2016-09-05 14:28:45'),(29784,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000019\'','expenses/fnSaveExpenses','0.016516923904419','2016-09-05 14:28:45'),(29785,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2249','expenses/fnSaveExpenses','0.024883985519409','2016-09-05 14:28:45'),(29786,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11456','expenses/fnSaveExpenses','0.016332149505615','2016-09-05 14:28:45'),(29787,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000019\'','expenses/fnSaveExpenses','0.016485929489136','2016-09-05 14:28:45'),(29788,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024352073669434','2016-09-05 14:28:45'),(29789,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015943050384521','2016-09-05 14:28:45'),(29790,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2249\'','expenses/removePayment','0.11127090454102','2016-09-05 14:28:52'),(29791,13,10,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50285\'','expenses/removePayment','0.011018991470337','2016-09-05 14:28:52'),(29792,13,10,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50286\'','expenses/removePayment','0.018753051757812','2016-09-05 14:28:52'),(29793,13,10,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'11456\'','expenses/removePayment','0.016528129577637','2016-09-05 14:28:52'),(29794,23,28,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2154\'','expenses/removePayment','0.020492792129517','2016-09-05 14:29:01'),(29795,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'23\'\nAND `ID` IS NULL','expenses/removePayment','0.00012707710266113','2016-09-05 14:29:01'),(29796,23,28,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'23\'\nAND `ID` =  \'11198\'','expenses/removePayment','0.011008977890015','2016-09-05 14:29:01'),(29797,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2234\'','expenses/removePayment','0.10482096672058','2016-09-05 14:29:45'),(29798,13,10,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50225\'','expenses/removePayment','0.01190185546875','2016-09-05 14:29:45'),(29799,13,10,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50226\'','expenses/removePayment','0.031368970870972','2016-09-05 14:29:45'),(29800,13,10,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'11427\'','expenses/removePayment','0.018980979919434','2016-09-05 14:29:45'),(29801,13,10,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2217\'','expenses/removePayment','0.09603476524353','2016-09-05 14:33:26'),(29802,13,10,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50173\'','expenses/removePayment','0.034961938858032','2016-09-05 14:33:26'),(29803,13,10,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50174\'','expenses/removePayment','0.014044046401978','2016-09-05 14:33:26'),(29804,13,10,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'11401\'','expenses/removePayment','0.018989086151123','2016-09-05 14:33:26'),(29805,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-05\', \'148\', \'OR\', \'1000.00\', \'23\')','sales/save_new_sale','0.068907022476196','2016-09-05 14:48:07'),(29806,23,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2280, \'teai\', \'1000.00\', 0, 1)','sales/save_new_sale','0.02735710144043','2016-09-05 14:48:07'),(29807,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2280','sales/save_new_sale','0.0002129077911377','2016-09-05 14:48:07'),(29808,23,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'321\'','sales/save_new_sale','0.028698921203613','2016-09-05 14:48:07'),(29809,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000010\' WHERE `ID` =  2280','sales/save_new_sale','0.016484975814819','2016-09-05 14:48:07'),(29810,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'23\', \'AR20160900000010\', \'OR[00000027]\', \'Sales [ OR[00000027] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'1000\', \'1000\', \'28\')','sales/save_new_sale','0.030940055847168','2016-09-05 14:48:07'),(29811,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'23\', \'AR20160900000010\', 1, \'teai\', \'0\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'1\', \'OR[00000027]\', \'0\', \'User\')','sales/save_new_sale','0.014173030853271','2016-09-05 14:48:07'),(29812,23,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'23\', 2, \'AR20160900000010\', \'teai\', \'33007\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'OR[00000027]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.018555164337158','2016-09-05 14:48:07'),(29813,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160900000010\'','sales/save_new_sale','0.024827003479004','2016-09-05 14:48:07'),(29814,23,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2280','sales/save_new_sale','0.016525983810425','2016-09-05 14:48:07'),(29815,23,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11457','sales/save_new_sale','0.016522884368896','2016-09-05 14:48:07'),(29816,23,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'23\' AND `journalID` =  \'AR20160900000010\'','sales/save_new_sale','0.030712842941284','2016-09-05 14:48:07'),(29817,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032888174057007','2016-09-05 14:48:07'),(29818,23,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'23\' AND `a`.`acctID` =  \'33007\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024271011352539','2016-09-05 14:48:07'),(29819,12,11,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-05\', \'108\', \'OR\', \'120.00\', \'12\')','sales/save_new_sale','0.055231094360352','2016-09-05 16:13:39'),(29820,12,11,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2281, \'harini\', \'120.00\', 0, 1)','sales/save_new_sale','0.13322496414185','2016-09-05 16:13:39'),(29821,12,11,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2281','sales/save_new_sale','0.0002140998840332','2016-09-05 16:13:39'),(29822,12,11,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'12\', \'2\', \'2016\', \'09\', \'AR\', 1)','sales/save_new_sale','0.030479907989502','2016-09-05 16:13:39'),(29823,12,11,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000001\' WHERE `ID` =  2281','sales/save_new_sale','0.0068421363830566','2016-09-05 16:13:39'),(29824,12,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000001\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'120\', \'120\', \'11\')','sales/save_new_sale','0.014409065246582','2016-09-05 16:13:39'),(29825,12,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000001\', 1, \'harini\', \'0\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_new_sale','0.016381978988647','2016-09-05 16:13:39'),(29826,12,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000001\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0080771446228027','2016-09-05 16:13:39'),(29827,12,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000001\'','sales/save_new_sale','0.013906002044678','2016-09-05 16:13:39'),(29828,12,11,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2281','sales/save_new_sale','0.019159078598022','2016-09-05 16:13:39'),(29829,12,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11458','sales/save_new_sale','0.016526937484741','2016-09-05 16:13:39'),(29830,12,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000001\'','sales/save_new_sale','0.030288934707642','2016-09-05 16:13:39'),(29831,12,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', NULL, \'0\', \'2016\', \'9\', \'0\', \'120\', -120, \'User\', \'2016-09-05: 10:09:39\')','sales/save_new_sale','0.036228895187378','2016-09-05 16:13:39'),(29832,12,11,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32572\', \'2016\', \'9\', \'120\', \'0\', 120, \'User\', \'2016-09-05: 10:09:39\')','sales/save_new_sale','0.0074269771575928','2016-09-05 16:13:39'),(29833,12,11,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-05\', \'108\', \'OR\', \'150.00\', \'12\')','sales/save_new_sale','0.018409967422485','2016-09-05 16:14:08'),(29834,12,11,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2282, \'harini2\', \'150.00\', 0, 1)','sales/save_new_sale','0.0082080364227295','2016-09-05 16:14:08'),(29835,12,11,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2282','sales/save_new_sale','0.00018906593322754','2016-09-05 16:14:08'),(29836,12,11,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'354\'','sales/save_new_sale','0.014976978302002','2016-09-05 16:14:08'),(29837,12,11,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000002\' WHERE `ID` =  2282','sales/save_new_sale','0.01079797744751','2016-09-05 16:14:08'),(29838,12,11,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000002\', \'OR[00000038]\', \'Sales [ OR[00000038] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'150\', \'150\', \'11\')','sales/save_new_sale','0.011704921722412','2016-09-05 16:14:08'),(29839,12,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000002\', 1, \'harini2\', \'0\', \'\', 150, \'1\', \'1\', \'150\', \'09\', \'2016\', \'1\', \'OR[00000038]\', \'0\', \'User\')','sales/save_new_sale','0.010673999786377','2016-09-05 16:14:08'),(29840,12,11,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000002\', \'harini2\', \'32572\', \'\', 150, \'1\', \'1\', \'150\', \'09\', \'2016\', \'OR[00000038]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0080771446228027','2016-09-05 16:14:08'),(29841,12,11,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 150, `total_amount_cr` = 150, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000002\'','sales/save_new_sale','0.01651406288147','2016-09-05 16:14:08'),(29842,12,11,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2282','sales/save_new_sale','0.0082111358642578','2016-09-05 16:14:08'),(29843,12,11,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11459','sales/save_new_sale','0.013628959655762','2016-09-05 16:14:08'),(29844,12,11,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000002\'','sales/save_new_sale','0.011107921600342','2016-09-05 16:14:08'),(29845,12,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032293796539307','2016-09-05 16:14:08'),(29846,12,11,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015953063964844','2016-09-05 16:14:08'),(29847,23,28,'192.168.1.201','insert','INSERT INTO `tekun-admin`.`tbl_usermaster` (`fldid`, `userid`, `password`, `username`, `position`, `email`, `phone_off`, `Phone_mobile`, `department`, `section`, `language`, `imageFile`, `create_dt`, `create_user`) VALUES (\'\', \'\', \'\', \'\', 0, \'\', 0, \'\', 0, 0, \'\', \'<div style=\', \'2016-09-05 11-32-17\', 0)','userProfile/userMaster','0.21545314788818','2016-09-05 17:32:48'),(29848,23,28,'192.168.1.201','update','UPDATE `tbl_usermaster` SET `userid` = \'hijrahrahmat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'hijrahrahmat@gmail.com\', `position` = 0, `email` = \'hijrahrahmat@gmail.com\', `phone_off` = 0, `Phone_mobile` = \'\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'\', `modified_dt` = \'2016-09-05 12-37-06\', `modified_user` = 0 WHERE `fldid` =  \'28\'','userProfile/userMaster','0.00027298927307129','2016-09-05 18:37:10'),(29849,20,18,'192.168.1.203','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MARA\', `openingBalanceCr` = \'100000.00\', `createdTS` = \'1970-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33253\'','setup/saveLoan','0.094820022583008','2016-09-06 16:29:52'),(29850,13,10,'64.233.173.25','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0187211036682','2016-09-07 13:54:13'),(29851,13,10,'183.171.168.10','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-07\', \'122\', \'OR\', \'3000.00\', \'13\')','sales/save_new_sale','0.11636686325073','2016-09-07 14:29:52'),(29852,13,10,'183.171.168.10','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2283, \'Furniture\', \'3000.00\', 0, 1)','sales/save_new_sale','0.029006004333496','2016-09-07 14:29:52'),(29853,13,10,'183.171.168.10','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2283','sales/save_new_sale','0.00023984909057617','2016-09-07 14:29:52'),(29854,13,10,'183.171.168.10','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'350\'','sales/save_new_sale','0.013326168060303','2016-09-07 14:29:52'),(29855,13,10,'183.171.168.10','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000017\' WHERE `ID` =  2283','sales/save_new_sale','0.012341022491455','2016-09-07 14:29:52'),(29856,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000017\', \'OR[00000044]\', \'Sales [ OR[00000044] ]\', \'\', \'2\', \'2016-09-07\', \'2016\', \'09\', \'3000\', \'3000\', \'10\')','sales/save_new_sale','0.030675888061523','2016-09-07 14:29:52'),(29857,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000017\', 1, \'Furniture\', \'0\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'1\', \'OR[00000044]\', \'0\', \'User\')','sales/save_new_sale','0.041663885116577','2016-09-07 14:29:52'),(29858,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000017\', \'Furniture\', \'32761\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'OR[00000044]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012188911437988','2016-09-07 14:29:52'),(29859,13,10,'183.171.168.10','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000017\'','sales/save_new_sale','0.029009819030762','2016-09-07 14:29:52'),(29860,13,10,'183.171.168.10','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2283','sales/save_new_sale','0.012341022491455','2016-09-07 14:29:52'),(29861,13,10,'183.171.168.10','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11460','sales/save_new_sale','0.01294994354248','2016-09-07 14:29:52'),(29862,13,10,'183.171.168.10','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000017\'','sales/save_new_sale','0.15338492393494','2016-09-07 14:29:52'),(29863,13,10,'183.171.168.10','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022387981414795','2016-09-07 14:29:52'),(29864,13,10,'183.171.168.10','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011684894561768','2016-09-07 14:29:52'),(29865,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2226\'','expenses/removePayment','0.10488200187683','2016-09-07 16:00:45'),(29866,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50203\'','expenses/removePayment','0.024139881134033','2016-09-07 16:00:45'),(29867,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50204\'','expenses/removePayment','0.012753963470459','2016-09-07 16:00:45'),(29868,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11416\'','expenses/removePayment','0.020291090011597','2016-09-07 16:00:45'),(29869,13,10,'183.171.168.10','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-07\', \'126\', \'OR\', \'5000.00\', \'13\')','sales/save_new_sale','0.076550960540771','2016-09-07 17:33:48'),(29870,13,10,'183.171.168.10','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2284, \'Jualan 7/9/1016\', \'5000.00\', 0, 1)','sales/save_new_sale','0.016520023345947','2016-09-07 17:33:48'),(29871,13,10,'183.171.168.10','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2284','sales/save_new_sale','0.00020503997802734','2016-09-07 17:33:48'),(29872,13,10,'183.171.168.10','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'350\'','sales/save_new_sale','0.022536039352417','2016-09-07 17:33:48'),(29873,13,10,'183.171.168.10','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000018\' WHERE `ID` =  2284','sales/save_new_sale','0.011940956115723','2016-09-07 17:33:48'),(29874,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000018\', \'OR[00000045]\', \'Sales [ OR[00000045] ]\', \'\', \'2\', \'2016-09-07\', \'2016\', \'09\', \'5000\', \'5000\', \'10\')','sales/save_new_sale','0.018907070159912','2016-09-07 17:33:48'),(29875,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000018\', 1, \'Jualan 7/9/1016\', \'0\', \'\', 5000, \'1\', \'1\', \'5000\', \'09\', \'2016\', \'1\', \'OR[00000045]\', \'0\', \'User\')','sales/save_new_sale','0.036777019500732','2016-09-07 17:33:48'),(29876,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000018\', \'Jualan 7/9/1016\', \'32765\', \'\', 5000, \'1\', \'1\', \'5000\', \'09\', \'2016\', \'OR[00000045]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012646913528442','2016-09-07 17:33:48'),(29877,13,10,'183.171.168.10','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000018\'','sales/save_new_sale','0.011946201324463','2016-09-07 17:33:48'),(29878,13,10,'183.171.168.10','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2284','sales/save_new_sale','0.012755155563354','2016-09-07 17:33:48'),(29879,13,10,'183.171.168.10','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11461','sales/save_new_sale','0.016534090042114','2016-09-07 17:33:48'),(29880,13,10,'183.171.168.10','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000018\'','sales/save_new_sale','0.028920888900757','2016-09-07 17:33:48'),(29881,13,10,'183.171.168.10','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01375412940979','2016-09-07 17:33:48'),(29882,13,10,'183.171.168.10','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012223958969116','2016-09-07 17:33:48'),(29883,13,10,'183.171.168.10','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'150\', \'OP-C\', \'2016-09-07\', \'126\', \'1\')','expenses/fnSaveExpenses','0.025152206420898','2016-09-07 17:35:07'),(29884,13,10,'183.171.168.10','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2250, \'10\', \'Ayam\', 1, \'32773\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011814117431641','2016-09-07 17:35:07'),(29885,13,10,'183.171.168.10','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2250, \'10\', \'Sayur\', 1, \'32773\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.008465051651001','2016-09-07 17:35:07'),(29886,13,10,'183.171.168.10','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.018172979354858','2016-09-07 17:35:07'),(29887,13,10,'183.171.168.10','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000020\' WHERE `ID` =  2250','expenses/fnSaveExpenses','0.012239933013916','2016-09-07 17:35:07'),(29888,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000020\', \'Cost of Goods Sold [OP-C[00000092]]\', \'Cost of Goods Sold [OP-C[00000092]]\', \'\', \'3\', \'2016-09-07\', \'16\', \'09\', 150, 150, \'10\')','expenses/fnSaveExpenses','0.010185956954956','2016-09-07 17:35:07'),(29889,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000020\', 1, \'Ayam\', \'32765\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000092]\', \'User\')','expenses/fnSaveExpenses','0.012142896652222','2016-09-07 17:35:07'),(29890,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000020\', 2, \'Ayam\', \'32773\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000092]\', \'User\')','expenses/fnSaveExpenses','0.0123450756073','2016-09-07 17:35:07'),(29891,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000020\', 3, \'Sayur\', \'32765\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000092]\', \'User\')','expenses/fnSaveExpenses','0.012163877487183','2016-09-07 17:35:07'),(29892,13,10,'183.171.168.10','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000020\', 4, \'Sayur\', \'32773\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000092]\', \'User\')','expenses/fnSaveExpenses','0.016547918319702','2016-09-07 17:35:07'),(29893,13,10,'183.171.168.10','update','UPDATE `comp_journal` SET `total_amount_dr` = 150, `total_amount_cr` = 150, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000020\'','expenses/fnSaveExpenses','0.016218900680542','2016-09-07 17:35:07'),(29894,13,10,'183.171.168.10','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2250','expenses/fnSaveExpenses','0.016249895095825','2016-09-07 17:35:07'),(29895,13,10,'183.171.168.10','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11462','expenses/fnSaveExpenses','0.012738943099976','2016-09-07 17:35:07'),(29896,13,10,'183.171.168.10','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000020\'','expenses/fnSaveExpenses','0.011787176132202','2016-09-07 17:35:07'),(29897,13,10,'183.171.168.10','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011862993240356','2016-09-07 17:35:07'),(29898,13,10,'183.171.168.10','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.019547939300537','2016-09-07 17:35:07'),(29899,13,10,'183.171.168.10','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32765\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016230821609497','2016-09-07 17:35:07'),(29900,13,10,'183.171.168.10','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012021064758301','2016-09-07 17:35:07'),(29901,1,1,'192.168.1.254','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.3036179542542','2016-09-08 09:56:17'),(29902,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-08\', \'122\', \'OR\', \'100.00\', \'13\')','sales/save_new_sale','0.11443400382996','2016-09-08 15:20:46'),(29903,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2285, \'harini\', \'100.00\', 0, 1)','sales/save_new_sale','0.016807794570923','2016-09-08 15:20:46'),(29904,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2285','sales/save_new_sale','0.00020790100097656','2016-09-08 15:20:46'),(29905,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'350\'','sales/save_new_sale','0.022541999816895','2016-09-08 15:20:46'),(29906,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000019\' WHERE `ID` =  2285','sales/save_new_sale','0.020301103591919','2016-09-08 15:20:46'),(29907,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000019\', \'OR[00000046]\', \'Sales [ OR[00000046] ]\', \'\', \'2\', \'2016-09-08\', \'2016\', \'09\', \'100\', \'100\', \'10\')','sales/save_new_sale','0.038925886154175','2016-09-08 15:20:46'),(29908,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000019\', 1, \'harini\', \'0\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'1\', \'OR[00000046]\', \'0\', \'User\')','sales/save_new_sale','0.041648864746094','2016-09-08 15:20:46'),(29909,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000019\', \'harini\', \'32761\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'OR[00000046]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012604951858521','2016-09-08 15:20:46'),(29910,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000019\'','sales/save_new_sale','0.028609991073608','2016-09-08 15:20:46'),(29911,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2285','sales/save_new_sale','0.012759923934937','2016-09-08 15:20:46'),(29912,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11463','sales/save_new_sale','0.012006044387817','2016-09-08 15:20:46'),(29913,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000019\'','sales/save_new_sale','0.032862901687622','2016-09-08 15:20:46'),(29914,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022372961044312','2016-09-08 15:20:46'),(29915,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015619039535522','2016-09-08 15:20:46'),(29916,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-08\', \'122\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.088070869445801','2016-09-08 15:22:02'),(29917,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2286, \'harini\', \'200.00\', 0, 1)','sales/save_new_sale','0.0078749656677246','2016-09-08 15:22:02'),(29918,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2286','sales/save_new_sale','0.00019192695617676','2016-09-08 15:22:02'),(29919,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'350\'','sales/save_new_sale','0.012656927108765','2016-09-08 15:22:02'),(29920,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000020\' WHERE `ID` =  2286','sales/save_new_sale','0.01162314414978','2016-09-08 15:22:02'),(29921,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000020\', \'OR[00000047]\', \'Sales [ OR[00000047] ]\', \'\', \'2\', \'2016-09-08\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.01459002494812','2016-09-08 15:22:02'),(29922,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000020\', 1, \'harini\', \'0\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000047]\', \'0\', \'User\')','sales/save_new_sale','0.012633085250854','2016-09-08 15:22:02'),(29923,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000020\', \'harini\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000047]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.011791944503784','2016-09-08 15:22:03'),(29924,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000020\'','sales/save_new_sale','0.012755870819092','2016-09-08 15:22:03'),(29925,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2286','sales/save_new_sale','0.011950016021729','2016-09-08 15:22:03'),(29926,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11464','sales/save_new_sale','0.012789011001587','2016-09-08 15:22:03'),(29927,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000020\'','sales/save_new_sale','0.016491889953613','2016-09-08 15:22:03'),(29928,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010628938674927','2016-09-08 15:22:03'),(29929,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012456893920898','2016-09-08 15:22:03'),(29930,13,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'100\', \'OP-C\', \'2016-09-08\', \'122\', \'1\')','expenses/fnSaveExpenses','0.076174020767212','2016-09-08 15:22:59'),(29931,13,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2251, \'10\', \'expenses\', 1, \'32773\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.14978218078613','2016-09-08 15:22:59'),(29932,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.025775909423828','2016-09-08 15:22:59'),(29933,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000021\' WHERE `ID` =  2251','expenses/fnSaveExpenses','0.012736082077026','2016-09-08 15:22:59'),(29934,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000021\', \'Cost of Goods Sold [OP-C[00000093]]\', \'Cost of Goods Sold [OP-C[00000093]]\', \'\', \'3\', \'2016-09-08\', \'16\', \'09\', 100, 100, \'10\')','expenses/fnSaveExpenses','0.022560119628906','2016-09-08 15:22:59'),(29935,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000021\', 1, \'expenses\', \'32761\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000093]\', \'User\')','expenses/fnSaveExpenses','0.011488914489746','2016-09-08 15:22:59'),(29936,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000021\', 2, \'expenses\', \'32773\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000093]\', \'User\')','expenses/fnSaveExpenses','0.016699075698853','2016-09-08 15:22:59'),(29937,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000021\'','expenses/fnSaveExpenses','0.012742042541504','2016-09-08 15:22:59'),(29938,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2251','expenses/fnSaveExpenses','0.011958837509155','2016-09-08 15:22:59'),(29939,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11465','expenses/fnSaveExpenses','0.016100883483887','2016-09-08 15:22:59'),(29940,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000021\'','expenses/fnSaveExpenses','0.025120973587036','2016-09-08 15:22:59'),(29941,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.039332151412964','2016-09-08 15:22:59'),(29942,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01085090637207','2016-09-08 15:22:59'),(29943,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'200\', \'OP-C\', \'2016-09-08\', \'122\', \'1\')','expenses/fnSaveExpenses','0.076241970062256','2016-09-08 15:28:10'),(29944,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2252, \'10\', \'hihi\', 1, \'32773\', \'200\', \'200\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041478157043457','2016-09-08 15:28:10'),(29945,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.018155813217163','2016-09-08 15:28:10'),(29946,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000022\' WHERE `ID` =  2252','expenses/fnSaveExpenses','0.016221046447754','2016-09-08 15:28:10'),(29947,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000022\', \'Cost of Goods Sold [OP-C[00000094]]\', \'Cost of Goods Sold [OP-C[00000094]]\', \'\', \'3\', \'2016-09-08\', \'16\', \'09\', 200, 200, \'10\')','expenses/fnSaveExpenses','0.019257068634033','2016-09-08 15:28:10'),(29948,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000022\', 1, \'hihi\', \'32761\', 200, 1, \'1\', \'200\', \'09\', \'16\', \'1\', \'OP-C[00000094]\', \'User\')','expenses/fnSaveExpenses','0.04138708114624','2016-09-08 15:28:10'),(29949,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000022\', 2, \'hihi\', \'32773\', 200, 1, \'1\', \'200\', \'09\', \'16\', \'1\', \'OP-C[00000094]\', \'User\')','expenses/fnSaveExpenses','0.011759042739868','2016-09-08 15:28:10'),(29950,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000022\'','expenses/fnSaveExpenses','0.012817144393921','2016-09-08 15:28:10'),(29951,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2252','expenses/fnSaveExpenses','0.011896848678589','2016-09-08 15:28:10'),(29952,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11466','expenses/fnSaveExpenses','0.012714147567749','2016-09-08 15:28:10'),(29953,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000022\'','expenses/fnSaveExpenses','0.011826038360596','2016-09-08 15:28:10'),(29954,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.022151947021484','2016-09-08 15:28:10'),(29955,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01626992225647','2016-09-08 15:28:10'),(29956,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1945469379425','2016-09-09 09:02:31'),(29957,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'321\', \'OP-C\', \'2016-09-09\', \'122\', \'1\')','expenses/fnSaveExpenses','0.059688091278076','2016-09-09 09:40:44'),(29958,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2253, \'10\', \'huhu\', 1, \'32773\', \'321\', \'321\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011615037918091','2016-09-09 09:40:44'),(29959,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.013288974761963','2016-09-09 09:40:44'),(29960,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000023\' WHERE `ID` =  2253','expenses/fnSaveExpenses','0.016798973083496','2016-09-09 09:40:44'),(29961,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000023\', \'Cost of Goods Sold [OP-C[00000095]]\', \'Cost of Goods Sold [OP-C[00000095]]\', \'\', \'3\', \'2016-09-09\', \'16\', \'09\', 321, 321, \'10\')','expenses/fnSaveExpenses','0.018978118896484','2016-09-09 09:40:44'),(29962,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000023\', 1, \'huhu\', \'32761\', 321, 1, \'1\', \'321\', \'09\', \'16\', \'1\', \'OP-C[00000095]\', \'User\')','expenses/fnSaveExpenses','0.011656999588013','2016-09-09 09:40:44'),(29963,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000023\', 2, \'huhu\', \'32773\', 321, 1, \'1\', \'321\', \'09\', \'16\', \'1\', \'OP-C[00000095]\', \'User\')','expenses/fnSaveExpenses','0.0077650547027588','2016-09-09 09:40:44'),(29964,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 321, `total_amount_cr` = 321, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000023\'','expenses/fnSaveExpenses','0.016772985458374','2016-09-09 09:40:44'),(29965,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2253','expenses/fnSaveExpenses','0.016248941421509','2016-09-09 09:40:44'),(29966,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11467','expenses/fnSaveExpenses','0.013067007064819','2016-09-09 09:40:44'),(29967,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000023\'','expenses/fnSaveExpenses','0.01145601272583','2016-09-09 09:40:44'),(29968,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.014096021652222','2016-09-09 09:40:44'),(29969,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012397050857544','2016-09-09 09:40:44'),(29970,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'545.00\', \'13\')','sales/save_new_sale','0.019573926925659','2016-09-09 09:47:15'),(29971,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2287, \'safasf\', \'545.00\', 0, 1)','sales/save_new_sale','0.011312007904053','2016-09-09 09:47:15'),(29972,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2287','sales/save_new_sale','0.00018501281738281','2016-09-09 09:47:15'),(29973,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'350\'','sales/save_new_sale','0.021101951599121','2016-09-09 09:47:15'),(29974,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000021\' WHERE `ID` =  2287','sales/save_new_sale','0.011360883712769','2016-09-09 09:47:15'),(29975,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000021\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'545\', \'545\', \'10\')','sales/save_new_sale','0.011116027832031','2016-09-09 09:47:15'),(29976,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000021\', 1, \'safasf\', \'0\', \'\', 545, \'1\', \'1\', \'545\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.011224985122681','2016-09-09 09:47:15'),(29977,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000021\', \'safasf\', \'32761\', \'\', 545, \'1\', \'1\', \'545\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0083539485931396','2016-09-09 09:47:15'),(29978,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 545, `total_amount_cr` = 545, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000021\'','sales/save_new_sale','0.0078849792480469','2016-09-09 09:47:15'),(29979,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2287','sales/save_new_sale','0.0085031986236572','2016-09-09 09:47:15'),(29980,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11468','sales/save_new_sale','0.016255140304565','2016-09-09 09:47:15'),(29981,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000021\'','sales/save_new_sale','0.030003070831299','2016-09-09 09:47:15'),(29982,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018764019012451','2016-09-09 09:47:15'),(29983,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012770891189575','2016-09-09 09:47:15'),(29984,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.096534967422485','2016-09-09 10:38:33'),(29985,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2288, \'Saya Fad\', \'200.00\', 0, 1)','sales/save_new_sale','0.011250019073486','2016-09-09 10:38:33'),(29986,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2288','sales/save_new_sale','0.00018191337585449','2016-09-09 10:38:33'),(29987,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'350\'','sales/save_new_sale','0.015059947967529','2016-09-09 10:38:33'),(29988,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000022\' WHERE `ID` =  2288','sales/save_new_sale','0.0078918933868408','2016-09-09 10:38:33'),(29989,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000022\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.031339883804321','2016-09-09 10:38:33'),(29990,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000022\', 1, \'Saya Fad\', \'0\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.024394989013672','2016-09-09 10:38:33'),(29991,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000022\', \'Saya Fad\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0083639621734619','2016-09-09 10:38:33'),(29992,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000022\'','sales/save_new_sale','0.0245361328125','2016-09-09 10:38:33'),(29993,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2288','sales/save_new_sale','0.0085020065307617','2016-09-09 10:38:33'),(29994,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11469','sales/save_new_sale','0.0079200267791748','2016-09-09 10:38:33'),(29995,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000022\'','sales/save_new_sale','0.030083179473877','2016-09-09 10:38:33'),(29996,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.027310132980347','2016-09-09 10:38:33'),(29997,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011053085327148','2016-09-09 10:38:33'),(29998,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.093441963195801','2016-09-09 10:39:38'),(29999,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2289, \'Saya fad\', \'200.00\', 0, 1)','sales/save_new_sale','0.011150121688843','2016-09-09 10:39:38'),(30000,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2289','sales/save_new_sale','0.00020599365234375','2016-09-09 10:39:38'),(30001,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'350\'','sales/save_new_sale','0.01441502571106','2016-09-09 10:39:38'),(30002,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000023\' WHERE `ID` =  2289','sales/save_new_sale','0.13260078430176','2016-09-09 10:39:38'),(30003,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000023\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.011272192001343','2016-09-09 10:39:38'),(30004,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000023\', 1, \'Saya fad\', \'0\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.027731895446777','2016-09-09 10:39:38'),(30005,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000023\', \'Saya fad\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0083630084991455','2016-09-09 10:39:38'),(30006,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000023\'','sales/save_new_sale','0.0078949928283691','2016-09-09 10:39:38'),(30007,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2289','sales/save_new_sale','0.0085041522979736','2016-09-09 10:39:38'),(30008,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11470','sales/save_new_sale','0.0079028606414795','2016-09-09 10:39:38'),(30009,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000023\'','sales/save_new_sale','0.0084819793701172','2016-09-09 10:39:38'),(30010,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.036199808120728','2016-09-09 10:39:38'),(30011,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010932922363281','2016-09-09 10:39:38'),(30012,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'500.00\', \'13\')','sales/save_new_sale','0.027276039123535','2016-09-09 10:39:56'),(30013,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2290, \'Saya fad\', \'200.00\', 0, 1)','sales/save_new_sale','0.011445999145508','2016-09-09 10:39:56'),(30014,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2290, \'Saya fad 2\', \'300.00\', 0, 2)','sales/save_new_sale','0.0079329013824463','2016-09-09 10:39:56'),(30015,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2290','sales/save_new_sale','0.00021004676818848','2016-09-09 10:39:56'),(30016,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'350\'','sales/save_new_sale','0.019618034362793','2016-09-09 10:39:56'),(30017,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000024\' WHERE `ID` =  2290','sales/save_new_sale','0.011185884475708','2016-09-09 10:39:56'),(30018,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000024\', \'OR[00000050]\', \'Sales [ OR[00000050] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.011337041854858','2016-09-09 10:39:56'),(30019,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000024\', 1, \'Saya fad\', \'0\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000050]\', \'0\', \'User\')','sales/save_new_sale','0.011056184768677','2016-09-09 10:39:56'),(30020,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000024\', \'Saya fad\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000050]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0083630084991455','2016-09-09 10:39:56'),(30021,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000024\', 3, \'Saya fad 2\', \'0\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'2\', \'OR[00000050]\', \'0\', \'User\')','sales/save_new_sale','0.013092994689941','2016-09-09 10:39:56'),(30022,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000024\', \'Saya fad 2\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000050]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.01139497756958','2016-09-09 10:39:56'),(30023,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000024\'','sales/save_new_sale','0.0078620910644531','2016-09-09 10:39:56'),(30024,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2290','sales/save_new_sale','0.0085470676422119','2016-09-09 10:39:56'),(30025,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11471','sales/save_new_sale','0.0078818798065186','2016-09-09 10:39:56'),(30026,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000024\'','sales/save_new_sale','0.0084748268127441','2016-09-09 10:39:56'),(30027,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011129140853882','2016-09-09 10:39:56'),(30028,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010951042175293','2016-09-09 10:39:56'),(30029,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012653112411499','2016-09-09 10:39:56'),(30030,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010982990264893','2016-09-09 10:39:56'),(30031,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'3000.00\', \'13\')','sales/save_new_sale','0.10884809494019','2016-09-09 10:54:17'),(30032,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2294, \'huhu\', \'3000.00\', 0, 1)','sales/save_new_sale','0.00848388671875','2016-09-09 10:54:17'),(30033,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2294','sales/save_new_sale','0.00019001960754395','2016-09-09 10:54:17'),(30034,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'350\'','sales/save_new_sale','0.0090570449829102','2016-09-09 10:54:17'),(30035,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000028\' WHERE `ID` =  2294','sales/save_new_sale','0.0084888935089111','2016-09-09 10:54:17'),(30036,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000028\', \'OR[00000054]\', \'Sales [ OR[00000054] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'3000\', \'3000\', \'10\')','sales/save_new_sale','0.011190176010132','2016-09-09 10:54:17'),(30037,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000028\', 1, \'huhu\', \'0\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'1\', \'OR[00000054]\', \'0\', \'User\')','sales/save_new_sale','0.011164903640747','2016-09-09 10:54:17'),(30038,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000028\', \'huhu\', \'32761\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'OR[00000054]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0077688694000244','2016-09-09 10:54:17'),(30039,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000028\'','sales/save_new_sale','0.013689994812012','2016-09-09 10:54:17'),(30040,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2294','sales/save_new_sale','0.011031150817871','2016-09-09 10:54:17'),(30041,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11475','sales/save_new_sale','0.008497953414917','2016-09-09 10:54:17'),(30042,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000028\'','sales/save_new_sale','0.0078909397125244','2016-09-09 10:54:17'),(30043,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012809991836548','2016-09-09 10:54:17'),(30044,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01880407333374','2016-09-09 10:54:17'),(30045,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'3000.00\', \'13\')','sales/save_new_sale','0.086145162582397','2016-09-09 10:54:56'),(30046,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2295, \'huhu\', \'3000.00\', 0, 1)','sales/save_new_sale','0.0078649520874023','2016-09-09 10:54:56'),(30047,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2295','sales/save_new_sale','0.00018405914306641','2016-09-09 10:54:56'),(30048,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'350\'','sales/save_new_sale','0.02304220199585','2016-09-09 10:54:56'),(30049,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000029\' WHERE `ID` =  2295','sales/save_new_sale','0.010909080505371','2016-09-09 10:54:56'),(30050,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000029\', \'OR[00000055]\', \'Sales [ OR[00000055] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'3000\', \'3000\', \'10\')','sales/save_new_sale','0.019965887069702','2016-09-09 10:54:56'),(30051,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000029\', 1, \'huhu\', \'0\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'1\', \'OR[00000055]\', \'0\', \'User\')','sales/save_new_sale','0.010756969451904','2016-09-09 10:54:56'),(30052,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000029\', \'huhu\', \'32761\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'OR[00000055]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0083379745483398','2016-09-09 10:54:56'),(30053,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000029\'','sales/save_new_sale','0.007882833480835','2016-09-09 10:54:56'),(30054,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2295','sales/save_new_sale','0.0085289478302002','2016-09-09 10:54:56'),(30055,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11476','sales/save_new_sale','0.0079200267791748','2016-09-09 10:54:56'),(30056,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000029\'','sales/save_new_sale','0.0084710121154785','2016-09-09 10:54:56'),(30057,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.020836114883423','2016-09-09 10:54:56'),(30058,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018946170806885','2016-09-09 10:54:56'),(30059,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'3000.00\', \'13\')','sales/save_new_sale','0.11992216110229','2016-09-09 10:55:54'),(30060,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2296, \'huhu\', \'3000.00\', 0, 1)','sales/save_new_sale','0.011065006256104','2016-09-09 10:55:54'),(30061,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2296','sales/save_new_sale','0.00021004676818848','2016-09-09 10:55:54'),(30062,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  \'350\'','sales/save_new_sale','0.042402029037476','2016-09-09 10:55:54'),(30063,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000030\' WHERE `ID` =  2296','sales/save_new_sale','0.013864040374756','2016-09-09 10:55:54'),(30064,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000030\', \'OR[00000051]\', \'Sales [ OR[00000051] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'3000\', \'3000\', \'10\')','sales/save_new_sale','0.008544921875','2016-09-09 10:55:54'),(30065,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000030\', 1, \'huhu\', \'0\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'1\', \'OR[00000051]\', \'0\', \'User\')','sales/save_new_sale','0.0083119869232178','2016-09-09 10:55:54'),(30066,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000030\', \'huhu\', \'32761\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'OR[00000051]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.024461030960083','2016-09-09 10:55:54'),(30067,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000030\'','sales/save_new_sale','0.0084249973297119','2016-09-09 10:55:54'),(30068,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2296','sales/save_new_sale','0.0079169273376465','2016-09-09 10:55:54'),(30069,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11477','sales/save_new_sale','0.008491039276123','2016-09-09 10:55:54'),(30070,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000030\'','sales/save_new_sale','0.02454686164856','2016-09-09 10:55:54'),(30071,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015016078948975','2016-09-09 10:55:54'),(30072,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010156869888306','2016-09-09 10:55:54'),(30073,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'3000.00\', \'13\')','sales/save_new_sale','0.019378900527954','2016-09-09 11:06:46'),(30074,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2297, \'huhu\', \'3000.00\', 0, 1)','sales/save_new_sale','0.04771614074707','2016-09-09 11:06:46'),(30075,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2297','sales/save_new_sale','0.016175985336304','2016-09-09 11:06:46'),(30076,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  \'350\'','sales/save_new_sale','0.011477947235107','2016-09-09 11:06:46'),(30077,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000031\' WHERE `ID` =  2297','sales/save_new_sale','0.010987043380737','2016-09-09 11:06:46'),(30078,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000031\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'3000\', \'3000\', \'10\')','sales/save_new_sale','0.011425018310547','2016-09-09 11:06:46'),(30079,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000031\', 1, \'huhu\', \'0\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.010842084884644','2016-09-09 11:06:46'),(30080,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000031\', \'huhu\', \'32761\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016103982925415','2016-09-09 11:06:46'),(30081,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000031\'','sales/save_new_sale','0.008450984954834','2016-09-09 11:06:46'),(30082,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2297','sales/save_new_sale','0.016260147094727','2016-09-09 11:06:46'),(30083,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11478','sales/save_new_sale','0.0084741115570068','2016-09-09 11:06:46'),(30084,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000031\'','sales/save_new_sale','0.013696193695068','2016-09-09 11:06:46'),(30085,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.0099148750305176','2016-09-09 11:06:46'),(30086,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015647888183594','2016-09-09 11:06:46'),(30087,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'3120.00\', \'13\')','sales/save_new_sale','0.086355924606323','2016-09-09 11:08:09'),(30088,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2298, \'huhu\', \'3000.00\', 0, 1)','sales/save_new_sale','0.016210079193115','2016-09-09 11:08:09'),(30089,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2298, \'hihi\', \'120.00\', 0, 2)','sales/save_new_sale','0.0085079669952393','2016-09-09 11:08:09'),(30090,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2298','sales/save_new_sale','0.00022387504577637','2016-09-09 11:08:09'),(30091,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  \'350\'','sales/save_new_sale','0.025261878967285','2016-09-09 11:08:09'),(30092,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000032\' WHERE `ID` =  2298','sales/save_new_sale','0.0084807872772217','2016-09-09 11:08:09'),(30093,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000032\', \'OR[00000050]\', \'Sales [ OR[00000050] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'3120\', \'3120\', \'10\')','sales/save_new_sale','0.011598110198975','2016-09-09 11:08:09'),(30094,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000032\', 1, \'huhu\', \'0\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'1\', \'OR[00000050]\', \'0\', \'User\')','sales/save_new_sale','0.010756969451904','2016-09-09 11:08:09'),(30095,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000032\', \'huhu\', \'32761\', \'\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'OR[00000050]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016098976135254','2016-09-09 11:08:09'),(30096,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000032\', 3, \'hihi\', \'0\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'2\', \'OR[00000050]\', \'0\', \'User\')','sales/save_new_sale','0.0083599090576172','2016-09-09 11:08:09'),(30097,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000032\', \'hihi\', \'32761\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000050]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.016101121902466','2016-09-09 11:08:09'),(30098,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 3120, `total_amount_cr` = 3120, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000032\'','sales/save_new_sale','0.0084459781646729','2016-09-09 11:08:09'),(30099,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2298','sales/save_new_sale','0.016252040863037','2016-09-09 11:08:09'),(30100,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11479','sales/save_new_sale','0.0085201263427734','2016-09-09 11:08:09'),(30101,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000032\'','sales/save_new_sale','0.01619291305542','2016-09-09 11:08:09'),(30102,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.013024806976318','2016-09-09 11:08:09'),(30103,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018404960632324','2016-09-09 11:08:09'),(30104,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.0078599452972412','2016-09-09 11:08:09'),(30105,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.02400279045105','2016-09-09 11:08:09'),(30106,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.12532806396484','2016-09-09 11:36:49'),(30107,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2299, \'huhu\', \'300.00\', 0, 1)','sales/save_new_sale','0.016523838043213','2016-09-09 11:36:49'),(30108,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2299','sales/save_new_sale','0.00021815299987793','2016-09-09 11:36:49'),(30109,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  \'350\'','sales/save_new_sale','0.015301942825317','2016-09-09 11:36:49'),(30110,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000033\' WHERE `ID` =  2299','sales/save_new_sale','0.018861055374146','2016-09-09 11:36:49'),(30111,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000033\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.0119788646698','2016-09-09 11:36:49'),(30112,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000033\', 1, \'huhu\', \'0\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.018733024597168','2016-09-09 11:36:49'),(30113,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000033\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0083441734313965','2016-09-09 11:36:49'),(30114,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000033\'','sales/save_new_sale','0.032892942428589','2016-09-09 11:36:49'),(30115,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2299','sales/save_new_sale','0.025171995162964','2016-09-09 11:36:49'),(30116,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11480','sales/save_new_sale','0.016254901885986','2016-09-09 11:36:49'),(30117,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000033\'','sales/save_new_sale','0.0084490776062012','2016-09-09 11:36:49'),(30118,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022105932235718','2016-09-09 11:36:49'),(30119,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024580001831055','2016-09-09 11:36:49'),(30120,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'420.00\', \'13\')','sales/save_new_sale','0.094604969024658','2016-09-09 11:37:08'),(30121,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2300, \'huhu\', \'300.00\', 0, 1)','sales/save_new_sale','0.053599834442139','2016-09-09 11:37:08'),(30122,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2300, \'hihi\', \'120.00\', 0, 2)','sales/save_new_sale','0.038111925125122','2016-09-09 11:37:08'),(30123,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2300','sales/save_new_sale','0.00019621849060059','2016-09-09 11:37:08'),(30124,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  \'350\'','sales/save_new_sale','0.01604700088501','2016-09-09 11:37:08'),(30125,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000034\' WHERE `ID` =  2300','sales/save_new_sale','0.025146007537842','2016-09-09 11:37:08'),(30126,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000034\', \'OR[00000050]\', \'Sales [ OR[00000050] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'420\', \'420\', \'10\')','sales/save_new_sale','0.022388935089111','2016-09-09 11:37:08'),(30127,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000034\', 1, \'huhu\', \'0\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000050]\', \'0\', \'User\')','sales/save_new_sale','0.014076948165894','2016-09-09 11:37:08'),(30128,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000034\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000050]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.018693923950195','2016-09-09 11:37:08'),(30129,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000034\', 3, \'hihi\', \'0\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'2\', \'OR[00000050]\', \'0\', \'User\')','sales/save_new_sale','0.0083630084991455','2016-09-09 11:37:09'),(30130,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000034\', \'hihi\', \'32761\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000050]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.016113042831421','2016-09-09 11:37:09'),(30131,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 420, `total_amount_cr` = 420, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000034\'','sales/save_new_sale','0.0084609985351562','2016-09-09 11:37:09'),(30132,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2300','sales/save_new_sale','0.024577140808105','2016-09-09 11:37:09'),(30133,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11481','sales/save_new_sale','0.0085229873657227','2016-09-09 11:37:09'),(30134,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000034\'','sales/save_new_sale','0.016219139099121','2016-09-09 11:37:09'),(30135,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.0075099468231201','2016-09-09 11:37:09'),(30136,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.12808799743652','2016-09-09 11:37:09'),(30137,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.037200927734375','2016-09-09 11:37:09'),(30138,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023983955383301','2016-09-09 11:37:09'),(30139,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'109\', \'OR\', \'12.00\', \'12\')','sales/save_new_sale','0.13744616508484','2016-09-09 11:42:47'),(30140,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2301, \'cuba\', \'12.00\', 0, 1)','sales/save_new_sale','0.016813993453979','2016-09-09 11:42:47'),(30141,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2301','sales/save_new_sale','0.00019001960754395','2016-09-09 11:42:47'),(30142,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'354\'','sales/save_new_sale','0.01581883430481','2016-09-09 11:42:47'),(30143,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000003\' WHERE `ID` =  2301','sales/save_new_sale','0.016808986663818','2016-09-09 11:42:47'),(30144,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000003\', \'OR[00000039]\', \'Sales [ OR[00000039] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'12\', \'12\', \'11\')','sales/save_new_sale','0.028501987457275','2016-09-09 11:42:47'),(30145,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000003\', 1, \'cuba\', \'0\', \'\', 12, \'1\', \'1\', \'12\', \'09\', \'2016\', \'1\', \'OR[00000039]\', \'0\', \'User\')','sales/save_new_sale','0.018843173980713','2016-09-09 11:42:47'),(30146,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000003\', \'cuba\', \'32573\', \'\', 12, \'1\', \'1\', \'12\', \'09\', \'2016\', \'OR[00000039]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016108989715576','2016-09-09 11:42:47'),(30147,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 12, `total_amount_cr` = 12, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000003\'','sales/save_new_sale','0.016790866851807','2016-09-09 11:42:47'),(30148,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2301','sales/save_new_sale','0.016273975372314','2016-09-09 11:42:47'),(30149,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11482','sales/save_new_sale','0.016825914382935','2016-09-09 11:42:47'),(30150,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000003\'','sales/save_new_sale','0.016220092773438','2016-09-09 11:42:47'),(30151,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015449047088623','2016-09-09 11:42:47'),(30152,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32573\', \'2016\', \'9\', \'12\', \'0\', 12, \'User\', \'2016-09-09: 05:09:47\')','sales/save_new_sale','0.017977952957153','2016-09-09 11:42:47'),(30153,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'109\', \'OR\', \'12.00\', \'12\')','sales/save_new_sale','0.020761013031006','2016-09-09 11:49:55'),(30154,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2302, \'cuba\', \'12.00\', 0, 1)','sales/save_new_sale','0.025163888931274','2016-09-09 11:49:55'),(30155,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2302','sales/save_new_sale','0.00019598007202148','2016-09-09 11:49:55'),(30156,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'354\'','sales/save_new_sale','0.013689994812012','2016-09-09 11:49:55'),(30157,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000004\' WHERE `ID` =  2302','sales/save_new_sale','0.018948078155518','2016-09-09 11:49:55'),(30158,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000004\', \'OR[00000040]\', \'Sales [ OR[00000040] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'12\', \'12\', \'11\')','sales/save_new_sale','0.011919975280762','2016-09-09 11:49:55'),(30159,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000004\', 1, \'cuba\', \'0\', \'\', 12, \'1\', \'1\', \'12\', \'09\', \'2016\', \'1\', \'OR[00000040]\', \'0\', \'User\')','sales/save_new_sale','0.01882004737854','2016-09-09 11:49:55'),(30160,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000004\', \'cuba\', \'32573\', \'\', 12, \'1\', \'1\', \'12\', \'09\', \'2016\', \'OR[00000040]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01609206199646','2016-09-09 11:49:55'),(30161,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 12, `total_amount_cr` = 12, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000004\'','sales/save_new_sale','0.016813039779663','2016-09-09 11:49:55'),(30162,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2302','sales/save_new_sale','0.024576187133789','2016-09-09 11:49:55'),(30163,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11483','sales/save_new_sale','0.016811847686768','2016-09-09 11:49:55'),(30164,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000004\'','sales/save_new_sale','0.016235113143921','2016-09-09 11:49:55'),(30165,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015867948532104','2016-09-09 11:49:55'),(30166,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.03235387802124','2016-09-09 11:49:55'),(30167,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.087104082107544','2016-09-09 12:10:28'),(30168,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2303, \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.018261194229126','2016-09-09 12:10:29'),(30169,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2303','sales/save_new_sale','0.00021505355834961','2016-09-09 12:10:29'),(30170,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017580986022949','2016-09-09 12:10:29'),(30171,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000035\' WHERE `ID` =  2303','sales/save_new_sale','0.01619291305542','2016-09-09 12:10:29'),(30172,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000035\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.02283787727356','2016-09-09 12:10:29'),(30173,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000035\', 1, \'huhu\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.016054153442383','2016-09-09 12:10:29'),(30174,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000035\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016686916351318','2016-09-09 12:10:29'),(30175,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000035\'','sales/save_new_sale','0.024540901184082','2016-09-09 12:10:29'),(30176,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2303','sales/save_new_sale','0.016805171966553','2016-09-09 12:10:29'),(30177,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11484','sales/save_new_sale','0.016213893890381','2016-09-09 12:10:29'),(30178,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000035\'','sales/save_new_sale','0.033459901809692','2016-09-09 12:10:29'),(30179,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015110015869141','2016-09-09 12:10:29'),(30180,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016148090362549','2016-09-09 12:10:29'),(30181,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'420.00\', `companyID` = \'13\' WHERE `ID` =  \'2303\'','sales/save_new_sale','0.08699893951416','2016-09-09 12:10:44'),(30182,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2303\'','sales/save_new_sale','0.016826152801514','2016-09-09 12:10:45'),(30183,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2303\', \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.032923936843872','2016-09-09 12:10:45'),(30184,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2303\', \'32772\', \'hihi\', \'120.00\', 2)','sales/save_new_sale','0.016839981079102','2016-09-09 12:10:45'),(30185,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` IS NULL','sales/save_new_sale','0.00011587142944336','2016-09-09 12:10:45'),(30186,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.094429969787598','2016-09-09 12:17:01'),(30187,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2304, \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.065042018890381','2016-09-09 12:17:01'),(30188,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2304','sales/save_new_sale','0.00018405914306641','2016-09-09 12:17:01'),(30189,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  \'350\'','sales/save_new_sale','0.035386085510254','2016-09-09 12:17:01'),(30190,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000036\' WHERE `ID` =  2304','sales/save_new_sale','0.024513959884644','2016-09-09 12:17:01'),(30191,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000036\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.014553070068359','2016-09-09 12:17:01'),(30192,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000036\', 1, \'huhu\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.016068935394287','2016-09-09 12:17:01'),(30193,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000036\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016685009002686','2016-09-09 12:17:01'),(30194,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000036\'','sales/save_new_sale','0.016207933425903','2016-09-09 12:17:01'),(30195,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2304','sales/save_new_sale','0.016826152801514','2016-09-09 12:17:01'),(30196,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11485','sales/save_new_sale','0.016252040863037','2016-09-09 12:17:01'),(30197,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000036\'','sales/save_new_sale','0.016811847686768','2016-09-09 12:17:01'),(30198,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018355131149292','2016-09-09 12:17:01'),(30199,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016224145889282','2016-09-09 12:17:01'),(30200,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'420.00\', `companyID` = \'13\' WHERE `ID` =  \'2304\'','sales/save_new_sale','0.24225187301636','2016-09-09 12:17:16'),(30201,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2304\'','sales/save_new_sale','0.036990880966187','2016-09-09 12:17:16'),(30202,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2304\', \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.036180973052979','2016-09-09 12:17:16'),(30203,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2304\', \'32772\', \'hihi\', \'120.00\', 2)','sales/save_new_sale','0.018141984939575','2016-09-09 12:17:16'),(30204,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` IS NULL','sales/save_new_sale','0.00012397766113281','2016-09-09 12:17:16'),(30205,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.10751295089722','2016-09-09 12:20:36'),(30206,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2305, \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.032902956008911','2016-09-09 12:20:36'),(30207,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2305','sales/save_new_sale','0.00020098686218262','2016-09-09 12:20:36'),(30208,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  \'350\'','sales/save_new_sale','0.033601999282837','2016-09-09 12:20:36'),(30209,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000037\' WHERE `ID` =  2305','sales/save_new_sale','0.041534900665283','2016-09-09 12:20:36'),(30210,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000037\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.030939102172852','2016-09-09 12:20:36'),(30211,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000037\', 1, \'huhu\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.016674041748047','2016-09-09 12:20:36'),(30212,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000037\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016098022460938','2016-09-09 12:20:36'),(30213,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000037\'','sales/save_new_sale','0.01678991317749','2016-09-09 12:20:36'),(30214,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2305','sales/save_new_sale','0.016212940216064','2016-09-09 12:20:36'),(30215,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11486','sales/save_new_sale','0.016829013824463','2016-09-09 12:20:36'),(30216,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000037\'','sales/save_new_sale','0.016196966171265','2016-09-09 12:20:36'),(30217,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015881061553955','2016-09-09 12:20:36'),(30218,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015707015991211','2016-09-09 12:20:37'),(30219,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'420.00\', `companyID` = \'13\' WHERE `ID` =  \'2305\'','sales/save_new_sale','0.024551153182983','2016-09-09 12:20:48'),(30220,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2305\'','sales/save_new_sale','0.01682186126709','2016-09-09 12:20:48'),(30221,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2305\', \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.016234874725342','2016-09-09 12:20:48'),(30222,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2305\', \'32772\', \'hihi\', \'120.00\', 2)','sales/save_new_sale','0.016885042190552','2016-09-09 12:20:48'),(30223,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` IS NULL','sales/save_new_sale','0.00011610984802246','2016-09-09 12:20:48'),(30224,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'300\', \'OP-C\', \'2016-09-09\', \'122\', \'1\')','expenses/fnSaveExpenses','0.06208610534668','2016-09-09 12:22:03'),(30225,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2254, \'10\', \'hihi\', 1, \'32773\', \'300\', \'300\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.040048122406006','2016-09-09 12:22:03'),(30226,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.025058031082153','2016-09-09 12:22:03'),(30227,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000024\' WHERE `ID` =  2254','expenses/fnSaveExpenses','0.016808986663818','2016-09-09 12:22:03'),(30228,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000024\', \'Cost of Goods Sold [OP-C[00000096]]\', \'Cost of Goods Sold [OP-C[00000096]]\', \'\', \'3\', \'2016-09-09\', \'16\', \'09\', 300, 300, \'10\')','expenses/fnSaveExpenses','0.012519836425781','2016-09-09 12:22:03'),(30229,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000024\', 1, \'hihi\', \'32761\', 300, 1, \'1\', \'300\', \'09\', \'16\', \'1\', \'OP-C[00000096]\', \'User\')','expenses/fnSaveExpenses','0.024700880050659','2016-09-09 12:22:03'),(30230,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000024\', 2, \'hihi\', \'32773\', 300, 1, \'1\', \'300\', \'09\', \'16\', \'1\', \'OP-C[00000096]\', \'User\')','expenses/fnSaveExpenses','0.13030195236206','2016-09-09 12:22:03'),(30231,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000024\'','expenses/fnSaveExpenses','0.01922607421875','2016-09-09 12:22:03'),(30232,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2254','expenses/fnSaveExpenses','0.017940044403076','2016-09-09 12:22:03'),(30233,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11487','expenses/fnSaveExpenses','0.02501106262207','2016-09-09 12:22:03'),(30234,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000024\'','expenses/fnSaveExpenses','0.032845973968506','2016-09-09 12:22:03'),(30235,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.017863035202026','2016-09-09 12:22:03'),(30236,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015574932098389','2016-09-09 12:22:03'),(30237,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50355\'','expenses/fnSaveExpenses','0.01860499382019','2016-09-09 12:22:18'),(30238,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50356\'','expenses/fnSaveExpenses','0.01621413230896','2016-09-09 12:22:18'),(30239,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'11487\'','expenses/fnSaveExpenses','0.016828060150146','2016-09-09 12:22:18'),(30240,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = \'32773\', `paymentMethodID` = \'68\', `amountPaid` = \'420\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-09\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2254','expenses/fnSaveExpenses','0.01235294342041','2016-09-09 12:22:18'),(30241,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2254, `createdBy` = \'10\', `itemdescription` = \'hihi\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'300\', `amountExcludedTax` = \'300\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2293\'','expenses/fnSaveExpenses','0.00019192695617676','2016-09-09 12:22:18'),(30242,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2254, \'10\', \'huhu\', 1, \'32773\', \'120\', \'120\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.017765998840332','2016-09-09 12:22:18'),(30243,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.011523962020874','2016-09-09 12:22:18'),(30244,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000025\' WHERE `ID` =  2254','expenses/fnSaveExpenses','0.018277883529663','2016-09-09 12:22:18'),(30245,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000025\', \'Cost of Goods Sold [OP-C[00000096]]\', \'Cost of Goods Sold [OP-C[00000096]]\', \'\', \'3\', \'2016-09-09\', \'16\', \'09\', 420, 420, \'10\')','expenses/fnSaveExpenses','0.015685081481934','2016-09-09 12:22:18'),(30246,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000025\', 1, \'hihi\', \'32761\', 300, 1, \'1\', \'300\', \'09\', \'16\', \'1\', \'OP-C[00000096]\', \'User\')','expenses/fnSaveExpenses','0.016687154769897','2016-09-09 12:22:18'),(30247,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000025\', 2, \'hihi\', \'32773\', 300, 1, \'1\', \'300\', \'09\', \'16\', \'1\', \'OP-C[00000096]\', \'User\')','expenses/fnSaveExpenses','0.016126871109009','2016-09-09 12:22:18'),(30248,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000025\', 3, \'huhu\', \'32761\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000096]\', \'User\')','expenses/fnSaveExpenses','0.016700983047485','2016-09-09 12:22:18'),(30249,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000025\', 4, \'huhu\', \'32773\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000096]\', \'User\')','expenses/fnSaveExpenses','0.016162157058716','2016-09-09 12:22:18'),(30250,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 420, `total_amount_cr` = 420, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000025\'','expenses/fnSaveExpenses','0.016803979873657','2016-09-09 12:22:18'),(30251,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2254','expenses/fnSaveExpenses','0.016237020492554','2016-09-09 12:22:18'),(30252,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11488','expenses/fnSaveExpenses','0.016752004623413','2016-09-09 12:22:18'),(30253,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000025\'','expenses/fnSaveExpenses','0.016206026077271','2016-09-09 12:22:18'),(30254,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015880823135376','2016-09-09 12:22:18'),(30255,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015697002410889','2016-09-09 12:22:18'),(30256,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016268968582153','2016-09-09 12:22:18'),(30257,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015704870223999','2016-09-09 12:22:18'),(30258,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.23256087303162','2016-09-09 12:28:06'),(30259,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2306, \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.029014110565186','2016-09-09 12:28:06'),(30260,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2306','sales/save_new_sale','0.00020694732666016','2016-09-09 12:28:07'),(30261,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  \'350\'','sales/save_new_sale','0.026638031005859','2016-09-09 12:28:07'),(30262,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000038\' WHERE `ID` =  2306','sales/save_new_sale','0.016206026077271','2016-09-09 12:28:07'),(30263,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000038\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.014652967453003','2016-09-09 12:28:07'),(30264,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000038\', 1, \'huhu\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016088008880615','2016-09-09 12:28:07'),(30265,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000038\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.025028944015503','2016-09-09 12:28:07'),(30266,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000038\'','sales/save_new_sale','0.016203165054321','2016-09-09 12:28:07'),(30267,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2306','sales/save_new_sale','0.016827821731567','2016-09-09 12:28:07'),(30268,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11489','sales/save_new_sale','0.016240835189819','2016-09-09 12:28:07'),(30269,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000038\'','sales/save_new_sale','0.016817092895508','2016-09-09 12:28:07'),(30270,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.030409097671509','2016-09-09 12:28:07'),(30271,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.066288948059082','2016-09-09 12:28:07'),(30272,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'420.00\', `companyID` = \'13\' WHERE `ID` =  \'2306\'','sales/save_new_sale','0.093344926834106','2016-09-09 12:28:25'),(30273,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2306\'','sales/save_new_sale','0.016198873519897','2016-09-09 12:28:25'),(30274,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2306\', \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.01684308052063','2016-09-09 12:28:25'),(30275,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2306\', \'32772\', \'hihi\', \'120.00\', 2)','sales/save_new_sale','0.016248941421509','2016-09-09 12:28:25'),(30276,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  1','sales/save_new_sale','0.00020313262939453','2016-09-09 12:28:25'),(30277,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.020918846130371','2016-09-09 12:29:58'),(30278,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2307, \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.016813993453979','2016-09-09 12:29:58'),(30279,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2307','sales/save_new_sale','0.00019311904907227','2016-09-09 12:29:58'),(30280,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'350\'','sales/save_new_sale','0.023839950561523','2016-09-09 12:29:58'),(30281,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000039\' WHERE `ID` =  2307','sales/save_new_sale','0.016794204711914','2016-09-09 12:29:58'),(30282,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000039\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.013978004455566','2016-09-09 12:29:58'),(30283,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000039\', 1, \'huhu\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.01667308807373','2016-09-09 12:29:58'),(30284,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000039\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016085863113403','2016-09-09 12:29:58'),(30285,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000039\'','sales/save_new_sale','0.016790151596069','2016-09-09 12:29:58'),(30286,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2307','sales/save_new_sale','0.016243934631348','2016-09-09 12:29:58'),(30287,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11490','sales/save_new_sale','0.016819000244141','2016-09-09 12:29:58'),(30288,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000039\'','sales/save_new_sale','0.016202926635742','2016-09-09 12:29:58'),(30289,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015788078308105','2016-09-09 12:29:58'),(30290,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01561713218689','2016-09-09 12:29:58'),(30291,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'420.00\', `companyID` = \'13\' WHERE `ID` =  \'2307\'','sales/save_new_sale','0.10211300849915','2016-09-09 12:30:16'),(30292,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2307\'','sales/save_new_sale','0.016195058822632','2016-09-09 12:30:16'),(30293,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2307\', \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.016845941543579','2016-09-09 12:30:16'),(30294,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2307\', \'32772\', \'hihi\', \'120.00\', 2)','sales/save_new_sale','0.016233205795288','2016-09-09 12:30:16'),(30295,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` IS NULL','sales/save_new_sale','0.00010800361633301','2016-09-09 12:30:16'),(30296,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'520.00\', `companyID` = \'13\' WHERE `ID` =  \'2307\'','sales/save_new_sale','0.089171171188354','2016-09-09 12:31:43'),(30297,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2307\'','sales/save_new_sale','0.016831874847412','2016-09-09 12:31:43'),(30298,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2307\', \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.016227960586548','2016-09-09 12:31:43'),(30299,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2307\', \'32772\', \'hihi\', \'120.00\', 2)','sales/save_new_sale','0.016847133636475','2016-09-09 12:31:43'),(30300,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2307\', \'32772\', \'haha\', \'100.00\', 3)','sales/save_new_sale','0.016251802444458','2016-09-09 12:31:43'),(30301,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` IS NULL','sales/save_new_sale','0.00011920928955078','2016-09-09 12:31:43'),(30302,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.13190817832947','2016-09-09 12:36:09'),(30303,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2308, \'32772\', \'hihi\', \'300.00\', 1)','sales/save_new_sale','0.01622200012207','2016-09-09 12:36:09'),(30304,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2308','sales/save_new_sale','0.00021195411682129','2016-09-09 12:36:09'),(30305,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'350\'','sales/save_new_sale','0.026263952255249','2016-09-09 12:36:09'),(30306,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000040\' WHERE `ID` =  2308','sales/save_new_sale','0.016203880310059','2016-09-09 12:36:09'),(30307,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000040\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.031271934509277','2016-09-09 12:36:09'),(30308,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000040\', 1, \'hihi\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.01605486869812','2016-09-09 12:36:09'),(30309,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000040\', \'hihi\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016710996627808','2016-09-09 12:36:09'),(30310,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000040\'','sales/save_new_sale','0.016446828842163','2016-09-09 12:36:09'),(30311,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2308','sales/save_new_sale','0.14157295227051','2016-09-09 12:36:09'),(30312,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11491','sales/save_new_sale','0.051235914230347','2016-09-09 12:36:09'),(30313,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000040\'','sales/save_new_sale','0.02341103553772','2016-09-09 12:36:09'),(30314,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.025794982910156','2016-09-09 12:36:09'),(30315,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016229867935181','2016-09-09 12:36:09'),(30316,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'420.00\', `companyID` = \'13\' WHERE `ID` =  \'2308\'','sales/save_new_sale','0.092499017715454','2016-09-09 12:37:33'),(30317,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2308\'','sales/save_new_sale','0.016212940216064','2016-09-09 12:37:33'),(30318,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2308\', \'32772\', \'hihi\', \'300.00\', 1)','sales/save_new_sale','0.016864061355591','2016-09-09 12:37:33'),(30319,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2308\', \'32772\', \'huhu\', \'120.00\', 2)','sales/save_new_sale','0.01622486114502','2016-09-09 12:37:33'),(30320,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2308\'','sales/save_new_sale','0.017884016036987','2016-09-09 12:37:33'),(30321,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  \'350\'','sales/save_new_sale','0.01541805267334','2016-09-09 12:37:34'),(30322,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000041\' WHERE `ID` =  \'2308\'','sales/save_new_sale','0.016783952713013','2016-09-09 12:37:34'),(30323,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000041\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'420\', \'420\', \'10\')','sales/save_new_sale','0.022456884384155','2016-09-09 12:37:34'),(30324,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2308\'','sales/save_new_sale','0.01678991317749','2016-09-09 12:37:34'),(30325,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11492','sales/save_new_sale','0.016242980957031','2016-09-09 12:37:34'),(30326,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000041\'','sales/save_new_sale','0.021062135696411','2016-09-09 12:37:34'),(30327,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.12870287895203','2016-09-09 12:46:08'),(30328,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2309, \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.016205072402954','2016-09-09 12:46:08'),(30329,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2309','sales/save_new_sale','0.00020408630371094','2016-09-09 12:46:08'),(30330,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'350\'','sales/save_new_sale','0.0174560546875','2016-09-09 12:46:08'),(30331,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000042\' WHERE `ID` =  2309','sales/save_new_sale','0.016191005706787','2016-09-09 12:46:08'),(30332,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000042\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.02296781539917','2016-09-09 12:46:08'),(30333,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000042\', 1, \'huhu\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.032752990722656','2016-09-09 12:46:08'),(30334,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000042\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016690969467163','2016-09-09 12:46:08'),(30335,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000042\'','sales/save_new_sale','0.024543046951294','2016-09-09 12:46:08'),(30336,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2309','sales/save_new_sale','0.025162935256958','2016-09-09 12:46:08'),(30337,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11493','sales/save_new_sale','0.016221046447754','2016-09-09 12:46:08'),(30338,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000042\'','sales/save_new_sale','0.05817699432373','2016-09-09 12:46:08'),(30339,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.03903603553772','2016-09-09 12:46:08'),(30340,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.048930168151855','2016-09-09 12:46:08'),(30341,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.089117050170898','2016-09-09 12:48:22'),(30342,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2310, \'32772\', \'huhu\', \'300.00\', 1)','sales/save_new_sale','0.032898902893066','2016-09-09 12:48:22'),(30343,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2310','sales/save_new_sale','0.00018405914306641','2016-09-09 12:48:22'),(30344,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'350\'','sales/save_new_sale','0.054137945175171','2016-09-09 12:48:22'),(30345,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000043\' WHERE `ID` =  2310','sales/save_new_sale','0.033267021179199','2016-09-09 12:48:22'),(30346,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000043\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.030918121337891','2016-09-09 12:48:22'),(30347,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000043\', 1, \'huhu\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.033020973205566','2016-09-09 12:48:22'),(30348,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000043\', \'huhu\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016709089279175','2016-09-09 12:48:22'),(30349,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000043\'','sales/save_new_sale','0.024540901184082','2016-09-09 12:48:22'),(30350,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2310','sales/save_new_sale','0.016829967498779','2016-09-09 12:48:22'),(30351,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11494','sales/save_new_sale','0.02459192276001','2016-09-09 12:48:22'),(30352,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000043\'','sales/save_new_sale','0.016822099685669','2016-09-09 12:48:22'),(30353,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023624897003174','2016-09-09 12:48:22'),(30354,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016252040863037','2016-09-09 12:48:22'),(30355,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'350.00\', \'13\')','sales/save_new_sale','0.028421878814697','2016-09-09 12:52:54'),(30356,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2311, \'32772\', \'huhu\', \'350.00\', 1)','sales/save_new_sale','0.016206979751587','2016-09-09 12:52:54'),(30357,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2311','sales/save_new_sale','0.00018692016601562','2016-09-09 12:52:54'),(30358,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017812967300415','2016-09-09 12:52:54'),(30359,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000044\' WHERE `ID` =  2311','sales/save_new_sale','0.024543046951294','2016-09-09 12:52:54'),(30360,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000044\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'350\', \'350\', \'10\')','sales/save_new_sale','0.01455283164978','2016-09-09 12:52:54'),(30361,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000044\', 1, \'huhu\', \'32772\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016088962554932','2016-09-09 12:52:54'),(30362,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000044\', \'huhu\', \'32761\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016684055328369','2016-09-09 12:52:54'),(30363,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 350, `total_amount_cr` = 350, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000044\'','sales/save_new_sale','0.016212940216064','2016-09-09 12:52:54'),(30364,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2311','sales/save_new_sale','0.016813993453979','2016-09-09 12:52:54'),(30365,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11495','sales/save_new_sale','0.016231060028076','2016-09-09 12:52:54'),(30366,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000044\'','sales/save_new_sale','0.016794204711914','2016-09-09 12:52:54'),(30367,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015223979949951','2016-09-09 12:52:54'),(30368,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016191005706787','2016-09-09 12:52:54'),(30369,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'350.00\', `companyID` = \'13\' WHERE `ID` =  \'2311\'','sales/save_new_sale','0.00028800964355469','2016-09-09 12:52:59'),(30370,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2311\'','sales/save_new_sale','0.092123031616211','2016-09-09 12:52:59'),(30371,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2311\', \'32772\', \'huhu\', \'350.00\', 1)','sales/save_new_sale','0.016820192337036','2016-09-09 12:52:59'),(30372,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2311\'','sales/save_new_sale','0.01758885383606','2016-09-09 12:52:59'),(30373,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014620065689087','2016-09-09 12:52:59'),(30374,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000045\' WHERE `ID` =  \'2311\'','sales/save_new_sale','0.01618504524231','2016-09-09 12:52:59'),(30375,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000045\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'350\', \'350\', \'10\')','sales/save_new_sale','0.014456033706665','2016-09-09 12:52:59'),(30376,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2311\'','sales/save_new_sale','0.016221046447754','2016-09-09 12:52:59'),(30377,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11496','sales/save_new_sale','0.016829013824463','2016-09-09 12:52:59'),(30378,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000045\'','sales/save_new_sale','0.00023508071899414','2016-09-09 12:52:59'),(30379,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'350.00\', \'13\')','sales/save_new_sale','0.097012042999268','2016-09-09 12:53:52'),(30380,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2312, \'32772\', \'hihi\', \'350.00\', 1)','sales/save_new_sale','0.016803026199341','2016-09-09 12:53:52'),(30381,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2312','sales/save_new_sale','0.00017809867858887','2016-09-09 12:53:52'),(30382,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  \'350\'','sales/save_new_sale','0.016944885253906','2016-09-09 12:53:52'),(30383,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000046\' WHERE `ID` =  2312','sales/save_new_sale','0.016794919967651','2016-09-09 12:53:52'),(30384,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000046\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'350\', \'350\', \'10\')','sales/save_new_sale','0.013887166976929','2016-09-09 12:53:52'),(30385,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000046\', 1, \'hihi\', \'32772\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.02500319480896','2016-09-09 12:53:52'),(30386,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000046\', \'hihi\', \'32761\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016094207763672','2016-09-09 12:53:52'),(30387,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 350, `total_amount_cr` = 350, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000046\'','sales/save_new_sale','0.016778945922852','2016-09-09 12:53:52'),(30388,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2312','sales/save_new_sale','0.016229152679443','2016-09-09 12:53:52'),(30389,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11497','sales/save_new_sale','0.016832113265991','2016-09-09 12:53:52'),(30390,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000046\'','sales/save_new_sale','0.016206026077271','2016-09-09 12:53:53'),(30391,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015748023986816','2016-09-09 12:53:53'),(30392,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015630960464478','2016-09-09 12:53:53'),(30393,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'123\', \'OR\', \'350.00\', \'13\')','sales/save_new_sale','0.090975999832153','2016-09-09 13:04:04'),(30394,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2313, \'32772\', \'hihi\', \'350.00\', 1)','sales/save_new_sale','0.016820907592773','2016-09-09 13:04:04'),(30395,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2313','sales/save_new_sale','0.00020194053649902','2016-09-09 13:04:04'),(30396,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'350\'','sales/save_new_sale','0.12935209274292','2016-09-09 13:04:04'),(30397,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000047\' WHERE `ID` =  2313','sales/save_new_sale','0.062263965606689','2016-09-09 13:04:04'),(30398,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000047\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'350\', \'350\', \'10\')','sales/save_new_sale','0.023036956787109','2016-09-09 13:04:04'),(30399,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000047\', 1, \'hihi\', \'32772\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016078948974609','2016-09-09 13:04:04'),(30400,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000047\', \'hihi\', \'32762\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016710042953491','2016-09-09 13:04:04'),(30401,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 350, `total_amount_cr` = 350, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000047\'','sales/save_new_sale','0.016202926635742','2016-09-09 13:04:04'),(30402,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2313','sales/save_new_sale','0.03270697593689','2016-09-09 13:04:04'),(30403,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11498','sales/save_new_sale','0.017035007476807','2016-09-09 13:04:04'),(30404,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000047\'','sales/save_new_sale','0.016819953918457','2016-09-09 13:04:04'),(30405,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01772403717041','2016-09-09 13:04:04'),(30406,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016271829605103','2016-09-09 13:04:04'),(30407,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'350.00\', \'13\')','sales/save_new_sale','0.13083291053772','2016-09-09 13:05:48'),(30408,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2314, \'32772\', \'hihi\', \'350.00\', 1)','sales/save_new_sale','0.033485174179077','2016-09-09 13:05:48'),(30409,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2314','sales/save_new_sale','0.00021505355834961','2016-09-09 13:05:48'),(30410,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'350\'','sales/save_new_sale','0.018168926239014','2016-09-09 13:05:48'),(30411,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000048\' WHERE `ID` =  2314','sales/save_new_sale','0.016210079193115','2016-09-09 13:05:48'),(30412,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000048\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'350\', \'350\', \'10\')','sales/save_new_sale','0.031400918960571','2016-09-09 13:05:48'),(30413,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000048\', 1, \'hihi\', \'32772\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.041371822357178','2016-09-09 13:05:48'),(30414,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000048\', \'hihi\', \'32761\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.033073902130127','2016-09-09 13:05:48'),(30415,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 350, `total_amount_cr` = 350, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000048\'','sales/save_new_sale','0.033061981201172','2016-09-09 13:05:48'),(30416,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2314','sales/save_new_sale','0.016249179840088','2016-09-09 13:05:48'),(30417,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11499','sales/save_new_sale','0.016813039779663','2016-09-09 13:05:48'),(30418,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000048\'','sales/save_new_sale','0.016204833984375','2016-09-09 13:05:48'),(30419,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015767097473145','2016-09-09 13:05:48'),(30420,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023905992507935','2016-09-09 13:05:48'),(30421,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'350.00\', \'13\')','sales/save_new_sale','0.22855997085571','2016-09-09 13:07:09'),(30422,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2315, \'32772\', \'hihi\', \'350.00\', 1)','sales/save_new_sale','0.016200065612793','2016-09-09 13:07:09'),(30423,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2315','sales/save_new_sale','0.0001678466796875','2016-09-09 13:07:09'),(30424,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017385005950928','2016-09-09 13:07:09'),(30425,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000049\' WHERE `ID` =  2315','sales/save_new_sale','0.016213893890381','2016-09-09 13:07:09'),(30426,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000049\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'350\', \'350\', \'10\')','sales/save_new_sale','0.014655828475952','2016-09-09 13:07:09'),(30427,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000049\', 1, \'hihi\', \'32772\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016090154647827','2016-09-09 13:07:09'),(30428,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000049\', \'hihi\', \'32761\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016697883605957','2016-09-09 13:07:09'),(30429,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 350, `total_amount_cr` = 350, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000049\'','sales/save_new_sale','0.016216039657593','2016-09-09 13:07:09'),(30430,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2315','sales/save_new_sale','0.016829013824463','2016-09-09 13:07:09'),(30431,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11500','sales/save_new_sale','0.016249179840088','2016-09-09 13:07:09'),(30432,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000049\'','sales/save_new_sale','0.016824007034302','2016-09-09 13:07:10'),(30433,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015326023101807','2016-09-09 13:07:10'),(30434,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016272068023682','2016-09-09 13:07:10'),(30435,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'350.00\', \'13\')','sales/save_new_sale','0.030439138412476','2016-09-09 13:20:01'),(30436,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2316, \'32772\', \'hihi\', \'350.00\', 1)','sales/save_new_sale','0.016201972961426','2016-09-09 13:20:01'),(30437,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2316','sales/save_new_sale','0.00021004676818848','2016-09-09 13:20:01'),(30438,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017289161682129','2016-09-09 13:20:01'),(30439,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000050\' WHERE `ID` =  2316','sales/save_new_sale','0.016219854354858','2016-09-09 13:20:01'),(30440,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000050\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'350\', \'350\', \'10\')','sales/save_new_sale','0.014522790908813','2016-09-09 13:20:01'),(30441,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000050\', 1, \'hihi\', \'32772\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016072988510132','2016-09-09 13:20:01'),(30442,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000050\', \'hihi\', \'32761\', \'\', 350, \'1\', \'1\', \'350\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01667594909668','2016-09-09 13:20:01'),(30443,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 350, `total_amount_cr` = 350, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000050\'','sales/save_new_sale','0.016196012496948','2016-09-09 13:20:01'),(30444,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2316','sales/save_new_sale','0.016824007034302','2016-09-09 13:20:01'),(30445,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11501','sales/save_new_sale','0.016216993331909','2016-09-09 13:20:01'),(30446,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000050\'','sales/save_new_sale','0.016793012619019','2016-09-09 13:20:02'),(30447,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015105009078979','2016-09-09 13:20:02'),(30448,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016114950180054','2016-09-09 13:20:02'),(30449,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'470.00\', `companyID` = \'13\' WHERE `ID` =  \'2316\'','sales/save_new_sale','0.031550884246826','2016-09-09 13:20:17'),(30450,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2316\'','sales/save_new_sale','0.016835927963257','2016-09-09 13:20:17'),(30451,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2316\', \'32772\', \'hihi\', \'350.00\', 1)','sales/save_new_sale','0.016239881515503','2016-09-09 13:20:17'),(30452,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2316\', \'32772\', \'huhu\', \'120.00\', 2)','sales/save_new_sale','0.016851186752319','2016-09-09 13:20:17'),(30453,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2316\'','sales/save_new_sale','0.018020868301392','2016-09-09 13:20:17'),(30454,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014718055725098','2016-09-09 13:20:17'),(30455,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000051\' WHERE `ID` =  \'2316\'','sales/save_new_sale','0.01623010635376','2016-09-09 13:20:17'),(30456,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000051\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'470\', \'470\', \'10\')','sales/save_new_sale','0.01462197303772','2016-09-09 13:20:17'),(30457,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2316\'','sales/save_new_sale','0.016207933425903','2016-09-09 13:20:17'),(30458,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11502','sales/save_new_sale','0.016828060150146','2016-09-09 13:20:17'),(30459,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000051\'','sales/save_new_sale','0.00024509429931641','2016-09-09 13:20:17'),(30460,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.066899061203003','2016-09-09 15:30:18'),(30461,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2317, \'32772\', \'hihi\', \'300.00\', 1)','sales/save_new_sale','0.025167942047119','2016-09-09 15:30:18'),(30462,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2317','sales/save_new_sale','0.00021696090698242','2016-09-09 15:30:18'),(30463,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'350\'','sales/save_new_sale','0.026182889938354','2016-09-09 15:30:18'),(30464,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000052\' WHERE `ID` =  2317','sales/save_new_sale','0.025125980377197','2016-09-09 15:30:18'),(30465,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000052\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.03061318397522','2016-09-09 15:30:18'),(30466,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000052\', 1, \'hihi\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.033318996429443','2016-09-09 15:30:18'),(30467,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000052\', \'hihi\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016350030899048','2016-09-09 15:30:18'),(30468,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000052\'','sales/save_new_sale','0.14152789115906','2016-09-09 15:30:18'),(30469,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2317','sales/save_new_sale','0.016227006912231','2016-09-09 15:30:18'),(30470,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11503','sales/save_new_sale','0.02514910697937','2016-09-09 15:30:18'),(30471,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000052\'','sales/save_new_sale','0.032875776290894','2016-09-09 15:30:18'),(30472,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.02237606048584','2016-09-09 15:30:18'),(30473,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032194137573242','2016-09-09 15:30:18'),(30474,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'420.00\', `companyID` = \'13\' WHERE `ID` =  \'2317\'','sales/save_new_sale','0.092306137084961','2016-09-09 15:30:53'),(30475,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2317\'','sales/save_new_sale','0.032869100570679','2016-09-09 15:30:53'),(30476,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2317\', \'32772\', \'hihi\', \'300.00\', 1)','sales/save_new_sale','0.017071962356567','2016-09-09 15:30:53'),(30477,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2317\', \'32772\', \'huhu\', \'120.00\', 2)','sales/save_new_sale','0.15795993804932','2016-09-09 15:30:53'),(30478,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2317\'','sales/save_new_sale','0.11905598640442','2016-09-09 15:30:53'),(30479,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014003992080688','2016-09-09 15:30:53'),(30480,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000053\' WHERE `ID` =  \'2317\'','sales/save_new_sale','0.016796827316284','2016-09-09 15:30:53'),(30481,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000053\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'420\', \'420\', \'10\')','sales/save_new_sale','0.013948917388916','2016-09-09 15:30:53'),(30482,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2317\'','sales/save_new_sale','0.016807079315186','2016-09-09 15:30:53'),(30483,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11504','sales/save_new_sale','0.016227960586548','2016-09-09 15:30:53'),(30484,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000053\'','sales/save_new_sale','0.00023198127746582','2016-09-09 15:30:53'),(30485,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.11856603622437','2016-09-09 15:34:11'),(30486,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2318, \'32772\', \'hihi\', \'300.00\', 1)','sales/save_new_sale','0.016819953918457','2016-09-09 15:34:11'),(30487,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2318','sales/save_new_sale','0.00020313262939453','2016-09-09 15:34:11'),(30488,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'350\'','sales/save_new_sale','0.022544860839844','2016-09-09 15:34:11'),(30489,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000054\' WHERE `ID` =  2318','sales/save_new_sale','0.016799926757812','2016-09-09 15:34:11'),(30490,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000054\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.01404595375061','2016-09-09 15:34:12'),(30491,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000054\', 1, \'hihi\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016695976257324','2016-09-09 15:34:12'),(30492,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000054\', \'hihi\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016102075576782','2016-09-09 15:34:12'),(30493,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000054\'','sales/save_new_sale','0.016809940338135','2016-09-09 15:34:12'),(30494,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2318','sales/save_new_sale','0.016247987747192','2016-09-09 15:34:12'),(30495,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11505','sales/save_new_sale','0.016839981079102','2016-09-09 15:34:12'),(30496,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000054\'','sales/save_new_sale','0.01622486114502','2016-09-09 15:34:12'),(30497,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.014739990234375','2016-09-09 15:34:12'),(30498,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015681982040405','2016-09-09 15:34:12'),(30499,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'2000.00\', \'13\')','sales/save_new_sale','0.095134019851685','2016-09-09 15:44:47'),(30500,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2319, \'32772\', \'Nie 55\', \'2000.00\', 1)','sales/save_new_sale','0.016196966171265','2016-09-09 15:44:47'),(30501,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2319','sales/save_new_sale','0.00023388862609863','2016-09-09 15:44:47'),(30502,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'350\'','sales/save_new_sale','0.016913175582886','2016-09-09 15:44:47'),(30503,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000055\' WHERE `ID` =  2319','sales/save_new_sale','0.016205072402954','2016-09-09 15:44:47'),(30504,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000055\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'2000\', \'2000\', \'10\')','sales/save_new_sale','0.014488935470581','2016-09-09 15:44:47'),(30505,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000055\', 1, \'Nie 55\', \'32772\', \'\', 2000, \'1\', \'1\', \'2000\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.016069889068604','2016-09-09 15:44:47'),(30506,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000055\', \'Nie 55\', \'32761\', \'\', 2000, \'1\', \'1\', \'2000\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01666784286499','2016-09-09 15:44:47'),(30507,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000055\'','sales/save_new_sale','0.024547815322876','2016-09-09 15:44:47'),(30508,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2319','sales/save_new_sale','0.016835927963257','2016-09-09 15:44:47'),(30509,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11506','sales/save_new_sale','0.016225814819336','2016-09-09 15:44:47'),(30510,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000055\'','sales/save_new_sale','0.016780138015747','2016-09-09 15:44:47'),(30511,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015137910842896','2016-09-09 15:44:47'),(30512,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01612114906311','2016-09-09 15:44:47'),(30513,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'2150.00\', `companyID` = \'13\' WHERE `ID` =  \'2319\'','sales/save_new_sale','0.050673961639404','2016-09-09 15:45:04'),(30514,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2319\'','sales/save_new_sale','0.016751050949097','2016-09-09 15:45:04'),(30515,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2319\', \'32772\', \'Nie 55\', \'2000.00\', 1)','sales/save_new_sale','0.016302824020386','2016-09-09 15:45:04'),(30516,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2319\', \'32772\', \'Nie 55 - 2\', \'150.00\', 2)','sales/save_new_sale','0.016809940338135','2016-09-09 15:45:04'),(30517,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2319\'','sales/save_new_sale','0.025928020477295','2016-09-09 15:45:04'),(30518,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014696836471558','2016-09-09 15:45:04'),(30519,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000056\' WHERE `ID` =  \'2319\'','sales/save_new_sale','0.016204118728638','2016-09-09 15:45:04'),(30520,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000056\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'2150\', \'2150\', \'10\')','sales/save_new_sale','0.014565944671631','2016-09-09 15:45:04'),(30521,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2319\'','sales/save_new_sale','0.01622486114502','2016-09-09 15:45:04'),(30522,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11507','sales/save_new_sale','0.01683497428894','2016-09-09 15:45:04'),(30523,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000056\'','sales/save_new_sale','0.00024294853210449','2016-09-09 15:45:04'),(30524,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.13341403007507','2016-09-09 16:11:28'),(30525,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2320, \'32772\', \'Ahfat1\', \'200.00\', 1)','sales/save_new_sale','0.016354084014893','2016-09-09 16:11:28'),(30526,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2320','sales/save_new_sale','0.00023603439331055','2016-09-09 16:11:28'),(30527,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'350\'','sales/save_new_sale','0.026499032974243','2016-09-09 16:11:28'),(30528,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000057\' WHERE `ID` =  2320','sales/save_new_sale','0.016283988952637','2016-09-09 16:11:28'),(30529,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000057\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.022738933563232','2016-09-09 16:11:28'),(30530,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000057\', 1, \'Ahfat1\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016143798828125','2016-09-09 16:11:28'),(30531,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000057\', \'Ahfat1\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016589164733887','2016-09-09 16:11:28'),(30532,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000057\'','sales/save_new_sale','0.016287088394165','2016-09-09 16:11:28'),(30533,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2320','sales/save_new_sale','0.016741991043091','2016-09-09 16:11:28'),(30534,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11508','sales/save_new_sale','0.016306161880493','2016-09-09 16:11:28'),(30535,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000057\'','sales/save_new_sale','0.016718149185181','2016-09-09 16:11:28'),(30536,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023467063903809','2016-09-09 16:11:28'),(30537,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015873908996582','2016-09-09 16:11:28'),(30538,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'11508\'','sales/save_new_sale','0.00084495544433594','2016-09-09 16:12:19'),(30539,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'11508\'','sales/save_new_sale','0.011413097381592','2016-09-09 16:12:19'),(30540,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2320\'','sales/save_new_sale','0.022853136062622','2016-09-09 16:12:19'),(30541,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2320\'','sales/save_new_sale','0.016649961471558','2016-09-09 16:12:19'),(30542,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2320\', \'32772\', \'Ahfat1\', \'200.00\', 1)','sales/save_new_sale','0.016243934631348','2016-09-09 16:12:19'),(30543,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2320\', \'32772\', \'Ahfat2\', \'300.00\', 2)','sales/save_new_sale','0.016849994659424','2016-09-09 16:12:19'),(30544,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2320\'','sales/save_new_sale','0.022601127624512','2016-09-09 16:12:19'),(30545,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014636039733887','2016-09-09 16:12:19'),(30546,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000058\' WHERE `ID` =  \'2320\'','sales/save_new_sale','0.016328811645508','2016-09-09 16:12:19'),(30547,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000058\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.022853851318359','2016-09-09 16:12:19'),(30548,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2320\'','sales/save_new_sale','0.016362905502319','2016-09-09 16:12:19'),(30549,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11509','sales/save_new_sale','0.016679048538208','2016-09-09 16:12:19'),(30550,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000058\'','sales/save_new_sale','0.00051498413085938','2016-09-09 16:12:19'),(30551,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.089094877243042','2016-09-09 16:17:29'),(30552,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2321, \'32772\', \'Ahfat1\', \'200.00\', 1)','sales/save_new_sale','0.024771213531494','2016-09-09 16:17:29'),(30553,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2321','sales/save_new_sale','0.00019502639770508','2016-09-09 16:17:29'),(30554,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  \'350\'','sales/save_new_sale','0.015762805938721','2016-09-09 16:17:29'),(30555,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000059\' WHERE `ID` =  2321','sales/save_new_sale','0.016398906707764','2016-09-09 16:17:29'),(30556,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000059\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.014340877532959','2016-09-09 16:17:29'),(30557,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000059\', 1, \'Ahfat1\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016252040863037','2016-09-09 16:17:29'),(30558,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000059\', \'Ahfat1\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016494989395142','2016-09-09 16:17:29'),(30559,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000059\'','sales/save_new_sale','0.016395092010498','2016-09-09 16:17:29'),(30560,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2321','sales/save_new_sale','0.016624927520752','2016-09-09 16:17:29'),(30561,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11510','sales/save_new_sale','0.016447067260742','2016-09-09 16:17:29'),(30562,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000059\'','sales/save_new_sale','0.016590118408203','2016-09-09 16:17:29'),(30563,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.017790794372559','2016-09-09 16:17:29'),(30564,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016005992889404','2016-09-09 16:17:29'),(30565,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'11510\'','sales/save_new_sale','0.00027990341186523','2016-09-09 16:27:35'),(30566,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'11510\'','sales/save_new_sale','0.00016307830810547','2016-09-09 16:27:35'),(30567,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2321\'','sales/save_new_sale','0.20837688446045','2016-09-09 16:27:35'),(30568,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2321\'','sales/save_new_sale','0.029271125793457','2016-09-09 16:27:35'),(30569,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2321\', \'32772\', \'Ahfat1\', \'200.00\', 1)','sales/save_new_sale','0.033179998397827','2016-09-09 16:27:35'),(30570,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2321\', \'32772\', \'Ahfat2\', \'300.00\', 2)','sales/save_new_sale','0.024863958358765','2016-09-09 16:27:35'),(30571,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2321\'','sales/save_new_sale','0.027270078659058','2016-09-09 16:27:35'),(30572,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  \'350\'','sales/save_new_sale','0.039041996002197','2016-09-09 16:27:35'),(30573,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000060\' WHERE `ID` =  \'2321\'','sales/save_new_sale','0.024869918823242','2016-09-09 16:27:35'),(30574,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000060\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.022464036941528','2016-09-09 16:27:35'),(30575,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2321\'','sales/save_new_sale','0.033340930938721','2016-09-09 16:27:35'),(30576,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11511','sales/save_new_sale','0.041375875473022','2016-09-09 16:27:35'),(30577,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000060\'','sales/save_new_sale','0.0004270076751709','2016-09-09 16:27:35'),(30578,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.094393968582153','2016-09-09 16:29:04'),(30579,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2322, \'32772\', \'Ahfat1\', \'200.00\', 1)','sales/save_new_sale','0.016523122787476','2016-09-09 16:29:04'),(30580,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2322','sales/save_new_sale','0.00018405914306641','2016-09-09 16:29:04'),(30581,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 61 WHERE `ID` =  \'350\'','sales/save_new_sale','0.12946891784668','2016-09-09 16:29:04'),(30582,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000061\' WHERE `ID` =  2322','sales/save_new_sale','0.029385089874268','2016-09-09 16:29:04'),(30583,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000061\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.014361143112183','2016-09-09 16:29:04'),(30584,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000061\', 1, \'Ahfat1\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016357183456421','2016-09-09 16:29:04'),(30585,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000061\', \'Ahfat1\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016424894332886','2016-09-09 16:29:04'),(30586,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000061\'','sales/save_new_sale','0.016522884368896','2016-09-09 16:29:04'),(30587,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2322','sales/save_new_sale','0.016539812088013','2016-09-09 16:29:04'),(30588,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11512','sales/save_new_sale','0.016547918319702','2016-09-09 16:29:04'),(30589,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000061\'','sales/save_new_sale','0.016502141952515','2016-09-09 16:29:04'),(30590,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015620946884155','2016-09-09 16:29:04'),(30591,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015947818756104','2016-09-09 16:29:04'),(30592,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.13354897499084','2016-09-09 16:29:19'),(30593,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.17500615119934','2016-09-09 16:29:19'),(30594,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2322\'','sales/save_new_sale','0.033193111419678','2016-09-09 16:29:19'),(30595,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2322\'','sales/save_new_sale','0.033196926116943','2016-09-09 16:29:19'),(30596,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2322\', \'32772\', \'Ahfat1\', \'200.00\', 1)','sales/save_new_sale','0.016623020172119','2016-09-09 16:29:19'),(30597,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2322\', \'32772\', \'Ahfat2\', \'300.00\', 2)','sales/save_new_sale','0.033133029937744','2016-09-09 16:29:19'),(30598,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2322\'','sales/save_new_sale','0.027951955795288','2016-09-09 16:29:19'),(30599,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014519929885864','2016-09-09 16:29:19'),(30600,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000062\' WHERE `ID` =  \'2322\'','sales/save_new_sale','0.03313684463501','2016-09-09 16:29:19'),(30601,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000062\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.014452934265137','2016-09-09 16:29:19'),(30602,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2322\'','sales/save_new_sale','0.016499042510986','2016-09-09 16:29:19'),(30603,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11513','sales/save_new_sale','0.016563892364502','2016-09-09 16:29:19'),(30604,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000062\'','sales/save_new_sale','0.00022506713867188','2016-09-09 16:29:19'),(30605,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.1261088848114','2016-09-09 16:38:45'),(30606,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2323, \'32772\', \'Ahfat1\', \'200.00\', 1)','sales/save_new_sale','0.016513824462891','2016-09-09 16:38:45'),(30607,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2323','sales/save_new_sale','0.00019478797912598','2016-09-09 16:38:45'),(30608,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  \'350\'','sales/save_new_sale','0.01462984085083','2016-09-09 16:38:45'),(30609,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000063\' WHERE `ID` =  2323','sales/save_new_sale','0.017790079116821','2016-09-09 16:38:45'),(30610,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000063\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.014259815216064','2016-09-09 16:38:45'),(30611,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000063\', 1, \'Ahfat1\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016343116760254','2016-09-09 16:38:45'),(30612,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000063\', \'Ahfat1\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016366004943848','2016-09-09 16:38:45'),(30613,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000063\'','sales/save_new_sale','0.016496181488037','2016-09-09 16:38:45'),(30614,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2323','sales/save_new_sale','0.016541957855225','2016-09-09 16:38:45'),(30615,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11514','sales/save_new_sale','0.024863004684448','2016-09-09 16:38:45'),(30616,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000063\'','sales/save_new_sale','0.016489028930664','2016-09-09 16:38:45'),(30617,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023333072662354','2016-09-09 16:38:45'),(30618,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.12701177597046','2016-09-09 16:38:45'),(30619,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.096923828125','2016-09-09 16:39:16'),(30620,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.040404796600342','2016-09-09 16:39:16'),(30621,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2323\'','sales/save_new_sale','0.050884962081909','2016-09-09 16:39:16'),(30622,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2323\'','sales/save_new_sale','0.016533136367798','2016-09-09 16:39:16'),(30623,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2323\', \'32772\', \'Ahfat1\', \'200.00\', 1)','sales/save_new_sale','0.016532182693481','2016-09-09 16:39:16'),(30624,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2323\', \'32772\', \'Ahfat2\', \'300.00\', 2)','sales/save_new_sale','0.016530990600586','2016-09-09 16:39:16'),(30625,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2323\'','sales/save_new_sale','0.021401166915894','2016-09-09 16:39:16'),(30626,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 64 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014265060424805','2016-09-09 16:39:16'),(30627,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000064\' WHERE `ID` =  \'2323\'','sales/save_new_sale','0.016483068466187','2016-09-09 16:39:16'),(30628,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000064\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.014258861541748','2016-09-09 16:39:16'),(30629,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2323\'','sales/save_new_sale','0.016515016555786','2016-09-09 16:39:16'),(30630,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11515','sales/save_new_sale','0.01652979850769','2016-09-09 16:39:16'),(30631,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000064\'','sales/save_new_sale','0.00023508071899414','2016-09-09 16:39:16'),(30632,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.060910940170288','2016-09-09 16:48:05'),(30633,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2324, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016515970230103','2016-09-09 16:48:05'),(30634,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2324','sales/save_new_sale','0.00016093254089355','2016-09-09 16:48:05'),(30635,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 65 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017740964889526','2016-09-09 16:48:05'),(30636,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000065\' WHERE `ID` =  2324','sales/save_new_sale','0.016513824462891','2016-09-09 16:48:05'),(30637,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000065\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.021568059921265','2016-09-09 16:48:05'),(30638,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000065\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.017507076263428','2016-09-09 16:48:05'),(30639,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000065\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.024728059768677','2016-09-09 16:48:05'),(30640,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000065\'','sales/save_new_sale','0.01650595664978','2016-09-09 16:48:05'),(30641,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2324','sales/save_new_sale','0.016534090042114','2016-09-09 16:48:05'),(30642,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11516','sales/save_new_sale','0.016536951065063','2016-09-09 16:48:05'),(30643,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000065\'','sales/save_new_sale','0.016513109207153','2016-09-09 16:48:05'),(30644,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.019045114517212','2016-09-09 16:48:05'),(30645,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015961885452271','2016-09-09 16:48:05'),(30646,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.090919971466064','2016-09-09 16:51:26'),(30647,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.016520023345947','2016-09-09 16:51:26'),(30648,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2324\'','sales/save_new_sale','0.01644492149353','2016-09-09 16:51:26'),(30649,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2324\'','sales/save_new_sale','0.12750220298767','2016-09-09 16:51:26'),(30650,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2324\', \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.022217035293579','2016-09-09 16:51:26'),(30651,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2324\', \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.016551971435547','2016-09-09 16:51:26'),(30652,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2324\'','sales/save_new_sale','0.018850088119507','2016-09-09 16:51:26'),(30653,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014441967010498','2016-09-09 16:51:26'),(30654,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000066\' WHERE `ID` =  \'2324\'','sales/save_new_sale','0.016511917114258','2016-09-09 16:51:26'),(30655,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000066\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.014319896697998','2016-09-09 16:51:26'),(30656,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2324\'','sales/save_new_sale','0.0153648853302','2016-09-09 16:51:26'),(30657,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11517','sales/save_new_sale','0.017701864242554','2016-09-09 16:51:26'),(30658,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000066\'','sales/save_new_sale','0.00020408630371094','2016-09-09 16:51:26'),(30659,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.095097780227661','2016-09-09 16:57:56'),(30660,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2325, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.017822027206421','2016-09-09 16:57:56'),(30661,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2325','sales/save_new_sale','0.00020790100097656','2016-09-09 16:57:56'),(30662,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  \'350\'','sales/save_new_sale','0.13560581207275','2016-09-09 16:57:56'),(30663,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000067\' WHERE `ID` =  2325','sales/save_new_sale','0.020732879638672','2016-09-09 16:57:56'),(30664,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000067\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.015868902206421','2016-09-09 16:57:56'),(30665,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000067\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.01636791229248','2016-09-09 16:57:56'),(30666,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000067\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016407012939453','2016-09-09 16:57:56'),(30667,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000067\'','sales/save_new_sale','0.016493082046509','2016-09-09 16:57:56'),(30668,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2325','sales/save_new_sale','0.016552925109863','2016-09-09 16:57:56'),(30669,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11518','sales/save_new_sale','0.015018939971924','2016-09-09 16:57:57'),(30670,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000067\'','sales/save_new_sale','0.026346921920776','2016-09-09 16:57:57'),(30671,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022410869598389','2016-09-09 16:57:57'),(30672,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.017498970031738','2016-09-09 16:57:57'),(30673,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.018161058425903','2016-09-09 17:00:49'),(30674,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.016540050506592','2016-09-09 17:00:49'),(30675,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2325\'','sales/save_new_sale','0.01648211479187','2016-09-09 17:00:49'),(30676,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2325\'','sales/save_new_sale','0.01652193069458','2016-09-09 17:00:49'),(30677,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2325\', \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016556978225708','2016-09-09 17:00:49'),(30678,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2325\', \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.016528844833374','2016-09-09 17:00:49'),(30679,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2325\'','sales/save_new_sale','0.017735004425049','2016-09-09 17:00:49'),(30680,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 68 WHERE `ID` =  \'350\'','sales/save_new_sale','0.015967845916748','2016-09-09 17:00:49'),(30681,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000068\' WHERE `ID` =  \'2325\'','sales/save_new_sale','0.01649022102356','2016-09-09 17:00:49'),(30682,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000068\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.014302968978882','2016-09-09 17:00:49'),(30683,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2325\'','sales/save_new_sale','0.016494989395142','2016-09-09 17:00:49'),(30684,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11519','sales/save_new_sale','0.016530990600586','2016-09-09 17:00:49'),(30685,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000068\'','sales/save_new_sale','0.00023579597473145','2016-09-09 17:00:49'),(30686,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.096012115478516','2016-09-09 17:12:31'),(30687,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2326, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.017870903015137','2016-09-09 17:12:31'),(30688,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2326','sales/save_new_sale','0.00021600723266602','2016-09-09 17:12:31'),(30689,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 69 WHERE `ID` =  \'350\'','sales/save_new_sale','0.016851186752319','2016-09-09 17:12:31'),(30690,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000069\' WHERE `ID` =  2326','sales/save_new_sale','0.016501903533936','2016-09-09 17:12:31'),(30691,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000069\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.014203071594238','2016-09-09 17:12:31'),(30692,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000069\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.01634693145752','2016-09-09 17:12:31'),(30693,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000069\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016370058059692','2016-09-09 17:12:31'),(30694,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000069\'','sales/save_new_sale','0.033139944076538','2016-09-09 17:12:31'),(30695,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2326','sales/save_new_sale','0.016506910324097','2016-09-09 17:12:31'),(30696,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11520','sales/save_new_sale','0.016526937484741','2016-09-09 17:12:31'),(30697,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000069\'','sales/save_new_sale','0.016463041305542','2016-09-09 17:12:31'),(30698,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015413999557495','2016-09-09 17:12:31'),(30699,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015833854675293','2016-09-09 17:12:31'),(30700,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.091452836990356','2016-09-09 17:13:14'),(30701,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  0','sales/save_new_sale','0.01823902130127','2016-09-09 17:13:14'),(30702,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2326\'','sales/save_new_sale','0.016484975814819','2016-09-09 17:13:14'),(30703,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2326\'','sales/save_new_sale','0.016542911529541','2016-09-09 17:13:14'),(30704,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2326\', \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016547918319702','2016-09-09 17:13:15'),(30705,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2326\', \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.016530990600586','2016-09-09 17:13:15'),(30706,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2327','sales/save_new_sale','0.00016880035400391','2016-09-09 17:13:15'),(30707,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.06016206741333','2016-09-09 17:24:25'),(30708,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2327, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016510009765625','2016-09-09 17:24:25'),(30709,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2327','sales/save_new_sale','0.00017905235290527','2016-09-09 17:24:26'),(30710,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 70 WHERE `ID` =  \'350\'','sales/save_new_sale','0.01625394821167','2016-09-09 17:24:26'),(30711,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000070\' WHERE `ID` =  2327','sales/save_new_sale','0.016523122787476','2016-09-09 17:24:26'),(30712,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000070\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.022595882415771','2016-09-09 17:24:26'),(30713,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000070\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016323089599609','2016-09-09 17:24:26'),(30714,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000070\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01661205291748','2016-09-09 17:24:26'),(30715,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000070\'','sales/save_new_sale','0.1397910118103','2016-09-09 17:24:26'),(30716,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2327','sales/save_new_sale','0.01624608039856','2016-09-09 17:24:26'),(30717,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11521','sales/save_new_sale','0.01823616027832','2016-09-09 17:24:26'),(30718,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000070\'','sales/save_new_sale','0.023098945617676','2016-09-09 17:24:26'),(30719,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.019366979598999','2016-09-09 17:24:26'),(30720,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015870094299316','2016-09-09 17:24:26'),(30721,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000070\'','sales/save_new_sale','0.10034489631653','2016-09-09 17:25:12'),(30722,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000070\'','sales/save_new_sale','0.01651406288147','2016-09-09 17:25:12'),(30723,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2327\'','sales/save_new_sale','0.016464948654175','2016-09-09 17:25:12'),(30724,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2327\'','sales/save_new_sale','0.016531944274902','2016-09-09 17:25:12'),(30725,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2327\', \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016528844833374','2016-09-09 17:25:12'),(30726,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2327\', \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.016550064086914','2016-09-09 17:25:12'),(30727,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2327\'','sales/save_new_sale','0.018363952636719','2016-09-09 17:25:12'),(30728,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 71 WHERE `ID` =  \'350\'','sales/save_new_sale','0.014281034469604','2016-09-09 17:25:12'),(30729,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000071\' WHERE `ID` =  \'2327\'','sales/save_new_sale','0.016463041305542','2016-09-09 17:25:12'),(30730,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000071\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.012403964996338','2016-09-09 17:25:12'),(30731,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2327\'','sales/save_new_sale','0.026633977890015','2016-09-09 17:25:12'),(30732,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11522','sales/save_new_sale','0.01653790473938','2016-09-09 17:25:12'),(30733,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000071\'','sales/save_new_sale','0.0002589225769043','2016-09-09 17:25:12'),(30734,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.096088886260986','2016-09-09 17:36:49'),(30735,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2328, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.035060882568359','2016-09-09 17:36:49'),(30736,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2328','sales/save_new_sale','0.00020694732666016','2016-09-09 17:36:49'),(30737,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 72 WHERE `ID` =  \'350\'','sales/save_new_sale','0.016010046005249','2016-09-09 17:36:49'),(30738,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000072\' WHERE `ID` =  2328','sales/save_new_sale','0.016484022140503','2016-09-09 17:36:49'),(30739,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000072\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.030985116958618','2016-09-09 17:36:49'),(30740,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000072\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016372919082642','2016-09-09 17:36:49'),(30741,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000072\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01639199256897','2016-09-09 17:36:49'),(30742,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000072\'','sales/save_new_sale','0.016503095626831','2016-09-09 17:36:49'),(30743,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2328','sales/save_new_sale','0.02487587928772','2016-09-09 17:36:49'),(30744,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11523','sales/save_new_sale','0.016536951065063','2016-09-09 17:36:49'),(30745,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000072\'','sales/save_new_sale','0.033159971237183','2016-09-09 17:36:49'),(30746,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032200813293457','2016-09-09 17:36:49'),(30747,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015953063964844','2016-09-09 17:36:49'),(30748,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000072\'','sales/save_new_sale','0.082959175109863','2016-09-09 17:37:43'),(30749,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000072\'','sales/save_new_sale','0.018430948257446','2016-09-09 17:37:43'),(30750,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2328\'','sales/save_new_sale','0.016499996185303','2016-09-09 17:37:43'),(30751,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2328\'','sales/save_new_sale','0.063422918319702','2016-09-09 17:37:43'),(30752,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2328\', \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.044569969177246','2016-09-09 17:37:43'),(30753,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2328\', \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.033205032348633','2016-09-09 17:37:43'),(30754,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2328\'','sales/save_new_sale','0.019535064697266','2016-09-09 17:37:43'),(30755,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 73 WHERE `ID` =  \'350\'','sales/save_new_sale','0.022717952728271','2016-09-09 17:37:43'),(30756,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000073\' WHERE `ID` =  \'2328\'','sales/save_new_sale','0.041478872299194','2016-09-09 17:37:43'),(30757,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000073\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.030858993530273','2016-09-09 17:37:43'),(30758,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2328\'','sales/save_new_sale','0.066503047943115','2016-09-09 17:37:43'),(30759,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11524','sales/save_new_sale','0.016515016555786','2016-09-09 17:37:43'),(30760,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000073\'','sales/save_new_sale','0.00023293495178223','2016-09-09 17:37:43'),(30761,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.087000131607056','2016-09-09 17:48:35'),(30762,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2329, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.01820707321167','2016-09-09 17:48:35'),(30763,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2329','sales/save_new_sale','0.00021696090698242','2016-09-09 17:48:35'),(30764,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 74 WHERE `ID` =  \'350\'','sales/save_new_sale','0.028763055801392','2016-09-09 17:48:35'),(30765,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000074\' WHERE `ID` =  2329','sales/save_new_sale','0.041527032852173','2016-09-09 17:48:35'),(30766,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000074\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.014307975769043','2016-09-09 17:48:35'),(30767,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000074\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.016366958618164','2016-09-09 17:48:35'),(30768,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000074\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016388893127441','2016-09-09 17:48:35'),(30769,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000074\'','sales/save_new_sale','0.016504049301147','2016-09-09 17:48:35'),(30770,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2329','sales/save_new_sale','0.01653790473938','2016-09-09 17:48:35'),(30771,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11525','sales/save_new_sale','0.016522884368896','2016-09-09 17:48:35'),(30772,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000074\'','sales/save_new_sale','0.016504049301147','2016-09-09 17:48:35'),(30773,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015578985214233','2016-09-09 17:48:35'),(30774,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015974044799805','2016-09-09 17:48:35'),(30775,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000074\'','sales/save_new_sale','0.098482131958008','2016-09-09 17:49:27'),(30776,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-09\', `bankID` = \'122\', `formNo` = \'OR\', `totalReceived` = \'500.00\', `companyID` = \'13\' WHERE `ID` =  \'2329\'','sales/save_new_sale','0.016465187072754','2016-09-09 17:49:27'),(30777,13,10,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2329\'','sales/save_new_sale','0.016531944274902','2016-09-09 17:49:27'),(30778,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2329\', \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016569137573242','2016-09-09 17:49:27'),(30779,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (\'2329\', \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.016510963439941','2016-09-09 17:49:27'),(30780,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2329\'','sales/save_new_sale','0.01665210723877','2016-09-09 17:49:27'),(30781,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 75 WHERE `ID` =  \'350\'','sales/save_new_sale','0.016434907913208','2016-09-09 17:49:27'),(30782,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000075\' WHERE `ID` =  \'2329\'','sales/save_new_sale','0.016488075256348','2016-09-09 17:49:27'),(30783,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000075\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.012543916702271','2016-09-09 17:49:27'),(30784,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2329\'','sales/save_new_sale','0.018259048461914','2016-09-09 17:49:27'),(30785,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11526','sales/save_new_sale','0.016515016555786','2016-09-09 17:49:27'),(30786,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000075\'','sales/save_new_sale','0.00027108192443848','2016-09-09 17:49:27'),(30787,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.063117980957031','2016-09-09 17:57:23'),(30788,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2330, \'Ahfat1\', \'300.00\', 0, 1)','sales/save_new_sale','0.016536951065063','2016-09-09 17:57:23'),(30789,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2330','sales/save_new_sale','0.00019383430480957','2016-09-09 17:57:23'),(30790,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 76 WHERE `ID` =  \'350\'','sales/save_new_sale','0.015940189361572','2016-09-09 17:57:23'),(30791,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000076\' WHERE `ID` =  2330','sales/save_new_sale','0.016499042510986','2016-09-09 17:57:23'),(30792,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000076\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.020709991455078','2016-09-09 17:57:23'),(30793,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000076\', 1, \'Ahfat1\', \'0\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.018217086791992','2016-09-09 17:57:23'),(30794,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000076\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016392946243286','2016-09-09 17:57:23'),(30795,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000076\'','sales/save_new_sale','0.016486883163452','2016-09-09 17:57:23'),(30796,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2330','sales/save_new_sale','0.016528129577637','2016-09-09 17:57:23'),(30797,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11527','sales/save_new_sale','0.016534090042114','2016-09-09 17:57:23'),(30798,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000076\'','sales/save_new_sale','0.016501903533936','2016-09-09 17:57:23'),(30799,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.019690036773682','2016-09-09 17:57:23'),(30800,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024504899978638','2016-09-09 17:57:23'),(30801,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'500.00\', \'13\')','sales/save_new_sale','0.026911020278931','2016-09-09 17:57:55'),(30802,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2331, \'Ahfat1\', \'300.00\', 0, 1)','sales/save_new_sale','0.018734931945801','2016-09-09 17:57:55'),(30803,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (2331, \'Ahfat2\', \'200.00\', 0, 2)','sales/save_new_sale','0.016552925109863','2016-09-09 17:57:55'),(30804,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2331','sales/save_new_sale','0.00018310546875','2016-09-09 17:57:55'),(30805,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 77 WHERE `ID` =  \'350\'','sales/save_new_sale','0.025624990463257','2016-09-09 17:57:55'),(30806,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000077\' WHERE `ID` =  2331','sales/save_new_sale','0.016529083251953','2016-09-09 17:57:55'),(30807,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000077\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.012516975402832','2016-09-09 17:57:55'),(30808,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000077\', 1, \'Ahfat1\', \'0\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.01823902130127','2016-09-09 17:57:55'),(30809,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000077\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01640510559082','2016-09-09 17:57:55'),(30810,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000077\', 3, \'Ahfat2\', \'0\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'2\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.016396999359131','2016-09-09 17:57:55'),(30811,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000077\', \'Ahfat2\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000049]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.016407012939453','2016-09-09 17:57:55'),(30812,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000077\'','sales/save_new_sale','0.033173084259033','2016-09-09 17:57:55'),(30813,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2331','sales/save_new_sale','0.016538858413696','2016-09-09 17:57:55'),(30814,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11528','sales/save_new_sale','0.014388084411621','2016-09-09 17:57:55'),(30815,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000077\'','sales/save_new_sale','0.018686056137085','2016-09-09 17:57:55'),(30816,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023886919021606','2016-09-09 17:57:55'),(30817,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.049271106719971','2016-09-09 17:57:55'),(30818,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'0\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015970945358276','2016-09-09 17:57:55'),(30819,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016000986099243','2016-09-09 17:57:55'),(30820,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.085191965103149','2016-09-09 18:06:13'),(30821,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2332, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.018532991409302','2016-09-09 18:06:13'),(30822,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2332','sales/save_new_sale','0.00024008750915527','2016-09-09 18:06:13'),(30823,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 78 WHERE `ID` =  \'350\'','sales/save_new_sale','0.024405956268311','2016-09-09 18:06:13'),(30824,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000078\' WHERE `ID` =  2332','sales/save_new_sale','0.016484022140503','2016-09-09 18:06:13'),(30825,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000078\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.012251853942871','2016-09-09 18:06:13'),(30826,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000078\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.018326997756958','2016-09-09 18:06:13'),(30827,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000078\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016370058059692','2016-09-09 18:06:13'),(30828,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000078\'','sales/save_new_sale','0.016494989395142','2016-09-09 18:06:13'),(30829,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2332','sales/save_new_sale','0.016530990600586','2016-09-09 18:06:13'),(30830,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11529','sales/save_new_sale','0.01650595664978','2016-09-09 18:06:13'),(30831,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000078\'','sales/save_new_sale','0.016478061676025','2016-09-09 18:06:13'),(30832,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015404939651489','2016-09-09 18:06:13'),(30833,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015829086303711','2016-09-09 18:06:13'),(30834,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'500.00\', \'13\')','sales/save_new_sale','0.098419904708862','2016-09-09 18:07:03'),(30835,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2333, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016532897949219','2016-09-09 18:07:04'),(30836,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2333, \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.024888038635254','2016-09-09 18:07:04'),(30837,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2333','sales/save_new_sale','0.00022292137145996','2016-09-09 18:07:04'),(30838,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 79 WHERE `ID` =  \'350\'','sales/save_new_sale','0.024700164794922','2016-09-09 18:07:04'),(30839,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000079\' WHERE `ID` =  2333','sales/save_new_sale','0.13493680953979','2016-09-09 18:07:04'),(30840,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000079\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.029206991195679','2016-09-09 18:07:04'),(30841,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000079\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.016365051269531','2016-09-09 18:07:04'),(30842,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000079\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016400814056396','2016-09-09 18:07:04'),(30843,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000079\', 3, \'Ahfat2\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'2\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.016398191452026','2016-09-09 18:07:04'),(30844,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000079\', \'Ahfat2\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000049]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.016413927078247','2016-09-09 18:07:04'),(30845,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000079\'','sales/save_new_sale','0.016483068466187','2016-09-09 18:07:04'),(30846,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2333','sales/save_new_sale','0.01655912399292','2016-09-09 18:07:04'),(30847,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11530','sales/save_new_sale','0.016515016555786','2016-09-09 18:07:04'),(30848,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000079\'','sales/save_new_sale','0.016499996185303','2016-09-09 18:07:04'),(30849,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032129049301147','2016-09-09 18:07:04'),(30850,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015933036804199','2016-09-09 18:07:04'),(30851,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024236917495728','2016-09-09 18:07:04'),(30852,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015918970108032','2016-09-09 18:07:04'),(30853,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.1366708278656','2016-09-09 18:11:44'),(30854,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2334, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016515970230103','2016-09-09 18:11:44'),(30855,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2334','sales/save_new_sale','0.00023603439331055','2016-09-09 18:11:44'),(30856,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 80 WHERE `ID` =  \'350\'','sales/save_new_sale','0.034771203994751','2016-09-09 18:11:44'),(30857,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000080\' WHERE `ID` =  2334','sales/save_new_sale','0.016497135162354','2016-09-09 18:11:44'),(30858,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000080\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.011737108230591','2016-09-09 18:11:44'),(30859,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000080\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.035412073135376','2016-09-09 18:11:44'),(30860,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000080\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.030596971511841','2016-09-09 18:11:44'),(30861,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000080\'','sales/save_new_sale','0.060572147369385','2016-09-09 18:11:44'),(30862,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2334','sales/save_new_sale','0.049875974655151','2016-09-09 18:11:44'),(30863,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11531','sales/save_new_sale','0.033159017562866','2016-09-09 18:11:44'),(30864,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000080\'','sales/save_new_sale','0.049779891967773','2016-09-09 18:11:44'),(30865,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032244920730591','2016-09-09 18:11:44'),(30866,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032439947128296','2016-09-09 18:11:44'),(30867,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.12755608558655','2016-09-09 18:28:24'),(30868,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2335, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.010504961013794','2016-09-09 18:28:24'),(30869,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2335','sales/save_new_sale','0.00022983551025391','2016-09-09 18:28:24'),(30870,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 81 WHERE `ID` =  \'350\'','sales/save_new_sale','0.028544902801514','2016-09-09 18:28:24'),(30871,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000081\' WHERE `ID` =  2335','sales/save_new_sale','0.0081479549407959','2016-09-09 18:28:24'),(30872,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000081\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.022655963897705','2016-09-09 18:28:24'),(30873,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000081\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.0080192089080811','2016-09-09 18:28:24'),(30874,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000081\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.12624907493591','2016-09-09 18:28:24'),(30875,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000081\'','sales/save_new_sale','0.020673036575317','2016-09-09 18:28:24'),(30876,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2335','sales/save_new_sale','0.016819953918457','2016-09-09 18:28:24'),(30877,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11532','sales/save_new_sale','0.010477066040039','2016-09-09 18:28:24'),(30878,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000081\'','sales/save_new_sale','0.016506910324097','2016-09-09 18:28:24'),(30879,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.033002138137817','2016-09-09 18:28:24'),(30880,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024267196655273','2016-09-09 18:28:24'),(30881,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'500.00\', \'13\')','sales/save_new_sale','0.081344842910767','2016-09-09 18:30:40'),(30882,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2336, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.010564088821411','2016-09-09 18:30:40'),(30883,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2336, \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.016561031341553','2016-09-09 18:30:40'),(30884,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2336','sales/save_new_sale','0.00018191337585449','2016-09-09 18:30:40'),(30885,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 82 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017279863357544','2016-09-09 18:30:40'),(30886,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000082\' WHERE `ID` =  2336','sales/save_new_sale','0.016519069671631','2016-09-09 18:30:40'),(30887,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000082\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.011705875396729','2016-09-09 18:30:41'),(30888,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000082\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.019002914428711','2016-09-09 18:30:41'),(30889,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000082\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.008065938949585','2016-09-09 18:30:41'),(30890,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000082\', 3, \'Ahfat2\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'2\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.014079093933105','2016-09-09 18:30:41'),(30891,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000082\', \'Ahfat2\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000049]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.010402917861938','2016-09-09 18:30:41'),(30892,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000082\'','sales/save_new_sale','0.033182859420776','2016-09-09 18:30:41'),(30893,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2336','sales/save_new_sale','0.008213996887207','2016-09-09 18:30:41'),(30894,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11533','sales/save_new_sale','0.014225006103516','2016-09-09 18:30:41'),(30895,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000082\'','sales/save_new_sale','0.010473966598511','2016-09-09 18:30:41'),(30896,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01556396484375','2016-09-09 18:30:41'),(30897,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.0076310634613037','2016-09-09 18:30:41'),(30898,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01364278793335','2016-09-09 18:30:41'),(30899,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.0099949836730957','2016-09-09 18:30:41'),(30900,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'300.00\', \'13\')','sales/save_new_sale','0.091065168380737','2016-09-09 18:38:06'),(30901,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2337, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016541957855225','2016-09-09 18:38:06'),(30902,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2337','sales/save_new_sale','0.00022792816162109','2016-09-09 18:38:06'),(30903,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 83 WHERE `ID` =  \'350\'','sales/save_new_sale','0.024930000305176','2016-09-09 18:38:06'),(30904,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000083\' WHERE `ID` =  2337','sales/save_new_sale','0.016495943069458','2016-09-09 18:38:06'),(30905,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000083\', \'OR[00000048]\', \'Sales [ OR[00000048] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'300\', \'300\', \'10\')','sales/save_new_sale','0.011431932449341','2016-09-09 18:38:06'),(30906,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000083\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000048]\', \'0\', \'User\')','sales/save_new_sale','0.0191330909729','2016-09-09 18:38:06'),(30907,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000083\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000048]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0080389976501465','2016-09-09 18:38:06'),(30908,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000083\'','sales/save_new_sale','0.014029979705811','2016-09-09 18:38:06'),(30909,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2337','sales/save_new_sale','0.016225099563599','2016-09-09 18:38:06'),(30910,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11534','sales/save_new_sale','0.019289016723633','2016-09-09 18:38:06'),(30911,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000083\'','sales/save_new_sale','0.0081560611724854','2016-09-09 18:38:06'),(30912,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012912034988403','2016-09-09 18:38:06'),(30913,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010331153869629','2016-09-09 18:38:06'),(30914,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-09\', \'122\', \'OR\', \'500.00\', \'13\')','sales/save_new_sale','0.089540958404541','2016-09-09 18:38:55'),(30915,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2338, \'32772\', \'Ahfat1\', \'300.00\', 1)','sales/save_new_sale','0.016583919525146','2016-09-09 18:38:55'),(30916,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2338, \'32772\', \'Ahfat2\', \'200.00\', 2)','sales/save_new_sale','0.052253007888794','2016-09-09 18:38:55'),(30917,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2338','sales/save_new_sale','0.00017809867858887','2016-09-09 18:38:55'),(30918,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 84 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017099857330322','2016-09-09 18:38:55'),(30919,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000084\' WHERE `ID` =  2338','sales/save_new_sale','0.016510963439941','2016-09-09 18:38:55'),(30920,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000084\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-09\', \'2016\', \'09\', \'500\', \'500\', \'10\')','sales/save_new_sale','0.011689901351929','2016-09-09 18:38:55'),(30921,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000084\', 1, \'Ahfat1\', \'32772\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.010565996170044','2016-09-09 18:38:55'),(30922,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000084\', \'Ahfat1\', \'32761\', \'\', 300, \'1\', \'1\', \'300\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016385793685913','2016-09-09 18:38:55'),(30923,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000084\', 3, \'Ahfat2\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'2\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.0080440044403076','2016-09-09 18:38:55'),(30924,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000084\', \'Ahfat2\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000049]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.013880968093872','2016-09-09 18:38:55'),(30925,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000084\'','sales/save_new_sale','0.010674953460693','2016-09-09 18:38:55'),(30926,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2338','sales/save_new_sale','0.016546010971069','2016-09-09 18:38:55'),(30927,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11535','sales/save_new_sale','0.0082018375396729','2016-09-09 18:38:55'),(30928,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000084\'','sales/save_new_sale','0.016479969024658','2016-09-09 18:38:55'),(30929,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012590169906616','2016-09-09 18:38:55'),(30930,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018666982650757','2016-09-09 18:38:55'),(30931,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.013056039810181','2016-09-09 18:38:55'),(30932,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018696069717407','2016-09-09 18:38:55'),(30933,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-13\', \'122\', \'OR\', \'100.00\', \'13\')','sales/save_new_sale','0.053926944732666','2016-09-13 12:35:19'),(30934,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2339, \'32772\', \'1st\', \'100.00\', 1)','sales/save_new_sale','0.012715101242065','2016-09-13 12:35:19'),(30935,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2339','sales/save_new_sale','0.00021910667419434','2016-09-13 12:35:19'),(30936,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 85 WHERE `ID` =  \'350\'','sales/save_new_sale','0.012528896331787','2016-09-13 12:35:19'),(30937,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000085\' WHERE `ID` =  2339','sales/save_new_sale','0.012732982635498','2016-09-13 12:35:19'),(30938,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000085\', \'OR[00000050]\', \'Sales [ OR[00000050] ]\', \'\', \'2\', \'2016-09-13\', \'2016\', \'09\', \'100\', \'100\', \'10\')','sales/save_new_sale','0.0097310543060303','2016-09-13 12:35:19'),(30939,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000085\', 1, \'1st\', \'32772\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'1\', \'OR[00000050]\', \'0\', \'User\')','sales/save_new_sale','0.012592077255249','2016-09-13 12:35:19'),(30940,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000085\', \'1st\', \'32761\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'OR[00000050]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.011831998825073','2016-09-13 12:35:19'),(30941,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000085\'','sales/save_new_sale','0.12937498092651','2016-09-13 12:35:19'),(30942,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2339','sales/save_new_sale','0.011941909790039','2016-09-13 12:35:19'),(30943,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11536','sales/save_new_sale','0.012768030166626','2016-09-13 12:35:19'),(30944,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000085\'','sales/save_new_sale','0.024527072906494','2016-09-13 12:35:19'),(30945,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01400899887085','2016-09-13 12:35:19'),(30946,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011328935623169','2016-09-13 12:35:19'),(30947,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-13\', \'122\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.084585905075073','2016-09-13 12:36:07'),(30948,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2340, \'32772\', \'2nd\', \'200.00\', 1)','sales/save_new_sale','0.012337923049927','2016-09-13 12:36:07'),(30949,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2340','sales/save_new_sale','0.00022983551025391','2016-09-13 12:36:07'),(30950,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 86 WHERE `ID` =  \'350\'','sales/save_new_sale','0.011962890625','2016-09-13 12:36:07'),(30951,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000086\' WHERE `ID` =  2340','sales/save_new_sale','0.012288093566895','2016-09-13 12:36:07'),(30952,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000086\', \'OR[00000051]\', \'Sales [ OR[00000051] ]\', \'\', \'2\', \'2016-09-13\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.010177850723267','2016-09-13 12:36:07'),(30953,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000086\', 1, \'2nd\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000051]\', \'0\', \'User\')','sales/save_new_sale','0.012149095535278','2016-09-13 12:36:07'),(30954,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000086\', \'2nd\', \'32761\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000051]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016402959823608','2016-09-13 12:36:07'),(30955,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000086\'','sales/save_new_sale','0.01268196105957','2016-09-13 12:36:07'),(30956,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2340','sales/save_new_sale','0.012017965316772','2016-09-13 12:36:07'),(30957,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11537','sales/save_new_sale','0.012712001800537','2016-09-13 12:36:07'),(30958,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000086\'','sales/save_new_sale','0.011989116668701','2016-09-13 12:36:07'),(30959,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011704921722412','2016-09-13 12:36:07'),(30960,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011435031890869','2016-09-13 12:36:07'),(30961,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0465121269226','2016-09-15 09:22:26'),(30962,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-15\', \'122\', \'OR\', \'980.00\', \'13\')','sales/save_new_sale','0.13622307777405','2016-09-15 09:23:37'),(30963,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2341, \'32772\', \'fadhirul\', \'980.00\', 1)','sales/save_new_sale','0.039301872253418','2016-09-15 09:23:37'),(30964,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2341','sales/save_new_sale','0.00020790100097656','2016-09-15 09:23:37'),(30965,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 87 WHERE `ID` =  \'350\'','sales/save_new_sale','0.019073009490967','2016-09-15 09:23:37'),(30966,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000087\' WHERE `ID` =  2341','sales/save_new_sale','0.024839878082275','2016-09-15 09:23:37'),(30967,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000087\', \'OR[00000052]\', \'Sales [ OR[00000052] ]\', \'\', \'2\', \'2016-09-15\', \'2016\', \'09\', \'980\', \'980\', \'10\')','sales/save_new_sale','0.012542963027954','2016-09-15 09:23:37'),(30968,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000087\', 1, \'fadhirul\', \'32772\', \'\', 980, \'1\', \'1\', \'980\', \'09\', \'2016\', \'1\', \'OR[00000052]\', \'0\', \'User\')','sales/save_new_sale','0.051482200622559','2016-09-15 09:23:37'),(30969,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000087\', \'fadhirul\', \'32761\', \'\', 980, \'1\', \'1\', \'980\', \'09\', \'2016\', \'OR[00000052]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016599893569946','2016-09-15 09:23:37'),(30970,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 980, `total_amount_cr` = 980, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000087\'','sales/save_new_sale','0.13289093971252','2016-09-15 09:23:37'),(30971,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2341','sales/save_new_sale','0.033186912536621','2016-09-15 09:23:37'),(30972,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11538','sales/save_new_sale','0.016525983810425','2016-09-15 09:23:37'),(30973,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000087\'','sales/save_new_sale','0.033171892166138','2016-09-15 09:23:37'),(30974,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023768901824951','2016-09-15 09:23:37'),(30975,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.014241933822632','2016-09-15 09:23:37'),(30976,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-15\', \'122\', \'OR\', \'1300.00\', \'13\')','sales/save_new_sale','0.09337306022644','2016-09-15 09:24:12'),(30977,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2342, \'32772\', \'fadhirul\', \'980.00\', 1)','sales/save_new_sale','0.018312931060791','2016-09-15 09:24:12'),(30978,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2342, \'32772\', \'fadhirul2\', \'320.00\', 2)','sales/save_new_sale','0.01653790473938','2016-09-15 09:24:12'),(30979,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2342','sales/save_new_sale','0.0001828670501709','2016-09-15 09:24:12'),(30980,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 88 WHERE `ID` =  \'350\'','sales/save_new_sale','0.01496696472168','2016-09-15 09:24:12'),(30981,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000088\' WHERE `ID` =  2342','sales/save_new_sale','0.017952919006348','2016-09-15 09:24:12'),(30982,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000088\', \'OR[00000053]\', \'Sales [ OR[00000053] ]\', \'\', \'2\', \'2016-09-15\', \'2016\', \'09\', \'1300\', \'1300\', \'10\')','sales/save_new_sale','0.012766122817993','2016-09-15 09:24:12'),(30983,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000088\', 1, \'fadhirul\', \'32772\', \'\', 980, \'1\', \'1\', \'980\', \'09\', \'2016\', \'1\', \'OR[00000053]\', \'0\', \'User\')','sales/save_new_sale','0.017837047576904','2016-09-15 09:24:12'),(30984,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000088\', \'fadhirul\', \'32761\', \'\', 980, \'1\', \'1\', \'980\', \'09\', \'2016\', \'OR[00000053]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.024713039398193','2016-09-15 09:24:12'),(30985,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000088\', 3, \'fadhirul2\', \'32772\', \'\', 320, \'1\', \'1\', \'320\', \'09\', \'2016\', \'2\', \'OR[00000053]\', \'0\', \'User\')','sales/save_new_sale','0.016362905502319','2016-09-15 09:24:12'),(30986,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 4, \'AR20160900000088\', \'fadhirul2\', \'32761\', \'\', 320, \'1\', \'1\', \'320\', \'09\', \'2016\', \'OR[00000053]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.024734973907471','2016-09-15 09:24:12'),(30987,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1300, `total_amount_cr` = 1300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000088\'','sales/save_new_sale','0.01646614074707','2016-09-15 09:24:12'),(30988,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2342','sales/save_new_sale','0.016550064086914','2016-09-15 09:24:12'),(30989,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11539','sales/save_new_sale','0.01652193069458','2016-09-15 09:24:12'),(30990,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000088\'','sales/save_new_sale','0.016484022140503','2016-09-15 09:24:12'),(30991,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015432119369507','2016-09-15 09:24:12'),(30992,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015857219696045','2016-09-15 09:24:12'),(30993,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024247884750366','2016-09-15 09:24:12'),(30994,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015918016433716','2016-09-15 09:24:12'),(30995,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0010061264038086','2016-09-15 09:34:42'),(30996,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.00095915794372559','2016-09-15 09:37:39'),(30997,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'900\', \'OP-C\', \'2016-09-15\', \'122\', \'1\')','expenses/fnSaveExpenses','0.031450986862183','2016-09-15 10:26:20'),(30998,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2255, \'10\', \'Fadhirul\', 1, \'32773\', \'900\', \'900\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016471147537231','2016-09-15 10:26:20'),(30999,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.019895076751709','2016-09-15 10:26:20'),(31000,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000026\' WHERE `ID` =  2255','expenses/fnSaveExpenses','0.016486167907715','2016-09-15 10:26:20'),(31001,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000026\', \'Cost of Goods Sold [OP-C[00000097]]\', \'Cost of Goods Sold [OP-C[00000097]]\', \'\', \'3\', \'2016-09-15\', \'16\', \'09\', 900, 900, \'10\')','expenses/fnSaveExpenses','0.039188146591187','2016-09-15 10:26:20'),(31002,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000026\', 1, \'Fadhirul\', \'32761\', 900, 1, \'1\', \'900\', \'09\', \'16\', \'1\', \'OP-C[00000097]\', \'User\')','expenses/fnSaveExpenses','0.047893047332764','2016-09-15 10:26:20'),(31003,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000026\', 2, \'Fadhirul\', \'32773\', 900, 1, \'1\', \'900\', \'09\', \'16\', \'1\', \'OP-C[00000097]\', \'User\')','expenses/fnSaveExpenses','0.01818585395813','2016-09-15 10:26:20'),(31004,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 900, `total_amount_cr` = 900, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000026\'','expenses/fnSaveExpenses','0.024811029434204','2016-09-15 10:26:20'),(31005,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2255','expenses/fnSaveExpenses','0.01653790473938','2016-09-15 10:26:20'),(31006,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11540','expenses/fnSaveExpenses','0.024674892425537','2016-09-15 10:26:20'),(31007,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000026\'','expenses/fnSaveExpenses','0.04980993270874','2016-09-15 10:26:20'),(31008,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023991823196411','2016-09-15 10:26:20'),(31009,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015860080718994','2016-09-15 10:26:20'),(31010,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50445\'','expenses/fnSaveExpenses','0.037051200866699','2016-09-15 10:26:50'),(31011,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50446\'','expenses/fnSaveExpenses','0.032386064529419','2016-09-15 10:26:50'),(31012,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'11540\'','expenses/fnSaveExpenses','0.01651406288147','2016-09-15 10:26:50'),(31013,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = \'32773\', `paymentMethodID` = \'68\', `amountPaid` = \'1300\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-15\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2255','expenses/fnSaveExpenses','0.011966943740845','2016-09-15 10:26:50'),(31014,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2255, `createdBy` = \'10\', `itemdescription` = \'Fadhirul\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'900\', `amountExcludedTax` = \'900\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2295\'','expenses/fnSaveExpenses','0.00022697448730469','2016-09-15 10:26:50'),(31015,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2255, \'10\', \'Fadhirul2\', 1, \'32773\', \'400\', \'400\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.018070936203003','2016-09-15 10:26:50'),(31016,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.010679006576538','2016-09-15 10:26:50'),(31017,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000027\' WHERE `ID` =  2255','expenses/fnSaveExpenses','0.018418073654175','2016-09-15 10:26:50'),(31018,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000027\', \'Cost of Goods Sold [OP-C[00000097]]\', \'Cost of Goods Sold [OP-C[00000097]]\', \'\', \'3\', \'2016-09-15\', \'16\', \'09\', 1300, 1300, \'10\')','expenses/fnSaveExpenses','0.024289846420288','2016-09-15 10:26:50'),(31019,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000027\', 1, \'Fadhirul\', \'32761\', 900, 1, \'1\', \'900\', \'09\', \'16\', \'1\', \'OP-C[00000097]\', \'User\')','expenses/fnSaveExpenses','0.016402959823608','2016-09-15 10:26:50'),(31020,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000027\', 2, \'Fadhirul\', \'32773\', 900, 1, \'1\', \'900\', \'09\', \'16\', \'1\', \'OP-C[00000097]\', \'User\')','expenses/fnSaveExpenses','0.024754047393799','2016-09-15 10:26:50'),(31021,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000027\', 3, \'Fadhirul2\', \'32761\', 400, 1, \'1\', \'400\', \'09\', \'16\', \'1\', \'OP-C[00000097]\', \'User\')','expenses/fnSaveExpenses','0.023133039474487','2016-09-15 10:26:50'),(31022,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000027\', 4, \'Fadhirul2\', \'32773\', 400, 1, \'1\', \'400\', \'09\', \'16\', \'1\', \'OP-C[00000097]\', \'User\')','expenses/fnSaveExpenses','0.018454074859619','2016-09-15 10:26:50'),(31023,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1300, `total_amount_cr` = 1300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000027\'','expenses/fnSaveExpenses','0.016213893890381','2016-09-15 10:26:50'),(31024,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2255','expenses/fnSaveExpenses','0.024250030517578','2016-09-15 10:26:50'),(31025,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11541','expenses/fnSaveExpenses','0.023813962936401','2016-09-15 10:26:50'),(31026,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000027\'','expenses/fnSaveExpenses','0.026386976242065','2016-09-15 10:26:50'),(31027,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015565156936646','2016-09-15 10:26:50'),(31028,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015970945358276','2016-09-15 10:26:50'),(31029,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024322986602783','2016-09-15 10:26:50'),(31030,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015952110290527','2016-09-15 10:26:50'),(31031,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'900\', \'OP-C\', \'2016-09-15\', \'122\', \'1\')','expenses/fnSaveExpenses','0.06502103805542','2016-09-15 10:32:21'),(31032,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2256, \'10\', \'Fadhirul\', 1, \'32773\', \'900\', \'900\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016467094421387','2016-09-15 10:32:21'),(31033,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.022087097167969','2016-09-15 10:32:21'),(31034,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000028\' WHERE `ID` =  2256','expenses/fnSaveExpenses','0.018486976623535','2016-09-15 10:32:21'),(31035,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000028\', \'Cost of Goods Sold [OP-C[00000098]]\', \'Cost of Goods Sold [OP-C[00000098]]\', \'\', \'3\', \'2016-09-15\', \'16\', \'09\', 900, 900, \'10\')','expenses/fnSaveExpenses','0.012197971343994','2016-09-15 10:32:21'),(31036,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000028\', 1, \'Fadhirul\', \'32761\', 900, 1, \'1\', \'900\', \'09\', \'16\', \'1\', \'OP-C[00000098]\', \'User\')','expenses/fnSaveExpenses','0.026740074157715','2016-09-15 10:32:21'),(31037,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000028\', 2, \'Fadhirul\', \'32773\', 900, 1, \'1\', \'900\', \'09\', \'16\', \'1\', \'OP-C[00000098]\', \'User\')','expenses/fnSaveExpenses','0.016389131546021','2016-09-15 10:32:21'),(31038,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 900, `total_amount_cr` = 900, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000028\'','expenses/fnSaveExpenses','0.014750003814697','2016-09-15 10:32:21'),(31039,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2256','expenses/fnSaveExpenses','0.01826810836792','2016-09-15 10:32:21'),(31040,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11542','expenses/fnSaveExpenses','0.016573905944824','2016-09-15 10:32:21'),(31041,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000028\'','expenses/fnSaveExpenses','0.13290596008301','2016-09-15 10:32:21'),(31042,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.020914077758789','2016-09-15 10:32:21'),(31043,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01584005355835','2016-09-15 10:32:21'),(31044,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50451\'','expenses/fnSaveExpenses','0.029106855392456','2016-09-15 10:33:21'),(31045,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'50452\'','expenses/fnSaveExpenses','0.024850845336914','2016-09-15 10:33:21'),(31046,13,10,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `ID` =  \'11542\'','expenses/fnSaveExpenses','0.016531944274902','2016-09-15 10:33:21'),(31047,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'13\', `createdBy` = \'10\', `otherPaymentType` = 1, `accountID` = \'32773\', `paymentMethodID` = \'68\', `amountPaid` = \'1380\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-15\', `bankId` = \'122\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2256','expenses/fnSaveExpenses','0.022256135940552','2016-09-15 10:33:21'),(31048,13,10,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2256, `createdBy` = \'10\', `itemdescription` = \'Fadhirul\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'900\', `amountExcludedTax` = \'900\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2297\'','expenses/fnSaveExpenses','0.00022315979003906','2016-09-15 10:33:21'),(31049,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2256, \'10\', \'Fadhirul2\', 1, \'32773\', \'480\', \'480\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016075134277344','2016-09-15 10:33:21'),(31050,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.011674880981445','2016-09-15 10:33:21'),(31051,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000029\' WHERE `ID` =  2256','expenses/fnSaveExpenses','0.018277883529663','2016-09-15 10:33:21'),(31052,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000029\', \'Cost of Goods Sold [OP-C[00000098]]\', \'Cost of Goods Sold [OP-C[00000098]]\', \'\', \'3\', \'2016-09-15\', \'16\', \'09\', 1380, 1380, \'10\')','expenses/fnSaveExpenses','0.015973806381226','2016-09-15 10:33:21'),(31053,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000029\', 1, \'Fadhirul\', \'32761\', 900, 1, \'1\', \'900\', \'09\', \'16\', \'1\', \'OP-C[00000098]\', \'User\')','expenses/fnSaveExpenses','0.016404867172241','2016-09-15 10:33:21'),(31054,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000029\', 2, \'Fadhirul\', \'32773\', 900, 1, \'1\', \'900\', \'09\', \'16\', \'1\', \'OP-C[00000098]\', \'User\')','expenses/fnSaveExpenses','0.016442060470581','2016-09-15 10:33:21'),(31055,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000029\', 3, \'Fadhirul2\', \'32761\', 480, 1, \'1\', \'480\', \'09\', \'16\', \'1\', \'OP-C[00000098]\', \'User\')','expenses/fnSaveExpenses','0.01434588432312','2016-09-15 10:33:21'),(31056,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000029\', 4, \'Fadhirul2\', \'32773\', 480, 1, \'1\', \'480\', \'09\', \'16\', \'1\', \'OP-C[00000098]\', \'User\')','expenses/fnSaveExpenses','0.018490791320801','2016-09-15 10:33:21'),(31057,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1380, `total_amount_cr` = 1380, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000029\'','expenses/fnSaveExpenses','0.016499042510986','2016-09-15 10:33:22'),(31058,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2256','expenses/fnSaveExpenses','0.024880170822144','2016-09-15 10:33:22'),(31059,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11543','expenses/fnSaveExpenses','0.016460180282593','2016-09-15 10:33:22'),(31060,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000029\'','expenses/fnSaveExpenses','0.016494035720825','2016-09-15 10:33:22'),(31061,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015608072280884','2016-09-15 10:33:22'),(31062,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015974998474121','2016-09-15 10:33:22'),(31063,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016002178192139','2016-09-15 10:33:22'),(31064,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016017913818359','2016-09-15 10:33:22'),(31065,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.0016999244689941','2016-09-15 11:01:16'),(31066,1,1,'66.249.82.218','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0644152164459','2016-09-16 15:02:54'),(31067,1,1,'115.164.63.58','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-16\', \'82\', \'OR\', \'1000.00\', \'1\')','sales/save_new_sale','0.19172978401184','2016-09-16 15:04:31'),(31068,1,1,'115.164.63.58','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2343, \'32526\', \'Insurance \', \'1000.00\', 1)','sales/save_new_sale','0.008159875869751','2016-09-16 15:04:31'),(31069,1,1,'115.164.63.58','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2343','sales/save_new_sale','0.00020790100097656','2016-09-16 15:04:31'),(31070,1,1,'115.164.63.58','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'353\'','sales/save_new_sale','0.017829895019531','2016-09-16 15:04:31'),(31071,1,1,'115.164.63.58','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000003\' WHERE `ID` =  2343','sales/save_new_sale','0.010692834854126','2016-09-16 15:04:31'),(31072,1,1,'115.164.63.58','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AR20160900000003\', \'OR[00000062]\', \'Sales [ OR[00000062] ]\', \'\', \'2\', \'2016-09-16\', \'2016\', \'09\', \'1000\', \'1000\', \'1\')','sales/save_new_sale','0.031032085418701','2016-09-16 15:04:31'),(31073,1,1,'115.164.63.58','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'1\', \'AR20160900000003\', 1, \'Insurance \', \'32526\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'1\', \'OR[00000062]\', \'0\', \'User\')','sales/save_new_sale','0.013576030731201','2016-09-16 15:04:31'),(31074,1,1,'115.164.63.58','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'1\', 2, \'AR20160900000003\', \'Insurance \', \'32515\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'OR[00000062]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016695022583008','2016-09-16 15:04:31'),(31075,1,1,'115.164.63.58','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000003\'','sales/save_new_sale','0.010663986206055','2016-09-16 15:04:31'),(31076,1,1,'115.164.63.58','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2343','sales/save_new_sale','0.12615084648132','2016-09-16 15:04:31'),(31077,1,1,'115.164.63.58','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11544','sales/save_new_sale','0.020753145217896','2016-09-16 15:04:31'),(31078,1,1,'115.164.63.58','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000003\'','sales/save_new_sale','0.025150060653687','2016-09-16 15:04:31'),(31079,1,1,'115.164.63.58','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'1\', \'7\', \'32526\', \'2016\', \'9\', \'0\', \'1000\', -1000, \'User\', \'2016-09-16: 09:09:31\')','sales/save_new_sale','0.085827112197876','2016-09-16 15:04:31'),(31080,1,1,'115.164.63.58','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023390054702759','2016-09-16 15:04:31'),(31081,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2140870094299','2016-09-19 08:47:35'),(31082,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'122\', \'OR\', \'1300.00\', \'13\')','sales/save_new_sale','0.12334990501404','2016-09-19 11:06:32'),(31083,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2344, \'32772\', \'fadh\', \'1300.00\', 1)','sales/save_new_sale','0.01651406288147','2016-09-19 11:06:32'),(31084,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2344','sales/save_new_sale','0.00024008750915527','2016-09-19 11:06:32'),(31085,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 89 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017516136169434','2016-09-19 11:06:32'),(31086,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000089\' WHERE `ID` =  2344','sales/save_new_sale','0.019484996795654','2016-09-19 11:06:32'),(31087,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000089\', \'OR[00000052]\', \'Sales [ OR[00000052] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'1300\', \'1300\', \'10\')','sales/save_new_sale','0.011465072631836','2016-09-19 11:06:32'),(31088,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000089\', 1, \'fadh\', \'32772\', \'\', 1300, \'1\', \'1\', \'1300\', \'09\', \'2016\', \'1\', \'OR[00000052]\', \'0\', \'User\')','sales/save_new_sale','0.18577194213867','2016-09-19 11:06:32'),(31089,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000089\', \'fadh\', \'32761\', \'\', 1300, \'1\', \'1\', \'1300\', \'09\', \'2016\', \'OR[00000052]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0080220699310303','2016-09-19 11:06:32'),(31090,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1300, `total_amount_cr` = 1300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000089\'','sales/save_new_sale','0.013814926147461','2016-09-19 11:06:32'),(31091,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2344','sales/save_new_sale','0.010892868041992','2016-09-19 11:06:32'),(31092,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11545','sales/save_new_sale','0.0081980228424072','2016-09-19 11:06:32'),(31093,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000089\'','sales/save_new_sale','0.030156135559082','2016-09-19 11:06:32'),(31094,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016733884811401','2016-09-19 11:06:32'),(31095,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015882015228271','2016-09-19 11:06:32'),(31096,13,10,'192.168.1.198','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitCredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid = 3','home/index','1.0077681541443','2016-09-19 11:07:15'),(31097,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.5850930213928','2016-09-19 11:07:15'),(31098,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'123\', \'OR\', \'1300.00\', \'13\')','sales/save_new_sale','0.12329888343811','2016-09-19 11:07:54'),(31099,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2345, \'32772\', \'fadh\', \'1300.00\', 1)','sales/save_new_sale','0.0077660083770752','2016-09-19 11:07:54'),(31100,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2345','sales/save_new_sale','0.00019693374633789','2016-09-19 11:07:54'),(31101,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 90 WHERE `ID` =  \'350\'','sales/save_new_sale','0.012573003768921','2016-09-19 11:07:54'),(31102,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000090\' WHERE `ID` =  2345','sales/save_new_sale','0.013719081878662','2016-09-19 11:07:54'),(31103,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000090\', \'OR[00000051]\', \'Sales [ OR[00000051] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'1300\', \'1300\', \'10\')','sales/save_new_sale','0.0088260173797607','2016-09-19 11:07:54'),(31104,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000090\', 1, \'fadh\', \'32772\', \'\', 1300, \'1\', \'1\', \'1300\', \'09\', \'2016\', \'1\', \'OR[00000051]\', \'0\', \'User\')','sales/save_new_sale','0.0080399513244629','2016-09-19 11:07:55'),(31105,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000090\', \'fadh\', \'32762\', \'\', 1300, \'1\', \'1\', \'1300\', \'09\', \'2016\', \'OR[00000051]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.013319969177246','2016-09-19 11:07:55'),(31106,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1300, `total_amount_cr` = 1300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000090\'','sales/save_new_sale','0.011260986328125','2016-09-19 11:07:55'),(31107,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2345','sales/save_new_sale','0.0082039833068848','2016-09-19 11:07:55'),(31108,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11546','sales/save_new_sale','0.02210807800293','2016-09-19 11:07:55'),(31109,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000090\'','sales/save_new_sale','0.010967016220093','2016-09-19 11:07:55'),(31110,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022380113601685','2016-09-19 11:07:55'),(31111,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018775939941406','2016-09-19 11:07:55'),(31112,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'122\', \'OR\', \'4300.00\', \'13\')','sales/save_new_sale','0.055454969406128','2016-09-19 12:27:51'),(31113,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2346, \'32772\', \'fadh\', \'4300.00\', 1)','sales/save_new_sale','0.028259992599487','2016-09-19 12:27:51'),(31114,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2346','sales/save_new_sale','0.00021600723266602','2016-09-19 12:27:51'),(31115,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 91 WHERE `ID` =  \'350\'','sales/save_new_sale','0.026131153106689','2016-09-19 12:27:51'),(31116,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000091\' WHERE `ID` =  2346','sales/save_new_sale','0.020771026611328','2016-09-19 12:27:51'),(31117,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000091\', \'OR[00000051]\', \'Sales [ OR[00000051] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'4300\', \'4300\', \'10\')','sales/save_new_sale','0.010139942169189','2016-09-19 12:27:51'),(31118,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000091\', 1, \'fadh\', \'32772\', \'\', 4300, \'1\', \'1\', \'4300\', \'09\', \'2016\', \'1\', \'OR[00000051]\', \'0\', \'User\')','sales/save_new_sale','0.016379117965698','2016-09-19 12:27:51'),(31119,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000091\', \'fadh\', \'32761\', \'\', 4300, \'1\', \'1\', \'4300\', \'09\', \'2016\', \'OR[00000051]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012662887573242','2016-09-19 12:27:51'),(31120,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 4300, `total_amount_cr` = 4300, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000091\'','sales/save_new_sale','0.016227006912231','2016-09-19 12:27:51'),(31121,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2346','sales/save_new_sale','0.012244939804077','2016-09-19 12:27:51'),(31122,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11547','sales/save_new_sale','0.016545057296753','2016-09-19 12:27:51'),(31123,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000091\'','sales/save_new_sale','0.02485990524292','2016-09-19 12:27:52'),(31124,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.017816781997681','2016-09-19 12:27:52'),(31125,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012250900268555','2016-09-19 12:27:52'),(31126,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'4390\', \'OP-C\', \'2016-09-19\', \'122\', \'1\')','expenses/fnSaveExpenses','0.067085027694702','2016-09-19 12:28:48'),(31127,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2257, \'10\', \'fadh\', 1, \'32773\', \'4390\', \'4390\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041457891464233','2016-09-19 12:28:48'),(31128,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.030168056488037','2016-09-19 12:28:48'),(31129,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000030\' WHERE `ID` =  2257','expenses/fnSaveExpenses','0.012365102767944','2016-09-19 12:28:48'),(31130,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000030\', \'Cost of Goods Sold [OP-C[00000099]]\', \'Cost of Goods Sold [OP-C[00000099]]\', \'\', \'3\', \'2016-09-19\', \'16\', \'09\', 4390, 4390, \'10\')','expenses/fnSaveExpenses','0.026678085327148','2016-09-19 12:28:48'),(31131,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000030\', 1, \'fadh\', \'32761\', 4390, 1, \'1\', \'4390\', \'09\', \'16\', \'1\', \'OP-C[00000099]\', \'User\')','expenses/fnSaveExpenses','0.012309074401855','2016-09-19 12:28:48'),(31132,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000030\', 2, \'fadh\', \'32773\', 4390, 1, \'1\', \'4390\', \'09\', \'16\', \'1\', \'OP-C[00000099]\', \'User\')','expenses/fnSaveExpenses','0.012160062789917','2016-09-19 12:28:49'),(31133,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 4390, `total_amount_cr` = 4390, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000030\'','expenses/fnSaveExpenses','0.024835824966431','2016-09-19 12:28:49'),(31134,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2257','expenses/fnSaveExpenses','0.016532897949219','2016-09-19 12:28:49'),(31135,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11548','expenses/fnSaveExpenses','0.012314081192017','2016-09-19 12:28:49'),(31136,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000030\'','expenses/fnSaveExpenses','0.033452033996582','2016-09-19 12:28:49'),(31137,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.013790845870972','2016-09-19 12:28:49'),(31138,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011659145355225','2016-09-19 12:28:49'),(31139,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'122\', \'OR\', \'540.00\', \'13\')','sales/save_new_sale','0.021960020065308','2016-09-19 12:38:17'),(31140,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2347, \'32772\', \'fadh\', \'540.00\', 1)','sales/save_new_sale','0.01255202293396','2016-09-19 12:38:17'),(31141,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2347','sales/save_new_sale','0.00018310546875','2016-09-19 12:38:17'),(31142,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 92 WHERE `ID` =  \'350\'','sales/save_new_sale','0.01213812828064','2016-09-19 12:38:17'),(31143,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000092\' WHERE `ID` =  2347','sales/save_new_sale','0.008167028427124','2016-09-19 12:38:17'),(31144,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000092\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'540\', \'540\', \'10\')','sales/save_new_sale','0.014240026473999','2016-09-19 12:38:17'),(31145,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000092\', 1, \'fadh\', \'32772\', \'\', 540, \'1\', \'1\', \'540\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.012449979782104','2016-09-19 12:38:17'),(31146,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000092\', \'fadh\', \'32761\', \'\', 540, \'1\', \'1\', \'540\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.011964082717896','2016-09-19 12:38:17'),(31147,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 540, `total_amount_cr` = 540, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000092\'','sales/save_new_sale','0.012561082839966','2016-09-19 12:38:17'),(31148,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2347','sales/save_new_sale','0.012103796005249','2016-09-19 12:38:17'),(31149,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11549','sales/save_new_sale','0.0081930160522461','2016-09-19 12:38:17'),(31150,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000092\'','sales/save_new_sale','0.012298107147217','2016-09-19 12:38:17'),(31151,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011638879776001','2016-09-19 12:38:17'),(31152,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.12803816795349','2016-09-19 12:38:17'),(31153,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'122\', \'OR\', \'540.00\', \'13\')','sales/save_new_sale','0.056197881698608','2016-09-19 12:48:13'),(31154,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2348, \'32772\', \'fadh\', \'540.00\', 1)','sales/save_new_sale','0.012186050415039','2016-09-19 12:48:13'),(31155,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2348','sales/save_new_sale','0.00019598007202148','2016-09-19 12:48:13'),(31156,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 93 WHERE `ID` =  \'350\'','sales/save_new_sale','0.017647981643677','2016-09-19 12:48:13'),(31157,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000093\' WHERE `ID` =  2348','sales/save_new_sale','0.01621413230896','2016-09-19 12:48:13'),(31158,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000093\', \'OR[00000050]\', \'Sales [ OR[00000050] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'540\', \'540\', \'10\')','sales/save_new_sale','0.01025390625','2016-09-19 12:48:13'),(31159,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000093\', 1, \'fadh\', \'32772\', \'\', 540, \'1\', \'1\', \'540\', \'09\', \'2016\', \'1\', \'OR[00000050]\', \'0\', \'User\')','sales/save_new_sale','0.012083053588867','2016-09-19 12:48:13'),(31160,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000093\', \'fadh\', \'32761\', \'\', 540, \'1\', \'1\', \'540\', \'09\', \'2016\', \'OR[00000050]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016678094863892','2016-09-19 12:48:13'),(31161,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 540, `total_amount_cr` = 540, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000093\'','sales/save_new_sale','0.012180805206299','2016-09-19 12:48:13'),(31162,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2348','sales/save_new_sale','0.012571811676025','2016-09-19 12:48:13'),(31163,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11550','sales/save_new_sale','0.012173891067505','2016-09-19 12:48:14'),(31164,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000093\'','sales/save_new_sale','0.012544870376587','2016-09-19 12:48:14'),(31165,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011192083358765','2016-09-19 12:48:14'),(31166,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015978097915649','2016-09-19 12:48:14'),(31167,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'122\', \'OR\', \'540.00\', \'13\')','sales/save_new_sale','0.075865030288696','2016-09-19 12:50:48'),(31168,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2349, \'32772\', \'fadh\', \'540.00\', 1)','sales/save_new_sale','0.012117147445679','2016-09-19 12:50:48'),(31169,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2349','sales/save_new_sale','0.0001990795135498','2016-09-19 12:50:48'),(31170,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 94 WHERE `ID` =  \'350\'','sales/save_new_sale','0.013708114624023','2016-09-19 12:50:48'),(31171,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000094\' WHERE `ID` =  2349','sales/save_new_sale','0.012120008468628','2016-09-19 12:50:48'),(31172,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000094\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'540\', \'540\', \'10\')','sales/save_new_sale','0.031310796737671','2016-09-19 12:50:48'),(31173,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000094\', 1, \'fadh\', \'32772\', \'\', 540, \'1\', \'1\', \'540\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.041098833084106','2016-09-19 12:50:48'),(31174,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000094\', \'fadh\', \'32761\', \'\', 540, \'1\', \'1\', \'540\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012407064437866','2016-09-19 12:50:48'),(31175,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 540, `total_amount_cr` = 540, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000094\'','sales/save_new_sale','0.012165069580078','2016-09-19 12:50:48'),(31176,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2349','sales/save_new_sale','0.012542963027954','2016-09-19 12:50:48'),(31177,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11551','sales/save_new_sale','0.012189865112305','2016-09-19 12:50:48'),(31178,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000094\'','sales/save_new_sale','0.012544870376587','2016-09-19 12:50:48'),(31179,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.013762950897217','2016-09-19 12:50:48'),(31180,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011996984481812','2016-09-19 12:50:48'),(31181,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'122\', \'OR\', \'5439.00\', \'13\')','sales/save_new_sale','0.090703010559082','2016-09-19 12:51:52'),(31182,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2350, \'32772\', \'fadh\', \'5439.00\', 1)','sales/save_new_sale','0.0123450756073','2016-09-19 12:51:52'),(31183,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2350','sales/save_new_sale','0.00020098686218262','2016-09-19 12:51:52'),(31184,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 95 WHERE `ID` =  \'350\'','sales/save_new_sale','0.013276100158691','2016-09-19 12:51:52'),(31185,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000095\' WHERE `ID` =  2350','sales/save_new_sale','0.012353897094727','2016-09-19 12:51:52'),(31186,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000095\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'5439\', \'5439\', \'10\')','sales/save_new_sale','0.010097980499268','2016-09-19 12:51:52'),(31187,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000095\', 1, \'fadh\', \'32772\', \'\', 5439, \'1\', \'1\', \'5439\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.012248992919922','2016-09-19 12:51:52'),(31188,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000095\', \'fadh\', \'32761\', \'\', 5439, \'1\', \'1\', \'5439\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012197971343994','2016-09-19 12:51:52'),(31189,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 5439, `total_amount_cr` = 5439, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000095\'','sales/save_new_sale','0.020709037780762','2016-09-19 12:51:52'),(31190,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2350','sales/save_new_sale','0.012346029281616','2016-09-19 12:51:52'),(31191,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11552','sales/save_new_sale','0.012389183044434','2016-09-19 12:51:52'),(31192,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000095\'','sales/save_new_sale','0.012324094772339','2016-09-19 12:51:52'),(31193,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.019824028015137','2016-09-19 12:51:52'),(31194,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011739015579224','2016-09-19 12:51:52'),(31195,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'122\', \'OR\', \'33242.00\', \'13\')','sales/save_new_sale','0.096127033233643','2016-09-19 12:56:35'),(31196,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2351, \'32772\', \'fadh\', \'33242.00\', 1)','sales/save_new_sale','0.012286901473999','2016-09-19 12:56:35'),(31197,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2351','sales/save_new_sale','0.00015997886657715','2016-09-19 12:56:35'),(31198,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 96 WHERE `ID` =  \'350\'','sales/save_new_sale','0.022014856338501','2016-09-19 12:56:35'),(31199,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000096\' WHERE `ID` =  2351','sales/save_new_sale','0.0123131275177','2016-09-19 12:56:35'),(31200,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000096\', \'OR[00000049]\', \'Sales [ OR[00000049] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'33242\', \'33242\', \'10\')','sales/save_new_sale','0.010221004486084','2016-09-19 12:56:35'),(31201,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000096\', 1, \'fadh\', \'32772\', \'\', 33242, \'1\', \'1\', \'33242\', \'09\', \'2016\', \'1\', \'OR[00000049]\', \'0\', \'User\')','sales/save_new_sale','0.012173891067505','2016-09-19 12:56:35'),(31202,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000096\', \'fadh\', \'32761\', \'\', 33242, \'1\', \'1\', \'33242\', \'09\', \'2016\', \'OR[00000049]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.020592927932739','2016-09-19 12:56:35'),(31203,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 33242, `total_amount_cr` = 33242, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000096\'','sales/save_new_sale','0.024837970733643','2016-09-19 12:56:35'),(31204,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2351','sales/save_new_sale','0.02066707611084','2016-09-19 12:56:35'),(31205,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11553','sales/save_new_sale','0.024888038635254','2016-09-19 12:56:35'),(31206,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000096\'','sales/save_new_sale','0.016475915908813','2016-09-19 12:56:35'),(31207,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015293121337891','2016-09-19 12:56:35'),(31208,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012132167816162','2016-09-19 12:56:35'),(31209,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-19\', \'122\', \'OR\', \'439.00\', \'13\')','sales/save_new_sale','0.037176847457886','2016-09-19 13:03:56'),(31210,13,10,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2352, \'32772\', \'fadh\', \'439.00\', 1)','sales/save_new_sale','0.012094020843506','2016-09-19 13:03:56'),(31211,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2352','sales/save_new_sale','0.00022196769714355','2016-09-19 13:03:56'),(31212,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 97 WHERE `ID` =  \'350\'','sales/save_new_sale','0.025851964950562','2016-09-19 13:03:56'),(31213,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000097\' WHERE `ID` =  2352','sales/save_new_sale','0.012560129165649','2016-09-19 13:03:56'),(31214,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000097\', \'OR[00000043]\', \'Sales [ OR[00000043] ]\', \'\', \'2\', \'2016-09-19\', \'2016\', \'09\', \'439\', \'439\', \'10\')','sales/save_new_sale','0.0099568367004395','2016-09-19 13:03:56'),(31215,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000097\', 1, \'fadh\', \'32772\', \'\', 439, \'1\', \'1\', \'439\', \'09\', \'2016\', \'1\', \'OR[00000043]\', \'0\', \'User\')','sales/save_new_sale','0.012403964996338','2016-09-19 13:03:56'),(31216,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000097\', \'fadh\', \'32761\', \'\', 439, \'1\', \'1\', \'439\', \'09\', \'2016\', \'OR[00000043]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012020826339722','2016-09-19 13:03:56'),(31217,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 439, `total_amount_cr` = 439, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000097\'','sales/save_new_sale','0.016193151473999','2016-09-19 13:03:56'),(31218,13,10,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2352','sales/save_new_sale','0.012892007827759','2016-09-19 13:03:56'),(31219,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11554','sales/save_new_sale','0.011847019195557','2016-09-19 13:03:56'),(31220,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000097\'','sales/save_new_sale','0.012859106063843','2016-09-19 13:03:56'),(31221,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.013697862625122','2016-09-19 13:03:56'),(31222,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012281894683838','2016-09-19 13:03:56'),(31223,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.247270822525','2016-09-20 10:52:20'),(31224,13,10,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.comm\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-20 04-52-23\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/userMaster','0.00089406967163086','2016-09-20 10:52:31'),(31225,13,10,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.commmm\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-20 05-07-37\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/Usermaster','0.00032687187194824','2016-09-20 11:07:43'),(31226,13,10,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.comvvvv\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-20 05-13-49\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/Usermaster','0.088732957839966','2016-09-20 11:14:06'),(31227,13,10,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.commmmm\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-20 05-19-51\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/Usermaster','0.00028681755065918','2016-09-20 11:19:57'),(31228,13,10,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.commmm\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-20 05-21-10\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/Usermaster','0.00030994415283203','2016-09-20 11:21:18'),(31229,13,10,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.comsfsddsfsdf\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-20 05-23-20\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/Usermaster','0.00024986267089844','2016-09-20 11:23:25'),(31230,13,10,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.com\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090111111\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-20 05-24-00\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/Usermaster','0.00026988983154297','2016-09-20 11:24:11'),(31231,13,10,'192.168.1.198','update','UPDATE `tbl_usermaster` SET `userid` = \'aizat@gmail.com\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'aizat@gmail.comdsfsfdsdf\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'03-55109090\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-20 05-26-54\', `modified_user` = 0 WHERE `fldid` =  \'10\'','userProfile/Usermaster','0.00094890594482422','2016-09-20 11:27:03'),(31232,12,11,'192.168.1.211','update','UPDATE `tbl_usermaster` SET `userid` = \'akmaluddin@salihin.com.my\', `password` = \'827ccb0eea8a706c4c34a16891f84e7b\', `username` = \'akmaluddin mustajid\', `position` = 0, `email` = \'salikeen@salihin.com.my\', `phone_off` = 0, `Phone_mobile` = \'0123456\', `department` = 0, `section` = 0, `language` = \'en\', `imageFile` = \'1.png\', `modified_dt` = \'2016-09-21 03-56-36\', `modified_user` = 0 WHERE `fldid` =  \'11\'','userProfile/Usermaster','0.00086498260498047','2016-09-21 09:56:52'),(31233,12,11,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1066420078278','2016-09-21 10:10:16'),(31234,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'[]\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.10077309608459','2016-09-21 11:29:08'),(31235,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'[]\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.01630711555481','2016-09-21 11:29:08'),(31236,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.021466970443726','2016-09-21 11:29:49'),(31237,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.016345977783203','2016-09-21 11:29:49'),(31238,12,11,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2111511230469','2016-09-21 11:33:20'),(31239,12,11,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.027843952179','2016-09-21 11:45:06'),(31240,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'hijrahpomade\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.11623597145081','2016-09-21 11:55:14'),(31241,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'hijrahpomade\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.03771185874939','2016-09-21 11:55:14'),(31242,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.092581987380981','2016-09-21 11:56:28'),(31243,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.025513887405396','2016-09-21 11:56:28'),(31244,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'hoho\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.091691970825195','2016-09-21 11:57:08'),(31245,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'hoho\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.016318082809448','2016-09-21 11:57:08'),(31246,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.024502992630005','2016-09-21 11:57:16'),(31247,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.016291856765747','2016-09-21 11:57:16'),(31248,12,11,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.3645179271698','2016-09-21 14:16:06'),(31249,15,15,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'15\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1990320682526','2016-09-21 14:44:16'),(31250,15,15,'192.168.1.211','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-09-21\' WHERE `ID` =  \'15\'','setup/updateCompany','0.10399889945984','2016-09-21 14:46:19'),(31251,15,15,'192.168.1.211','update','UPDATE `tekun-admin`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-09-21\' WHERE `ID` =  \'15\'','setup/updateCompany','0.018105030059814','2016-09-21 14:46:19'),(31252,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo2\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.11155009269714','2016-09-21 16:12:55'),(31253,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo2\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.014643907546997','2016-09-21 16:12:55'),(31254,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.052778959274292','2016-09-21 16:13:05'),(31255,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.13896894454956','2016-09-21 16:13:05'),(31256,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo1\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.027909994125366','2016-09-21 17:27:53'),(31257,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo1\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.041341066360474','2016-09-21 17:27:53'),(31258,1,1,'192.168.1.195','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1116888523102','2016-09-21 17:28:59'),(31259,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.092209100723267','2016-09-21 17:31:18'),(31260,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.051462888717651','2016-09-21 17:31:18'),(31261,1,1,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1438109874725','2016-09-21 18:31:35'),(31262,1,1,'192.168.1.192','update','UPDATE `company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo1\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.016638040542603','2016-09-21 18:33:05'),(31263,1,1,'192.168.1.192','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Demo Demo Demo Sdn Bhd\', `webPageName` = \'demo1\', `line1` = \'demo demo demo demo\', `line2` = \'off jalan line 3\', `line3` = \'main road jalan 3,\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1922\', `countryID` = \'458\', `parlimenID` = \'5\', `phoneNo` = \'603-6185997012\', `faxNo` = \'603-61857788\', `email` = \'puterakatak29@gmail.com\', `incorporateDate` = \'2015-01-01\', `businessTypeID` = \'8\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'1.JPG\', `updatedBy` = 0 WHERE `ID` =  \'1\'','setup/companySetup','0.018209934234619','2016-09-21 18:33:05'),(31264,1,1,'115.164.84.79','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0047669410706','2016-09-22 14:50:30'),(31265,1,1,'115.164.84.79','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-22\', \'82\', \'OR\', \'1399.00\', \'1\')','sales/save_new_sale','0.044787168502808','2016-09-22 15:07:21'),(31266,1,1,'115.164.84.79','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2353, \'32526\', \'PS4\', \'1399.00\', 1)','sales/save_new_sale','0.041501998901367','2016-09-22 15:07:21'),(31267,1,1,'115.164.84.79','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2353','sales/save_new_sale','0.00024104118347168','2016-09-22 15:07:21'),(31268,1,1,'115.164.84.79','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'353\'','sales/save_new_sale','0.026625871658325','2016-09-22 15:07:21'),(31269,1,1,'115.164.84.79','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000004\' WHERE `ID` =  2353','sales/save_new_sale','0.027184009552002','2016-09-22 15:07:21'),(31270,1,1,'115.164.84.79','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AR20160900000004\', \'OR[00000063]\', \'Sales [ OR[00000063] ]\', \'\', \'2\', \'2016-09-22\', \'2016\', \'09\', \'1399\', \'1399\', \'1\')','sales/save_new_sale','0.12402105331421','2016-09-22 15:07:21'),(31271,1,1,'115.164.84.79','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'1\', \'AR20160900000004\', 1, \'PS4\', \'32526\', \'\', 1399, \'1\', \'1\', \'1399\', \'09\', \'2016\', \'1\', \'OR[00000063]\', \'0\', \'User\')','sales/save_new_sale','0.048247098922729','2016-09-22 15:07:21'),(31272,1,1,'115.164.84.79','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'1\', 2, \'AR20160900000004\', \'PS4\', \'32515\', \'\', 1399, \'1\', \'1\', \'1399\', \'09\', \'2016\', \'OR[00000063]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016386985778809','2016-09-22 15:07:21'),(31273,1,1,'115.164.84.79','update','UPDATE `comp_journal` SET `total_amount_dr` = 1399, `total_amount_cr` = 1399, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000004\'','sales/save_new_sale','0.044127941131592','2016-09-22 15:07:21'),(31274,1,1,'115.164.84.79','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2353','sales/save_new_sale','0.021599054336548','2016-09-22 15:07:21'),(31275,1,1,'115.164.84.79','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11555','sales/save_new_sale','0.014557838439941','2016-09-22 15:07:21'),(31276,1,1,'115.164.84.79','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000004\'','sales/save_new_sale','0.050121068954468','2016-09-22 15:07:21'),(31277,1,1,'115.164.84.79','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32526\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.030421018600464','2016-09-22 15:07:21'),(31278,1,1,'115.164.84.79','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018527030944824','2016-09-22 15:07:21'),(31279,1,1,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0817279815674','2016-09-22 15:21:07'),(31280,1,1,'192.168.1.195','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2152769565582','2016-09-22 17:13:57'),(31281,1,1,'192.168.1.211','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-23\', \'82\', \'OR\', \'1399.00\', \'1\')','sales/save_new_sale','0.07427716255188','2016-09-23 10:17:31'),(31282,1,1,'192.168.1.211','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2354, \'32526\', \'XBox One S\', \'1399.00\', 1)','sales/save_new_sale','0.038761138916016','2016-09-23 10:17:31'),(31283,1,1,'192.168.1.211','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2354','sales/save_new_sale','0.0001990795135498','2016-09-23 10:17:31'),(31284,1,1,'192.168.1.211','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'353\'','sales/save_new_sale','0.036678791046143','2016-09-23 10:17:31'),(31285,1,1,'192.168.1.211','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000005\' WHERE `ID` =  2354','sales/save_new_sale','0.01379919052124','2016-09-23 10:17:31'),(31286,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AR20160900000005\', \'OR[00000064]\', \'Sales [ OR[00000064] ]\', \'\', \'2\', \'2016-09-23\', \'2016\', \'09\', \'1399\', \'1399\', \'1\')','sales/save_new_sale','0.04195499420166','2016-09-23 10:17:31'),(31287,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'1\', \'AR20160900000005\', 1, \'XBox One S\', \'32526\', \'\', 1399, \'1\', \'1\', \'1399\', \'09\', \'2016\', \'1\', \'OR[00000064]\', \'0\', \'User\')','sales/save_new_sale','0.10529208183289','2016-09-23 10:17:31'),(31288,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'1\', 2, \'AR20160900000005\', \'XBox One S\', \'32515\', \'\', 1399, \'1\', \'1\', \'1399\', \'09\', \'2016\', \'OR[00000064]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.027411937713623','2016-09-23 10:17:31'),(31289,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `total_amount_dr` = 1399, `total_amount_cr` = 1399, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000005\'','sales/save_new_sale','0.0081439018249512','2016-09-23 10:17:31'),(31290,1,1,'192.168.1.211','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2354','sales/save_new_sale','0.014125823974609','2016-09-23 10:17:31'),(31291,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11556','sales/save_new_sale','0.010607004165649','2016-09-23 10:17:31'),(31292,1,1,'192.168.1.211','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000005\'','sales/save_new_sale','0.049828052520752','2016-09-23 10:17:31'),(31293,1,1,'192.168.1.211','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32526\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022114992141724','2016-09-23 10:17:31'),(31294,1,1,'192.168.1.211','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018626928329468','2016-09-23 10:17:31'),(31295,1,1,'192.168.1.211','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-23\', \'82\', \'100\', \'TT\', \'83\', \'1\', 3)','transfer/newTransfer','0.38996887207031','2016-09-23 10:50:23'),(31296,1,1,'192.168.1.211','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2258, \'32516\', \'100\', \'deposit\')','transfer/newTransfer','0.029958009719849','2016-09-23 10:50:23'),(31297,1,1,'192.168.1.211','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'352\'','transfer/newTransfer','0.028949022293091','2016-09-23 10:50:23'),(31298,1,1,'192.168.1.211','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000009\' WHERE `ID` =  2258','transfer/newTransfer','0.0081889629364014','2016-09-23 10:50:23'),(31299,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20160900000009\', \' [TT[00000669]]]\', \'Bank Transfer [  [TT[00000669]]] ]\', \'\', \'3\', \'2016-09-23\', \'2016\', \'09\', 100, 100, \'User\')','transfer/newTransfer','0.039284944534302','2016-09-23 10:50:23'),(31300,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000009\', 1, \'deposit\', \'32515\', 100, 1, \'1\', \'100\', \'09\', \'2016\', \'0\', \'TT[00000669]\', \'User\')','transfer/newTransfer','0.049715995788574','2016-09-23 10:50:23'),(31301,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20160900000009\', 2, \'deposit\', \'32516\', 100, 1, \'1\', \'100\', \'09\', \'2016\', \'0\', \'TT[00000669]\', \'User\')','transfer/newTransfer','0.024784088134766','2016-09-23 10:50:24'),(31302,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000009\'','transfer/newTransfer','0.013791084289551','2016-09-23 10:50:24'),(31303,1,1,'192.168.1.211','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2258','transfer/newTransfer','0.027580976486206','2016-09-23 10:50:24'),(31304,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11557','transfer/newTransfer','0.0082061290740967','2016-09-23 10:50:24'),(31305,1,1,'192.168.1.211','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20160900000009\'','transfer/newTransfer','0.041524171829224','2016-09-23 10:50:24'),(31306,1,1,'192.168.1.211','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.022194147109985','2016-09-23 10:50:24'),(31307,1,1,'192.168.1.211','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32516\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.035342931747437','2016-09-23 10:50:24'),(31308,1,1,'192.168.1.211','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-09-23\', \'82\', \'1000000\', \'LR\', \'SME Bank\', \'1\', 3)','loanReceive/save_new_loan','0.14042806625366','2016-09-23 11:46:43'),(31309,1,1,'192.168.1.211','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2355, 1, \'32522\', \'1000000\', \'loan\')','loanReceive/save_new_loan','0.016815900802612','2016-09-23 11:46:43'),(31310,1,1,'192.168.1.211','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'353\'','loanReceive/save_new_loan','0.025452852249146','2016-09-23 11:46:43'),(31311,1,1,'192.168.1.211','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000006\' WHERE `ID` =  2355','loanReceive/save_new_loan','0.01679801940918','2016-09-23 11:46:44'),(31312,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AR20160900000006\', \'LR[00000065]\', \'Loan Received [ LR[00000065] ]\', \'\', \'3\', \'2016-09-23\', \'2016\', \'09\', 1000000, 1000000, \'User\')','loanReceive/save_new_loan','0.030650854110718','2016-09-23 11:46:44'),(31313,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'1\', \'AR20160900000006\', 1, \'loan\', \'32522\', \'SME Bank\', 1000000, \'1\', \'1\', \'1000000\', \'09\', \'2016\', \'1\', \'LR[00000065]\', \'0\', \'User\')','loanReceive/save_new_loan','0.069211006164551','2016-09-23 11:46:44'),(31314,1,1,'192.168.1.211','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'1\', 2, \'AR20160900000006\', \'loan\', \'32515\', \'SME Bank\', 1000000, \'1\', \'1\', \'1000000\', \'09\', \'2016\', \'LR[00000065]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.0080330371856689','2016-09-23 11:46:44'),(31315,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000000, `total_amount_cr` = 1000000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000006\'','loanReceive/save_new_loan','0.013942956924438','2016-09-23 11:46:44'),(31316,1,1,'192.168.1.211','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2355','loanReceive/save_new_loan','0.016258955001831','2016-09-23 11:46:44'),(31317,1,1,'192.168.1.211','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11558','loanReceive/save_new_loan','0.027703046798706','2016-09-23 11:46:44'),(31318,1,1,'192.168.1.211','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AR20160900000006\'','loanReceive/save_new_loan','0.033169031143188','2016-09-23 11:46:44'),(31319,1,1,'192.168.1.211','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32522\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','loanReceive/save_new_loan','0.030734062194824','2016-09-23 11:46:44'),(31320,1,1,'192.168.1.211','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','loanReceive/save_new_loan','0.010143995285034','2016-09-23 11:46:44'),(31321,1,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.034878015518188','2016-09-23 14:40:40'),(31322,1,1,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.1218798160553','2016-09-23 14:40:57'),(31323,1,1,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.0010509490966797','2016-09-23 14:41:13'),(31324,1,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0098111629486084','2016-09-23 14:44:24'),(31325,1,1,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.0015439987182617','2016-09-23 14:44:29'),(31326,1,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0016610622406006','2016-09-23 14:45:13'),(31327,1,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0033509731292725','2016-09-23 14:46:12'),(31328,1,1,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.0016679763793945','2016-09-23 14:46:25'),(31329,1,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.0016109943389893','2016-09-23 14:46:41'),(31330,1,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.04827618598938','2016-09-23 15:41:50'),(31331,1,1,'192.168.1.211','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 1, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 1)','setup/assetSetup','0.00094103813171387','2016-09-23 15:43:30'),(31332,1,1,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.020370960235596','2016-09-23 15:43:54'),(31333,1,1,'192.168.1.211','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.0010330677032471','2016-09-23 15:47:11'),(31334,13,10,'113.210.60.173','update','UPDATE `company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `webPageName` = \'aizat\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-10\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.10942316055298','2016-09-23 17:37:38'),(31335,13,10,'113.210.60.173','update','UPDATE `tekun-admin`.`company` SET `companyName` = \'Aizat Demo Sdn Bhd\', `webPageName` = \'aizat\', `line1` = \'No 1 jln 177\', `line2` = \'2/9\', `line3` = \'sri gombak\', `city` = \'Bt Caves\', `companyPostCode` = \'68100\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'99\', `phoneNo` = \'01222665578\', `faxNo` = \'01234\', `email` = \'hihi@yahoo.com\', `incorporateDate` = \'2016-08-10\', `businessTypeID` = \'12\', `businessIndustryID` = \'3\', `currencyID` = 1, `uploadLogo` = \'13.JPG\', `updatedBy` = 0 WHERE `ID` =  \'13\'','setup/companySetup','0.049345016479492','2016-09-23 17:37:38'),(31336,13,10,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0897228717804','2016-09-26 09:29:22'),(31337,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-26\', \'122\', \'123\', \'TT\', \'123\', \'13\', 3)','transfer/newTransfer','0.14341306686401','2016-09-26 10:18:27'),(31338,13,10,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2259, \'32762\', \'123\', \'fad\')','transfer/newTransfer','0.033205032348633','2016-09-26 10:18:27'),(31339,13,10,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  \'349\'','transfer/newTransfer','0.019784927368164','2016-09-26 10:18:27'),(31340,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000031\' WHERE `ID` =  2259','transfer/newTransfer','0.0081830024719238','2016-09-26 10:18:27'),(31341,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000031\', \' [TT[00000100]]]\', \'Bank Transfer [  [TT[00000100]]] ]\', \'\', \'3\', \'2016-09-26\', \'2016\', \'09\', 123, 123, \'User\')','transfer/newTransfer','0.01429295539856','2016-09-26 10:18:27'),(31342,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000031\', 1, \'fad\', \'32761\', 123, 1, \'1\', \'123\', \'09\', \'2016\', \'0\', \'TT[00000100]\', \'User\')','transfer/newTransfer','0.0080499649047852','2016-09-26 10:18:27'),(31343,13,10,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000031\', 2, \'fad\', \'32762\', 123, 1, \'1\', \'123\', \'09\', \'2016\', \'0\', \'TT[00000100]\', \'User\')','transfer/newTransfer','0.0080721378326416','2016-09-26 10:18:27'),(31344,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000031\'','transfer/newTransfer','0.013485193252563','2016-09-26 10:18:27'),(31345,13,10,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2259','transfer/newTransfer','0.01121997833252','2016-09-26 10:18:27'),(31346,13,10,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11559','transfer/newTransfer','0.016515970230103','2016-09-26 10:18:27'),(31347,13,10,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000031\'','transfer/newTransfer','0.021522045135498','2016-09-26 10:18:27'),(31348,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015751123428345','2016-09-26 10:18:27'),(31349,13,10,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.010622978210449','2016-09-26 10:18:27'),(31350,13,10,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'13\', \'10\', 1, \'32773\', \'68\', \'123\', \'OP-C\', \'2016-09-01\', \'122\', \'1\')','expenses/fnSaveExpenses','0.071566104888916','2016-09-26 10:26:14'),(31351,13,10,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2260, `createdBy` = \'10\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32773\', `amountIncludedTax` = \'123\', `amountExcludedTax` = \'123\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2242\'','expenses/fnSaveExpenses','0.01609206199646','2016-09-26 10:26:14'),(31352,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  \'349\'','expenses/fnSaveExpenses','0.030334949493408','2016-09-26 10:26:14'),(31353,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000032\' WHERE `ID` =  2260','expenses/fnSaveExpenses','0.019727945327759','2016-09-26 10:26:14'),(31354,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AP20160900000032\', \'Cost of Goods Sold [OP-C[00000101]]\', \'Cost of Goods Sold [OP-C[00000101]]\', \'\', \'3\', \'2016-09-01\', \'16\', \'09\', 123, 123, \'10\')','expenses/fnSaveExpenses','0.011152982711792','2016-09-26 10:26:14'),(31355,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000032\', 1, \'fad\', \'32761\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000101]\', \'User\')','expenses/fnSaveExpenses','0.019613981246948','2016-09-26 10:26:14'),(31356,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'13\', \'AP20160900000032\', 2, \'fad\', \'32773\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-C[00000101]\', \'User\')','expenses/fnSaveExpenses','0.0080990791320801','2016-09-26 10:26:14'),(31357,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000032\'','expenses/fnSaveExpenses','0.016739130020142','2016-09-26 10:26:14'),(31358,13,10,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2260','expenses/fnSaveExpenses','0.12462592124939','2016-09-26 10:26:14'),(31359,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11560','expenses/fnSaveExpenses','0.012840986251831','2016-09-26 10:26:14'),(31360,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AP20160900000032\'','expenses/fnSaveExpenses','0.011677026748657','2016-09-26 10:26:14'),(31361,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015634059906006','2016-09-26 10:26:14'),(31362,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32773\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01275110244751','2016-09-26 10:26:14'),(31363,13,10,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0055701732635','2016-09-26 11:08:50'),(31364,12,11,'192.168.1.199','update','UPDATE `company` SET `companyName` = \'kedai-e.net\', `webPageName` = \'akmal\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1928\', `countryID` = \'458\', `parlimenID` = \'4\', `phoneNo` = \'123\', `faxNo` = \'123\', `email` = \'farhana@salihin.com.my\', `incorporateDate` = \'1970-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'12.JPG\', `updatedBy` = 0 WHERE `ID` =  \'12\'','setup/companySetup','0.00028514862060547','2016-09-26 12:59:46'),(31365,12,11,'192.168.1.199','update','UPDATE `spslitem_tekun_admindb`.`company` SET `companyName` = \'kedai-e.net\', `webPageName` = \'akmal\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1928\', `countryID` = \'458\', `parlimenID` = \'4\', `phoneNo` = \'123\', `faxNo` = \'123\', `email` = \'farhana@salihin.com.my\', `incorporateDate` = \'1970-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'12.JPG\', `updatedBy` = 0 WHERE `ID` =  \'12\'','setup/companySetup','0.11802697181702','2016-09-26 12:59:46'),(31366,12,11,'192.168.1.199','update','UPDATE `company` SET `companyName` = \'kedai-e.net\', `webPageName` = \'akmal\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1928\', `countryID` = \'458\', `parlimenID` = \'4\', `phoneNo` = \'123\', `faxNo` = \'123\', `email` = \'farhana@salihin.com.my\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'12.JPG\', `updatedBy` = 0 WHERE `ID` =  \'12\'','setup/companySetup','0.033543109893799','2016-09-26 13:00:54'),(31367,12,11,'192.168.1.199','update','UPDATE `spslitem_tekun_admindb`.`company` SET `companyName` = \'kedai-e.net\', `webPageName` = \'akmal\', `line1` = \'no 16 jalan 9/12\', `line2` = \'taman 13\', `line3` = \'bandar 14\', `city` = \'btcaves\', `companyPostCode` = \'123\', `companyStateID` = \'1928\', `countryID` = \'458\', `parlimenID` = \'4\', `phoneNo` = \'123\', `faxNo` = \'123\', `email` = \'farhana@salihin.com.my\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'2\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'12.JPG\', `updatedBy` = 0 WHERE `ID` =  \'12\'','setup/companySetup','0.044924974441528','2016-09-26 13:00:54'),(31368,39,28,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-02-02\' WHERE `ID` =  \'39\'','setup/updateCompany','0.00089383125305176','2016-09-26 13:01:56'),(31369,39,28,'192.168.1.201','update','UPDATE `spslitem_tekun_admindb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'3\', `incorporateDate` = \'2016-02-02\' WHERE `ID` =  \'39\'','setup/updateCompany','0.086583137512207','2016-09-26 13:01:56'),(31370,39,28,'192.168.1.201','update','UPDATE `company` SET `companyName` = \'RAHMAT MAZNAH SDN BHD\', `webPageName` = \'mrsb\', `line1` = \'No. 48, Lorong Kerayong 5A\', `line2` = \'Taman Seri Kerayong\', `line3` = \'Klang\', `city` = \'Klang\', `companyPostCode` = \'42200\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'129020146\', `faxNo` = \'0129020146\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'3\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'39\'','setup/companySetup','0.022247076034546','2016-09-26 15:01:53'),(31371,39,28,'192.168.1.201','update','UPDATE `spslitem_tekun_admindb`.`company` SET `companyName` = \'RAHMAT MAZNAH SDN BHD\', `webPageName` = \'mrsb\', `line1` = \'No. 48, Lorong Kerayong 5A\', `line2` = \'Taman Seri Kerayong\', `line3` = \'Klang\', `city` = \'Klang\', `companyPostCode` = \'42200\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'129020146\', `faxNo` = \'0129020146\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'3\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'39\'','setup/companySetup','0.011665105819702','2016-09-26 15:01:53'),(31372,39,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 39, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 39)','setup/assetSetup','0.1093111038208','2016-09-26 15:02:32'),(31373,39,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 39, acctName, id from comp_chart_of_acct where companyid = 39 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 39)','bank/index','0.13804793357849','2016-09-26 15:02:37'),(31374,39,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 39, acctName, id from comp_chart_of_acct where companyid = 39 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 39)','bank/index','0.0010437965393066','2016-09-26 15:03:30'),(31375,39,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'BIMB\', `currentBalance` = \'1000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'172\'','bank/saveBank','0.021651983261108','2016-09-26 15:04:00'),(31376,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'BIMB\', `openingBalanceDr` = 1000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33310\'','bank/saveBank','0.011981010437012','2016-09-26 15:04:00'),(31377,39,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 39, acctName, id from comp_chart_of_acct where companyid = 39 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 39)','bank/index','0.0010240077972412','2016-09-26 15:04:02'),(31378,39,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'2000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'173\'','bank/saveBank','0.086465120315552','2016-09-26 15:04:19'),(31379,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 2000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33311\'','bank/saveBank','0.016426801681519','2016-09-26 15:04:19'),(31380,39,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 39, acctName, id from comp_chart_of_acct where companyid = 39 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 39)','bank/index','0.037429094314575','2016-09-26 15:04:21'),(31381,39,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'MBB\', `currentBalance` = \'3000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'174\'','bank/saveBank','0.035934925079346','2016-09-26 15:04:33'),(31382,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MBB\', `openingBalanceDr` = 3000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33312\'','bank/saveBank','0.042393922805786','2016-09-26 15:04:33'),(31383,39,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 39, acctName, id from comp_chart_of_acct where companyid = 39 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 39)','bank/index','0.0010168552398682','2016-09-26 15:04:34'),(31384,39,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 1	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'175\'','bank/saveBank','0.088436126708984','2016-09-26 15:04:44'),(31385,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 1	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33313\'','bank/saveBank','0.045039892196655','2016-09-26 15:04:44'),(31386,39,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 39, acctName, id from comp_chart_of_acct where companyid = 39 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 39)','bank/index','0.0010519027709961','2016-09-26 15:04:45'),(31387,39,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 2	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'176\'','bank/saveBank','0.021469116210938','2016-09-26 15:04:50'),(31388,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33314\'','bank/saveBank','0.0080940723419189','2016-09-26 15:04:50'),(31389,39,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 39, acctName, id from comp_chart_of_acct where companyid = 39 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 39)','bank/index','0.0010209083557129','2016-09-26 15:04:51'),(31390,39,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'39\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.13551902771','2016-09-26 15:04:55'),(31391,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-26\', \'172\', \'OR\', \'1500.00\', \'39\')','sales/save_new_sale','0.094969987869263','2016-09-26 15:05:26'),(31392,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2356, \'33321\', \'KEK BATIK\', \'1500.00\', 1)','sales/save_new_sale','0.012283086776733','2016-09-26 15:05:26'),(31393,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2356','sales/save_new_sale','0.00026512145996094','2016-09-26 15:05:26'),(31394,39,28,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'39\', \'2\', \'2016\', \'09\', \'AR\', 1)','sales/save_new_sale','0.019935131072998','2016-09-26 15:05:26'),(31395,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000001\' WHERE `ID` =  2356','sales/save_new_sale','0.012351989746094','2016-09-26 15:05:26'),(31396,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000001\', \'OR[00000001]\', \'Sales [ OR[00000001] ]\', \'\', \'2\', \'2016-09-26\', \'2016\', \'09\', \'1500\', \'1500\', \'28\')','sales/save_new_sale','0.010045051574707','2016-09-26 15:05:26'),(31397,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000001\', 1, \'KEK BATIK\', \'33321\', \'\', 1500, \'1\', \'1\', \'1500\', \'09\', \'2016\', \'1\', \'OR[00000001]\', \'0\', \'User\')','sales/save_new_sale','0.0121910572052','2016-09-26 15:05:26'),(31398,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000001\', \'KEK BATIK\', \'33310\', \'\', 1500, \'1\', \'1\', \'1500\', \'09\', \'2016\', \'OR[00000001]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012211084365845','2016-09-26 15:05:26'),(31399,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1500, `total_amount_cr` = 1500, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000001\'','sales/save_new_sale','0.012316942214966','2016-09-26 15:05:26'),(31400,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2356','sales/save_new_sale','0.012357950210571','2016-09-26 15:05:26'),(31401,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11561','sales/save_new_sale','0.016517162322998','2016-09-26 15:05:26'),(31402,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000001\'','sales/save_new_sale','0.029268980026245','2016-09-26 15:05:26'),(31403,39,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'39\', \'3\', \'33310\', \'2016\', \'9\', \'1500\', \'0\', 1500, \'User\', \'2016-09-26: 09:09:26\')','sales/save_new_sale','0.017949104309082','2016-09-26 15:05:26'),(31404,39,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'39\', \'7\', \'33321\', \'2016\', \'9\', \'0\', \'1500\', -1500, \'User\', \'2016-09-26: 09:09:26\')','sales/save_new_sale','0.011417150497437','2016-09-26 15:05:26'),(31405,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-26\', \'172\', \'OR\', \'2000.00\', \'39\')','sales/save_new_sale','0.084774017333984','2016-09-26 15:07:01'),(31406,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2357, \'33321\', \'KEK PISANG\', \'2000.00\', 1)','sales/save_new_sale','0.02074408531189','2016-09-26 15:07:01'),(31407,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2357','sales/save_new_sale','0.00019693374633789','2016-09-26 15:07:01'),(31408,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'355\'','sales/save_new_sale','0.12534093856812','2016-09-26 15:07:01'),(31409,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000002\' WHERE `ID` =  2357','sales/save_new_sale','0.012261867523193','2016-09-26 15:07:01'),(31410,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000002\', \'OR[00000002]\', \'Sales [ OR[00000002] ]\', \'\', \'2\', \'2016-09-26\', \'2016\', \'09\', \'2000\', \'2000\', \'28\')','sales/save_new_sale','0.018563032150269','2016-09-26 15:07:01'),(31411,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000002\', 1, \'KEK PISANG\', \'33321\', \'\', 2000, \'1\', \'1\', \'2000\', \'09\', \'2016\', \'1\', \'OR[00000002]\', \'0\', \'User\')','sales/save_new_sale','0.012129068374634','2016-09-26 15:07:01'),(31412,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000002\', \'KEK PISANG\', \'33310\', \'\', 2000, \'1\', \'1\', \'2000\', \'09\', \'2016\', \'OR[00000002]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012290000915527','2016-09-26 15:07:01'),(31413,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000002\'','sales/save_new_sale','0.012259006500244','2016-09-26 15:07:01'),(31414,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2357','sales/save_new_sale','0.012450218200684','2016-09-26 15:07:01'),(31415,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11562','sales/save_new_sale','0.012308120727539','2016-09-26 15:07:01'),(31416,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000002\'','sales/save_new_sale','0.012388944625854','2016-09-26 15:07:01'),(31417,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.028037071228027','2016-09-26 15:07:01'),(31418,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024584054946899','2016-09-26 15:07:01'),(31419,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000001\'','sales/save_update_sale','0.018522024154663','2016-09-26 15:14:01'),(31420,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000001\'','sales/save_update_sale','0.012218952178955','2016-09-26 15:14:01'),(31421,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'378.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016430854797363','2016-09-26 15:14:01'),(31422,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.028903007507324','2016-09-26 15:14:01'),(31423,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.029174089431763','2016-09-26 15:14:01'),(31424,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'tong air\', \'258.00\', \'32583\', 2)','sales/save_update_sale','0.016541004180908','2016-09-26 15:14:01'),(31425,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.0002131462097168','2016-09-26 15:14:01'),(31426,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'354\'','sales/save_update_sale','0.016012907028198','2016-09-26 15:14:01'),(31427,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000005\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.012258052825928','2016-09-26 15:14:01'),(31428,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000005\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'378\', \'378\', \'11\')','sales/save_update_sale','0.014579057693481','2016-09-26 15:14:01'),(31429,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000005\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.011972904205322','2016-09-26 15:14:01'),(31430,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000005\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.012428998947144','2016-09-26 15:14:01'),(31431,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000005\', 3, \'tong air\', \'32583\', \'\', 258, \'1\', \'1\', \'258\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.012031078338623','2016-09-26 15:14:01'),(31432,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000005\', \'tong air\', \'32572\', \'\', 258, \'1\', \'1\', \'258\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.012440919876099','2016-09-26 15:14:01'),(31433,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 378, `total_amount_cr` = 378, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000005\'','sales/save_update_sale','0.012151956558228','2016-09-26 15:14:01'),(31434,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.020883083343506','2016-09-26 15:14:01'),(31435,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11563','sales/save_update_sale','0.012179851531982','2016-09-26 15:14:01'),(31436,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000005\'','sales/save_update_sale','0.012516975402832','2016-09-26 15:14:01'),(31437,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'7\', \'32583\', \'2016\', \'9\', \'0\', \'120\', -120, \'User\', \'2016-09-26: 09:09:01\')','sales/save_update_sale','0.010967016220093','2016-09-26 15:14:01'),(31438,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.011971950531006','2016-09-26 15:14:01'),(31439,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01160192489624','2016-09-26 15:14:01'),(31440,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.012006998062134','2016-09-26 15:14:01'),(31441,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'39\', \'28\', 1, \'33322\', \'68\', \'100\', \'OP-C\', \'2016-09-26\', \'172\', \'1\')','expenses/fnSaveExpenses','0.058951139450073','2016-09-26 15:16:22'),(31442,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2261, \'28\', \'TOPUNG KOMAK\', 1, \'33322\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033133029937744','2016-09-26 15:16:22'),(31443,39,28,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'39\', \'3\', \'16\', \'09\', \'AP\', 1)','expenses/fnSaveExpenses','0.021475076675415','2016-09-26 15:16:22'),(31444,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160900000001\' WHERE `ID` =  2261','expenses/fnSaveExpenses','0.020545959472656','2016-09-26 15:16:22'),(31445,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP160900000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.010217905044556','2016-09-26 15:16:22'),(31446,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP160900000001\', 1, \'TOPUNG KOMAK\', \'33310\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.012062072753906','2016-09-26 15:16:22'),(31447,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP160900000001\', 2, \'TOPUNG KOMAK\', \'33322\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.012378931045532','2016-09-26 15:16:22'),(31448,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.012173175811768','2016-09-26 15:16:22'),(31449,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2261','expenses/fnSaveExpenses','0.012542009353638','2016-09-26 15:16:22'),(31450,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11564','expenses/fnSaveExpenses','0.012057065963745','2016-09-26 15:16:22'),(31451,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.01246190071106','2016-09-26 15:16:22'),(31452,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011209011077881','2016-09-26 15:16:22'),(31453,39,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'39\', \'8\', \'33322\', \'2016\', \'9\', \'100\', \'0\', 100, \'User\', \'2016-09-26: 09:09:22\')','expenses/fnSaveExpenses','0.016011953353882','2016-09-26 15:16:22'),(31454,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50499\'','expenses/fnSaveExpenses','0.018403053283691','2016-09-26 15:17:03'),(31455,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50500\'','expenses/fnSaveExpenses','0.012635946273804','2016-09-26 15:17:03'),(31456,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11564\'','expenses/fnSaveExpenses','0.012061834335327','2016-09-26 15:17:03'),(31457,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33322\', `paymentMethodID` = \'68\', `amountPaid` = \'150\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'172\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2261','expenses/fnSaveExpenses','0.022480010986328','2016-09-26 15:17:03'),(31458,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2261, \'28\', \'TOPUNG KOMAK\', 1, \'33322\', \'150\', \'150\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012310981750488','2016-09-26 15:17:03'),(31459,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.0080010890960693','2016-09-26 15:17:03'),(31460,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000002\' WHERE `ID` =  2261','expenses/fnSaveExpenses','0.016215085983276','2016-09-26 15:17:03'),(31461,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000002\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 150, 150, \'28\')','expenses/fnSaveExpenses','0.011921882629395','2016-09-26 15:17:03'),(31462,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000002\', 1, \'TOPUNG KOMAK\', \'33310\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.012019872665405','2016-09-26 15:17:03'),(31463,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000002\', 2, \'TOPUNG KOMAK\', \'33322\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.037467002868652','2016-09-26 15:17:03'),(31464,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000002\', 3, \'TOPUNG KOMAK\', \'33310\', 150, 1, \'1\', \'150\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.012027978897095','2016-09-26 15:17:03'),(31465,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000002\', 4, \'TOPUNG KOMAK\', \'33322\', 150, 1, \'1\', \'150\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.012443065643311','2016-09-26 15:17:03'),(31466,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 250, `total_amount_cr` = 250, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.012150049209595','2016-09-26 15:17:03'),(31467,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2261','expenses/fnSaveExpenses','0.01255989074707','2016-09-26 15:17:03'),(31468,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11565','expenses/fnSaveExpenses','0.012106895446777','2016-09-26 15:17:03'),(31469,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.012496948242188','2016-09-26 15:17:03'),(31470,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011087894439697','2016-09-26 15:17:03'),(31471,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.028594970703125','2016-09-26 15:17:03'),(31472,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011541128158569','2016-09-26 15:17:03'),(31473,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011950016021729','2016-09-26 15:17:03'),(31474,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000001\'','sales/save_update_sale','0.00030207633972168','2016-09-26 15:29:41'),(31475,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000001\'','sales/save_update_sale','0.073280811309814','2016-09-26 15:29:41'),(31476,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'120.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.024086952209473','2016-09-26 15:29:41'),(31477,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.029412984848022','2016-09-26 15:29:41'),(31478,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.016527891159058','2016-09-26 15:29:41'),(31479,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00024509429931641','2016-09-26 15:29:41'),(31480,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'354\'','sales/save_update_sale','0.030609130859375','2016-09-26 15:29:41'),(31481,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000006\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.020753860473633','2016-09-26 15:29:42'),(31482,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000006\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'120\', \'120\', \'11\')','sales/save_update_sale','0.014274120330811','2016-09-26 15:29:42'),(31483,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000006\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.011845827102661','2016-09-26 15:29:42'),(31484,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000006\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.012609004974365','2016-09-26 15:29:42'),(31485,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000006\'','sales/save_update_sale','0.011943101882935','2016-09-26 15:29:42'),(31486,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.012763023376465','2016-09-26 15:29:42'),(31487,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11566','sales/save_update_sale','0.011974096298218','2016-09-26 15:29:42'),(31488,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000006\'','sales/save_update_sale','0.01272177696228','2016-09-26 15:29:42'),(31489,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01093316078186','2016-09-26 15:29:42'),(31490,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.024543046951294','2016-09-26 15:29:42'),(31491,12,11,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'12\', \'11\', 1, \'32584\', \'68\', \'120\', \'OP-C\', \'2016-09-26\', \'108\', \'1\')','expenses/fnSaveExpenses','0.067534923553467','2016-09-26 15:33:56'),(31492,12,11,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2262, \'11\', \'fad\', 1, \'32584\', \'120\', \'120\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.045484066009521','2016-09-26 15:33:56'),(31493,12,11,'192.168.1.198','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'12\', \'3\', \'16\', \'09\', \'AP\', 1)','expenses/fnSaveExpenses','0.017507076263428','2016-09-26 15:33:56'),(31494,12,11,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160900000001\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.13769197463989','2016-09-26 15:33:56'),(31495,12,11,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP160900000001\', \'Cost of Goods Sold [OP-C[00000031]]\', \'Cost of Goods Sold [OP-C[00000031]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 120, 120, \'11\')','expenses/fnSaveExpenses','0.0097858905792236','2016-09-26 15:33:56'),(31496,12,11,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP160900000001\', 1, \'fad\', \'32572\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.037621974945068','2016-09-26 15:33:56'),(31497,12,11,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP160900000001\', 2, \'fad\', \'32584\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.011871099472046','2016-09-26 15:33:56'),(31498,12,11,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.021026134490967','2016-09-26 15:33:56'),(31499,12,11,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.016547918319702','2016-09-26 15:33:56'),(31500,12,11,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11567','expenses/fnSaveExpenses','0.012168169021606','2016-09-26 15:33:56'),(31501,12,11,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.012391090393066','2016-09-26 15:33:56'),(31502,12,11,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.022450923919678','2016-09-26 15:33:56'),(31503,12,11,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'8\', \'32584\', \'2016\', \'9\', \'120\', \'0\', 120, \'User\', \'2016-09-26: 09:09:56\')','expenses/fnSaveExpenses','0.011641979217529','2016-09-26 15:33:56'),(31504,12,11,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50507\'','expenses/fnSaveExpenses','0.018023014068604','2016-09-26 15:34:20'),(31505,12,11,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50508\'','expenses/fnSaveExpenses','0.091783046722412','2016-09-26 15:34:20'),(31506,12,11,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11567\'','expenses/fnSaveExpenses','0.016201019287109','2016-09-26 15:34:20'),(31507,12,11,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = \'32584\', `paymentMethodID` = \'68\', `amountPaid` = \'120\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2262','expenses/fnSaveExpenses','0.021282911300659','2016-09-26 15:34:20'),(31508,12,11,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2262, `createdBy` = \'11\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32584\', `amountIncludedTax` = \'120\', `amountExcludedTax` = \'120\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2304\'','expenses/fnSaveExpenses','0.0015339851379395','2016-09-26 15:34:20'),(31509,12,11,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.018872976303101','2016-09-26 15:34:20'),(31510,12,11,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000002\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.012259006500244','2016-09-26 15:34:20'),(31511,12,11,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000002\', \'Cost of Goods Sold [OP-C[00000031]]\', \'Cost of Goods Sold [OP-C[00000031]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 120, 120, \'11\')','expenses/fnSaveExpenses','0.011768102645874','2016-09-26 15:34:20'),(31512,12,11,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000002\', 1, \'fad\', \'32572\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.01211404800415','2016-09-26 15:34:20'),(31513,12,11,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000002\', 2, \'fad\', \'32584\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.012324094772339','2016-09-26 15:34:20'),(31514,12,11,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 120, `total_amount_cr` = 120, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.012192964553833','2016-09-26 15:34:20'),(31515,12,11,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.012478113174438','2016-09-26 15:34:20'),(31516,12,11,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11568','expenses/fnSaveExpenses','0.012154102325439','2016-09-26 15:34:20'),(31517,12,11,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.029099941253662','2016-09-26 15:34:20'),(31518,12,11,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010934114456177','2016-09-26 15:34:20'),(31519,12,11,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.03227686882019','2016-09-26 15:34:20'),(31520,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50509\'','expenses/fnSaveExpenses','0.014945983886719','2016-09-26 15:35:37'),(31521,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50510\'','expenses/fnSaveExpenses','0.058185815811157','2016-09-26 15:35:37'),(31522,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11568\'','expenses/fnSaveExpenses','0.012111902236938','2016-09-26 15:35:37'),(31523,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = \'32584\', `paymentMethodID` = \'68\', `amountPaid` = \'176\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2262','expenses/fnSaveExpenses','0.013707876205444','2016-09-26 15:35:37'),(31524,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2262, `createdBy` = \'11\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32584\', `amountIncludedTax` = \'120\', `amountExcludedTax` = \'120\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2304\'','expenses/fnSaveExpenses','0.00020098686218262','2016-09-26 15:35:37'),(31525,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2262, \'11\', \'akmal\', 1, \'32584\', \'56\', \'56\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012448072433472','2016-09-26 15:35:37'),(31526,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.014281988143921','2016-09-26 15:35:37'),(31527,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000003\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.012792110443115','2016-09-26 15:35:37'),(31528,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000003\', \'Cost of Goods Sold [OP-C[00000031]]\', \'Cost of Goods Sold [OP-C[00000031]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 176, 176, \'11\')','expenses/fnSaveExpenses','0.015951871871948','2016-09-26 15:35:37'),(31529,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000003\', 1, \'fad\', \'32572\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.012074947357178','2016-09-26 15:35:37'),(31530,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000003\', 2, \'fad\', \'32584\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.01238489151001','2016-09-26 15:35:37'),(31531,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000003\', 3, \'akmal\', \'32572\', 56, 1, \'1\', \'56\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.012111902236938','2016-09-26 15:35:37'),(31532,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000003\', 4, \'akmal\', \'32584\', 56, 1, \'1\', \'56\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.012393951416016','2016-09-26 15:35:37'),(31533,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 176, `total_amount_cr` = 176, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.012209892272949','2016-09-26 15:35:37'),(31534,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.012507915496826','2016-09-26 15:35:37'),(31535,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11569','expenses/fnSaveExpenses','0.012147903442383','2016-09-26 15:35:37'),(31536,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.012459993362427','2016-09-26 15:35:37'),(31537,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011227130889893','2016-09-26 15:35:37'),(31538,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011938095092773','2016-09-26 15:35:37'),(31539,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011696100234985','2016-09-26 15:35:37'),(31540,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011943817138672','2016-09-26 15:35:37'),(31541,39,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-26\', \'173\', \'OR\', \'800.00\', \'39\')','sales/save_new_sale','0.12952613830566','2016-09-26 15:44:24'),(31542,39,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2358, \'33321\', \'fad\', \'800.00\', 1)','sales/save_new_sale','0.018054962158203','2016-09-26 15:44:24'),(31543,39,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2358','sales/save_new_sale','0.0002589225769043','2016-09-26 15:44:24'),(31544,39,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'355\'','sales/save_new_sale','0.017657995223999','2016-09-26 15:44:24'),(31545,39,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000003\' WHERE `ID` =  2358','sales/save_new_sale','0.016786098480225','2016-09-26 15:44:24'),(31546,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000003\', \'OR[00000003]\', \'Sales [ OR[00000003] ]\', \'\', \'2\', \'2016-09-26\', \'2016\', \'09\', \'800\', \'800\', \'28\')','sales/save_new_sale','0.035511016845703','2016-09-26 15:44:24'),(31547,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000003\', 1, \'fad\', \'33321\', \'\', 800, \'1\', \'1\', \'800\', \'09\', \'2016\', \'1\', \'OR[00000003]\', \'0\', \'User\')','sales/save_new_sale','0.033010959625244','2016-09-26 15:44:24'),(31548,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000003\', \'fad\', \'33311\', \'\', 800, \'1\', \'1\', \'800\', \'09\', \'2016\', \'OR[00000003]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.011627912521362','2016-09-26 15:44:24'),(31549,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 800, `total_amount_cr` = 800, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000003\'','sales/save_new_sale','0.012886047363281','2016-09-26 15:44:24'),(31550,39,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2358','sales/save_new_sale','0.011815071105957','2016-09-26 15:44:24'),(31551,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11570','sales/save_new_sale','0.012909889221191','2016-09-26 15:44:24'),(31552,39,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000003\'','sales/save_new_sale','0.058111190795898','2016-09-26 15:44:24'),(31553,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.055789947509766','2016-09-26 15:44:24'),(31554,39,28,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'39\', \'3\', \'33311\', \'2016\', \'9\', \'800\', \'0\', 800, \'User\', \'2016-09-26: 09:09:24\')','sales/save_new_sale','0.036463975906372','2016-09-26 15:44:24'),(31555,39,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'39\', \'28\', 1, \'33322\', \'68\', \'700\', \'OP-C\', \'2016-09-26\', \'173\', \'1\')','expenses/fnSaveExpenses','0.040919065475464','2016-09-26 15:45:40'),(31556,39,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2263, \'28\', \'fad\', 1, \'33322\', \'700\', \'700\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.013690948486328','2016-09-26 15:45:40'),(31557,39,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.019526958465576','2016-09-26 15:45:40'),(31558,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000003\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.021320104598999','2016-09-26 15:45:40'),(31559,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000003\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 700, 700, \'28\')','expenses/fnSaveExpenses','0.009289026260376','2016-09-26 15:45:40'),(31560,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000003\', 1, \'fad\', \'33311\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0083320140838623','2016-09-26 15:45:40'),(31561,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000003\', 2, \'fad\', \'33322\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0077760219573975','2016-09-26 15:45:40'),(31562,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 700, `total_amount_cr` = 700, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.012923955917358','2016-09-26 15:45:40'),(31563,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.01176118850708','2016-09-26 15:45:40'),(31564,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11571','expenses/fnSaveExpenses','0.012796878814697','2016-09-26 15:45:40'),(31565,39,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.036694049835205','2016-09-26 15:45:40'),(31566,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023986101150513','2016-09-26 15:45:40'),(31567,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015535116195679','2016-09-26 15:45:40'),(31568,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50517\'','expenses/fnSaveExpenses','0.023214817047119','2016-09-26 15:46:03'),(31569,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50518\'','expenses/fnSaveExpenses','0.020167112350464','2016-09-26 15:46:03'),(31570,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11571\'','expenses/fnSaveExpenses','0.012856960296631','2016-09-26 15:46:03'),(31571,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33322\', `paymentMethodID` = \'68\', `amountPaid` = \'800\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'173\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2263','expenses/fnSaveExpenses','0.017525196075439','2016-09-26 15:46:03'),(31572,39,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2263, \'28\', \'fad\', 1, \'33322\', \'800\', \'800\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016160011291504','2016-09-26 15:46:03'),(31573,39,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.0096359252929688','2016-09-26 15:46:03'),(31574,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000004\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.01276707649231','2016-09-26 15:46:03'),(31575,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000004\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 800, 800, \'28\')','expenses/fnSaveExpenses','0.01137900352478','2016-09-26 15:46:03'),(31576,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000004\', 1, \'fad\', \'33311\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.016098022460938','2016-09-26 15:46:03'),(31577,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000004\', 2, \'fad\', \'33322\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0083808898925781','2016-09-26 15:46:03'),(31578,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000004\', 3, \'fad\', \'33311\', 800, 1, \'1\', \'800\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.020978212356567','2016-09-26 15:46:03'),(31579,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000004\', 4, \'fad\', \'33322\', 800, 1, \'1\', \'800\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.011861085891724','2016-09-26 15:46:03'),(31580,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1500, `total_amount_cr` = 1500, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.012732028961182','2016-09-26 15:46:03'),(31581,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.011968851089478','2016-09-26 15:46:03'),(31582,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11572','expenses/fnSaveExpenses','0.012686967849731','2016-09-26 15:46:03'),(31583,39,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.011933088302612','2016-09-26 15:46:03'),(31584,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011744022369385','2016-09-26 15:46:03'),(31585,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011407852172852','2016-09-26 15:46:03'),(31586,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012202024459839','2016-09-26 15:46:03'),(31587,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.019724130630493','2016-09-26 15:46:03'),(31588,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50519\'','expenses/fnSaveExpenses','0.023555994033813','2016-09-26 15:53:43'),(31589,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50520\'','expenses/fnSaveExpenses','0.011705160140991','2016-09-26 15:53:43'),(31590,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50521\'','expenses/fnSaveExpenses','0.041223049163818','2016-09-26 15:53:43'),(31591,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50522\'','expenses/fnSaveExpenses','0.0084958076477051','2016-09-26 15:53:43'),(31592,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11572\'','expenses/fnSaveExpenses','0.013009071350098','2016-09-26 15:53:43'),(31593,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33322\', `paymentMethodID` = \'68\', `amountPaid` = \'830\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'173\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2263','expenses/fnSaveExpenses','0.017377853393555','2016-09-26 15:53:43'),(31594,39,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2263, `createdBy` = \'28\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'33322\', `amountIncludedTax` = \'700\', `amountExcludedTax` = \'700\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2306\'','expenses/fnSaveExpenses','0.00020194053649902','2016-09-26 15:53:43'),(31595,39,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2263, \'28\', \'fad\', 1, \'33322\', \'130\', \'130\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.010977029800415','2016-09-26 15:53:43'),(31596,39,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.019798994064331','2016-09-26 15:53:43'),(31597,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000005\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.011513948440552','2016-09-26 15:53:43'),(31598,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000005\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 830, 830, \'28\')','expenses/fnSaveExpenses','0.012573957443237','2016-09-26 15:53:43'),(31599,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000005\', 1, \'fad\', \'33311\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.019717931747437','2016-09-26 15:53:43'),(31600,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000005\', 2, \'fad\', \'33322\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.021356105804443','2016-09-26 15:53:43'),(31601,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000005\', 3, \'fad\', \'33311\', 800, 1, \'1\', \'800\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.024726152420044','2016-09-26 15:53:43'),(31602,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000005\', 4, \'fad\', \'33322\', 800, 1, \'1\', \'800\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.01172399520874','2016-09-26 15:53:43'),(31603,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000005\', 5, \'fad\', \'33311\', 130, 1, \'1\', \'130\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.01275897026062','2016-09-26 15:53:43'),(31604,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000005\', 6, \'fad\', \'33322\', 130, 1, \'1\', \'130\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.011714935302734','2016-09-26 15:53:43'),(31605,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1630, `total_amount_cr` = 1630, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.012861967086792','2016-09-26 15:53:43'),(31606,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.011843919754028','2016-09-26 15:53:43'),(31607,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11573','expenses/fnSaveExpenses','0.012796878814697','2016-09-26 15:53:43'),(31608,39,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.011809110641479','2016-09-26 15:53:43'),(31609,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.022200107574463','2016-09-26 15:53:43'),(31610,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016187906265259','2016-09-26 15:53:43'),(31611,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015684843063354','2016-09-26 15:53:43'),(31612,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079140663146973','2016-09-26 15:53:43'),(31613,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012329816818237','2016-09-26 15:53:43'),(31614,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01128888130188','2016-09-26 15:53:43'),(31615,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50523\'','expenses/fnSaveExpenses','0.034913063049316','2016-09-26 17:30:09'),(31616,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50524\'','expenses/fnSaveExpenses','0.021450042724609','2016-09-26 17:30:09'),(31617,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50525\'','expenses/fnSaveExpenses','0.019928932189941','2016-09-26 17:30:09'),(31618,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50526\'','expenses/fnSaveExpenses','0.021466016769409','2016-09-26 17:30:09'),(31619,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50527\'','expenses/fnSaveExpenses','0.024866819381714','2016-09-26 17:30:09'),(31620,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50528\'','expenses/fnSaveExpenses','0.01128101348877','2016-09-26 17:30:09'),(31621,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11573\'','expenses/fnSaveExpenses','0.0084998607635498','2016-09-26 17:30:09'),(31622,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33322\', `paymentMethodID` = \'68\', `amountPaid` = \'896\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'173\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2263','expenses/fnSaveExpenses','0.013705015182495','2016-09-26 17:30:09'),(31623,39,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2263, `createdBy` = \'28\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'33322\', `amountIncludedTax` = \'700\', `amountExcludedTax` = \'700\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2306\'','expenses/fnSaveExpenses','0.00020003318786621','2016-09-26 17:30:09'),(31624,39,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2263, \'28\', \'fad\', 1, \'33322\', \'66\', \'66\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.037995100021362','2016-09-26 17:30:09'),(31625,39,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2263, `createdBy` = \'28\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'33322\', `amountIncludedTax` = \'130\', `amountExcludedTax` = \'130\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2308\'','expenses/fnSaveExpenses','0.00020599365234375','2016-09-26 17:30:09'),(31626,39,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.013808012008667','2016-09-26 17:30:09'),(31627,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000006\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.016804218292236','2016-09-26 17:30:09'),(31628,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 896, 896, \'28\')','expenses/fnSaveExpenses','0.029122829437256','2016-09-26 17:30:09'),(31629,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', 1, \'fad\', \'33311\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.019876003265381','2016-09-26 17:30:09'),(31630,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', 2, \'fad\', \'33322\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0077860355377197','2016-09-26 17:30:09'),(31631,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', 3, \'fad\', \'33311\', 800, 1, \'1\', \'800\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.021559000015259','2016-09-26 17:30:09'),(31632,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', 4, \'fad\', \'33322\', 800, 1, \'1\', \'800\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.011306047439575','2016-09-26 17:30:09'),(31633,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', 5, \'fad\', \'33311\', 130, 1, \'1\', \'130\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0083920955657959','2016-09-26 17:30:09'),(31634,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', 6, \'fad\', \'33322\', 130, 1, \'1\', \'130\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0078120231628418','2016-09-26 17:30:09'),(31635,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', 7, \'fad\', \'33311\', 66, 1, \'1\', \'66\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0083720684051514','2016-09-26 17:30:09'),(31636,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000006\', 8, \'fad\', \'33322\', 66, 1, \'1\', \'66\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0078189373016357','2016-09-26 17:30:09'),(31637,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1696, `total_amount_cr` = 1696, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.025128126144409','2016-09-26 17:30:09'),(31638,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.0079100131988525','2016-09-26 17:30:09'),(31639,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11574','expenses/fnSaveExpenses','0.016733884811401','2016-09-26 17:30:09'),(31640,39,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.016217947006226','2016-09-26 17:30:09'),(31641,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.014175891876221','2016-09-26 17:30:09'),(31642,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01570987701416','2016-09-26 17:30:09'),(31643,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012763023376465','2016-09-26 17:30:09'),(31644,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010881900787354','2016-09-26 17:30:09'),(31645,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012739181518555','2016-09-26 17:30:09'),(31646,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024334192276001','2016-09-26 17:30:09'),(31647,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01115083694458','2016-09-26 17:30:09'),(31648,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015700101852417','2016-09-26 17:30:09'),(31649,12,11,'192.168.1.199','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0851531028748','2016-09-27 08:47:51'),(31650,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'172\', \'1000\', \'TT\', \'174\', \'39\', 3)','transfer/newTransfer','0.12138104438782','2016-09-27 08:54:43'),(31651,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2264, \'33312\', \'1000\', \'Quit Rent\')','transfer/newTransfer','0.047000885009766','2016-09-27 08:54:43'),(31652,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'356\'','transfer/newTransfer','0.025272846221924','2016-09-27 08:54:43'),(31653,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000007\' WHERE `ID` =  2264','transfer/newTransfer','0.021857023239136','2016-09-27 08:54:43'),(31654,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000007\', \' [TT[00000003]]]\', \'Bank Transfer [  [TT[00000003]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 1000, 1000, \'User\')','transfer/newTransfer','0.025488138198853','2016-09-27 08:54:43'),(31655,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000007\', 1, \'Quit Rent\', \'33310\', 1000, 1, \'1\', \'1000\', \'09\', \'2016\', \'0\', \'TT[00000003]\', \'User\')','transfer/newTransfer','0.021697998046875','2016-09-27 08:54:43'),(31656,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000007\', 2, \'Quit Rent\', \'33312\', 1000, 1, \'1\', \'1000\', \'09\', \'2016\', \'0\', \'TT[00000003]\', \'User\')','transfer/newTransfer','0.011060953140259','2016-09-27 08:54:43'),(31657,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000007\'','transfer/newTransfer','0.0084459781646729','2016-09-27 08:54:43'),(31658,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2264','transfer/newTransfer','0.0079050064086914','2016-09-27 08:54:43'),(31659,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11575','transfer/newTransfer','0.0085010528564453','2016-09-27 08:54:43'),(31660,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000007\'','transfer/newTransfer','0.013242959976196','2016-09-27 08:54:43'),(31661,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.014075994491577','2016-09-27 08:54:43'),(31662,39,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'39\', \'3\', \'33312\', \'2016\', \'9\', \'1000\', \'0\', 1000, \'User\', \'2016-09-27: 02:09:43\')','transfer/newTransfer','0.015369892120361','2016-09-27 08:54:43'),(31663,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50529\'','expenses/fnSaveExpenses','0.015851974487305','2016-09-27 09:16:22'),(31664,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50530\'','expenses/fnSaveExpenses','0.0078721046447754','2016-09-27 09:16:22'),(31665,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50531\'','expenses/fnSaveExpenses','0.038679838180542','2016-09-27 09:16:22'),(31666,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50532\'','expenses/fnSaveExpenses','0.010987043380737','2016-09-27 09:16:22'),(31667,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50533\'','expenses/fnSaveExpenses','0.0085082054138184','2016-09-27 09:16:22'),(31668,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50534\'','expenses/fnSaveExpenses','0.0078821182250977','2016-09-27 09:16:22'),(31669,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50535\'','expenses/fnSaveExpenses','0.0084850788116455','2016-09-27 09:16:22'),(31670,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50536\'','expenses/fnSaveExpenses','0.007896900177002','2016-09-27 09:16:22'),(31671,39,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11574\'','expenses/fnSaveExpenses','0.0084810256958008','2016-09-27 09:16:22'),(31672,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33322\', `paymentMethodID` = \'68\', `amountPaid` = \'1893\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'173\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2263','expenses/fnSaveExpenses','0.013692140579224','2016-09-27 09:16:22'),(31673,39,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2263, \'28\', \'fad\', 1, \'33322\', \'897\', \'897\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.038640022277832','2016-09-27 09:16:22'),(31674,39,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2263, `createdBy` = \'28\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'33322\', `amountIncludedTax` = \'800\', `amountExcludedTax` = \'800\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2307\'','expenses/fnSaveExpenses','0.00026392936706543','2016-09-27 09:16:22'),(31675,39,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2263, `createdBy` = \'28\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'33322\', `amountIncludedTax` = \'130\', `amountExcludedTax` = \'130\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2308\'','expenses/fnSaveExpenses','0.00016307830810547','2016-09-27 09:16:22'),(31676,39,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2263, `createdBy` = \'28\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'33322\', `amountIncludedTax` = \'66\', `amountExcludedTax` = \'66\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2309\'','expenses/fnSaveExpenses','0.00014686584472656','2016-09-27 09:16:22'),(31677,39,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.02165699005127','2016-09-27 09:16:22'),(31678,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000008\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.0097799301147461','2016-09-27 09:16:22'),(31679,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 1893, 1893, \'28\')','expenses/fnSaveExpenses','0.0072989463806152','2016-09-27 09:16:22'),(31680,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 1, \'fad\', \'33311\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0083611011505127','2016-09-27 09:16:22'),(31681,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 2, \'fad\', \'33322\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0077822208404541','2016-09-27 09:16:22'),(31682,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 3, \'fad\', \'33311\', 800, 1, \'1\', \'800\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0083827972412109','2016-09-27 09:16:22'),(31683,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 4, \'fad\', \'33322\', 800, 1, \'1\', \'800\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0077979564666748','2016-09-27 09:16:22'),(31684,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 5, \'fad\', \'33311\', 130, 1, \'1\', \'130\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.008371114730835','2016-09-27 09:16:22'),(31685,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 6, \'fad\', \'33322\', 130, 1, \'1\', \'130\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0077829360961914','2016-09-27 09:16:22'),(31686,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 7, \'fad\', \'33311\', 66, 1, \'1\', \'66\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0083827972412109','2016-09-27 09:16:22'),(31687,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 8, \'fad\', \'33322\', 66, 1, \'1\', \'66\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.021696090698242','2016-09-27 09:16:22'),(31688,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 9, \'fad\', \'33311\', 897, 1, \'1\', \'897\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.011151790618896','2016-09-27 09:16:22'),(31689,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000008\', 10, \'fad\', \'33322\', 897, 1, \'1\', \'897\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.0077769756317139','2016-09-27 09:16:22'),(31690,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 2593, `total_amount_cr` = 2593, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000008\'','expenses/fnSaveExpenses','0.0084719657897949','2016-09-27 09:16:22'),(31691,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2263','expenses/fnSaveExpenses','0.026173114776611','2016-09-27 09:16:22'),(31692,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11576','expenses/fnSaveExpenses','0.015120983123779','2016-09-27 09:16:22'),(31693,39,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000008\'','expenses/fnSaveExpenses','0.0078439712524414','2016-09-27 09:16:22'),(31694,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.014002084732056','2016-09-27 09:16:22'),(31695,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0072548389434814','2016-09-27 09:16:22'),(31696,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0078668594360352','2016-09-27 09:16:22'),(31697,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073020458221436','2016-09-27 09:16:22'),(31698,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0078721046447754','2016-09-27 09:16:22'),(31699,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015614032745361','2016-09-27 09:16:22'),(31700,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.007843017578125','2016-09-27 09:16:22'),(31701,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01308012008667','2016-09-27 09:16:22'),(31702,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.13538885116577','2016-09-27 09:16:22'),(31703,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012749910354614','2016-09-27 09:16:22'),(31704,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-27\', `bankID` = \'173\', `payTo` = \'174\', `amountPaid` = \'200\', `companyID` = \'39\', `updateAble` = 1 WHERE `ID` =  \'2264\'','transfer/saveTransfer','0.083752870559692','2016-09-27 09:22:56'),(31705,39,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33312\', `amountExcludedTax` = \'200\', `itemdescription` = \'Quit Rent\' WHERE `ID` =  \'2310\'','transfer/saveTransfer','0.019397974014282','2016-09-27 09:22:56'),(31706,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AP20160900000007\'','transfer/saveTransfer','0.013592004776001','2016-09-27 09:22:56'),(31707,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AP20160900000007\'','transfer/saveTransfer','0.027781009674072','2016-09-27 09:22:56'),(31708,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'356\'','transfer/saveTransfer','0.017155885696411','2016-09-27 09:22:56'),(31709,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000009\' WHERE `ID` =  \'2264\'','transfer/saveTransfer','0.027857065200806','2016-09-27 09:22:56'),(31710,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000009\', \' [TT[00000003]]]\', \'Bank Transfer [  [TT[00000003]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 200, 200, \'User\')','transfer/saveTransfer','0.027796983718872','2016-09-27 09:22:56'),(31711,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000009\', 1, \'Quit Rent\', \'33311\', 200, 1, \'1\', \'200\', \'09\', \'2016\', \'0\', \'TT[00000003]\', \'User\')','transfer/saveTransfer','0.016395092010498','2016-09-27 09:22:56'),(31712,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000009\', 2, \'Quit Rent\', \'33312\', 200, 1, \'1\', \'200\', \'09\', \'2016\', \'0\', \'TT[00000003]\', \'User\')','transfer/saveTransfer','0.010817050933838','2016-09-27 09:22:56'),(31713,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000009\'','transfer/saveTransfer','0.008430004119873','2016-09-27 09:22:56'),(31714,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2264\'','transfer/saveTransfer','0.0079391002655029','2016-09-27 09:22:56'),(31715,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11577','transfer/saveTransfer','0.016844034194946','2016-09-27 09:22:56'),(31716,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000009\'','transfer/saveTransfer','0.0078921318054199','2016-09-27 09:22:56'),(31717,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.012745141983032','2016-09-27 09:22:56'),(31718,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.027037143707275','2016-09-27 09:22:56'),(31719,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bisnes Loan (SME)\', `openingBalanceCr` = \'10000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33316\'','setup/saveLoan','0.085817098617554','2016-09-27 09:26:55'),(31720,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 2	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33317\'','setup/saveLoan','0.10204195976257','2016-09-27 09:27:02'),(31721,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 2	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33317\'','setup/saveLoan','0.00025701522827148','2016-09-27 09:27:13'),(31722,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33318\'','setup/saveLoan','0.0091090202331543','2016-09-27 09:27:18'),(31723,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 4	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33319\'','setup/saveLoan','0.013581037521362','2016-09-27 09:27:24'),(31724,12,11,'192.168.1.199','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2305\'','expenses/fnDeleteDetail','0.093519926071167','2016-09-27 09:27:49'),(31725,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50511\'','expenses/fnSaveExpenses','0.015843868255615','2016-09-27 09:27:50'),(31726,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50512\'','expenses/fnSaveExpenses','0.024834871292114','2016-09-27 09:27:50'),(31727,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50513\'','expenses/fnSaveExpenses','0.016510009765625','2016-09-27 09:27:50'),(31728,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50514\'','expenses/fnSaveExpenses','0.011034965515137','2016-09-27 09:27:50'),(31729,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11569\'','expenses/fnSaveExpenses','0.0078880786895752','2016-09-27 09:27:50'),(31730,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = \'32584\', `paymentMethodID` = \'68\', `amountPaid` = \'576\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2262','expenses/fnSaveExpenses','0.014000177383423','2016-09-27 09:27:50'),(31731,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2262, `createdBy` = \'11\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32584\', `amountIncludedTax` = \'120\', `amountExcludedTax` = \'120\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2304\'','expenses/fnSaveExpenses','0.00018906593322754','2016-09-27 09:27:50'),(31732,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2262, \'11\', \'aizat\', 1, \'32584\', \'456\', \'456\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0074799060821533','2016-09-27 09:27:50'),(31733,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.011497974395752','2016-09-27 09:27:50'),(31734,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000004\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.024566888809204','2016-09-27 09:27:50'),(31735,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000004\', \'Cost of Goods Sold [OP-C[00000031]]\', \'Cost of Goods Sold [OP-C[00000031]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 576, 576, \'11\')','expenses/fnSaveExpenses','0.016232967376709','2016-09-27 09:27:50'),(31736,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000004\', 1, \'fad\', \'32572\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.022027969360352','2016-09-27 09:27:50'),(31737,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000004\', 2, \'fad\', \'32584\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.13578200340271','2016-09-27 09:27:50'),(31738,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000004\', 3, \'aizat\', \'32572\', 456, 1, \'1\', \'456\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0077450275421143','2016-09-27 09:27:50'),(31739,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000004\', 4, \'aizat\', \'32584\', 456, 1, \'1\', \'456\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0083820819854736','2016-09-27 09:27:50'),(31740,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 576, `total_amount_cr` = 576, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.0078690052032471','2016-09-27 09:27:50'),(31741,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.0085039138793945','2016-09-27 09:27:50'),(31742,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11578','expenses/fnSaveExpenses','0.032843112945557','2016-09-27 09:27:50'),(31743,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.022176027297974','2016-09-27 09:27:50'),(31744,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015538215637207','2016-09-27 09:27:50'),(31745,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010571002960205','2016-09-27 09:27:50'),(31746,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073509216308594','2016-09-27 09:27:50'),(31747,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079607963562012','2016-09-27 09:27:50'),(31748,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50551\'','expenses/fnSaveExpenses','0.011595964431763','2016-09-27 09:28:32'),(31749,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50552\'','expenses/fnSaveExpenses','0.016226053237915','2016-09-27 09:28:32'),(31750,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50553\'','expenses/fnSaveExpenses','0.0085020065307617','2016-09-27 09:28:32'),(31751,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50554\'','expenses/fnSaveExpenses','0.013784885406494','2016-09-27 09:28:32'),(31752,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11578\'','expenses/fnSaveExpenses','0.010946989059448','2016-09-27 09:28:32'),(31753,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = \'32584\', `paymentMethodID` = \'68\', `amountPaid` = \'1656\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2262','expenses/fnSaveExpenses','0.010606050491333','2016-09-27 09:28:32'),(31754,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2262, \'11\', \'fad\', 1, \'32584\', \'1200\', \'1200\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.019198894500732','2016-09-27 09:28:32'),(31755,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2262, `createdBy` = \'11\', `itemdescription` = \'aizat\', `lineNo` = 1, `accountID` = \'32584\', `amountIncludedTax` = \'456\', `amountExcludedTax` = \'456\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2312\'','expenses/fnSaveExpenses','0.0001990795135498','2016-09-27 09:28:32'),(31756,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.022124052047729','2016-09-27 09:28:32'),(31757,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000005\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.016830205917358','2016-09-27 09:28:32'),(31758,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000005\', \'Cost of Goods Sold [OP-C[00000031]]\', \'Cost of Goods Sold [OP-C[00000031]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 1656, 1656, \'11\')','expenses/fnSaveExpenses','0.0072879791259766','2016-09-27 09:28:32'),(31759,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000005\', 1, \'fad\', \'32572\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0083489418029785','2016-09-27 09:28:32'),(31760,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000005\', 2, \'fad\', \'32584\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.007810115814209','2016-09-27 09:28:32'),(31761,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000005\', 3, \'aizat\', \'32572\', 456, 1, \'1\', \'456\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0083870887756348','2016-09-27 09:28:32'),(31762,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000005\', 4, \'aizat\', \'32584\', 456, 1, \'1\', \'456\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0078129768371582','2016-09-27 09:28:32'),(31763,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000005\', 5, \'fad\', \'32572\', 1200, 1, \'1\', \'1200\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0083580017089844','2016-09-27 09:28:32'),(31764,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000005\', 6, \'fad\', \'32584\', 1200, 1, \'1\', \'1200\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0077950954437256','2016-09-27 09:28:32'),(31765,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1776, `total_amount_cr` = 1776, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.013957977294922','2016-09-27 09:28:32'),(31766,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.010771036148071','2016-09-27 09:28:32'),(31767,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11579','expenses/fnSaveExpenses','0.008432149887085','2016-09-27 09:28:32'),(31768,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.0078580379486084','2016-09-27 09:28:32'),(31769,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.020205020904541','2016-09-27 09:28:32'),(31770,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010153770446777','2016-09-27 09:28:32'),(31771,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079531669616699','2016-09-27 09:28:32'),(31772,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073330402374268','2016-09-27 09:28:32'),(31773,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079600811004639','2016-09-27 09:28:32'),(31774,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073628425598145','2016-09-27 09:28:32'),(31775,39,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 5	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33320\'','setup/saveLoan','0.096940994262695','2016-09-27 09:29:24'),(31776,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'39\', \'28\', 1, 0, \'68\', \'2000\', \'OP-L\', \'2016-09-27\', \'172\', \'1\')','expenses/fnSaveExpenses','0.063683032989502','2016-09-27 09:30:27'),(31777,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2265, \'28\', \'Loan Niaga\', 1, \'33316\', \'2000\', \'2000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.018819093704224','2016-09-27 09:30:27'),(31778,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.030952930450439','2016-09-27 09:30:27'),(31779,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000010\' WHERE `ID` =  2265','expenses/fnSaveExpenses','0.047008037567139','2016-09-27 09:30:27'),(31780,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000010\', \'Loan Repayment [OP-L[00000004]]\', \'Loan Repayment [OP-L[00000004]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 2000, 2000, \'28\')','expenses/fnSaveExpenses','0.022526025772095','2016-09-27 09:30:27'),(31781,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000010\', 1, \'Loan Niaga\', \'33310\', 2000, 1, \'1\', \'2000\', \'09\', \'16\', \'1\', \'OP-L[00000004]\', \'User\')','expenses/fnSaveExpenses','0.026570081710815','2016-09-27 09:30:27'),(31782,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000010\', 2, \'Loan Niaga\', \'33316\', 2000, 1, \'1\', \'2000\', \'09\', \'16\', \'1\', \'OP-L[00000004]\', \'User\')','expenses/fnSaveExpenses','0.014661073684692','2016-09-27 09:30:27'),(31783,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000010\'','expenses/fnSaveExpenses','0.01075005531311','2016-09-27 09:30:27'),(31784,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2265','expenses/fnSaveExpenses','0.02454686164856','2016-09-27 09:30:27'),(31785,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11580','expenses/fnSaveExpenses','0.0083601474761963','2016-09-27 09:30:27'),(31786,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000010\'','expenses/fnSaveExpenses','0.024542093276978','2016-09-27 09:30:27'),(31787,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024220943450928','2016-09-27 09:30:27'),(31788,39,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'39\', \'4\', \'33316\', \'2016\', \'9\', \'2000\', \'0\', 2000, \'User\', \'2016-09-27: 03:09:27\')','expenses/fnSaveExpenses','0.015491008758545','2016-09-27 09:30:27'),(31789,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50561\'','expenses/fnSaveExpenses','0.035490989685059','2016-09-27 09:31:24'),(31790,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50562\'','expenses/fnSaveExpenses','0.14148807525635','2016-09-27 09:31:24'),(31791,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11580\'','expenses/fnSaveExpenses','0.024569034576416','2016-09-27 09:31:24'),(31792,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'1000\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-27\', `bankId` = \'172\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2265','expenses/fnSaveExpenses','0.01413893699646','2016-09-27 09:31:24'),(31793,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2265, \'28\', \'Loan Niaga\', 1, \'33316\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078511238098145','2016-09-27 09:31:24'),(31794,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.028181076049805','2016-09-27 09:31:24'),(31795,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000011\' WHERE `ID` =  2265','expenses/fnSaveExpenses','0.027497053146362','2016-09-27 09:31:24'),(31796,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000011\', \'Loan Repayment [OP-L[00000004]]\', \'Loan Repayment [OP-L[00000004]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 1000, 1000, \'28\')','expenses/fnSaveExpenses','0.013799905776978','2016-09-27 09:31:24'),(31797,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000011\', 1, \'Loan Niaga\', \'33310\', 2000, 1, \'1\', \'2000\', \'09\', \'16\', \'1\', \'OP-L[00000004]\', \'User\')','expenses/fnSaveExpenses','0.01012110710144','2016-09-27 09:31:24'),(31798,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000011\', 2, \'Loan Niaga\', \'33316\', 2000, 1, \'1\', \'2000\', \'09\', \'16\', \'1\', \'OP-L[00000004]\', \'User\')','expenses/fnSaveExpenses','0.0083780288696289','2016-09-27 09:31:24'),(31799,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000011\', 3, \'Loan Niaga\', \'33310\', 1000, 1, \'1\', \'1000\', \'09\', \'16\', \'1\', \'OP-L[00000004]\', \'User\')','expenses/fnSaveExpenses','0.0077850818634033','2016-09-27 09:31:24'),(31800,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000011\', 4, \'Loan Niaga\', \'33316\', 1000, 1, \'1\', \'1000\', \'09\', \'16\', \'1\', \'OP-L[00000004]\', \'User\')','expenses/fnSaveExpenses','0.0083928108215332','2016-09-27 09:31:24'),(31801,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000011\'','expenses/fnSaveExpenses','0.0078561305999756','2016-09-27 09:31:24'),(31802,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2265','expenses/fnSaveExpenses','0.0085210800170898','2016-09-27 09:31:24'),(31803,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11581','expenses/fnSaveExpenses','0.016168117523193','2016-09-27 09:31:24'),(31804,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000011\'','expenses/fnSaveExpenses','0.008450984954834','2016-09-27 09:31:24'),(31805,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015379905700684','2016-09-27 09:31:24'),(31806,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33316\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.027260780334473','2016-09-27 09:31:24'),(31807,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012917995452881','2016-09-27 09:31:24'),(31808,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33316\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010593891143799','2016-09-27 09:31:24'),(31809,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50555\'','expenses/fnSaveExpenses','0.048210144042969','2016-09-27 09:32:15'),(31810,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50556\'','expenses/fnSaveExpenses','0.017981052398682','2016-09-27 09:32:15'),(31811,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50557\'','expenses/fnSaveExpenses','0.0084660053253174','2016-09-27 09:32:15'),(31812,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50558\'','expenses/fnSaveExpenses','0.016234159469604','2016-09-27 09:32:15'),(31813,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50559\'','expenses/fnSaveExpenses','0.0085010528564453','2016-09-27 09:32:15'),(31814,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50560\'','expenses/fnSaveExpenses','0.024569988250732','2016-09-27 09:32:15'),(31815,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11579\'','expenses/fnSaveExpenses','0.0084991455078125','2016-09-27 09:32:15'),(31816,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = \'32584\', `paymentMethodID` = \'68\', `amountPaid` = \'1777\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-26\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2262','expenses/fnSaveExpenses','0.021992921829224','2016-09-27 09:32:15'),(31817,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2262, `createdBy` = \'11\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32584\', `amountIncludedTax` = \'120\', `amountExcludedTax` = \'120\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2304\'','expenses/fnSaveExpenses','0.00026512145996094','2016-09-27 09:32:15'),(31818,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2262, `createdBy` = \'11\', `itemdescription` = \'aizat\', `lineNo` = 1, `accountID` = \'32584\', `amountIncludedTax` = \'456\', `amountExcludedTax` = \'456\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2312\'','expenses/fnSaveExpenses','0.00012898445129395','2016-09-27 09:32:15'),(31819,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2262, `createdBy` = \'11\', `itemdescription` = \'fad\', `lineNo` = 1, `accountID` = \'32584\', `amountIncludedTax` = \'1200\', `amountExcludedTax` = \'1200\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2313\'','expenses/fnSaveExpenses','0.00012993812561035','2016-09-27 09:32:15'),(31820,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2262, \'11\', \'akmal\', 1, \'32584\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0073540210723877','2016-09-27 09:32:15'),(31821,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.02213978767395','2016-09-27 09:32:15'),(31822,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000006\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.0084800720214844','2016-09-27 09:32:15'),(31823,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', \'Cost of Goods Sold [OP-C[00000031]]\', \'Cost of Goods Sold [OP-C[00000031]]\', \'\', \'3\', \'2016-09-26\', \'16\', \'09\', 1777, 1777, \'11\')','expenses/fnSaveExpenses','0.01286792755127','2016-09-27 09:32:15'),(31824,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', 1, \'fad\', \'32572\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.011094093322754','2016-09-27 09:32:15'),(31825,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', 2, \'fad\', \'32584\', 120, 1, \'1\', \'120\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0080881118774414','2016-09-27 09:32:16'),(31826,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', 3, \'aizat\', \'32572\', 456, 1, \'1\', \'456\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.13303899765015','2016-09-27 09:32:16'),(31827,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', 4, \'aizat\', \'32584\', 456, 1, \'1\', \'456\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.042638063430786','2016-09-27 09:32:16'),(31828,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', 5, \'fad\', \'32572\', 1200, 1, \'1\', \'1200\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.015117168426514','2016-09-27 09:32:16'),(31829,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', 6, \'fad\', \'32584\', 1200, 1, \'1\', \'1200\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0078139305114746','2016-09-27 09:32:16'),(31830,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', 7, \'akmal\', \'32572\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0083801746368408','2016-09-27 09:32:16'),(31831,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000006\', 8, \'akmal\', \'32584\', 1, 1, \'1\', \'1\', \'09\', \'16\', \'1\', \'OP-C[00000031]\', \'User\')','expenses/fnSaveExpenses','0.0077950954437256','2016-09-27 09:32:16'),(31832,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1777, `total_amount_cr` = 1777, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.0084569454193115','2016-09-27 09:32:16'),(31833,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2262','expenses/fnSaveExpenses','0.0079481601715088','2016-09-27 09:32:16'),(31834,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11582','expenses/fnSaveExpenses','0.0083808898925781','2016-09-27 09:32:16'),(31835,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.0078680515289307','2016-09-27 09:32:16'),(31836,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023699998855591','2016-09-27 09:32:16'),(31837,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012919902801514','2016-09-27 09:32:16'),(31838,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0105299949646','2016-09-27 09:32:16'),(31839,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0072879791259766','2016-09-27 09:32:16'),(31840,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0078749656677246','2016-09-27 09:32:16'),(31841,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073039531707764','2016-09-27 09:32:16'),(31842,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0078458786010742','2016-09-27 09:32:16'),(31843,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32584\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0072932243347168','2016-09-27 09:32:16'),(31844,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `totalReceived`, `formNo`, `receiveFrom`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'174\', \'5000\', \'LR\', \'Bisnes Loan (SME)\', \'39\', 3)','loanReceive/save_new_loan','0.11397004127502','2016-09-27 09:38:06'),(31845,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `lineNo`, `accountnoID`, `amountExcludedTax`, `description`) VALUES (2359, 1, \'33316\', \'5000\', \'Baki Terima Loan\')','loanReceive/save_new_loan','0.06641697883606','2016-09-27 09:38:06'),(31846,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'355\'','loanReceive/save_new_loan','0.025781154632568','2016-09-27 09:38:06'),(31847,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000004\' WHERE `ID` =  2359','loanReceive/save_new_loan','0.02512001991272','2016-09-27 09:38:06'),(31848,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000004\', \'LR[00000004]\', \'Loan Received [ LR[00000004] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 5000, 5000, \'User\')','loanReceive/save_new_loan','0.01148509979248','2016-09-27 09:38:06'),(31849,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000004\', 1, \'Baki Terima Loan\', \'33316\', \'Bisnes Loan (SME)\', 5000, \'1\', \'1\', \'5000\', \'09\', \'2016\', \'1\', \'LR[00000004]\', \'0\', \'User\')','loanReceive/save_new_loan','0.010896921157837','2016-09-27 09:38:06'),(31850,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000004\', \'Baki Terima Loan\', \'33312\', \'Bisnes Loan (SME)\', 5000, \'1\', \'1\', \'5000\', \'09\', \'2016\', \'LR[00000004]\', \'1\', \'0\', \'User\')','loanReceive/save_new_loan','0.024451017379761','2016-09-27 09:38:06'),(31851,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000004\'','loanReceive/save_new_loan','0.00844407081604','2016-09-27 09:38:06'),(31852,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2359','loanReceive/save_new_loan','0.024623870849609','2016-09-27 09:38:06'),(31853,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11583','loanReceive/save_new_loan','0.0084459781646729','2016-09-27 09:38:06'),(31854,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000004\'','loanReceive/save_new_loan','0.049569845199585','2016-09-27 09:38:06'),(31855,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33316\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','loanReceive/save_new_loan','0.014081954956055','2016-09-27 09:38:06'),(31856,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','loanReceive/save_new_loan','0.023994922637939','2016-09-27 09:38:06'),(31857,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-27\', `bankID` = \'174\', `receiveFrom` = \'Bisnes Loan (SME)\', `totalReceived` = \'3000\', `updateAble` = 1 WHERE `ID` =  \'2359\'','loanReceive/update_loan','0.083938121795654','2016-09-27 09:38:28'),(31858,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others_detail` SET `accountNoID` = \'33316\', `amountExcludedTax` = \'3000\', `description` = \'Baki Terima Loan\' WHERE `ID` =  \'2122\'','loanReceive/update_loan','0.042891979217529','2016-09-27 09:38:28'),(31859,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AR20160900000004\'','loanReceive/update_loan','0.023200035095215','2016-09-27 09:38:28'),(31860,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AR20160900000004\'','loanReceive/update_loan','0.0084741115570068','2016-09-27 09:38:28'),(31861,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'355\'','loanReceive/update_loan','0.018126010894775','2016-09-27 09:38:28'),(31862,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000005\' WHERE `ID` =  \'2359\'','loanReceive/update_loan','0.008465051651001','2016-09-27 09:38:28'),(31863,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000005\', \'LR[00000004]\', \'Loan Received [ LR[00000004] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 3000, 3000, \'User\')','loanReceive/update_loan','0.011461973190308','2016-09-27 09:38:28'),(31864,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000005\', 1, \'Baki Terima Loan\', \'33316\', \'Bisnes Loan (SME)\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'1\', \'LR[00000004]\', \'0\', \'User\')','loanReceive/update_loan','0.010910987854004','2016-09-27 09:38:28'),(31865,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000005\', \'Baki Terima Loan\', \'33312\', \'Bisnes Loan (SME)\', 3000, \'1\', \'1\', \'3000\', \'09\', \'2016\', \'LR[00000004]\', \'1\', \'0\', \'User\')','loanReceive/update_loan','0.016107082366943','2016-09-27 09:38:28'),(31866,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000005\'','loanReceive/update_loan','0.0084328651428223','2016-09-27 09:38:28'),(31867,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2359\'','loanReceive/update_loan','0.016277074813843','2016-09-27 09:38:28'),(31868,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11584','loanReceive/update_loan','0.0084688663482666','2016-09-27 09:38:28'),(31869,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000005\'','loanReceive/update_loan','0.016201019287109','2016-09-27 09:38:29'),(31870,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33316\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','loanReceive/update_loan','0.012936115264893','2016-09-27 09:38:29'),(31871,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','loanReceive/update_loan','0.018402099609375','2016-09-27 09:38:29'),(31872,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000006\'','sales/save_update_sale','0.31172513961792','2016-09-27 09:44:12'),(31873,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000006\'','sales/save_update_sale','0.016172885894775','2016-09-27 09:44:12'),(31874,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'122.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016793012619019','2016-09-27 09:44:12'),(31875,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.016235113143921','2016-09-27 09:44:12'),(31876,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.016840934753418','2016-09-27 09:44:12'),(31877,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'air\', \'2.00\', \'32583\', 2)','sales/save_update_sale','0.016252040863037','2016-09-27 09:44:12'),(31878,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00020718574523926','2016-09-27 09:44:12'),(31879,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'354\'','sales/save_update_sale','0.024029016494751','2016-09-27 09:44:13'),(31880,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000007\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016196966171265','2016-09-27 09:44:13'),(31881,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000007\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'122\', \'122\', \'11\')','sales/save_update_sale','0.014549016952515','2016-09-27 09:44:13'),(31882,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000007\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016057014465332','2016-09-27 09:44:13'),(31883,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000007\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.0083749294281006','2016-09-27 09:44:13'),(31884,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000007\', 3, \'air\', \'32583\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.022040128707886','2016-09-27 09:44:13'),(31885,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000007\', \'air\', \'32572\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.010768175125122','2016-09-27 09:44:13'),(31886,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 122, `total_amount_cr` = 122, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000007\'','sales/save_update_sale','0.13698601722717','2016-09-27 09:44:13'),(31887,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.029375791549683','2016-09-27 09:44:13'),(31888,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11585','sales/save_update_sale','0.01623797416687','2016-09-27 09:44:13'),(31889,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000007\'','sales/save_update_sale','0.0084598064422607','2016-09-27 09:44:13'),(31890,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.012821197509766','2016-09-27 09:44:13'),(31891,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.010381937026978','2016-09-27 09:44:13'),(31892,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015753984451294','2016-09-27 09:44:13'),(31893,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.0079560279846191','2016-09-27 09:44:13'),(31894,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000007\'','sales/save_update_sale','0.039210081100464','2016-09-27 09:52:28'),(31895,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000007\'','sales/save_update_sale','0.038923025131226','2016-09-27 09:52:28'),(31896,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'126.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.035685062408447','2016-09-27 09:52:28'),(31897,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.02454400062561','2016-09-27 09:52:28'),(31898,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.025165796279907','2016-09-27 09:52:28'),(31899,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'air\', \'2.00\', \'32583\', 2)','sales/save_update_sale','0.024576902389526','2016-09-27 09:52:28'),(31900,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 3)','sales/save_update_sale','0.016883850097656','2016-09-27 09:52:28'),(31901,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00022220611572266','2016-09-27 09:52:28'),(31902,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'354\'','sales/save_update_sale','0.02208685874939','2016-09-27 09:52:28'),(31903,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000008\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016784906387329','2016-09-27 09:52:28'),(31904,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000008\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'126\', \'126\', \'11\')','sales/save_update_sale','0.028337955474854','2016-09-27 09:52:28'),(31905,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000008\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.01899790763855','2016-09-27 09:52:28'),(31906,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000008\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016109943389893','2016-09-27 09:52:28'),(31907,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000008\', 3, \'air\', \'32583\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016696929931641','2016-09-27 09:52:28'),(31908,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000008\', \'air\', \'32572\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016100168228149','2016-09-27 09:52:28'),(31909,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000008\', 5, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016708135604858','2016-09-27 09:52:28'),(31910,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000008\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.022125005722046','2016-09-27 09:52:28'),(31911,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 126, `total_amount_cr` = 126, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000008\'','sales/save_update_sale','0.024811029434204','2016-09-27 09:52:28'),(31912,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.027200937271118','2016-09-27 09:52:28'),(31913,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11586','sales/save_update_sale','0.057703971862793','2016-09-27 09:52:28'),(31914,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000008\'','sales/save_update_sale','0.031313180923462','2016-09-27 09:52:28'),(31915,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.03910493850708','2016-09-27 09:52:28'),(31916,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.023952007293701','2016-09-27 09:52:28'),(31917,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.021955966949463','2016-09-27 09:52:28'),(31918,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.026691913604736','2016-09-27 09:52:28'),(31919,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.038562059402466','2016-09-27 09:52:28'),(31920,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.043320894241333','2016-09-27 09:52:28'),(31921,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000008\'','sales/save_update_sale','0.026350021362305','2016-09-27 09:53:14'),(31922,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000008\'','sales/save_update_sale','0.016189098358154','2016-09-27 09:53:14'),(31923,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'129.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016769170761108','2016-09-27 09:53:14'),(31924,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.016224145889282','2016-09-27 09:53:14'),(31925,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.016857147216797','2016-09-27 09:53:14'),(31926,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'air\', \'5.00\', \'32583\', 2)','sales/save_update_sale','0.01625394821167','2016-09-27 09:53:14'),(31927,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 3)','sales/save_update_sale','0.016861915588379','2016-09-27 09:53:14'),(31928,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00018906593322754','2016-09-27 09:53:14'),(31929,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'354\'','sales/save_update_sale','0.024145841598511','2016-09-27 09:53:14'),(31930,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000009\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016812086105347','2016-09-27 09:53:14'),(31931,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000009\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'129\', \'129\', \'11\')','sales/save_update_sale','0.011821985244751','2016-09-27 09:53:14'),(31932,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000009\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.018839120864868','2016-09-27 09:53:14'),(31933,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000009\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016136169433594','2016-09-27 09:53:14'),(31934,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000009\', 3, \'air\', \'32583\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016662836074829','2016-09-27 09:53:14'),(31935,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000009\', \'air\', \'32572\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016118049621582','2016-09-27 09:53:14'),(31936,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000009\', 5, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016715049743652','2016-09-27 09:53:14');
INSERT INTO `_log_query` VALUES (31937,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000009\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.016120910644531','2016-09-27 09:53:14'),(31938,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 129, `total_amount_cr` = 129, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000009\'','sales/save_update_sale','0.016813039779663','2016-09-27 09:53:14'),(31939,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016227960586548','2016-09-27 09:53:14'),(31940,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11587','sales/save_update_sale','0.025171041488647','2016-09-27 09:53:14'),(31941,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000009\'','sales/save_update_sale','0.016211986541748','2016-09-27 09:53:14'),(31942,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.024100065231323','2016-09-27 09:53:14'),(31943,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015727043151855','2016-09-27 09:53:14'),(31944,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016262054443359','2016-09-27 09:53:14'),(31945,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015721082687378','2016-09-27 09:53:14'),(31946,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016232013702393','2016-09-27 09:53:14'),(31947,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015729904174805','2016-09-27 09:53:14'),(31948,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000009\'','sales/save_update_sale','0.020496129989624','2016-09-27 09:58:49'),(31949,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000009\'','sales/save_update_sale','0.016813993453979','2016-09-27 09:58:49'),(31950,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'184.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016134977340698','2016-09-27 09:58:49'),(31951,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.025163888931274','2016-09-27 09:58:49'),(31952,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.016231060028076','2016-09-27 09:58:49'),(31953,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'air\', \'5.00\', \'32583\', 2)','sales/save_update_sale','0.025186061859131','2016-09-27 09:58:49'),(31954,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 3)','sales/save_update_sale','0.032893180847168','2016-09-27 09:58:49'),(31955,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'55.00\', \'32583\', 4)','sales/save_update_sale','0.033517122268677','2016-09-27 09:58:49'),(31956,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.0001978874206543','2016-09-27 09:58:49'),(31957,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'354\'','sales/save_update_sale','0.030462980270386','2016-09-27 09:58:49'),(31958,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000010\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.033143043518066','2016-09-27 09:58:49'),(31959,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000010\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'184\', \'184\', \'11\')','sales/save_update_sale','0.022803783416748','2016-09-27 09:58:49'),(31960,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000010\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.022402048110962','2016-09-27 09:58:49'),(31961,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000010\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.035096883773804','2016-09-27 09:58:49'),(31962,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000010\', 3, \'air\', \'32583\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.033037900924683','2016-09-27 09:58:49'),(31963,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000010\', \'air\', \'32572\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016709089279175','2016-09-27 09:58:49'),(31964,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000010\', 5, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.033044815063477','2016-09-27 09:58:49'),(31965,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000010\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.016078233718872','2016-09-27 09:58:49'),(31966,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000010\', 7, \'kayu balak\', \'32583\', \'\', 55, \'1\', \'1\', \'55\', \'09\', \'2016\', \'4\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016669034957886','2016-09-27 09:58:49'),(31967,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 8, \'AR20160900000010\', \'kayu balak\', \'32572\', \'\', 55, \'1\', \'1\', \'55\', \'09\', \'2016\', \'OR[00000037]\', \'4\', \'0\', \'User\')','sales/save_update_sale','0.016095876693726','2016-09-27 09:58:49'),(31968,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 184, `total_amount_cr` = 184, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000010\'','sales/save_update_sale','0.014472007751465','2016-09-27 09:58:49'),(31969,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.01884913444519','2016-09-27 09:58:49'),(31970,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11588','sales/save_update_sale','0.14151811599731','2016-09-27 09:58:49'),(31971,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000010\'','sales/save_update_sale','0.024496078491211','2016-09-27 09:58:50'),(31972,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.021804094314575','2016-09-27 09:58:50'),(31973,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.017887115478516','2016-09-27 09:58:50'),(31974,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016263008117676','2016-09-27 09:58:50'),(31975,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.023977994918823','2016-09-27 09:58:50'),(31976,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.024579048156738','2016-09-27 09:58:50'),(31977,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.013597965240479','2016-09-27 09:58:50'),(31978,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.018271923065186','2016-09-27 09:58:50'),(31979,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.021819829940796','2016-09-27 09:58:50'),(31980,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000010\'','sales/save_update_sale','0.10166501998901','2016-09-27 09:59:43'),(31981,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000010\'','sales/save_update_sale','0.0245201587677','2016-09-27 09:59:43'),(31982,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'190.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.033389091491699','2016-09-27 09:59:43'),(31983,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.024537086486816','2016-09-27 09:59:43'),(31984,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.01466703414917','2016-09-27 09:59:43'),(31985,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'air\', \'5.00\', \'32583\', 2)','sales/save_update_sale','0.018416881561279','2016-09-27 09:59:43'),(31986,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 3)','sales/save_update_sale','0.016853809356689','2016-09-27 09:59:43'),(31987,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'55.00\', \'32583\', 4)','sales/save_update_sale','0.016258955001831','2016-09-27 09:59:43'),(31988,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'lempeng\', \'6.00\', \'32583\', 5)','sales/save_update_sale','0.016836881637573','2016-09-27 09:59:43'),(31989,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00022101402282715','2016-09-27 09:59:43'),(31990,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'354\'','sales/save_update_sale','0.031486034393311','2016-09-27 09:59:43'),(31991,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000011\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016822099685669','2016-09-27 09:59:43'),(31992,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000011\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'190\', \'190\', \'11\')','sales/save_update_sale','0.012171983718872','2016-09-27 09:59:43'),(31993,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000011\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.13063597679138','2016-09-27 09:59:43'),(31994,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000011\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.028987169265747','2016-09-27 09:59:43'),(31995,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000011\', 3, \'air\', \'32583\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016694068908691','2016-09-27 09:59:43'),(31996,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000011\', \'air\', \'32572\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.01613712310791','2016-09-27 09:59:43'),(31997,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000011\', 5, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016694068908691','2016-09-27 09:59:43'),(31998,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000011\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.016093015670776','2016-09-27 09:59:43'),(31999,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000011\', 7, \'kayu balak\', \'32583\', \'\', 55, \'1\', \'1\', \'55\', \'09\', \'2016\', \'4\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016686916351318','2016-09-27 09:59:43'),(32000,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 8, \'AR20160900000011\', \'kayu balak\', \'32572\', \'\', 55, \'1\', \'1\', \'55\', \'09\', \'2016\', \'OR[00000037]\', \'4\', \'0\', \'User\')','sales/save_update_sale','0.016117095947266','2016-09-27 09:59:43'),(32001,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000011\', 9, \'lempeng\', \'32583\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'5\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016693830490112','2016-09-27 09:59:43'),(32002,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 10, \'AR20160900000011\', \'lempeng\', \'32572\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'OR[00000037]\', \'5\', \'0\', \'User\')','sales/save_update_sale','0.01610279083252','2016-09-27 09:59:43'),(32003,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 190, `total_amount_cr` = 190, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000011\'','sales/save_update_sale','0.016799926757812','2016-09-27 09:59:43'),(32004,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016261100769043','2016-09-27 09:59:43'),(32005,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11589','sales/save_update_sale','0.01682710647583','2016-09-27 09:59:43'),(32006,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000011\'','sales/save_update_sale','0.016208171844482','2016-09-27 09:59:43'),(32007,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015833854675293','2016-09-27 09:59:43'),(32008,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.017816066741943','2016-09-27 09:59:43'),(32009,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016287803649902','2016-09-27 09:59:43'),(32010,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015729904174805','2016-09-27 09:59:43'),(32011,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.024579048156738','2016-09-27 09:59:43'),(32012,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015687942504883','2016-09-27 09:59:43'),(32013,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016309976577759','2016-09-27 09:59:43'),(32014,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015659093856812','2016-09-27 09:59:43'),(32015,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016239166259766','2016-09-27 09:59:43'),(32016,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015676975250244','2016-09-27 09:59:43'),(32017,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000010\'','sales/save_update_sale','0.00024104118347168','2016-09-27 10:00:12'),(32018,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000010\'','sales/save_update_sale','0.00011205673217773','2016-09-27 10:00:12'),(32019,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'162.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.022219181060791','2016-09-27 10:00:12'),(32020,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.01624584197998','2016-09-27 10:00:12'),(32021,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.016798973083496','2016-09-27 10:00:12'),(32022,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'air\', \'5.00\', \'32583\', 2)','sales/save_update_sale','0.016252994537354','2016-09-27 10:00:12'),(32023,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 3)','sales/save_update_sale','0.016849994659424','2016-09-27 10:00:12'),(32024,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'33.00\', \'32583\', 4)','sales/save_update_sale','0.016258001327515','2016-09-27 10:00:12'),(32025,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00018095970153809','2016-09-27 10:00:12'),(32026,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'354\'','sales/save_update_sale','0.017546892166138','2016-09-27 10:00:12'),(32027,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000012\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016201972961426','2016-09-27 10:00:12'),(32028,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000012\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'162\', \'162\', \'11\')','sales/save_update_sale','0.039520978927612','2016-09-27 10:00:12'),(32029,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000012\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.01604700088501','2016-09-27 10:00:12'),(32030,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000012\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016676187515259','2016-09-27 10:00:12'),(32031,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000012\', 3, \'air\', \'32583\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016093015670776','2016-09-27 10:00:12'),(32032,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000012\', \'air\', \'32572\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016669034957886','2016-09-27 10:00:12'),(32033,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000012\', 5, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016122102737427','2016-09-27 10:00:12'),(32034,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000012\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.016677141189575','2016-09-27 10:00:12'),(32035,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000012\', 7, \'kayu balak\', \'32583\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'4\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016108989715576','2016-09-27 10:00:12'),(32036,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 8, \'AR20160900000012\', \'kayu balak\', \'32572\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'OR[00000037]\', \'4\', \'0\', \'User\')','sales/save_update_sale','0.016679048538208','2016-09-27 10:00:12'),(32037,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 162, `total_amount_cr` = 162, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000012\'','sales/save_update_sale','0.016194820404053','2016-09-27 10:00:12'),(32038,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.025156021118164','2016-09-27 10:00:12'),(32039,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11590','sales/save_update_sale','0.024588108062744','2016-09-27 10:00:12'),(32040,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000012\'','sales/save_update_sale','0.016791820526123','2016-09-27 10:00:12'),(32041,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015161991119385','2016-09-27 10:00:12'),(32042,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016293048858643','2016-09-27 10:00:12'),(32043,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.023960828781128','2016-09-27 10:00:12'),(32044,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016201019287109','2016-09-27 10:00:12'),(32045,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01564621925354','2016-09-27 10:00:12'),(32046,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016264915466309','2016-09-27 10:00:12'),(32047,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01557993888855','2016-09-27 10:00:12'),(32048,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016196966171265','2016-09-27 10:00:12'),(32049,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'172\', \'OR\', \'500.00\', \'39\')','sales/save_new_sale','0.060596942901611','2016-09-27 10:01:24'),(32050,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2360, \'33321\', \'KEK PANDAN\', \'500.00\', 1)','sales/save_new_sale','0.041807889938354','2016-09-27 10:01:25'),(32051,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2360','sales/save_new_sale','0.00020408630371094','2016-09-27 10:01:25'),(32052,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'355\'','sales/save_new_sale','0.01206111907959','2016-09-27 10:01:25'),(32053,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000006\' WHERE `ID` =  2360','sales/save_new_sale','0.026669025421143','2016-09-27 10:01:25'),(32054,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000006\', \'OR[00000005]\', \'Jualan [ OR[00000005] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'500\', \'500\', \'28\')','sales/save_new_sale','0.012375116348267','2016-09-27 10:01:25'),(32055,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000006\', 1, \'KEK PANDAN\', \'33321\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'1\', \'OR[00000005]\', \'0\', \'User\')','sales/save_new_sale','0.018229961395264','2016-09-27 10:01:25'),(32056,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000006\', \'KEK PANDAN\', \'33310\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'OR[00000005]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0244300365448','2016-09-27 10:01:25'),(32057,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000006\'','sales/save_new_sale','0.016781806945801','2016-09-27 10:01:25'),(32058,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2360','sales/save_new_sale','0.024599075317383','2016-09-27 10:01:25'),(32059,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11591','sales/save_new_sale','0.016794919967651','2016-09-27 10:01:25'),(32060,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000006\'','sales/save_new_sale','0.016211986541748','2016-09-27 10:01:25'),(32061,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015683889389038','2016-09-27 10:01:25'),(32062,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015626192092896','2016-09-27 10:01:25'),(32063,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000012\'','sales/save_update_sale','0.047605991363525','2016-09-27 10:02:19'),(32064,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000012\'','sales/save_update_sale','0.016794919967651','2016-09-27 10:02:19'),(32065,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'157.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016149044036865','2016-09-27 10:02:19'),(32066,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.025187969207764','2016-09-27 10:02:19'),(32067,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'harini\', \'120.00\', \'32583\', 1)','sales/save_update_sale','0.024570941925049','2016-09-27 10:02:19'),(32068,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 2)','sales/save_update_sale','0.033527135848999','2016-09-27 10:02:19'),(32069,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'33.00\', \'32583\', 3)','sales/save_update_sale','0.016242980957031','2016-09-27 10:02:19'),(32070,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00018501281738281','2016-09-27 10:02:19'),(32071,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'354\'','sales/save_update_sale','0.025899171829224','2016-09-27 10:02:19'),(32072,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000013\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.025125026702881','2016-09-27 10:02:19'),(32073,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000013\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'157\', \'157\', \'11\')','sales/save_update_sale','0.022357940673828','2016-09-27 10:02:19'),(32074,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000013\', 1, \'harini\', \'32583\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016644954681396','2016-09-27 10:02:19'),(32075,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000013\', \'harini\', \'32572\', \'\', 120, \'1\', \'1\', \'120\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.049758911132812','2016-09-27 10:02:19'),(32076,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000013\', 3, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.033042907714844','2016-09-27 10:02:19'),(32077,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000013\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.14515614509583','2016-09-27 10:02:19'),(32078,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000013\', 5, \'kayu balak\', \'32583\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.019090175628662','2016-09-27 10:02:19'),(32079,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000013\', \'kayu balak\', \'32572\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.018218994140625','2016-09-27 10:02:19'),(32080,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 157, `total_amount_cr` = 157, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000013\'','sales/save_update_sale','0.016195058822632','2016-09-27 10:02:19'),(32081,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.025196075439453','2016-09-27 10:02:19'),(32082,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11592','sales/save_update_sale','0.01624584197998','2016-09-27 10:02:19'),(32083,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000013\'','sales/save_update_sale','0.016782999038696','2016-09-27 10:02:20'),(32084,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015249967575073','2016-09-27 10:02:20'),(32085,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016277074813843','2016-09-27 10:02:20'),(32086,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01570200920105','2016-09-27 10:02:20'),(32087,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.024595975875854','2016-09-27 10:02:20'),(32088,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01570200920105','2016-09-27 10:02:20'),(32089,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016309976577759','2016-09-27 10:02:20'),(32090,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AR20160900000006\'','sales/save_update_sale','0.027056217193604','2016-09-27 10:02:21'),(32091,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AR20160900000006\'','sales/save_update_sale','0.016824960708618','2016-09-27 10:02:21'),(32092,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-27\', `bankID` = \'172\', `totalReceived` = \'900.00\', `updateAble` = 1 WHERE `ID` =  \'2360\'','sales/save_update_sale','0.016165018081665','2016-09-27 10:02:21'),(32093,39,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2360\'','sales/save_update_sale','0.016810178756714','2016-09-27 10:02:21'),(32094,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2360\', \'KEK PANDAN\', \'900.00\', \'33321\', 1)','sales/save_update_sale','0.033226013183594','2016-09-27 10:02:21'),(32095,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2360\'','sales/save_update_sale','0.00031685829162598','2016-09-27 10:02:21'),(32096,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'355\'','sales/save_update_sale','0.015069007873535','2016-09-27 10:02:21'),(32097,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000007\' WHERE `ID` =  \'2360\'','sales/save_update_sale','0.018404960632324','2016-09-27 10:02:21'),(32098,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000007\', \'OR[00000005]\', \'Jualan [ OR[00000005] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'900\', \'900\', \'28\')','sales/save_update_sale','0.030684947967529','2016-09-27 10:02:21'),(32099,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000007\', 1, \'KEK PANDAN\', \'33321\', \'\', 900, \'1\', \'1\', \'900\', \'09\', \'2016\', \'1\', \'OR[00000005]\', \'0\', \'User\')','sales/save_update_sale','0.016650915145874','2016-09-27 10:02:21'),(32100,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000007\', \'KEK PANDAN\', \'33310\', \'\', 900, \'1\', \'1\', \'900\', \'09\', \'2016\', \'OR[00000005]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016123056411743','2016-09-27 10:02:21'),(32101,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 900, `total_amount_cr` = 900, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000007\'','sales/save_update_sale','0.016771078109741','2016-09-27 10:02:21'),(32102,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2360\'','sales/save_update_sale','0.016268968582153','2016-09-27 10:02:21'),(32103,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11593','sales/save_update_sale','0.024845123291016','2016-09-27 10:02:21'),(32104,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000007\'','sales/save_update_sale','0.016209840774536','2016-09-27 10:02:21'),(32105,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015792846679688','2016-09-27 10:02:21'),(32106,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015622138977051','2016-09-27 10:02:21'),(32107,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000013\'','sales/save_update_sale','0.012290954589844','2016-09-27 10:04:21'),(32108,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000013\'','sales/save_update_sale','0.16355395317078','2016-09-27 10:04:21'),(32109,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'37.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.028939962387085','2016-09-27 10:04:21'),(32110,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.016836881637573','2016-09-27 10:04:21'),(32111,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 1)','sales/save_update_sale','0.024561166763306','2016-09-27 10:04:21'),(32112,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'33.00\', \'32583\', 2)','sales/save_update_sale','0.016848087310791','2016-09-27 10:04:21'),(32113,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00023818016052246','2016-09-27 10:04:21'),(32114,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'354\'','sales/save_update_sale','0.022064924240112','2016-09-27 10:04:21'),(32115,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000014\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016782999038696','2016-09-27 10:04:21'),(32116,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000014\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'37\', \'37\', \'11\')','sales/save_update_sale','0.012964963912964','2016-09-27 10:04:21'),(32117,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000014\', 1, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.017694234848022','2016-09-27 10:04:21'),(32118,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000014\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016116142272949','2016-09-27 10:04:21'),(32119,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000014\', 3, \'kayu balak\', \'32583\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016677856445312','2016-09-27 10:04:21'),(32120,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000014\', \'kayu balak\', \'32572\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016131162643433','2016-09-27 10:04:21'),(32121,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 37, `total_amount_cr` = 37, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000014\'','sales/save_update_sale','0.025121927261353','2016-09-27 10:04:22'),(32122,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016244888305664','2016-09-27 10:04:22'),(32123,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11594','sales/save_update_sale','0.032160997390747','2016-09-27 10:04:22'),(32124,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000014\'','sales/save_update_sale','0.025885105133057','2016-09-27 10:04:22'),(32125,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.026310920715332','2016-09-27 10:04:22'),(32126,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.03259015083313','2016-09-27 10:04:22'),(32127,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.10755014419556','2016-09-27 10:04:22'),(32128,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.032624006271362','2016-09-27 10:04:22'),(32129,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000014\'','sales/save_update_sale','0.034630060195923','2016-09-27 10:04:52'),(32130,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000014\'','sales/save_update_sale','0.041783809661865','2016-09-27 10:04:52'),(32131,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'43.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.041132926940918','2016-09-27 10:04:52'),(32132,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.025151968002319','2016-09-27 10:04:52'),(32133,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 1)','sales/save_update_sale','0.016227960586548','2016-09-27 10:04:52'),(32134,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'33.00\', \'32583\', 2)','sales/save_update_sale','0.016857862472534','2016-09-27 10:04:52'),(32135,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'ayam goreng\', \'6.00\', \'32583\', 3)','sales/save_update_sale','0.016243934631348','2016-09-27 10:04:52'),(32136,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00021696090698242','2016-09-27 10:04:52'),(32137,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'354\'','sales/save_update_sale','0.02547287940979','2016-09-27 10:04:52'),(32138,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000015\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016206979751587','2016-09-27 10:04:52'),(32139,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000015\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'43\', \'43\', \'11\')','sales/save_update_sale','0.01451587677002','2016-09-27 10:04:52'),(32140,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000015\', 1, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016103982925415','2016-09-27 10:04:52'),(32141,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000015\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.01666784286499','2016-09-27 10:04:52'),(32142,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000015\', 3, \'kayu balak\', \'32583\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016083955764771','2016-09-27 10:04:52'),(32143,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000015\', \'kayu balak\', \'32572\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016676902770996','2016-09-27 10:04:52'),(32144,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000015\', 5, \'ayam goreng\', \'32583\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.032755851745605','2016-09-27 10:04:52'),(32145,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000015\', \'ayam goreng\', \'32572\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.016678094863892','2016-09-27 10:04:52'),(32146,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 43, `total_amount_cr` = 43, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000015\'','sales/save_update_sale','0.033150911331177','2016-09-27 10:04:52'),(32147,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.033200979232788','2016-09-27 10:04:52'),(32148,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11595','sales/save_update_sale','0.041491985321045','2016-09-27 10:04:52'),(32149,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000015\'','sales/save_update_sale','0.016179084777832','2016-09-27 10:04:52'),(32150,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.032291889190674','2016-09-27 10:04:52'),(32151,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.032520055770874','2016-09-27 10:04:52'),(32152,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.023849964141846','2016-09-27 10:04:53'),(32153,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.040868043899536','2016-09-27 10:04:53'),(32154,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.032531023025513','2016-09-27 10:04:53'),(32155,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.032565116882324','2016-09-27 10:04:53'),(32156,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000015\'','sales/save_update_sale','0.032144069671631','2016-09-27 10:05:36'),(32157,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000015\'','sales/save_update_sale','0.024525165557861','2016-09-27 10:05:36'),(32158,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'52.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016742944717407','2016-09-27 10:05:36'),(32159,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.016229867935181','2016-09-27 10:05:36'),(32160,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 1)','sales/save_update_sale','0.016840934753418','2016-09-27 10:05:36'),(32161,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'33.00\', \'32583\', 2)','sales/save_update_sale','0.016239881515503','2016-09-27 10:05:36'),(32162,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'ayam goreng\', \'6.00\', \'32583\', 3)','sales/save_update_sale','0.01683497428894','2016-09-27 10:05:36'),(32163,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'itik goreng\', \'9.00\', \'32583\', 4)','sales/save_update_sale','0.016252040863037','2016-09-27 10:05:36'),(32164,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00020718574523926','2016-09-27 10:05:36'),(32165,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'354\'','sales/save_update_sale','0.032413959503174','2016-09-27 10:05:36'),(32166,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000016\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.033143997192383','2016-09-27 10:05:36'),(32167,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000016\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'52\', \'52\', \'11\')','sales/save_update_sale','0.030885934829712','2016-09-27 10:05:36'),(32168,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000016\', 1, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.049657106399536','2016-09-27 10:05:36'),(32169,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000016\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016648054122925','2016-09-27 10:05:36'),(32170,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000016\', 3, \'kayu balak\', \'32583\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.01609206199646','2016-09-27 10:05:36'),(32171,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000016\', \'kayu balak\', \'32572\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016686916351318','2016-09-27 10:05:36'),(32172,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000016\', 5, \'ayam goreng\', \'32583\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016081094741821','2016-09-27 10:05:36'),(32173,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000016\', \'ayam goreng\', \'32572\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.01666784286499','2016-09-27 10:05:36'),(32174,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000016\', 7, \'itik goreng\', \'32583\', \'\', 9, \'1\', \'1\', \'9\', \'09\', \'2016\', \'4\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016078948974609','2016-09-27 10:05:36'),(32175,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 8, \'AR20160900000016\', \'itik goreng\', \'32572\', \'\', 9, \'1\', \'1\', \'9\', \'09\', \'2016\', \'OR[00000037]\', \'4\', \'0\', \'User\')','sales/save_update_sale','0.016691923141479','2016-09-27 10:05:36'),(32176,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 52, `total_amount_cr` = 52, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000016\'','sales/save_update_sale','0.01616907119751','2016-09-27 10:05:36'),(32177,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016842126846313','2016-09-27 10:05:36'),(32178,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11596','sales/save_update_sale','0.041234970092773','2016-09-27 10:05:36'),(32179,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000016\'','sales/save_update_sale','0.017283916473389','2016-09-27 10:05:36'),(32180,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.014433860778809','2016-09-27 10:05:36'),(32181,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016202926635742','2016-09-27 10:05:36'),(32182,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015574932098389','2016-09-27 10:05:36'),(32183,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016212940216064','2016-09-27 10:05:36'),(32184,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01559591293335','2016-09-27 10:05:36'),(32185,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.12828397750854','2016-09-27 10:05:36'),(32186,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.045125961303711','2016-09-27 10:05:36'),(32187,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016201972961426','2016-09-27 10:05:37'),(32188,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000016\'','sales/save_update_sale','0.042337894439697','2016-09-27 10:05:59'),(32189,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000016\'','sales/save_update_sale','0.016790151596069','2016-09-27 10:05:59'),(32190,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'51.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016144990921021','2016-09-27 10:05:59'),(32191,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.016792058944702','2016-09-27 10:05:59'),(32192,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 1)','sales/save_update_sale','0.016244173049927','2016-09-27 10:05:59'),(32193,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'33.00\', \'32583\', 2)','sales/save_update_sale','0.016830921173096','2016-09-27 10:05:59'),(32194,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'ayam goreng\', \'6.00\', \'32583\', 3)','sales/save_update_sale','0.016252994537354','2016-09-27 10:05:59'),(32195,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'itik goreng\', \'8.00\', \'32583\', 4)','sales/save_update_sale','0.01684308052063','2016-09-27 10:05:59'),(32196,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.0001981258392334','2016-09-27 10:05:59'),(32197,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'354\'','sales/save_update_sale','0.014786005020142','2016-09-27 10:05:59'),(32198,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000017\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016789197921753','2016-09-27 10:05:59'),(32199,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000017\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'51\', \'51\', \'11\')','sales/save_update_sale','0.022241115570068','2016-09-27 10:05:59'),(32200,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000017\', 1, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.024971961975098','2016-09-27 10:05:59'),(32201,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000017\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016057968139648','2016-09-27 10:05:59'),(32202,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000017\', 3, \'kayu balak\', \'32583\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016668081283569','2016-09-27 10:05:59'),(32203,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000017\', \'kayu balak\', \'32572\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016114950180054','2016-09-27 10:05:59'),(32204,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000017\', 5, \'ayam goreng\', \'32583\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016662120819092','2016-09-27 10:05:59'),(32205,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000017\', \'ayam goreng\', \'32572\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.024434804916382','2016-09-27 10:05:59'),(32206,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000017\', 7, \'itik goreng\', \'32583\', \'\', 8, \'1\', \'1\', \'8\', \'09\', \'2016\', \'4\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.1287248134613','2016-09-27 10:05:59'),(32207,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 8, \'AR20160900000017\', \'itik goreng\', \'32572\', \'\', 8, \'1\', \'1\', \'8\', \'09\', \'2016\', \'OR[00000037]\', \'4\', \'0\', \'User\')','sales/save_update_sale','0.029035091400146','2016-09-27 10:05:59'),(32208,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 51, `total_amount_cr` = 51, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000017\'','sales/save_update_sale','0.016719818115234','2016-09-27 10:05:59'),(32209,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.01624608039856','2016-09-27 10:05:59'),(32210,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11597','sales/save_update_sale','0.054221868515015','2016-09-27 10:05:59'),(32211,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000017\'','sales/save_update_sale','0.01147198677063','2016-09-27 10:05:59'),(32212,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016294956207275','2016-09-27 10:05:59'),(32213,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015598058700562','2016-09-27 10:05:59'),(32214,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01622486114502','2016-09-27 10:05:59'),(32215,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015618085861206','2016-09-27 10:05:59'),(32216,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016209840774536','2016-09-27 10:05:59'),(32217,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015590906143188','2016-09-27 10:05:59'),(32218,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016203880310059','2016-09-27 10:05:59'),(32219,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.0156090259552','2016-09-27 10:05:59'),(32220,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'108\', \'OR\', \'500.00\', \'12\')','sales/save_new_sale','0.047144889831543','2016-09-27 10:07:54'),(32221,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2361, \'32583\', \'KEK LOPIS\', \'500.00\', 1)','sales/save_new_sale','0.016818046569824','2016-09-27 10:07:54'),(32222,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2361','sales/save_new_sale','0.00018095970153809','2016-09-27 10:07:54'),(32223,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'354\'','sales/save_new_sale','0.025467872619629','2016-09-27 10:07:54'),(32224,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000018\' WHERE `ID` =  2361','sales/save_new_sale','0.01677417755127','2016-09-27 10:07:54'),(32225,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000018\', \'OR[00000041]\', \'Sales [ OR[00000041] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'500\', \'500\', \'11\')','sales/save_new_sale','0.022286176681519','2016-09-27 10:07:54'),(32226,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000018\', 1, \'KEK LOPIS\', \'32583\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'1\', \'OR[00000041]\', \'0\', \'User\')','sales/save_new_sale','0.016641139984131','2016-09-27 10:07:54'),(32227,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000018\', \'KEK LOPIS\', \'32572\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'OR[00000041]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016077041625977','2016-09-27 10:07:54'),(32228,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000018\'','sales/save_new_sale','0.025117158889771','2016-09-27 10:07:54'),(32229,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2361','sales/save_new_sale','0.016262054443359','2016-09-27 10:07:54'),(32230,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11598','sales/save_new_sale','0.016814947128296','2016-09-27 10:07:54'),(32231,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000018\'','sales/save_new_sale','0.016190052032471','2016-09-27 10:07:54'),(32232,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015730857849121','2016-09-27 10:07:54'),(32233,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015623807907104','2016-09-27 10:07:54'),(32234,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000018\'','sales/save_update_sale','0.025768041610718','2016-09-27 10:08:22'),(32235,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000018\'','sales/save_update_sale','0.01679801940918','2016-09-27 10:08:22'),(32236,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-27\', `bankID` = \'108\', `totalReceived` = \'700.00\', `updateAble` = 1 WHERE `ID` =  \'2361\'','sales/save_update_sale','0.016119003295898','2016-09-27 10:08:22'),(32237,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2361\'','sales/save_update_sale','0.025166034698486','2016-09-27 10:08:22'),(32238,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2361\', \'KEK LOPIS\', \'700.00\', \'32583\', 1)','sales/save_update_sale','0.016228914260864','2016-09-27 10:08:22'),(32239,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2361\'','sales/save_update_sale','0.00020098686218262','2016-09-27 10:08:22'),(32240,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'354\'','sales/save_update_sale','0.015753030776978','2016-09-27 10:08:22'),(32241,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000019\' WHERE `ID` =  \'2361\'','sales/save_update_sale','0.016199111938477','2016-09-27 10:08:22'),(32242,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000019\', \'OR[00000041]\', \'Sales [ OR[00000041] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'700\', \'700\', \'11\')','sales/save_update_sale','0.014498949050903','2016-09-27 10:08:22'),(32243,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000019\', 1, \'KEK LOPIS\', \'32583\', \'\', 700, \'1\', \'1\', \'700\', \'09\', \'2016\', \'1\', \'OR[00000041]\', \'0\', \'User\')','sales/save_update_sale','0.01606297492981','2016-09-27 10:08:22'),(32244,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000019\', \'KEK LOPIS\', \'32572\', \'\', 700, \'1\', \'1\', \'700\', \'09\', \'2016\', \'OR[00000041]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016664981842041','2016-09-27 10:08:22'),(32245,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 700, `total_amount_cr` = 700, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000019\'','sales/save_update_sale','0.016202926635742','2016-09-27 10:08:22'),(32246,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2361\'','sales/save_update_sale','0.016818046569824','2016-09-27 10:08:22'),(32247,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11599','sales/save_update_sale','0.016229867935181','2016-09-27 10:08:22'),(32248,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000019\'','sales/save_update_sale','0.016793966293335','2016-09-27 10:08:22'),(32249,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.018310070037842','2016-09-27 10:08:22'),(32250,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016191959381104','2016-09-27 10:08:22'),(32251,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'109\', \'OR\', \'1000.00\', \'12\')','sales/save_new_sale','0.05329704284668','2016-09-27 10:08:58'),(32252,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2362, \'32583\', \'KEK Pisang\', \'1000.00\', 1)','sales/save_new_sale','0.016211986541748','2016-09-27 10:08:58'),(32253,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2362','sales/save_new_sale','0.0002129077911377','2016-09-27 10:08:58'),(32254,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'354\'','sales/save_new_sale','0.022325992584229','2016-09-27 10:08:58'),(32255,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000020\' WHERE `ID` =  2362','sales/save_new_sale','0.016187906265259','2016-09-27 10:08:58'),(32256,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000020\', \'OR[00000042]\', \'Sales [ OR[00000042] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'1000\', \'1000\', \'11\')','sales/save_new_sale','0.014562845230103','2016-09-27 10:08:58'),(32257,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000020\', 1, \'KEK Pisang\', \'32583\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'1\', \'OR[00000042]\', \'0\', \'User\')','sales/save_new_sale','0.041085958480835','2016-09-27 10:08:58'),(32258,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000020\', \'KEK Pisang\', \'32573\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'OR[00000042]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016698837280273','2016-09-27 10:08:58'),(32259,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000020\'','sales/save_new_sale','0.016211032867432','2016-09-27 10:08:58'),(32260,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2362','sales/save_new_sale','0.016840934753418','2016-09-27 10:08:58'),(32261,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11600','sales/save_new_sale','0.016228914260864','2016-09-27 10:08:58'),(32262,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000020\'','sales/save_new_sale','0.01678204536438','2016-09-27 10:08:58'),(32263,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.014700174331665','2016-09-27 10:08:58'),(32264,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01622200012207','2016-09-27 10:08:58'),(32265,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000020\'','sales/save_update_sale','0.023548126220703','2016-09-27 10:09:25'),(32266,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000020\'','sales/save_update_sale','0.016210079193115','2016-09-27 10:09:25'),(32267,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-27\', `bankID` = \'109\', `totalReceived` = \'500.00\', `updateAble` = 1 WHERE `ID` =  \'2362\'','sales/save_update_sale','0.016747951507568','2016-09-27 10:09:25'),(32268,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2362\'','sales/save_update_sale','0.032912969589233','2016-09-27 10:09:25'),(32269,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2362\', \'KEK Pisang\', \'500.00\', \'32583\', 1)','sales/save_update_sale','0.016808986663818','2016-09-27 10:09:25'),(32270,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2362\'','sales/save_update_sale','0.00018310546875','2016-09-27 10:09:25'),(32271,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'354\'','sales/save_update_sale','0.017261028289795','2016-09-27 10:09:25'),(32272,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000021\' WHERE `ID` =  \'2362\'','sales/save_update_sale','0.01678991317749','2016-09-27 10:09:25'),(32273,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000021\', \'OR[00000042]\', \'Sales [ OR[00000042] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'500\', \'500\', \'11\')','sales/save_update_sale','0.0140540599823','2016-09-27 10:09:25'),(32274,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000021\', 1, \'KEK Pisang\', \'32583\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'1\', \'OR[00000042]\', \'0\', \'User\')','sales/save_update_sale','0.016630887985229','2016-09-27 10:09:25'),(32275,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000021\', \'KEK Pisang\', \'32573\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'OR[00000042]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016093969345093','2016-09-27 10:09:25'),(32276,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000021\'','sales/save_update_sale','0.016808986663818','2016-09-27 10:09:25'),(32277,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2362\'','sales/save_update_sale','0.016247034072876','2016-09-27 10:09:25'),(32278,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11601','sales/save_update_sale','0.016813993453979','2016-09-27 10:09:25'),(32279,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000021\'','sales/save_update_sale','0.016227006912231','2016-09-27 10:09:25'),(32280,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015835046768188','2016-09-27 10:09:25'),(32281,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01567816734314','2016-09-27 10:09:25'),(32282,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000021\'','sales/save_update_sale','0.014630079269409','2016-09-27 10:09:53'),(32283,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000021\'','sales/save_update_sale','0.024541139602661','2016-09-27 10:09:53'),(32284,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-27\', `bankID` = \'109\', `totalReceived` = \'1300.00\', `updateAble` = 1 WHERE `ID` =  \'2362\'','sales/save_update_sale','0.016755104064941','2016-09-27 10:09:53'),(32285,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2362\'','sales/save_update_sale','0.13698077201843','2016-09-27 10:09:53'),(32286,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2362\', \'KEK Pisang\', \'500.00\', \'32583\', 1)','sales/save_update_sale','0.020677089691162','2016-09-27 10:09:53'),(32287,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2362\', \'KEK APPLE\', \'800.00\', \'32583\', 2)','sales/save_update_sale','0.016558885574341','2016-09-27 10:09:53'),(32288,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2362\'','sales/save_update_sale','0.00024509429931641','2016-09-27 10:09:53'),(32289,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'354\'','sales/save_update_sale','0.015797853469849','2016-09-27 10:09:53'),(32290,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000022\' WHERE `ID` =  \'2362\'','sales/save_update_sale','0.016197919845581','2016-09-27 10:09:53'),(32291,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000022\', \'OR[00000042]\', \'Sales [ OR[00000042] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'1300\', \'1300\', \'11\')','sales/save_update_sale','0.014502048492432','2016-09-27 10:09:53'),(32292,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000022\', 1, \'KEK Pisang\', \'32583\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'1\', \'OR[00000042]\', \'0\', \'User\')','sales/save_update_sale','0.016081809997559','2016-09-27 10:09:53'),(32293,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000022\', \'KEK Pisang\', \'32573\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'OR[00000042]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016688823699951','2016-09-27 10:09:53'),(32294,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000022\', 3, \'KEK APPLE\', \'32583\', \'\', 800, \'1\', \'1\', \'800\', \'09\', \'2016\', \'2\', \'OR[00000042]\', \'0\', \'User\')','sales/save_update_sale','0.016048908233643','2016-09-27 10:09:53'),(32295,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000022\', \'KEK APPLE\', \'32573\', \'\', 800, \'1\', \'1\', \'800\', \'09\', \'2016\', \'OR[00000042]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016714096069336','2016-09-27 10:09:53'),(32296,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1300, `total_amount_cr` = 1300, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000022\'','sales/save_update_sale','0.016175985336304','2016-09-27 10:09:53'),(32297,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2362\'','sales/save_update_sale','0.01685905456543','2016-09-27 10:09:53'),(32298,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11602','sales/save_update_sale','0.016235113143921','2016-09-27 10:09:53'),(32299,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000022\'','sales/save_update_sale','0.01678991317749','2016-09-27 10:09:53'),(32300,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01514196395874','2016-09-27 10:09:53'),(32301,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016214847564697','2016-09-27 10:09:53'),(32302,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015598058700562','2016-09-27 10:09:53'),(32303,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016199827194214','2016-09-27 10:09:53'),(32304,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000017\'','sales/save_update_sale','0.033680200576782','2016-09-27 10:10:26'),(32305,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AR20160900000017\'','sales/save_update_sale','0.032967090606689','2016-09-27 10:10:26'),(32306,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-05\', `bankID` = \'108\', `totalReceived` = \'63.00\', `updateAble` = 1 WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016625165939331','2016-09-27 10:10:26'),(32307,12,11,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2281\'','sales/save_update_sale','0.033490180969238','2016-09-27 10:10:26'),(32308,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'karipap\', \'4.00\', \'32583\', 1)','sales/save_update_sale','0.032902956008911','2016-09-27 10:10:26'),(32309,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'kayu balak\', \'33.00\', \'32583\', 2)','sales/save_update_sale','0.025161981582642','2016-09-27 10:10:26'),(32310,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'ayam goreng\', \'6.00\', \'32583\', 3)','sales/save_update_sale','0.032930135726929','2016-09-27 10:10:26'),(32311,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'itik goreng\', \'8.00\', \'32583\', 4)','sales/save_update_sale','0.016847133636475','2016-09-27 10:10:26'),(32312,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2281\', \'keledek goreng\', \'12.00\', \'32583\', 5)','sales/save_update_sale','0.041538953781128','2016-09-27 10:10:26'),(32313,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.00022387504577637','2016-09-27 10:10:26'),(32314,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'354\'','sales/save_update_sale','0.022814989089966','2016-09-27 10:10:26'),(32315,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000023\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.041554927825928','2016-09-27 10:10:26'),(32316,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000023\', \'OR[00000037]\', \'Sales [ OR[00000037] ]\', \'\', \'2\', \'2016-09-05\', \'2016\', \'09\', \'63\', \'63\', \'11\')','sales/save_update_sale','0.014562129974365','2016-09-27 10:10:26'),(32317,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000023\', 1, \'karipap\', \'32583\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'1\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016075134277344','2016-09-27 10:10:26'),(32318,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000023\', \'karipap\', \'32572\', \'\', 4, \'1\', \'1\', \'4\', \'09\', \'2016\', \'OR[00000037]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.12877893447876','2016-09-27 10:10:26'),(32319,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000023\', 3, \'kayu balak\', \'32583\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'2\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.028980016708374','2016-09-27 10:10:26'),(32320,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 4, \'AR20160900000023\', \'kayu balak\', \'32572\', \'\', 33, \'1\', \'1\', \'33\', \'09\', \'2016\', \'OR[00000037]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016688108444214','2016-09-27 10:10:26'),(32321,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000023\', 5, \'ayam goreng\', \'32583\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'3\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016085863113403','2016-09-27 10:10:26'),(32322,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 6, \'AR20160900000023\', \'ayam goreng\', \'32572\', \'\', 6, \'1\', \'1\', \'6\', \'09\', \'2016\', \'OR[00000037]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.016687154769897','2016-09-27 10:10:26'),(32323,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000023\', 7, \'itik goreng\', \'32583\', \'\', 8, \'1\', \'1\', \'8\', \'09\', \'2016\', \'4\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016093015670776','2016-09-27 10:10:26'),(32324,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 8, \'AR20160900000023\', \'itik goreng\', \'32572\', \'\', 8, \'1\', \'1\', \'8\', \'09\', \'2016\', \'OR[00000037]\', \'4\', \'0\', \'User\')','sales/save_update_sale','0.016684055328369','2016-09-27 10:10:26'),(32325,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000023\', 9, \'keledek goreng\', \'32583\', \'\', 12, \'1\', \'1\', \'12\', \'09\', \'2016\', \'5\', \'OR[00000037]\', \'0\', \'User\')','sales/save_update_sale','0.016090869903564','2016-09-27 10:10:26'),(32326,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 10, \'AR20160900000023\', \'keledek goreng\', \'32572\', \'\', 12, \'1\', \'1\', \'12\', \'09\', \'2016\', \'OR[00000037]\', \'5\', \'0\', \'User\')','sales/save_update_sale','0.016665935516357','2016-09-27 10:10:26'),(32327,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 63, `total_amount_cr` = 63, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000023\'','sales/save_update_sale','0.01619815826416','2016-09-27 10:10:26'),(32328,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2281\'','sales/save_update_sale','0.016820907592773','2016-09-27 10:10:26'),(32329,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11603','sales/save_update_sale','0.016247034072876','2016-09-27 10:10:26'),(32330,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000023\'','sales/save_update_sale','0.016755819320679','2016-09-27 10:10:26'),(32331,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.017608165740967','2016-09-27 10:10:26'),(32332,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.024543046951294','2016-09-27 10:10:26'),(32333,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015599966049194','2016-09-27 10:10:26'),(32334,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016221046447754','2016-09-27 10:10:26'),(32335,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015633106231689','2016-09-27 10:10:26'),(32336,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016216039657593','2016-09-27 10:10:26'),(32337,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015621185302734','2016-09-27 10:10:26'),(32338,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.01622200012207','2016-09-27 10:10:26'),(32339,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015614986419678','2016-09-27 10:10:26'),(32340,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016195058822632','2016-09-27 10:10:26'),(32341,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'172\', \'OR\', \'100.00\', \'39\')','sales/save_new_sale','0.071765899658203','2016-09-27 10:11:10'),(32342,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2363, \'33321\', \'KEK KELEDEK\', \'100.00\', 1)','sales/save_new_sale','0.015635013580322','2016-09-27 10:11:10'),(32343,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2363','sales/save_new_sale','0.00022006034851074','2016-09-27 10:11:10'),(32344,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'355\'','sales/save_new_sale','0.03339409828186','2016-09-27 10:11:10'),(32345,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000008\' WHERE `ID` =  2363','sales/save_new_sale','0.025059938430786','2016-09-27 10:11:10'),(32346,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000008\', \'OR[00000006]\', \'Jualan [ OR[00000006] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'100\', \'100\', \'28\')','sales/save_new_sale','0.013946056365967','2016-09-27 10:11:10'),(32347,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000008\', 1, \'KEK KELEDEK\', \'33321\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'1\', \'OR[00000006]\', \'0\', \'User\')','sales/save_new_sale','0.024941205978394','2016-09-27 10:11:10'),(32348,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000008\', \'KEK KELEDEK\', \'33310\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'OR[00000006]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016403913497925','2016-09-27 10:11:10'),(32349,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000008\'','sales/save_new_sale','0.13341689109802','2016-09-27 10:11:10'),(32350,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2363','sales/save_new_sale','0.016005039215088','2016-09-27 10:11:10'),(32351,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11604','sales/save_new_sale','0.016762971878052','2016-09-27 10:11:10'),(32352,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000008\'','sales/save_new_sale','0.041245222091675','2016-09-27 10:11:10'),(32353,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.03902006149292','2016-09-27 10:11:10'),(32354,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032296895980835','2016-09-27 10:11:10'),(32355,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'172\', \'OR\', \'500.00\', \'39\')','sales/save_new_sale','0.10102915763855','2016-09-27 10:12:01'),(32356,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2364, \'33321\', \'KEK CENDAWAN\', \'500.00\', 1)','sales/save_new_sale','0.01664400100708','2016-09-27 10:12:01'),(32357,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2364','sales/save_new_sale','0.00021886825561523','2016-09-27 10:12:01'),(32358,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'355\'','sales/save_new_sale','0.03932785987854','2016-09-27 10:12:01'),(32359,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000009\' WHERE `ID` =  2364','sales/save_new_sale','0.025015115737915','2016-09-27 10:12:01'),(32360,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000009\', \'OR[00000007]\', \'Sales [ OR[00000007] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'500\', \'500\', \'28\')','sales/save_new_sale','0.013947010040283','2016-09-27 10:12:01'),(32361,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000009\', 1, \'KEK CENDAWAN\', \'33321\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'1\', \'OR[00000007]\', \'0\', \'User\')','sales/save_new_sale','0.033213138580322','2016-09-27 10:12:01'),(32362,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000009\', \'KEK CENDAWAN\', \'33310\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'OR[00000007]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016188144683838','2016-09-27 10:12:01'),(32363,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000009\'','sales/save_new_sale','0.016695022583008','2016-09-27 10:12:01'),(32364,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2364','sales/save_new_sale','0.033005952835083','2016-09-27 10:12:01'),(32365,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11605','sales/save_new_sale','0.01670503616333','2016-09-27 10:12:01'),(32366,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000009\'','sales/save_new_sale','0.016327857971191','2016-09-27 10:12:01'),(32367,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.014409065246582','2016-09-27 10:12:01'),(32368,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015626907348633','2016-09-27 10:12:01'),(32369,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'111\', \'OR\', \'234.00\', \'12\')','sales/save_new_sale','0.091649055480957','2016-09-27 10:13:07'),(32370,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2365, \'32583\', \'kak cendawan\', \'234.00\', 1)','sales/save_new_sale','0.016588926315308','2016-09-27 10:13:07'),(32371,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2365','sales/save_new_sale','0.00019097328186035','2016-09-27 10:13:07'),(32372,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'354\'','sales/save_new_sale','0.033636093139648','2016-09-27 10:13:07'),(32373,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000024\' WHERE `ID` =  2365','sales/save_new_sale','0.016623020172119','2016-09-27 10:13:07'),(32374,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000024\', \'OR[00000043]\', \'Sales [ OR[00000043] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'234\', \'234\', \'11\')','sales/save_new_sale','0.02236795425415','2016-09-27 10:13:07'),(32375,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000024\', 1, \'kak cendawan\', \'32583\', \'\', 234, \'1\', \'1\', \'234\', \'09\', \'2016\', \'1\', \'OR[00000043]\', \'0\', \'User\')','sales/save_new_sale','0.016474008560181','2016-09-27 10:13:07'),(32376,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000024\', \'kak cendawan\', \'32575\', \'\', 234, \'1\', \'1\', \'234\', \'09\', \'2016\', \'OR[00000043]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016252994537354','2016-09-27 10:13:07'),(32377,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 234, `total_amount_cr` = 234, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000024\'','sales/save_new_sale','0.025001049041748','2016-09-27 10:13:07'),(32378,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2365','sales/save_new_sale','0.016355991363525','2016-09-27 10:13:07'),(32379,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11606','sales/save_new_sale','0.016649007797241','2016-09-27 10:13:07'),(32380,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000024\'','sales/save_new_sale','0.016330003738403','2016-09-27 10:13:07'),(32381,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023926019668579','2016-09-27 10:13:07'),(32382,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32575\', \'2016\', \'9\', \'234\', \'0\', 234, \'User\', \'2016-09-27: 04:09:07\')','sales/save_new_sale','0.032006978988647','2016-09-27 10:13:07'),(32383,13,10,'192.168.1.200','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'123\', \'OR\', \'200.00\', \'13\')','sales/save_new_sale','0.065885066986084','2016-09-27 10:14:29'),(32384,13,10,'192.168.1.200','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2366, \'32772\', \'fgf\', \'200.00\', 1)','sales/save_new_sale','0.016793966293335','2016-09-27 10:14:29'),(32385,13,10,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2366','sales/save_new_sale','0.00021815299987793','2016-09-27 10:14:29'),(32386,13,10,'192.168.1.200','update','UPDATE `comp_jl_seq` SET `seqNo` = 98 WHERE `ID` =  \'350\'','sales/save_new_sale','0.024772882461548','2016-09-27 10:14:29'),(32387,13,10,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000098\' WHERE `ID` =  2366','sales/save_new_sale','0.025117874145508','2016-09-27 10:14:29'),(32388,13,10,'192.168.1.200','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000098\', \'OR[00000044]\', \'Sales [ OR[00000044] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'200\', \'200\', \'10\')','sales/save_new_sale','0.047472953796387','2016-09-27 10:14:29'),(32389,13,10,'192.168.1.200','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000098\', 1, \'fgf\', \'32772\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000044]\', \'0\', \'User\')','sales/save_new_sale','0.02478289604187','2016-09-27 10:14:29'),(32390,13,10,'192.168.1.200','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000098\', \'fgf\', \'32762\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000044]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.024636030197144','2016-09-27 10:14:29'),(32391,13,10,'192.168.1.200','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000098\'','sales/save_new_sale','0.016580104827881','2016-09-27 10:14:29'),(32392,13,10,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2366','sales/save_new_sale','0.02477502822876','2016-09-27 10:14:29'),(32393,13,10,'192.168.1.200','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11607','sales/save_new_sale','0.024949073791504','2016-09-27 10:14:29'),(32394,13,10,'192.168.1.200','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000098\'','sales/save_new_sale','0.033061981201172','2016-09-27 10:14:29'),(32395,13,10,'192.168.1.200','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022375106811523','2016-09-27 10:14:29'),(32396,13,10,'192.168.1.200','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032510995864868','2016-09-27 10:14:29'),(32397,39,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 39, acctName, id from comp_chart_of_acct where companyid = 39 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 39)','bank/index','0.0011239051818848','2016-09-27 10:15:13'),(32398,39,28,'192.168.1.202','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'172\', \'OR\', \'100.00\', \'39\')','sales/save_new_sale','0.036575078964233','2016-09-27 10:15:21'),(32399,39,28,'192.168.1.202','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2367, \'33321\', \'Asam JeedJard\', \'100.00\', 1)','sales/save_new_sale','0.016664028167725','2016-09-27 10:15:21'),(32400,39,28,'192.168.1.202','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2367','sales/save_new_sale','0.00024914741516113','2016-09-27 10:15:21'),(32401,39,28,'192.168.1.202','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'355\'','sales/save_new_sale','0.017601013183594','2016-09-27 10:15:21'),(32402,39,28,'192.168.1.202','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000010\' WHERE `ID` =  2367','sales/save_new_sale','0.025028944015503','2016-09-27 10:15:21'),(32403,39,28,'192.168.1.202','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000010\', \'OR[00000008]\', \'Sales [ OR[00000008] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'100\', \'100\', \'28\')','sales/save_new_sale','0.014087915420532','2016-09-27 10:15:21'),(32404,39,28,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000010\', 1, \'Asam JeedJard\', \'33321\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'1\', \'OR[00000008]\', \'0\', \'User\')','sales/save_new_sale','0.033210039138794','2016-09-27 10:15:21'),(32405,39,28,'192.168.1.202','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000010\', \'Asam JeedJard\', \'33310\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'OR[00000008]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016235113143921','2016-09-27 10:15:21'),(32406,39,28,'192.168.1.202','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000010\'','sales/save_new_sale','0.024985790252686','2016-09-27 10:15:21'),(32407,39,28,'192.168.1.202','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2367','sales/save_new_sale','0.024723052978516','2016-09-27 10:15:21'),(32408,39,28,'192.168.1.202','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11608','sales/save_new_sale','0.016661882400513','2016-09-27 10:15:21'),(32409,39,28,'192.168.1.202','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000010\'','sales/save_new_sale','0.016318082809448','2016-09-27 10:15:21'),(32410,39,28,'192.168.1.202','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.034783124923706','2016-09-27 10:15:21'),(32411,39,28,'192.168.1.202','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015652179718018','2016-09-27 10:15:21'),(32412,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'172\', \'OR\', \'50000.00\', \'39\')','sales/save_new_sale','0.026374101638794','2016-09-27 10:16:00'),(32413,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2368, \'33321\', \'keta\', \'50000.00\', 1)','sales/save_new_sale','0.016524076461792','2016-09-27 10:16:00'),(32414,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2368','sales/save_new_sale','0.00020980834960938','2016-09-27 10:16:00'),(32415,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'355\'','sales/save_new_sale','0.031229019165039','2016-09-27 10:16:00'),(32416,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000011\' WHERE `ID` =  2368','sales/save_new_sale','0.016494035720825','2016-09-27 10:16:00'),(32417,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000011\', \'OR[00000009]\', \'Sales [ OR[00000009] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'50000\', \'50000\', \'28\')','sales/save_new_sale','0.030968904495239','2016-09-27 10:16:00'),(32418,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000011\', 1, \'keta\', \'33321\', \'\', 50000, \'1\', \'1\', \'50000\', \'09\', \'2016\', \'1\', \'OR[00000009]\', \'0\', \'User\')','sales/save_new_sale','0.016363143920898','2016-09-27 10:16:00'),(32419,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000011\', \'keta\', \'33310\', \'\', 50000, \'1\', \'1\', \'50000\', \'09\', \'2016\', \'OR[00000009]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.03305721282959','2016-09-27 10:16:00'),(32420,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50000, `total_amount_cr` = 50000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000011\'','sales/save_new_sale','0.033153057098389','2016-09-27 10:16:00'),(32421,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2368','sales/save_new_sale','0.016538143157959','2016-09-27 10:16:00'),(32422,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11609','sales/save_new_sale','0.016544103622437','2016-09-27 10:16:00'),(32423,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000011\'','sales/save_new_sale','0.01648998260498','2016-09-27 10:16:00'),(32424,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.030964136123657','2016-09-27 10:16:01'),(32425,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015597105026245','2016-09-27 10:16:01'),(32426,39,28,'192.168.1.200','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'173\', \'OR\', \'200.00\', \'39\')','sales/save_new_sale','0.048734903335571','2016-09-27 10:16:49'),(32427,39,28,'192.168.1.200','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2369, \'33321\', \'dsd\', \'200.00\', 1)','sales/save_new_sale','0.016507863998413','2016-09-27 10:16:49'),(32428,39,28,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2369','sales/save_new_sale','0.0002129077911377','2016-09-27 10:16:49'),(32429,39,28,'192.168.1.200','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'355\'','sales/save_new_sale','0.018181085586548','2016-09-27 10:16:49'),(32430,39,28,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000012\' WHERE `ID` =  2369','sales/save_new_sale','0.024832963943481','2016-09-27 10:16:49'),(32431,39,28,'192.168.1.200','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000012\', \'OR[00000010]\', \'Sales [ OR[00000010] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'200\', \'200\', \'28\')','sales/save_new_sale','0.01387095451355','2016-09-27 10:16:49'),(32432,39,28,'192.168.1.200','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000012\', 1, \'dsd\', \'33321\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'1\', \'OR[00000010]\', \'0\', \'User\')','sales/save_new_sale','0.025027990341187','2016-09-27 10:16:49'),(32433,39,28,'192.168.1.200','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000012\', \'dsd\', \'33311\', \'\', 200, \'1\', \'1\', \'200\', \'09\', \'2016\', \'OR[00000010]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.033042907714844','2016-09-27 10:16:49'),(32434,39,28,'192.168.1.200','update','UPDATE `comp_journal` SET `total_amount_dr` = 200, `total_amount_cr` = 200, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000012\'','sales/save_new_sale','0.033069849014282','2016-09-27 10:16:49'),(32435,39,28,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2369','sales/save_new_sale','0.032896995544434','2016-09-27 10:16:49'),(32436,39,28,'192.168.1.200','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11610','sales/save_new_sale','0.033508777618408','2016-09-27 10:16:49'),(32437,39,28,'192.168.1.200','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000012\'','sales/save_new_sale','0.02446985244751','2016-09-27 10:16:49'),(32438,39,28,'192.168.1.200','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.047425985336304','2016-09-27 10:16:49'),(32439,39,28,'192.168.1.200','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.02419114112854','2016-09-27 10:16:49'),(32440,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'122\', \'OR\', \'1000.00\', \'13\')','sales/save_new_sale','0.17921805381775','2016-09-27 10:17:01'),(32441,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2370, \'32772\', \'WXF307\', \'1000.00\', 1)','sales/save_new_sale','0.047559976577759','2016-09-27 10:17:01'),(32442,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2370','sales/save_new_sale','0.00017690658569336','2016-09-27 10:17:01'),(32443,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 99 WHERE `ID` =  \'350\'','sales/save_new_sale','0.04508900642395','2016-09-27 10:17:01'),(32444,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000099\' WHERE `ID` =  2370','sales/save_new_sale','0.025282859802246','2016-09-27 10:17:01'),(32445,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000099\', \'OR[00000045]\', \'Sales [ OR[00000045] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'1000\', \'1000\', \'10\')','sales/save_new_sale','0.014207124710083','2016-09-27 10:17:01'),(32446,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000099\', 1, \'WXF307\', \'32772\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'1\', \'OR[00000045]\', \'0\', \'User\')','sales/save_new_sale','0.016371965408325','2016-09-27 10:17:01'),(32447,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000099\', \'WXF307\', \'32761\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'OR[00000045]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016635894775391','2016-09-27 10:17:01'),(32448,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000099\'','sales/save_new_sale','0.13290405273438','2016-09-27 10:17:01'),(32449,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2370','sales/save_new_sale','0.016540050506592','2016-09-27 10:17:01'),(32450,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11611','sales/save_new_sale','0.024838924407959','2016-09-27 10:17:01'),(32451,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000099\'','sales/save_new_sale','0.016479969024658','2016-09-27 10:17:01'),(32452,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015458106994629','2016-09-27 10:17:01'),(32453,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015922069549561','2016-09-27 10:17:01'),(32454,39,28,'192.168.1.200','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AR20160900000012\'','sales/save_update_sale','0.099958181381226','2016-09-27 10:18:00'),(32455,39,28,'192.168.1.200','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AR20160900000012\'','sales/save_update_sale','0.041490077972412','2016-09-27 10:18:00'),(32456,39,28,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-27\', `bankID` = \'173\', `totalReceived` = \'111.00\', `updateAble` = 1 WHERE `ID` =  \'2369\'','sales/save_update_sale','0.016435146331787','2016-09-27 10:18:00'),(32457,39,28,'192.168.1.200','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2369\'','sales/save_update_sale','0.016528844833374','2016-09-27 10:18:00'),(32458,39,28,'192.168.1.200','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2369\', \'jhj\', \'111.00\', \'33321\', 1)','sales/save_update_sale','0.024878978729248','2016-09-27 10:18:01'),(32459,39,28,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2369\'','sales/save_update_sale','0.00018000602722168','2016-09-27 10:18:01'),(32460,39,28,'192.168.1.200','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'355\'','sales/save_update_sale','0.017190933227539','2016-09-27 10:18:01'),(32461,39,28,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000013\' WHERE `ID` =  \'2369\'','sales/save_update_sale','0.016519069671631','2016-09-27 10:18:01'),(32462,39,28,'192.168.1.200','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000013\', \'OR[00000010]\', \'Sales [ OR[00000010] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'111\', \'111\', \'28\')','sales/save_update_sale','0.014249086380005','2016-09-27 10:18:01'),(32463,39,28,'192.168.1.200','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000013\', 1, \'jhj\', \'33321\', \'\', 111, \'1\', \'1\', \'111\', \'09\', \'2016\', \'1\', \'OR[00000010]\', \'0\', \'User\')','sales/save_update_sale','0.016399145126343','2016-09-27 10:18:01'),(32464,39,28,'192.168.1.200','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000013\', \'jhj\', \'33311\', \'\', 111, \'1\', \'1\', \'111\', \'09\', \'2016\', \'OR[00000010]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016395092010498','2016-09-27 10:18:01'),(32465,39,28,'192.168.1.200','update','UPDATE `comp_journal` SET `total_amount_dr` = 111, `total_amount_cr` = 111, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000013\'','sales/save_update_sale','0.016495943069458','2016-09-27 10:18:01'),(32466,39,28,'192.168.1.200','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2369\'','sales/save_update_sale','0.016520023345947','2016-09-27 10:18:01'),(32467,39,28,'192.168.1.200','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11612','sales/save_update_sale','0.016550064086914','2016-09-27 10:18:01'),(32468,39,28,'192.168.1.200','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000013\'','sales/save_update_sale','0.033134937286377','2016-09-27 10:18:01'),(32469,39,28,'192.168.1.200','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.065539121627808','2016-09-27 10:18:01'),(32470,39,28,'192.168.1.200','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015933036804199','2016-09-27 10:18:01'),(32471,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'123\', \'OR\', \'1000.00\', \'13\')','sales/save_new_sale','0.12734222412109','2016-09-27 10:18:43'),(32472,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2371, \'32772\', \'ASAM KEPINg\', \'1000.00\', 1)','sales/save_new_sale','0.024829149246216','2016-09-27 10:18:43'),(32473,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2371','sales/save_new_sale','0.0002439022064209','2016-09-27 10:18:43'),(32474,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 100 WHERE `ID` =  \'350\'','sales/save_new_sale','0.018495798110962','2016-09-27 10:18:43'),(32475,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000100\' WHERE `ID` =  2371','sales/save_new_sale','0.016494989395142','2016-09-27 10:18:43'),(32476,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000100\', \'OR[00000046]\', \'Sales [ OR[00000046] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'1000\', \'1000\', \'10\')','sales/save_new_sale','0.014214992523193','2016-09-27 10:18:43'),(32477,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000100\', 1, \'ASAM KEPINg\', \'32772\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'1\', \'OR[00000046]\', \'0\', \'User\')','sales/save_new_sale','0.033039093017578','2016-09-27 10:18:43'),(32478,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000100\', \'ASAM KEPINg\', \'32762\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'OR[00000046]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016386985778809','2016-09-27 10:18:43'),(32479,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000100\'','sales/save_new_sale','0.016506910324097','2016-09-27 10:18:43'),(32480,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2371','sales/save_new_sale','0.016516923904419','2016-09-27 10:18:43'),(32481,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11613','sales/save_new_sale','0.016531944274902','2016-09-27 10:18:43'),(32482,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000100\'','sales/save_new_sale','0.049832105636597','2016-09-27 10:18:44'),(32483,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.034303903579712','2016-09-27 10:18:44'),(32484,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016420125961304','2016-09-27 10:18:44'),(32485,13,10,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000100\'','sales/save_update_sale','0.073403835296631','2016-09-27 10:19:14'),(32486,13,10,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'13\'\nAND `journalID` =  \'AR20160900000100\'','sales/save_update_sale','0.016526937484741','2016-09-27 10:19:14'),(32487,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-27\', `bankID` = \'123\', `totalReceived` = \'2122.00\', `updateAble` = 1 WHERE `ID` =  \'2371\'','sales/save_update_sale','0.016413927078247','2016-09-27 10:19:14'),(32488,13,10,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2371\'','sales/save_update_sale','0.024853944778442','2016-09-27 10:19:14'),(32489,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2371\', \'ASAM KEPINg\', \'2122.00\', \'32772\', 1)','sales/save_update_sale','0.016539096832275','2016-09-27 10:19:14'),(32490,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2371\'','sales/save_update_sale','0.00019693374633789','2016-09-27 10:19:14'),(32491,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 101 WHERE `ID` =  \'350\'','sales/save_update_sale','0.015146970748901','2016-09-27 10:19:14'),(32492,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000101\' WHERE `ID` =  \'2371\'','sales/save_update_sale','0.016510009765625','2016-09-27 10:19:14'),(32493,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000101\', \'OR[00000046]\', \'Sales [ OR[00000046] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'2122\', \'2122\', \'10\')','sales/save_update_sale','0.014349937438965','2016-09-27 10:19:14'),(32494,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000101\', 1, \'ASAM KEPINg\', \'32772\', \'\', 2122, \'1\', \'1\', \'2122\', \'09\', \'2016\', \'1\', \'OR[00000046]\', \'0\', \'User\')','sales/save_update_sale','0.024701118469238','2016-09-27 10:19:14'),(32495,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000101\', \'ASAM KEPINg\', \'32762\', \'\', 2122, \'1\', \'1\', \'2122\', \'09\', \'2016\', \'OR[00000046]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016383171081543','2016-09-27 10:19:14'),(32496,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2122, `total_amount_cr` = 2122, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000101\'','sales/save_update_sale','0.016506195068359','2016-09-27 10:19:14'),(32497,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2371\'','sales/save_update_sale','0.016541004180908','2016-09-27 10:19:14'),(32498,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11614','sales/save_update_sale','0.016526222229004','2016-09-27 10:19:14'),(32499,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000101\'','sales/save_update_sale','0.016500949859619','2016-09-27 10:19:14'),(32500,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015522956848145','2016-09-27 10:19:14'),(32501,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32762\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015922069549561','2016-09-27 10:19:14'),(32502,39,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'39\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.179506778717','2016-09-27 10:19:30'),(32503,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'172\', \'OR\', \'500.00\', \'39\')','sales/save_new_sale','0.055279970169067','2016-09-27 10:19:56'),(32504,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2372, \'33321\', \'SAMBAL HITAM\', \'500.00\', 1)','sales/save_new_sale','0.016525983810425','2016-09-27 10:19:56'),(32505,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2372','sales/save_new_sale','0.00021982192993164','2016-09-27 10:19:56'),(32506,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'355\'','sales/save_new_sale','0.034432172775269','2016-09-27 10:19:56'),(32507,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000014\' WHERE `ID` =  2372','sales/save_new_sale','0.016499042510986','2016-09-27 10:19:56'),(32508,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000014\', \'OR[00000011]\', \'Sales [ OR[00000011] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'500\', \'500\', \'28\')','sales/save_new_sale','0.01383900642395','2016-09-27 10:19:56'),(32509,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000014\', 1, \'SAMBAL HITAM\', \'33321\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'1\', \'OR[00000011]\', \'0\', \'User\')','sales/save_new_sale','0.033529996871948','2016-09-27 10:19:56'),(32510,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000014\', \'SAMBAL HITAM\', \'33310\', \'\', 500, \'1\', \'1\', \'500\', \'09\', \'2016\', \'OR[00000011]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016373872756958','2016-09-27 10:19:56'),(32511,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000014\'','sales/save_new_sale','0.016503095626831','2016-09-27 10:19:56'),(32512,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2372','sales/save_new_sale','0.01655912399292','2016-09-27 10:19:56'),(32513,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11615','sales/save_new_sale','0.016535043716431','2016-09-27 10:19:56'),(32514,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000014\'','sales/save_new_sale','0.016520023345947','2016-09-27 10:19:56'),(32515,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.017608880996704','2016-09-27 10:19:56'),(32516,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016710042953491','2016-09-27 10:19:56'),(32517,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AR20160900000014\'','sales/save_update_sale','0.029515027999878','2016-09-27 10:20:21'),(32518,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AR20160900000014\'','sales/save_update_sale','0.024799108505249','2016-09-27 10:20:21'),(32519,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-27\', `bankID` = \'172\', `totalReceived` = \'1000.00\', `updateAble` = 1 WHERE `ID` =  \'2372\'','sales/save_update_sale','0.016418933868408','2016-09-27 10:20:22'),(32520,39,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2372\'','sales/save_update_sale','0.024882078170776','2016-09-27 10:20:22'),(32521,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2372\', \'SAMBAL HITAM\', \'1000.00\', \'33321\', 1)','sales/save_update_sale','0.016510963439941','2016-09-27 10:20:22'),(32522,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2372\'','sales/save_update_sale','0.00020003318786621','2016-09-27 10:20:22'),(32523,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'355\'','sales/save_update_sale','0.030828952789307','2016-09-27 10:20:22'),(32524,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000015\' WHERE `ID` =  \'2372\'','sales/save_update_sale','0.016993999481201','2016-09-27 10:20:22'),(32525,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000015\', \'OR[00000011]\', \'Sales [ OR[00000011] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'1000\', \'1000\', \'28\')','sales/save_update_sale','0.014175891876221','2016-09-27 10:20:22'),(32526,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000015\', 1, \'SAMBAL HITAM\', \'33321\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'1\', \'OR[00000011]\', \'0\', \'User\')','sales/save_update_sale','0.016345977783203','2016-09-27 10:20:22'),(32527,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000015\', \'SAMBAL HITAM\', \'33310\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'OR[00000011]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016386985778809','2016-09-27 10:20:22'),(32528,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000015\'','sales/save_update_sale','0.024800062179565','2016-09-27 10:20:22'),(32529,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2372\'','sales/save_update_sale','0.016561985015869','2016-09-27 10:20:22'),(32530,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11616','sales/save_update_sale','0.016500949859619','2016-09-27 10:20:22'),(32531,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000015\'','sales/save_update_sale','0.016497135162354','2016-09-27 10:20:22'),(32532,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015434980392456','2016-09-27 10:20:22'),(32533,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015573024749756','2016-09-27 10:20:22'),(32534,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'174\', \'OR\', \'30498.00\', \'39\')','sales/save_new_sale','0.017570018768311','2016-09-27 10:20:46'),(32535,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2373, \'33321\', \'salama\', \'30498.00\', 1)','sales/save_new_sale','0.016516923904419','2016-09-27 10:20:46'),(32536,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2373','sales/save_new_sale','0.00020408630371094','2016-09-27 10:20:46'),(32537,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'355\'','sales/save_new_sale','0.033293008804321','2016-09-27 10:20:46'),(32538,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000016\' WHERE `ID` =  2373','sales/save_new_sale','0.016509056091309','2016-09-27 10:20:46'),(32539,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000016\', \'OR[00000012]\', \'Sales [ OR[00000012] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'30498\', \'30498\', \'28\')','sales/save_new_sale','0.014296054840088','2016-09-27 10:20:46'),(32540,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000016\', 1, \'salama\', \'33321\', \'\', 30498, \'1\', \'1\', \'30498\', \'09\', \'2016\', \'1\', \'OR[00000012]\', \'0\', \'User\')','sales/save_new_sale','0.016381978988647','2016-09-27 10:20:47'),(32541,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000016\', \'salama\', \'33312\', \'\', 30498, \'1\', \'1\', \'30498\', \'09\', \'2016\', \'OR[00000012]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01638388633728','2016-09-27 10:20:47'),(32542,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30498, `total_amount_cr` = 30498, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000016\'','sales/save_new_sale','0.016493082046509','2016-09-27 10:20:47'),(32543,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2373','sales/save_new_sale','0.024876117706299','2016-09-27 10:20:47'),(32544,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11617','sales/save_new_sale','0.016524791717529','2016-09-27 10:20:47'),(32545,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000016\'','sales/save_new_sale','0.016493082046509','2016-09-27 10:20:47'),(32546,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015567064285278','2016-09-27 10:20:47'),(32547,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015911102294922','2016-09-27 10:20:47'),(32548,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'173\', \'OR\', \'4039.00\', \'39\')','sales/save_new_sale','0.020017862319946','2016-09-27 10:21:35'),(32549,39,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2374, \'33321\', \'lebihan semlana\', \'4039.00\', 1)','sales/save_new_sale','0.016533136367798','2016-09-27 10:21:35'),(32550,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2374','sales/save_new_sale','0.0002131462097168','2016-09-27 10:21:35'),(32551,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'355\'','sales/save_new_sale','0.031999826431274','2016-09-27 10:21:35'),(32552,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000017\' WHERE `ID` =  2374','sales/save_new_sale','0.016503095626831','2016-09-27 10:21:35'),(32553,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AR20160900000017\', \'OR[00000013]\', \'Sales [ OR[00000013] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'4039\', \'4039\', \'28\')','sales/save_new_sale','0.014299154281616','2016-09-27 10:21:35'),(32554,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'39\', \'AR20160900000017\', 1, \'lebihan semlana\', \'33321\', \'\', 4039, \'1\', \'1\', \'4039\', \'09\', \'2016\', \'1\', \'OR[00000013]\', \'0\', \'User\')','sales/save_new_sale','0.016371965408325','2016-09-27 10:21:36'),(32555,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'39\', 2, \'AR20160900000017\', \'lebihan semlana\', \'33311\', \'\', 4039, \'1\', \'1\', \'4039\', \'09\', \'2016\', \'OR[00000013]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.024717092514038','2016-09-27 10:21:36'),(32556,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 4039, `total_amount_cr` = 4039, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000017\'','sales/save_new_sale','0.016497850418091','2016-09-27 10:21:36'),(32557,39,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2374','sales/save_new_sale','0.016558885574341','2016-09-27 10:21:36'),(32558,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11618','sales/save_new_sale','0.033200025558472','2016-09-27 10:21:36'),(32559,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AR20160900000017\'','sales/save_new_sale','0.032230138778687','2016-09-27 10:21:36'),(32560,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33321\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024811983108521','2016-09-27 10:21:36'),(32561,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023330926895142','2016-09-27 10:21:36'),(32562,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'39\', \'28\', 1, \'33322\', \'68\', \'4500\', \'OP-C\', \'2016-09-27\', \'172\', \'1\')','expenses/fnSaveExpenses','0.030553102493286','2016-09-27 10:23:41'),(32563,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2266, \'28\', \'harini\', 1, \'33322\', \'4500\', \'4500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.040388107299805','2016-09-27 10:23:41'),(32564,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.03519606590271','2016-09-27 10:23:41'),(32565,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000012\' WHERE `ID` =  2266','expenses/fnSaveExpenses','0.016503095626831','2016-09-27 10:23:41'),(32566,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000012\', \'Cost of Goods Sold [OP-C[00000005]]\', \'Cost of Goods Sold [OP-C[00000005]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 4500, 4500, \'28\')','expenses/fnSaveExpenses','0.014142990112305','2016-09-27 10:23:41'),(32567,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000012\', 1, \'harini\', \'33310\', 4500, 1, \'1\', \'4500\', \'09\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/fnSaveExpenses','0.041382074356079','2016-09-27 10:23:41'),(32568,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000012\', 2, \'harini\', \'33322\', 4500, 1, \'1\', \'4500\', \'09\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/fnSaveExpenses','0.016371965408325','2016-09-27 10:23:41'),(32569,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 4500, `total_amount_cr` = 4500, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000012\'','expenses/fnSaveExpenses','0.01646900177002','2016-09-27 10:23:41'),(32570,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2266','expenses/fnSaveExpenses','0.016554832458496','2016-09-27 10:23:41'),(32571,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11619','expenses/fnSaveExpenses','0.016340017318726','2016-09-27 10:23:42'),(32572,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000012\'','expenses/fnSaveExpenses','0.033157825469971','2016-09-27 10:23:42'),(32573,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015393018722534','2016-09-27 10:23:42'),(32574,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01580810546875','2016-09-27 10:23:42'),(32575,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50709\'','expenses/fnSaveExpenses','0.037454843521118','2016-09-27 10:24:04'),(32576,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50710\'','expenses/fnSaveExpenses','0.01396107673645','2016-09-27 10:24:04'),(32577,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11619\'','expenses/fnSaveExpenses','0.017621994018555','2016-09-27 10:24:04'),(32578,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33322\', `paymentMethodID` = \'68\', `amountPaid` = \'1500\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-27\', `bankId` = \'172\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2266','expenses/fnSaveExpenses','0.029420137405396','2016-09-27 10:24:04'),(32579,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2266, \'28\', \'harini\', 1, \'33322\', \'1500\', \'1500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.03423285484314','2016-09-27 10:24:04'),(32580,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.034889936447144','2016-09-27 10:24:04'),(32581,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000013\' WHERE `ID` =  2266','expenses/fnSaveExpenses','0.016494035720825','2016-09-27 10:24:04'),(32582,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000013\', \'Cost of Goods Sold [OP-C[00000005]]\', \'Cost of Goods Sold [OP-C[00000005]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 1500, 1500, \'28\')','expenses/fnSaveExpenses','0.032528877258301','2016-09-27 10:24:04'),(32583,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000013\', 1, \'harini\', \'33310\', 4500, 1, \'1\', \'4500\', \'09\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/fnSaveExpenses','0.03302788734436','2016-09-27 10:24:04'),(32584,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000013\', 2, \'harini\', \'33322\', 4500, 1, \'1\', \'4500\', \'09\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/fnSaveExpenses','0.033067941665649','2016-09-27 10:24:04'),(32585,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000013\', 3, \'harini\', \'33310\', 1500, 1, \'1\', \'1500\', \'09\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/fnSaveExpenses','0.024728059768677','2016-09-27 10:24:04'),(32586,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000013\', 4, \'harini\', \'33322\', 1500, 1, \'1\', \'1500\', \'09\', \'16\', \'1\', \'OP-C[00000005]\', \'User\')','expenses/fnSaveExpenses','0.03304386138916','2016-09-27 10:24:04'),(32587,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 6000, `total_amount_cr` = 6000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000013\'','expenses/fnSaveExpenses','0.015326023101807','2016-09-27 10:24:04'),(32588,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2266','expenses/fnSaveExpenses','0.025969982147217','2016-09-27 10:24:04'),(32589,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11620','expenses/fnSaveExpenses','0.023641109466553','2016-09-27 10:24:04'),(32590,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000013\'','expenses/fnSaveExpenses','0.017606973648071','2016-09-27 10:24:04'),(32591,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015406847000122','2016-09-27 10:24:04'),(32592,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015053987503052','2016-09-27 10:24:04'),(32593,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016736030578613','2016-09-27 10:24:04'),(32594,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015886068344116','2016-09-27 10:24:04'),(32595,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'172\', \'1000\', \'TT\', \'173\', \'39\', 3)','transfer/newTransfer','0.14026618003845','2016-09-27 10:24:49'),(32596,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2267, \'33311\', \'1000\', \'semalam\')','transfer/newTransfer','0.013837814331055','2016-09-27 10:24:49'),(32597,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'356\'','transfer/newTransfer','0.023205041885376','2016-09-27 10:24:49'),(32598,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000014\' WHERE `ID` =  2267','transfer/newTransfer','0.016527891159058','2016-09-27 10:24:49'),(32599,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000014\', \' [TT[00000006]]]\', \'Bank Transfer [  [TT[00000006]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 1000, 1000, \'User\')','transfer/newTransfer','0.014286041259766','2016-09-27 10:24:49'),(32600,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000014\', 1, \'semalam\', \'33310\', 1000, 1, \'1\', \'1000\', \'09\', \'2016\', \'0\', \'TT[00000006]\', \'User\')','transfer/newTransfer','0.016390800476074','2016-09-27 10:24:49'),(32601,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000014\', 2, \'semalam\', \'33311\', 1000, 1, \'1\', \'1000\', \'09\', \'2016\', \'0\', \'TT[00000006]\', \'User\')','transfer/newTransfer','0.016408920288086','2016-09-27 10:24:49'),(32602,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000014\'','transfer/newTransfer','0.016513109207153','2016-09-27 10:24:49'),(32603,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2267','transfer/newTransfer','0.016542911529541','2016-09-27 10:24:49'),(32604,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11621','transfer/newTransfer','0.016523122787476','2016-09-27 10:24:49'),(32605,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000014\'','transfer/newTransfer','0.01650595664978','2016-09-27 10:24:49'),(32606,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.034307956695557','2016-09-27 10:24:49'),(32607,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.01700496673584','2016-09-27 10:24:49'),(32608,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-27\', `bankID` = \'172\', `payTo` = \'173\', `amountPaid` = \'2000\', `companyID` = \'39\', `updateAble` = 1 WHERE `ID` =  \'2267\'','transfer/saveTransfer','0.021932125091553','2016-09-27 10:25:07'),(32609,39,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33311\', `amountExcludedTax` = \'2000\', `itemdescription` = \'semalam\' WHERE `ID` =  \'2319\'','transfer/saveTransfer','0.016481161117554','2016-09-27 10:25:07'),(32610,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AP20160900000014\'','transfer/saveTransfer','0.01556396484375','2016-09-27 10:25:07'),(32611,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AP20160900000014\'','transfer/saveTransfer','0.017445802688599','2016-09-27 10:25:07'),(32612,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'356\'','transfer/saveTransfer','0.031511068344116','2016-09-27 10:25:07'),(32613,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000015\' WHERE `ID` =  \'2267\'','transfer/saveTransfer','0.017230033874512','2016-09-27 10:25:08'),(32614,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000015\', \' [TT[00000006]]]\', \'Bank Transfer [  [TT[00000006]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 2000, 2000, \'User\')','transfer/saveTransfer','0.14683413505554','2016-09-27 10:25:08'),(32615,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000015\', 1, \'semalam\', \'33310\', 2000, 1, \'1\', \'2000\', \'09\', \'2016\', \'0\', \'TT[00000006]\', \'User\')','transfer/saveTransfer','0.016391038894653','2016-09-27 10:25:08'),(32616,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000015\', 2, \'semalam\', \'33311\', 2000, 1, \'1\', \'2000\', \'09\', \'2016\', \'0\', \'TT[00000006]\', \'User\')','transfer/saveTransfer','0.016417980194092','2016-09-27 10:25:08'),(32617,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2000, `total_amount_cr` = 2000, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000015\'','transfer/saveTransfer','0.024826049804688','2016-09-27 10:25:08'),(32618,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2267\'','transfer/saveTransfer','0.016537189483643','2016-09-27 10:25:08'),(32619,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11622','transfer/saveTransfer','0.016535997390747','2016-09-27 10:25:08'),(32620,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000015\'','transfer/saveTransfer','0.016492128372192','2016-09-27 10:25:08'),(32621,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.0154869556427','2016-09-27 10:25:08'),(32622,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015903949737549','2016-09-27 10:25:08'),(32623,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'172\', \'100\', \'TT\', \'173\', \'39\', 3)','transfer/newTransfer','0.033674955368042','2016-09-27 10:25:57'),(32624,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2268, \'33311\', \'100\', \'baju\')','transfer/newTransfer','0.01651406288147','2016-09-27 10:25:57'),(32625,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'356\'','transfer/newTransfer','0.030004978179932','2016-09-27 10:25:57'),(32626,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000016\' WHERE `ID` =  2268','transfer/newTransfer','0.016497850418091','2016-09-27 10:25:57'),(32627,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000016\', \' [TT[00000007]]]\', \'Bank Transfer [  [TT[00000007]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 100, 100, \'User\')','transfer/newTransfer','0.01422905921936','2016-09-27 10:25:57'),(32628,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000016\', 1, \'baju\', \'33310\', 100, 1, \'1\', \'100\', \'09\', \'2016\', \'0\', \'TT[00000007]\', \'User\')','transfer/newTransfer','0.015465974807739','2016-09-27 10:25:57'),(32629,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000016\', 2, \'baju\', \'33311\', 100, 1, \'1\', \'100\', \'09\', \'2016\', \'0\', \'TT[00000007]\', \'User\')','transfer/newTransfer','0.01609206199646','2016-09-27 10:25:57'),(32630,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000016\'','transfer/newTransfer','0.025994062423706','2016-09-27 10:25:57'),(32631,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2268','transfer/newTransfer','0.016558885574341','2016-09-27 10:25:57'),(32632,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11623','transfer/newTransfer','0.024842023849487','2016-09-27 10:25:57'),(32633,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000016\'','transfer/newTransfer','0.016508817672729','2016-09-27 10:25:57'),(32634,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015401840209961','2016-09-27 10:25:57'),(32635,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015891075134277','2016-09-27 10:25:57'),(32636,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-27\', `bankID` = \'174\', `payTo` = \'172\', `amountPaid` = \'150\', `companyID` = \'39\', `updateAble` = 1 WHERE `ID` =  \'2268\'','transfer/saveTransfer','0.019553899765015','2016-09-27 10:26:12'),(32637,39,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'33310\', `amountExcludedTax` = \'150\', `itemdescription` = \'baju\' WHERE `ID` =  \'2320\'','transfer/saveTransfer','0.03310489654541','2016-09-27 10:26:12'),(32638,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AP20160900000016\'','transfer/saveTransfer','0.024845123291016','2016-09-27 10:26:12'),(32639,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `journalID` =  \'AP20160900000016\'','transfer/saveTransfer','0.016540050506592','2016-09-27 10:26:12'),(32640,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'356\'','transfer/saveTransfer','0.028778076171875','2016-09-27 10:26:12'),(32641,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000017\' WHERE `ID` =  \'2268\'','transfer/saveTransfer','0.024648904800415','2016-09-27 10:26:12'),(32642,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000017\', \' [TT[00000007]]]\', \'Bank Transfer [  [TT[00000007]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 150, 150, \'User\')','transfer/saveTransfer','0.014219999313354','2016-09-27 10:26:12'),(32643,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000017\', 1, \'baju\', \'33312\', 150, 1, \'1\', \'150\', \'09\', \'2016\', \'0\', \'TT[00000007]\', \'User\')','transfer/saveTransfer','0.016400814056396','2016-09-27 10:26:12'),(32644,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000017\', 2, \'baju\', \'33310\', 150, 1, \'1\', \'150\', \'09\', \'2016\', \'0\', \'TT[00000007]\', \'User\')','transfer/saveTransfer','0.016414165496826','2016-09-27 10:26:12'),(32645,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 150, `total_amount_cr` = 150, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000017\'','transfer/saveTransfer','0.016495943069458','2016-09-27 10:26:12'),(32646,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2268\'','transfer/saveTransfer','0.016529083251953','2016-09-27 10:26:12'),(32647,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11624','transfer/saveTransfer','0.016520977020264','2016-09-27 10:26:13'),(32648,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000017\'','transfer/saveTransfer','0.016507863998413','2016-09-27 10:26:13'),(32649,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015403985977173','2016-09-27 10:26:13'),(32650,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015872955322266','2016-09-27 10:26:13'),(32651,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'108\', \'2\', \'TT\', \'109\', \'12\', 3)','transfer/newTransfer','0.059400081634521','2016-09-27 10:33:47'),(32652,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2269, \'32573\', \'2\', \'bank 1 ke bank 2 rm2\')','transfer/newTransfer','0.03429388999939','2016-09-27 10:33:47'),(32653,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'357\'','transfer/newTransfer','0.03213095664978','2016-09-27 10:33:47'),(32654,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000007\' WHERE `ID` =  2269','transfer/newTransfer','0.033174991607666','2016-09-27 10:33:47'),(32655,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000007\', \' [TT[00000032]]]\', \'Bank Transfer [  [TT[00000032]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 2, 2, \'User\')','transfer/newTransfer','0.013267993927002','2016-09-27 10:33:47'),(32656,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000007\', 1, \'bank 1 ke bank 2 rm2\', \'32572\', 2, 1, \'1\', \'2\', \'09\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/newTransfer','0.04240894317627','2016-09-27 10:33:47'),(32657,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000007\', 2, \'bank 1 ke bank 2 rm2\', \'32573\', 2, 1, \'1\', \'2\', \'09\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/newTransfer','0.016376972198486','2016-09-27 10:33:47'),(32658,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000007\'','transfer/newTransfer','0.033168077468872','2016-09-27 10:33:47'),(32659,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2269','transfer/newTransfer','0.024861097335815','2016-09-27 10:33:47'),(32660,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11625','transfer/newTransfer','0.016529083251953','2016-09-27 10:33:47'),(32661,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000007\'','transfer/newTransfer','0.016484022140503','2016-09-27 10:33:47'),(32662,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.047137975692749','2016-09-27 10:33:47'),(32663,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.017196178436279','2016-09-27 10:33:47'),(32664,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-27\', `bankID` = \'108\', `payTo` = \'110\', `amountPaid` = \'2.00\', `companyID` = \'12\', `updateAble` = 1 WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.017888069152832','2016-09-27 10:34:16'),(32665,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32574\', `amountExcludedTax` = \'2.00\', `itemdescription` = \'bank 1 ke bank 2 rm2 change to bank3\' WHERE `ID` =  \'2321\'','transfer/saveTransfer','0.016459941864014','2016-09-27 10:34:16'),(32666,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000007\'','transfer/saveTransfer','0.041525840759277','2016-09-27 10:34:16'),(32667,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000007\'','transfer/saveTransfer','0.015038013458252','2016-09-27 10:34:16'),(32668,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'357\'','transfer/saveTransfer','0.016497850418091','2016-09-27 10:34:16'),(32669,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000008\' WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.016509056091309','2016-09-27 10:34:16'),(32670,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000008\', \' [TT[00000032]]]\', \'Bank Transfer [  [TT[00000032]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 2, 2, \'User\')','transfer/saveTransfer','0.022617101669312','2016-09-27 10:34:16'),(32671,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000008\', 1, \'bank 1 ke bank 2 rm2 change to bank3\', \'32572\', 2, 1, \'1\', \'2\', \'09\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/saveTransfer','0.02472996711731','2016-09-27 10:34:16'),(32672,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000008\', 2, \'bank 1 ke bank 2 rm2 change to bank3\', \'32574\', 2, 1, \'1\', \'2\', \'09\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/saveTransfer','0.023714065551758','2016-09-27 10:34:16'),(32673,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000008\'','transfer/saveTransfer','0.017531871795654','2016-09-27 10:34:16'),(32674,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.016547918319702','2016-09-27 10:34:16'),(32675,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11626','transfer/saveTransfer','0.01656699180603','2016-09-27 10:34:16'),(32676,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000008\'','transfer/saveTransfer','0.033148050308228','2016-09-27 10:34:16'),(32677,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015519857406616','2016-09-27 10:34:16'),(32678,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'3\', \'32574\', \'2016\', \'9\', \'2\', \'0\', 2, \'User\', \'2016-09-27: 04:09:16\')','transfer/saveTransfer','0.015751123428345','2016-09-27 10:34:16'),(32679,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-27\', `bankID` = \'108\', `payTo` = \'111\', `amountPaid` = \'3.00\', `companyID` = \'12\', `updateAble` = 1 WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.11519980430603','2016-09-27 10:35:23'),(32680,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32575\', `amountExcludedTax` = \'3.00\', `itemdescription` = \'bank 1 ke bank 2 rm2 change to pc1\' WHERE `ID` =  \'2321\'','transfer/saveTransfer','0.070955991744995','2016-09-27 10:35:23'),(32681,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000008\'','transfer/saveTransfer','0.02485203742981','2016-09-27 10:35:23'),(32682,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000008\'','transfer/saveTransfer','0.017709970474243','2016-09-27 10:35:23'),(32683,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'357\'','transfer/saveTransfer','0.14891386032104','2016-09-27 10:35:23'),(32684,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000009\' WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.020745992660522','2016-09-27 10:35:23'),(32685,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000009\', \' [TT[00000032]]]\', \'Bank Transfer [  [TT[00000032]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 3, 3, \'User\')','transfer/saveTransfer','0.015757083892822','2016-09-27 10:35:23'),(32686,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000009\', 1, \'bank 1 ke bank 2 rm2 change to pc1\', \'32572\', 3, 1, \'1\', \'3\', \'09\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/saveTransfer','0.016403913497925','2016-09-27 10:35:23'),(32687,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000009\', 2, \'bank 1 ke bank 2 rm2 change to pc1\', \'32575\', 3, 1, \'1\', \'3\', \'09\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/saveTransfer','0.024739980697632','2016-09-27 10:35:23'),(32688,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 3, `total_amount_cr` = 3, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000009\'','transfer/saveTransfer','0.01648998260498','2016-09-27 10:35:23'),(32689,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.016551971435547','2016-09-27 10:35:23'),(32690,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11627','transfer/saveTransfer','0.016583919525146','2016-09-27 10:35:23'),(32691,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000009\'','transfer/saveTransfer','0.024797916412354','2016-09-27 10:35:23'),(32692,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015536069869995','2016-09-27 10:35:23'),(32693,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32575\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.032614946365356','2016-09-27 10:35:23'),(32694,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-27\', `bankID` = \'108\', `payTo` = \'109\', `amountPaid` = \'56\', `companyID` = \'12\', `updateAble` = 1 WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.06013011932373','2016-09-27 10:35:48'),(32695,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32573\', `amountExcludedTax` = \'56\', `itemdescription` = \'bank 1 ke bank 2 rm2 \' WHERE `ID` =  \'2321\'','transfer/saveTransfer','0.023745059967041','2016-09-27 10:35:48'),(32696,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000009\'','transfer/saveTransfer','0.02485203742981','2016-09-27 10:35:48'),(32697,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000009\'','transfer/saveTransfer','0.024858951568604','2016-09-27 10:35:48'),(32698,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'357\'','transfer/saveTransfer','0.019968032836914','2016-09-27 10:35:48'),(32699,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000010\' WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.017947912216187','2016-09-27 10:35:48'),(32700,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000010\', \' [TT[00000032]]]\', \'Bank Transfer [  [TT[00000032]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 56, 56, \'User\')','transfer/saveTransfer','0.012865781784058','2016-09-27 10:35:48'),(32701,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000010\', 1, \'bank 1 ke bank 2 rm2 \', \'32572\', 56, 1, \'1\', \'56\', \'09\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/saveTransfer','0.017842054367065','2016-09-27 10:35:48'),(32702,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000010\', 2, \'bank 1 ke bank 2 rm2 \', \'32573\', 56, 1, \'1\', \'56\', \'09\', \'2016\', \'0\', \'TT[00000032]\', \'User\')','transfer/saveTransfer','0.01640510559082','2016-09-27 10:35:48'),(32703,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 56, `total_amount_cr` = 56, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000010\'','transfer/saveTransfer','0.016524791717529','2016-09-27 10:35:48'),(32704,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2269\'','transfer/saveTransfer','0.016540050506592','2016-09-27 10:35:48'),(32705,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11628','transfer/saveTransfer','0.25814509391785','2016-09-27 10:35:48'),(32706,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000010\'','transfer/saveTransfer','0.016478061676025','2016-09-27 10:35:48'),(32707,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.05580997467041','2016-09-27 10:35:48'),(32708,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015928030014038','2016-09-27 10:35:48'),(32709,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'108\', \'44\', \'TT\', \'109\', \'12\', 3)','transfer/newTransfer','0.063760995864868','2016-09-27 10:36:19'),(32710,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2270, \'32573\', \'44\', \'b 1 ke b2 rm4\')','transfer/newTransfer','0.016556024551392','2016-09-27 10:36:19'),(32711,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'357\'','transfer/newTransfer','0.014806985855103','2016-09-27 10:36:19'),(32712,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000011\' WHERE `ID` =  2270','transfer/newTransfer','0.018046855926514','2016-09-27 10:36:19'),(32713,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000011\', \' [TT[00000033]]]\', \'Bank Transfer [  [TT[00000033]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 44, 44, \'User\')','transfer/newTransfer','0.012678861618042','2016-09-27 10:36:20'),(32714,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000011\', 1, \'b 1 ke b2 rm4\', \'32572\', 44, 1, \'1\', \'44\', \'09\', \'2016\', \'0\', \'TT[00000033]\', \'User\')','transfer/newTransfer','0.034572839736938','2016-09-27 10:36:20'),(32715,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000011\', 2, \'b 1 ke b2 rm4\', \'32573\', 44, 1, \'1\', \'44\', \'09\', \'2016\', \'0\', \'TT[00000033]\', \'User\')','transfer/newTransfer','0.024749040603638','2016-09-27 10:36:20'),(32716,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000011\'','transfer/newTransfer','0.016486883163452','2016-09-27 10:36:20'),(32717,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2270','transfer/newTransfer','0.016546964645386','2016-09-27 10:36:20'),(32718,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11629','transfer/newTransfer','0.016542911529541','2016-09-27 10:36:20'),(32719,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000011\'','transfer/newTransfer','0.016505002975464','2016-09-27 10:36:20'),(32720,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015444040298462','2016-09-27 10:36:20'),(32721,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015897035598755','2016-09-27 10:36:20'),(32722,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-27\', `bankID` = \'108\', `payTo` = \'109\', `amountPaid` = \'44.00\', `companyID` = \'12\', `updateAble` = 1 WHERE `ID` =  \'2270\'','transfer/saveTransfer','0.21111392974854','2016-09-27 10:36:46'),(32723,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32573\', `amountExcludedTax` = \'44.00\', `itemdescription` = \'b 1 ke b2 rm44\' WHERE `ID` =  \'2322\'','transfer/saveTransfer','0.01465892791748','2016-09-27 10:36:46'),(32724,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000011\'','transfer/saveTransfer','0.018270969390869','2016-09-27 10:36:46'),(32725,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000011\'','transfer/saveTransfer','0.016524076461792','2016-09-27 10:36:46'),(32726,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'357\'','transfer/saveTransfer','0.01277494430542','2016-09-27 10:36:46'),(32727,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000012\' WHERE `ID` =  \'2270\'','transfer/saveTransfer','0.016520977020264','2016-09-27 10:36:46'),(32728,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000012\', \' [TT[00000033]]]\', \'Bank Transfer [  [TT[00000033]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 44, 44, \'User\')','transfer/saveTransfer','0.012686014175415','2016-09-27 10:36:46'),(32729,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000012\', 1, \'b 1 ke b2 rm44\', \'32572\', 44, 1, \'1\', \'44\', \'09\', \'2016\', \'0\', \'TT[00000033]\', \'User\')','transfer/saveTransfer','0.026336908340454','2016-09-27 10:36:46'),(32730,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000012\', 2, \'b 1 ke b2 rm44\', \'32573\', 44, 1, \'1\', \'44\', \'09\', \'2016\', \'0\', \'TT[00000033]\', \'User\')','transfer/saveTransfer','0.016422986984253','2016-09-27 10:36:46'),(32731,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000012\'','transfer/saveTransfer','0.016501903533936','2016-09-27 10:36:46'),(32732,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2270\'','transfer/saveTransfer','0.016558170318604','2016-09-27 10:36:46'),(32733,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11630','transfer/saveTransfer','0.016549110412598','2016-09-27 10:36:46'),(32734,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000012\'','transfer/saveTransfer','0.016493082046509','2016-09-27 10:36:46'),(32735,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.023901224136353','2016-09-27 10:36:46'),(32736,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.01596999168396','2016-09-27 10:36:46'),(32737,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'108\', \'23\', \'TT\', \'110\', \'12\', 3)','transfer/newTransfer','0.3074951171875','2016-09-27 10:37:34'),(32738,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2271, \'32574\', \'23\', \'b1 b3 rm23\')','transfer/newTransfer','0.016533851623535','2016-09-27 10:37:34'),(32739,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'357\'','transfer/newTransfer','0.01932692527771','2016-09-27 10:37:34'),(32740,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000013\' WHERE `ID` =  2271','transfer/newTransfer','0.018194913864136','2016-09-27 10:37:34'),(32741,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000013\', \' [TT[00000034]]]\', \'Bank Transfer [  [TT[00000034]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 23, 23, \'User\')','transfer/newTransfer','0.022690057754517','2016-09-27 10:37:34'),(32742,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000013\', 1, \'b1 b3 rm23\', \'32572\', 23, 1, \'1\', \'23\', \'09\', \'2016\', \'0\', \'TT[00000034]\', \'User\')','transfer/newTransfer','0.016393184661865','2016-09-27 10:37:34'),(32743,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000013\', 2, \'b1 b3 rm23\', \'32574\', 23, 1, \'1\', \'23\', \'09\', \'2016\', \'0\', \'TT[00000034]\', \'User\')','transfer/newTransfer','0.016412973403931','2016-09-27 10:37:34'),(32744,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000013\'','transfer/newTransfer','0.01511812210083','2016-09-27 10:37:34'),(32745,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2271','transfer/newTransfer','0.017949104309082','2016-09-27 10:37:34'),(32746,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11631','transfer/newTransfer','0.016515970230103','2016-09-27 10:37:34'),(32747,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000013\'','transfer/newTransfer','0.024832963943481','2016-09-27 10:37:34'),(32748,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015588998794556','2016-09-27 10:37:34'),(32749,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32574\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.032637119293213','2016-09-27 10:37:34'),(32750,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `paymentDate` = \'2016-09-27\', `bankID` = \'108\', `payTo` = \'110\', `amountPaid` = \'233.00\', `companyID` = \'12\', `updateAble` = 1 WHERE `ID` =  \'2271\'','transfer/saveTransfer','0.042805910110474','2016-09-27 10:39:13'),(32751,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `accountID` = \'32574\', `amountExcludedTax` = \'233.00\', `itemdescription` = \'b1 b3 rm23\' WHERE `ID` =  \'2323\'','transfer/saveTransfer','0.018061876296997','2016-09-27 10:39:13'),(32752,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000013\'','transfer/saveTransfer','0.033170938491821','2016-09-27 10:39:13'),(32753,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `journalID` =  \'AP20160900000013\'','transfer/saveTransfer','0.041525840759277','2016-09-27 10:39:13'),(32754,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'357\'','transfer/saveTransfer','0.04048490524292','2016-09-27 10:39:13'),(32755,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000014\' WHERE `ID` =  \'2271\'','transfer/saveTransfer','0.016504049301147','2016-09-27 10:39:13'),(32756,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000014\', \' [TT[00000034]]]\', \'Bank Transfer [  [TT[00000034]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 233, 233, \'User\')','transfer/saveTransfer','0.012392997741699','2016-09-27 10:39:13'),(32757,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000014\', 1, \'b1 b3 rm23\', \'32572\', 233, 1, \'1\', \'233\', \'09\', \'2016\', \'0\', \'TT[00000034]\', \'User\')','transfer/saveTransfer','0.043165922164917','2016-09-27 10:39:13'),(32758,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000014\', 2, \'b1 b3 rm23\', \'32574\', 233, 1, \'1\', \'233\', \'09\', \'2016\', \'0\', \'TT[00000034]\', \'User\')','transfer/saveTransfer','0.016409158706665','2016-09-27 10:39:13'),(32759,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 233, `total_amount_cr` = 233, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000014\'','transfer/saveTransfer','0.024807929992676','2016-09-27 10:39:13'),(32760,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2271\'','transfer/saveTransfer','0.016531944274902','2016-09-27 10:39:13'),(32761,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11632','transfer/saveTransfer','0.016525983810425','2016-09-27 10:39:13'),(32762,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000014\'','transfer/saveTransfer','0.016494035720825','2016-09-27 10:39:13'),(32763,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.038122892379761','2016-09-27 10:39:13'),(32764,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32574\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/saveTransfer','0.015644073486328','2016-09-27 10:39:13'),(32765,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'108\', \'222\', \'TT\', \'111\', \'12\', 3)','transfer/newTransfer','0.088121175765991','2016-09-27 10:40:10'),(32766,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2272, \'32575\', \'222\', \'b1 ke pc1 rm222\')','transfer/newTransfer','0.041502952575684','2016-09-27 10:40:10'),(32767,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'357\'','transfer/newTransfer','0.036670923233032','2016-09-27 10:40:11'),(32768,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000015\' WHERE `ID` =  2272','transfer/newTransfer','0.033183097839355','2016-09-27 10:40:11'),(32769,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000015\', \' [TT[00000035]]]\', \'Bank Transfer [  [TT[00000035]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 222, 222, \'User\')','transfer/newTransfer','0.012723922729492','2016-09-27 10:40:11'),(32770,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000015\', 1, \'b1 ke pc1 rm222\', \'32572\', 222, 1, \'1\', \'222\', \'09\', \'2016\', \'0\', \'TT[00000035]\', \'User\')','transfer/newTransfer','0.017990112304688','2016-09-27 10:40:11'),(32771,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000015\', 2, \'b1 ke pc1 rm222\', \'32575\', 222, 1, \'1\', \'222\', \'09\', \'2016\', \'0\', \'TT[00000035]\', \'User\')','transfer/newTransfer','0.016410112380981','2016-09-27 10:40:11'),(32772,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 222, `total_amount_cr` = 222, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000015\'','transfer/newTransfer','0.016477823257446','2016-09-27 10:40:11'),(32773,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2272','transfer/newTransfer','0.014949798583984','2016-09-27 10:40:11'),(32774,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11633','transfer/newTransfer','0.034802913665771','2016-09-27 10:40:11'),(32775,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000015\'','transfer/newTransfer','0.016487121582031','2016-09-27 10:40:11'),(32776,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015583038330078','2016-09-27 10:40:11'),(32777,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32575\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.016014099121094','2016-09-27 10:40:11'),(32778,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'108\', \'44\', \'TT\', \'110\', \'12\', 3)','transfer/newTransfer','0.1069929599762','2016-09-27 11:01:22'),(32779,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2273, \'32574\', \'44\', \'b1 ke b3 rm44\')','transfer/newTransfer','0.016520023345947','2016-09-27 11:01:23'),(32780,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'357\'','transfer/newTransfer','0.03345513343811','2016-09-27 11:01:23'),(32781,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000016\' WHERE `ID` =  2273','transfer/newTransfer','0.016504049301147','2016-09-27 11:01:23'),(32782,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000016\', \' [TT[00000036]]]\', \'Bank Transfer [  [TT[00000036]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 44, 44, \'User\')','transfer/newTransfer','0.012218952178955','2016-09-27 11:01:23'),(32783,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000016\', 1, \'b1 ke b3 rm44\', \'32572\', 44, 1, \'1\', \'44\', \'09\', \'2016\', \'0\', \'TT[00000036]\', \'User\')','transfer/newTransfer','0.05333685874939','2016-09-27 11:01:23'),(32784,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000016\', 2, \'b1 ke b3 rm44\', \'32574\', 44, 1, \'1\', \'44\', \'09\', \'2016\', \'0\', \'TT[00000036]\', \'User\')','transfer/newTransfer','0.023119926452637','2016-09-27 11:01:23'),(32785,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 44, `total_amount_cr` = 44, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000016\'','transfer/newTransfer','0.016490936279297','2016-09-27 11:01:23'),(32786,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2273','transfer/newTransfer','0.024873971939087','2016-09-27 11:01:23'),(32787,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11634','transfer/newTransfer','0.024868011474609','2016-09-27 11:01:23'),(32788,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000016\'','transfer/newTransfer','0.016510963439941','2016-09-27 11:01:23'),(32789,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.032480001449585','2016-09-27 11:01:23'),(32790,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32574\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015908002853394','2016-09-27 11:01:23'),(32791,39,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'39\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1574239730835','2016-09-27 11:16:13'),(32792,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'11\', 1, 0, \'68\', \'100\', \'OP-L\', \'2016-09-27\', \'108\', \'1\')','expenses/fnSaveExpenses','0.076261043548584','2016-09-27 12:38:50'),(32793,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2274, \'11\', \'bulan 9\', 1, \'32578\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.021966934204102','2016-09-27 12:38:51'),(32794,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.030872106552124','2016-09-27 12:38:51'),(32795,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000017\' WHERE `ID` =  2274','expenses/fnSaveExpenses','0.018247127532959','2016-09-27 12:38:51'),(32796,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000017\', \'Loan Repayment [OP-L[00000037]]\', \'Loan Repayment [OP-L[00000037]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 100, 100, \'11\')','expenses/fnSaveExpenses','0.011588096618652','2016-09-27 12:38:51'),(32797,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000017\', 1, \'bulan 9\', \'32572\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-L[00000037]\', \'User\')','expenses/fnSaveExpenses','0.024447917938232','2016-09-27 12:38:51'),(32798,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000017\', 2, \'bulan 9\', \'32578\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-L[00000037]\', \'User\')','expenses/fnSaveExpenses','0.01931095123291','2016-09-27 12:38:51'),(32799,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000017\'','expenses/fnSaveExpenses','0.008134126663208','2016-09-27 12:38:51'),(32800,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2274','expenses/fnSaveExpenses','0.013958930969238','2016-09-27 12:38:51'),(32801,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11635','expenses/fnSaveExpenses','0.010590076446533','2016-09-27 12:38:51'),(32802,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000017\'','expenses/fnSaveExpenses','0.058147192001343','2016-09-27 12:38:51'),(32803,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.038729906082153','2016-09-27 12:38:51'),(32804,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'32578\', \'2016\', \'9\', \'100\', \'0\', 100, \'User\', \'2016-09-27: 06:09:50\')','expenses/fnSaveExpenses','0.018460035324097','2016-09-27 12:38:51'),(32805,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'109\', \'OR\', \'23.00\', \'12\')','sales/save_new_sale','0.084719896316528','2016-09-27 12:40:28'),(32806,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2375, \'32583\', \'nasi lemak\', \'23.00\', 1)','sales/save_new_sale','0.013530015945435','2016-09-27 12:40:28'),(32807,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2375','sales/save_new_sale','0.00020098686218262','2016-09-27 12:40:28'),(32808,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'354\'','sales/save_new_sale','0.020090103149414','2016-09-27 12:40:28'),(32809,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000025\' WHERE `ID` =  2375','sales/save_new_sale','0.0081548690795898','2016-09-27 12:40:28'),(32810,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000025\', \'OR[00000044]\', \'Sales [ OR[00000044] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'23\', \'23\', \'11\')','sales/save_new_sale','0.011693954467773','2016-09-27 12:40:28'),(32811,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000025\', 1, \'nasi lemak\', \'32583\', \'\', 23, \'1\', \'1\', \'23\', \'09\', \'2016\', \'1\', \'OR[00000044]\', \'0\', \'User\')','sales/save_new_sale','0.010683059692383','2016-09-27 12:40:28'),(32812,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000025\', \'nasi lemak\', \'32573\', \'\', 23, \'1\', \'1\', \'23\', \'09\', \'2016\', \'OR[00000044]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016412019729614','2016-09-27 12:40:29'),(32813,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 23, `total_amount_cr` = 23, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000025\'','sales/save_new_sale','0.0081560611724854','2016-09-27 12:40:29'),(32814,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2375','sales/save_new_sale','0.013921976089478','2016-09-27 12:40:29'),(32815,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11636','sales/save_new_sale','0.010846138000488','2016-09-27 12:40:29'),(32816,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000025\'','sales/save_new_sale','0.033186912536621','2016-09-27 12:40:29'),(32817,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023865938186646','2016-09-27 12:40:29'),(32818,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032644033432007','2016-09-27 12:40:29'),(32819,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'11\', 1, 0, \'68\', \'122\', \'OP-L\', \'2016-09-27\', \'108\', \'1\')','expenses/fnSaveExpenses','0.057662963867188','2016-09-27 12:41:33'),(32820,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2275, \'11\', \'bulan 9\', 1, \'32579\', \'122\', \'122\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.046741008758545','2016-09-27 12:41:33'),(32821,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.02558708190918','2016-09-27 12:41:33'),(32822,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000018\' WHERE `ID` =  2275','expenses/fnSaveExpenses','0.010878086090088','2016-09-27 12:41:33'),(32823,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000018\', \'Loan Repayment [OP-L[00000038]]\', \'Loan Repayment [OP-L[00000038]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 122, 122, \'11\')','expenses/fnSaveExpenses','0.011642932891846','2016-09-27 12:41:33'),(32824,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000018\', 1, \'bulan 9\', \'32572\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000038]\', \'User\')','expenses/fnSaveExpenses','0.0107581615448','2016-09-27 12:41:33'),(32825,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000018\', 2, \'bulan 9\', \'32579\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000038]\', \'User\')','expenses/fnSaveExpenses','0.0080959796905518','2016-09-27 12:41:33'),(32826,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 122, `total_amount_cr` = 122, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000018\'','expenses/fnSaveExpenses','0.0135178565979','2016-09-27 12:41:33'),(32827,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2275','expenses/fnSaveExpenses','0.011181116104126','2016-09-27 12:41:33'),(32828,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11637','expenses/fnSaveExpenses','0.0080587863922119','2016-09-27 12:41:33'),(32829,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000018\'','expenses/fnSaveExpenses','0.022135972976685','2016-09-27 12:41:33'),(32830,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.04559588432312','2016-09-27 12:41:33'),(32831,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'32579\', \'2016\', \'9\', \'122\', \'0\', 122, \'User\', \'2016-09-27: 06:09:33\')','expenses/fnSaveExpenses','0.015760898590088','2016-09-27 12:41:33'),(32832,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'108\', \'OR\', \'234.00\', \'12\')','sales/save_new_sale','0.013458967208862','2016-09-27 12:42:07'),(32833,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2376, \'32583\', \'basikal\', \'234.00\', 1)','sales/save_new_sale','0.01098108291626','2016-09-27 12:42:07'),(32834,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2376','sales/save_new_sale','0.00020599365234375','2016-09-27 12:42:07'),(32835,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'354\'','sales/save_new_sale','0.0079920291900635','2016-09-27 12:42:07'),(32836,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000026\' WHERE `ID` =  2376','sales/save_new_sale','0.013465166091919','2016-09-27 12:42:07'),(32837,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000026\', \'OR[00000045]\', \'Sales [ OR[00000045] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'234\', \'234\', \'11\')','sales/save_new_sale','0.0090370178222656','2016-09-27 12:42:07'),(32838,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000026\', 1, \'basikal\', \'32583\', \'\', 234, \'1\', \'1\', \'234\', \'09\', \'2016\', \'1\', \'OR[00000045]\', \'0\', \'User\')','sales/save_new_sale','0.0080490112304688','2016-09-27 12:42:07'),(32839,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000026\', \'basikal\', \'32572\', \'\', 234, \'1\', \'1\', \'234\', \'09\', \'2016\', \'OR[00000045]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.013645887374878','2016-09-27 12:42:07'),(32840,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 234, `total_amount_cr` = 234, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000026\'','sales/save_new_sale','0.010934114456177','2016-09-27 12:42:07'),(32841,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2376','sales/save_new_sale','0.0082080364227295','2016-09-27 12:42:07'),(32842,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11638','sales/save_new_sale','0.013484954833984','2016-09-27 12:42:07'),(32843,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000026\'','sales/save_new_sale','0.011224031448364','2016-09-27 12:42:07'),(32844,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012543916702271','2016-09-27 12:42:07'),(32845,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010705947875977','2016-09-27 12:42:07'),(32846,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-27\', \'109\', \'OR\', \'456.00\', \'12\')','sales/save_new_sale','0.013597011566162','2016-09-27 12:42:52'),(32847,12,11,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2377, \'32583\', \'basikal racing\', \'456.00\', 1)','sales/save_new_sale','0.0081779956817627','2016-09-27 12:42:52'),(32848,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2377','sales/save_new_sale','0.00024604797363281','2016-09-27 12:42:52'),(32849,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'354\'','sales/save_new_sale','0.0082039833068848','2016-09-27 12:42:52'),(32850,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000027\' WHERE `ID` =  2377','sales/save_new_sale','0.013386964797974','2016-09-27 12:42:52'),(32851,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AR20160900000027\', \'OR[00000046]\', \'Sales [ OR[00000046] ]\', \'\', \'2\', \'2016-09-27\', \'2016\', \'09\', \'456\', \'456\', \'11\')','sales/save_new_sale','0.0090568065643311','2016-09-27 12:42:52'),(32852,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'12\', \'AR20160900000027\', 1, \'basikal racing\', \'32583\', \'\', 456, \'1\', \'1\', \'456\', \'09\', \'2016\', \'1\', \'OR[00000046]\', \'0\', \'User\')','sales/save_new_sale','0.0080509185791016','2016-09-27 12:42:52'),(32853,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'12\', 2, \'AR20160900000027\', \'basikal racing\', \'32573\', \'\', 456, \'1\', \'1\', \'456\', \'09\', \'2016\', \'OR[00000046]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.013549089431763','2016-09-27 12:42:52'),(32854,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 456, `total_amount_cr` = 456, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000027\'','sales/save_new_sale','0.016209125518799','2016-09-27 12:42:52'),(32855,12,11,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2377','sales/save_new_sale','0.011363983154297','2016-09-27 12:42:52'),(32856,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11639','sales/save_new_sale','0.013366937637329','2016-09-27 12:42:52'),(32857,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AR20160900000027\'','sales/save_new_sale','0.011306047439575','2016-09-27 12:42:52'),(32858,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32583\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012380123138428','2016-09-27 12:42:52'),(32859,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32573\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010720014572144','2016-09-27 12:42:52'),(32860,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'11\', 1, 0, \'68\', \'111\', \'OP-L\', \'2016-09-27\', \'108\', \'1\')','expenses/fnSaveExpenses','0.071573972702026','2016-09-27 12:44:01'),(32861,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2276, \'11\', \'bulan 9\', 1, \'32580\', \'111\', \'111\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011133193969727','2016-09-27 12:44:01'),(32862,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.021646976470947','2016-09-27 12:44:01'),(32863,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000019\' WHERE `ID` =  2276','expenses/fnSaveExpenses','0.011093139648438','2016-09-27 12:44:01'),(32864,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000019\', \'Loan Repayment [OP-L[00000039]]\', \'Loan Repayment [OP-L[00000039]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 111, 111, \'11\')','expenses/fnSaveExpenses','0.014297962188721','2016-09-27 12:44:01'),(32865,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000019\', 1, \'bulan 9\', \'32572\', 111, 1, \'1\', \'111\', \'09\', \'16\', \'1\', \'OP-L[00000039]\', \'User\')','expenses/fnSaveExpenses','0.021533012390137','2016-09-27 12:44:01'),(32866,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000019\', 2, \'bulan 9\', \'32580\', 111, 1, \'1\', \'111\', \'09\', \'16\', \'1\', \'OP-L[00000039]\', \'User\')','expenses/fnSaveExpenses','0.016704797744751','2016-09-27 12:44:01'),(32867,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 111, `total_amount_cr` = 111, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000019\'','expenses/fnSaveExpenses','0.011096000671387','2016-09-27 12:44:01'),(32868,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2276','expenses/fnSaveExpenses','0.0081980228424072','2016-09-27 12:44:01'),(32869,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11640','expenses/fnSaveExpenses','0.013197898864746','2016-09-27 12:44:01'),(32870,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000019\'','expenses/fnSaveExpenses','0.041795969009399','2016-09-27 12:44:01'),(32871,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.034526109695435','2016-09-27 12:44:01'),(32872,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'32580\', \'2016\', \'9\', \'111\', \'0\', 111, \'User\', \'2016-09-27: 06:09:01\')','expenses/fnSaveExpenses','0.010667085647583','2016-09-27 12:44:01'),(32873,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50753\'','expenses/fnSaveExpenses','0.014210939407349','2016-09-27 12:45:31'),(32874,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50754\'','expenses/fnSaveExpenses','0.0081889629364014','2016-09-27 12:45:31'),(32875,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11640\'','expenses/fnSaveExpenses','0.016534805297852','2016-09-27 12:45:31'),(32876,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'110\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-27\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2276','expenses/fnSaveExpenses','0.02228307723999','2016-09-27 12:45:31'),(32877,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2276, \'11\', \'bulan 9\', 1, \'32580\', \'110\', \'110\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0081429481506348','2016-09-27 12:45:31'),(32878,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.010550975799561','2016-09-27 12:45:31'),(32879,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000020\' WHERE `ID` =  2276','expenses/fnSaveExpenses','0.013633012771606','2016-09-27 12:45:31'),(32880,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000020\', \'Loan Repayment [OP-L[00000039]]\', \'Loan Repayment [OP-L[00000039]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 110, 110, \'11\')','expenses/fnSaveExpenses','0.010499954223633','2016-09-27 12:45:31'),(32881,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000020\', 1, \'bulan 9\', \'32572\', 111, 1, \'1\', \'111\', \'09\', \'16\', \'1\', \'OP-L[00000039]\', \'User\')','expenses/fnSaveExpenses','0.0080821514129639','2016-09-27 12:45:31'),(32882,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000020\', 2, \'bulan 9\', \'32580\', 111, 1, \'1\', \'111\', \'09\', \'16\', \'1\', \'OP-L[00000039]\', \'User\')','expenses/fnSaveExpenses','0.013228893280029','2016-09-27 12:45:31'),(32883,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000020\', 3, \'bulan 9\', \'32572\', 110, 1, \'1\', \'110\', \'09\', \'16\', \'1\', \'OP-L[00000039]\', \'User\')','expenses/fnSaveExpenses','0.011287212371826','2016-09-27 12:45:31'),(32884,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000020\', 4, \'bulan 9\', \'32580\', 110, 1, \'1\', \'110\', \'09\', \'16\', \'1\', \'OP-L[00000039]\', \'User\')','expenses/fnSaveExpenses','0.0081038475036621','2016-09-27 12:45:31'),(32885,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 221, `total_amount_cr` = 221, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000020\'','expenses/fnSaveExpenses','0.0081651210784912','2016-09-27 12:45:31'),(32886,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2276','expenses/fnSaveExpenses','0.013375997543335','2016-09-27 12:45:31'),(32887,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11641','expenses/fnSaveExpenses','0.01963210105896','2016-09-27 12:45:31'),(32888,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000020\'','expenses/fnSaveExpenses','0.008167028427124','2016-09-27 12:45:31'),(32889,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012696027755737','2016-09-27 12:45:31'),(32890,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32580\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024025917053223','2016-09-27 12:45:31'),(32891,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01628303527832','2016-09-27 12:45:31'),(32892,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32580\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010560989379883','2016-09-27 12:45:31'),(32893,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11640\'','expenses/fnSaveExpenses','0.00014209747314453','2016-09-27 12:46:15'),(32894,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'11\', 1, 0, \'68\', \'233\', \'OP-L\', \'2016-09-27\', \'108\', \'1\')','expenses/fnSaveExpenses','0.087065935134888','2016-09-27 12:46:15'),(32895,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2277, `createdBy` = \'11\', `itemdescription` = \'bulan 9\', `lineNo` = 1, `accountID` = \'32580\', `amountIncludedTax` = \'111\', `amountExcludedTax` = \'111\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2328\'','expenses/fnSaveExpenses','0.013256072998047','2016-09-27 12:46:15'),(32896,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2277, \'11\', \'bulan 9\', 1, \'32581\', \'122\', \'122\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.008159875869751','2016-09-27 12:46:15'),(32897,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.012393951416016','2016-09-27 12:46:15'),(32898,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000021\' WHERE `ID` =  2277','expenses/fnSaveExpenses','0.0081851482391357','2016-09-27 12:46:15'),(32899,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000021\', \'Loan Repayment [OP-L[00000040]]\', \'Loan Repayment [OP-L[00000040]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 233, 233, \'11\')','expenses/fnSaveExpenses','0.012609958648682','2016-09-27 12:46:15'),(32900,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000021\', 1, \'bulan 9\', \'32572\', 111, 1, \'1\', \'111\', \'09\', \'16\', \'1\', \'OP-L[00000040]\', \'User\')','expenses/fnSaveExpenses','0.025031805038452','2016-09-27 12:46:15'),(32901,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000021\', 2, \'bulan 9\', \'32580\', 111, 1, \'1\', \'111\', \'09\', \'16\', \'1\', \'OP-L[00000040]\', \'User\')','expenses/fnSaveExpenses','0.011152029037476','2016-09-27 12:46:15'),(32902,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000021\', 3, \'bulan 9\', \'32572\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000040]\', \'User\')','expenses/fnSaveExpenses','0.0080900192260742','2016-09-27 12:46:15'),(32903,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000021\', 4, \'bulan 9\', \'32581\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000040]\', \'User\')','expenses/fnSaveExpenses','0.013068914413452','2016-09-27 12:46:15'),(32904,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 233, `total_amount_cr` = 233, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000021\'','expenses/fnSaveExpenses','0.02513599395752','2016-09-27 12:46:15'),(32905,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2277','expenses/fnSaveExpenses','0.011265993118286','2016-09-27 12:46:15'),(32906,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11642','expenses/fnSaveExpenses','0.016463994979858','2016-09-27 12:46:15'),(32907,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000021\'','expenses/fnSaveExpenses','0.013140916824341','2016-09-27 12:46:15'),(32908,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010574102401733','2016-09-27 12:46:15'),(32909,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32580\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012624979019165','2016-09-27 12:46:15'),(32910,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01103401184082','2016-09-27 12:46:15'),(32911,12,11,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'12\', \'4\', \'32581\', \'2016\', \'9\', \'122\', \'0\', 122, \'User\', \'2016-09-27: 06:09:15\')','expenses/fnSaveExpenses','0.012125015258789','2016-09-27 12:46:15'),(32912,39,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-27\', \'172\', \'349\', \'TT\', \'173\', \'39\', 3)','transfer/newTransfer','0.065678119659424','2016-09-27 12:49:23'),(32913,39,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2278, \'33311\', \'349\', \'hilmi\')','transfer/newTransfer','0.0081820487976074','2016-09-27 12:49:23'),(32914,39,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'356\'','transfer/newTransfer','0.077450037002563','2016-09-27 12:49:23'),(32915,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000018\' WHERE `ID` =  2278','transfer/newTransfer','0.014440774917603','2016-09-27 12:49:23'),(32916,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000018\', \' [TT[00000008]]]\', \'Bank Transfer [  [TT[00000008]]] ]\', \'\', \'3\', \'2016-09-27\', \'2016\', \'09\', 349, 349, \'User\')','transfer/newTransfer','0.010369062423706','2016-09-27 12:49:23'),(32917,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000018\', 1, \'hilmi\', \'33310\', 349, 1, \'1\', \'349\', \'09\', \'2016\', \'0\', \'TT[00000008]\', \'User\')','transfer/newTransfer','0.028491020202637','2016-09-27 12:49:23'),(32918,39,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000018\', 2, \'hilmi\', \'33311\', 349, 1, \'1\', \'349\', \'09\', \'2016\', \'0\', \'TT[00000008]\', \'User\')','transfer/newTransfer','0.0080599784851074','2016-09-27 12:49:23'),(32919,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 349, `total_amount_cr` = 349, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000018\'','transfer/newTransfer','0.01301908493042','2016-09-27 12:49:23'),(32920,39,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2278','transfer/newTransfer','0.016267061233521','2016-09-27 12:49:23'),(32921,39,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11643','transfer/newTransfer','0.01195216178894','2016-09-27 12:49:23'),(32922,39,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000018\'','transfer/newTransfer','0.037750959396362','2016-09-27 12:49:23'),(32923,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.039041042327881','2016-09-27 12:49:23'),(32924,39,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33311\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.023953914642334','2016-09-27 12:49:23'),(32925,1,1,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2086169719696','2016-09-27 14:20:39'),(32926,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'11\', 1, 0, \'68\', \'899\', \'OP-L\', \'2016-09-27\', \'108\', \'1\')','expenses/fnSaveExpenses','0.071508884429932','2016-09-27 14:56:30'),(32927,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2279, \'11\', \'bulan 9\', 1, \'32578\', \'899\', \'899\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.023377895355225','2016-09-27 14:56:30'),(32928,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.024497985839844','2016-09-27 14:56:30'),(32929,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000022\' WHERE `ID` =  2279','expenses/fnSaveExpenses','0.016197919845581','2016-09-27 14:56:30'),(32930,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000022\', \'Loan Repayment [OP-L[00000041]]\', \'Loan Repayment [OP-L[00000041]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 899, 899, \'11\')','expenses/fnSaveExpenses','0.031171798706055','2016-09-27 14:56:30'),(32931,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000022\', 1, \'bulan 9\', \'32572\', 899, 1, \'1\', \'899\', \'09\', \'16\', \'1\', \'OP-L[00000041]\', \'User\')','expenses/fnSaveExpenses','0.016077995300293','2016-09-27 14:56:30'),(32932,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000022\', 2, \'bulan 9\', \'32578\', 899, 1, \'1\', \'899\', \'09\', \'16\', \'1\', \'OP-L[00000041]\', \'User\')','expenses/fnSaveExpenses','0.016698122024536','2016-09-27 14:56:30'),(32933,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 899, `total_amount_cr` = 899, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000022\'','expenses/fnSaveExpenses','0.016196012496948','2016-09-27 14:56:30'),(32934,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2279','expenses/fnSaveExpenses','0.025187969207764','2016-09-27 14:56:30'),(32935,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11644','expenses/fnSaveExpenses','0.016042947769165','2016-09-27 14:56:30'),(32936,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000022\'','expenses/fnSaveExpenses','0.033432006835938','2016-09-27 14:56:30'),(32937,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.022142171859741','2016-09-27 14:56:30'),(32938,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.032861232757568','2016-09-27 14:56:30'),(32939,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'12\', \'11\', 1, 0, \'68\', \'122\', \'OP-L\', \'2016-09-27\', \'108\', \'1\')','expenses/fnSaveExpenses','0.10570597648621','2016-09-27 15:00:45'),(32940,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2280, \'11\', \'bulan 9\', 1, \'32578\', \'122\', \'122\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016175985336304','2016-09-27 15:00:45'),(32941,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.026656866073608','2016-09-27 15:00:45'),(32942,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000023\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.024547100067139','2016-09-27 15:00:45'),(32943,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000023\', \'Loan Repayment [OP-L[00000042]]\', \'Loan Repayment [OP-L[00000042]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 122, 122, \'11\')','expenses/fnSaveExpenses','0.014504909515381','2016-09-27 15:00:45'),(32944,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000023\', 1, \'bulan 9\', \'32572\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016077995300293','2016-09-27 15:00:45'),(32945,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000023\', 2, \'bulan 9\', \'32578\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016726016998291','2016-09-27 15:00:45'),(32946,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 122, `total_amount_cr` = 122, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000023\'','expenses/fnSaveExpenses','0.024512052536011','2016-09-27 15:00:45'),(32947,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.016812801361084','2016-09-27 15:00:45'),(32948,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11645','expenses/fnSaveExpenses','0.024407148361206','2016-09-27 15:00:45'),(32949,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000023\'','expenses/fnSaveExpenses','0.01676607131958','2016-09-27 15:00:45'),(32950,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015190124511719','2016-09-27 15:00:45'),(32951,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016170024871826','2016-09-27 15:00:45'),(32952,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50767\'','expenses/fnSaveExpenses','0.027502059936523','2016-09-27 15:01:26'),(32953,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50768\'','expenses/fnSaveExpenses','0.024553060531616','2016-09-27 15:01:26'),(32954,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11645\'','expenses/fnSaveExpenses','0.016820192337036','2016-09-27 15:01:26'),(32955,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'1344\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-27\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2280','expenses/fnSaveExpenses','0.012829065322876','2016-09-27 15:01:26'),(32956,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 9\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'122\', `amountExcludedTax` = \'122\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2333\'','expenses/fnSaveExpenses','0.0002291202545166','2016-09-27 15:01:26'),(32957,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2280, \'11\', \'bulan 10\', 1, \'32578\', \'1222\', \'1222\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.025376081466675','2016-09-27 15:01:26'),(32958,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.018578052520752','2016-09-27 15:01:26'),(32959,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000024\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.017642974853516','2016-09-27 15:01:26'),(32960,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000024\', \'Loan Repayment [OP-L[00000042]]\', \'Loan Repayment [OP-L[00000042]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 1344, 1344, \'11\')','expenses/fnSaveExpenses','0.015594005584717','2016-09-27 15:01:26'),(32961,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000024\', 1, \'bulan 9\', \'32572\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016667127609253','2016-09-27 15:01:26'),(32962,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000024\', 2, \'bulan 9\', \'32578\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016108989715576','2016-09-27 15:01:26'),(32963,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000024\', 3, \'bulan 10\', \'32572\', 1222, 1, \'1\', \'1222\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016717910766602','2016-09-27 15:01:26'),(32964,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000024\', 4, \'bulan 10\', \'32578\', 1222, 1, \'1\', \'1222\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016103982925415','2016-09-27 15:01:26'),(32965,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1344, `total_amount_cr` = 1344, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000024\'','expenses/fnSaveExpenses','0.025108814239502','2016-09-27 15:01:26'),(32966,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.01624608039856','2016-09-27 15:01:26'),(32967,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11646','expenses/fnSaveExpenses','0.016739130020142','2016-09-27 15:01:26'),(32968,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000024\'','expenses/fnSaveExpenses','0.016199827194214','2016-09-27 15:01:26'),(32969,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01572585105896','2016-09-27 15:01:26'),(32970,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023927927017212','2016-09-27 15:01:26'),(32971,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016201972961426','2016-09-27 15:01:26'),(32972,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023940086364746','2016-09-27 15:01:26'),(32973,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50769\'','expenses/fnSaveExpenses','0.026283025741577','2016-09-27 15:02:26'),(32974,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50770\'','expenses/fnSaveExpenses','0.041794061660767','2016-09-27 15:02:26'),(32975,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50771\'','expenses/fnSaveExpenses','0.01622200012207','2016-09-27 15:02:26'),(32976,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50772\'','expenses/fnSaveExpenses','0.01682710647583','2016-09-27 15:02:26'),(32977,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11646\'','expenses/fnSaveExpenses','0.01623010635376','2016-09-27 15:02:26'),(32978,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'1346\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-27\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2280','expenses/fnSaveExpenses','0.022287845611572','2016-09-27 15:02:26'),(32979,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 9\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'122\', `amountExcludedTax` = \'122\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2333\'','expenses/fnSaveExpenses','0.00018692016601562','2016-09-27 15:02:26'),(32980,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2280, \'11\', \'bulan 10\', 1, \'32578\', \'1224\', \'1224\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.032492160797119','2016-09-27 15:02:26'),(32981,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.02236008644104','2016-09-27 15:02:26'),(32982,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000025\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.016216039657593','2016-09-27 15:02:26'),(32983,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000025\', \'Loan Repayment [OP-L[00000042]]\', \'Loan Repayment [OP-L[00000042]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 1346, 1346, \'11\')','expenses/fnSaveExpenses','0.016264200210571','2016-09-27 15:02:26'),(32984,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000025\', 1, \'bulan 9\', \'32572\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016106128692627','2016-09-27 15:02:26'),(32985,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000025\', 2, \'bulan 9\', \'32578\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016726016998291','2016-09-27 15:02:26'),(32986,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000025\', 3, \'bulan 10\', \'32572\', 1222, 1, \'1\', \'1222\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016124963760376','2016-09-27 15:02:26'),(32987,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000025\', 4, \'bulan 10\', \'32578\', 1222, 1, \'1\', \'1222\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016720056533813','2016-09-27 15:02:26'),(32988,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000025\', 5, \'bulan 10\', \'32572\', 1224, 1, \'1\', \'1224\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016133069992065','2016-09-27 15:02:26'),(32989,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000025\', 6, \'bulan 10\', \'32578\', 1224, 1, \'1\', \'1224\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016715049743652','2016-09-27 15:02:26'),(32990,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 2568, `total_amount_cr` = 2568, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000025\'','expenses/fnSaveExpenses','0.016212940216064','2016-09-27 15:02:26'),(32991,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.016832113265991','2016-09-27 15:02:27'),(32992,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11647','expenses/fnSaveExpenses','0.016005992889404','2016-09-27 15:02:27'),(32993,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000025\'','expenses/fnSaveExpenses','0.016803026199341','2016-09-27 15:02:27'),(32994,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.033673048019409','2016-09-27 15:02:27'),(32995,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01682710647583','2016-09-27 15:02:27'),(32996,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015682935714722','2016-09-27 15:02:27'),(32997,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016268968582153','2016-09-27 15:02:27'),(32998,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015702962875366','2016-09-27 15:02:27'),(32999,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016283988952637','2016-09-27 15:02:27'),(33000,12,11,'192.168.1.199','delete','DELETE FROM `comp_payment_others_without_item`\nWHERE `ID` =  \'2335\'','expenses/fnDeleteDetail','0.1018168926239','2016-09-27 15:05:15'),(33001,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50773\'','expenses/fnSaveExpenses','0.028841972351074','2016-09-27 15:05:16'),(33002,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50774\'','expenses/fnSaveExpenses','0.016768932342529','2016-09-27 15:05:16'),(33003,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50775\'','expenses/fnSaveExpenses','0.024548053741455','2016-09-27 15:05:16'),(33004,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50776\'','expenses/fnSaveExpenses','0.01679801940918','2016-09-27 15:05:16'),(33005,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50777\'','expenses/fnSaveExpenses','0.016228914260864','2016-09-27 15:05:16'),(33006,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50778\'','expenses/fnSaveExpenses','0.016809940338135','2016-09-27 15:05:16'),(33007,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11647\'','expenses/fnSaveExpenses','0.016239881515503','2016-09-27 15:05:16'),(33008,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'1344\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-27\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2280','expenses/fnSaveExpenses','0.014034032821655','2016-09-27 15:05:16'),(33009,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 9\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'122\', `amountExcludedTax` = \'122\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2333\'','expenses/fnSaveExpenses','0.00026106834411621','2016-09-27 15:05:16'),(33010,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 10\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'1222\', `amountExcludedTax` = \'1222\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2334\'','expenses/fnSaveExpenses','0.0001671314239502','2016-09-27 15:05:16'),(33011,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.015807867050171','2016-09-27 15:05:16'),(33012,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000026\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.016788005828857','2016-09-27 15:05:16'),(33013,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000026\', \'Loan Repayment [OP-L[00000042]]\', \'Loan Repayment [OP-L[00000042]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 1344, 1344, \'11\')','expenses/fnSaveExpenses','0.023842096328735','2016-09-27 15:05:16'),(33014,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000026\', 1, \'bulan 9\', \'32572\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016676902770996','2016-09-27 15:05:16'),(33015,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000026\', 2, \'bulan 9\', \'32578\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016113996505737','2016-09-27 15:05:16'),(33016,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000026\', 3, \'bulan 10\', \'32572\', 1222, 1, \'1\', \'1222\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016666173934937','2016-09-27 15:05:16'),(33017,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000026\', 4, \'bulan 10\', \'32578\', 1222, 1, \'1\', \'1222\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016106843948364','2016-09-27 15:05:16'),(33018,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1344, `total_amount_cr` = 1344, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000026\'','expenses/fnSaveExpenses','0.016746044158936','2016-09-27 15:05:16'),(33019,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.016218900680542','2016-09-27 15:05:16'),(33020,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11648','expenses/fnSaveExpenses','0.016757011413574','2016-09-27 15:05:16'),(33021,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000026\'','expenses/fnSaveExpenses','0.024515867233276','2016-09-27 15:05:16'),(33022,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023894071578979','2016-09-27 15:05:16'),(33023,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015507936477661','2016-09-27 15:05:16'),(33024,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016175985336304','2016-09-27 15:05:16'),(33025,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015551090240479','2016-09-27 15:05:16'),(33026,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50779\'','expenses/fnSaveExpenses','0.061107873916626','2016-09-27 15:12:09'),(33027,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50780\'','expenses/fnSaveExpenses','0.024517059326172','2016-09-27 15:12:09'),(33028,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50781\'','expenses/fnSaveExpenses','0.016829967498779','2016-09-27 15:12:09'),(33029,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50782\'','expenses/fnSaveExpenses','0.016234874725342','2016-09-27 15:12:09'),(33030,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11648\'','expenses/fnSaveExpenses','0.016847133636475','2016-09-27 15:12:09'),(33031,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'370\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-27\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2280','expenses/fnSaveExpenses','0.02204418182373','2016-09-27 15:12:09'),(33032,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 9\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'122\', `amountExcludedTax` = \'122\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2333\'','expenses/fnSaveExpenses','0.0001988410949707','2016-09-27 15:12:09'),(33033,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 10\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'123\', `amountExcludedTax` = \'123\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2334\'','expenses/fnSaveExpenses','0.016296148300171','2016-09-27 15:12:09'),(33034,12,11,'192.168.1.199','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2280, \'11\', \'bulan 11\', 1, \'32578\', \'125\', \'125\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016218900680542','2016-09-27 15:12:09'),(33035,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.023202896118164','2016-09-27 15:12:09'),(33036,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000027\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.016222953796387','2016-09-27 15:12:09'),(33037,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000027\', \'Loan Repayment [OP-L[00000042]]\', \'Loan Repayment [OP-L[00000042]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 370, 370, \'11\')','expenses/fnSaveExpenses','0.016247987747192','2016-09-27 15:12:09'),(33038,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000027\', 1, \'bulan 9\', \'32572\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016097068786621','2016-09-27 15:12:09'),(33039,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000027\', 2, \'bulan 9\', \'32578\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016716003417969','2016-09-27 15:12:09'),(33040,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000027\', 3, \'bulan 10\', \'32572\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016135931015015','2016-09-27 15:12:09'),(33041,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000027\', 4, \'bulan 10\', \'32578\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.01671314239502','2016-09-27 15:12:09'),(33042,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000027\', 5, \'bulan 11\', \'32572\', 125, 1, \'1\', \'125\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016129016876221','2016-09-27 15:12:09'),(33043,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000027\', 6, \'bulan 11\', \'32578\', 125, 1, \'1\', \'125\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016709089279175','2016-09-27 15:12:09'),(33044,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 370, `total_amount_cr` = 370, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000027\'','expenses/fnSaveExpenses','0.01623010635376','2016-09-27 15:12:09'),(33045,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.016849994659424','2016-09-27 15:12:09'),(33046,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11649','expenses/fnSaveExpenses','0.016144990921021','2016-09-27 15:12:09'),(33047,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000027\'','expenses/fnSaveExpenses','0.016787052154541','2016-09-27 15:12:09'),(33048,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015182018280029','2016-09-27 15:12:09'),(33049,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016266822814941','2016-09-27 15:12:09'),(33050,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015707969665527','2016-09-27 15:12:09'),(33051,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016272068023682','2016-09-27 15:12:09'),(33052,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015711069107056','2016-09-27 15:12:09'),(33053,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016267061233521','2016-09-27 15:12:09'),(33054,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50783\'','expenses/fnSaveExpenses','0.10017395019531','2016-09-27 15:12:38'),(33055,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50784\'','expenses/fnSaveExpenses','0.025120973587036','2016-09-27 15:12:38'),(33056,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50785\'','expenses/fnSaveExpenses','0.016193151473999','2016-09-27 15:12:38'),(33057,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50786\'','expenses/fnSaveExpenses','0.016815185546875','2016-09-27 15:12:38'),(33058,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50787\'','expenses/fnSaveExpenses','0.016215085983276','2016-09-27 15:12:38'),(33059,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'50788\'','expenses/fnSaveExpenses','0.01682186126709','2016-09-27 15:12:39'),(33060,12,11,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'12\'\nAND `ID` =  \'11649\'','expenses/fnSaveExpenses','0.016216993331909','2016-09-27 15:12:39'),(33061,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'12\', `createdBy` = \'11\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'1370\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-27\', `bankId` = \'108\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2280','expenses/fnSaveExpenses','0.022397994995117','2016-09-27 15:12:39'),(33062,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 9\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'122\', `amountExcludedTax` = \'122\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2333\'','expenses/fnSaveExpenses','0.00023293495178223','2016-09-27 15:12:39'),(33063,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 10\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'123\', `amountExcludedTax` = \'123\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2334\'','expenses/fnSaveExpenses','0.00013589859008789','2016-09-27 15:12:39'),(33064,12,11,'192.168.1.199','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2280, `createdBy` = \'11\', `itemdescription` = \'bulan 11\', `lineNo` = 1, `accountID` = \'32578\', `amountIncludedTax` = \'1125\', `amountExcludedTax` = \'1125\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2336\'','expenses/fnSaveExpenses','0.015338897705078','2016-09-27 15:12:39'),(33065,12,11,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'357\'','expenses/fnSaveExpenses','0.018373966217041','2016-09-27 15:12:39'),(33066,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000028\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.025231122970581','2016-09-27 15:12:39'),(33067,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'12\', \'AP20160900000028\', \'Loan Repayment [OP-L[00000042]]\', \'Loan Repayment [OP-L[00000042]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 1370, 1370, \'11\')','expenses/fnSaveExpenses','0.024450063705444','2016-09-27 15:12:39'),(33068,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000028\', 1, \'bulan 9\', \'32572\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016074180603027','2016-09-27 15:12:39'),(33069,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000028\', 2, \'bulan 9\', \'32578\', 122, 1, \'1\', \'122\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.025000810623169','2016-09-27 15:12:39'),(33070,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000028\', 3, \'bulan 10\', \'32572\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.032322883605957','2016-09-27 15:12:39'),(33071,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000028\', 4, \'bulan 10\', \'32578\', 123, 1, \'1\', \'123\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.017104148864746','2016-09-27 15:12:39'),(33072,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000028\', 5, \'bulan 11\', \'32572\', 1125, 1, \'1\', \'1125\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016080141067505','2016-09-27 15:12:39'),(33073,12,11,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'12\', \'AP20160900000028\', 6, \'bulan 11\', \'32578\', 1125, 1, \'1\', \'1125\', \'09\', \'16\', \'1\', \'OP-L[00000042]\', \'User\')','expenses/fnSaveExpenses','0.016670942306519','2016-09-27 15:12:39'),(33074,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 1370, `total_amount_cr` = 1370, `total_amount` = 0 WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000028\'','expenses/fnSaveExpenses','0.024502992630005','2016-09-27 15:12:39'),(33075,12,11,'192.168.1.199','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2280','expenses/fnSaveExpenses','0.016820907592773','2016-09-27 15:12:39'),(33076,12,11,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11650','expenses/fnSaveExpenses','0.016122817993164','2016-09-27 15:12:39'),(33077,12,11,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'12\' AND `journalID` =  \'AP20160900000028\'','expenses/fnSaveExpenses','0.016800165176392','2016-09-27 15:12:39'),(33078,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015032052993774','2016-09-27 15:12:39'),(33079,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016174793243408','2016-09-27 15:12:39'),(33080,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015565872192383','2016-09-27 15:12:39'),(33081,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016157150268555','2016-09-27 15:12:39'),(33082,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32572\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015568017959595','2016-09-27 15:12:39'),(33083,12,11,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'12\' AND `a`.`acctID` =  \'32578\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016170024871826','2016-09-27 15:12:39'),(33084,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'39\', \'28\', 1, \'33322\', \'68\', \'500\', \'OP-C\', \'2016-09-27\', \'172\', \'1\')','expenses/fnSaveExpenses','0.079922914505005','2016-09-27 15:25:12'),(33085,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2281, \'28\', \'Tepung Komak\', 1, \'33322\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.01617693901062','2016-09-27 15:25:12'),(33086,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.038439989089966','2016-09-27 15:25:12'),(33087,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000019\' WHERE `ID` =  2281','expenses/fnSaveExpenses','0.016209840774536','2016-09-27 15:25:12'),(33088,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000019\', \'Cost of Goods Sold [OP-C[00000009]]\', \'Cost of Goods Sold [OP-C[00000009]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 500, 500, \'28\')','expenses/fnSaveExpenses','0.014638900756836','2016-09-27 15:25:12'),(33089,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000019\', 1, \'Tepung Komak\', \'33310\', 500, 1, \'1\', \'500\', \'09\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/fnSaveExpenses','0.024431943893433','2016-09-27 15:25:12'),(33090,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000019\', 2, \'Tepung Komak\', \'33322\', 500, 1, \'1\', \'500\', \'09\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/fnSaveExpenses','0.016701936721802','2016-09-27 15:25:12'),(33091,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000019\'','expenses/fnSaveExpenses','0.024533033370972','2016-09-27 15:25:12'),(33092,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2281','expenses/fnSaveExpenses','0.016864776611328','2016-09-27 15:25:12'),(33093,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11651','expenses/fnSaveExpenses','0.016078948974609','2016-09-27 15:25:12'),(33094,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000019\'','expenses/fnSaveExpenses','0.049673080444336','2016-09-27 15:25:12'),(33095,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.030663967132568','2016-09-27 15:25:12'),(33096,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016197919845581','2016-09-27 15:25:12'),(33097,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50795\'','expenses/fnSaveExpenses','0.026570796966553','2016-09-27 15:25:31'),(33098,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50796\'','expenses/fnSaveExpenses','0.01682186126709','2016-09-27 15:25:31'),(33099,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11651\'','expenses/fnSaveExpenses','0.024567127227783','2016-09-27 15:25:31'),(33100,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33322\', `paymentMethodID` = \'68\', `amountPaid` = \'700\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-27\', `bankId` = \'172\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2281','expenses/fnSaveExpenses','0.014209985733032','2016-09-27 15:25:31'),(33101,39,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2281, `createdBy` = \'28\', `itemdescription` = \'Tepung Komak\', `lineNo` = 1, `accountID` = \'33322\', `amountIncludedTax` = \'700\', `amountExcludedTax` = \'700\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2337\'','expenses/fnSaveExpenses','0.016107797622681','2016-09-27 15:25:31'),(33102,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.021543979644775','2016-09-27 15:25:31'),(33103,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000020\' WHERE `ID` =  2281','expenses/fnSaveExpenses','0.016211032867432','2016-09-27 15:25:32'),(33104,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000020\', \'Cost of Goods Sold [OP-C[00000009]]\', \'Cost of Goods Sold [OP-C[00000009]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 700, 700, \'28\')','expenses/fnSaveExpenses','0.024557113647461','2016-09-27 15:25:32'),(33105,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000020\', 1, \'Tepung Komak\', \'33310\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/fnSaveExpenses','0.016105890274048','2016-09-27 15:25:32'),(33106,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000020\', 2, \'Tepung Komak\', \'33322\', 700, 1, \'1\', \'700\', \'09\', \'16\', \'1\', \'OP-C[00000009]\', \'User\')','expenses/fnSaveExpenses','0.016700983047485','2016-09-27 15:25:32'),(33107,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 700, `total_amount_cr` = 700, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000020\'','expenses/fnSaveExpenses','0.024524927139282','2016-09-27 15:25:32'),(33108,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2281','expenses/fnSaveExpenses','0.016844034194946','2016-09-27 15:25:32'),(33109,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11652','expenses/fnSaveExpenses','0.016142845153809','2016-09-27 15:25:32'),(33110,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000020\'','expenses/fnSaveExpenses','0.02512001991272','2016-09-27 15:25:32'),(33111,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015228033065796','2016-09-27 15:25:32'),(33112,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33322\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016207218170166','2016-09-27 15:25:32'),(33113,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'39\', \'28\', 1, 0, \'68\', \'250\', \'OP-E\', \'2016-09-27\', \'172\', \'1\')','expenses/fnSaveExpenses','0.024358034133911','2016-09-27 15:26:39'),(33114,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2282, \'28\', \'Water\', 1, \'33328\', \'250\', \'250\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016530990600586','2016-09-27 15:26:39'),(33115,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.01924991607666','2016-09-27 15:26:39'),(33116,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000021\' WHERE `ID` =  2282','expenses/fnSaveExpenses','0.016613960266113','2016-09-27 15:26:39'),(33117,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000021\', \'Operating Expenses [OP-E[00000010]]\', \'Operating Expenses [OP-E[00000010]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 250, 250, \'28\')','expenses/fnSaveExpenses','0.014648914337158','2016-09-27 15:26:39'),(33118,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000021\', 1, \'Water\', \'33310\', 250, 1, \'1\', \'250\', \'09\', \'16\', \'1\', \'OP-E[00000010]\', \'User\')','expenses/fnSaveExpenses','0.016097068786621','2016-09-27 15:26:39'),(33119,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000021\', 2, \'Water\', \'33328\', 250, 1, \'1\', \'250\', \'09\', \'16\', \'1\', \'OP-E[00000010]\', \'User\')','expenses/fnSaveExpenses','0.033370971679688','2016-09-27 15:26:39'),(33120,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 250, `total_amount_cr` = 250, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000021\'','expenses/fnSaveExpenses','0.032864809036255','2016-09-27 15:26:39'),(33121,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2282','expenses/fnSaveExpenses','0.033491849899292','2016-09-27 15:26:39'),(33122,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11653','expenses/fnSaveExpenses','0.032742023468018','2016-09-27 15:26:39'),(33123,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000021\'','expenses/fnSaveExpenses','0.025105953216553','2016-09-27 15:26:39'),(33124,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023449897766113','2016-09-27 15:26:39'),(33125,39,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'39\', \'10\', \'33328\', \'2016\', \'9\', \'250\', \'0\', 250, \'User\', \'2016-09-27: 09:09:39\')','expenses/fnSaveExpenses','0.024272918701172','2016-09-27 15:26:39'),(33126,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50799\'','expenses/fnSaveExpenses','0.02615213394165','2016-09-27 15:27:00'),(33127,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50800\'','expenses/fnSaveExpenses','0.016729116439819','2016-09-27 15:27:00'),(33128,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11653\'','expenses/fnSaveExpenses','0.016287088394165','2016-09-27 15:27:00'),(33129,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'239\', `formNo` = \'OP-E\', `paymentDate` = \'2016-09-27\', `bankId` = \'172\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2282','expenses/fnSaveExpenses','0.022455930709839','2016-09-27 15:27:00'),(33130,39,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2282, `createdBy` = \'28\', `itemdescription` = \'Water\', `lineNo` = 1, `accountID` = \'33328\', `amountIncludedTax` = \'239\', `amountExcludedTax` = \'239\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2338\'','expenses/fnSaveExpenses','0.016211986541748','2016-09-27 15:27:00'),(33131,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.026575803756714','2016-09-27 15:27:00'),(33132,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000022\' WHERE `ID` =  2282','expenses/fnSaveExpenses','0.016827821731567','2016-09-27 15:27:00'),(33133,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000022\', \'Operating Expenses [OP-E[00000010]]\', \'Operating Expenses [OP-E[00000010]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 239, 239, \'28\')','expenses/fnSaveExpenses','0.015581130981445','2016-09-27 15:27:00'),(33134,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000022\', 1, \'Water\', \'33310\', 239, 1, \'1\', \'239\', \'09\', \'16\', \'1\', \'OP-E[00000010]\', \'User\')','expenses/fnSaveExpenses','0.016674995422363','2016-09-27 15:27:00'),(33135,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000022\', 2, \'Water\', \'33328\', 239, 1, \'1\', \'239\', \'09\', \'16\', \'1\', \'OP-E[00000010]\', \'User\')','expenses/fnSaveExpenses','0.016107082366943','2016-09-27 15:27:00'),(33136,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 239, `total_amount_cr` = 239, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000022\'','expenses/fnSaveExpenses','0.016799926757812','2016-09-27 15:27:00'),(33137,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2282','expenses/fnSaveExpenses','0.016233921051025','2016-09-27 15:27:00'),(33138,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11654','expenses/fnSaveExpenses','0.016716957092285','2016-09-27 15:27:00'),(33139,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000022\'','expenses/fnSaveExpenses','0.01619815826416','2016-09-27 15:27:00'),(33140,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015758991241455','2016-09-27 15:27:00'),(33141,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33328\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.04065203666687','2016-09-27 15:27:00'),(33142,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'39\', \'28\', 1, 0, \'68\', \'500\', \'OP-A\', \'2016-09-27\', \'172\', \'1\')','expenses/fnSaveExpenses','0.063203096389771','2016-09-27 15:27:44'),(33143,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2283, \'28\', \'Mejo\', 1, \'33299\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.01634407043457','2016-09-27 15:27:44'),(33144,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.042019128799438','2016-09-27 15:27:44'),(33145,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000023\' WHERE `ID` =  2283','expenses/fnSaveExpenses','0.016267061233521','2016-09-27 15:27:44'),(33146,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000023\', \'Purchase of Fixed Asset [OP-A[00000011]]\', \'Purchase of Fixed Asset [OP-A[00000011]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 500, 500, \'28\')','expenses/fnSaveExpenses','0.014487028121948','2016-09-27 15:27:44'),(33147,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000023\', 1, \'Mejo\', \'33310\', 500, 1, \'1\', \'500\', \'09\', \'16\', \'1\', \'OP-A[00000011]\', \'User\')','expenses/fnSaveExpenses','0.01616907119751','2016-09-27 15:27:44'),(33148,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000023\', 2, \'Mejo\', \'33299\', 500, 1, \'1\', \'500\', \'09\', \'16\', \'1\', \'OP-A[00000011]\', \'User\')','expenses/fnSaveExpenses','0.016629934310913','2016-09-27 15:27:44'),(33149,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000023\'','expenses/fnSaveExpenses','0.016260862350464','2016-09-27 15:27:44'),(33150,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2283','expenses/fnSaveExpenses','0.01673412322998','2016-09-27 15:27:44'),(33151,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11655','expenses/fnSaveExpenses','0.016140937805176','2016-09-27 15:27:44'),(33152,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000023\'','expenses/fnSaveExpenses','0.016691923141479','2016-09-27 15:27:44'),(33153,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015229940414429','2016-09-27 15:27:44'),(33154,39,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'39\', \'2\', \'33299\', \'2016\', \'9\', \'500\', \'0\', 500, \'User\', \'2016-09-27: 09:09:44\')','expenses/fnSaveExpenses','0.015861988067627','2016-09-27 15:27:44'),(33155,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50803\'','expenses/fnSaveExpenses','0.031147003173828','2016-09-27 15:28:09'),(33156,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50804\'','expenses/fnSaveExpenses','0.033077955245972','2016-09-27 15:28:09'),(33157,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11655\'','expenses/fnSaveExpenses','0.016623973846436','2016-09-27 15:28:09'),(33158,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'\', `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'395\', `formNo` = \'OP-A\', `paymentDate` = \'2016-09-27\', `bankId` = \'172\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2283','expenses/fnSaveExpenses','0.013867855072021','2016-09-27 15:28:09'),(33159,39,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2283, `createdBy` = \'28\', `itemdescription` = \'Kusi\', `lineNo` = 1, `accountID` = \'33299\', `amountIncludedTax` = \'395\', `amountExcludedTax` = \'395\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2339\'','expenses/fnSaveExpenses','0.016492128372192','2016-09-27 15:28:09'),(33160,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.0277099609375','2016-09-27 15:28:09'),(33161,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000024\' WHERE `ID` =  2283','expenses/fnSaveExpenses','0.016730070114136','2016-09-27 15:28:09'),(33162,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000024\', \'Purchase of Fixed Asset [OP-A[00000011]]\', \'Purchase of Fixed Asset [OP-A[00000011]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 395, 395, \'28\')','expenses/fnSaveExpenses','0.015700101852417','2016-09-27 15:28:09'),(33163,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000024\', 1, \'Kusi\', \'33310\', 395, 1, \'1\', \'395\', \'09\', \'16\', \'1\', \'OP-A[00000011]\', \'User\')','expenses/fnSaveExpenses','0.01662015914917','2016-09-27 15:28:09'),(33164,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000024\', 2, \'Kusi\', \'33299\', 395, 1, \'1\', \'395\', \'09\', \'16\', \'1\', \'OP-A[00000011]\', \'User\')','expenses/fnSaveExpenses','0.016216993331909','2016-09-27 15:28:09'),(33165,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 395, `total_amount_cr` = 395, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000024\'','expenses/fnSaveExpenses','0.01668906211853','2016-09-27 15:28:09'),(33166,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2283','expenses/fnSaveExpenses','0.016364812850952','2016-09-27 15:28:09'),(33167,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11656','expenses/fnSaveExpenses','0.01665210723877','2016-09-27 15:28:09'),(33168,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000024\'','expenses/fnSaveExpenses','0.016294002532959','2016-09-27 15:28:09'),(33169,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015797853469849','2016-09-27 15:28:09'),(33170,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33299\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015784025192261','2016-09-27 15:28:09'),(33171,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'howow!\', \'39\', \'28\', 1, 0, \'68\', \'1099\', \'OP-L\', \'2016-09-27\', \'172\', \'1\')','expenses/fnSaveExpenses','0.10652208328247','2016-09-27 15:29:13'),(33172,39,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2284, \'28\', \'Ansuran\', 1, \'33316\', \'1099\', \'1099\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016506910324097','2016-09-27 15:29:13'),(33173,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.017843008041382','2016-09-27 15:29:13'),(33174,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000025\' WHERE `ID` =  2284','expenses/fnSaveExpenses','0.024068117141724','2016-09-27 15:29:13'),(33175,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000025\', \'Loan Repayment [OP-L[00000012]]\', \'Loan Repayment [OP-L[00000012]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 1099, 1099, \'28\')','expenses/fnSaveExpenses','0.023413896560669','2016-09-27 15:29:13'),(33176,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000025\', 1, \'Ansuran\', \'33310\', 1099, 1, \'1\', \'1099\', \'09\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/fnSaveExpenses','0.033206939697266','2016-09-27 15:29:13'),(33177,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000025\', 2, \'Ansuran\', \'33316\', 1099, 1, \'1\', \'1099\', \'09\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/fnSaveExpenses','0.032898187637329','2016-09-27 15:29:13'),(33178,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1099, `total_amount_cr` = 1099, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000025\'','expenses/fnSaveExpenses','0.016664028167725','2016-09-27 15:29:13'),(33179,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2284','expenses/fnSaveExpenses','0.016340017318726','2016-09-27 15:29:13'),(33180,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11657','expenses/fnSaveExpenses','0.016547918319702','2016-09-27 15:29:13'),(33181,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000025\'','expenses/fnSaveExpenses','0.016316890716553','2016-09-27 15:29:13'),(33182,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015642881393433','2016-09-27 15:29:13'),(33183,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33316\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023912906646729','2016-09-27 15:29:13'),(33184,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50807\'','expenses/fnSaveExpenses','0.035304069519043','2016-09-27 15:29:33'),(33185,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'50808\'','expenses/fnSaveExpenses','0.041544914245605','2016-09-27 15:29:33'),(33186,39,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'39\'\nAND `ID` =  \'11657\'','expenses/fnSaveExpenses','0.016505002975464','2016-09-27 15:29:33'),(33187,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = \'howow!\', `companyID` = \'39\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = 0, `paymentMethodID` = \'68\', `amountPaid` = \'999\', `formNo` = \'OP-L\', `paymentDate` = \'2016-09-27\', `bankId` = \'172\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2284','expenses/fnSaveExpenses','0.030663013458252','2016-09-27 15:29:33'),(33188,39,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2284, `createdBy` = \'28\', `itemdescription` = \'Ansuran\', `lineNo` = 1, `accountID` = \'33316\', `amountIncludedTax` = \'999\', `amountExcludedTax` = \'999\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2340\'','expenses/fnSaveExpenses','0.016382932662964','2016-09-27 15:29:33'),(33189,39,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'356\'','expenses/fnSaveExpenses','0.022298097610474','2016-09-27 15:29:33'),(33190,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000026\' WHERE `ID` =  2284','expenses/fnSaveExpenses','0.016617059707642','2016-09-27 15:29:33'),(33191,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'39\', \'AP20160900000026\', \'Loan Repayment [OP-L[00000012]]\', \'Loan Repayment [OP-L[00000012]]\', \'\', \'3\', \'2016-09-27\', \'16\', \'09\', 999, 999, \'28\')','expenses/fnSaveExpenses','0.015874147415161','2016-09-27 15:29:33'),(33192,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000026\', 1, \'Ansuran\', \'33310\', 999, 1, \'1\', \'999\', \'09\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/fnSaveExpenses','0.016442060470581','2016-09-27 15:29:33'),(33193,39,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'39\', \'AP20160900000026\', 2, \'Ansuran\', \'33316\', 999, 1, \'1\', \'999\', \'09\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/fnSaveExpenses','0.016378164291382','2016-09-27 15:29:33'),(33194,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 999, `total_amount_cr` = 999, `total_amount` = 0 WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000026\'','expenses/fnSaveExpenses','0.016539096832275','2016-09-27 15:29:33'),(33195,39,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2284','expenses/fnSaveExpenses','0.016480207443237','2016-09-27 15:29:33'),(33196,39,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11658','expenses/fnSaveExpenses','0.016526937484741','2016-09-27 15:29:33'),(33197,39,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'39\' AND `journalID` =  \'AP20160900000026\'','expenses/fnSaveExpenses','0.016432046890259','2016-09-27 15:29:33'),(33198,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33310\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.034358024597168','2016-09-27 15:29:33'),(33199,39,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'39\' AND `a`.`acctID` =  \'33316\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015928983688354','2016-09-27 15:29:33'),(33200,39,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'39\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0396139621735','2016-09-27 15:31:31'),(33201,40,28,'192.168.1.201','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'40\'','setup/updateCompany','0.025629043579102','2016-09-28 15:36:34'),(33202,40,28,'192.168.1.201','update','UPDATE `spslitem_tekun_admindb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'9\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  \'40\'','setup/updateCompany','0.016754865646362','2016-09-28 15:36:34'),(33203,40,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 40, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 40)','setup/assetSetup','0.094350099563599','2016-09-29 08:59:36'),(33204,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.099581003189087','2016-09-29 08:59:39'),(33205,40,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'MBB\', `currentBalance` = \'10000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'179\'','bank/saveBank','0.10068416595459','2016-09-29 08:59:53'),(33206,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'MBB\', `openingBalanceDr` = 10000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33373\'','bank/saveBank','0.01013708114624','2016-09-29 08:59:53'),(33207,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.0010731220245361','2016-09-29 08:59:57'),(33208,40,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'20000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'180\'','bank/saveBank','0.083355188369751','2016-09-29 09:00:14'),(33209,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 20000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33374\'','bank/saveBank','0.01164698600769','2016-09-29 09:00:14'),(33210,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.0010349750518799','2016-09-29 09:00:15'),(33211,40,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'BIMB\', `currentBalance` = \'30000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'181\'','bank/saveBank','0.088749170303345','2016-09-29 09:00:28'),(33212,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'BIMB\', `openingBalanceDr` = 30000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33375\'','bank/saveBank','0.016714096069336','2016-09-29 09:00:28'),(33213,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.001126766204834','2016-09-29 09:00:30'),(33214,40,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 1	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'182\'','bank/saveBank','0.011245012283325','2016-09-29 09:00:36'),(33215,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 1	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33376\'','bank/saveBank','0.012609958648682','2016-09-29 09:00:36'),(33216,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.0010960102081299','2016-09-29 09:00:37'),(33217,40,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'Petty Cash 2	\', `currentBalance` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'183\'','bank/saveBank','0.080770015716553','2016-09-29 09:00:42'),(33218,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Petty Cash 2	\', `openingBalanceCr` = 0, `openingBalanceDr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33377\'','bank/saveBank','0.028545141220093','2016-09-29 09:00:42'),(33219,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.0011429786682129','2016-09-29 09:00:43'),(33220,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'BISNES LOAN\', `openingBalanceCr` = \'100000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33379\'','setup/saveLoan','0.079570055007935','2016-09-29 09:01:07'),(33221,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'HIRE PURCHASE LOAN\', `openingBalanceCr` = \'135000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33380\'','setup/saveLoan','0.082819938659668','2016-09-29 09:01:32'),(33222,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 3	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33381\'','setup/saveLoan','0.08191990852356','2016-09-29 09:01:53'),(33223,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 4	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33382\'','setup/saveLoan','0.08133602142334','2016-09-29 09:02:06'),(33224,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 5	\', `openingBalanceCr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'1\' WHERE `ID` =  \'33383\'','setup/saveLoan','0.084481000900269','2016-09-29 09:02:11'),(33225,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'1000.00\', \'40\')','sales/save_new_sale','0.27030515670776','2016-09-29 09:15:23'),(33226,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2378, \'33384\', \'IKAN PATIN TEMPOYAK\', \'1000.00\', 1)','sales/save_new_sale','0.016203880310059','2016-09-29 09:15:23'),(33227,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2378','sales/save_new_sale','0.00021886825561523','2016-09-29 09:15:23'),(33228,40,28,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'40\', \'2\', \'2016\', \'09\', \'AR\', 1)','sales/save_new_sale','0.017677068710327','2016-09-29 09:15:23'),(33229,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000001\' WHERE `ID` =  2378','sales/save_new_sale','0.13749814033508','2016-09-29 09:15:23'),(33230,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000001\', \'OR[00000001]\', \'Sales [ OR[00000001] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'1000\', \'1000\', \'28\')','sales/save_new_sale','0.059818983078003','2016-09-29 09:15:23'),(33231,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000001\', 1, \'IKAN PATIN TEMPOYAK\', \'33384\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'1\', \'OR[00000001]\', \'0\', \'User\')','sales/save_new_sale','0.024692058563232','2016-09-29 09:15:23'),(33232,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000001\', \'IKAN PATIN TEMPOYAK\', \'33373\', \'\', 1000, \'1\', \'1\', \'1000\', \'09\', \'2016\', \'OR[00000001]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.024720907211304','2016-09-29 09:15:23'),(33233,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000001\'','sales/save_new_sale','0.049810886383057','2016-09-29 09:15:23'),(33234,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2378','sales/save_new_sale','0.012879848480225','2016-09-29 09:15:23'),(33235,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11659','sales/save_new_sale','0.028551816940308','2016-09-29 09:15:23'),(33236,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000001\'','sales/save_new_sale','0.037793159484863','2016-09-29 09:15:23'),(33237,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'3\', \'33373\', \'2016\', \'9\', \'1000\', \'0\', 1000, \'User\', \'2016-09-29: 03:09:23\')','sales/save_new_sale','0.037201166152954','2016-09-29 09:15:23'),(33238,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'7\', \'33384\', \'2016\', \'9\', \'0\', \'1000\', -1000, \'User\', \'2016-09-29: 03:09:23\')','sales/save_new_sale','0.0119469165802','2016-09-29 09:15:23'),(33239,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000001\'','sales/save_update_sale','0.10506701469421','2016-09-29 09:16:51'),(33240,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000001\'','sales/save_update_sale','0.033175945281982','2016-09-29 09:16:51'),(33241,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-29\', `bankID` = \'179\', `totalReceived` = \'1050.00\', `updateAble` = 1 WHERE `ID` =  \'2378\'','sales/save_update_sale','0.012686014175415','2016-09-29 09:16:51'),(33242,40,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2378\'','sales/save_update_sale','0.011952877044678','2016-09-29 09:16:51'),(33243,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2378\', \'IKAN PATIN TEMPOYAK\', \'1050.00\', \'33384\', 1)','sales/save_update_sale','0.024883031845093','2016-09-29 09:16:51'),(33244,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2378\'','sales/save_update_sale','0.00022196769714355','2016-09-29 09:16:51'),(33245,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'358\'','sales/save_update_sale','0.026109933853149','2016-09-29 09:16:51'),(33246,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000002\' WHERE `ID` =  \'2378\'','sales/save_update_sale','0.01274585723877','2016-09-29 09:16:51'),(33247,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000002\', \'OR[00000001]\', \'Sales [ OR[00000001] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'1050\', \'1050\', \'28\')','sales/save_update_sale','0.014041900634766','2016-09-29 09:16:51'),(33248,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000002\', 1, \'IKAN PATIN TEMPOYAK\', \'33384\', \'\', 1050, \'1\', \'1\', \'1050\', \'09\', \'2016\', \'1\', \'OR[00000001]\', \'0\', \'User\')','sales/save_update_sale','0.016659021377563','2016-09-29 09:16:51'),(33249,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000002\', \'IKAN PATIN TEMPOYAK\', \'33373\', \'\', 1050, \'1\', \'1\', \'1050\', \'09\', \'2016\', \'OR[00000001]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.011775016784668','2016-09-29 09:16:51'),(33250,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1050, `total_amount_cr` = 1050, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000002\'','sales/save_update_sale','0.01273512840271','2016-09-29 09:16:51'),(33251,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2378\'','sales/save_update_sale','0.016239881515503','2016-09-29 09:16:51'),(33252,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11660','sales/save_update_sale','0.012199878692627','2016-09-29 09:16:51'),(33253,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000002\'','sales/save_update_sale','0.012470006942749','2016-09-29 09:16:51'),(33254,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.034440994262695','2016-09-29 09:16:51'),(33255,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.011860132217407','2016-09-29 09:16:51'),(33256,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'100.00\', \'40\')','sales/save_new_sale','0.11126494407654','2016-09-29 09:18:11'),(33257,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2379, \'33384\', \'TUNGKING GORENG\', \'100.00\', 1)','sales/save_new_sale','0.012633085250854','2016-09-29 09:18:11'),(33258,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2379','sales/save_new_sale','0.00022006034851074','2016-09-29 09:18:11'),(33259,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'358\'','sales/save_new_sale','0.013018131256104','2016-09-29 09:18:11'),(33260,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000003\' WHERE `ID` =  2379','sales/save_new_sale','0.012659788131714','2016-09-29 09:18:11'),(33261,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000003\', \'OR[00000002]\', \'Sales [ OR[00000002] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'100\', \'100\', \'28\')','sales/save_new_sale','0.0097601413726807','2016-09-29 09:18:11'),(33262,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000003\', 1, \'TUNGKING GORENG\', \'33384\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'1\', \'OR[00000002]\', \'0\', \'User\')','sales/save_new_sale','0.012547016143799','2016-09-29 09:18:11'),(33263,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000003\', \'TUNGKING GORENG\', \'33373\', \'\', 100, \'1\', \'1\', \'100\', \'09\', \'2016\', \'OR[00000002]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.028578996658325','2016-09-29 09:18:11'),(33264,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000003\'','sales/save_new_sale','0.012619972229004','2016-09-29 09:18:11'),(33265,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2379','sales/save_new_sale','0.020382165908813','2016-09-29 09:18:11'),(33266,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11661','sales/save_new_sale','0.012689113616943','2016-09-29 09:18:11'),(33267,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000003\'','sales/save_new_sale','0.011974811553955','2016-09-29 09:18:11'),(33268,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.010337829589844','2016-09-29 09:18:11'),(33269,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011425971984863','2016-09-29 09:18:11'),(33270,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'40\', \'28\', 1, \'33385\', \'68\', \'500\', \'OP-C\', \'2016-09-29\', \'179\', \'1\')','expenses/fnSaveExpenses','0.042150020599365','2016-09-29 09:18:46'),(33271,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2285, \'28\', \'IKAN PATIN\', 1, \'33385\', \'500\', \'500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024809122085571','2016-09-29 09:18:46'),(33272,40,28,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'40\', \'3\', \'16\', \'09\', \'AP\', 1)','expenses/fnSaveExpenses','0.016690015792847','2016-09-29 09:18:46'),(33273,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP160900000001\' WHERE `ID` =  2285','expenses/fnSaveExpenses','0.016800880432129','2016-09-29 09:18:46'),(33274,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP160900000001\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 500, 500, \'28\')','expenses/fnSaveExpenses','0.022426843643188','2016-09-29 09:18:46'),(33275,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP160900000001\', 1, \'IKAN PATIN\', \'33373\', 500, 1, \'1\', \'500\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.012135982513428','2016-09-29 09:18:46'),(33276,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP160900000001\', 2, \'IKAN PATIN\', \'33385\', 500, 1, \'1\', \'500\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.012309074401855','2016-09-29 09:18:46'),(33277,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.012276887893677','2016-09-29 09:18:46'),(33278,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2285','expenses/fnSaveExpenses','0.012454986572266','2016-09-29 09:18:46'),(33279,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11662','expenses/fnSaveExpenses','0.028815031051636','2016-09-29 09:18:46'),(33280,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP160900000001\'','expenses/fnSaveExpenses','0.024796962738037','2016-09-29 09:18:46'),(33281,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.030956983566284','2016-09-29 09:18:46'),(33282,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'8\', \'33385\', \'2016\', \'9\', \'500\', \'0\', 500, \'User\', \'2016-09-29: 03:09:46\')','expenses/fnSaveExpenses','0.011707067489624','2016-09-29 09:18:46'),(33283,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50817\'','expenses/fnSaveExpenses','0.018550157546997','2016-09-29 09:19:03'),(33284,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50818\'','expenses/fnSaveExpenses','0.012140989303589','2016-09-29 09:19:03'),(33285,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11662\'','expenses/fnSaveExpenses','0.012560844421387','2016-09-29 09:19:03'),(33286,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'40\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33385\', `paymentMethodID` = \'68\', `amountPaid` = \'450\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-29\', `bankId` = \'179\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2285','expenses/fnSaveExpenses','0.017953157424927','2016-09-29 09:19:03'),(33287,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2285, `createdBy` = \'28\', `itemdescription` = \'IKAN PATIN\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'450\', `amountExcludedTax` = \'450\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2341\'','expenses/fnSaveExpenses','0.012413024902344','2016-09-29 09:19:04'),(33288,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.02420711517334','2016-09-29 09:19:04'),(33289,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000002\' WHERE `ID` =  2285','expenses/fnSaveExpenses','0.012576103210449','2016-09-29 09:19:04'),(33290,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000002\', \'Cost of Goods Sold [OP-C[00000001]]\', \'Cost of Goods Sold [OP-C[00000001]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 450, 450, \'28\')','expenses/fnSaveExpenses','0.011442899703979','2016-09-29 09:19:04'),(33291,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000002\', 1, \'IKAN PATIN\', \'33373\', 450, 1, \'1\', \'450\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.012467861175537','2016-09-29 09:19:04'),(33292,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000002\', 2, \'IKAN PATIN\', \'33385\', 450, 1, \'1\', \'450\', \'09\', \'16\', \'1\', \'OP-C[00000001]\', \'User\')','expenses/fnSaveExpenses','0.011992216110229','2016-09-29 09:19:04'),(33293,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 450, `total_amount_cr` = 450, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.012563943862915','2016-09-29 09:19:04'),(33294,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2285','expenses/fnSaveExpenses','0.016274929046631','2016-09-29 09:19:04'),(33295,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11663','expenses/fnSaveExpenses','0.012315034866333','2016-09-29 09:19:04'),(33296,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000002\'','expenses/fnSaveExpenses','0.012264966964722','2016-09-29 09:19:04'),(33297,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01145601272583','2016-09-29 09:19:04'),(33298,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.028450012207031','2016-09-29 09:19:04'),(33299,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'40\', \'28\', 1, \'33385\', \'68\', \'50\', \'OP-C\', \'2016-09-29\', \'179\', \'1\')','expenses/fnSaveExpenses','0.09572696685791','2016-09-29 09:19:27'),(33300,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2286, \'28\', \'TEMPOYAK\', 1, \'33385\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012439012527466','2016-09-29 09:19:27'),(33301,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.017844200134277','2016-09-29 09:19:27'),(33302,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000003\' WHERE `ID` =  2286','expenses/fnSaveExpenses','0.012585163116455','2016-09-29 09:19:27'),(33303,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000003\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 50, 50, \'28\')','expenses/fnSaveExpenses','0.0098221302032471','2016-09-29 09:19:27'),(33304,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000003\', 1, \'TEMPOYAK\', \'33373\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.016393899917603','2016-09-29 09:19:27'),(33305,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000003\', 2, \'TEMPOYAK\', \'33385\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.020539999008179','2016-09-29 09:19:27'),(33306,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.020688056945801','2016-09-29 09:19:27'),(33307,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2286','expenses/fnSaveExpenses','0.012319803237915','2016-09-29 09:19:27'),(33308,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11664','expenses/fnSaveExpenses','0.012209892272949','2016-09-29 09:19:27'),(33309,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000003\'','expenses/fnSaveExpenses','0.012267827987671','2016-09-29 09:19:27'),(33310,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011352062225342','2016-09-29 09:19:27'),(33311,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011749982833862','2016-09-29 09:19:27'),(33312,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50821\'','expenses/fnSaveExpenses','0.015885829925537','2016-09-29 09:20:15'),(33313,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50822\'','expenses/fnSaveExpenses','0.012482881546021','2016-09-29 09:20:15'),(33314,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11664\'','expenses/fnSaveExpenses','0.01216197013855','2016-09-29 09:20:15'),(33315,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'40\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33385\', `paymentMethodID` = \'68\', `amountPaid` = \'450\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-29\', `bankId` = \'179\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2286','expenses/fnSaveExpenses','0.013986110687256','2016-09-29 09:20:15'),(33316,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2286, `createdBy` = \'28\', `itemdescription` = \'TEMPOYAK\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2342\'','expenses/fnSaveExpenses','0.027441024780273','2016-09-29 09:20:15'),(33317,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2286, \'28\', \'TUNGKING AYAM\', 1, \'33385\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.013473033905029','2016-09-29 09:20:15'),(33318,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2286, \'28\', \'TRAY BESI\', 1, \'33385\', \'150\', \'150\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.01250696182251','2016-09-29 09:20:15'),(33319,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2286, \'28\', \'JUG AIR\', 1, \'33385\', \'150\', \'150\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.012158870697021','2016-09-29 09:20:15'),(33320,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.014598846435547','2016-09-29 09:20:15'),(33321,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000004\' WHERE `ID` =  2286','expenses/fnSaveExpenses','0.012166976928711','2016-09-29 09:20:15'),(33322,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', \'Cost of Goods Sold [OP-C[00000002]]\', \'Cost of Goods Sold [OP-C[00000002]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 450, 450, \'28\')','expenses/fnSaveExpenses','0.011898994445801','2016-09-29 09:20:15'),(33323,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', 1, \'TEMPOYAK\', \'33373\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.012032985687256','2016-09-29 09:20:15'),(33324,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', 2, \'TEMPOYAK\', \'33385\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.012455940246582','2016-09-29 09:20:16'),(33325,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', 3, \'TUNGKING AYAM\', \'33373\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.012032985687256','2016-09-29 09:20:16'),(33326,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', 4, \'TUNGKING AYAM\', \'33385\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.012465953826904','2016-09-29 09:20:16'),(33327,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', 5, \'TRAY BESI\', \'33373\', 150, 1, \'1\', \'150\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.012040138244629','2016-09-29 09:20:16'),(33328,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', 6, \'TRAY BESI\', \'33385\', 150, 1, \'1\', \'150\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.012458086013794','2016-09-29 09:20:16'),(33329,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', 7, \'JUG AIR\', \'33373\', 150, 1, \'1\', \'150\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.016258955001831','2016-09-29 09:20:16'),(33330,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000004\', 8, \'JUG AIR\', \'33385\', 150, 1, \'1\', \'150\', \'09\', \'16\', \'1\', \'OP-C[00000002]\', \'User\')','expenses/fnSaveExpenses','0.012212991714478','2016-09-29 09:20:16'),(33331,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 450, `total_amount_cr` = 450, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.012372016906738','2016-09-29 09:20:16'),(33332,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2286','expenses/fnSaveExpenses','0.012344121932983','2016-09-29 09:20:16'),(33333,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11665','expenses/fnSaveExpenses','0.012332916259766','2016-09-29 09:20:16'),(33334,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000004\'','expenses/fnSaveExpenses','0.012259960174561','2016-09-29 09:20:16'),(33335,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0099179744720459','2016-09-29 09:20:16'),(33336,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011651039123535','2016-09-29 09:20:16'),(33337,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011773824691772','2016-09-29 09:20:16'),(33338,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011677026748657','2016-09-29 09:20:16'),(33339,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01175594329834','2016-09-29 09:20:16'),(33340,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011681079864502','2016-09-29 09:20:16'),(33341,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011749029159546','2016-09-29 09:20:16'),(33342,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011670827865601','2016-09-29 09:20:16'),(33343,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'30.00\', \'40\')','sales/save_new_sale','0.041817188262939','2016-09-29 09:21:35'),(33344,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2380, \'33384\', \'AIR LIMAU ASAM BOI\', \'30.00\', 1)','sales/save_new_sale','0.028630018234253','2016-09-29 09:21:35'),(33345,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2380','sales/save_new_sale','0.00018906593322754','2016-09-29 09:21:35'),(33346,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'358\'','sales/save_new_sale','0.015034914016724','2016-09-29 09:21:35'),(33347,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000004\' WHERE `ID` =  2380','sales/save_new_sale','0.020704030990601','2016-09-29 09:21:35'),(33348,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000004\', \'OR[00000003]\', \'Sales [ OR[00000003] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'30\', \'30\', \'28\')','sales/save_new_sale','0.014284133911133','2016-09-29 09:21:35'),(33349,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000004\', 1, \'AIR LIMAU ASAM BOI\', \'33384\', \'\', 30, \'1\', \'1\', \'30\', \'09\', \'2016\', \'1\', \'OR[00000003]\', \'0\', \'User\')','sales/save_new_sale','0.011905908584595','2016-09-29 09:21:35'),(33350,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000004\', \'AIR LIMAU ASAM BOI\', \'33373\', \'\', 30, \'1\', \'1\', \'30\', \'09\', \'2016\', \'OR[00000003]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.01254415512085','2016-09-29 09:21:35'),(33351,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30, `total_amount_cr` = 30, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000004\'','sales/save_new_sale','0.012048959732056','2016-09-29 09:21:35'),(33352,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2380','sales/save_new_sale','0.021006107330322','2016-09-29 09:21:35'),(33353,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11666','sales/save_new_sale','0.016528844833374','2016-09-29 09:21:35'),(33354,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000004\'','sales/save_new_sale','0.045671939849854','2016-09-29 09:21:35'),(33355,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015060186386108','2016-09-29 09:21:35'),(33356,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.020430088043213','2016-09-29 09:21:35'),(33357,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'40\', \'28\', 1, 0, \'68\', \'250\', \'OP-E\', \'2016-09-29\', \'179\', \'1\')','expenses/fnSaveExpenses','0.042507886886597','2016-09-29 09:30:37'),(33358,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2287, \'28\', \'ELECTRICITY\', 1, \'33391\', \'250\', \'250\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041479110717773','2016-09-29 09:30:37'),(33359,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.0299391746521','2016-09-29 09:30:37'),(33360,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000005\' WHERE `ID` =  2287','expenses/fnSaveExpenses','0.028689861297607','2016-09-29 09:30:37'),(33361,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000005\', \'Operating Expenses [OP-E[00000003]]\', \'Operating Expenses [OP-E[00000003]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 250, 250, \'28\')','expenses/fnSaveExpenses','0.010394811630249','2016-09-29 09:30:37'),(33362,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000005\', 1, \'ELECTRICITY\', \'33373\', 250, 1, \'1\', \'250\', \'09\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/fnSaveExpenses','0.011924028396606','2016-09-29 09:30:37'),(33363,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000005\', 2, \'ELECTRICITY\', \'33391\', 250, 1, \'1\', \'250\', \'09\', \'16\', \'1\', \'OP-E[00000003]\', \'User\')','expenses/fnSaveExpenses','0.012529134750366','2016-09-29 09:30:37'),(33364,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 250, `total_amount_cr` = 250, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.01200008392334','2016-09-29 09:30:37'),(33365,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2287','expenses/fnSaveExpenses','0.029350996017456','2016-09-29 09:30:37'),(33366,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11667','expenses/fnSaveExpenses','0.011892080307007','2016-09-29 09:30:37'),(33367,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000005\'','expenses/fnSaveExpenses','0.012619018554688','2016-09-29 09:30:37'),(33368,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023884057998657','2016-09-29 09:30:38'),(33369,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'10\', \'33391\', \'2016\', \'9\', \'250\', \'0\', 250, \'User\', \'2016-09-29: 03:09:37\')','expenses/fnSaveExpenses','0.011600017547607','2016-09-29 09:30:38'),(33370,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'40\', \'28\', 1, 0, \'68\', \'100\', \'OP-E\', \'2016-09-29\', \'179\', \'1\')','expenses/fnSaveExpenses','0.24872493743896','2016-09-29 09:31:02'),(33371,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2288, \'28\', \'WATER\', 1, \'33391\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011795997619629','2016-09-29 09:31:02'),(33372,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.021859169006348','2016-09-29 09:31:02'),(33373,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000006\' WHERE `ID` =  2288','expenses/fnSaveExpenses','0.01238489151001','2016-09-29 09:31:02'),(33374,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000006\', \'Operating Expenses [OP-E[00000004]]\', \'Operating Expenses [OP-E[00000004]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 100, 100, \'28\')','expenses/fnSaveExpenses','0.018330097198486','2016-09-29 09:31:02'),(33375,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000006\', 1, \'WATER\', \'33373\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-E[00000004]\', \'User\')','expenses/fnSaveExpenses','0.028943061828613','2016-09-29 09:31:02'),(33376,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000006\', 2, \'WATER\', \'33391\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-E[00000004]\', \'User\')','expenses/fnSaveExpenses','0.012205839157104','2016-09-29 09:31:02'),(33377,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.012336015701294','2016-09-29 09:31:02'),(33378,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2288','expenses/fnSaveExpenses','0.012305974960327','2016-09-29 09:31:02'),(33379,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11668','expenses/fnSaveExpenses','0.028944969177246','2016-09-29 09:31:02'),(33380,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000006\'','expenses/fnSaveExpenses','0.024807929992676','2016-09-29 09:31:02'),(33381,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023825168609619','2016-09-29 09:31:02'),(33382,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33391\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011659860610962','2016-09-29 09:31:02'),(33383,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'40\', \'28\', 1, 0, \'68\', \'1500\', \'OP-E\', \'2016-09-29\', \'179\', \'1\')','expenses/fnSaveExpenses','0.09435510635376','2016-09-29 09:31:36'),(33384,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2289, \'28\', \'GAJI BULANAN\', 1, \'33410\', \'1500\', \'1500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084259510040283','2016-09-29 09:31:36'),(33385,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.019953966140747','2016-09-29 09:31:36'),(33386,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000007\' WHERE `ID` =  2289','expenses/fnSaveExpenses','0.012736082077026','2016-09-29 09:31:36'),(33387,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000007\', \'Operating Expenses [OP-E[00000005]]\', \'Operating Expenses [OP-E[00000005]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 1500, 1500, \'28\')','expenses/fnSaveExpenses','0.0096480846405029','2016-09-29 09:31:36'),(33388,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000007\', 1, \'GAJI BULANAN\', \'33373\', 1500, 1, \'1\', \'1500\', \'09\', \'16\', \'1\', \'OP-E[00000005]\', \'User\')','expenses/fnSaveExpenses','0.01261305809021','2016-09-29 09:31:36'),(33389,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000007\', 2, \'GAJI BULANAN\', \'33410\', 1500, 1, \'1\', \'1500\', \'09\', \'16\', \'1\', \'OP-E[00000005]\', \'User\')','expenses/fnSaveExpenses','0.011847019195557','2016-09-29 09:31:36'),(33390,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1500, `total_amount_cr` = 1500, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000007\'','expenses/fnSaveExpenses','0.012707948684692','2016-09-29 09:31:36'),(33391,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2289','expenses/fnSaveExpenses','0.011974096298218','2016-09-29 09:31:36'),(33392,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11669','expenses/fnSaveExpenses','0.012589931488037','2016-09-29 09:31:36'),(33393,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000007\'','expenses/fnSaveExpenses','0.011903047561646','2016-09-29 09:31:36'),(33394,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011674880981445','2016-09-29 09:31:36'),(33395,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'10\', \'33410\', \'2016\', \'9\', \'1500\', \'0\', 1500, \'User\', \'2016-09-29: 03:09:36\')','expenses/fnSaveExpenses','0.011068105697632','2016-09-29 09:31:36'),(33396,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'5000.00\', \'40\')','sales/save_new_sale','0.0382981300354','2016-09-29 09:32:03'),(33397,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2381, \'33384\', \'NASI AYAM\', \'5000.00\', 1)','sales/save_new_sale','0.012922048568726','2016-09-29 09:32:03'),(33398,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2381','sales/save_new_sale','0.00019717216491699','2016-09-29 09:32:03'),(33399,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'358\'','sales/save_new_sale','0.017163038253784','2016-09-29 09:32:03'),(33400,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000005\' WHERE `ID` =  2381','sales/save_new_sale','0.010432004928589','2016-09-29 09:32:03'),(33401,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000005\', \'OR[00000004]\', \'Sales [ OR[00000004] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'5000\', \'5000\', \'28\')','sales/save_new_sale','0.010431051254272','2016-09-29 09:32:03'),(33402,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000005\', 1, \'NASI AYAM\', \'33384\', \'\', 5000, \'1\', \'1\', \'5000\', \'09\', \'2016\', \'1\', \'OR[00000004]\', \'0\', \'User\')','sales/save_new_sale','0.011934041976929','2016-09-29 09:32:03'),(33403,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000005\', \'NASI AYAM\', \'33373\', \'\', 5000, \'1\', \'1\', \'5000\', \'09\', \'2016\', \'OR[00000004]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012519836425781','2016-09-29 09:32:03'),(33404,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000005\'','sales/save_new_sale','0.012101888656616','2016-09-29 09:32:03'),(33405,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2381','sales/save_new_sale','0.012638092041016','2016-09-29 09:32:03'),(33406,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11670','sales/save_new_sale','0.012085199356079','2016-09-29 09:32:03'),(33407,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000005\'','sales/save_new_sale','0.054280996322632','2016-09-29 09:32:03'),(33408,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011046171188354','2016-09-29 09:32:03'),(33409,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.012078046798706','2016-09-29 09:32:03'),(33410,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'15900.00\', \'40\')','sales/save_new_sale','0.089005947113037','2016-09-29 09:32:25'),(33411,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2382, \'33384\', \'WEDDING ARTIST\', \'15900.00\', 1)','sales/save_new_sale','0.0084600448608398','2016-09-29 09:32:25'),(33412,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2382','sales/save_new_sale','0.00021791458129883','2016-09-29 09:32:25'),(33413,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'358\'','sales/save_new_sale','0.011106014251709','2016-09-29 09:32:25'),(33414,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000006\' WHERE `ID` =  2382','sales/save_new_sale','0.012068033218384','2016-09-29 09:32:25'),(33415,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000006\', \'OR[00000005]\', \'Sales [ OR[00000005] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'15900\', \'15900\', \'28\')','sales/save_new_sale','0.010427951812744','2016-09-29 09:32:25'),(33416,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000006\', 1, \'WEDDING ARTIST\', \'33384\', \'\', 15900, \'1\', \'1\', \'15900\', \'09\', \'2016\', \'1\', \'OR[00000005]\', \'0\', \'User\')','sales/save_new_sale','0.01193380355835','2016-09-29 09:32:25'),(33417,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000006\', \'WEDDING ARTIST\', \'33373\', \'\', 15900, \'1\', \'1\', \'15900\', \'09\', \'2016\', \'OR[00000005]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0077581405639648','2016-09-29 09:32:26'),(33418,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 15900, `total_amount_cr` = 15900, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000006\'','sales/save_new_sale','0.0084478855133057','2016-09-29 09:32:26'),(33419,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2382','sales/save_new_sale','0.012686967849731','2016-09-29 09:32:26'),(33420,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11671','sales/save_new_sale','0.012102127075195','2016-09-29 09:32:26'),(33421,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000006\'','sales/save_new_sale','0.0078830718994141','2016-09-29 09:32:26'),(33422,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011941909790039','2016-09-29 09:32:26'),(33423,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011178970336914','2016-09-29 09:32:26'),(33424,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-01\', \'179\', \'OR\', \'29000.00\', \'40\')','sales/save_new_sale','0.13839888572693','2016-09-29 09:33:03'),(33425,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2383, \'33384\', \'WEDDING SI WEDDING PLANNER\', \'29000.00\', 1)','sales/save_new_sale','0.012730836868286','2016-09-29 09:33:03'),(33426,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2383','sales/save_new_sale','0.00032591819763184','2016-09-29 09:33:03'),(33427,40,28,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'40\', \'2\', \'2016\', \'10\', \'AR\', 1)','sales/save_new_sale','0.016012907028198','2016-09-29 09:33:03'),(33428,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000001\' WHERE `ID` =  2383','sales/save_new_sale','0.0089218616485596','2016-09-29 09:33:03'),(33429,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000001\', \'OR[00000006]\', \'Sales [ OR[00000006] ]\', \'\', \'2\', \'2016-10-01\', \'2016\', \'10\', \'29000\', \'29000\', \'28\')','sales/save_new_sale','0.010796785354614','2016-09-29 09:33:03'),(33430,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000001\', 1, \'WEDDING SI WEDDING PLANNER\', \'33384\', \'\', 29000, \'1\', \'1\', \'29000\', \'10\', \'2016\', \'1\', \'OR[00000006]\', \'0\', \'User\')','sales/save_new_sale','0.019853830337524','2016-09-29 09:33:03'),(33431,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000001\', \'WEDDING SI WEDDING PLANNER\', \'33373\', \'\', 29000, \'1\', \'1\', \'29000\', \'10\', \'2016\', \'OR[00000006]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0083749294281006','2016-09-29 09:33:03'),(33432,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 29000, `total_amount_cr` = 29000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000001\'','sales/save_new_sale','0.021040916442871','2016-09-29 09:33:03'),(33433,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2383','sales/save_new_sale','0.016533136367798','2016-09-29 09:33:03'),(33434,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11672','sales/save_new_sale','0.011713027954102','2016-09-29 09:33:03'),(33435,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000001\'','sales/save_new_sale','0.016765117645264','2016-09-29 09:33:03'),(33436,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'7\', \'33384\', \'2016\', \'10\', \'0\', \'29000\', -29000, \'User\', \'2016-09-29: 03:09:03\')','sales/save_new_sale','0.014205932617188','2016-09-29 09:33:03'),(33437,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'3\', \'33373\', \'2016\', \'10\', \'29000\', \'0\', 29000, \'User\', \'2016-09-29: 03:09:03\')','sales/save_new_sale','0.011090040206909','2016-09-29 09:33:03'),(33438,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-08\', \'179\', \'OR\', \'30000.00\', \'40\')','sales/save_new_sale','0.085081815719604','2016-09-29 09:33:35'),(33439,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2384, \'33384\', \'WEDDING AHMAD ZARLITH\', \'30000.00\', 1)','sales/save_new_sale','0.016786813735962','2016-09-29 09:33:35'),(33440,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2384','sales/save_new_sale','0.00023388862609863','2016-09-29 09:33:36'),(33441,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'360\'','sales/save_new_sale','0.015136957168579','2016-09-29 09:33:36'),(33442,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000002\' WHERE `ID` =  2384','sales/save_new_sale','0.013036012649536','2016-09-29 09:33:36'),(33443,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000002\', \'OR[00000007]\', \'Sales [ OR[00000007] ]\', \'\', \'2\', \'2016-10-08\', \'2016\', \'10\', \'30000\', \'30000\', \'28\')','sales/save_new_sale','0.0094270706176758','2016-09-29 09:33:36'),(33444,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000002\', 1, \'WEDDING AHMAD ZARLITH\', \'33384\', \'\', 30000, \'1\', \'1\', \'30000\', \'10\', \'2016\', \'1\', \'OR[00000007]\', \'0\', \'User\')','sales/save_new_sale','0.016623973846436','2016-09-29 09:33:36'),(33445,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000002\', \'WEDDING AHMAD ZARLITH\', \'33373\', \'\', 30000, \'1\', \'1\', \'30000\', \'10\', \'2016\', \'OR[00000007]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.012609004974365','2016-09-29 09:33:36'),(33446,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 30000, `total_amount_cr` = 30000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000002\'','sales/save_new_sale','0.011944770812988','2016-09-29 09:33:36'),(33447,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2384','sales/save_new_sale','0.0079288482666016','2016-09-29 09:33:36'),(33448,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11673','sales/save_new_sale','0.008497953414917','2016-09-29 09:33:36'),(33449,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000002\'','sales/save_new_sale','0.0078709125518799','2016-09-29 09:33:36'),(33450,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.024181127548218','2016-09-29 09:33:36'),(33451,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.012097120285034','2016-09-29 09:33:36'),(33452,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'35000.00\', \'40\')','sales/save_new_sale','0.086479902267456','2016-09-29 09:34:01'),(33453,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2385, \'33384\', \'PAKEJ WEDDING PREMIUM\', \'35000.00\', 1)','sales/save_new_sale','0.0078749656677246','2016-09-29 09:34:01'),(33454,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2385','sales/save_new_sale','0.00021982192993164','2016-09-29 09:34:01'),(33455,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'358\'','sales/save_new_sale','0.0080380439758301','2016-09-29 09:34:01'),(33456,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000007\' WHERE `ID` =  2385','sales/save_new_sale','0.01280689239502','2016-09-29 09:34:01'),(33457,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000007\', \'OR[00000008]\', \'Sales [ OR[00000008] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'35000\', \'35000\', \'28\')','sales/save_new_sale','0.0095148086547852','2016-09-29 09:34:01'),(33458,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000007\', 1, \'PAKEJ WEDDING PREMIUM\', \'33384\', \'\', 35000, \'1\', \'1\', \'35000\', \'09\', \'2016\', \'1\', \'OR[00000008]\', \'0\', \'User\')','sales/save_new_sale','0.024439096450806','2016-09-29 09:34:01'),(33459,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000007\', \'PAKEJ WEDDING PREMIUM\', \'33373\', \'\', 35000, \'1\', \'1\', \'35000\', \'09\', \'2016\', \'OR[00000008]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.024977207183838','2016-09-29 09:34:01'),(33460,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 35000, `total_amount_cr` = 35000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000007\'','sales/save_new_sale','0.024734973907471','2016-09-29 09:34:01'),(33461,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2385','sales/save_new_sale','0.0084860324859619','2016-09-29 09:34:01'),(33462,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11674','sales/save_new_sale','0.0079190731048584','2016-09-29 09:34:01'),(33463,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000007\'','sales/save_new_sale','0.051139116287231','2016-09-29 09:34:01'),(33464,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.01056694984436','2016-09-29 09:34:01'),(33465,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.011260986328125','2016-09-29 09:34:01'),(33466,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-22\', \'179\', \'OR\', \'25000.00\', \'40\')','sales/save_new_sale','0.086104869842529','2016-09-29 09:34:38'),(33467,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2386, \'33384\', \'PAKEJ WEDDING GOLD\', \'25000.00\', 1)','sales/save_new_sale','0.0084578990936279','2016-09-29 09:34:38'),(33468,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2386','sales/save_new_sale','0.00025606155395508','2016-09-29 09:34:38'),(33469,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'360\'','sales/save_new_sale','0.0086090564727783','2016-09-29 09:34:38'),(33470,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000003\' WHERE `ID` =  2386','sales/save_new_sale','0.025136947631836','2016-09-29 09:34:38'),(33471,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000003\', \'OR[00000009]\', \'Sales [ OR[00000009] ]\', \'\', \'2\', \'2016-10-22\', \'2016\', \'10\', \'25000\', \'25000\', \'28\')','sales/save_new_sale','0.018944025039673','2016-09-29 09:34:38'),(33472,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000003\', 1, \'PAKEJ WEDDING GOLD\', \'33384\', \'\', 25000, \'1\', \'1\', \'25000\', \'10\', \'2016\', \'1\', \'OR[00000009]\', \'0\', \'User\')','sales/save_new_sale','0.011693000793457','2016-09-29 09:34:38'),(33473,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000003\', \'PAKEJ WEDDING GOLD\', \'33373\', \'\', 25000, \'1\', \'1\', \'25000\', \'10\', \'2016\', \'OR[00000009]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0077919960021973','2016-09-29 09:34:38'),(33474,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 25000, `total_amount_cr` = 25000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000003\'','sales/save_new_sale','0.0084309577941895','2016-09-29 09:34:38'),(33475,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2386','sales/save_new_sale','0.0079219341278076','2016-09-29 09:34:38'),(33476,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11675','sales/save_new_sale','0.0085048675537109','2016-09-29 09:34:38'),(33477,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000003\'','sales/save_new_sale','0.0078809261322021','2016-09-29 09:34:38'),(33478,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.012132167816162','2016-09-29 09:34:38'),(33479,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.010934114456177','2016-09-29 09:34:38'),(33480,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'40\', \'28\', 1, \'33385\', \'68\', \'155\', \'OP-C\', \'2016-09-29\', \'179\', \'1\')','expenses/fnSaveExpenses','0.026256084442139','2016-09-29 09:37:24'),(33481,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2290, \'28\', \'AYAM\', 1, \'33385\', \'100\', \'100\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033125162124634','2016-09-29 09:37:24'),(33482,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2290, \'28\', \'SALAD\', 1, \'33385\', \'20\', \'20\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.011733055114746','2016-09-29 09:37:24'),(33483,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2290, \'28\', \'TOMATO\', 1, \'33385\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078840255737305','2016-09-29 09:37:24'),(33484,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2290, \'28\', \'TIMUN\', 1, \'33385\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084969997406006','2016-09-29 09:37:24'),(33485,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2290, \'28\', \'CILI MERAH\', 1, \'33385\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078630447387695','2016-09-29 09:37:24'),(33486,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2290, \'28\', \'DAUN SUP\', 1, \'33385\', \'5\', \'5\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0084948539733887','2016-09-29 09:37:24'),(33487,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.03094482421875','2016-09-29 09:37:24'),(33488,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000008\' WHERE `ID` =  2290','expenses/fnSaveExpenses','0.011870861053467','2016-09-29 09:37:24'),(33489,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', \'Cost of Goods Sold [OP-C[00000006]]\', \'Cost of Goods Sold [OP-C[00000006]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 155, 155, \'28\')','expenses/fnSaveExpenses','0.010616064071655','2016-09-29 09:37:24'),(33490,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 1, \'AYAM\', \'33373\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.011719942092896','2016-09-29 09:37:24'),(33491,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 2, \'AYAM\', \'33385\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0077838897705078','2016-09-29 09:37:24'),(33492,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 3, \'SALAD\', \'33373\', 20, 1, \'1\', \'20\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0083789825439453','2016-09-29 09:37:24'),(33493,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 4, \'SALAD\', \'33385\', 20, 1, \'1\', \'20\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0078239440917969','2016-09-29 09:37:24'),(33494,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 5, \'TOMATO\', \'33373\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0084061622619629','2016-09-29 09:37:24'),(33495,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 6, \'TOMATO\', \'33385\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0078010559082031','2016-09-29 09:37:24'),(33496,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 7, \'TIMUN\', \'33373\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.008397102355957','2016-09-29 09:37:24'),(33497,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 8, \'TIMUN\', \'33385\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0077738761901855','2016-09-29 09:37:24'),(33498,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 9, \'CILI MERAH\', \'33373\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0083620548248291','2016-09-29 09:37:24'),(33499,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 10, \'CILI MERAH\', \'33385\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0077860355377197','2016-09-29 09:37:24'),(33500,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 11, \'DAUN SUP\', \'33373\', 5, 1, \'1\', \'5\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0083749294281006','2016-09-29 09:37:24'),(33501,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000008\', 12, \'DAUN SUP\', \'33385\', 5, 1, \'1\', \'5\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0077810287475586','2016-09-29 09:37:24'),(33502,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 155, `total_amount_cr` = 155, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000008\'','expenses/fnSaveExpenses','0.01679801940918','2016-09-29 09:37:24'),(33503,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2290','expenses/fnSaveExpenses','0.0079219341278076','2016-09-29 09:37:24'),(33504,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11676','expenses/fnSaveExpenses','0.0083150863647461','2016-09-29 09:37:24'),(33505,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000008\'','expenses/fnSaveExpenses','0.0078468322753906','2016-09-29 09:37:24'),(33506,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011883020401001','2016-09-29 09:37:24'),(33507,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010957956314087','2016-09-29 09:37:24'),(33508,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012523174285889','2016-09-29 09:37:24'),(33509,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010895013809204','2016-09-29 09:37:24'),(33510,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012593030929565','2016-09-29 09:37:24'),(33511,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011001110076904','2016-09-29 09:37:24'),(33512,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01262903213501','2016-09-29 09:37:24'),(33513,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011023998260498','2016-09-29 09:37:24'),(33514,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024641036987305','2016-09-29 09:37:24'),(33515,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012280941009521','2016-09-29 09:37:24'),(33516,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011312007904053','2016-09-29 09:37:24'),(33517,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012319087982178','2016-09-29 09:37:24'),(33518,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'40\', \'28\', 1, \'33385\', \'68\', \'106\', \'OP-C\', \'2016-09-29\', \'179\', \'1\')','expenses/fnSaveExpenses','0.096613883972168','2016-09-29 09:38:37'),(33519,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2291, \'28\', \'BERAS\', 1, \'33385\', \'50\', \'50\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078158378601074','2016-09-29 09:38:37'),(33520,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2291, \'28\', \'KICAP TAMIN\', 1, \'33385\', \'25\', \'25\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0085141658782959','2016-09-29 09:38:37'),(33521,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2291, \'28\', \'BAWANG GORENG\', 1, \'33385\', \'10\', \'10\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078589916229248','2016-09-29 09:38:37'),(33522,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2291, \'28\', \'BAWANG\', 1, \'33385\', \'21\', \'21\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.14674282073975','2016-09-29 09:38:37'),(33523,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.0077919960021973','2016-09-29 09:38:37'),(33524,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000009\' WHERE `ID` =  2291','expenses/fnSaveExpenses','0.0084879398345947','2016-09-29 09:38:37'),(33525,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 106, 106, \'28\')','expenses/fnSaveExpenses','0.010838985443115','2016-09-29 09:38:37'),(33526,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', 1, \'BERAS\', \'33373\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.011563062667847','2016-09-29 09:38:37'),(33527,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', 2, \'BERAS\', \'33385\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0078110694885254','2016-09-29 09:38:38'),(33528,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', 3, \'KICAP TAMIN\', \'33373\', 25, 1, \'1\', \'25\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0084130764007568','2016-09-29 09:38:38'),(33529,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', 4, \'KICAP TAMIN\', \'33385\', 25, 1, \'1\', \'25\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.021240234375','2016-09-29 09:38:38'),(33530,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', 5, \'BAWANG GORENG\', \'33373\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.01158618927002','2016-09-29 09:38:38'),(33531,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', 6, \'BAWANG GORENG\', \'33385\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0077970027923584','2016-09-29 09:38:38'),(33532,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', 7, \'BAWANG\', \'33373\', 21, 1, \'1\', \'21\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0083858966827393','2016-09-29 09:38:38'),(33533,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000009\', 8, \'BAWANG\', \'33385\', 21, 1, \'1\', \'21\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0078058242797852','2016-09-29 09:38:38'),(33534,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 106, `total_amount_cr` = 106, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000009\'','expenses/fnSaveExpenses','0.0084919929504395','2016-09-29 09:38:38'),(33535,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2291','expenses/fnSaveExpenses','0.0078930854797363','2016-09-29 09:38:38'),(33536,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11677','expenses/fnSaveExpenses','0.0083591938018799','2016-09-29 09:38:38'),(33537,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000009\'','expenses/fnSaveExpenses','0.016216039657593','2016-09-29 09:38:38'),(33538,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.037229061126709','2016-09-29 09:38:38'),(33539,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010839939117432','2016-09-29 09:38:38'),(33540,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012775897979736','2016-09-29 09:38:38'),(33541,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.02429986000061','2016-09-29 09:38:38'),(33542,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011079072952271','2016-09-29 09:38:38'),(33543,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012396812438965','2016-09-29 09:38:38'),(33544,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.011120080947876','2016-09-29 09:38:38'),(33545,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.020745992660522','2016-09-29 09:38:38'),(33546,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'40\', \'28\', 1, \'33385\', \'68\', \'300\', \'OP-C\', \'2016-09-29\', \'179\', \'1\')','expenses/fnSaveExpenses','0.059900045394897','2016-09-29 09:39:47'),(33547,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2292, \'28\', \'BEKAS NASI 5PCS\', 1, \'33385\', \'175\', \'175\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.028089046478271','2016-09-29 09:39:47'),(33548,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2292, \'28\', \'TRAY LAUK2\', 1, \'33385\', \'125\', \'125\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.0078489780426025','2016-09-29 09:39:47'),(33549,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.014507055282593','2016-09-29 09:39:47'),(33550,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000010\' WHERE `ID` =  2292','expenses/fnSaveExpenses','0.011286973953247','2016-09-29 09:39:47'),(33551,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000010\', \'Cost of Goods Sold [OP-C[00000008]]\', \'Cost of Goods Sold [OP-C[00000008]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 300, 300, \'28\')','expenses/fnSaveExpenses','0.011315107345581','2016-09-29 09:39:47'),(33552,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000010\', 1, \'BEKAS NASI 5PCS\', \'33373\', 175, 1, \'1\', \'175\', \'09\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/fnSaveExpenses','0.011141061782837','2016-09-29 09:39:47'),(33553,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000010\', 2, \'BEKAS NASI 5PCS\', \'33385\', 175, 1, \'1\', \'175\', \'09\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/fnSaveExpenses','0.0083990097045898','2016-09-29 09:39:47'),(33554,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000010\', 3, \'TRAY LAUK2\', \'33373\', 125, 1, \'1\', \'125\', \'09\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/fnSaveExpenses','0.0077738761901855','2016-09-29 09:39:47'),(33555,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000010\', 4, \'TRAY LAUK2\', \'33385\', 125, 1, \'1\', \'125\', \'09\', \'16\', \'1\', \'OP-C[00000008]\', \'User\')','expenses/fnSaveExpenses','0.0084071159362793','2016-09-29 09:39:47'),(33556,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000010\'','expenses/fnSaveExpenses','0.0078699588775635','2016-09-29 09:39:47'),(33557,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2292','expenses/fnSaveExpenses','0.0085220336914062','2016-09-29 09:39:47'),(33558,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11678','expenses/fnSaveExpenses','0.0077149868011475','2016-09-29 09:39:47'),(33559,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000010\'','expenses/fnSaveExpenses','0.025136947631836','2016-09-29 09:39:47'),(33560,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.026800870895386','2016-09-29 09:39:47'),(33561,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.016191005706787','2016-09-29 09:39:47'),(33562,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.01255202293396','2016-09-29 09:39:47'),(33563,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010974884033203','2016-09-29 09:39:48'),(33564,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50863\'','expenses/fnSaveExpenses','0.016759872436523','2016-09-29 09:40:10'),(33565,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50864\'','expenses/fnSaveExpenses','0.0078611373901367','2016-09-29 09:40:10'),(33566,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50865\'','expenses/fnSaveExpenses','0.0084989070892334','2016-09-29 09:40:10'),(33567,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50866\'','expenses/fnSaveExpenses','0.0078859329223633','2016-09-29 09:40:10'),(33568,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50867\'','expenses/fnSaveExpenses','0.0084950923919678','2016-09-29 09:40:10'),(33569,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50868\'','expenses/fnSaveExpenses','0.0078988075256348','2016-09-29 09:40:10'),(33570,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50869\'','expenses/fnSaveExpenses','0.0085010528564453','2016-09-29 09:40:10'),(33571,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50870\'','expenses/fnSaveExpenses','0.0078961849212646','2016-09-29 09:40:10'),(33572,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11677\'','expenses/fnSaveExpenses','0.0084998607635498','2016-09-29 09:40:10'),(33573,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'40\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33385\', `paymentMethodID` = \'68\', `amountPaid` = \'131\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-29\', `bankId` = \'179\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2291','expenses/fnSaveExpenses','0.010710954666138','2016-09-29 09:40:10'),(33574,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'BERAS\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2355\'','expenses/fnSaveExpenses','0.0001990795135498','2016-09-29 09:40:11'),(33575,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'KICAP TAMIN\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'25\', `amountExcludedTax` = \'25\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2356\'','expenses/fnSaveExpenses','0.00010395050048828','2016-09-29 09:40:11'),(33576,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'BAWANG GORENG\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2357\'','expenses/fnSaveExpenses','0.000095844268798828','2016-09-29 09:40:11'),(33577,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'BAWANG\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'21\', `amountExcludedTax` = \'21\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2358\'','expenses/fnSaveExpenses','0.000093936920166016','2016-09-29 09:40:11'),(33578,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2291, \'28\', \'TEMBIKAI\', 1, \'33385\', \'25\', \'25\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.015277862548828','2016-09-29 09:40:11'),(33579,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.013823986053467','2016-09-29 09:40:11'),(33580,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000011\' WHERE `ID` =  2291','expenses/fnSaveExpenses','0.0084898471832275','2016-09-29 09:40:11'),(33581,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 131, 131, \'28\')','expenses/fnSaveExpenses','0.012616872787476','2016-09-29 09:40:11'),(33582,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 1, \'BERAS\', \'33373\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.011377096176147','2016-09-29 09:40:11'),(33583,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 2, \'BERAS\', \'33385\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0078067779541016','2016-09-29 09:40:11'),(33584,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 3, \'KICAP TAMIN\', \'33373\', 25, 1, \'1\', \'25\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0083842277526855','2016-09-29 09:40:11'),(33585,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 4, \'KICAP TAMIN\', \'33385\', 25, 1, \'1\', \'25\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0078098773956299','2016-09-29 09:40:11'),(33586,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 5, \'BAWANG GORENG\', \'33373\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.008375883102417','2016-09-29 09:40:11'),(33587,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 6, \'BAWANG GORENG\', \'33385\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.029791831970215','2016-09-29 09:40:11'),(33588,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 7, \'BAWANG\', \'33373\', 21, 1, \'1\', \'21\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.024749994277954','2016-09-29 09:40:11'),(33589,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 8, \'BAWANG\', \'33385\', 21, 1, \'1\', \'21\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.019407033920288','2016-09-29 09:40:11'),(33590,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 9, \'TEMBIKAI\', \'33373\', 25, 1, \'1\', \'25\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.021744966506958','2016-09-29 09:40:11'),(33591,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000011\', 10, \'TEMBIKAI\', \'33385\', 25, 1, \'1\', \'25\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.019423961639404','2016-09-29 09:40:11'),(33592,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 131, `total_amount_cr` = 131, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000011\'','expenses/fnSaveExpenses','0.021790027618408','2016-09-29 09:40:11'),(33593,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2291','expenses/fnSaveExpenses','0.02488899230957','2016-09-29 09:40:11'),(33594,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11679','expenses/fnSaveExpenses','0.024729013442993','2016-09-29 09:40:11'),(33595,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000011\'','expenses/fnSaveExpenses','0.019515037536621','2016-09-29 09:40:11'),(33596,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.040599822998047','2016-09-29 09:40:11'),(33597,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.020867109298706','2016-09-29 09:40:11'),(33598,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010597944259644','2016-09-29 09:40:11'),(33599,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.021266937255859','2016-09-29 09:40:11'),(33600,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.027637004852295','2016-09-29 09:40:11'),(33601,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024008989334106','2016-09-29 09:40:11'),(33602,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024619817733765','2016-09-29 09:40:11'),(33603,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.024298906326294','2016-09-29 09:40:11'),(33604,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012634038925171','2016-09-29 09:40:11'),(33605,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.019016981124878','2016-09-29 09:40:11'),(33606,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50851\'','expenses/fnSaveExpenses','0.040737152099609','2016-09-29 09:41:26'),(33607,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50852\'','expenses/fnSaveExpenses','0.0084359645843506','2016-09-29 09:41:27'),(33608,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50853\'','expenses/fnSaveExpenses','0.0078880786895752','2016-09-29 09:41:27'),(33609,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50854\'','expenses/fnSaveExpenses','0.025177001953125','2016-09-29 09:41:27'),(33610,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50855\'','expenses/fnSaveExpenses','0.0078840255737305','2016-09-29 09:41:27'),(33611,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50856\'','expenses/fnSaveExpenses','0.0084900856018066','2016-09-29 09:41:27'),(33612,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50857\'','expenses/fnSaveExpenses','0.0079009532928467','2016-09-29 09:41:27'),(33613,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50858\'','expenses/fnSaveExpenses','0.013880014419556','2016-09-29 09:41:27'),(33614,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50859\'','expenses/fnSaveExpenses','0.010881185531616','2016-09-29 09:41:27'),(33615,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50860\'','expenses/fnSaveExpenses','0.0085000991821289','2016-09-29 09:41:27'),(33616,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50861\'','expenses/fnSaveExpenses','0.0078940391540527','2016-09-29 09:41:27'),(33617,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50862\'','expenses/fnSaveExpenses','0.0085279941558838','2016-09-29 09:41:27'),(33618,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11676\'','expenses/fnSaveExpenses','0.007875919342041','2016-09-29 09:41:27'),(33619,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'40\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33385\', `paymentMethodID` = \'68\', `amountPaid` = \'1197\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-29\', `bankId` = \'179\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2290','expenses/fnSaveExpenses','0.013978958129883','2016-09-29 09:41:27'),(33620,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2290, `createdBy` = \'28\', `itemdescription` = \'AYAM\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'957\', `amountExcludedTax` = \'957\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2349\'','expenses/fnSaveExpenses','0.0077860355377197','2016-09-29 09:41:27'),(33621,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2290, `createdBy` = \'28\', `itemdescription` = \'SALAD\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2350\'','expenses/fnSaveExpenses','0.0083980560302734','2016-09-29 09:41:27'),(33622,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2290, `createdBy` = \'28\', `itemdescription` = \'TOMATO\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2351\'','expenses/fnSaveExpenses','0.0078151226043701','2016-09-29 09:41:27'),(33623,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2290, `createdBy` = \'28\', `itemdescription` = \'TIMUN\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2352\'','expenses/fnSaveExpenses','0.0084071159362793','2016-09-29 09:41:27'),(33624,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2290, `createdBy` = \'28\', `itemdescription` = \'CILI MERAH\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'30\', `amountExcludedTax` = \'30\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2353\'','expenses/fnSaveExpenses','0.0078060626983643','2016-09-29 09:41:27'),(33625,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2290, `createdBy` = \'28\', `itemdescription` = \'DAUN SUP\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'10\', `amountExcludedTax` = \'10\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2354\'','expenses/fnSaveExpenses','0.0084011554718018','2016-09-29 09:41:27'),(33626,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.019332885742188','2016-09-29 09:41:27'),(33627,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000012\' WHERE `ID` =  2290','expenses/fnSaveExpenses','0.011225938796997','2016-09-29 09:41:27'),(33628,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', \'Cost of Goods Sold [OP-C[00000006]]\', \'Cost of Goods Sold [OP-C[00000006]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 1197, 1197, \'28\')','expenses/fnSaveExpenses','0.0073449611663818','2016-09-29 09:41:27'),(33629,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 1, \'AYAM\', \'33373\', 957, 1, \'1\', \'957\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0083878040313721','2016-09-29 09:41:27'),(33630,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 2, \'AYAM\', \'33385\', 957, 1, \'1\', \'957\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.13278579711914','2016-09-29 09:41:27'),(33631,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 3, \'SALAD\', \'33373\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0083370208740234','2016-09-29 09:41:27'),(33632,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 4, \'SALAD\', \'33385\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0078089237213135','2016-09-29 09:41:27'),(33633,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 5, \'TOMATO\', \'33373\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0083799362182617','2016-09-29 09:41:27'),(33634,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 6, \'TOMATO\', \'33385\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0078170299530029','2016-09-29 09:41:27'),(33635,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 7, \'TIMUN\', \'33373\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0083789825439453','2016-09-29 09:41:27'),(33636,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 8, \'TIMUN\', \'33385\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0077998638153076','2016-09-29 09:41:27'),(33637,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 9, \'CILI MERAH\', \'33373\', 30, 1, \'1\', \'30\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0083911418914795','2016-09-29 09:41:27'),(33638,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 10, \'CILI MERAH\', \'33385\', 30, 1, \'1\', \'30\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0078058242797852','2016-09-29 09:41:27'),(33639,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 11, \'DAUN SUP\', \'33373\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.0084059238433838','2016-09-29 09:41:27'),(33640,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000012\', 12, \'DAUN SUP\', \'33385\', 10, 1, \'1\', \'10\', \'09\', \'16\', \'1\', \'OP-C[00000006]\', \'User\')','expenses/fnSaveExpenses','0.007810115814209','2016-09-29 09:41:27'),(33641,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1197, `total_amount_cr` = 1197, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000012\'','expenses/fnSaveExpenses','0.0084569454193115','2016-09-29 09:41:27'),(33642,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2290','expenses/fnSaveExpenses','0.0079491138458252','2016-09-29 09:41:27'),(33643,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11680','expenses/fnSaveExpenses','0.0083999633789062','2016-09-29 09:41:27'),(33644,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000012\'','expenses/fnSaveExpenses','0.016231060028076','2016-09-29 09:41:27'),(33645,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010399103164673','2016-09-29 09:41:27'),(33646,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012963056564331','2016-09-29 09:41:27'),(33647,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010693073272705','2016-09-29 09:41:27'),(33648,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073919296264648','2016-09-29 09:41:27'),(33649,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079622268676758','2016-09-29 09:41:27'),(33650,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012933969497681','2016-09-29 09:41:27'),(33651,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010725021362305','2016-09-29 09:41:27'),(33652,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073399543762207','2016-09-29 09:41:27'),(33653,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.007904052734375','2016-09-29 09:41:27'),(33654,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073630809783936','2016-09-29 09:41:27'),(33655,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079529285430908','2016-09-29 09:41:27'),(33656,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073850154876709','2016-09-29 09:41:27'),(33657,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50875\'','expenses/fnSaveExpenses','0.011128187179565','2016-09-29 09:42:36'),(33658,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50876\'','expenses/fnSaveExpenses','0.016211032867432','2016-09-29 09:42:36'),(33659,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50877\'','expenses/fnSaveExpenses','0.008465051651001','2016-09-29 09:42:36'),(33660,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50878\'','expenses/fnSaveExpenses','0.024564027786255','2016-09-29 09:42:36'),(33661,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50879\'','expenses/fnSaveExpenses','0.0084960460662842','2016-09-29 09:42:36'),(33662,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50880\'','expenses/fnSaveExpenses','0.01620888710022','2016-09-29 09:42:36'),(33663,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50881\'','expenses/fnSaveExpenses','0.0085058212280273','2016-09-29 09:42:36'),(33664,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50882\'','expenses/fnSaveExpenses','0.016220092773438','2016-09-29 09:42:36'),(33665,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50883\'','expenses/fnSaveExpenses','0.0084710121154785','2016-09-29 09:42:36'),(33666,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50884\'','expenses/fnSaveExpenses','0.016256809234619','2016-09-29 09:42:36'),(33667,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11679\'','expenses/fnSaveExpenses','0.0084869861602783','2016-09-29 09:42:36'),(33668,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'40\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33385\', `paymentMethodID` = \'68\', `amountPaid` = \'275\', `formNo` = \'OP-C\', `paymentDate` = \'2016-09-29\', `bankId` = \'179\', `exchangeRate` = \'1\', `updateAble` = 1 WHERE `ID` =  2291','expenses/fnSaveExpenses','0.01120400428772','2016-09-29 09:42:36'),(33669,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'BERAS\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2355\'','expenses/fnSaveExpenses','0.010798931121826','2016-09-29 09:42:36'),(33670,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'KICAP TAMIN\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'70\', `amountExcludedTax` = \'70\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2356\'','expenses/fnSaveExpenses','0.016134023666382','2016-09-29 09:42:36'),(33671,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'BAWANG GORENG\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'30\', `amountExcludedTax` = \'30\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2357\'','expenses/fnSaveExpenses','0.0083961486816406','2016-09-29 09:42:36'),(33672,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'BAWANG\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'50\', `amountExcludedTax` = \'50\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2358\'','expenses/fnSaveExpenses','0.016157865524292','2016-09-29 09:42:36'),(33673,40,28,'192.168.1.201','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2291, `createdBy` = \'28\', `itemdescription` = \'TEMBIKAI\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'25\', `amountExcludedTax` = \'25\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2361\'','expenses/fnSaveExpenses','0.00018095970153809','2016-09-29 09:42:36'),(33674,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.0086047649383545','2016-09-29 09:42:36'),(33675,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000013\' WHERE `ID` =  2291','expenses/fnSaveExpenses','0.010746002197266','2016-09-29 09:42:36'),(33676,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', \'Cost of Goods Sold [OP-C[00000007]]\', \'Cost of Goods Sold [OP-C[00000007]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 275, 275, \'28\')','expenses/fnSaveExpenses','0.016265869140625','2016-09-29 09:42:36'),(33677,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 1, \'BERAS\', \'33373\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.007749080657959','2016-09-29 09:42:36'),(33678,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 2, \'BERAS\', \'33385\', 100, 1, \'1\', \'100\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0084159374237061','2016-09-29 09:42:36'),(33679,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 3, \'KICAP TAMIN\', \'33373\', 70, 1, \'1\', \'70\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.016158103942871','2016-09-29 09:42:36'),(33680,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 4, \'KICAP TAMIN\', \'33385\', 70, 1, \'1\', \'70\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0083510875701904','2016-09-29 09:42:36'),(33681,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 5, \'BAWANG GORENG\', \'33373\', 30, 1, \'1\', \'30\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0077939033508301','2016-09-29 09:42:36'),(33682,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 6, \'BAWANG GORENG\', \'33385\', 30, 1, \'1\', \'30\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0083849430084229','2016-09-29 09:42:36'),(33683,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 7, \'BAWANG\', \'33373\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0078129768371582','2016-09-29 09:42:36'),(33684,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 8, \'BAWANG\', \'33385\', 50, 1, \'1\', \'50\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0083849430084229','2016-09-29 09:42:36'),(33685,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 9, \'TEMBIKAI\', \'33373\', 25, 1, \'1\', \'25\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.0078039169311523','2016-09-29 09:42:36'),(33686,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000013\', 10, \'TEMBIKAI\', \'33385\', 25, 1, \'1\', \'25\', \'09\', \'16\', \'1\', \'OP-C[00000007]\', \'User\')','expenses/fnSaveExpenses','0.008397102355957','2016-09-29 09:42:36'),(33687,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 275, `total_amount_cr` = 275, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000013\'','expenses/fnSaveExpenses','0.007857084274292','2016-09-29 09:42:36'),(33688,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2291','expenses/fnSaveExpenses','0.0085389614105225','2016-09-29 09:42:36'),(33689,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11681','expenses/fnSaveExpenses','0.024494886398315','2016-09-29 09:42:36'),(33690,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000013\'','expenses/fnSaveExpenses','0.016785860061646','2016-09-29 09:42:36'),(33691,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.012435913085938','2016-09-29 09:42:36'),(33692,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.010375022888184','2016-09-29 09:42:36'),(33693,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0072829723358154','2016-09-29 09:42:36'),(33694,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0078809261322021','2016-09-29 09:42:36'),(33695,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0073308944702148','2016-09-29 09:42:36'),(33696,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079250335693359','2016-09-29 09:42:36'),(33697,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0074019432067871','2016-09-29 09:42:36'),(33698,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079529285430908','2016-09-29 09:42:36'),(33699,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0074119567871094','2016-09-29 09:42:36'),(33700,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.0079290866851807','2016-09-29 09:42:36'),(33701,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'1.00\', \'40\')','sales/save_new_sale','0.051999807357788','2016-09-29 10:11:58'),(33702,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2387, \'33384\', \'TEST\', \'1.00\', 1)','sales/save_new_sale','0.025153875350952','2016-09-29 10:11:58'),(33703,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2387','sales/save_new_sale','0.00021791458129883','2016-09-29 10:11:58'),(33704,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'358\'','sales/save_new_sale','0.037932872772217','2016-09-29 10:11:58'),(33705,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000008\' WHERE `ID` =  2387','sales/save_new_sale','0.01754903793335','2016-09-29 10:11:58'),(33706,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000008\', \'OR[00000010]\', \'Sales [ OR[00000010] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'1\', \'1\', \'28\')','sales/save_new_sale','0.055729150772095','2016-09-29 10:11:58'),(33707,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000008\', 1, \'TEST\', \'33384\', \'\', 1, \'1\', \'1\', \'1\', \'09\', \'2016\', \'1\', \'OR[00000010]\', \'0\', \'User\')','sales/save_new_sale','0.041642904281616','2016-09-29 10:11:58'),(33708,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000008\', \'TEST\', \'33373\', \'\', 1, \'1\', \'1\', \'1\', \'09\', \'2016\', \'OR[00000010]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016078948974609','2016-09-29 10:11:58'),(33709,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000008\'','sales/save_new_sale','0.041785955429077','2016-09-29 10:11:58'),(33710,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2387','sales/save_new_sale','0.024558782577515','2016-09-29 10:11:58'),(33711,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11682','sales/save_new_sale','0.01681113243103','2016-09-29 10:11:58'),(33712,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000008\'','sales/save_new_sale','0.066200971603394','2016-09-29 10:11:58'),(33713,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022341012954712','2016-09-29 10:11:58'),(33714,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.015617847442627','2016-09-29 10:11:58'),(33715,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'122\', \'OR\', \'10.00\', \'13\')','sales/save_new_sale','0.13101506233215','2016-09-29 10:12:50'),(33716,13,10,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2388, \'32772\', \'testing\', \'10.00\', 1)','sales/save_new_sale','0.018640041351318','2016-09-29 10:12:50'),(33717,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2388','sales/save_new_sale','0.00021910667419434','2016-09-29 10:12:50'),(33718,13,10,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 102 WHERE `ID` =  \'350\'','sales/save_new_sale','0.033761024475098','2016-09-29 10:12:50'),(33719,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000102\' WHERE `ID` =  2388','sales/save_new_sale','0.016797065734863','2016-09-29 10:12:50'),(33720,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'13\', \'AR20160900000102\', \'OR[00000047]\', \'Sales [ OR[00000047] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'10\', \'10\', \'10\')','sales/save_new_sale','0.037176132202148','2016-09-29 10:12:50'),(33721,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'13\', \'AR20160900000102\', 1, \'testing\', \'32772\', \'\', 10, \'1\', \'1\', \'10\', \'09\', \'2016\', \'1\', \'OR[00000047]\', \'0\', \'User\')','sales/save_new_sale','0.043536901473999','2016-09-29 10:12:50'),(33722,13,10,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'13\', 2, \'AR20160900000102\', \'testing\', \'32761\', \'\', 10, \'1\', \'1\', \'10\', \'09\', \'2016\', \'OR[00000047]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.090785980224609','2016-09-29 10:12:50'),(33723,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 10, `total_amount_cr` = 10, `total_amount` = 0 WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000102\'','sales/save_new_sale','0.036303043365479','2016-09-29 10:12:50'),(33724,13,10,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2388','sales/save_new_sale','0.022050142288208','2016-09-29 10:12:50'),(33725,13,10,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11683','sales/save_new_sale','0.025135040283203','2016-09-29 10:12:50'),(33726,13,10,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'13\' AND `journalID` =  \'AR20160900000102\'','sales/save_new_sale','0.04121208190918','2016-09-29 10:12:51'),(33727,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32772\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.022369861602783','2016-09-29 10:12:51'),(33728,13,10,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'13\' AND `a`.`acctID` =  \'32761\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023983001708984','2016-09-29 10:12:51'),(33729,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1217060089111','2016-09-29 10:13:07'),(33730,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000008\'','sales/save_update_sale','0.017462968826294','2016-09-29 10:13:20'),(33731,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000008\'','sales/save_update_sale','0.033175945281982','2016-09-29 10:13:20'),(33732,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-29\', `bankID` = \'179\', `totalReceived` = \'2.00\', `updateAble` = 1 WHERE `ID` =  \'2387\'','sales/save_update_sale','0.018213033676147','2016-09-29 10:13:20'),(33733,40,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2387\'','sales/save_update_sale','0.033488988876343','2016-09-29 10:13:20'),(33734,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2387\', \'TEST\', \'2.00\', \'33384\', 1)','sales/save_update_sale','0.016218900680542','2016-09-29 10:13:20'),(33735,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2387\'','sales/save_update_sale','0.00022006034851074','2016-09-29 10:13:21'),(33736,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'358\'','sales/save_update_sale','0.022433996200562','2016-09-29 10:13:21'),(33737,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000009\' WHERE `ID` =  \'2387\'','sales/save_update_sale','0.016216039657593','2016-09-29 10:13:21'),(33738,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000009\', \'OR[00000010]\', \'Sales [ OR[00000010] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'2\', \'2\', \'28\')','sales/save_update_sale','0.012356996536255','2016-09-29 10:13:21'),(33739,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000009\', 1, \'TEST\', \'33384\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'1\', \'OR[00000010]\', \'0\', \'User\')','sales/save_update_sale','0.018190860748291','2016-09-29 10:13:21'),(33740,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000009\', \'TEST\', \'33373\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'OR[00000010]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016677141189575','2016-09-29 10:13:21'),(33741,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000009\'','sales/save_update_sale','0.016194820404053','2016-09-29 10:13:21'),(33742,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2387\'','sales/save_update_sale','0.016849994659424','2016-09-29 10:13:21'),(33743,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11684','sales/save_update_sale','0.016229867935181','2016-09-29 10:13:21'),(33744,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000009\'','sales/save_update_sale','0.016768932342529','2016-09-29 10:13:21'),(33745,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.030982971191406','2016-09-29 10:13:21'),(33746,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.020401000976562','2016-09-29 10:13:21'),(33747,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'181\', \'OR\', \'2.00\', \'40\')','sales/save_new_sale','0.043112993240356','2016-09-29 10:18:38'),(33748,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2389, \'33384\', \'air batu\', \'2.00\', 1)','sales/save_new_sale','0.02514910697937','2016-09-29 10:18:38'),(33749,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2389','sales/save_new_sale','0.00022006034851074','2016-09-29 10:18:38'),(33750,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'358\'','sales/save_new_sale','0.025557994842529','2016-09-29 10:18:38'),(33751,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000010\' WHERE `ID` =  2389','sales/save_new_sale','0.025123119354248','2016-09-29 10:18:38'),(33752,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000010\', \'OR[00000011]\', \'Sales [ OR[00000011] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'2\', \'2\', \'28\')','sales/save_new_sale','0.27935314178467','2016-09-29 10:18:38'),(33753,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000010\', 1, \'air batu\', \'33384\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'1\', \'OR[00000011]\', \'0\', \'User\')','sales/save_new_sale','0.081828117370605','2016-09-29 10:18:38'),(33754,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000010\', \'air batu\', \'33375\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'OR[00000011]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.027177810668945','2016-09-29 10:18:38'),(33755,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000010\'','sales/save_new_sale','0.041765928268433','2016-09-29 10:18:39'),(33756,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2389','sales/save_new_sale','0.024595975875854','2016-09-29 10:18:39'),(33757,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11685','sales/save_new_sale','0.025141954421997','2016-09-29 10:18:39'),(33758,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000010\'','sales/save_new_sale','0.072724103927612','2016-09-29 10:18:39'),(33759,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.053709030151367','2016-09-29 10:18:39'),(33760,40,28,'192.168.1.199','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'3\', \'33375\', \'2016\', \'9\', \'2\', \'0\', 2, \'User\', \'2016-09-29: 04:09:38\')','sales/save_new_sale','0.024806022644043','2016-09-29 10:18:39'),(33761,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'181\', \'OR\', \'5.00\', \'40\')','sales/save_new_sale','0.11535692214966','2016-09-29 10:19:14'),(33762,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2390, \'33384\', \'air sirap\', \'5.00\', 1)','sales/save_new_sale','0.016804933547974','2016-09-29 10:19:14'),(33763,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2390','sales/save_new_sale','0.0001981258392334','2016-09-29 10:19:14'),(33764,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'358\'','sales/save_new_sale','0.024744987487793','2016-09-29 10:19:14'),(33765,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000011\' WHERE `ID` =  2390','sales/save_new_sale','0.02512788772583','2016-09-29 10:19:15'),(33766,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000011\', \'OR[00000012]\', \'Sales [ OR[00000012] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'5\', \'5\', \'28\')','sales/save_new_sale','0.039007186889648','2016-09-29 10:19:15'),(33767,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000011\', 1, \'air sirap\', \'33384\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'1\', \'OR[00000012]\', \'0\', \'User\')','sales/save_new_sale','0.050003051757812','2016-09-29 10:19:15'),(33768,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000011\', \'air sirap\', \'33375\', \'\', 5, \'1\', \'1\', \'5\', \'09\', \'2016\', \'OR[00000012]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016088962554932','2016-09-29 10:19:15'),(33769,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 5, `total_amount_cr` = 5, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000011\'','sales/save_new_sale','0.041800022125244','2016-09-29 10:19:15'),(33770,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2390','sales/save_new_sale','0.016582012176514','2016-09-29 10:19:15'),(33771,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11686','sales/save_new_sale','0.016494989395142','2016-09-29 10:19:15'),(33772,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000011\'','sales/save_new_sale','0.057866096496582','2016-09-29 10:19:15'),(33773,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.030723094940186','2016-09-29 10:19:15'),(33774,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33375\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.032341003417969','2016-09-29 10:19:15'),(33775,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'181\', \'OR\', \'258.00\', \'40\')','sales/save_new_sale','0.04032301902771','2016-09-29 10:28:12'),(33776,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2391, \'33384\', \'mangkuk\', \'258.00\', 1)','sales/save_new_sale','0.017951011657715','2016-09-29 10:28:12'),(33777,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2391','sales/save_new_sale','0.00019216537475586','2016-09-29 10:28:13'),(33778,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'358\'','sales/save_new_sale','0.026512145996094','2016-09-29 10:28:13'),(33779,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000012\' WHERE `ID` =  2391','sales/save_new_sale','0.016222953796387','2016-09-29 10:28:13'),(33780,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000012\', \'OR[00000013]\', \'Sales [ OR[00000013] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'258\', \'258\', \'28\')','sales/save_new_sale','0.01460599899292','2016-09-29 10:28:13'),(33781,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000012\', 1, \'mangkuk\', \'33384\', \'\', 258, \'1\', \'1\', \'258\', \'09\', \'2016\', \'1\', \'OR[00000013]\', \'0\', \'User\')','sales/save_new_sale','0.024405956268311','2016-09-29 10:28:13'),(33782,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000012\', \'mangkuk\', \'33375\', \'\', 258, \'1\', \'1\', \'258\', \'09\', \'2016\', \'OR[00000013]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016690015792847','2016-09-29 10:28:13'),(33783,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 258, `total_amount_cr` = 258, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000012\'','sales/save_new_sale','0.016228914260864','2016-09-29 10:28:13'),(33784,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2391','sales/save_new_sale','0.016844034194946','2016-09-29 10:28:13'),(33785,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11687','sales/save_new_sale','0.016226053237915','2016-09-29 10:28:13'),(33786,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000012\'','sales/save_new_sale','0.033454179763794','2016-09-29 10:28:13'),(33787,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.030417919158936','2016-09-29 10:28:13'),(33788,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33375\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024571895599365','2016-09-29 10:28:13'),(33789,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'181\', \'OR\', \'3555.00\', \'40\')','sales/save_new_sale','0.11048007011414','2016-09-29 10:29:54'),(33790,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2392, \'33384\', \'lembu\', \'3555.00\', 1)','sales/save_new_sale','0.024538040161133','2016-09-29 10:29:55'),(33791,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2392','sales/save_new_sale','0.00033283233642578','2016-09-29 10:29:55'),(33792,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'358\'','sales/save_new_sale','0.030651092529297','2016-09-29 10:29:55'),(33793,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000013\' WHERE `ID` =  2392','sales/save_new_sale','0.024546146392822','2016-09-29 10:29:55'),(33794,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000013\', \'OR[00000014]\', \'Sales [ OR[00000014] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'3555\', \'3555\', \'28\')','sales/save_new_sale','0.021221876144409','2016-09-29 10:29:55'),(33795,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000013\', 1, \'lembu\', \'33384\', \'\', 3555, \'1\', \'1\', \'3555\', \'09\', \'2016\', \'1\', \'OR[00000014]\', \'0\', \'User\')','sales/save_new_sale','0.042814016342163','2016-09-29 10:29:55'),(33796,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000013\', \'lembu\', \'33375\', \'\', 3555, \'1\', \'1\', \'3555\', \'09\', \'2016\', \'OR[00000014]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016665935516357','2016-09-29 10:29:55'),(33797,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 3555, `total_amount_cr` = 3555, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000013\'','sales/save_new_sale','0.016201972961426','2016-09-29 10:29:55'),(33798,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2392','sales/save_new_sale','0.015104055404663','2016-09-29 10:29:55'),(33799,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11688','sales/save_new_sale','0.017968893051147','2016-09-29 10:29:55'),(33800,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000013\'','sales/save_new_sale','0.058459997177124','2016-09-29 10:29:55'),(33801,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.030421018600464','2016-09-29 10:29:55'),(33802,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33375\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.016233921051025','2016-09-29 10:29:55'),(33803,40,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000013\'','sales/save_update_sale','0.093957901000977','2016-09-29 10:30:31'),(33804,40,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000013\'','sales/save_update_sale','0.025130987167358','2016-09-29 10:30:31'),(33805,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-29\', `bankID` = \'181\', `totalReceived` = \'4545.00\', `updateAble` = 1 WHERE `ID` =  \'2392\'','sales/save_update_sale','0.016160011291504','2016-09-29 10:30:31'),(33806,40,28,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2392\'','sales/save_update_sale','0.025173902511597','2016-09-29 10:30:31'),(33807,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2392\', \'lembu\', \'3555.00\', \'33384\', 1)','sales/save_update_sale','0.016222953796387','2016-09-29 10:30:31'),(33808,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2392\', \'kambing\', \'990.00\', \'33384\', 2)','sales/save_update_sale','0.049911975860596','2016-09-29 10:30:31'),(33809,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2392\'','sales/save_update_sale','0.00020694732666016','2016-09-29 10:30:31'),(33810,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'358\'','sales/save_update_sale','0.024519920349121','2016-09-29 10:30:31'),(33811,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000014\' WHERE `ID` =  \'2392\'','sales/save_update_sale','0.01619815826416','2016-09-29 10:30:31'),(33812,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000014\', \'OR[00000014]\', \'Sales [ OR[00000014] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'4545\', \'4545\', \'28\')','sales/save_update_sale','0.014681100845337','2016-09-29 10:30:31'),(33813,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000014\', 1, \'lembu\', \'33384\', \'\', 3555, \'1\', \'1\', \'3555\', \'09\', \'2016\', \'1\', \'OR[00000014]\', \'0\', \'User\')','sales/save_update_sale','0.016098022460938','2016-09-29 10:30:31'),(33814,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000014\', \'lembu\', \'33375\', \'\', 3555, \'1\', \'1\', \'3555\', \'09\', \'2016\', \'OR[00000014]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016681909561157','2016-09-29 10:30:31'),(33815,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000014\', 3, \'kambing\', \'33384\', \'\', 990, \'1\', \'1\', \'990\', \'09\', \'2016\', \'2\', \'OR[00000014]\', \'0\', \'User\')','sales/save_update_sale','0.016109943389893','2016-09-29 10:30:31'),(33816,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20160900000014\', \'kambing\', \'33375\', \'\', 990, \'1\', \'1\', \'990\', \'09\', \'2016\', \'OR[00000014]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016693830490112','2016-09-29 10:30:31'),(33817,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 4545, `total_amount_cr` = 4545, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000014\'','sales/save_update_sale','0.024549961090088','2016-09-29 10:30:31'),(33818,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2392\'','sales/save_update_sale','0.016834020614624','2016-09-29 10:30:31'),(33819,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11689','sales/save_update_sale','0.024590969085693','2016-09-29 10:30:31'),(33820,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000014\'','sales/save_update_sale','0.016754865646362','2016-09-29 10:30:31'),(33821,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015263795852661','2016-09-29 10:30:31'),(33822,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33375\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016282081604004','2016-09-29 10:30:31'),(33823,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.10600996017456','2016-09-29 10:30:31'),(33824,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33375\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.02576208114624','2016-09-29 10:30:31'),(33825,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2470440864563','2016-09-29 10:32:11'),(33826,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'1.00\', \'40\')','sales/save_new_sale','0.11331582069397','2016-09-29 10:32:29'),(33827,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2393, \'33384\', \'jgn buat hal\', \'1.00\', 1)','sales/save_new_sale','0.017745018005371','2016-09-29 10:32:29'),(33828,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2393','sales/save_new_sale','0.00021004676818848','2016-09-29 10:32:29'),(33829,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'358\'','sales/save_new_sale','0.042903900146484','2016-09-29 10:32:29'),(33830,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000015\' WHERE `ID` =  2393','sales/save_new_sale','0.025128841400146','2016-09-29 10:32:29'),(33831,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000015\', \'OR[00000015]\', \'Sales [ OR[00000015] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'1\', \'1\', \'28\')','sales/save_new_sale','0.022413015365601','2016-09-29 10:32:29'),(33832,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000015\', 1, \'jgn buat hal\', \'33384\', \'\', 1, \'1\', \'1\', \'1\', \'09\', \'2016\', \'1\', \'OR[00000015]\', \'0\', \'User\')','sales/save_new_sale','0.041669130325317','2016-09-29 10:32:29'),(33833,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000015\', \'jgn buat hal\', \'33373\', \'\', 1, \'1\', \'1\', \'1\', \'09\', \'2016\', \'OR[00000015]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016090154647827','2016-09-29 10:32:29'),(33834,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000015\'','sales/save_new_sale','0.016801118850708','2016-09-29 10:32:29'),(33835,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2393','sales/save_new_sale','0.016281843185425','2016-09-29 10:32:29'),(33836,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11690','sales/save_new_sale','0.025148868560791','2016-09-29 10:32:29'),(33837,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000015\'','sales/save_new_sale','0.02454400062561','2016-09-29 10:32:29'),(33838,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.026985883712769','2016-09-29 10:32:29'),(33839,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.024001836776733','2016-09-29 10:32:29'),(33840,1,1,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0802810192108','2016-09-29 10:35:15'),(33841,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'123.00\', \'40\')','sales/save_new_sale','0.10762000083923','2016-09-29 10:40:57'),(33842,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2394, \'33384\', \'123\', \'123.00\', 1)','sales/save_new_sale','0.025145053863525','2016-09-29 10:40:57'),(33843,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2394','sales/save_new_sale','0.00023508071899414','2016-09-29 10:40:57'),(33844,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'358\'','sales/save_new_sale','0.023027896881104','2016-09-29 10:40:57'),(33845,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000016\' WHERE `ID` =  2394','sales/save_new_sale','0.01679801940918','2016-09-29 10:40:57'),(33846,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000016\', \'OR[00000016]\', \'Sales [ OR[00000016] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'123\', \'123\', \'28\')','sales/save_new_sale','0.021086931228638','2016-09-29 10:40:57'),(33847,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000016\', 1, \'123\', \'33384\', \'\', 123, \'1\', \'1\', \'123\', \'09\', \'2016\', \'1\', \'OR[00000016]\', \'0\', \'User\')','sales/save_new_sale','0.034515857696533','2016-09-29 10:40:57'),(33848,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000016\', \'123\', \'33373\', \'\', 123, \'1\', \'1\', \'123\', \'09\', \'2016\', \'OR[00000016]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016098022460938','2016-09-29 10:40:57'),(33849,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 123, `total_amount_cr` = 123, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000016\'','sales/save_new_sale','0.040285110473633','2016-09-29 10:40:57'),(33850,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2394','sales/save_new_sale','0.017735958099365','2016-09-29 10:40:57'),(33851,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11691','sales/save_new_sale','0.025134086608887','2016-09-29 10:40:57'),(33852,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000016\'','sales/save_new_sale','0.074533939361572','2016-09-29 10:40:57'),(33853,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.045858144760132','2016-09-29 10:40:57'),(33854,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.033735036849976','2016-09-29 10:40:57'),(33855,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-09-29\', \'179\', \'OR\', \'145.00\', \'40\')','sales/save_new_sale','0.18018007278442','2016-09-29 10:46:13'),(33856,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2395, \'33384\', \'145\', \'145.00\', 1)','sales/save_new_sale','0.026259183883667','2016-09-29 10:46:13'),(33857,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2395','sales/save_new_sale','0.00020289421081543','2016-09-29 10:46:13'),(33858,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'358\'','sales/save_new_sale','0.025254011154175','2016-09-29 10:46:13'),(33859,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000017\' WHERE `ID` =  2395','sales/save_new_sale','0.016803979873657','2016-09-29 10:46:13'),(33860,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000017\', \'OR[00000017]\', \'Sales [ OR[00000017] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'145\', \'145\', \'28\')','sales/save_new_sale','0.012779951095581','2016-09-29 10:46:13'),(33861,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000017\', 1, \'145\', \'33384\', \'\', 145, \'1\', \'1\', \'145\', \'09\', \'2016\', \'1\', \'OR[00000017]\', \'0\', \'User\')','sales/save_new_sale','0.026140928268433','2016-09-29 10:46:13'),(33862,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000017\', \'145\', \'33373\', \'\', 145, \'1\', \'1\', \'145\', \'09\', \'2016\', \'OR[00000017]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016101837158203','2016-09-29 10:46:13'),(33863,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 145, `total_amount_cr` = 145, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000017\'','sales/save_new_sale','0.01678204536438','2016-09-29 10:46:13'),(33864,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2395','sales/save_new_sale','0.016255140304565','2016-09-29 10:46:13'),(33865,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11692','sales/save_new_sale','0.027671098709106','2016-09-29 10:46:13'),(33866,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000017\'','sales/save_new_sale','0.015246868133545','2016-09-29 10:46:13'),(33867,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.018899202346802','2016-09-29 10:46:13'),(33868,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_new_sale','0.023902893066406','2016-09-29 10:46:13'),(33869,40,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000017\'','sales/save_update_sale','0.10594892501831','2016-09-29 10:47:50'),(33870,40,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000017\'','sales/save_update_sale','0.016813039779663','2016-09-29 10:47:50'),(33871,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-29\', `bankID` = \'179\', `totalReceived` = \'321.00\', `updateAble` = 1 WHERE `ID` =  \'2395\'','sales/save_update_sale','0.024492979049683','2016-09-29 10:47:50'),(33872,40,28,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2395\'','sales/save_update_sale','0.12898993492126','2016-09-29 10:47:50'),(33873,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2395\', \'145\', \'145.00\', \'33384\', 1)','sales/save_update_sale','0.045698881149292','2016-09-29 10:47:50'),(33874,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2395\', \'175\', \'176.00\', \'33384\', 2)','sales/save_update_sale','0.016838073730469','2016-09-29 10:47:50'),(33875,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2395\'','sales/save_update_sale','0.00025105476379395','2016-09-29 10:47:50'),(33876,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'358\'','sales/save_update_sale','0.01510214805603','2016-09-29 10:47:50'),(33877,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000018\' WHERE `ID` =  \'2395\'','sales/save_update_sale','0.016783952713013','2016-09-29 10:47:50'),(33878,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000018\', \'OR[00000017]\', \'Sales [ OR[00000017] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'321\', \'321\', \'28\')','sales/save_update_sale','0.014003038406372','2016-09-29 10:47:50'),(33879,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000018\', 1, \'145\', \'33384\', \'\', 145, \'1\', \'1\', \'145\', \'09\', \'2016\', \'1\', \'OR[00000017]\', \'0\', \'User\')','sales/save_update_sale','0.016664028167725','2016-09-29 10:47:50'),(33880,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000018\', \'145\', \'33373\', \'\', 145, \'1\', \'1\', \'145\', \'09\', \'2016\', \'OR[00000017]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.024433851242065','2016-09-29 10:47:50'),(33881,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000018\', 3, \'175\', \'33384\', \'\', 176, \'1\', \'1\', \'176\', \'09\', \'2016\', \'2\', \'OR[00000017]\', \'0\', \'User\')','sales/save_update_sale','0.016672134399414','2016-09-29 10:47:50'),(33882,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20160900000018\', \'175\', \'33373\', \'\', 176, \'1\', \'1\', \'176\', \'09\', \'2016\', \'OR[00000017]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.01611590385437','2016-09-29 10:47:50'),(33883,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 321, `total_amount_cr` = 321, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000018\'','sales/save_update_sale','0.016772031784058','2016-09-29 10:47:50'),(33884,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2395\'','sales/save_update_sale','0.016252040863037','2016-09-29 10:47:50'),(33885,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11693','sales/save_update_sale','0.016817092895508','2016-09-29 10:47:50'),(33886,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000018\'','sales/save_update_sale','0.016212940216064','2016-09-29 10:47:50'),(33887,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015783071517944','2016-09-29 10:47:50'),(33888,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015590906143188','2016-09-29 10:47:50'),(33889,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016181945800781','2016-09-29 10:47:50'),(33890,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.032274007797241','2016-09-29 10:47:50'),(33891,40,28,'192.168.1.199','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000018\'','sales/save_update_sale','0.09496808052063','2016-09-29 10:48:33'),(33892,40,28,'192.168.1.199','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000018\'','sales/save_update_sale','0.016203165054321','2016-09-29 10:48:33'),(33893,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-29\', `bankID` = \'179\', `totalReceived` = \'934.00\', `updateAble` = 1 WHERE `ID` =  \'2395\'','sales/save_update_sale','0.016755819320679','2016-09-29 10:48:33'),(33894,40,28,'192.168.1.199','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2395\'','sales/save_update_sale','0.016242027282715','2016-09-29 10:48:33'),(33895,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2395\', \'145\', \'145.00\', \'33384\', 1)','sales/save_update_sale','0.016854047775269','2016-09-29 10:48:33'),(33896,40,28,'192.168.1.199','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2395\', \'789\', \'789.00\', \'33384\', 2)','sales/save_update_sale','0.016260147094727','2016-09-29 10:48:33'),(33897,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2395\'','sales/save_update_sale','0.00025010108947754','2016-09-29 10:48:33'),(33898,40,28,'192.168.1.199','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'358\'','sales/save_update_sale','0.023464918136597','2016-09-29 10:48:33'),(33899,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000019\' WHERE `ID` =  \'2395\'','sales/save_update_sale','0.016213178634644','2016-09-29 10:48:34'),(33900,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000019\', \'OR[00000017]\', \'Sales [ OR[00000017] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'934\', \'934\', \'28\')','sales/save_update_sale','0.01459002494812','2016-09-29 10:48:34'),(33901,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000019\', 1, \'145\', \'33384\', \'\', 145, \'1\', \'1\', \'145\', \'09\', \'2016\', \'1\', \'OR[00000017]\', \'0\', \'User\')','sales/save_update_sale','0.01609206199646','2016-09-29 10:48:34'),(33902,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000019\', \'145\', \'33373\', \'\', 145, \'1\', \'1\', \'145\', \'09\', \'2016\', \'OR[00000017]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016697883605957','2016-09-29 10:48:34'),(33903,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000019\', 3, \'789\', \'33384\', \'\', 789, \'1\', \'1\', \'789\', \'09\', \'2016\', \'2\', \'OR[00000017]\', \'0\', \'User\')','sales/save_update_sale','0.01609992980957','2016-09-29 10:48:34'),(33904,40,28,'192.168.1.199','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20160900000019\', \'789\', \'33373\', \'\', 789, \'1\', \'1\', \'789\', \'09\', \'2016\', \'OR[00000017]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016695976257324','2016-09-29 10:48:34'),(33905,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `total_amount_dr` = 934, `total_amount_cr` = 934, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000019\'','sales/save_update_sale','0.016209840774536','2016-09-29 10:48:34'),(33906,40,28,'192.168.1.199','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2395\'','sales/save_update_sale','0.016822099685669','2016-09-29 10:48:34'),(33907,40,28,'192.168.1.199','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11694','sales/save_update_sale','0.016258001327515','2016-09-29 10:48:34'),(33908,40,28,'192.168.1.199','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000019\'','sales/save_update_sale','0.016788005828857','2016-09-29 10:48:34'),(33909,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015177965164185','2016-09-29 10:48:34'),(33910,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016222953796387','2016-09-29 10:48:34'),(33911,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.015646934509277','2016-09-29 10:48:34'),(33912,40,28,'192.168.1.199','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.016232967376709','2016-09-29 10:48:34'),(33913,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000015\'','sales/save_update_sale','0.15089011192322','2016-09-29 10:52:49'),(33914,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20160900000015\'','sales/save_update_sale','0.03347110748291','2016-09-29 10:52:49'),(33915,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-09-29\', `bankID` = \'179\', `totalReceived` = \'2.00\', `updateAble` = 1 WHERE `ID` =  \'2393\'','sales/save_update_sale','0.02447509765625','2016-09-29 10:52:49'),(33916,40,28,'192.168.1.201','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2393\'','sales/save_update_sale','0.041836977005005','2016-09-29 10:52:49'),(33917,40,28,'192.168.1.201','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2393\', \'jgn buat hal\', \'2.00\', \'33384\', 1)','sales/save_update_sale','0.016232967376709','2016-09-29 10:52:49'),(33918,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2393\'','sales/save_update_sale','0.00022101402282715','2016-09-29 10:52:49'),(33919,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'358\'','sales/save_update_sale','0.022576093673706','2016-09-29 10:52:49'),(33920,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20160900000020\' WHERE `ID` =  \'2393\'','sales/save_update_sale','0.1326220035553','2016-09-29 10:52:49'),(33921,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20160900000020\', \'OR[00000015]\', \'Sales [ OR[00000015] ]\', \'\', \'2\', \'2016-09-29\', \'2016\', \'09\', \'2\', \'2\', \'28\')','sales/save_update_sale','0.02294397354126','2016-09-29 10:52:49'),(33922,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20160900000020\', 1, \'jgn buat hal\', \'33384\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'1\', \'OR[00000015]\', \'0\', \'User\')','sales/save_update_sale','0.024410963058472','2016-09-29 10:52:49'),(33923,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20160900000020\', \'jgn buat hal\', \'33373\', \'\', 2, \'1\', \'1\', \'2\', \'09\', \'2016\', \'OR[00000015]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016699075698853','2016-09-29 10:52:49'),(33924,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 2, `total_amount_cr` = 2, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000020\'','sales/save_update_sale','0.016216039657593','2016-09-29 10:52:49'),(33925,40,28,'192.168.1.201','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2393\'','sales/save_update_sale','0.016847133636475','2016-09-29 10:52:49'),(33926,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11695','sales/save_update_sale','0.024578094482422','2016-09-29 10:52:49'),(33927,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20160900000020\'','sales/save_update_sale','0.025115966796875','2016-09-29 10:52:49'),(33928,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.039036989212036','2016-09-29 10:52:49'),(33929,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','sales/save_update_sale','0.023958921432495','2016-09-29 10:52:49'),(33930,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'40\', \'28\', 1, 0, \'68\', \'150000\', \'OP-A\', \'2016-09-29\', \'180\', \'1\')','expenses/fnSaveExpenses','0.037889003753662','2016-09-29 11:41:59'),(33931,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2293, \'28\', \'HONDA HR-V\', 1, \'33365\', \'150000\', \'150000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033472061157227','2016-09-29 11:41:59'),(33932,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.071376085281372','2016-09-29 11:41:59'),(33933,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000014\' WHERE `ID` =  2293','expenses/fnSaveExpenses','0.034704923629761','2016-09-29 11:41:59'),(33934,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000014\', \'Purchase of Fixed Asset [OP-A[00000009]]\', \'Purchase of Fixed Asset [OP-A[00000009]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 150000, 150000, \'28\')','expenses/fnSaveExpenses','0.022290945053101','2016-09-29 11:41:59'),(33935,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000014\', 1, \'HONDA HR-V\', \'33374\', 150000, 1, \'1\', \'150000\', \'09\', \'16\', \'1\', \'OP-A[00000009]\', \'User\')','expenses/fnSaveExpenses','0.025026082992554','2016-09-29 11:41:59'),(33936,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000014\', 2, \'HONDA HR-V\', \'33365\', 150000, 1, \'1\', \'150000\', \'09\', \'16\', \'1\', \'OP-A[00000009]\', \'User\')','expenses/fnSaveExpenses','0.016125917434692','2016-09-29 11:41:59'),(33937,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 150000, `total_amount_cr` = 150000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000014\'','expenses/fnSaveExpenses','0.025142908096313','2016-09-29 11:41:59'),(33938,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2293','expenses/fnSaveExpenses','0.032915115356445','2016-09-29 11:41:59'),(33939,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11696','expenses/fnSaveExpenses','0.016658067703247','2016-09-29 11:41:59'),(33940,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000014\'','expenses/fnSaveExpenses','0.032883882522583','2016-09-29 11:41:59'),(33941,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'3\', \'33374\', \'2016\', \'9\', \'0\', \'150000\', -150000, \'User\', \'2016-09-29: 05:09:59\')','expenses/fnSaveExpenses','0.024002075195312','2016-09-29 11:41:59'),(33942,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'2\', \'33365\', \'2016\', \'9\', \'150000\', \'0\', 150000, \'User\', \'2016-09-29: 05:09:59\')','expenses/fnSaveExpenses','0.015489101409912','2016-09-29 11:41:59'),(33943,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1656880378723','2016-09-29 11:42:45'),(33944,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.0017111301422119','2016-09-29 11:43:23'),(33945,40,28,'192.168.1.201','update','UPDATE `comp_bank` SET `bankName` = \'CIMB\', `currentBalance` = \'170000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'180\'','bank/saveBank','0.10103106498718','2016-09-29 11:43:40'),(33946,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'CIMB\', `openingBalanceDr` = 170000, `openingBalanceCr` = 0, `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33374\'','bank/saveBank','0.016752004623413','2016-09-29 11:43:40'),(33947,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.0010719299316406','2016-09-29 11:43:41'),(33948,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0710649490356','2016-09-29 11:45:19'),(33949,40,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 40, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 40)','setup/assetSetup','0.001568078994751','2016-09-29 11:48:32'),(33950,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'VEHICLE\', `openingBalanceDr` = \'0.00\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33365\'','setup/saveAsset','0.32469511032104','2016-09-29 11:48:44'),(33951,40,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 40, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 40)','setup/assetSetup','0.0010340213775635','2016-09-29 11:48:45'),(33952,40,28,'192.168.1.201','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'VEHICLE\', `openingBalanceDr` = \'5000\', `createdTS` = \'2016-01-01 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'33365\'','setup/saveAsset','0.10955286026001','2016-09-29 11:48:57'),(33953,40,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 40, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 40)','setup/assetSetup','0.0010159015655518','2016-09-29 11:48:58'),(33954,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-09-29\', \'179\', \'5000\', \'TT\', \'181\', \'40\', 3)','transfer/newTransfer','0.14089703559875','2016-09-29 12:01:42'),(33955,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2294, \'33375\', \'5000\', \'HUTANG LAPUK\')','transfer/newTransfer','0.033488035202026','2016-09-29 12:01:42'),(33956,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'359\'','transfer/newTransfer','0.032427072525024','2016-09-29 12:01:42'),(33957,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000015\' WHERE `ID` =  2294','transfer/newTransfer','0.016804933547974','2016-09-29 12:01:42'),(33958,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000015\', \' [TT[00000010]]]\', \'Bank Transfer [  [TT[00000010]]] ]\', \'\', \'3\', \'2016-09-29\', \'2016\', \'09\', 5000, 5000, \'User\')','transfer/newTransfer','0.013524055480957','2016-09-29 12:01:42'),(33959,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000015\', 1, \'HUTANG LAPUK\', \'33373\', 5000, 1, \'1\', \'5000\', \'09\', \'2016\', \'0\', \'TT[00000010]\', \'User\')','transfer/newTransfer','0.025394916534424','2016-09-29 12:01:42'),(33960,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000015\', 2, \'HUTANG LAPUK\', \'33375\', 5000, 1, \'1\', \'5000\', \'09\', \'2016\', \'0\', \'TT[00000010]\', \'User\')','transfer/newTransfer','0.016058921813965','2016-09-29 12:01:42'),(33961,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000015\'','transfer/newTransfer','0.01676607131958','2016-09-29 12:01:42'),(33962,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2294','transfer/newTransfer','0.032912015914917','2016-09-29 12:01:42'),(33963,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11697','transfer/newTransfer','0.016802787780762','2016-09-29 12:01:42'),(33964,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000015\'','transfer/newTransfer','0.016199111938477','2016-09-29 12:01:42'),(33965,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.022422075271606','2016-09-29 12:01:42'),(33966,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33375\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','transfer/newTransfer','0.015769004821777','2016-09-29 12:01:42'),(33967,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'40\', \'28\', 1, 0, \'68\', \'1300\', \'OP-L\', \'2016-09-29\', \'180\', \'1\')','expenses/fnSaveExpenses','0.062927961349487','2016-09-29 12:03:59'),(33968,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2295, \'28\', \'KETA LAMA\', 1, \'33380\', \'1300\', \'1300\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033443927764893','2016-09-29 12:03:59'),(33969,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.05024790763855','2016-09-29 12:03:59'),(33970,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000016\' WHERE `ID` =  2295','expenses/fnSaveExpenses','0.016211032867432','2016-09-29 12:03:59'),(33971,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000016\', \'Loan Repayment [OP-L[00000011]]\', \'Loan Repayment [OP-L[00000011]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 1300, 1300, \'28\')','expenses/fnSaveExpenses','0.039610862731934','2016-09-29 12:04:00'),(33972,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000016\', 1, \'KETA LAMA\', \'33374\', 1300, 1, \'1\', \'1300\', \'09\', \'16\', \'1\', \'OP-L[00000011]\', \'User\')','expenses/fnSaveExpenses','0.03275990486145','2016-09-29 12:04:00'),(33973,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000016\', 2, \'KETA LAMA\', \'33380\', 1300, 1, \'1\', \'1300\', \'09\', \'16\', \'1\', \'OP-L[00000011]\', \'User\')','expenses/fnSaveExpenses','0.016699075698853','2016-09-29 12:04:00'),(33974,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1300, `total_amount_cr` = 1300, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000016\'','expenses/fnSaveExpenses','0.041192770004272','2016-09-29 12:04:00'),(33975,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2295','expenses/fnSaveExpenses','0.025177001953125','2016-09-29 12:04:00'),(33976,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11698','expenses/fnSaveExpenses','0.041095018386841','2016-09-29 12:04:00'),(33977,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000016\'','expenses/fnSaveExpenses','0.041774988174438','2016-09-29 12:04:00'),(33978,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33374\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.063846826553345','2016-09-29 12:04:00'),(33979,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'4\', \'33380\', \'2016\', \'9\', \'1300\', \'0\', 1300, \'User\', \'2016-09-29: 06:09:59\')','expenses/fnSaveExpenses','0.016010046005249','2016-09-29 12:04:00'),(33980,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'\', \'40\', \'28\', 1, 0, \'68\', \'3000\', \'OP-L\', \'2016-09-29\', \'180\', \'1\')','expenses/fnSaveExpenses','0.054599046707153','2016-09-29 12:27:38'),(33981,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2296, \'28\', \'BYR TUNGGAKAN\', 1, \'33380\', \'3000\', \'3000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.033431053161621','2016-09-29 12:27:38'),(33982,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'359\'','expenses/fnSaveExpenses','0.039688110351562','2016-09-29 12:27:38'),(33983,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20160900000017\' WHERE `ID` =  2296','expenses/fnSaveExpenses','0.02513599395752','2016-09-29 12:27:38'),(33984,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20160900000017\', \'Loan Repayment [OP-L[00000012]]\', \'Loan Repayment [OP-L[00000012]]\', \'\', \'3\', \'2016-09-29\', \'16\', \'09\', 3000, 3000, \'28\')','expenses/fnSaveExpenses','0.022349834442139','2016-09-29 12:27:38'),(33985,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000017\', 1, \'BYR TUNGGAKAN\', \'33374\', 3000, 1, \'1\', \'3000\', \'09\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/fnSaveExpenses','0.12886190414429','2016-09-29 12:27:38'),(33986,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20160900000017\', 2, \'BYR TUNGGAKAN\', \'33380\', 3000, 1, \'1\', \'3000\', \'09\', \'16\', \'1\', \'OP-L[00000012]\', \'User\')','expenses/fnSaveExpenses','0.028930902481079','2016-09-29 12:27:38'),(33987,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 3000, `total_amount_cr` = 3000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000017\'','expenses/fnSaveExpenses','0.016776084899902','2016-09-29 12:27:38'),(33988,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2296','expenses/fnSaveExpenses','0.016232967376709','2016-09-29 12:27:38'),(33989,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11699','expenses/fnSaveExpenses','0.016669034957886','2016-09-29 12:27:38'),(33990,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20160900000017\'','expenses/fnSaveExpenses','0.02453088760376','2016-09-29 12:27:38'),(33991,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33374\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.015763998031616','2016-09-29 12:27:38'),(33992,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33380\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'9\'','expenses/fnSaveExpenses','0.023961067199707','2016-09-29 12:27:38'),(33993,12,11,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.067948102951','2016-09-30 11:56:48'),(33994,40,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 40, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 40)','setup/assetSetup','0.002140998840332','2016-09-30 12:41:02'),(33995,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.0018398761749268','2016-09-30 12:41:13'),(33996,12,11,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2490401268005','2016-09-30 14:39:51'),(33997,12,11,'192.168.1.192','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 12, acctName, id from comp_chart_of_acct where companyid = 12 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 12)','bank/index','0.0011410713195801','2016-09-30 14:40:23'),(33998,12,11,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1563529968262','2016-09-30 15:40:50'),(33999,12,11,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1414520740509','2016-09-30 16:20:55'),(34000,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-10-04\', \'180\', \'5000\', \'TT\', \'181\', \'40\', 3)','transfer/newTransfer','0.13988900184631','2016-10-04 12:10:19'),(34001,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2297, \'33375\', \'5000\', \'Transfer\')','transfer/newTransfer','0.016232013702393','2016-10-04 12:10:19'),(34002,40,28,'192.168.1.201','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'40\', \'3\', \'2016\', \'10\', \'AP\', 1)','transfer/newTransfer','0.029697895050049','2016-10-04 12:10:19'),(34003,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000001\' WHERE `ID` =  2297','transfer/newTransfer','0.032865047454834','2016-10-04 12:10:19'),(34004,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20161000000001\', \' [TT[00000013]]]\', \'Bank Transfer [  [TT[00000013]]] ]\', \'\', \'3\', \'2016-10-04\', \'2016\', \'10\', 5000, 5000, \'User\')','transfer/newTransfer','0.014472007751465','2016-10-04 12:10:19'),(34005,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000001\', 1, \'Transfer\', \'33374\', 5000, 1, \'1\', \'5000\', \'10\', \'2016\', \'0\', \'TT[00000013]\', \'User\')','transfer/newTransfer','0.024426937103271','2016-10-04 12:10:19'),(34006,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000001\', 2, \'Transfer\', \'33375\', 5000, 1, \'1\', \'5000\', \'10\', \'2016\', \'0\', \'TT[00000013]\', \'User\')','transfer/newTransfer','0.016691923141479','2016-10-04 12:10:19'),(34007,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 5000, `total_amount_cr` = 5000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000001\'','transfer/newTransfer','0.016191005706787','2016-10-04 12:10:19'),(34008,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2297','transfer/newTransfer','0.033496141433716','2016-10-04 12:10:19'),(34009,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11700','transfer/newTransfer','0.024585962295532','2016-10-04 12:10:19'),(34010,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000001\'','transfer/newTransfer','0.033430099487305','2016-10-04 12:10:19'),(34011,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'3\', \'33374\', \'2016\', \'10\', \'0\', \'5000\', -5000, \'User\', \'2016-10-04: 06:10:19\')','transfer/newTransfer','0.043748140335083','2016-10-04 12:10:19'),(34012,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'3\', \'33375\', \'2016\', \'10\', \'5000\', \'0\', 5000, \'User\', \'2016-10-04: 06:10:19\')','transfer/newTransfer','0.015883922576904','2016-10-04 12:10:20'),(34013,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`paymentDate`, `bankID`, `amountPaid`, `formNo`, `payTo`, `companyID`, `accountID`) VALUES (\'2016-10-04\', \'180\', \'100\', \'TT\', \'181\', \'40\', 3)','transfer/newTransfer','0.073534965515137','2016-10-04 15:44:22'),(34014,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `accountID`, `amountExcludedTax`, `itemdescription`) VALUES (2298, \'33375\', \'100\', \'TRANSFER\')','transfer/newTransfer','0.033473014831543','2016-10-04 15:44:22'),(34015,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  \'361\'','transfer/newTransfer','0.024879932403564','2016-10-04 15:44:22'),(34016,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000002\' WHERE `ID` =  2298','transfer/newTransfer','0.016808032989502','2016-10-04 15:44:22'),(34017,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20161000000002\', \' [TT[00000013]]]\', \'Bank Transfer [  [TT[00000013]]] ]\', \'\', \'3\', \'2016-10-04\', \'2016\', \'10\', 100, 100, \'User\')','transfer/newTransfer','0.030635833740234','2016-10-04 15:44:22'),(34018,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000002\', 1, \'TRANSFER\', \'33374\', 100, 1, \'1\', \'100\', \'10\', \'2016\', \'0\', \'TT[00000013]\', \'User\')','transfer/newTransfer','0.025012969970703','2016-10-04 15:44:22'),(34019,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000002\', 2, \'TRANSFER\', \'33375\', 100, 1, \'1\', \'100\', \'10\', \'2016\', \'0\', \'TT[00000013]\', \'User\')','transfer/newTransfer','0.016122102737427','2016-10-04 15:44:22'),(34020,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000002\'','transfer/newTransfer','0.02513313293457','2016-10-04 15:44:22'),(34021,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2298','transfer/newTransfer','0.016263008117676','2016-10-04 15:44:22'),(34022,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11701','transfer/newTransfer','0.016795873641968','2016-10-04 15:44:23'),(34023,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000002\'','transfer/newTransfer','0.041203022003174','2016-10-04 15:44:23'),(34024,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33374\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.030774116516113','2016-10-04 15:44:23'),(34025,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33375\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','transfer/newTransfer','0.023815155029297','2016-10-04 15:44:23'),(34026,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.3602738380432','2016-10-05 11:45:45'),(34027,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.023351192474365','2016-10-05 11:46:01'),(34028,40,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 40, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 40)','setup/assetSetup','0.0099291801452637','2016-10-05 15:03:40'),(34029,1,1,'192.168.1.254','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 1, acctName, id from comp_chart_of_acct where companyid = 1 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 1)','bank/index','0.001147985458374','2016-10-05 15:22:46'),(34030,1,1,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.071014881134','2016-10-06 10:23:50'),(34031,1,1,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.6101889610291','2016-10-06 14:10:49'),(34032,12,11,'192.168.1.202','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1323220729828','2016-10-06 16:16:54'),(34033,1,1,'192.168.1.211','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitCredit`)\nWHERE `companyID` =  \'1\'\nAND year = 2016\nAND acctgroupid = 3','home/index','1.3220529556274','2016-10-07 11:39:10'),(34034,1,1,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','3.3356349468231','2016-10-07 11:39:10'),(34035,1,1,'192.168.1.211','others','SELECT SUM(COALESCE(c.amountPaid, 0)) AS amount\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_payment_others_without_item` b ON `b`.`accountID` = `a`.`ID`\nLEFT OUTER JOIN `comp_payment_others` c ON `c`.`ID` = `b`.`otherPaymentID` AND c.is_delete = 0 AND MONTH(c.paymentDate) = 1 AND YEAR(c.paymentDate) = 2016\nWHERE `a`.`companyID` =  \'1\'\nAND `a`.`acctGroupID` =  \'10\'','dashboard/fnGetSeries','1.1079080104828','2016-10-07 11:39:38'),(34036,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.3257219791412','2016-10-10 12:49:19'),(34037,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.017336130142212','2016-10-10 12:55:09'),(34038,40,28,'192.168.1.201','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 40, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 40)','setup/assetSetup','0.0017671585083008','2016-10-10 12:55:20'),(34039,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (\'fdadsadsada\', \'40\', \'28\', 1, 0, \'68\', \'1\', \'OP-E\', \'2016-10-10\', \'179\', \'1\')','expenses/fnSaveExpenses','0.071624040603638','2016-10-10 12:57:10'),(34040,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2299, \'28\', \'wrwr\', 1, \'33387\', \'1\', \'1\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.04945707321167','2016-10-10 12:57:10'),(34041,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  \'361\'','expenses/fnSaveExpenses','0.0242760181427','2016-10-10 12:57:10'),(34042,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000003\' WHERE `ID` =  2299','expenses/fnSaveExpenses','0.016785144805908','2016-10-10 12:57:10'),(34043,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20161000000003\', \'Operating Expenses [OP-E[00000014]]\', \'Operating Expenses [OP-E[00000014]]\', \'\', \'3\', \'2016-10-10\', \'16\', \'10\', 1, 1, \'28\')','expenses/fnSaveExpenses','0.030602931976318','2016-10-10 12:57:10'),(34044,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000003\', 1, \'wrwr\', \'33373\', 1, 1, \'1\', \'1\', \'10\', \'16\', \'1\', \'OP-E[00000014]\', \'User\')','expenses/fnSaveExpenses','0.033348798751831','2016-10-10 12:57:10'),(34045,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000003\', 2, \'wrwr\', \'33387\', 1, 1, \'1\', \'1\', \'10\', \'16\', \'1\', \'OP-E[00000014]\', \'User\')','expenses/fnSaveExpenses','0.016097068786621','2016-10-10 12:57:10'),(34046,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 1, `total_amount_cr` = 1, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000003\'','expenses/fnSaveExpenses','0.033440113067627','2016-10-10 12:57:10'),(34047,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2299','expenses/fnSaveExpenses','0.016242027282715','2016-10-10 12:57:10'),(34048,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11702','expenses/fnSaveExpenses','0.016641139984131','2016-10-10 12:57:10'),(34049,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000003\'','expenses/fnSaveExpenses','0.04954981803894','2016-10-10 12:57:10'),(34050,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.022536993026733','2016-10-10 12:57:10'),(34051,40,28,'192.168.1.201','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'10\', \'33387\', \'2016\', \'10\', \'1\', \'0\', 1, \'User\', \'2016-10-10: 06:10:10\')','expenses/fnSaveExpenses','0.015338897705078','2016-10-10 12:57:10'),(34052,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'1000\', \'OP-C\', \'2016-10-10\', \'82\', \'1\')','expenses/fnSaveExpenses','0.072906017303467','2016-10-10 16:19:25'),(34053,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2300, \'1\', \'Item 1\', 1, \'32527\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.040095090866089','2016-10-10 16:19:25'),(34054,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.024903059005737','2016-10-10 16:19:25'),(34055,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000013\' WHERE `ID` =  2300','expenses/fnSaveExpenses','0.018059968948364','2016-10-10 16:19:25'),(34056,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000013\', \'Cost of Goods Sold [OP-C[00000670]]\', \'Cost of Goods Sold [OP-C[00000670]]\', \'\', \'3\', \'2016-10-10\', \'16\', \'10\', 1000, 1000, \'1\')','expenses/fnSaveExpenses','0.039359092712402','2016-10-10 16:19:25'),(34057,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000013\', 1, \'Item 1\', \'32515\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000670]\', \'User\')','expenses/fnSaveExpenses','0.016385078430176','2016-10-10 16:19:25'),(34058,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000013\', 2, \'Item 1\', \'32527\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-C[00000670]\', \'User\')','expenses/fnSaveExpenses','0.016427993774414','2016-10-10 16:19:25'),(34059,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000013\'','expenses/fnSaveExpenses','0.040206909179688','2016-10-10 16:19:25'),(34060,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2300','expenses/fnSaveExpenses','0.017820119857788','2016-10-10 16:19:25'),(34061,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11703','expenses/fnSaveExpenses','0.016365051269531','2016-10-10 16:19:25'),(34062,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000013\'','expenses/fnSaveExpenses','0.033167123794556','2016-10-10 16:19:25'),(34063,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032393932342529','2016-10-10 16:19:25'),(34064,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.024286985397339','2016-10-10 16:19:25'),(34065,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2300\'','expenses/removePayment','0.093096971511841','2016-10-10 16:22:13'),(34066,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50955\'','expenses/removePayment','0.023656129837036','2016-10-10 16:22:13'),(34067,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50956\'','expenses/removePayment','0.016486883163452','2016-10-10 16:22:13'),(34068,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11703\'','expenses/removePayment','0.033180952072144','2016-10-10 16:22:13'),(34069,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`) VALUES (0, \'1\', \'1\', 1, \'32527\', \'68\', \'999\', \'OP-C\', \'2016-10-10\', \'82\', \'1\')','expenses/fnSaveExpenses','0.071334838867188','2016-10-10 16:23:44'),(34070,1,1,'192.168.1.254','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2317, \'1\', \'Item 1\', 1, \'32527\', \'999\', \'999\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.041763067245483','2016-10-10 16:23:44'),(34071,1,1,'192.168.1.254','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'304\'','expenses/fnSaveExpenses','0.034848928451538','2016-10-10 16:23:44'),(34072,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000014\' WHERE `ID` =  2317','expenses/fnSaveExpenses','0.016531944274902','2016-10-10 16:23:44'),(34073,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'1\', \'AP20161000000014\', \'Cost of Goods Sold [OP-C[00000671]]\', \'Cost of Goods Sold [OP-C[00000671]]\', \'\', \'3\', \'2016-10-10\', \'16\', \'10\', 999, 999, \'1\')','expenses/fnSaveExpenses','0.012441873550415','2016-10-10 16:23:44'),(34074,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000014\', 1, \'Item 1\', \'32515\', 999, 1, \'1\', \'999\', \'10\', \'16\', \'1\', \'OP-C[00000671]\', \'User\')','expenses/fnSaveExpenses','0.018218994140625','2016-10-10 16:23:44'),(34075,1,1,'192.168.1.254','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'1\', \'AP20161000000014\', 2, \'Item 1\', \'32527\', 999, 1, \'1\', \'999\', \'10\', \'16\', \'1\', \'OP-C[00000671]\', \'User\')','expenses/fnSaveExpenses','0.024774074554443','2016-10-10 16:23:44'),(34076,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `total_amount_dr` = 999, `total_amount_cr` = 999, `total_amount` = 0 WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000014\'','expenses/fnSaveExpenses','0.016474008560181','2016-10-10 16:23:44'),(34077,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2317','expenses/fnSaveExpenses','0.01655101776123','2016-10-10 16:23:44'),(34078,1,1,'192.168.1.254','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11704','expenses/fnSaveExpenses','0.016386032104492','2016-10-10 16:23:44'),(34079,1,1,'192.168.1.254','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'1\' AND `journalID` =  \'AP20161000000014\'','expenses/fnSaveExpenses','0.016488075256348','2016-10-10 16:23:44'),(34080,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32515\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.022810935974121','2016-10-10 16:23:44'),(34081,1,1,'192.168.1.254','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'1\' AND `a`.`acctID` =  \'32527\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.025753021240234','2016-10-10 16:23:44'),(34082,1,1,'192.168.1.254','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2317\'','expenses/removePayment','0.095877170562744','2016-10-10 16:23:50'),(34083,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50957\'','expenses/removePayment','0.017543077468872','2016-10-10 16:23:50'),(34084,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'50958\'','expenses/removePayment','0.016515016555786','2016-10-10 16:23:50'),(34085,1,1,'192.168.1.254','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'1\'\nAND `ID` =  \'11704\'','expenses/removePayment','0.016530990600586','2016-10-10 16:23:50'),(34086,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2285\'','expenses/removePayment','0.029531002044678','2016-10-10 16:33:14'),(34087,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50819\'','expenses/removePayment','0.0223548412323','2016-10-10 16:33:14'),(34088,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50820\'','expenses/removePayment','0.01652193069458','2016-10-10 16:33:14'),(34089,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11663\'','expenses/removePayment','0.016536951065063','2016-10-10 16:33:14'),(34090,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0186560153961','2016-10-10 17:17:18'),(34091,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2292\'','expenses/removePayment','0.02433705329895','2016-10-10 17:18:03'),(34092,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50871\'','expenses/removePayment','0.027488946914673','2016-10-10 17:18:03'),(34093,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50872\'','expenses/removePayment','0.020267009735107','2016-10-10 17:18:03'),(34094,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50873\'','expenses/removePayment','0.021103143692017','2016-10-10 17:18:04'),(34095,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50874\'','expenses/removePayment','0.024855852127075','2016-10-10 17:18:04'),(34096,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11678\'','expenses/removePayment','0.028649091720581','2016-10-10 17:18:04'),(34097,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2286\'','expenses/removePayment','0.027432918548584','2016-10-10 17:18:04'),(34098,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50823\'','expenses/removePayment','0.031425952911377','2016-10-10 17:18:04'),(34099,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50824\'','expenses/removePayment','0.016479015350342','2016-10-10 17:18:04'),(34100,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50825\'','expenses/removePayment','0.024893999099731','2016-10-10 17:18:04'),(34101,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50826\'','expenses/removePayment','0.024853944778442','2016-10-10 17:18:04'),(34102,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50827\'','expenses/removePayment','0.024858951568604','2016-10-10 17:18:04'),(34103,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50828\'','expenses/removePayment','0.024870157241821','2016-10-10 17:18:04'),(34104,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50829\'','expenses/removePayment','0.024850845336914','2016-10-10 17:18:04'),(34105,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50830\'','expenses/removePayment','0.024855852127075','2016-10-10 17:18:04'),(34106,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11665\'','expenses/removePayment','0.033189058303833','2016-10-10 17:18:04'),(34107,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `is_delete` = 1 WHERE `ID` =  \'2291\'','expenses/removePayment','0.02731990814209','2016-10-10 17:18:31'),(34108,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50897\'','expenses/removePayment','0.012731075286865','2016-10-10 17:18:31'),(34109,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50898\'','expenses/removePayment','0.025119066238403','2016-10-10 17:18:31'),(34110,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50899\'','expenses/removePayment','0.011661052703857','2016-10-10 17:18:31'),(34111,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50900\'','expenses/removePayment','0.0082008838653564','2016-10-10 17:18:31'),(34112,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50901\'','expenses/removePayment','0.01274299621582','2016-10-10 17:18:31'),(34113,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50902\'','expenses/removePayment','0.011976003646851','2016-10-10 17:18:31'),(34114,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50903\'','expenses/removePayment','0.012731790542603','2016-10-10 17:18:31'),(34115,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50904\'','expenses/removePayment','0.011965990066528','2016-10-10 17:18:31'),(34116,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50905\'','expenses/removePayment','0.012743949890137','2016-10-10 17:18:31'),(34117,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50906\'','expenses/removePayment','0.011961936950684','2016-10-10 17:18:31'),(34118,40,28,'192.168.1.201','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11681\'','expenses/removePayment','0.012769937515259','2016-10-10 17:18:31'),(34119,40,28,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.6281750202179','2016-10-11 08:56:30'),(34120,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`) VALUES (\'2016-10-11\', \'179\', \'OR\', \'800.00\', \'40\')','sales/save_new_sale','0.1530339717865','2016-10-11 09:52:29'),(34121,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2396, \'33384\', \'11/10/2016-fad\', \'200.00\', 1)','sales/save_new_sale','0.020309925079346','2016-10-11 09:52:29'),(34122,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2396, \'33384\', \'11/10/2016-fad2\', \'600.00\', 2)','sales/save_new_sale','0.016235113143921','2016-10-11 09:52:29'),(34123,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2396','sales/save_new_sale','0.00025510787963867','2016-10-11 09:52:29'),(34124,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'360\'','sales/save_new_sale','0.029294967651367','2016-10-11 09:52:29'),(34125,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000004\' WHERE `ID` =  2396','sales/save_new_sale','0.011723041534424','2016-10-11 09:52:29'),(34126,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000004\', \'OR[00000010]\', \'Sales [ OR[00000010] ]\', \'\', \'2\', \'2016-10-11\', \'2016\', \'10\', \'800\', \'800\', \'28\')','sales/save_new_sale','0.02732515335083','2016-10-11 09:52:29'),(34127,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000004\', 1, \'11/10/2016-fad\', \'33384\', \'\', 200, \'1\', \'1\', \'200\', \'10\', \'2016\', \'1\', \'OR[00000010]\', \'0\', \'User\')','sales/save_new_sale','0.036601066589355','2016-10-11 09:52:29'),(34128,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000004\', \'11/10/2016-fad\', \'33373\', \'\', 200, \'1\', \'1\', \'200\', \'10\', \'2016\', \'OR[00000010]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0082950592041016','2016-10-11 09:52:29'),(34129,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000004\', 3, \'11/10/2016-fad2\', \'33384\', \'\', 600, \'1\', \'1\', \'600\', \'10\', \'2016\', \'2\', \'OR[00000010]\', \'0\', \'User\')','sales/save_new_sale','0.0077559947967529','2016-10-11 09:52:29'),(34130,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20161000000004\', \'11/10/2016-fad2\', \'33373\', \'\', 600, \'1\', \'1\', \'600\', \'10\', \'2016\', \'OR[00000010]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.0083439350128174','2016-10-11 09:52:29'),(34131,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 800, `total_amount_cr` = 800, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000004\'','sales/save_new_sale','0.02449893951416','2016-10-11 09:52:29'),(34132,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2396','sales/save_new_sale','0.0084869861602783','2016-10-11 09:52:29'),(34133,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11705','sales/save_new_sale','0.012673139572144','2016-10-11 09:52:29'),(34134,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000004\'','sales/save_new_sale','0.037116050720215','2016-10-11 09:52:29'),(34135,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.030400991439819','2016-10-11 09:52:29'),(34136,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.016027927398682','2016-10-11 09:52:29'),(34137,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.012001037597656','2016-10-11 09:52:29'),(34138,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.01146388053894','2016-10-11 09:52:29'),(34139,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`, `receiveFrom`) VALUES (\'2016-10-11\', \'179\', \'OR\', \'980.00\', \'40\', 0)','sales/save_new_sale','0.1603798866272','2016-10-11 10:15:34'),(34140,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2397, \'33384\', \'mortal combat\', \'500.00\', 1)','sales/save_new_sale','0.008458137512207','2016-10-11 10:15:34'),(34141,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2397, \'33384\', \'mortal combat 2\', \'480.00\', 2)','sales/save_new_sale','0.016255140304565','2016-10-11 10:15:34'),(34142,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2397','sales/save_new_sale','0.00026798248291016','2016-10-11 10:15:34'),(34143,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'360\'','sales/save_new_sale','0.030717849731445','2016-10-11 10:15:34'),(34144,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000005\' WHERE `ID` =  2397','sales/save_new_sale','0.018975019454956','2016-10-11 10:15:34'),(34145,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000005\', \'OR[00000011]\', \'Sales [ OR[00000011] ]\', \'\', \'2\', \'2016-10-11\', \'2016\', \'10\', \'980\', \'980\', \'28\')','sales/save_new_sale','0.022904872894287','2016-10-11 10:15:34'),(34146,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000005\', 1, \'mortal combat\', \'33384\', \'0\', 500, \'1\', \'1\', \'500\', \'10\', \'2016\', \'1\', \'OR[00000011]\', \'0\', \'User\')','sales/save_new_sale','0.049404144287109','2016-10-11 10:15:34'),(34147,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000005\', \'mortal combat\', \'33373\', \'0\', 500, \'1\', \'1\', \'500\', \'10\', \'2016\', \'OR[00000011]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.0083110332489014','2016-10-11 10:15:34'),(34148,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000005\', 3, \'mortal combat 2\', \'33384\', \'0\', 480, \'1\', \'1\', \'480\', \'10\', \'2016\', \'2\', \'OR[00000011]\', \'0\', \'User\')','sales/save_new_sale','0.016104936599731','2016-10-11 10:15:34'),(34149,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20161000000005\', \'mortal combat 2\', \'33373\', \'0\', 480, \'1\', \'1\', \'480\', \'10\', \'2016\', \'OR[00000011]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.0083329677581787','2016-10-11 10:15:34'),(34150,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 980, `total_amount_cr` = 980, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000005\'','sales/save_new_sale','0.032878875732422','2016-10-11 10:15:34'),(34151,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2397','sales/save_new_sale','0.01682710647583','2016-10-11 10:15:34'),(34152,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11706','sales/save_new_sale','0.016233921051025','2016-10-11 10:15:34'),(34153,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000005\'','sales/save_new_sale','0.041780948638916','2016-10-11 10:15:34'),(34154,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.03039288520813','2016-10-11 10:15:34'),(34155,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.016145944595337','2016-10-11 10:15:34'),(34156,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.015547037124634','2016-10-11 10:15:34'),(34157,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.0078349113464355','2016-10-11 10:15:34'),(34158,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others` (`receivePaymentDate`, `bankID`, `formNo`, `totalReceived`, `companyID`, `receiveFrom`) VALUES (\'2016-10-11\', \'179\', \'OR\', \'870.00\', \'40\', \'hai saya fad\')','sales/save_new_sale','0.14715099334717','2016-10-11 11:03:08'),(34159,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2398, \'33384\', \'garfield\', \'570.00\', 1)','sales/save_new_sale','0.035735130310059','2016-10-11 11:03:09'),(34160,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `accountNoID`, `description`, `amountExcludedTax`, `lineNo`) VALUES (2398, \'33384\', \'garfield2\', \'300.00\', 2)','sales/save_new_sale','0.016247987747192','2016-10-11 11:03:09'),(34161,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  2398','sales/save_new_sale','0.00022292137145996','2016-10-11 11:03:09'),(34162,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'360\'','sales/save_new_sale','0.013941049575806','2016-10-11 11:03:09'),(34163,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000006\' WHERE `ID` =  2398','sales/save_new_sale','0.024847984313965','2016-10-11 11:03:09'),(34164,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000006\', \'OR[00000012]\', \'Sales [ OR[00000012] ]\', \'\', \'2\', \'2016-10-11\', \'2016\', \'10\', \'870\', \'870\', \'28\')','sales/save_new_sale','0.033639907836914','2016-10-11 11:03:09'),(34165,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000006\', 1, \'garfield\', \'33384\', \'hai saya fad\', 570, \'1\', \'1\', \'570\', \'10\', \'2016\', \'1\', \'OR[00000012]\', \'0\', \'User\')','sales/save_new_sale','0.049394845962524','2016-10-11 11:03:09'),(34166,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000006\', \'garfield\', \'33373\', \'hai saya fad\', 570, \'1\', \'1\', \'570\', \'10\', \'2016\', \'OR[00000012]\', \'1\', \'0\', \'User\')','sales/save_new_sale','0.016693830490112','2016-10-11 11:03:09'),(34167,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000006\', 3, \'garfield2\', \'33384\', \'hai saya fad\', 300, \'1\', \'1\', \'300\', \'10\', \'2016\', \'2\', \'OR[00000012]\', \'0\', \'User\')','sales/save_new_sale','0.016105890274048','2016-10-11 11:03:09'),(34168,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20161000000006\', \'garfield2\', \'33373\', \'hai saya fad\', 300, \'1\', \'1\', \'300\', \'10\', \'2016\', \'OR[00000012]\', \'2\', \'0\', \'User\')','sales/save_new_sale','0.016695976257324','2016-10-11 11:03:09'),(34169,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 870, `total_amount_cr` = 870, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000006\'','sales/save_new_sale','0.041206121444702','2016-10-11 11:03:09'),(34170,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2398','sales/save_new_sale','0.016839981079102','2016-10-11 11:03:09'),(34171,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11707','sales/save_new_sale','0.04985785484314','2016-10-11 11:03:09'),(34172,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000006\'','sales/save_new_sale','0.016204118728638','2016-10-11 11:03:09'),(34173,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.030817985534668','2016-10-11 11:03:09'),(34174,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.015681982040405','2016-10-11 11:03:09'),(34175,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.016252994537354','2016-10-11 11:03:09'),(34176,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_new_sale','0.01568078994751','2016-10-11 11:03:09'),(34177,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20161000000006\'','sales/save_update_sale','0.097895860671997','2016-10-11 12:05:55'),(34178,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20161000000006\'','sales/save_update_sale','0.049781084060669','2016-10-11 12:05:55'),(34179,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-10-11\', `bankID` = \'179\', `totalReceived` = \'870.00\', `updateAble` = 1, `receiveFrom` = \'hai saya fad hilmi\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.13315320014954','2016-10-11 12:05:55'),(34180,40,28,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2398\'','sales/save_update_sale','0.032857894897461','2016-10-11 12:05:55'),(34181,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2398\', \'garfield\', \'570.00\', \'33384\', 1)','sales/save_update_sale','0.016829013824463','2016-10-11 12:05:55'),(34182,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2398\', \'garfield2\', \'300.00\', \'33384\', 2)','sales/save_update_sale','0.01623797416687','2016-10-11 12:05:55'),(34183,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.00023293495178223','2016-10-11 12:05:55'),(34184,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'360\'','sales/save_update_sale','0.030690908432007','2016-10-11 12:05:55'),(34185,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000007\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.024514198303223','2016-10-11 12:05:55'),(34186,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000007\', \'OR[00000012]\', \'Sales [ OR[00000012] ]\', \'\', \'2\', \'2016-10-11\', \'2016\', \'10\', \'870\', \'870\', \'28\')','sales/save_update_sale','0.014533042907715','2016-10-11 12:05:55'),(34187,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000007\', 1, \'garfield\', \'33384\', \'hai saya fad hilmi\', 570, \'1\', \'1\', \'570\', \'10\', \'2016\', \'1\', \'OR[00000012]\', \'0\', \'User\')','sales/save_update_sale','0.016098976135254','2016-10-11 12:05:55'),(34188,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000007\', \'garfield\', \'33373\', \'hai saya fad hilmi\', 570, \'1\', \'1\', \'570\', \'10\', \'2016\', \'OR[00000012]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.033324956893921','2016-10-11 12:05:55'),(34189,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000007\', 3, \'garfield2\', \'33384\', \'hai saya fad hilmi\', 300, \'1\', \'1\', \'300\', \'10\', \'2016\', \'2\', \'OR[00000012]\', \'0\', \'User\')','sales/save_update_sale','0.01609992980957','2016-10-11 12:05:55'),(34190,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20161000000007\', \'garfield2\', \'33373\', \'hai saya fad hilmi\', 300, \'1\', \'1\', \'300\', \'10\', \'2016\', \'OR[00000012]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016688108444214','2016-10-11 12:05:55'),(34191,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 870, `total_amount_cr` = 870, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000007\'','sales/save_update_sale','0.024524927139282','2016-10-11 12:05:55'),(34192,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.025167942047119','2016-10-11 12:05:55'),(34193,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11708','sales/save_update_sale','0.016226053237915','2016-10-11 12:05:55'),(34194,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000007\'','sales/save_update_sale','0.016783952713013','2016-10-11 12:05:55'),(34195,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.022116899490356','2016-10-11 12:05:55'),(34196,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.016170978546143','2016-10-11 12:05:55'),(34197,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.015558958053589','2016-10-11 12:05:55'),(34198,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.01616907119751','2016-10-11 12:05:55'),(34199,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20161000000007\'','sales/save_update_sale','0.14505219459534','2016-10-11 12:06:31'),(34200,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20161000000007\'','sales/save_update_sale','0.025956869125366','2016-10-11 12:06:31'),(34201,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-10-11\', `bankID` = \'179\', `totalReceived` = \'1770.00\', `updateAble` = 1, `receiveFrom` = \'hai saya fad hilmi tau ye\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.016706943511963','2016-10-11 12:06:31'),(34202,40,28,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2398\'','sales/save_update_sale','0.016227006912231','2016-10-11 12:06:31'),(34203,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2398\', \'garfield\', \'570.00\', \'33384\', 1)','sales/save_update_sale','0.025186777114868','2016-10-11 12:06:31'),(34204,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2398\', \'garfield2\', \'300.00\', \'33384\', 2)','sales/save_update_sale','0.016249895095825','2016-10-11 12:06:31'),(34205,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2398\', \'garfield 3\', \'900.00\', \'33384\', 3)','sales/save_update_sale','0.016846895217896','2016-10-11 12:06:31'),(34206,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.00019693374633789','2016-10-11 12:06:31'),(34207,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'360\'','sales/save_update_sale','0.025092840194702','2016-10-11 12:06:31'),(34208,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000008\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.016781806945801','2016-10-11 12:06:31'),(34209,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000008\', \'OR[00000012]\', \'Sales [ OR[00000012] ]\', \'\', \'2\', \'2016-10-11\', \'2016\', \'10\', \'1770\', \'1770\', \'28\')','sales/save_update_sale','0.013975858688354','2016-10-11 12:06:31'),(34210,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000008\', 1, \'garfield\', \'33384\', \'hai saya fad hilmi tau ye\', 570, \'1\', \'1\', \'570\', \'10\', \'2016\', \'1\', \'OR[00000012]\', \'0\', \'User\')','sales/save_update_sale','0.016661882400513','2016-10-11 12:06:31'),(34211,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000008\', \'garfield\', \'33373\', \'hai saya fad hilmi tau ye\', 570, \'1\', \'1\', \'570\', \'10\', \'2016\', \'OR[00000012]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016078948974609','2016-10-11 12:06:31'),(34212,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000008\', 3, \'garfield2\', \'33384\', \'hai saya fad hilmi tau ye\', 300, \'1\', \'1\', \'300\', \'10\', \'2016\', \'2\', \'OR[00000012]\', \'0\', \'User\')','sales/save_update_sale','0.016664028167725','2016-10-11 12:06:31'),(34213,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20161000000008\', \'garfield2\', \'33373\', \'hai saya fad hilmi tau ye\', 300, \'1\', \'1\', \'300\', \'10\', \'2016\', \'OR[00000012]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016340017318726','2016-10-11 12:06:31'),(34214,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000008\', 5, \'garfield 3\', \'33384\', \'hai saya fad hilmi tau ye\', 900, \'1\', \'1\', \'900\', \'10\', \'2016\', \'3\', \'OR[00000012]\', \'0\', \'User\')','sales/save_update_sale','0.13308095932007','2016-10-11 12:06:31'),(34215,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 6, \'AR20161000000008\', \'garfield 3\', \'33373\', \'hai saya fad hilmi tau ye\', 900, \'1\', \'1\', \'900\', \'10\', \'2016\', \'OR[00000012]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.024419784545898','2016-10-11 12:06:31'),(34216,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1770, `total_amount_cr` = 1770, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000008\'','sales/save_update_sale','0.016779899597168','2016-10-11 12:06:31'),(34217,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.016239881515503','2016-10-11 12:06:31'),(34218,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11709','sales/save_update_sale','0.016833066940308','2016-10-11 12:06:31'),(34219,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000008\'','sales/save_update_sale','0.016211032867432','2016-10-11 12:06:31'),(34220,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.015673875808716','2016-10-11 12:06:31'),(34221,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.015618085861206','2016-10-11 12:06:31'),(34222,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.024562835693359','2016-10-11 12:06:31'),(34223,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.015552043914795','2016-10-11 12:06:31'),(34224,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.016221046447754','2016-10-11 12:06:31'),(34225,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.015610933303833','2016-10-11 12:06:31'),(34226,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20161000000008\'','sales/save_update_sale','0.087555170059204','2016-10-11 12:08:10'),(34227,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `journalID` =  \'AR20161000000008\'','sales/save_update_sale','0.033228158950806','2016-10-11 12:08:10'),(34228,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `receivePaymentDate` = \'2016-10-11\', `bankID` = \'179\', `totalReceived` = \'1770.00\', `updateAble` = 1, `receiveFrom` = \'hai saya fad hilmi tau ye\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.064945936203003','2016-10-11 12:08:10'),(34229,40,28,'192.168.1.198','delete','DELETE FROM `comp_receive_payment_others_detail`\nWHERE `receivePaymentOthersID` =  \'2398\'','sales/save_update_sale','0.04256796836853','2016-10-11 12:08:10'),(34230,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2398\', \'garfield\', \'570.00\', \'33384\', 1)','sales/save_update_sale','0.016889095306396','2016-10-11 12:08:10'),(34231,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2398\', \'garfield2\', \'300.00\', \'33384\', 2)','sales/save_update_sale','0.016231060028076','2016-10-11 12:08:10'),(34232,40,28,'192.168.1.198','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `description`, `amountExcludedTax`, `accountNoID`, `lineNo`) VALUES (\'2398\', \'garfield3\', \'900.00\', \'33384\', 3)','sales/save_update_sale','0.016856908798218','2016-10-11 12:08:10'),(34233,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'1\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.00019001960754395','2016-10-11 12:08:10'),(34234,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'360\'','sales/save_update_sale','0.017215013504028','2016-10-11 12:08:10'),(34235,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20161000000009\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.016804933547974','2016-10-11 12:08:10'),(34236,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AR20161000000009\', \'OR[00000012]\', \'Sales [ OR[00000012] ]\', \'\', \'2\', \'2016-10-11\', \'2016\', \'10\', \'1770\', \'1770\', \'28\')','sales/save_update_sale','0.022346019744873','2016-10-11 12:08:10'),(34237,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000009\', 1, \'garfield\', \'33384\', \'hai saya fad hilmi tau ye\', 570, \'1\', \'1\', \'570\', \'10\', \'2016\', \'1\', \'OR[00000012]\', \'0\', \'User\')','sales/save_update_sale','0.016664981842041','2016-10-11 12:08:10'),(34238,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 2, \'AR20161000000009\', \'garfield\', \'33373\', \'hai saya fad hilmi tau ye\', 570, \'1\', \'1\', \'570\', \'10\', \'2016\', \'OR[00000012]\', \'1\', \'0\', \'User\')','sales/save_update_sale','0.016117811203003','2016-10-11 12:08:10'),(34239,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000009\', 3, \'garfield2\', \'33384\', \'hai saya fad hilmi tau ye\', 300, \'1\', \'1\', \'300\', \'10\', \'2016\', \'2\', \'OR[00000012]\', \'0\', \'User\')','sales/save_update_sale','0.016676187515259','2016-10-11 12:08:11'),(34240,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 4, \'AR20161000000009\', \'garfield2\', \'33373\', \'hai saya fad hilmi tau ye\', 300, \'1\', \'1\', \'300\', \'10\', \'2016\', \'OR[00000012]\', \'2\', \'0\', \'User\')','sales/save_update_sale','0.016109943389893','2016-10-11 12:08:11'),(34241,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'40\', \'AR20161000000009\', 5, \'garfield3\', \'33384\', \'hai saya fad hilmi tau ye\', 900, \'1\', \'1\', \'900\', \'10\', \'2016\', \'3\', \'OR[00000012]\', \'0\', \'User\')','sales/save_update_sale','0.024147987365723','2016-10-11 12:08:11'),(34242,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'40\', 6, \'AR20161000000009\', \'garfield3\', \'33373\', \'hai saya fad hilmi tau ye\', 900, \'1\', \'1\', \'900\', \'10\', \'2016\', \'OR[00000012]\', \'3\', \'0\', \'User\')','sales/save_update_sale','0.016990900039673','2016-10-11 12:08:11'),(34243,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 1770, `total_amount_cr` = 1770, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000009\'','sales/save_update_sale','0.016788959503174','2016-10-11 12:08:11'),(34244,40,28,'192.168.1.198','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2398\'','sales/save_update_sale','0.024588108062744','2016-10-11 12:08:11'),(34245,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11710','sales/save_update_sale','0.016834020614624','2016-10-11 12:08:11'),(34246,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AR20161000000009\'','sales/save_update_sale','0.01621413230896','2016-10-11 12:08:11'),(34247,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.024053812026978','2016-10-11 12:08:11'),(34248,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.015701055526733','2016-10-11 12:08:11'),(34249,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.016274213790894','2016-10-11 12:08:11'),(34250,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.015675067901611','2016-10-11 12:08:11'),(34251,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33384\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.016280889511108','2016-10-11 12:08:11'),(34252,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','sales/save_update_sale','0.015645027160645','2016-10-11 12:08:11'),(34253,40,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`, `payTo`) VALUES (0, \'40\', \'28\', 1, \'33385\', \'68\', \'540\', \'OP-C\', \'2016-10-11\', \'179\', \'1\', \'hai saya fad\')','expenses/fnSaveExpenses','0.07209300994873','2016-10-11 15:17:07'),(34254,40,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2318, \'28\', \'mortalcombat1\', 1, \'33385\', \'390\', \'390\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.024787902832031','2016-10-11 15:17:07'),(34255,40,28,'192.168.1.198','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2318, \'28\', \'mortalcombat2\', 1, \'33385\', \'150\', \'150\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016511917114258','2016-10-11 15:17:07'),(34256,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  \'361\'','expenses/fnSaveExpenses','0.025616884231567','2016-10-11 15:17:07'),(34257,40,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000004\' WHERE `ID` =  2318','expenses/fnSaveExpenses','0.024844169616699','2016-10-11 15:17:07'),(34258,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20161000000004\', \'Cost of Goods Sold [OP-C[00000015]]\', \'Cost of Goods Sold [OP-C[00000015]]\', \'\', \'3\', \'2016-10-11\', \'16\', \'10\', 540, 540, \'28\')','expenses/fnSaveExpenses','0.030821084976196','2016-10-11 15:17:07'),(34259,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000004\', 1, \'mortalcombat1\', \'33373\', 390, 1, \'1\', \'390\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016372919082642','2016-10-11 15:17:07'),(34260,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000004\', 2, \'mortalcombat1\', \'33385\', 390, 1, \'1\', \'390\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016408205032349','2016-10-11 15:17:07'),(34261,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000004\', 3, \'mortalcombat2\', \'33373\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016407012939453','2016-10-11 15:17:07'),(34262,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000004\', 4, \'mortalcombat2\', \'33385\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.01641583442688','2016-10-11 15:17:07'),(34263,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 540, `total_amount_cr` = 540, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000004\'','expenses/fnSaveExpenses','0.033400058746338','2016-10-11 15:17:07'),(34264,40,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2318','expenses/fnSaveExpenses','0.13294100761414','2016-10-11 15:17:07'),(34265,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11711','expenses/fnSaveExpenses','0.016364097595215','2016-10-11 15:17:07'),(34266,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000004\'','expenses/fnSaveExpenses','0.041481018066406','2016-10-11 15:17:07'),(34267,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.022964954376221','2016-10-11 15:17:07'),(34268,40,28,'192.168.1.198','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'40\', \'8\', \'33385\', \'2016\', \'10\', \'390\', \'0\', 390, \'User\', \'2016-10-11: 09:10:07\')','expenses/fnSaveExpenses','0.023949861526489','2016-10-11 15:17:07'),(34269,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.032577991485596','2016-10-11 15:17:07'),(34270,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.043262958526611','2016-10-11 15:17:07'),(34271,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50987\'','expenses/fnSaveExpenses','0.038488149642944','2016-10-11 15:22:03'),(34272,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50988\'','expenses/fnSaveExpenses','0.016491889953613','2016-10-11 15:22:03'),(34273,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50989\'','expenses/fnSaveExpenses','0.016531944274902','2016-10-11 15:22:03'),(34274,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50990\'','expenses/fnSaveExpenses','0.016512155532837','2016-10-11 15:22:03'),(34275,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11711\'','expenses/fnSaveExpenses','0.016521215438843','2016-10-11 15:22:03'),(34276,40,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'40\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33385\', `paymentMethodID` = \'68\', `amountPaid` = \'540\', `formNo` = \'OP-C\', `paymentDate` = \'2016-10-11\', `bankId` = \'179\', `exchangeRate` = \'1\', `payTo` = \'hai saya fad hai hai\', `updateAble` = 1 WHERE `ID` =  2318','expenses/fnSaveExpenses','0.023061990737915','2016-10-11 15:22:03'),(34277,40,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2318, `createdBy` = \'28\', `itemdescription` = \'mortalcombat1\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'390\', `amountExcludedTax` = \'390\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2371\'','expenses/fnSaveExpenses','0.0002291202545166','2016-10-11 15:22:03'),(34278,40,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2318, `createdBy` = \'28\', `itemdescription` = \'mortalcombat2\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'150\', `amountExcludedTax` = \'150\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2372\'','expenses/fnSaveExpenses','0.00012898445129395','2016-10-11 15:22:03'),(34279,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'361\'','expenses/fnSaveExpenses','0.023052930831909','2016-10-11 15:22:03'),(34280,40,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000005\' WHERE `ID` =  2318','expenses/fnSaveExpenses','0.02484393119812','2016-10-11 15:22:03'),(34281,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20161000000005\', \'Cost of Goods Sold [OP-C[00000015]]\', \'Cost of Goods Sold [OP-C[00000015]]\', \'\', \'3\', \'2016-10-11\', \'16\', \'10\', 540, 540, \'28\')','expenses/fnSaveExpenses','0.015902996063232','2016-10-11 15:22:03'),(34282,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000005\', 1, \'mortalcombat1\', \'33373\', 390, 1, \'1\', \'390\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016387939453125','2016-10-11 15:22:03'),(34283,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000005\', 2, \'mortalcombat1\', \'33385\', 390, 1, \'1\', \'390\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016415119171143','2016-10-11 15:22:03'),(34284,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000005\', 3, \'mortalcombat2\', \'33373\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016410112380981','2016-10-11 15:22:03'),(34285,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000005\', 4, \'mortalcombat2\', \'33385\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016417980194092','2016-10-11 15:22:03'),(34286,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 540, `total_amount_cr` = 540, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000005\'','expenses/fnSaveExpenses','0.015514135360718','2016-10-11 15:22:03'),(34287,40,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2318','expenses/fnSaveExpenses','0.017544984817505','2016-10-11 15:22:03'),(34288,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11712','expenses/fnSaveExpenses','0.016431093215942','2016-10-11 15:22:03'),(34289,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000005\'','expenses/fnSaveExpenses','0.016503810882568','2016-10-11 15:22:03'),(34290,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.023123025894165','2016-10-11 15:22:03'),(34291,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015888929367065','2016-10-11 15:22:03'),(34292,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015932083129883','2016-10-11 15:22:03'),(34293,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01593279838562','2016-10-11 15:22:03'),(34294,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50991\'','expenses/fnSaveExpenses','0.016236782073975','2016-10-11 15:22:38'),(34295,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50992\'','expenses/fnSaveExpenses','0.017706155776978','2016-10-11 15:22:39'),(34296,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50993\'','expenses/fnSaveExpenses','0.016528129577637','2016-10-11 15:22:39'),(34297,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal_detail`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'50994\'','expenses/fnSaveExpenses','0.016516923904419','2016-10-11 15:22:39'),(34298,40,28,'192.168.1.198','delete','DELETE FROM `comp_journal`\nWHERE `companyID` =  \'40\'\nAND `ID` =  \'11712\'','expenses/fnSaveExpenses','0.024847984313965','2016-10-11 15:22:39'),(34299,40,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `memo` = 0, `companyID` = \'40\', `createdBy` = \'28\', `otherPaymentType` = 1, `accountID` = \'33385\', `paymentMethodID` = \'68\', `amountPaid` = \'540\', `formNo` = \'OP-C\', `paymentDate` = \'2016-10-11\', `bankId` = \'179\', `exchangeRate` = \'1\', `payTo` = \'hai saya fad hai hai\', `updateAble` = 1 WHERE `ID` =  2318','expenses/fnSaveExpenses','0.022143125534058','2016-10-11 15:22:39'),(34300,40,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2318, `createdBy` = \'28\', `itemdescription` = \'mortalcombat12\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'390\', `amountExcludedTax` = \'390\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2371\'','expenses/fnSaveExpenses','0.016407012939453','2016-10-11 15:22:39'),(34301,40,28,'192.168.1.198','update','UPDATE `comp_payment_others_without_item` SET `otherPaymentID` = 2318, `createdBy` = \'28\', `itemdescription` = \'mortalcombat22\', `lineNo` = 1, `accountID` = \'33385\', `amountIncludedTax` = \'150\', `amountExcludedTax` = \'150\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\', `taxBL` = \'0\' WHERE `ID` =  \'2372\'','expenses/fnSaveExpenses','0.01639199256897','2016-10-11 15:22:39'),(34302,40,28,'192.168.1.198','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'361\'','expenses/fnSaveExpenses','0.017431020736694','2016-10-11 15:22:39'),(34303,40,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000006\' WHERE `ID` =  2318','expenses/fnSaveExpenses','0.016495943069458','2016-10-11 15:22:39'),(34304,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20161000000006\', \'Cost of Goods Sold [OP-C[00000015]]\', \'Cost of Goods Sold [OP-C[00000015]]\', \'\', \'3\', \'2016-10-11\', \'16\', \'10\', 540, 540, \'28\')','expenses/fnSaveExpenses','0.015956163406372','2016-10-11 15:22:39'),(34305,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000006\', 1, \'mortalcombat12\', \'33373\', 390, 1, \'1\', \'390\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.024730205535889','2016-10-11 15:22:39'),(34306,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000006\', 2, \'mortalcombat12\', \'33385\', 390, 1, \'1\', \'390\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016407012939453','2016-10-11 15:22:39'),(34307,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000006\', 3, \'mortalcombat22\', \'33373\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016418933868408','2016-10-11 15:22:39'),(34308,40,28,'192.168.1.198','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000006\', 4, \'mortalcombat22\', \'33385\', 150, 1, \'1\', \'150\', \'10\', \'16\', \'1\', \'OP-C[00000015]\', \'User\')','expenses/fnSaveExpenses','0.016425848007202','2016-10-11 15:22:39'),(34309,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `total_amount_dr` = 540, `total_amount_cr` = 540, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000006\'','expenses/fnSaveExpenses','0.024827003479004','2016-10-11 15:22:39'),(34310,40,28,'192.168.1.198','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2318','expenses/fnSaveExpenses','0.016524791717529','2016-10-11 15:22:39'),(34311,40,28,'192.168.1.198','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11713','expenses/fnSaveExpenses','0.024764060974121','2016-10-11 15:22:39'),(34312,40,28,'192.168.1.198','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000006\'','expenses/fnSaveExpenses','0.016494989395142','2016-10-11 15:22:39'),(34313,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015407085418701','2016-10-11 15:22:39'),(34314,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015904188156128','2016-10-11 15:22:39'),(34315,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.015964031219482','2016-10-11 15:22:39'),(34316,40,28,'192.168.1.198','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.01594090461731','2016-10-11 15:22:39'),(34317,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`, `payTo`) VALUES (0, \'40\', \'28\', 1, \'33385\', \'68\', \'8500\', \'OP-C\', \'2016-10-12\', \'179\', \'1\', \'Aminah\')','expenses/fnSaveExpenses','0.046556949615479','2016-10-12 15:47:47'),(34318,40,28,'192.168.1.201','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2351, \'28\', \'Barang2 Pasar\', 1, \'33385\', \'8500\', \'8500\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.016278982162476','2016-10-12 15:47:47'),(34319,40,28,'192.168.1.201','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'361\'','expenses/fnSaveExpenses','0.039014101028442','2016-10-12 15:47:47'),(34320,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000007\' WHERE `ID` =  2351','expenses/fnSaveExpenses','0.016211032867432','2016-10-12 15:47:47'),(34321,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20161000000007\', \'Cost of Goods Sold [OP-C[00000016]]\', \'Cost of Goods Sold [OP-C[00000016]]\', \'\', \'3\', \'2016-10-12\', \'16\', \'10\', 8500, 8500, \'28\')','expenses/fnSaveExpenses','0.014641046524048','2016-10-12 15:47:47'),(34322,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000007\', 1, \'Barang2 Pasar\', \'33373\', 8500, 1, \'1\', \'8500\', \'10\', \'16\', \'1\', \'OP-C[00000016]\', \'User\')','expenses/fnSaveExpenses','0.032780885696411','2016-10-12 15:47:47'),(34323,40,28,'192.168.1.201','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000007\', 2, \'Barang2 Pasar\', \'33385\', 8500, 1, \'1\', \'8500\', \'10\', \'16\', \'1\', \'OP-C[00000016]\', \'User\')','expenses/fnSaveExpenses','0.01670503616333','2016-10-12 15:47:47'),(34324,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `total_amount_dr` = 8500, `total_amount_cr` = 8500, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000007\'','expenses/fnSaveExpenses','0.12854099273682','2016-10-12 15:47:47'),(34325,40,28,'192.168.1.201','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2351','expenses/fnSaveExpenses','0.020840167999268','2016-10-12 15:47:47'),(34326,40,28,'192.168.1.201','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11714','expenses/fnSaveExpenses','0.016409158706665','2016-10-12 15:47:47'),(34327,40,28,'192.168.1.201','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000007\'','expenses/fnSaveExpenses','0.041800975799561','2016-10-12 15:47:47'),(34328,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.022176027297974','2016-10-12 15:47:47'),(34329,40,28,'192.168.1.201','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33385\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.016251087188721','2016-10-12 15:47:47'),(34330,40,28,'192.168.1.201','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.0011129379272461','2016-10-12 15:51:20'),(34331,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2686929702759','2016-10-12 15:55:30'),(34332,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1078479290009','2016-10-12 16:28:46'),(34333,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0886571407318','2016-10-12 16:38:38'),(34334,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0838179588318','2016-10-12 16:52:21'),(34335,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.277526140213','2016-10-12 17:02:39'),(34336,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0841891765594','2016-10-13 10:32:55'),(34337,0,0,'192.168.1.200','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'27\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.037936925888062','2016-10-17 11:56:48'),(34338,0,0,'192.168.1.200','update','UPDATE `spslitem_tekun_admindb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'27\', `incorporateDate` = \'2016-01-01\' WHERE `ID` =  0','setup/updateCompany','0.036091804504395','2016-10-17 11:56:48'),(34339,13,10,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 13, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 13)','setup/assetSetup','0.001021146774292','2016-10-17 15:04:42'),(34340,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'32775\'','setup/saveExpenses','0.00026392936706543','2016-10-17 15:08:06'),(34341,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'32775\'','setup/saveExpenses','0.0091149806976318','2016-10-17 15:08:25'),(34342,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\' WHERE `ID` =  \'32775\'','setup/saveExpenses','0.018872022628784','2016-10-17 15:18:23'),(34343,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\', `acctName` = \'Accounting & Legal fad\' WHERE `ID` =  \'32775\'','setup/saveExpenses','0.018394947052002','2016-10-17 15:20:05'),(34344,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\', `acctName` = \'Accounting & Legal\' WHERE `ID` =  \'32775\'','setup/saveExpenses','0.029089212417603','2016-10-17 15:20:12'),(34345,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\', `acctName` = \'Advertising & Marketing fad\' WHERE `ID` =  \'32776\'','setup/saveExpenses','0.025290012359619','2016-10-17 15:20:22'),(34346,13,10,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'1\', `acctName` = \'Advertising & Marketing\' WHERE `ID` =  \'32776\'','setup/saveExpenses','0.038460969924927','2016-10-17 15:20:30'),(34347,40,28,'192.168.1.200','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\', `acctName` = \'CACA-MARBA\' WHERE `ID` =  \'33387\'','setup/saveExpenses','0.017179012298584','2016-10-17 16:03:32'),(34348,40,28,'192.168.1.200','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `accountID`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `bankId`, `exchangeRate`, `payTo`) VALUES (\'wow\', \'40\', \'28\', 1, 0, \'68\', \'1000\', \'OP-E\', \'2016-10-17\', \'179\', \'1\', 0)','expenses/fnSaveExpenses','0.080312967300415','2016-10-17 16:04:03'),(34349,40,28,'192.168.1.200','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `taxBL`) VALUES (2367, \'28\', \'soi\', 1, \'33387\', \'1000\', \'1000\', \'0\', \'0\', \'0\', \'0\')','expenses/fnSaveExpenses','0.040858030319214','2016-10-17 16:04:03'),(34350,40,28,'192.168.1.200','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'361\'','expenses/fnSaveExpenses','0.025573968887329','2016-10-17 16:04:03'),(34351,40,28,'192.168.1.200','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20161000000008\' WHERE `ID` =  2367','expenses/fnSaveExpenses','0.0078768730163574','2016-10-17 16:04:03'),(34352,40,28,'192.168.1.200','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `referrence`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'40\', \'AP20161000000008\', \'Operating Expenses [OP-E[00000017]]\', \'Operating Expenses [OP-E[00000017]]\', \'\', \'3\', \'2016-10-17\', \'16\', \'10\', 1000, 1000, \'28\')','expenses/fnSaveExpenses','0.031294107437134','2016-10-17 16:04:03'),(34353,40,28,'192.168.1.200','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000008\', 1, \'soi\', \'33373\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-E[00000017]\', \'User\')','expenses/fnSaveExpenses','0.013130903244019','2016-10-17 16:04:03'),(34354,40,28,'192.168.1.200','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'40\', \'AP20161000000008\', 2, \'soi\', \'33387\', 1000, 1, \'1\', \'1000\', \'10\', \'16\', \'1\', \'OP-E[00000017]\', \'User\')','expenses/fnSaveExpenses','0.011307954788208','2016-10-17 16:04:03'),(34355,40,28,'192.168.1.200','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000008\'','expenses/fnSaveExpenses','0.024541139602661','2016-10-17 16:04:03'),(34356,40,28,'192.168.1.200','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  2367','expenses/fnSaveExpenses','0.0084829330444336','2016-10-17 16:04:03'),(34357,40,28,'192.168.1.200','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  11720','expenses/fnSaveExpenses','0.0077610015869141','2016-10-17 16:04:03'),(34358,40,28,'192.168.1.200','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'40\' AND `journalID` =  \'AP20161000000008\'','expenses/fnSaveExpenses','0.041779041290283','2016-10-17 16:04:03'),(34359,40,28,'192.168.1.200','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33373\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.013875007629395','2016-10-17 16:04:03'),(34360,40,28,'192.168.1.200','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'User\' WHERE `a`.`companyID` =  \'40\' AND `a`.`acctID` =  \'33387\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'10\'','expenses/fnSaveExpenses','0.024538040161133','2016-10-17 16:04:03'),(34361,40,28,'192.168.1.200','update','UPDATE `comp_chart_of_acct` SET `is_delete` = \'0\', `acctName` = \'Accounting & Legal	\' WHERE `ID` =  \'33387\'','setup/saveExpenses','0.022964000701904','2016-10-17 16:04:30'),(34362,1,1,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1309468746185','2016-10-18 08:57:30'),(34363,1,1,'192.168.1.211','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'1\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0678510665894','2016-10-18 10:53:28'),(34364,40,28,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 40, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 40)','setup/assetSetup','0.035927057266235','2016-11-03 16:45:04'),(34365,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0243530273438','2016-11-04 10:19:59'),(34366,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0667309761047','2016-11-04 10:21:42'),(34367,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0922229290009','2016-11-04 10:22:08'),(34368,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2412829399109','2016-11-04 10:27:00'),(34369,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0171320438385','2016-11-04 10:31:45'),(34370,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0158879756927','2016-11-04 10:39:55'),(34371,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.232115983963','2016-11-04 11:03:51'),(34372,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2462329864502','2016-11-04 11:15:49'),(34373,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0461099147797','2016-11-04 11:25:57'),(34374,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0751168727875','2016-11-04 11:38:17'),(34375,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0656778812408','2016-11-04 11:39:10'),(34376,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1248600482941','2016-11-04 11:41:09'),(34377,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1412138938904','2016-11-04 12:10:09'),(34378,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1330358982086','2016-11-04 12:13:52'),(34379,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0752999782562','2016-11-04 12:17:56'),(34380,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2071890830994','2016-11-04 15:07:11'),(34381,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1910951137543','2016-11-04 15:50:47'),(34382,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.14967918396','2016-11-04 17:21:39'),(34383,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1653211116791','2016-11-04 17:24:52'),(34384,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0469291210175','2016-11-04 17:26:14'),(34385,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0241770744324','2016-11-04 18:50:08'),(34386,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2476069927216','2016-11-07 16:14:21'),(34387,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0239238739014','2016-11-07 16:23:00'),(34388,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1670830249786','2016-11-07 16:23:19'),(34389,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0906100273132','2016-11-07 16:25:49'),(34390,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.058247089386','2016-11-07 17:25:23'),(34391,13,10,'192.168.1.198','others','SELECT ifnull(sum(balance), 0) as balance\nFROM (`view_total_debitCredit`)\nWHERE `companyID` =  \'13\'\nAND year = 2016\nAND acctgroupid = 3','home/index','1.2673509120941','2016-11-08 11:37:24'),(34392,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0858469009399','2016-11-08 11:37:24'),(34393,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1573431491852','2016-11-08 12:18:54'),(34394,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2796149253845','2016-11-08 12:22:13'),(34395,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0206739902496','2016-11-08 12:28:30'),(34396,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2086708545685','2016-11-08 12:30:03'),(34397,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1580839157104','2016-11-08 12:47:17'),(34398,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1073009967804','2016-11-08 12:50:16'),(34399,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0246319770813','2016-11-08 14:20:40'),(34400,13,10,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0235259532928','2016-11-08 16:24:43'),(34401,40,28,'192.168.1.200','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.5554330348969','2016-11-14 12:43:14'),(34402,12,11,'192.168.1.199','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.3814918994904','2016-11-17 08:48:59'),(34403,12,11,'192.168.1.254','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.3828279972076','2016-11-18 15:46:12'),(34404,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.6576709747314','2016-11-22 09:38:50'),(34405,13,10,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1740028858185','2016-11-22 10:30:11'),(34406,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1922810077667','2016-11-22 10:33:08'),(34407,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.3250269889832','2016-11-22 10:33:22'),(34408,40,28,'192.168.1.136','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','2.007600069046','2016-11-22 10:36:00'),(34409,40,28,'192.168.1.136','update','UPDATE `company` SET `companyName` = \'RESTORAN MAKANAN\', `webPageName` = \'Halalhub\', `line1` = \'No. 48, Lorong Kerayong 5A\', `line2` = \'Taman Seri Kerayong\', `line3` = \'\', `city` = \'Klang\', `companyPostCode` = \'42200\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'0129020146\', `faxNo` = \'0129020146\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'40\'','setup/personalWebSetup','0.035874843597412','2016-11-22 10:36:22'),(34410,40,28,'192.168.1.136','update','UPDATE `spslitem_tekun_admindb`.`company` SET `companyName` = \'RESTORAN MAKANAN\', `webPageName` = \'Halalhub\', `line1` = \'No. 48, Lorong Kerayong 5A\', `line2` = \'Taman Seri Kerayong\', `line3` = \'\', `city` = \'Klang\', `companyPostCode` = \'42200\', `companyStateID` = \'1931\', `countryID` = \'458\', `parlimenID` = \'110\', `phoneNo` = \'0129020146\', `faxNo` = \'0129020146\', `email` = \'\', `incorporateDate` = \'2016-01-01\', `businessTypeID` = \'9\', `businessIndustryID` = \'2\', `currencyID` = 1, `uploadLogo` = \'\', `updatedBy` = 0 WHERE `ID` =  \'40\'','setup/personalWebSetup','0.048569917678833','2016-11-22 10:36:22'),(34411,40,28,'192.168.1.201','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1658940315247','2016-11-22 12:11:37'),(34412,12,11,'192.168.1.254','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','2.1918721199036','2016-11-22 17:35:40'),(34413,13,10,'192.168.1.254','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'13\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.7310371398926','2016-11-23 16:33:15'),(34414,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.14362382888794','2016-12-01 09:09:13'),(34415,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0010321140289307','2016-12-01 09:09:22'),(34416,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0011329650878906','2016-12-01 09:09:26'),(34417,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0017509460449219','2016-12-01 09:09:42'),(34418,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0010819435119629','2016-12-01 09:09:53'),(34419,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.04714298248291','2016-12-01 09:10:00'),(34420,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0010440349578857','2016-12-01 09:10:06'),(34421,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.14137411117554','2016-12-01 09:17:03'),(34422,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.083887815475464','2016-12-01 09:17:11'),(34423,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0010199546813965','2016-12-01 09:17:20'),(34424,73,71,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'73\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1115248203278','2016-12-06 12:28:09'),(34425,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.080749034881592','2016-12-06 12:28:19'),(34426,73,71,'192.168.1.198','update','UPDATE `company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-12-06\' WHERE `ID` =  \'73\'','setup/updateCompany','0.038805961608887','2016-12-06 12:28:27'),(34427,73,71,'192.168.1.198','update','UPDATE `spslitem_tekun_admindb`.`company` SET `businessIndustryID` = \'2\', `businessTypeID` = \'2\', `incorporateDate` = \'2016-12-06\' WHERE `ID` =  \'73\'','setup/updateCompany','0.056319952011108','2016-12-06 12:28:27'),(34428,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0010941028594971','2016-12-06 12:28:27'),(34429,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0011317729949951','2016-12-06 12:28:33'),(34430,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'9000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'339\'','bank/saveBank','0.094755172729492','2016-12-06 12:28:50'),(34431,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 9000, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35197\'','bank/saveBank','0.03252387046814','2016-12-06 12:28:50'),(34432,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.001154899597168','2016-12-06 12:28:51'),(34433,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'9,000.00\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'339\'','bank/saveBank','0.013153076171875','2016-12-06 12:29:00'),(34434,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 9, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35197\'','bank/saveBank','0.01753306388855','2016-12-06 12:29:00'),(34435,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0011518001556396','2016-12-06 12:29:02'),(34436,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'68000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'340\'','bank/saveBank','0.099479198455811','2016-12-06 12:29:25'),(34437,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceDr` = 68000, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35198\'','bank/saveBank','0.041427135467529','2016-12-06 12:29:25'),(34438,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.20332598686218','2016-12-06 12:29:28'),(34439,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'68,000.00\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'340\'','bank/saveBank','0.28684377670288','2016-12-06 12:29:36'),(34440,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceDr` = 68, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35198\'','bank/saveBank','0.0241539478302','2016-12-06 12:29:36'),(34441,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0011041164398193','2016-12-06 12:29:38'),(34442,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.073086023330688','2016-12-06 12:30:24'),(34443,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'3000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35186\'','setup/saveAsset','0.087882995605469','2016-12-06 12:30:36'),(34444,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.001093864440918','2016-12-06 12:30:38'),(34445,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'3,000.00\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35186\'','setup/saveAsset','0.21724009513855','2016-12-06 12:30:45'),(34446,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.001072883605957','2016-12-06 12:30:47'),(34447,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 1	\', `openingBalanceCr` = \'7800\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35203\'','setup/saveLoan','0.091681003570557','2016-12-06 12:31:02'),(34448,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Loan 1	\', `openingBalanceCr` = \'7800.00\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35203\'','setup/saveLoan','0.00031208992004395','2016-12-06 12:31:09'),(34449,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0011141300201416','2016-12-06 12:34:23'),(34450,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.046990156173706','2016-12-06 12:40:44'),(34451,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.001072883605957','2016-12-06 12:42:24'),(34452,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'3000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35186\'','setup/saveAsset','0.032156229019165','2016-12-06 12:42:36'),(34453,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0010290145874023','2016-12-06 12:42:38'),(34454,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'3,000.00\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35186\'','setup/saveAsset','0.028107881546021','2016-12-06 12:42:56'),(34455,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0010828971862793','2016-12-06 12:42:57'),(34456,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0010612010955811','2016-12-06 12:43:23'),(34457,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'3000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35186\'','setup/saveAsset','0.0674889087677','2016-12-06 12:43:33'),(34458,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.034950017929077','2016-12-06 12:43:35'),(34459,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Furniture & Fixtures	\', `openingBalanceDr` = \'3000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35186\'','setup/saveAsset','0.0028839111328125','2016-12-06 12:43:43'),(34460,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0011448860168457','2016-12-06 12:43:45'),(34461,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'58000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35187\'','setup/saveAsset','0.037271022796631','2016-12-06 12:44:00'),(34462,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0010099411010742','2016-12-06 12:44:02'),(34463,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Office Equipment	\', `openingBalanceDr` = \'58000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35187\'','setup/saveAsset','0.0002598762512207','2016-12-06 12:44:09'),(34464,73,71,'192.168.1.198','insert','insert into comp_chart_of_acct (companyID, acctGroupID,acctCode, acctName) select 73, acctGroupID,acctCode, acctName from _ref_chart_of_acct where acctCode not in (select acctCode from comp_chart_of_acct where companyID = 73)','setup/assetSetup','0.0011110305786133','2016-12-06 12:44:11'),(34465,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.13781094551086','2016-12-06 12:50:11'),(34466,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'9000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'339\'','bank/saveBank','0.095792055130005','2016-12-06 12:50:34'),(34467,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 9000, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35197\'','bank/saveBank','0.024755954742432','2016-12-06 12:50:34'),(34468,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0026938915252686','2016-12-06 12:50:36'),(34469,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'9,000.00\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'339\'','bank/saveBank','0.028966188430786','2016-12-06 12:50:42'),(34470,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 9, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35197\'','bank/saveBank','0.01581597328186','2016-12-06 12:50:42'),(34471,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0023782253265381','2016-12-06 12:50:48'),(34472,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.067371129989624','2016-12-06 12:55:08'),(34473,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'90000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'339\'','bank/saveBank','0.024584054946899','2016-12-06 12:55:21'),(34474,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 90000, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35197\'','bank/saveBank','0.017139911651611','2016-12-06 12:55:21'),(34475,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0011160373687744','2016-12-06 12:55:23'),(34476,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank1 	\', `currentBalance` = \'90000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'339\'','bank/saveBank','0.0002739429473877','2016-12-06 12:55:30'),(34477,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank1 	\', `openingBalanceDr` = 90000, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35197\'','bank/saveBank','0.00013113021850586','2016-12-06 12:55:30'),(34478,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0010900497436523','2016-12-06 12:55:32'),(34479,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.084801912307739','2016-12-06 14:28:20'),(34480,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.076492071151733','2016-12-06 14:58:22'),(34481,73,71,'192.168.1.198','update','UPDATE `comp_bank` SET `bankName` = \'Bank2	\', `currentBalance` = \'4000\', `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'340\'','bank/saveBank','0.093592166900635','2016-12-06 14:58:47'),(34482,73,71,'192.168.1.198','update','UPDATE `comp_chart_of_acct` SET `acctName` = \'Bank2	\', `openingBalanceDr` = 4000, `openingBalanceCr` = 0, `createdTS` = \'2016-12-06 00:00:00\', `is_delete` = \'0\' WHERE `ID` =  \'35198\'','bank/saveBank','0.024130821228027','2016-12-06 14:58:47'),(34483,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0011639595031738','2016-12-06 14:58:48'),(34484,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.14735794067383','2016-12-06 16:41:48'),(34485,73,71,'192.168.1.198','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 73, acctName, id from comp_chart_of_acct where companyid = 73 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 73)','bank/index','0.0011579990386963','2016-12-06 16:41:54'),(34486,73,71,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'73\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.036159992218','2016-12-06 16:53:22'),(34487,73,71,'192.168.1.198','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'73\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.304337978363','2016-12-06 16:54:04'),(34488,40,28,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2784600257874','2016-12-09 09:46:39'),(34489,40,28,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0032920837402','2016-12-09 09:49:58'),(34490,40,28,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.0271811485291','2016-12-09 09:50:33'),(34491,40,28,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.2489261627197','2016-12-09 09:56:04'),(34492,40,28,'192.168.1.192','insert','insert into comp_bank (companyID, bankName, linkAccountID) select 40, acctName, id from comp_chart_of_acct where companyid = 40 and acctCode like \"220000%\" and acctCode <> \"220000000\" and ID not in (select linkAccountID from comp_bank where companyID = 40)','bank/index','0.120441198349','2016-12-09 09:56:24'),(34493,40,28,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'40\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.065887928009','2016-12-09 10:01:03'),(34494,12,11,'192.168.1.192','others','SELECT distinct a.createdTS, `a`.`url`, `b`.`username`\nFROM (`_log_query` a)\nJOIN `tbl_usermaster` b ON `a`.`userID` = `b`.`fldid`\nWHERE `a`.`companyID` =  \'12\'\nORDER BY `a`.`ID` desc\nLIMIT 10','home/index','1.1449279785156','2016-12-09 12:12:24');
/*!40000 ALTER TABLE `_log_query` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_acct_group`
--

DROP TABLE IF EXISTS `_ref_acct_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_acct_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `acctTypeID` int(11) NOT NULL,
  `acctGroupName` varchar(128) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `orderNo` int(11) DEFAULT NULL,
  `parentID` int(11) DEFAULT NULL,
  `title` tinyint(4) DEFAULT '0',
  `status` tinyint(4) DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `ID` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_acct_group`
--

LOCK TABLES `_ref_acct_group` WRITE;
/*!40000 ALTER TABLE `_ref_acct_group` DISABLE KEYS */;
INSERT INTO `_ref_acct_group` VALUES (1,5,'CapitalRetainedEarnings','1200',40,40,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(2,1,'FixedAssets','1200',10,42,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(3,1,'CurrentAssets','1200',30,39,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(4,2,'CurrentLiabilities','1200',40,39,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(5,2,'OtherLiabilites','1200',70,40,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(6,2,'LongTermLiabilities','1200',50,40,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(7,3,'revenue','1200',110,33,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(8,4,'COGS','1200',120,33,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(9,3,'othersincome','1200',200,35,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(10,4,'operatingexpenses','1200',190,35,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(12,4,'taxation','1200',400,38,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(31,1,'OthersAssets','1200',20,42,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(32,4,'othercomprehensiveincome','1200',500,38,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(33,3,'grossprofit','1200',100,34,0,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(34,3,'operatingprofit','1200',10,37,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(35,3,'operatingincome','1200',130,34,0,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(36,3,'financeincome','1200',20,43,1,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(37,4,'profitNlossb4tax','1200',30,38,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(38,4,'currentyear','1200',10,0,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(39,1,'NetCurrent','1200',30,42,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(40,2,'LiabilitiesNCapital','1200',50,0,0,1,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(42,1,'AssetNLiability','1200',30,0,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(43,4,'financeIncomeCost','1200',20,37,0,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00'),(44,4,'financeCost','1200',30,43,1,0,1,'2015-11-24 10:58:11',1,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `_ref_acct_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_acct_group_bakup`
--

DROP TABLE IF EXISTS `_ref_acct_group_bakup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_acct_group_bakup` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `acctTypeID` int(11) NOT NULL,
  `acctGroupName` varchar(128) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `parentID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_acct_group_bakup`
--

LOCK TABLES `_ref_acct_group_bakup` WRITE;
/*!40000 ALTER TABLE `_ref_acct_group_bakup` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_acct_group_bakup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_acct_type`
--

DROP TABLE IF EXISTS `_ref_acct_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_acct_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `acctTypeName` varchar(128) NOT NULL,
  `acctClass` smallint(6) NOT NULL COMMENT '0=Balance Shit, 1=Profit and Lost',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_acct_type`
--

LOCK TABLES `_ref_acct_type` WRITE;
/*!40000 ALTER TABLE `_ref_acct_type` DISABLE KEYS */;
INSERT INTO `_ref_acct_type` VALUES (1,'Assets',0,1,'2014-05-06 01:43:31',0,'0000-00-00 00:00:00'),(2,'Liability',0,1,'2014-05-06 01:43:31',0,'0000-00-00 00:00:00'),(3,'Income',1,1,'2014-05-06 01:43:31',0,'0000-00-00 00:00:00'),(4,'Expences',1,1,'2014-05-06 01:43:31',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `_ref_acct_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_business_type`
--

DROP TABLE IF EXISTS `_ref_business_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_business_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `industryID` int(11) NOT NULL,
  `name` varchar(128) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_business_type`
--

LOCK TABLES `_ref_business_type` WRITE;
/*!40000 ALTER TABLE `_ref_business_type` DISABLE KEYS */;
INSERT INTO `_ref_business_type` VALUES (1,1,'General',1,'2014-05-05 17:32:56',0,'2015-03-04 20:14:36'),(2,2,'Audio Visual',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(3,2,'Bakery',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(4,2,'Cafe',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(5,2,'Car Dealer',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(6,2,'Furniture Dealer',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(7,2,'Gift Shop',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(8,2,'Hardware Store',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(9,2,'Restaurant',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(10,2,'Video Store',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(11,3,'Accounting Firm',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(12,3,'Advertising Agency',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(13,3,'Architect',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(14,3,'Banquet Facilty',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(15,3,'Beauty Salon',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(16,3,'Cleaning Services',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(17,3,'Construction Company',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(18,3,'Education Institution',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(19,3,'Financial Services',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(20,3,'Insurance Agency',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(21,3,'Legal Firm',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(22,3,'Non-profit Organization',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(23,3,'Travel Agency',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(24,4,'Partnership',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(25,4,'sole Proprietorship',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(26,4,'Wholesale Business',1,'2014-05-05 17:32:56',0,'0000-00-00 00:00:00'),(27,2,'Others',0,'2016-10-17 02:23:43',0,'0000-00-00 00:00:00'),(28,3,'Others',0,'2016-10-17 02:23:43',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `_ref_business_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_chart_of_acct`
--

DROP TABLE IF EXISTS `_ref_chart_of_acct`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_chart_of_acct` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `businessTypeID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `parentID` int(11) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDescription` varchar(128) NOT NULL,
  `defaultID` int(11) DEFAULT NULL COMMENT 'id default acct for general setup',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=157 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_chart_of_acct`
--

LOCK TABLES `_ref_chart_of_acct` WRITE;
/*!40000 ALTER TABLE `_ref_chart_of_acct` DISABLE KEYS */;
INSERT INTO `_ref_chart_of_acct` VALUES (100,1,1,'100000000',0,'Advancement/(Drawing)	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(101,1,1,'120000000',0,'Retained Profit/(Loss) B/F ','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:10:56'),(102,1,1,'130000000',0,'Current Retained Profit/(Loss)  ','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:12:39'),(103,1,2,'200000000',0,'Fixed Asset	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:04:16'),(104,1,2,'200000100',103,'Furniture & Fixtures	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(105,1,2,'200000200',103,'Office Equipment	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(106,1,2,'200000300',103,'Computer & Software	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(107,1,2,'200000400',103,'Motor Vehicle	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(108,1,2,'200000500',103,'Machinery & Engine	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(109,1,2,'200000600',103,'Renovation	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(110,1,2,'200000700',103,'Store Equipment	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(111,1,2,'200000800',103,'Asset 8	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(112,1,2,'200000900',103,'Asset 9	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(113,1,2,'200001000',103,'Other Asset	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:06:29'),(114,1,3,'220000000',0,'Bank & Cash Balance	','',NULL,0,'2015-11-24 11:01:30',0,'2015-11-25 06:07:53'),(115,1,3,'220000100',114,'Bank1 	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(116,1,3,'220000200',114,'Bank2	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(117,1,3,'220000300',114,'Bank3	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(118,1,3,'220000400',114,'Petty Cash 1	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(119,1,3,'220000500',114,'Petty Cash 2	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(120,1,4,'370000000',0,'Borrowing	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(121,1,4,'370000100',120,'Loan 1	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(122,1,4,'370000200',120,'Loan 2	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(123,1,4,'370000300',120,'Loan 3	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(124,1,4,'370000400',120,'Loan 4	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(125,1,4,'370000500',120,'Loan 5	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(126,1,7,'400000000',0,'Sales	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(127,1,8,'500000000',0,'Cost of Goods Sold	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(128,1,35,'700000000',0,'Others Income 	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(129,1,10,'810000100',0,'Accounting & Legal	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(130,1,10,'810000200',0,'Advertising & Marketing	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(131,1,10,'810000300',0,'Commissions	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(132,1,10,'810000400',0,'Depreciation Expense	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(133,1,10,'810000500',0,'Electricity & water	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(134,1,10,'810000600',0,'GST- Non Claimable	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(135,1,10,'810000700',0,'Insurance Premium	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(136,1,10,'810000800',0,'Late Payment Charges	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(137,1,10,'810000900',0,'Medical fee	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(138,1,10,'810001000',0,'Miscellaneous Expenses	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(139,1,10,'810001100',0,'Motor Vehicle Repair & maintenance	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(140,1,10,'810001200',0,'Office expenses	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(141,1,10,'810001300',0,'Petrol,Parking & Toll	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(142,1,10,'810001400',0,'Postage & Courier	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(143,1,10,'810001500',0,'Quit Rent & Assessment	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(144,1,10,'810001600',0,'Registration Fee	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(145,1,10,'810001700',0,'Rental of Equipment	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(146,1,10,'810001800',0,'Rental of office	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(147,1,10,'810001900',0,'Rental of store	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(148,1,10,'810002000',0,'Seminar & Training	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(149,1,10,'810002100',0,'Store expenses	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(150,1,10,'810002200',0,'Telephone	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(151,1,10,'810002300',0,'Travel, Meals & Entertainment	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(152,1,10,'810002400',0,'Salary & wages	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(153,1,10,'810002500',0,'EPF & Socso	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(154,1,10,'850010000',0,'Bank Charges	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(155,1,10,'850020000',0,'Interest on loan	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00'),(156,1,10,'860000000',0,'Income Tax Expense	','',NULL,0,'2015-11-24 11:01:30',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `_ref_chart_of_acct` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_chart_of_acct_back`
--

DROP TABLE IF EXISTS `_ref_chart_of_acct_back`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_chart_of_acct_back` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `businessTypeID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `parentID` int(11) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDescription` varchar(128) NOT NULL,
  `defaultID` int(11) DEFAULT NULL COMMENT 'id default acct for general setup',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_chart_of_acct_back`
--

LOCK TABLES `_ref_chart_of_acct_back` WRITE;
/*!40000 ALTER TABLE `_ref_chart_of_acct_back` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_chart_of_acct_back` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_chart_of_acct_back_20141103`
--

DROP TABLE IF EXISTS `_ref_chart_of_acct_back_20141103`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_chart_of_acct_back_20141103` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `businessTypeID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `parentID` int(11) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDescription` varchar(128) NOT NULL,
  `defaultID` int(11) DEFAULT NULL COMMENT 'id default acct for general setup',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_chart_of_acct_back_20141103`
--

LOCK TABLES `_ref_chart_of_acct_back_20141103` WRITE;
/*!40000 ALTER TABLE `_ref_chart_of_acct_back_20141103` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_chart_of_acct_back_20141103` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_control_acct_setup`
--

DROP TABLE IF EXISTS `_ref_control_acct_setup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_control_acct_setup` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `groupDisplay` smallint(6) NOT NULL,
  `code` varchar(4) NOT NULL,
  `name` varchar(64) NOT NULL,
  `shortName` varchar(8) NOT NULL,
  `description` varchar(128) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `defaultAcctCode` varchar(9) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updateBy` int(11) NOT NULL,
  `updateTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_control_acct_setup`
--

LOCK TABLES `_ref_control_acct_setup` WRITE;
/*!40000 ALTER TABLE `_ref_control_acct_setup` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_control_acct_setup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_country`
--

DROP TABLE IF EXISTS `_ref_country`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_country` (
  `fldid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fldcountry` varchar(45) DEFAULT NULL,
  `fldcontinent` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB AUTO_INCREMENT=895 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_country`
--

LOCK TABLES `_ref_country` WRITE;
/*!40000 ALTER TABLE `_ref_country` DISABLE KEYS */;
INSERT INTO `_ref_country` VALUES (4,'AFGHANISTAN','AS'),(8,'ALBANIA','EU'),(10,'ANTARCTICA','AN'),(12,'ALGERIA','AF'),(16,'AMERICAN SAMOA','OC'),(20,'ANDORRA','EU'),(24,'ANGOLA','AF'),(28,'ANTIGUA AND BARBUDA','NA'),(31,'AZERBAIJAN','AS'),(32,'ARGENTINA','SA'),(36,'AUSTRALIA','OC'),(40,'AUSTRIA','EU'),(44,'BAHAMAS','NA'),(48,'BAHRAIN','AS'),(50,'BANGLADESH','AS'),(51,'ARMENIA','AS'),(52,'BARBADOS','NA'),(56,'BELGIUM','EU'),(60,'BERMUDA','NA'),(64,'BHUTAN','AS'),(68,'BOLIVIA','SA'),(70,'BOSNIA AND HERZEGOVINA','EU'),(72,'BOTSWANA','AF'),(74,'BOUVET ISLAND','AN'),(76,'BRAZIL','SA'),(84,'BELIZE','NA'),(86,'BRITISH INDIAN OCEAN TERRITORY','AS'),(90,'SOLOMON ISLANDS','OC'),(92,'BRITISH VIRGIN ISLANDS','NA'),(96,'BRUNEI','AS'),(100,'BULGARIA','EU'),(104,'MYANMAR','AS'),(108,'BURUNDI','AF'),(112,'BELARUS','EU'),(116,'CAMBODIA','AS'),(120,'CAMEROON','AF'),(124,'CANADA','NA'),(132,'CAPE VERDE','AF'),(136,'CAYMAN ISLANDS','NA'),(140,'CENTRAL AFRICAN REPUBLIC','AF'),(144,'SRI LANKA','AS'),(148,'CHAD','AF'),(152,'CHILE','SA'),(156,'CHINA','AS'),(158,'TAIWAN','AS'),(162,'CHRISTMAS ISLAND','AS'),(166,'COCOS ISLANDS','AS'),(170,'COLOMBIA','SA'),(174,'COMOROS','AF'),(175,'MAYOTTE','AF'),(178,'REPUBLIC OF THE CONGO','AF'),(180,'DEMOCRATIC REPUBLIC OF THE CONGO','AF'),(184,'COOK ISLANDS','OC'),(188,'COSTA RICA','NA'),(191,'CROATIA','EU'),(192,'CUBA','NA'),(196,'CYPRUS','EU'),(203,'CZECH REPUBLIC','EU'),(204,'BENIN','AF'),(208,'DENMARK','EU'),(212,'DOMINICA','NA'),(214,'DOMINICAN REPUBLIC','NA'),(218,'ECUADOR','SA'),(222,'EL SALVADOR','NA'),(226,'EQUATORIAL GUINEA','AF'),(231,'ETHIOPIA','AF'),(232,'ERITREA','AF'),(233,'ESTONIA','EU'),(234,'FAROE ISLANDS','EU'),(238,'FALKLAND ISLANDS','SA'),(239,'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS','AN'),(242,'FIJI','OC'),(246,'FINLAND','EU'),(248,'ALAND ISLANDS','EU'),(250,'FRANCE','EU'),(254,'FRENCH GUIANA','SA'),(258,'FRENCH POLYNESIA','OC'),(260,'FRENCH SOUTHERN TERRITORIES','AN'),(262,'DJIBOUTI','AF'),(266,'GABON','AF'),(268,'GEORGIA','AS'),(270,'GAMBIA','AF'),(275,'PALESTINIAN TERRITORY','AS'),(276,'GERMANY','EU'),(288,'GHANA','AF'),(292,'GIBRALTAR','EU'),(296,'KIRIBATI','OC'),(300,'GREECE','EU'),(304,'GREENLAND','NA'),(308,'GRENADA','NA'),(312,'GUADELOUPE','NA'),(316,'GUAM','OC'),(320,'GUATEMALA','NA'),(324,'GUINEA','AF'),(328,'GUYANA','SA'),(332,'HAITI','NA'),(334,'HEARD ISLAND AND MCDONALD ISLANDS','AN'),(336,'VATICAN','EU'),(340,'HONDURAS','NA'),(344,'HONG KONG','AS'),(348,'HUNGARY','EU'),(352,'ICELAND','EU'),(356,'INDIA','AS'),(360,'INDONESIA','AS'),(364,'IRAN','AS'),(368,'IRAQ','AS'),(372,'IRELAND','EU'),(376,'ISRAEL','AS'),(380,'ITALY','EU'),(384,'IVORY COAST','AF'),(388,'JAMAICA','NA'),(392,'JAPAN','AS'),(398,'KAZAKHSTAN','AS'),(400,'JORDAN','AS'),(404,'KENYA','AF'),(408,'NORTH KOREA','AS'),(410,'SOUTH KOREA','AS'),(414,'KUWAIT','AS'),(417,'KYRGYZSTAN','AS'),(418,'LAOS','AS'),(422,'LEBANON','AS'),(426,'LESOTHO','AF'),(428,'LATVIA','EU'),(430,'LIBERIA','AF'),(434,'LIBYA','AF'),(438,'LIECHTENSTEIN','EU'),(440,'LITHUANIA','EU'),(442,'LUXEMBOURG','EU'),(446,'MACAO','AS'),(450,'MADAGASCAR','AF'),(454,'MALAWI','AF'),(458,'MALAYSIA','AS'),(462,'MALDIVES','AS'),(466,'MALI','AF'),(470,'MALTA','EU'),(474,'MARTINIQUE','NA'),(478,'MAURITANIA','AF'),(480,'MAURITIUS','AF'),(484,'MEXICO','NA'),(492,'MONACO','EU'),(496,'MONGOLIA','AS'),(498,'MOLDOVA','EU'),(499,'MONTENEGRO','EU'),(500,'MONTSERRAT','NA'),(504,'MOROCCO','AF'),(508,'MOZAMBIQUE','AF'),(512,'OMAN','AS'),(516,'NAMIBIA','AF'),(520,'NAURU','OC'),(524,'NEPAL','AS'),(528,'NETHERLANDS','EU'),(530,'NETHERLANDS ANTILLES','NA'),(533,'ARUBA','NA'),(540,'NEW CALEDONIA','OC'),(548,'VANUATU','OC'),(554,'NEW ZEALAND','OC'),(558,'NICARAGUA','NA'),(562,'NIGER','AF'),(566,'NIGERIA','AF'),(570,'NIUE','OC'),(574,'NORFOLK ISLAND','OC'),(578,'NORWAY','EU'),(580,'NORTHERN MARIANA ISLANDS','OC'),(581,'UNITED STATES MINOR OUTLYING ISLANDS','OC'),(583,'MICRONESIA','OC'),(584,'MARSHALL ISLANDS','OC'),(585,'PALAU','OC'),(586,'PAKISTAN','AS'),(591,'PANAMA','NA'),(598,'PAPUA NEW GUINEA','OC'),(600,'PARAGUAY','SA'),(604,'PERU','SA'),(608,'PHILIPPINES','AS'),(612,'PITCAIRN','OC'),(616,'POLAND','EU'),(620,'PORTUGAL','EU'),(624,'GUINEA-BISSAU','AF'),(626,'EAST TIMOR','OC'),(630,'PUERTO RICO','NA'),(634,'QATAR','AS'),(638,'REUNION','AF'),(642,'ROMANIA','EU'),(643,'RUSSIA','EU'),(646,'RWANDA','AF'),(652,'SAINT BARTHÉLEMY','NA'),(654,'SAINT HELENA','AF'),(659,'SAINT KITTS AND NEVIS','NA'),(660,'ANGUILLA','NA'),(662,'SAINT LUCIA','NA'),(663,'SAINT MARTIN','NA'),(666,'SAINT PIERRE AND MIQUELON','NA'),(670,'SAINT VINCENT AND THE GRENADINES','NA'),(674,'SAN MARINO','EU'),(678,'SAO TOME AND PRINCIPE','AF'),(682,'SAUDI ARABIA','AS'),(686,'SENEGAL','AF'),(688,'SERBIA','EU'),(690,'SEYCHELLES','AF'),(694,'SIERRA LEONE','AF'),(702,'SINGAPORE','AS'),(703,'SLOVAKIA','EU'),(704,'VIETNAM','AS'),(705,'SLOVENIA','EU'),(706,'SOMALIA','AF'),(710,'SOUTH AFRICA','AF'),(716,'ZIMBABWE','AF'),(724,'SPAIN','EU'),(732,'WESTERN SAHARA','AF'),(736,'SUDAN','AF'),(740,'SURINAME','SA'),(744,'SVALBARD AND JAN MAYEN','EU'),(748,'SWAZILAND','AF'),(752,'SWEDEN','EU'),(756,'SWITZERLAND','EU'),(760,'SYRIA','AS'),(762,'TAJIKISTAN','AS'),(764,'THAILAND','AS'),(768,'TOGO','AF'),(772,'TOKELAU','OC'),(776,'TONGA','OC'),(780,'TRINIDAD AND TOBAGO','NA'),(784,'UNITED ARAB EMIRATES','AS'),(788,'TUNISIA','AF'),(792,'TURKEY','AS'),(795,'TURKMENISTAN','AS'),(796,'TURKS AND CAICOS ISLANDS','NA'),(798,'TUVALU','OC'),(800,'UGANDA','AF'),(804,'UKRAINE','EU'),(807,'MACEDONIA','EU'),(818,'EGYPT','AF'),(826,'UNITED KINGDOM','EU'),(831,'GUERNSEY','EU'),(832,'JERSEY','EU'),(833,'ISLE OF MAN','EU'),(834,'TANZANIA','AF'),(840,'UNITED STATES','NA'),(850,'U.S. VIRGIN ISLANDS','NA'),(854,'BURKINA FASO','AF'),(855,'KOSOVO','EU'),(858,'URUGUAY','SA'),(860,'UZBEKISTAN','AS'),(862,'VENEZUELA','SA'),(876,'WALLIS AND FUTUNA','OC'),(882,'SAMOA','OC'),(887,'YEMEN','AS'),(891,'SERBIA AND MONTENEGRO','EU'),(894,'ZAMBIA','AF');
/*!40000 ALTER TABLE `_ref_country` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_currency`
--

DROP TABLE IF EXISTS `_ref_currency`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_currency` (
  `fldid` int(5) NOT NULL AUTO_INCREMENT,
  `fldcurr_code` varchar(5) DEFAULT NULL,
  `fldcurr_desc` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_currency`
--

LOCK TABLES `_ref_currency` WRITE;
/*!40000 ALTER TABLE `_ref_currency` DISABLE KEYS */;
INSERT INTO `_ref_currency` VALUES (1,'MYR','Ringgit Malaysia'),(2,'USD','US Dollar'),(3,'RMB','China Remibi'),(4,'SGD','Singapore Dollar'),(5,'AUD','Australia Dollar'),(6,'JPY','Japanese Yen'),(7,'WON','Korea WON'),(8,'HKD','Hong Kong Dollar'),(9,'GBP','Great Britain Pound'),(10,'EUR','Euro'),(11,'CAD','Canadian Dollar'),(12,'THB','Thai Baht');
/*!40000 ALTER TABLE `_ref_currency` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_dateformat`
--

DROP TABLE IF EXISTS `_ref_dateformat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_dateformat` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(24) DEFAULT NULL,
  `codeJava` varchar(24) DEFAULT NULL,
  `description` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_dateformat`
--

LOCK TABLES `_ref_dateformat` WRITE;
/*!40000 ALTER TABLE `_ref_dateformat` DISABLE KEYS */;
INSERT INTO `_ref_dateformat` VALUES (1,'d-m-Y','dd-mm-yy','Day-Month-Year ( Eg. 01-05-2014 )'),(2,'d/m/Y\r\n','dd/mm/yy','Day/Month/Year ( Eg. 01/05/2014 )'),(3,'Y-m-d','yy-mm-dd','Year-Month-Day ( Eg. 2014-05-01 )'),(4,'Y/m/d','yy/mm/dd','Year/Month/Day ( Eg. 2014/05/01 )');
/*!40000 ALTER TABLE `_ref_dateformat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_gst_03_field`
--

DROP TABLE IF EXISTS `_ref_gst_03_field`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_gst_03_field` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `taxCode` varchar(255) NOT NULL,
  `changeable` tinyint(1) NOT NULL DEFAULT '1',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_gst_03_field`
--

LOCK TABLES `_ref_gst_03_field` WRITE;
/*!40000 ALTER TABLE `_ref_gst_03_field` DISABLE KEYS */;
INSERT INTO `_ref_gst_03_field` VALUES (1,'B5a','Total Value of Standard Rated Supply','SR,DS',1,'2015-07-09 17:17:43','2015-07-09 22:53:15'),(2,'B5b','Total Output Tax (Inclusive of Tax Value on Bad Debt Recovered & other Adjustments)','SR,DS,AJS',1,'2015-07-09 17:17:43','2015-07-09 22:53:21'),(3,'B6a','Total Value of Standard Rate and Flat Rate Acquisitions','TX,IM,IMS,TX-E43,TX-RE',1,'2015-07-09 17:18:11','2015-07-09 22:53:31'),(4,'B6b','Total Input Tax (Inclusive of Tax Value on Bad Debt Relief & other Adjustments)','TX-CG,TX,IM,IMS,TX-E43,TX-RE,AJP',1,'2015-07-09 17:18:11','2015-07-09 22:53:44'),(5,'B7','GST Amount Payable (Item 5b - Item 6b)','',0,'2015-07-09 17:19:22','2015-07-09 22:56:52'),(6,'B8','GST Amount Claimable (Item 6b - Item 5b)','',0,'2015-07-09 17:19:22','2015-07-09 22:56:55'),(7,'C10','Total Value of Local Zero-Rated Supplies','ZRL',1,'2015-07-09 17:19:37','2015-07-09 22:54:18'),(8,'C11','Total Value of Export Supplies','ZRE',1,'2015-07-09 17:19:37','2015-07-09 22:54:29'),(9,'C12','Total Value of Exempt Supplies','ES43,ES',1,'2015-07-09 17:19:52','2015-07-09 22:54:33'),(10,'C13','Total Value of Supplies Granted GST Relief','RS',1,'2015-07-09 17:19:52','2015-07-09 22:54:38'),(11,'C14','Total Value of Goods Imported Under Approved Trader Scheme','IS',1,'2015-07-09 17:20:11','2015-07-09 22:54:47'),(12,'C15','Total Value of GST Suspended under item 14','',0,'2015-07-09 17:20:11','2015-07-09 22:57:02'),(13,'C16','Total Value of Capital Goods Acquired','TX-CG',1,'2015-07-09 17:20:28','2015-07-09 22:54:48'),(14,'C17','Total Value of Bad Debt Relief Inclusive Tax','',0,'2015-07-09 17:20:28','2015-07-09 22:57:06'),(15,'C18','Total Value of Bad Debt Recovered Inclusive Tax','',0,'2015-07-09 17:20:38','2015-07-09 22:57:09');
/*!40000 ALTER TABLE `_ref_gst_03_field` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_industry`
--

DROP TABLE IF EXISTS `_ref_industry`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_industry` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(128) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_industry`
--

LOCK TABLES `_ref_industry` WRITE;
/*!40000 ALTER TABLE `_ref_industry` DISABLE KEYS */;
INSERT INTO `_ref_industry` VALUES (1,'General',1,'2014-05-05 17:06:56',0,'2014-05-05 17:32:24'),(2,'Retail / Trading',1,'2014-05-05 17:06:56',0,'2016-06-10 07:12:23'),(3,'Services',1,'2014-05-05 17:08:14',0,'2014-05-05 17:32:44'),(4,'Others',1,'2014-05-05 17:08:14',0,'2014-05-05 17:32:44');
/*!40000 ALTER TABLE `_ref_industry` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_language`
--

DROP TABLE IF EXISTS `_ref_language`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_language` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(3) DEFAULT '0',
  `description` varchar(64) DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_language`
--

LOCK TABLES `_ref_language` WRITE;
/*!40000 ALTER TABLE `_ref_language` DISABLE KEYS */;
INSERT INTO `_ref_language` VALUES (1,'en','English (International)'),(2,'ms','Bahasa Malaysia'),(3,'ar','Arabic');
/*!40000 ALTER TABLE `_ref_language` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_state`
--

DROP TABLE IF EXISTS `_ref_state`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_state` (
  `fldid` int(10) NOT NULL AUTO_INCREMENT,
  `fldregion_id` int(10) unsigned DEFAULT NULL,
  `fldname` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`fldid`),
  KEY `subregion_region_id` (`fldregion_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1937 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_state`
--

LOCK TABLES `_ref_state` WRITE;
/*!40000 ALTER TABLE `_ref_state` DISABLE KEYS */;
INSERT INTO `_ref_state` VALUES (1921,458,'JOHOR'),(1922,458,'KEDAH'),(1923,458,'KELANTAN'),(1924,458,'MELAKA'),(1925,458,'NEGERI SEMBILAN'),(1926,458,'PAHANG'),(1927,458,'PERAK'),(1928,458,'PERLIS'),(1929,458,'PULAU PINANG'),(1930,458,'SARAWAK'),(1931,458,'SELANGOR'),(1932,458,'TERENGGANU'),(1933,458,'KUALA LUMPUR'),(1934,458,'FEDERAL TERRITORY OF LABUAN'),(1935,458,'SABAH'),(1936,458,'PUTRAJAYA');
/*!40000 ALTER TABLE `_ref_state` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_tax_master`
--

DROP TABLE IF EXISTS `_ref_tax_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_tax_master` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `code` varchar(10) DEFAULT NULL,
  `name` varchar(128) DEFAULT NULL,
  `taxType` int(11) DEFAULT NULL,
  `taxPercentage` double DEFAULT NULL,
  `taxClass` int(11) DEFAULT NULL,
  `taxGroup` int(11) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `defaultTaxAccount` varchar(9) DEFAULT NULL,
  `status` tinyint(1) DEFAULT '0',
  `createdBy` int(11) DEFAULT '0',
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_tax_master`
--

LOCK TABLES `_ref_tax_master` WRITE;
/*!40000 ALTER TABLE `_ref_tax_master` DISABLE KEYS */;
INSERT INTO `_ref_tax_master` VALUES (0,'TX-CG','CAPITAL GOODS ACQUIRED',11,6,1,1,'CAPITAL GOODS ACQUIRED','260010000',0,0,'2014-08-18 21:02:45',NULL,'2014-08-18 21:03:18'),(1,'SR','STANDARD RATED SUPPLIES WITH GST CHARGED',1,6,1,2,'STANDARD RATED SUPPLIES WITH GST CHARGED','330010000',0,0,'2014-05-10 15:56:37',NULL,'2014-08-11 23:40:46'),(2,'DS','DEEMED SUPPLIES',1,6,1,2,'DEEMED SUPPLIES','330010000',0,0,'2014-05-10 15:56:37',NULL,'2014-08-11 23:40:46'),(3,'ZRL','ZERO RATED SUPPLIES-LOCAL',2,0,1,2,'ZERO RATED SUPPLIES-LOCAL',NULL,0,0,'2014-05-10 15:56:37',NULL,'2014-08-13 00:56:43'),(4,'ZRE','EXPORTED GOOD SUPPLIES',3,0,1,2,'EXPORTED GOOD SUPPLIES',NULL,0,0,'2014-05-10 11:02:03',NULL,'2014-08-13 00:56:43'),(5,'ES43','INCIDENTAL EXEMPT SUPPLIES',4,0,1,2,'INCIDENTAL EXEMPT SUPPLIES',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(6,'ES','EXEMPT SUPPLIES UNDER GST',4,0,1,2,'EXEMPT SUPPLIES UNDER GST',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(7,'OS','OUT-OF-SCOPE SUPPLIES',5,0,1,2,'OUT-OF-SCOPE SUPPLIES',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(8,'RS','RELIEF SUPPLIES UNDER GST',6,0,1,2,'RELIEF SUPPLIES UNDER GST',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(9,'GS','DISREGARDED SUPPLIES',7,0,1,2,'DupdaISREGARDED SUPPLIES',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(10,'AJS','ANY ADJUSTMENT MADE TO OUTPUT TAX',8,6,1,2,'ANY ADJUSTMENT MADE TO OUTPUT TAX','330010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:46'),(11,'ST-MF','SALES TAX FOR GOODS MANUFACTURING ',9,10,2,2,'SALES TAX FOR GOODS MANUFACTURING ','330040000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 03:01:53'),(12,'ST','SALES TAX FOR GENERAL',9,5,2,2,'SALES TAX FOR GENERAL','330040000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 02:22:57'),(13,'SERT','SERVICE TAX FOR GENERAL',10,6,2,2,'SERVICE TAX FOR GENERAL','330050000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 02:21:38'),(14,'TX','PURCHASE WITH GST INCURRED AT 6% AND DIRECTLY ATTRIBUTABLE TO TAXABLE SUPPLIES',11,6,1,1,'PURCHASE WITH GST INCURRED AT 6% AND DIRECTLY ATTRIBUTABLE TO TAXABLE SUPPLIES','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-18 20:48:26'),(15,'IM','GST INCURRED FOR IMPORT OF GOODS',11,6,1,1,'GST INCURRED FOR IMPORT OF GOODS','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(16,'IMS','GST INCURRED FOR IMPORT OF SERVICES (REVERSED MECHANISM)',11,6,1,1,'GST INCURRED FOR IMPORT OF SERVICES (REVERSED MECHANISM)','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(17,'IS','IMPORTED UNDER SPECIAL SCHEME WITH NO GST INCURRED',12,0,1,1,'IMPORTED UNDER SPECIAL SCHEME WITH NO GST INCURRED',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(18,'BL','PURCHASE WITH GST INCURRED BUT NOT CLAIMBLE',13,6,1,1,'PURCHASE WITH GST INCURRED BUT NOT CLAIMBLE','810040000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(19,'NR','PURCHASE FROM NON GST-REGISTERED SUPPLIER WITH NO GST INCURRED',14,0,1,1,'PURCHASE FROM NON GST-REGISTERED SUPPLIER WITH NO GST INCURRED',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(20,'ZP','PURCHASE FROM GST-REGISTERED SUPPLIER WITH NO GST INCURRED',15,0,1,1,'PURCHASE FROM GST-REGISTERED SUPPLIER WITH NO GST INCURRED',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(21,'EP','PURCHASE EXEMPTED FROM GST',16,0,1,1,'PURCHASE EXEMPTED FROM GST',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(22,'OP','PURCHASE TRANSACTIONS WHICH IS OUT OF THE SCOPE OF GST LEGISLATION',5,0,1,1,'PURCHASE TRANSACTIONS WHICH IS OUT OF THE SCOPE',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(23,'TX-E43','GST INCURRED DIRECTLY ATTRIBUTABLE TO INCIDENTAL EXEMPT SUPPLIES',11,6,1,1,'GST INCURRED DIRECTLY ATTRIBUTABLE TO INCIDENTAL EXEMPT SUPPLIES','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(24,'TX-N43','GST  INCURRED DIRECTLY ATTRIBUTABLE TO NON-INCIDENTAL EXEMPT SUPPLIES',11,6,1,1,'GST  INCURRED DIRECTLY ATTRIBUTABLE TO NON-INCIDENTAL EXEMPT SUPPLIES','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(25,'TX-RE','GST INCURRED THAT IS NOT DIRECTLY ATTRIBUTABLE TO TAXABLE OR EXEMPT SUPPLIES',11,6,1,1,'GST INCURRED THAT IS NOT DIRECTLY ATTRIBUTABLE TO TAXABLE OR EXEMPT SUPPLIES','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-11 23:40:22'),(26,'GP','PURCHASE TRANSACTION WHICH LEGISLATION',19,0,1,1,'PURCHASE TRANSACTION WHICH LEGISLATION',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-18 20:35:41'),(27,'AJP','ANY ADJUSTMENT MADE TO INPUT TAX',20,6,1,1,'ANY ADJUSTMENT MADE TO INPUT TAX','260010000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-18 20:43:39'),(28,'ST-1','SALES TAX FOR GOODS MANUFACTURING ',9,10,2,1,'SALES TAX FOR GOODS MANUFACTURING ','810031000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 03:01:05'),(29,'ST-2','SALES TAX FOR GENERAL',9,10,2,1,'SALES TAX FOR GENERAL','810031000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 03:01:21'),(30,'SERT-1','SERVICE TAX FOR GENERAL',10,6,2,1,'SERVICE TAX FOR GENERAL','330050000',0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 02:22:12'),(31,'IMPD-1','IMPORT DUTY FOR CUSTOMS IMPORTED GOODS',17,0,2,1,'IMPORT DUTY FOR CUSTOMS IMPORTED GOODS',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(32,'IMPD-2','IMPORT DUTY FOR CUSTOMS OPEN AP',17,0,2,1,'IMPORT DUTY FOR CUSTOMS OPEN AP',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(33,'IMPD-3','IMPORT DUTY FOR CUTOMS FRANCHAISE AP',17,0,2,1,'IMPORT DUTY FOR CUTOMS FRANCHAISE AP',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43'),(34,'EXD','EXCISE DUTY CUSTOMS',18,0,2,1,'EXCISE DUTY CUSTOMS',NULL,0,0,'2014-05-11 17:36:01',NULL,'2014-08-13 00:56:43');
/*!40000 ALTER TABLE `_ref_tax_master` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_web`
--

DROP TABLE IF EXISTS `_ref_web`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_web` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `userID` varchar(64) NOT NULL,
  `namaSyarikat` varchar(32) NOT NULL,
  `mukaDepan` longtext,
  `menu1` varchar(32) NOT NULL,
  `menu2` varchar(32) NOT NULL,
  `menu3` varchar(32) NOT NULL,
  `menu4` varchar(32) NOT NULL,
  `menu5` varchar(32) NOT NULL,
  `menu1Link` varchar(64) NOT NULL,
  `menu2Link` varchar(64) NOT NULL,
  `menu3Link` varchar(64) NOT NULL,
  `menu4Link` varchar(64) NOT NULL,
  `menu5Link` varchar(64) NOT NULL,
  `selamatDatang` varchar(32) NOT NULL,
  `moto` varchar(128) NOT NULL,
  `linkLabel` varchar(32) NOT NULL,
  `link` varchar(64) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `mengapaTajuk` varchar(32) NOT NULL,
  `mengapaKeterangan` text NOT NULL,
  `mengapa1` varchar(32) NOT NULL,
  `mengapa12` text NOT NULL,
  `mengapa2` varchar(32) NOT NULL,
  `mengapa22` text NOT NULL,
  `mengapa3` varchar(32) NOT NULL,
  `mengapa32` text NOT NULL,
  `mengapa4` varchar(32) NOT NULL,
  `mengapa42` text NOT NULL,
  `mengapa5` varchar(32) NOT NULL,
  `mengapa52` text NOT NULL,
  `mengapa6` varchar(32) NOT NULL,
  `mengapa62` text NOT NULL,
  `portfolio` varchar(32) NOT NULL,
  `portfolioSub` varchar(128) NOT NULL,
  `portfolio1` varchar(32) NOT NULL,
  `portfolioSub1` varchar(128) NOT NULL,
  `portfolio2` varchar(32) NOT NULL,
  `portfolioSub2` varchar(128) NOT NULL,
  `portfolio3` varchar(32) NOT NULL,
  `portfolioSub3` varchar(128) NOT NULL,
  `portfolio4` varchar(32) NOT NULL,
  `portfolioSub4` varchar(128) NOT NULL,
  `portfolio5` varchar(32) NOT NULL,
  `portfolioSub5` varchar(128) NOT NULL,
  `portfolio6` varchar(32) NOT NULL,
  `portfolioSub6` varchar(128) NOT NULL,
  `portfolioImage1` longtext,
  `portfolioImage2` longtext,
  `portfolioImage3` longtext,
  `portfolioImage4` longtext,
  `portfolioImage5` longtext,
  `portfolioImage6` longtext,
  `portfolioText1` text NOT NULL,
  `portfolioText2` text NOT NULL,
  `portfolioText3` text NOT NULL,
  `portfolioText4` text NOT NULL,
  `portfolioText5` text NOT NULL,
  `portfolioText6` text NOT NULL,
  `about` varchar(32) NOT NULL,
  `aboutSub` varchar(128) NOT NULL,
  `aboutText` text NOT NULL,
  `about1` varchar(32) NOT NULL,
  `aboutSub1` varchar(128) NOT NULL,
  `aboutText1` text NOT NULL,
  `about2` varchar(32) NOT NULL,
  `aboutSub2` varchar(128) NOT NULL,
  `aboutText2` text NOT NULL,
  `about3` varchar(32) NOT NULL,
  `aboutSub3` varchar(128) NOT NULL,
  `aboutText3` text NOT NULL,
  `about4` varchar(32) NOT NULL,
  `aboutSub4` varchar(128) NOT NULL,
  `aboutText4` text NOT NULL,
  `aboutImage1` longtext,
  `aboutImage2` longtext,
  `aboutImage3` longtext,
  `aboutImage4` longtext,
  `aboutBulat` varchar(32) NOT NULL,
  `team` varchar(32) NOT NULL,
  `teamSub` varchar(128) NOT NULL,
  `teamFb` varchar(64) NOT NULL,
  `team1` varchar(32) NOT NULL,
  `teamSub1` varchar(128) NOT NULL,
  `teamFb1` varchar(64) NOT NULL,
  `team2` varchar(32) NOT NULL,
  `teamSub2` varchar(128) NOT NULL,
  `teamFb2` varchar(64) NOT NULL,
  `team3` varchar(32) NOT NULL,
  `teamSub3` varchar(128) NOT NULL,
  `teamFb3` varchar(64) NOT NULL,
  `teamTw1` varchar(64) NOT NULL,
  `teamTw2` varchar(64) NOT NULL,
  `teamTw3` varchar(64) NOT NULL,
  `teamLn1` varchar(64) NOT NULL,
  `teamLn2` varchar(64) NOT NULL,
  `teamLn3` varchar(64) NOT NULL,
  `teamImage1` longtext,
  `teamImage2` longtext,
  `teamImage3` longtext,
  `teamBawah` varchar(128) NOT NULL,
  `clientImage1` longtext,
  `clientImage2` longtext,
  `clientImage3` longtext,
  `clientImage4` longtext,
  `clientLink1` varchar(128) NOT NULL,
  `clientLink2` varchar(128) NOT NULL,
  `clientLink3` varchar(128) NOT NULL,
  `clientLink4` varchar(128) NOT NULL,
  `hubungiKami` text NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_web`
--

LOCK TABLES `_ref_web` WRITE;
/*!40000 ALTER TABLE `_ref_web` DISABLE KEYS */;
INSERT INTO `_ref_web` VALUES (1,'akmaluddin@salihin.com.my','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.');
/*!40000 ALTER TABLE `_ref_web` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_ref_zakat_group`
--

DROP TABLE IF EXISTS `_ref_zakat_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_ref_zakat_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `defaultAcctCode` varchar(9) NOT NULL,
  `name` varchar(64) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
  `parentID` int(11) DEFAULT '0',
  `sequence` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_ref_zakat_group`
--

LOCK TABLES `_ref_zakat_group` WRITE;
/*!40000 ALTER TABLE `_ref_zakat_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `_ref_zakat_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_sys_menu`
--

DROP TABLE IF EXISTS `_sys_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_sys_menu` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(8) DEFAULT NULL,
  `name` varchar(30) DEFAULT NULL,
  `parents` varchar(8) DEFAULT '0',
  `module` varchar(8) DEFAULT '0',
  `submenu` smallint(1) DEFAULT '0',
  `urls` varchar(100) DEFAULT '0',
  `urls2` varchar(100) DEFAULT '0',
  `access` varchar(100) DEFAULT NULL,
  `seq` int(11) NOT NULL,
  `display` smallint(1) DEFAULT '1',
  `icons` varchar(32) DEFAULT 'i-film',
  `language` varchar(3) DEFAULT 'EN',
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB AUTO_INCREMENT=391 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sys_menu`
--

LOCK TABLES `_sys_menu` WRITE;
/*!40000 ALTER TABLE `_sys_menu` DISABLE KEYS */;
INSERT INTO `_sys_menu` VALUES (1,'DB','Dashboard','0','0',0,'home','home','ALL',1,1,'icondashboard.png','EN'),(5,'STP','GeneralSetup','0','10',1,'#','0','ALL',90,1,'iconsetup.png','EN'),(6,'UM','UserMaster','12','9',0,'admin/usermasterlist','0','ALL',1,1,'icon-usermaster.png','EN'),(7,'UML','UserMasterList','12','9',0,'admin/usermasterlist','0','ALL',2,0,'icon-usermaster.png','EN'),(12,'ADM','Admin','0','9',1,'#','0','ADMIN',100,1,'iconadmin.png','EN'),(14,'MUL','MenuList','12','9',0,'admin/menumasterlist','0','ALL',4,0,'icon-menulist.png','EN'),(41,'MSLM','LocationMaster','91','4',0,'ItemSetup/locationlist','0','ALL',70,1,'icon-active.png','EN'),(45,'GLM','GeneralLedger','0','1',1,'#','0','ALL',10,1,'icongeneralledger.png','EN'),(46,'GLSETUP','Setup','45','1',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(50,'PUR','Purchasing','0','8',1,'#','0','ALL',50,1,'iconpurchasing.png','EN'),(51,'PURSETUP','Setup','50','8',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(52,'PURRPT','Reports','50','8',1,'#','0','ALL',70,1,'iconsubreport.png','EN'),(54,'PURSTSPL','Supplierslist','51','5',0,'supplier/supplierList','0','ALL',51,1,'icon-active.png','EN'),(80,'ARDASHB','AccountReceivables','0','2',1,'#','0','ALL',20,1,'iconaccountreceivables.png','EN'),(81,'APDASHB','AccountPayables','0','3',1,'#','0','ALL',30,1,'iconaccountpayables.png','EN'),(82,'SALES','SalesOrders','0','5',1,'#','0','ALL',40,1,'iconsalesorder.png','EN'),(83,'GST','GST','0','6',1,'#','0','ALL',70,1,'icongoodserviestax.png','EN'),(84,'ZAKAT','Zakat','0','7',1,'#','0','ALL',80,1,'iconzakatwakaf.png','EN'),(85,'APSETUP','Setup','81','3',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(86,'ARSETUP','Setup','80','2',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(87,'APRPT','Reports','81','3',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(88,'GLRPT','Reports','45','1',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(89,'ARRPT','Reports','80','2',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(90,'INVCTRL','InventoryControl','0','4',1,'#','0','ALL',60,1,'iconinventorycontrol.png','EN'),(91,'ICSETUP','Setup','90','4',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(92,'ICRPT','Reports','90','4',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(93,'MSTRCOMP','CompanySetup','5','10',1,'company/setup','0','ALL',5,1,'icon-com-setup.png','EN'),(94,'GLMCAL','Fycalendar','46','1',0,'glsetting/createCalendar','0','ALL',10,1,'icon-active.png','EN'),(95,'GLHOME','Home','45','1',0,'GeneralLedger','0','ALL',1,1,'iconsubhome.png','EN'),(96,'ARHOME','Home','80','2',0,'AccountReceivables','0','ALL',1,1,'iconsubhome.png','EN'),(97,'APHOME','Home','81','3',0,'AccountPayables','0','ALL',1,1,'iconsubhome.png','EN'),(98,'ICHOME','Home','90','4',0,'#','0','ALL',1,1,'iconsubhome.png','EN'),(99,'PURHOME','Home','50','5',0,'#','0','ALL',1,1,'iconsubhome.png','EN'),(100,'GSTHOME','Home','83','6',0,'#','0','ALL',1,1,'iconsubhome.png','EN'),(102,'GSTSETUP','Setup','83','6',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(103,'GSTRPT','Reports','83','6',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(104,'SOHOME','Home','82','5',0,'SalesOrder','0','ALL',1,1,'iconsubhome.png','EN'),(105,'SOSETUP','Setup','82','5',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(106,'SORPT','Reports','82','5',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(107,'ZKTHOME','Home','84','7',0,'#','0','ALL',1,1,'iconsubhome.png','EN'),(108,'ZKTSETUP','Setup','84','7',1,'#','0','ALL',90,1,'iconsubsetup.png','EN'),(109,'ZKTRPT','Reports','84','7',1,'#','0','ALL',80,1,'iconsubreport.png','EN'),(110,'MSTRCOML','List','93','10',0,'setting/companyList','0','ALL',5,1,'iconcompanysetup.png','EN'),(114,'MSTRSUPP','SupplierSetup','85','3',0,'Apsetting/supplierList','0','ALL',11,1,'icon-active.png','EN'),(124,'APTRANS','Transaction','81','3',1,'#','0','ALL',10,1,'iconsubtransaction.png','EN'),(129,'APSUPPAY','SupplierPayment','124','3',0,'aptransaction/payment','0','ALL',50,1,'icon-active.png','EN'),(130,'ARSETCUS','CustomerSetup','86','2',0,'customerSetup/customerList','0','ALL',5,1,'icon-active.png','EN'),(131,'ARTRANS','Transaction','80','2',1,'#','0','ALL',10,1,'iconsubtransaction.png','EN'),(141,'APPURDN','PurchaseDebitNote','124','3',0,'aptransaction/newDebitNote','0','ALL',23,1,'icon-active.png','EN'),(142,'APPURCN','PurchaseCreditNote','124','3',0,'aptransaction/newCreditNote','0','ALL',25,1,'icon-active.png','EN'),(143,'ITEMCAT','ItemCategory','91','4',0,'icsetting/itemCategoryList','0','ALL',5,1,'icon-active.png','EN'),(144,'ITEMTYP','ItemType','91','4',0,'icsetting/itemTypeList','0','ALL',10,1,'icon-active.png','EN'),(145,'ITEMSET','ItemSetup','91','4',0,'icsetting/itemList','0','ALL',25,1,'icon-active.png','EN'),(147,'PURTRANS','Transaction','50','8',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(148,'ICTRANS','Transaction','90','4',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(150,'GLTRANS','Transaction','45','1',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(151,'GSTTRANS','Transaction','83','6',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(152,'SOTRANS','Transaction','82','5',1,'#','0','ALL',5,1,'iconsubtransaction.png','EN'),(153,'SOQUOT','SalesQuotation','152','5',0,'sotransaction/SalesQuotationList','0','ALL',1,1,'icon-active.png','EN'),(154,'GLTRJRNL','JlEntry','150','1',0,'gltransaction/journal','0','',5,1,'icon-active.png','EN'),(155,'GLMCALL','Fycalendarlist','46','1',0,'glsetting/financialCalendarList','0','ALL',10,1,'icon-active.png','EN'),(156,'PROJECT','ProjectList','5','0',0,'project/projectlist','0','ALL',50,1,'icon-project.png','EN'),(157,'TERM','Terms','5','0',0,'term/termlist','0','ALL',60,1,'icon-term.png','EN'),(158,'GSTMSTR','Gsttable','102','6',0,'tax/taxtableList','0','ALL',1,1,'icon-active.png','EN'),(159,'GSTCLASS','taxclass','102','6',0,'tax/classList','0','ALL',30,1,'icon-active.png','EN'),(160,'GSTGROUP','taxgroup','102','6',0,'tax/groupList','0','ALL',31,1,'icon-active.png','EN'),(161,'GSTTYPE','taxtype','102','6',0,'tax/typeList','0','ALL',32,1,'icon-active.png','EN'),(162,'INVUM','invuom','91','4',0,'icsetting/umconversionlist','0','ALL',70,1,'iconsetupsub.png','EN'),(166,'GLRPBS','Financialposition','88','1',0,'glreports/financialposition','0','',20,1,'icon-active.png','EN'),(167,'GLRPTB','Trialbalance','88','1',0,'glreports/trialBalance','0','ALL',5,1,'icon-active.png','EN'),(168,'GLSTCOA','ChartOfAccount','46','1',0,'glsetting/chartOfAcctList','0','ALL',60,1,'icon-active.png','EN'),(169,'MSMTRCD','Mastercode','5','1',0,'setting/masterCodeSetupList','0','',40,1,'icon-general-setup-sub.png','EN'),(171,'GLTRJlCY','JlCopy','150','1',0,'Gltransaction/journalCopy','0','',20,0,'icon-active.png','EN'),(172,'GLTRJlRV','JlReverse','150','1',0,'Gltransaction/reverse','0','',30,0,'icon-active.png','EN'),(173,'GLTRPOST','Posting','150','1',0,'Gltransaction/posting','0','',40,1,'icon-active.png','EN'),(174,'GLRPJLPS','Jlpost','88','1',0,'glreports/postedjournal','0','',40,1,'icon-active.png','EN'),(175,'GLRPJLUP','Jlunposted','88','1',0,'glreports/unpostedjournal','0','',35,1,'icon-active.png','EN'),(176,'GLRPTBFC','Trialbalancefc','88','1',0,'glreports/trialbalanceFiscalyear','0','',7,1,'icon-active.png','EN'),(178,'GLRPABSM','Accountbalancesummary','88','1',0,'glreports/accountBalanceSummary','0','',2,1,'icon-active.png','EN'),(179,'EMP','employeeSetup','5','0',0,'employeeSetup/employeeList','0','',7,1,'icon-employee2.png','EN'),(180,'APPURDNL','PurchaseDebitNoteList','87','3',0,'apreports/debitnoteList','0','',26,1,'icon-active.png','EN'),(181,'APPURDNC','PurchaseDebitNoteConfirm','124','3',0,'aptransaction/debitnotePost','0','',24,1,'icon-active.png','EN'),(184,'APPURCNL','PurchaseCreditNoteList','87','3',0,'apreports/creditnoteList','0','',27,1,'icon-active.png','EN'),(185,'APPURCNC','PurchaseCreditNoteConfirm','124','3',0,'aptransaction/creditnotePost','0','',27,1,'icon-active.png','EN'),(186,'APPAYCFM','SupplierPaymentConfirm','124','3',0,'aptransaction/supplierpaymentList','0','',51,1,'icon-active.png','EN'),(187,'APSUPPAY','SupplierPaymentList','87','3',0,'apreports/supplierpaymentlist','0','',52,1,'icon-active.png','EN'),(189,'GLRPPNLM','Profitnloss','88','1',0,'glreports/profitNloss','0','',30,1,'icon-active.png','EN'),(190,'FORMSTP','formSetup','93','10',0,'companySetup/formSetup','0','',30,1,'i-pen.png','EN'),(191,'GLSTBDGT','Budget','46','1',0,'glsetting/budgetEntry','0','',20,1,'icon-active.png','EN'),(192,'APOPWI','NewOtherPaymentWithItem','124','3',0,'othersPayment/newPayWithItem','0','',54,1,'icon-active.png','EN'),(193,'APPAYICM','NewOtherPaymentWithItemConfirm','124','3',0,'aptransaction/otherpaywithItemPost','0','',55,1,'icon-active.png','EN'),(194,'APOPWOI','NewOtherPaymentWithoutItem','150','1',0,'gltransaction/newPayWithoutItem','0','',56,1,'icon-active.png','EN'),(196,'APRPTOPW','OtherPaymentWithItemList','87','3',0,'othersPayment/otherpaywithList','0','',58,1,'icon-active.png','EN'),(197,'APRPTOPW','OtherPaymentWithoutItemList','88','1',0,'glreports/otherpaywithoutList','0','',59,1,'icon-active.png','EN'),(198,'GLRPBGLT','Budgetlist','88','1',0,'glreports/budgetList','0','',70,1,'icon-active.png','EN'),(200,'SOTRNWSO','SalesOrder','152','5',0,'sotransaction/salesOrderList','0','',10,1,'icon-active.png','EN'),(201,'INVLOCTR','LocationTransfer','148','4',0,'locationtransfer/add','0','',6,1,'icon-active.png','EN'),(203,'INVPURPR','PurchasePricing','51','8',0,'purchasepricing','0','',10,1,'icon-active.png','EN'),(204,'INVITEMC','ItemCountAdjust','148','4',0,'itemcountadjust/add','0','',8,1,'icon-active.png','EN'),(207,'CSSYSGEN','SystemGeneral','93','0',0,'systemgeneral/generalSetup','0','',29,1,'i-pen.png','EN'),(208,'APRPTSTL','SupplierStatementList','87','3',0,'supplierStatement/supplierList','0','',53,1,'icon-active.png','EN'),(209,'SOTRQOLT','Salesquotelist','106','5',0,'soreport/SalesQuotationList','0','ALL',17,1,'icon-active.png','EN'),(210,'SOSTSLPC','Salesprice','105','5',0,'sosetup/SalesPriceList','0','',10,1,'icon-active.png','EN'),(211,'SORPPCLT','Salesprice','106','5',0,'soreport/SalesPrice','0','',10,1,'icon-active.png','EN'),(212,'CHAOFACC','ChartOfAccountSetup','93','10',0,'setting/chartOfAccountsSetup','0','',28,1,'i-film.png','EN'),(216,'SOTRDOLT','DeliveryOrderList','106','5',0,'sotransaction/SalesDOList','0','ALL',19,1,'icon-active.png','EN'),(217,'SOTRDO','DeliveryOrder','152','5',0,'sotransaction/SalesDO','0','ALL',40,1,'icon-active.png','EN'),(218,'PURORDER','PurchaseOrder','147','5',0,'PO_Transaction/newPO','0','',6,1,'icon-active.png','EN'),(219,'PURORLST','PurchaseOrderList','52','5',0,'purchaseReports/poList','0','',7,1,'icon-active.png','EN'),(220,'PURRCV','PurchaseReceive','147','5',0,'receiveItems/newITemReceived','0','',9,1,'icon-active.png','EN'),(224,'APPURINV','PurchaseInvoice','124','3',0,'aptransaction/purchaseinvoice','0','',19,1,'icon-active.png','EN'),(225,'APDIRINV','DirectPurchaseInvoice','124','3',0,'Aptransaction/invoices','0','',20,1,'icon-active.png','EN'),(226,'APDRINVC','PurchaseInvoiceConfirm','124','3',0,'aptransaction/invoicesConfirm','0','',22,1,'icon-active.png','EN'),(227,'ARSALINV','SalesInvoice','131','2',0,'artransaction/salesinvoice','0','',10,1,'icon-active.png','EN'),(229,'ARSDBN','SalesDebitNote','131','2',0,'artransaction/newSaleDebitNote','0','',19,1,'icon-active.png','EN'),(230,'ARDBNC','SalesDebitNoteConfirm','131','2',0,'artransaction/salesdebitnotePost','0','',20,1,'icon-active.png','EN'),(231,'ARSCN','SalesCreditNote','131','2',0,'artransaction/newSaleCreditNote','0','',21,1,'icon-active.png','EN'),(232,'ARSCNC','SalesCreditNoteConfirm','131','2',0,'artransaction/salescreditnotePost','0','',22,1,'icon-active.png','EN'),(233,'ARRCVP','ReceivePayment','131','2',0,'artransaction/newReceivePayment','0','',23,1,'icon-active.png','EN'),(234,'ARRCVPC','ReceivePaymentConfirm','131','2',0,'artransaction/receivedPaymentPost','0','',24,1,'icon-active.png','EN'),(235,'ARINVLST','DirectSalesInvoiceList','89','2',0,'arReports/salesInvoiceList','0','',18,1,'icon-active.png','EN'),(236,'ARDBNLST','SalesDebitNoteList','89','2',0,'arReports/salesdebitnotelist','0','',26,1,'icon-active.png','EN'),(237,'ARCDNLST','SalesCreditNoteList','89','2',0,'arreports/salescreditnoteList','0','',27,1,'icon-active.png','EN'),(238,'ARRCVPLS','ReceivePaymentList','89','2',0,'arReports/compRecPaymentList','0','',28,1,'icon-active.png','EN'),(239,'ARDSLINV','NewDirectSaleInvoice','131','2',0,'arTransaction/newDirectSaleInvoice','0','',13,1,'icon-active.png','EN'),(240,'AGENTSTP','AgentSetup','5','0',0,'saleagentSetup/agentList','0','',32,1,'icon-agent.png','EN'),(241,'SOTRSOLT','Saleslist','106','5',0,'soreport/SalesOrderList','0','ALL',18,1,'icon-active.png','EN'),(243,'INVPLNRP','InventoryPlanningReport','92','4',0,'inventory/rptstatus/all','0','',81,1,'icon-active.png','EN'),(244,'INVVALRP','InventoryValuationReport','92','4',0,'inventory/rptinventorysummary','0','',82,1,'icon-active.png','EN'),(245,'INVSTORP','StockCheckReport','92','4',0,'inventory/stocklist','0','',84,1,'icon-active.png','EN'),(248,'INVOUTRP','OutstandingGRNReport','92','4',0,'inventory/rptgrnvaluationFromInventory','0','',87,1,'icon-active.png','EN'),(249,'INVMOVRP','InventoryMovementReport','92','4',0,'inventory/rptmovement','0','',88,1,'icon-active.png','EN'),(250,'INVLSTRP','InventoryList','92','4',0,'inventory/rptbylocation','0','',89,1,'icon-active.png','EN'),(251,'PURORDCF','PurchaseOrderConfirm','147','5',0,'po_transaction/poList','0','',8,1,'icon-active.png','EN'),(252,'PURRCVC','PurchaseReceiveConfirm','147','5',0,'purchasetransaction/receiveItemPosting','0','',10,1,'icon-active.png','EN'),(253,'PURRCVLS','PurchaseReceiveList','52','5',0,'receiveItems/receiveItemList2','0','',8,1,'icon-active.png','EN'),(255,'GLSTCURC','Currencyconversion','46','1',0,'glsetting/currencyConvertion','0','',50,1,'icon-active.png','EN'),(256,'ARDRSINV','SaleInvoiceConfirm','131','2',0,'artransaction/directsalesinvPost','0','',15,1,'icon-active.png','EN'),(257,'TXTRPROC','GAFFiles','151','6',0,'taxTransaction/processGAF','0','',10,1,'icon-active.png','EN'),(258,'APPURINV','PurchaseInvoiceList','87','3',0,'apreports/purchaseinvoicelist','0','',25,1,'icon-active.png','EN'),(259,'SORPSOCU','Salesbycustomer','106','5',0,'soreport/SalesByCustomer','0','',20,1,'icon-active.png','EN'),(260,'DELCNFRM','DeliveryOrderConfirm','152','5',0,'sotransaction/salesDOPost','0','',42,1,'icon-active.png','EN'),(261,'SORPYRSL','SalesbycustomerYears','106','5',0,'soreport/SalesByCustomerYears','0','',25,1,'icon-active.png','EN'),(263,'SORPSLIT','Salesbyitem','106','5',0,'soreport/SalesByItem','0','',26,1,'icon-active.png','EN'),(264,'INVLOCTC','LocationTransferConfirm','148','4',0,'locationtransfer/locationtransfer','0','',7,1,'icon-active.png','EN'),(265,'INVITCC','ItemCountAdjustConfirm','148','4',0,'itemcountadjust/confirm','0','',9,1,'icon-active.png','EN'),(268,'IVSTCKCS','StockCountSheet','92','4',0,'countsheet','0','',83,1,'icon-active.png','EN'),(269,'LTL','LocationTransferList','92','4',0,'locationtransfer/report','0','',10,1,'icon-active.png','EN'),(270,'ICAA','ItemCountAndAdjustmentList','92','4',0,'itemcountadjust/report','0','',20,1,'icon-active.png','EN'),(272,'BNKSETUP','BankSetup','5','10',0,'bankSetup/bankList','0','',78,1,'icon-bank.png','EN'),(274,'ZKTSTGRP','Zakatgroup','108','7',0,'zakatsetup/Group','0','',30,1,'icon-active.png','EN'),(275,'ZKTSTNSB','nisab','108','7',0,'zakatsetup/nisabsetup','0',NULL,20,1,'icon-active.png','EN'),(276,'ZKTRGPLT','Zakatgrouplist','109','7',0,'zakatreport/groupList','0','',20,1,'icon-active.png','EN'),(277,'ZKTSTNSD','Nisabdetails','108','7',0,'zakatsetup/NisabDetails','0','',10,1,'icon-active.png','EN'),(278,'ZKTTRANS','Transaction','84','7',1,'#','0','',20,1,'iconsubtransaction.png','EN'),(279,'ZKTTRCAL','Zakatcalculate','278','7',0,'zakatTransaction/Calculation','0','',10,1,'icon-active.png','EN'),(280,'ZKSTCNTR','Zakatcenter','108','7',0,'zakatSetup/zakatcentersetup','0','',55,1,'icon-active.png','EN'),(281,'ZKRPCTRL','Zakatcenter','109','7',0,'zakatreport/centerList','0','',10,1,'icon-active.png','EN'),(282,'ZKRPNBLT','Zakatnisab','109','7',0,'zakatreport/nisabList','0','',5,1,'icon-active.png','EN'),(283,'ZKRPSMLT','Zakatsummary','109','7',0,'zakatreport/zakatSummaryList','0','',80,1,'icon-active.png','EN'),(284,'PUROUTGR','OutstandingGRNReport','52','5',0,'inventory/rptgrnvaluationFromPurchase','0','',10,1,'icon-active.png','EN'),(285,'WKSTMSTR','Wakafsetup','108','7',0,'wakafsetup/wakaf_acrual_list','0','',60,1,'icon-active.png','EN'),(286,'ARCUSTST','CustomerStatement','89','2',0,'customerStatement/customerList','0','',29,1,'icon-active.png','EN'),(287,'ARCPYSI','copySalesInvoice','131','2',0,'arinvoiceclone','0','',14,1,'icon-active.png','EN'),(288,'APCPYPI','copyPurchaseInvoice','124','3',0,'apinvoiceclone','0','',21,1,'icon-active.png','EN'),(289,'SORPORCT','Salesorderbycustomer','106','5',0,'soreport/SalesOrderByCustomer','0','',60,1,'icon-active.png','EN'),(290,'SORPSOIT','Salesorderbyitem','106','5',0,'soreport/SalesOrderByItem','0','',65,1,'icon-active.png','EN'),(292,'SORPOROT','Salesorderoutstandingbyitem','106','5',0,'soreport/SalesOrderOutstandingByItem','0','',75,1,'icon-active.png','EN'),(294,'APBANKRE','BankReconciliation','88','1',0,'BankReconciliation','0','',57,1,'icon-active.png','EN'),(295,'WCQCNTR','WaqafCenter','108','7',0,'waqafsetup/waqaflist','0','',61,1,'icon-active.png','EN'),(297,'WKFCAL','wakafCalculation','278','7',0,'wakafSetup/newwakaf','0','',11,1,'icon-active.png','EN'),(298,'WKFLST','wakafList','109','7',0,'wakafSetup/wakafList','0','',81,1,'icon-active.png','EN'),(299,'APDRNOTE','PurchaseDebitNoteEdit','124','3',0,'aptransaction/editDebitNote','0','',100,0,'icon-transaction.png','EN'),(302,'GLTRYECL','YearEndClose','150','1',0,'Gltransaction/YearEndClose','0','0',90,1,'icon-active.png','EN'),(304,'LOGRPT','LogReport','12','9',0,'logreport','0','0',5,1,'icon-log.png','EN'),(305,'USRGD','UserGuide','0','0',0,'userguide','0','0',1000,1,'iconuserguide.png','EN'),(306,'APTRETCR','EditCreditNote','124','3',0,'aptransaction/editCreditNote/19','0','0',55,0,'i-film.png','EN'),(307,'APTRPYIE','EditOtherPaymentWithItem','124','3',0,'othersPayment/editpaywithitem','0','0',70,0,'i-film.png','EN'),(308,'APTRPYOE','EditOtherPaymentWithoutItem','124','3',0,'othersPayment/editpaywithoutitem','0','0',71,0,'i-film.png','EN'),(309,'UMACCSS','Useraccess','12','9',0,'admin/user_access','0','0',3,0,'i-film.png','EN'),(310,'ADMMENU','Menumaster','12','9',0,'admin/menumaster','0','0',30,0,'i-film.png','EN'),(311,'ARTRINED','EditDirectSaleInvoice','131','2',0,'artransaction/editDirectSaleInvoice','0','0',20,0,'i-film.png','EN'),(312,'AREDSLDR','EditSalesDebitNote','131','2',0,'artransaction/editSaleDebitNote','0','0',50,0,'i-film.png','EN'),(313,'AREDCR','EditSalesCreditNote','131','2',0,'artransaction/editSaleCreditNote','0','0',50,0,'i-film.png','EN'),(314,'ARPAYEDT','EditPayment','131','2',0,'artransaction/editReceivePayment','0','0',70,0,'i-film.png','EN'),(316,'ARNWCUST','NewCustomer','86','2',0,'customerSetup/CustomerNew','0','0',70,0,'i-film.png','EN'),(317,'ARSHIP2L','ShiptoList','86','2',0,'customerSetup/shiptolist','0','0',40,0,'i-film.png','EN'),(318,'ARSHIP2N','NewShipto','86','2',0,'CustomerSetup/shiptoNew','0','0',42,0,'i-film.png','EN'),(319,'INEDITEM','EditItem','91','4',0,'icsetting/item_id','0','0',40,0,'i-film.png','EN'),(320,'INNWITEM','NewItem','91','4',0,'icsetting/itemNew','0','0',40,0,'i-film.png','EN'),(321,'GST03','gst03','103','6',0,'gst03','0','0',83,1,'icon-active.png','EN'),(322,'ARCUSTAG','CustomerAging','89','2',0,'arreports/customerAging','0','0',30,1,'icon-active.png','EN'),(323,'GSTRPT01','gstReport','103','6',0,'gstReport','0','0',81,1,'icon-active.png','EN'),(325,'APNEWSUP','NewSupplier','85','3',0,'supplier/SupplierNew','0','0',50,0,'i-film.png','EN'),(326,'APNWSHP2','SupplierShipto','85','3',0,'supplier/shiptoNew','0','0',53,0,'i-film.png','EN'),(327,'ItemDetR','Itemdetails','92','4',0,'icsetting/ItemDetails','0','0',6,1,'icon-active.png','EN'),(328,'UMCONVNW','UMConversion','51','8',0,'purchasesetting/umconversion','0','0',70,0,'i-film.png','EN'),(330,'PUPRRPT','purchasePricingReport','52','5',0,'purchasepricing/report','0',NULL,5,1,'icon-active.png','EN'),(332,'ARCASH','CashSale','131','2',0,'arTransaction/newcashsale','0','0',25,1,'icon-active.png','EN'),(337,'PURCNCL','purchaseOrderCancel','52','8',0,'purchaseReports/poCancelList','0','0',10,1,'icon-active.png','EN'),(338,'PURPRCAD','purchasePricingAdd','50','8',0,'purchasePricing/add','0','0',56,0,'i-film','EN'),(340,'ARCASHSC','CashSalesConfirm','131','2',0,'artransaction/cashsalePost','0','0',26,1,'icon-active.png','EN'),(341,'ARCSHS','CashSalesRpt','89','2',0,'arreports/cashsalelist','0','0',31,1,'icon-active.png','EN'),(344,'USRADD','usermasterAdd','12','9',0,'admin/usermaster','0','0',3,0,'i-film','EN'),(345,'LOCEDT','locationedit','90','4',0,'ItemSetup/location','0','0',72,0,'i-film','EN'),(346,'COMPSTP','compsetup','93','10',0,'setting/companysetup','0','0',6,0,'i-film','EN'),(347,'PURRCVCA','purchaseReceiveCancel','52','8',0,'receiveItems/receivecancel','0','0',9,1,'icon-active.png','EN'),(348,'ShipToST','shiptosetup','5','1',0,'setting/shiptoList','0','0',79,1,'icon-ship.png','EN'),(351,'BACKUP','backup','12','9',0,'backup','0','0',6,1,'icon-backup.png','EN'),(353,'OTRPAY','otherpaymentconfirm','150','1',0,'gltransaction/otherpaymentConfirm','0','0',57,1,'icon-active.png','EN'),(354,'OTHRCV','othersReceive','150','1',0,'gltransaction/newotherreceive','0','0',58,1,'icon-active.png','EN'),(355,'OTRCVCON','othersReceiveConfirm','150','1',0,'gltransaction/otherreceiveConfirm','0','0',59,1,'icon-active.png','EN'),(356,'OTRCVLST','othersReceiveList','88','1',0,'glreports/othersreceiveList','0','0',71,1,'icon-active.png','EN'),(357,'GSBADRLF','baddebtrelief','151','6',0,'gstReport/badDebtRelief','0','0',11,1,'icon-active.png','EN'),(358,'BADBTRLC','baddebtreliefcon','151','6',0,'gstReport/badDebtReliefConfirm','0','0',12,1,'icon-active.png','EN'),(359,'GSBADBTR','baddebtrecover','151','6',0,'gstreport/badDebtRecover','0','0',13,1,'icon-active.png','EN'),(360,'BDEBRCCO','baddebtrecovercon','151','6',0,'gstreport/DebtRecoverConfirm','0','0',14,1,'icon-active.png','EN'),(361,'BDRETRPT','baddebtreliefrpt','103','6',0,'#','0','0',85,1,'i-film','EN'),(362,'BDRCVRPT','baddebtrecoverrpt','103','6',0,'#','0','0',86,1,'i-film','EN'),(365,'PURUOMLS','UMConversionList','51','8',0,'icsetting/umconversionlist','0','0',52,1,'icon-active.png','EN'),(368,'GLBNKRCL','bankreconlist','88','1',0,'bankreconciliation/concilelist','0','0',58,1,'icon-active.png','EN'),(369,'IVUNTMSR','unitmeasures','91','4',1,'icsetting/unitmeasurelist','0',NULL,71,1,'icon-active.png','EN'),(370,'TRSCSUMM','transactionsummary','88','1',0,'glreports/transactionSummaryList','0','0',72,1,'icon-active.png','EN'),(371,'GLOPNBAL','glopeningbalance','46','1',0,'glsetting/openingBalance','0','0',61,1,'icon-active.png','EN'),(372,'OPNBALIN','openbalanceinventory','91','4',0,'inventory/addinventory','0','0',26,1,'icon-active.png','EN'),(373,'GLUNPRES','unpresentSetup','46','1',0,'bankreconciliation/unpresented_list','0','0',62,1,'icon-active.png','EN'),(374,'updversi','updversion','12','9',0,'admin/spsversion','0','0',110,1,'icon-license.png','EN'),(375,'upgraden','upgradenouser','12','9',0,'admin/updatekey','0','0',111,1,'icon-version.png','EN'),(376,'GTSJNL','gstjournal','151','6',0,'gltransaction/gstjournal','0',NULL,15,1,'icon-active.png','EN'),(378,'GSTJCNF','gstjournalconfirm','151','6',0,'gltransaction/gstjournalconfirm','0',NULL,16,1,'icon-active.png','EN'),(379,'GSTRTSUM','gstReportSummary','103','6',0,'gstReport/gstReportSummary','0','0',82,1,'icon-active.png','EN'),(380,'GST03SUM','gst03Summary','103','6',0,'gst03/gst03Summary','0','0',84,1,'icon-active.png','EN'),(381,'SUPBDRLF','supplierbadDebtrelief','151','6',0,'gstreport/supplierbadDebtrelief','0',NULL,17,1,'icon-active.png','EN'),(382,'SPBDRLC','suppbadDebtreliefconfirm','151','6',0,'gstreport/suppbadDebtreliefconfirm','0',NULL,18,1,'icon-active.png','EN'),(383,'SBDEBRCV','suppbadDebtRecover','151','6',0,'gstreport/suppbadDebtRecover','0',NULL,19,1,'icon-active.png','EN'),(384,'SPBDRCNF','suppbadDebtRecoverConfirm','151','6',0,'gstreport/suppDebtRecoverConfirm','0',NULL,20,1,'icon-active.png','EN'),(386,'GSPRJNW','ProjectNew','156','0',0,'project/ProjectSetup','0','ALL',50,0,'icon-project.png','EN'),(387,'GSTTXMP','gsttaxmapping','102','6',0,'gstsetting/GSTtaxMapping','0',NULL,33,1,'icon-active.png','EN'),(389,'ARHISTCU','HistoricalCustomerInvoice','86','2',0,'historicalinvoice/historicalCustomerInvoice','0',NULL,10,1,'icon-active.png','EN'),(390,'APHISTSU','HistoricalSupplierInvoice','85','3',0,'historicalinvoice/HistoricalSupplierInvoice','0',NULL,15,1,'icon-active.png','EN');
/*!40000 ALTER TABLE `_sys_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_sys_um`
--

DROP TABLE IF EXISTS `_sys_um`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_sys_um` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(10) DEFAULT NULL,
  `desc` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sys_um`
--

LOCK TABLES `_sys_um` WRITE;
/*!40000 ALTER TABLE `_sys_um` DISABLE KEYS */;
/*!40000 ALTER TABLE `_sys_um` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_sys_um_conv`
--

DROP TABLE IF EXISTS `_sys_um_conv`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_sys_um_conv` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `itemID` int(11) DEFAULT NULL,
  `from_um` int(11) DEFAULT NULL,
  `to_um` int(11) DEFAULT NULL,
  `unitm` decimal(10,5) DEFAULT NULL,
  `factor` decimal(10,5) DEFAULT NULL,
  `create_by` varchar(50) DEFAULT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified_by` varchar(50) DEFAULT NULL,
  `modified_dt` datetime DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sys_um_conv`
--

LOCK TABLES `_sys_um_conv` WRITE;
/*!40000 ALTER TABLE `_sys_um_conv` DISABLE KEYS */;
/*!40000 ALTER TABLE `_sys_um_conv` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `_sys_um_conv_bak`
--

DROP TABLE IF EXISTS `_sys_um_conv_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `_sys_um_conv_bak` (
  `fldid` int(11) NOT NULL DEFAULT '0',
  `companyID` int(11) NOT NULL,
  `itemID` int(11) DEFAULT NULL,
  `from_um` int(11) DEFAULT NULL,
  `to_um` int(11) DEFAULT NULL,
  `unitm` decimal(10,5) DEFAULT NULL,
  `factor` decimal(10,5) DEFAULT NULL,
  `create_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `modified_dt` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `_sys_um_conv_bak`
--

LOCK TABLES `_sys_um_conv_bak` WRITE;
/*!40000 ALTER TABLE `_sys_um_conv_bak` DISABLE KEYS */;
/*!40000 ALTER TABLE `_sys_um_conv_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `acount_type`
--

DROP TABLE IF EXISTS `acount_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `acount_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `accountTypeName` varchar(64) CHARACTER SET utf8 NOT NULL,
  `createdBy` int(11) NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `acount_type`
--

LOCK TABLES `acount_type` WRITE;
/*!40000 ALTER TABLE `acount_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `acount_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `chat`
--

DROP TABLE IF EXISTS `chat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chat` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `userID` int(11) NOT NULL,
  `userType` int(2) NOT NULL COMMENT '1=user,2=admin',
  `message` text NOT NULL,
  `sent` datetime NOT NULL,
  `url` varchar(128) NOT NULL,
  `ip` varchar(32) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `to` (`userID`),
  KEY `from` (`userType`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chat`
--

LOCK TABLES `chat` WRITE;
/*!40000 ALTER TABLE `chat` DISABLE KEYS */;
/*!40000 ALTER TABLE `chat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `chat_message`
--

DROP TABLE IF EXISTS `chat_message`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chat_message` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `sessionID` int(11) NOT NULL,
  `msgFrom` smallint(1) NOT NULL COMMENT '0 = admin, 1 = user',
  `message` varchar(128) NOT NULL,
  `status` smallint(1) NOT NULL DEFAULT '0' COMMENT '1= read, 0 = non read',
  `msgTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `session` (`sessionID`)
) ENGINE=InnoDB AUTO_INCREMENT=612 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chat_message`
--

LOCK TABLES `chat_message` WRITE;
/*!40000 ALTER TABLE `chat_message` DISABLE KEYS */;
INSERT INTO `chat_message` VALUES (313,40,1,'Yes',1,'2015-12-08 11:30:13'),(314,40,0,'no',0,'2015-12-08 11:30:16'),(315,41,1,'test1',1,'2015-12-08 11:31:52'),(316,40,1,'issaaaa....',1,'2015-12-08 11:31:18'),(317,40,0,'ye ada apa',0,'2015-12-08 11:31:27'),(318,40,1,'ada masalah',1,'2015-12-08 11:31:37'),(319,39,0,'yer incik',0,'2015-12-08 11:31:57'),(320,39,0,'ada kaa',0,'2015-12-08 11:32:01'),(321,39,0,'ke tara ada',0,'2015-12-08 11:32:07'),(322,40,0,'yee',0,'2015-12-08 11:32:30'),(323,40,1,'new ',1,'2015-12-08 11:32:54'),(324,40,0,'yes',0,'2015-12-08 11:33:01'),(325,40,1,'apa',1,'2015-12-08 11:33:06'),(326,40,1,'hello apa kabar',1,'2015-12-08 11:33:49'),(327,40,0,'kabar baik',0,'2015-12-08 11:34:02'),(328,40,1,'nak tanya',1,'2015-12-08 11:34:09'),(329,40,1,'salam',1,'2015-12-08 11:35:04'),(330,40,0,'assalam',0,'2015-12-08 11:35:14'),(331,40,1,'may i',1,'2015-12-08 11:35:29'),(332,40,0,'????',0,'2015-12-08 11:35:39'),(333,40,1,'sent to admin',1,'2015-12-08 11:35:48'),(334,40,0,'hello',0,'2015-12-08 11:36:00'),(335,40,1,'why',1,'2015-12-08 11:36:07'),(336,40,0,'yes',0,'2015-12-08 11:36:10'),(337,40,1,'apo',1,'2015-12-08 11:36:14'),(338,40,0,'???',0,'2015-12-08 11:36:28'),(339,40,1,'apo',1,'2015-12-08 11:36:32'),(340,40,0,'???',0,'2015-12-08 11:36:37'),(341,40,1,'apo',1,'2015-12-08 11:36:47'),(342,40,1,'hello',1,'2015-12-08 11:36:49'),(343,40,1,'hello',1,'2015-12-08 11:36:52'),(344,40,0,'??',0,'2015-12-08 11:36:56'),(345,40,1,'tes',1,'2015-12-08 11:42:37'),(346,40,1,'yes',1,'2015-12-08 12:10:42'),(347,40,0,'please',0,'2015-12-08 12:10:47'),(348,40,1,'hello',1,'2015-12-08 12:10:52'),(349,40,0,'aaaa',0,'2015-12-08 12:10:57'),(350,40,1,'can',1,'2015-12-08 12:11:02'),(351,41,1,'a',1,'2015-12-09 01:21:48'),(352,41,0,'b',0,'2015-12-09 01:22:04'),(353,41,1,'c',1,'2015-12-09 01:22:18'),(354,41,0,'d',0,'2015-12-09 01:22:22'),(355,41,1,'e',1,'2015-12-09 01:22:33'),(356,41,1,'f',1,'2015-12-09 01:22:38'),(357,41,0,'g',0,'2015-12-09 01:22:52'),(358,41,0,'h',0,'2015-12-09 01:22:55'),(359,41,1,'i',1,'2015-12-09 01:23:08'),(360,41,1,'j',1,'2015-12-09 01:23:08'),(361,41,0,'k',0,'2015-12-09 01:23:10'),(362,41,0,'l',0,'2015-12-09 01:23:13'),(363,41,1,'m',1,'2015-12-09 01:23:23'),(364,41,1,'s d',1,'2015-12-09 01:23:23'),(365,41,1,'ssd',1,'2015-12-09 01:23:23'),(366,41,1,'sd',1,'2015-12-09 01:23:23'),(367,41,1,'hello',1,'2015-12-09 01:24:03'),(368,41,0,'a',0,'2015-12-09 01:24:41'),(369,41,1,'b',1,'2015-12-09 01:24:48'),(370,41,0,'c',0,'2015-12-09 01:24:51'),(371,41,1,'d',1,'2015-12-09 01:24:58'),(372,41,0,'e',0,'2015-12-09 01:25:04'),(373,41,0,'f',0,'2015-12-09 01:25:05'),(374,41,1,'f',1,'2015-12-09 01:25:08'),(375,41,1,'g',1,'2015-12-09 01:25:13'),(376,41,0,'h',0,'2015-12-09 01:25:19'),(377,41,1,'i',1,'2015-12-09 01:25:23'),(378,41,0,'l',0,'2015-12-09 01:25:25'),(379,41,0,'m',0,'2015-12-09 01:25:26'),(380,41,1,'j',1,'2015-12-09 01:25:33'),(381,41,0,'d',0,'2015-12-09 01:25:31'),(382,41,1,'k',1,'2015-12-09 01:25:33'),(383,41,1,'1',1,'2015-12-09 01:26:58'),(384,41,0,'2',0,'2015-12-09 01:27:02'),(385,41,0,'3',0,'2015-12-09 01:27:10'),(386,41,0,'4',0,'2015-12-09 01:27:12'),(387,41,0,'5',0,'2015-12-09 01:27:13'),(388,41,0,'6',0,'2015-12-09 01:27:14'),(389,41,1,'7',1,'2015-12-09 01:27:18'),(390,41,1,'8',1,'2015-12-09 01:27:18'),(391,41,1,'9',1,'2015-12-09 01:27:23'),(392,41,1,'10',1,'2015-12-09 01:27:23'),(393,41,1,'11',1,'2015-12-09 01:27:23'),(394,41,1,'12',1,'2015-12-09 01:27:23'),(395,41,0,'13',0,'2015-12-09 01:27:43'),(396,41,1,'14',1,'2015-12-09 01:27:48'),(397,41,1,'15',1,'2015-12-09 01:27:58'),(398,41,1,'1',1,'2015-12-09 01:29:33'),(399,41,0,'2',0,'2015-12-09 01:29:39'),(400,41,1,'3',1,'2015-12-09 01:29:48'),(401,41,1,'4',1,'2015-12-09 01:29:48'),(402,41,1,'5',1,'2015-12-09 01:29:48'),(403,41,1,'6',1,'2015-12-09 01:29:48'),(404,41,1,'7',1,'2015-12-09 01:29:48'),(405,40,1,'Hello.. Boleh bantu??',1,'2015-12-09 02:15:30'),(406,40,0,'ye..',0,'2015-12-09 02:15:30'),(407,40,1,'hello',1,'2015-12-10 08:26:50'),(408,41,1,'hello.. sy nak tanya',1,'2015-12-10 08:26:12'),(409,41,0,'ye saya',0,'2015-12-10 08:26:24'),(410,41,1,'ok bai',1,'2015-12-10 08:26:32'),(411,41,0,'asa',0,'2015-12-14 02:50:38'),(412,41,1,'asa',1,'2015-12-14 02:51:52'),(413,41,0,'asa',0,'2015-12-14 02:52:01'),(414,41,0,'asa',0,'2015-12-14 02:52:08'),(415,41,0,'asa',0,'2015-12-14 05:10:19'),(416,40,0,'asa',0,'2015-12-14 05:10:22'),(417,41,1,'hi',1,'2015-12-14 05:18:17'),(418,41,1,'hi',1,'2015-12-14 09:23:22'),(419,41,1,'hgkhgkl\'',1,'2015-12-14 09:23:22'),(420,41,0,'as',0,'2015-12-14 09:23:40'),(421,41,0,'asa',0,'2015-12-14 09:46:39'),(422,40,0,'asa',0,'2015-12-14 09:46:42'),(423,40,0,'sasa',0,'2015-12-14 09:46:44'),(424,41,0,'wqehda',0,'2015-12-14 09:46:48'),(425,41,0,'as',0,'2015-12-15 01:48:13'),(426,40,0,'asas',0,'2015-12-15 01:48:19'),(427,42,1,'hello. this is akmal',1,'2015-12-15 03:09:01'),(428,41,1,'soalan dari admin',1,'2015-12-15 03:08:35'),(429,42,0,'hello, this is admin',0,'2015-12-15 03:09:10'),(430,41,0,'admin = demo of demo',0,'2015-12-15 03:09:31'),(431,41,1,'salam',1,'2015-12-15 03:23:23'),(432,41,0,'w.salam',0,'2015-12-15 03:23:45'),(433,41,1,'ok',1,'2015-12-15 03:24:09'),(434,41,0,'not ok',0,'2015-12-15 03:24:27'),(435,41,1,'why',1,'2015-12-15 03:24:34'),(436,41,0,'I don\'t know',0,'2015-12-15 03:24:43'),(437,41,1,'try to find out',1,'2015-12-15 03:24:54'),(438,41,0,'sure will',0,'2015-12-15 03:25:02'),(439,41,1,'..',1,'2015-12-15 03:25:14'),(440,40,0,'hello',0,'2015-12-15 03:58:50'),(441,41,0,'hello',0,'2015-12-15 03:59:07'),(442,41,1,'asdasd',1,'2015-12-15 04:57:24'),(443,41,0,'hello',0,'2015-12-15 04:57:34'),(444,41,0,'wassap',0,'2015-12-15 04:57:36'),(445,41,0,'yo',0,'2015-12-15 04:57:40'),(446,41,0,'yo',0,'2015-12-15 04:57:40'),(447,41,0,'yo',0,'2015-12-15 04:57:41'),(448,41,1,'testing',1,'2015-12-15 08:41:22'),(449,41,0,'hi',0,'2015-12-15 08:41:41'),(450,41,1,'hello world',1,'2015-12-15 08:42:03'),(451,41,1,'nothing to write',1,'2015-12-15 08:42:25'),(452,41,1,'yes yes no no',1,'2015-12-15 08:42:41'),(453,41,1,'nothing to write',1,'2015-12-15 08:42:48'),(454,41,1,'asdf',1,'2015-12-15 08:42:50'),(455,41,1,'asdfasdf',1,'2015-12-15 08:42:50'),(456,41,1,'asdfasdf',1,'2015-12-15 08:42:52'),(457,41,1,'asdfsadf',1,'2015-12-15 08:42:53'),(458,41,1,'asdfasdf',1,'2015-12-15 08:42:54'),(459,41,1,'1',1,'2015-12-15 08:43:03'),(460,41,1,'2',1,'2015-12-15 08:43:03'),(461,41,1,'3',1,'2015-12-15 08:43:03'),(462,41,1,'4',1,'2015-12-15 08:43:03'),(463,41,1,'5',1,'2015-12-15 08:43:05'),(464,41,1,'6',1,'2015-12-15 08:43:05'),(465,41,1,'7',1,'2015-12-15 08:43:05'),(466,41,1,'1',1,'2015-12-15 08:44:35'),(467,41,1,'2',1,'2015-12-15 08:44:35'),(468,41,1,'3',1,'2015-12-15 08:44:35'),(469,41,1,'4',1,'2015-12-15 08:44:37'),(470,41,1,'5',1,'2015-12-15 08:44:37'),(471,41,1,'6',1,'2015-12-15 08:44:37'),(472,41,1,'7',1,'2015-12-15 08:44:39'),(473,41,1,'dfasdfasdf',1,'2015-12-15 08:44:51'),(474,41,1,'noyhinh',1,'2015-12-15 08:44:59'),(475,41,1,';ohlkjhkljh;',1,'2015-12-15 08:45:27'),(476,42,1,'soalan cepumas',1,'2015-12-15 11:27:59'),(477,42,0,'ye',0,'2015-12-15 11:28:02'),(478,42,0,'tak de duplicate',0,'2015-12-15 11:28:25'),(479,42,1,'ye ke',1,'2015-12-15 11:28:39'),(480,42,0,'cubalah',0,'2015-12-15 11:28:46'),(481,42,1,'moh kita',1,'2015-12-15 11:28:57'),(482,42,0,'alahai',0,'2015-12-15 11:29:08'),(483,42,0,'sfgdsfgh',0,'2015-12-15 11:30:25'),(484,41,0,'gfhjkghkj',0,'2015-12-15 11:30:29'),(485,41,0,'ni akmal',0,'2015-12-15 11:30:42'),(486,42,0,'ni akmal',0,'2015-12-15 11:30:49'),(487,41,0,'ni demo',0,'2015-12-15 11:30:57'),(488,42,1,'nak makan apa',1,'2015-12-15 11:31:09'),(489,41,1,'hai',1,'2015-12-16 08:40:56'),(490,41,0,'asdasdasd',0,'2015-12-16 08:41:03'),(491,41,0,'reasasdasda',0,'2015-12-16 08:41:08'),(492,41,1,'asdsadasdasd',1,'2015-12-17 07:04:12'),(493,41,0,'asdasd',0,'2015-12-17 07:04:15'),(494,41,1,'1',1,'2015-12-28 06:43:13'),(495,43,1,'sdgdfsg',1,'2015-12-28 07:30:02'),(496,41,1,'jhsds',1,'2015-12-28 06:43:13'),(497,41,1,'asdasdasd',1,'2015-12-28 06:43:13'),(498,41,0,'hi',0,'2015-12-28 06:43:22'),(499,41,0,'1',0,'2015-12-28 06:43:36'),(500,41,1,'2',1,'2015-12-28 06:43:39'),(501,41,0,'3',0,'2015-12-28 06:43:42'),(502,41,0,'4',0,'2015-12-28 06:43:43'),(503,41,0,'5',0,'2015-12-28 06:43:46'),(504,41,1,'56',1,'2015-12-28 06:43:47'),(505,41,1,'7',1,'2015-12-28 06:43:49'),(506,41,0,'5',0,'2015-12-28 06:43:49'),(507,41,0,'34',0,'2015-12-28 06:43:50'),(508,41,1,'8',1,'2015-12-28 06:43:51'),(509,41,1,'9',1,'2015-12-28 06:43:53'),(510,41,0,'343',0,'2015-12-28 06:43:53'),(511,41,1,'10',1,'2015-12-28 06:43:55'),(512,41,0,'34',0,'2015-12-28 06:43:53'),(513,41,0,'3',0,'2015-12-28 06:43:56'),(514,41,0,'34',0,'2015-12-28 06:43:57'),(515,41,1,'1',1,'2015-12-28 06:43:59'),(516,41,1,'2',1,'2015-12-28 06:43:59'),(517,41,0,'34',0,'2015-12-28 06:43:59'),(518,41,0,'34',0,'2015-12-28 06:43:59'),(519,41,1,'3',1,'2015-12-28 06:44:01'),(520,41,1,'4',1,'2015-12-28 06:44:01'),(521,41,1,'5',1,'2015-12-28 06:44:03'),(522,41,1,'6',1,'2015-12-28 06:44:03'),(523,41,1,'7',1,'2015-12-28 06:44:05'),(524,41,1,'8',1,'2015-12-28 06:44:05'),(525,41,1,'9',1,'2015-12-28 06:44:05'),(526,41,0,'343',0,'2015-12-28 06:44:07'),(527,41,0,'34',0,'2015-12-28 06:44:08'),(528,41,0,'zxz',0,'2015-12-28 06:55:49'),(529,41,1,'1',1,'2015-12-28 06:56:05'),(530,41,0,'ok',0,'2015-12-28 06:56:40'),(531,41,1,'1',1,'2015-12-28 06:56:46'),(532,41,1,'2',1,'2015-12-28 06:56:46'),(533,41,1,'1',1,'2015-12-28 06:56:50'),(534,41,1,'2',1,'2015-12-28 06:56:50'),(535,41,1,'3',1,'2015-12-28 06:56:52'),(536,41,1,'4',1,'2015-12-28 06:56:52'),(537,41,1,'5',1,'2015-12-28 06:56:52'),(538,41,1,'6',1,'2015-12-28 06:56:52'),(539,41,1,'7',1,'2015-12-28 06:56:52'),(540,41,1,'8',1,'2015-12-28 06:56:54'),(541,41,1,'9',1,'2015-12-28 06:56:54'),(542,41,1,'0',1,'2015-12-28 06:56:54'),(543,41,1,'hello',1,'2015-12-28 06:58:05'),(544,41,0,'OK',0,'2015-12-28 06:58:08'),(545,41,1,'1',1,'2015-12-28 06:58:15'),(546,41,1,'2',1,'2015-12-28 06:58:15'),(547,41,1,'3',1,'2015-12-28 06:58:15'),(548,41,1,'4',1,'2015-12-28 06:58:15'),(549,41,1,'5',1,'2015-12-28 06:58:15'),(550,41,1,'6',1,'2015-12-28 06:58:15'),(551,41,1,'7',1,'2015-12-28 06:58:17'),(552,41,1,'8',1,'2015-12-28 06:58:17'),(553,41,1,'9',1,'2015-12-28 06:58:17'),(554,41,1,'0',1,'2015-12-28 06:58:17'),(555,41,0,'1',0,'2015-12-28 06:59:18'),(556,41,0,'1',0,'2015-12-28 06:59:23'),(557,41,0,'2',0,'2015-12-28 06:59:23'),(558,41,0,'4',0,'2015-12-28 06:59:25'),(559,41,0,'45',0,'2015-12-28 06:59:25'),(560,41,0,'7',0,'2015-12-28 06:59:26'),(561,41,0,'9',0,'2015-12-28 06:59:27'),(562,41,1,'hi',1,'2015-12-28 07:11:45'),(563,41,1,'hi',1,'2015-12-28 07:12:53'),(564,41,0,'1',0,'2015-12-28 07:13:47'),(565,41,0,'2',0,'2015-12-28 07:13:47'),(566,41,0,'33',0,'2015-12-28 07:13:48'),(567,41,0,'4',0,'2015-12-28 07:13:49'),(568,41,0,'44',0,'2015-12-28 07:13:49'),(569,41,0,'445',0,'2015-12-28 07:13:49'),(570,41,0,'6',0,'2015-12-28 07:13:49'),(571,41,0,'7',0,'2015-12-28 07:13:51'),(572,41,0,'7',0,'2015-12-28 07:13:51'),(573,41,0,'7',0,'2015-12-28 07:13:52'),(574,41,0,'7',0,'2015-12-28 07:13:52'),(575,41,1,'1',1,'2015-12-28 07:14:48'),(576,41,0,'1',0,'2015-12-28 07:14:54'),(577,41,0,'2',0,'2015-12-28 07:15:14'),(578,41,0,'5',0,'2015-12-28 07:15:16'),(579,41,0,'6',0,'2015-12-28 07:15:16'),(580,41,0,'8',0,'2015-12-28 07:15:17'),(581,41,0,'0',0,'2015-12-28 07:15:18'),(582,41,0,'9',0,'2015-12-28 07:15:20'),(583,41,0,'7',0,'2015-12-28 07:15:21'),(584,41,0,'6',0,'2015-12-28 07:15:21'),(585,41,0,'5',0,'2015-12-28 07:15:22'),(586,41,0,'4',0,'2015-12-28 07:15:22'),(587,41,0,'3',0,'2015-12-28 07:15:23'),(588,41,0,'1',0,'2015-12-28 07:15:24'),(589,41,0,'dssssssssss',0,'2015-12-28 07:21:20'),(590,41,0,'1',0,'2015-12-28 07:21:29'),(591,41,0,'3',0,'2015-12-28 07:21:29'),(592,41,0,'4',0,'2015-12-28 07:21:30'),(593,41,0,'6',0,'2015-12-28 07:21:30'),(594,41,0,'7',0,'2015-12-28 07:21:31'),(595,41,0,'8',0,'2015-12-28 07:21:31'),(596,41,0,'9',0,'2015-12-28 07:21:32'),(597,41,0,'pppppp',0,'2015-12-28 07:24:14'),(598,41,0,'1',0,'2015-12-28 07:24:26'),(599,41,0,'2',0,'2015-12-28 07:24:26'),(600,41,0,'23',0,'2015-12-28 07:24:27'),(601,41,0,'4',0,'2015-12-28 07:24:27'),(602,41,0,'5',0,'2015-12-28 07:24:28'),(603,41,0,'6',0,'2015-12-28 07:24:28'),(604,41,0,'7',0,'2015-12-28 07:24:29'),(605,41,0,'8',0,'2015-12-28 07:24:29'),(606,41,0,'9',0,'2015-12-28 07:24:30'),(607,41,1,'hi',1,'2015-12-28 07:46:33'),(608,41,0,'hi',0,'2015-12-28 07:47:04'),(609,41,1,'1',1,'2015-12-28 08:02:39'),(610,41,1,'S',1,'2015-12-28 08:22:57'),(611,41,1,'hi',1,'2015-12-30 05:05:24');
/*!40000 ALTER TABLE `chat_message` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `chat_session`
--

DROP TABLE IF EXISTS `chat_session`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chat_session` (
  `id` int(5) unsigned NOT NULL AUTO_INCREMENT,
  `userID` int(11) NOT NULL,
  `question` varchar(128) NOT NULL,
  `adminID` int(11) DEFAULT NULL,
  `startTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `status` int(11) NOT NULL COMMENT '0=new,1=attending,2=closed',
  `userType` int(11) NOT NULL COMMENT '0=user,1=admin',
  `ip` varchar(64) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `userID` (`userID`)
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chat_session`
--

LOCK TABLES `chat_session` WRITE;
/*!40000 ALTER TABLE `chat_session` DISABLE KEYS */;
INSERT INTO `chat_session` VALUES (40,93,'hello',92,'2015-12-08 11:30:03',2,0,'192.228.169.202'),(41,1,'hi',1,'2015-12-08 11:30:51',1,0,'192.168.1.101'),(42,84,'soalan cepumas',1,'2015-12-15 03:06:37',2,0,'192.168.1.123'),(43,106,'sdgdfsg',1,'2015-12-28 05:08:23',2,0,'192.168.1.140');
/*!40000 ALTER TABLE `chat_session` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ci_sessions`
--

DROP TABLE IF EXISTS `ci_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ci_sessions` (
  `session_id` varchar(40) NOT NULL DEFAULT '0',
  `ip_address` varchar(16) NOT NULL DEFAULT '0',
  `user_agent` varchar(50) NOT NULL,
  `last_activity` int(10) unsigned NOT NULL DEFAULT '0',
  `user_data` text NOT NULL,
  PRIMARY KEY (`session_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ci_sessions`
--

LOCK TABLES `ci_sessions` WRITE;
/*!40000 ALTER TABLE `ci_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `ci_sessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ci_users`
--

DROP TABLE IF EXISTS `ci_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ci_users` (
  `user_id` int(11) NOT NULL AUTO_INCREMENT,
  `user_name` varchar(255) NOT NULL,
  `user_email` varchar(255) NOT NULL,
  `user_password` varchar(255) NOT NULL,
  `registered_date` datetime NOT NULL,
  `status` int(5) NOT NULL,
  `online` int(5) NOT NULL,
  PRIMARY KEY (`user_id`,`user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ci_users`
--

LOCK TABLES `ci_users` WRITE;
/*!40000 ALTER TABLE `ci_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `ci_users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_acc_det`
--

DROP TABLE IF EXISTS `comp_acc_det`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_acc_det` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `acctGroupID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `year` int(11) DEFAULT NULL,
  `period` varchar(2) DEFAULT NULL,
  `amountdr` double DEFAULT NULL,
  `amountcr` double DEFAULT NULL,
  `total` double DEFAULT '0',
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Index 2` (`companyID`,`acctID`,`year`,`period`)
) ENGINE=InnoDB AUTO_INCREMENT=1449 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_acc_det`
--

LOCK TABLES `comp_acc_det` WRITE;
/*!40000 ALTER TABLE `comp_acc_det` DISABLE KEYS */;
INSERT INTO `comp_acc_det` VALUES (774,1,3,32518,2015,'11',12670,10344,2326,1,'2015-11-25 19:11:31',93,'2015-11-26 02:39:31',NULL),(775,1,4,32525,2015,'11',47127,0,47127,1,'2015-11-25 19:11:31',1,'2015-11-26 02:39:31',NULL),(776,1,4,32522,2015,'11',100,0,100,1,'2015-11-25 19:11:31',1,'2015-11-26 02:39:31',NULL),(777,1,3,32515,2015,'11',0,2260,-2260,1,'2015-11-25 19:11:13',1,'2015-11-26 02:50:13',NULL),(778,1,10,32530,2015,'11',200,0,200,1,'2015-11-25 19:11:13',1,'2015-11-26 02:50:13',NULL),(779,1,10,32532,2015,'11',800,0,800,1,'2015-11-25 20:11:30',1,'2015-11-26 03:45:30',NULL),(780,1,3,32517,2015,'11',0,2880,-2880,1,'2015-11-25 20:11:06',1,'2015-11-26 03:54:06',NULL),(781,1,10,32533,2015,'11',975,0,975,1,'2015-11-25 20:11:06',1,'2015-11-26 03:54:06',NULL),(782,1,4,32523,2015,'11',100,0,100,1,'2015-11-25 21:11:49',1,'2015-11-26 04:18:49',NULL),(783,1,3,32516,2015,'11',0,900,-900,1,'2015-11-25 23:11:47',1,'2015-11-26 06:29:47',NULL),(784,1,10,32531,2015,'11',2000,0,2000,1,'2015-11-25 23:11:47',1,'2015-11-26 06:29:47',NULL),(785,1,10,32535,2015,'11',547,0,547,1,'2015-11-25 23:11:47',1,'2015-11-26 06:29:47',NULL),(786,1,2,32506,2015,'11',2000,0,2000,1,'2015-11-25 23:11:03',93,'2015-11-26 06:36:03',NULL),(787,1,2,32510,2015,'11',1,0,1,1,'2015-11-25 23:11:03',1,'2015-11-26 06:36:03',NULL),(788,1,4,32524,2015,'11',10,0,10,1,'2015-11-25 23:11:16',1,'2015-11-26 06:37:16',NULL),(789,1,8,32527,2015,'11',3741,0,3741,1,'2015-11-26 00:11:11',1,'2015-11-26 07:24:11',NULL),(790,1,7,32526,2015,'11',0,12670,-12670,1,'2015-11-26 02:11:14',1,'2015-11-26 09:36:14',NULL),(791,1,2,32505,2015,'11',1956,0,1956,1,'2015-11-26 02:11:36',1,'2015-11-26 09:55:36',NULL),(792,1,2,32504,2015,'11',1789,0,1789,1,'2015-11-26 03:11:50',1,'2015-11-26 10:03:50',NULL),(793,1,2,32508,2015,'11',456,0,456,1,'2015-11-26 03:11:52',1,'2015-11-26 10:08:52',NULL),(794,1,2,32507,2015,'11',300,0,300,1,'2015-11-26 03:11:44',1,'2015-11-26 10:19:44',NULL),(795,1,2,32511,2015,'11',600,0,600,1,'2015-11-26 03:11:25',1,'2015-11-26 10:21:25',NULL),(796,1,2,32513,2015,'11',10,0,10,1,'2015-11-26 03:11:09',1,'2015-11-26 10:22:09',NULL),(797,1,10,32549,2015,'11',52,0,52,1,'2015-11-26 04:11:57',NULL,'2015-11-26 11:51:57',NULL),(798,1,10,32529,2015,'11',500,0,500,1,'2015-11-26 19:11:31',1,'2015-11-27 02:35:31',NULL),(799,1,10,32536,2015,'11',700,0,700,1,'2015-11-26 19:11:56',1,'2015-11-27 02:45:56',NULL),(800,1,10,32534,2015,'11',80,0,80,1,'2015-11-26 19:11:22',1,'2015-11-27 02:47:22',NULL),(801,1,10,32542,2015,'11',20,0,20,1,'2015-11-26 19:11:51',1,'2015-11-27 02:51:51',NULL),(802,1,10,32537,2015,'11',10,0,10,1,'2015-11-26 21:11:04',1,'2015-11-27 04:29:04',NULL),(803,1,10,32540,2015,'11',40,0,40,1,'2015-11-26 23:11:14',1,'2015-11-27 06:47:14',NULL),(804,1,10,32539,2015,'11',123,0,123,1,'2015-11-26 23:11:01',1,'2015-11-27 06:48:01',NULL),(805,1,10,32541,2015,'11',985,0,985,1,'2015-11-26 23:11:19',1,'2015-11-27 06:48:19',NULL),(806,1,3,32515,2015,'2',0,100,-100,1,'2015-11-26 23:11:06',1,'2015-11-27 06:56:06',NULL),(807,1,8,32527,2015,'2',2726,0,2726,1,'2015-11-26 23:11:06',1,'2015-11-27 06:56:06',NULL),(808,1,3,32517,2010,'1',0,250,-250,1,'2015-11-27 00:11:37',NULL,'2015-11-27 07:11:37',NULL),(809,1,8,32527,2010,'1',250,0,250,1,'2015-11-27 00:11:37',NULL,'2015-11-27 07:11:37',NULL),(810,1,3,32517,2015,'2',0,2790,-2790,1,'2015-11-27 00:11:43',1,'2015-11-27 07:16:43',NULL),(811,1,3,32519,2015,'11',0,2000,-2000,1,'2015-11-27 01:11:23',1,'2015-11-27 08:32:23',NULL),(812,1,3,32519,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:49',1,'2015-11-27 08:35:49',NULL),(813,1,8,32527,2009,'1',3411,0,3411,1,'2015-11-27 01:11:49',1,'2015-11-27 08:35:49',NULL),(814,1,3,32515,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:08',1,'2015-11-27 08:36:08',NULL),(815,1,3,32516,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:19',1,'2015-11-27 08:36:19',NULL),(816,1,3,32517,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:30',1,'2015-11-27 08:36:30',NULL),(817,1,3,32518,2009,'1',0,3411,-3411,1,'2015-11-27 01:11:43',1,'2015-11-27 08:36:43',NULL),(818,1,3,32516,2015,'1',0,102773,-102773,1,'2015-11-27 02:11:59',1,'2015-11-27 09:18:59',NULL),(819,1,10,32529,2015,'1',2000,0,2000,1,'2015-11-27 02:11:59',NULL,'2015-11-27 09:18:59',NULL),(820,1,3,32519,2013,'1',0,59080,-59080,1,'2015-11-27 02:11:43',1,'2015-11-27 09:37:43',NULL),(821,1,10,32530,2013,'1',200,0,200,1,'2015-11-27 02:11:43',1,'2015-11-27 09:37:43',NULL),(822,1,10,32532,2013,'1',58880,0,58880,1,'2015-11-27 02:11:43',1,'2015-11-27 09:37:43',NULL),(823,1,3,32517,2014,'10',0,34555,-34555,1,'2015-11-27 02:11:09',NULL,'2015-11-27 09:39:09',NULL),(824,1,10,32531,2014,'10',34555,0,34555,1,'2015-11-27 02:11:09',NULL,'2015-11-27 09:39:09',NULL),(825,1,3,32515,2015,'6',0,2939,-2939,1,'2015-11-27 19:11:16',1,'2015-11-28 02:41:16',NULL),(826,1,8,32527,2015,'6',3654,0,3654,1,'2015-11-27 19:11:16',1,'2015-11-28 02:41:16',NULL),(827,1,3,32518,2015,'6',13800,8247,5553,1,'2015-11-27 19:11:18',93,'2015-11-28 02:44:18',NULL),(828,1,3,32516,2015,'6',0,1950,-1950,1,'2015-11-27 19:11:55',1,'2015-11-28 02:44:55',NULL),(829,1,3,32516,2015,'10',0,1820,-1820,1,'2015-11-27 19:11:45',1,'2015-11-28 02:55:45',NULL),(830,1,8,32527,2015,'10',4554,0,4554,1,'2015-11-27 19:11:45',1,'2015-11-28 02:55:45',NULL),(831,1,3,32517,2015,'10',0,3700,-3700,1,'2015-11-27 19:11:20',1,'2015-11-28 02:59:20',NULL),(832,1,3,32515,2014,'10',0,600,-600,1,'2015-11-27 20:11:41',NULL,'2015-11-28 03:46:41',NULL),(833,1,10,32533,2014,'10',600,0,600,1,'2015-11-27 20:11:41',NULL,'2015-11-28 03:46:41',NULL),(834,1,4,32521,2015,'11',100,0,100,1,'2015-11-27 21:11:02',1,'2015-11-28 04:49:02',NULL),(835,1,3,32514,2015,'11',0,3712,-3712,1,'2015-11-29 21:11:11',1,'2015-11-30 04:33:11',NULL),(836,1,NULL,82,2015,'11',800,0,800,1,'2015-11-29 21:11:11',NULL,'2015-11-30 04:33:11',NULL),(837,1,NULL,81,2015,'11',80,0,80,1,'2015-11-29 22:11:01',NULL,'2015-11-30 05:48:01',NULL),(838,1,NULL,0,2015,'11',70,0,70,1,'2015-11-30 01:11:44',NULL,'2015-11-30 08:13:44',NULL),(839,1,3,32515,2015,'12',15332,7278,8054,1,'2015-11-30 18:12:27',1,'2015-12-01 01:10:27',NULL),(840,1,8,32527,2015,'12',3337,0,3337,1,'2015-11-30 18:12:27',1,'2015-12-01 01:10:27',NULL),(841,1,3,32516,2015,'12',2122,6204,-4082,1,'2015-11-30 18:12:30',84,'2015-12-01 01:13:30',NULL),(842,1,3,32517,2015,'12',0,5817,-5817,1,'2015-11-30 18:12:16',1,'2015-12-01 01:14:16',NULL),(843,1,3,32519,2015,'12',800,0,800,1,'2015-11-30 19:12:26',1,'2015-12-01 02:35:26',NULL),(844,1,3,32518,2015,'12',13020,7532,5488,1,'2015-11-30 19:12:39',93,'2015-12-01 02:56:39',NULL),(845,1,7,32526,2015,'12',0,25352,-25352,1,'2015-11-30 21:12:17',1,'2015-12-01 04:43:17',NULL),(846,1,2,32508,2015,'12',36.8,0,36.8,1,'2015-11-30 22:12:12',1,'2015-12-01 05:41:12',NULL),(847,1,2,32506,2015,'12',1969,0,1969,1,'2015-11-30 22:12:43',1,'2015-12-01 05:41:43',NULL),(848,1,10,32529,2015,'12',3289,0,3289,1,'2015-12-01 21:12:03',1,'2015-12-02 04:31:03',NULL),(849,1,10,32535,2015,'12',900,0,900,1,'2015-12-01 21:12:03',1,'2015-12-02 04:31:03',NULL),(850,1,10,32532,2015,'12',1200,0,1200,1,'2015-12-01 21:12:05',92,'2015-12-02 04:36:05',NULL),(851,1,4,32522,2015,'12',102,0,102,1,'2015-12-01 22:12:27',1,'2015-12-02 05:43:27',NULL),(852,1,4,32524,2015,'12',100,0,100,1,'2015-12-01 22:12:27',1,'2015-12-02 05:43:27',NULL),(853,1,4,32521,2015,'12',100,2922,-2822,1,'2015-12-02 21:12:01',84,'2015-12-03 04:31:01',NULL),(854,1,3,32516,2015,'2',35000,2723,32277,1,'2015-12-02 22:12:51',1,'2015-12-03 05:23:51',NULL),(855,1,10,32531,2015,'2',333,0,333,1,'2015-12-02 22:12:51',NULL,'2015-12-03 05:23:51',NULL),(856,1,3,32515,2015,'1',4000,2928,1072,1,'2015-12-02 22:12:24',93,'2015-12-03 05:33:24',NULL),(857,1,3,32517,2015,'4',0,2785,-2785,1,'2015-12-02 23:12:23',1,'2015-12-03 06:08:23',NULL),(858,1,3,32518,2015,'4',14956,8895,6061,1,'2015-12-02 23:12:23',1,'2015-12-03 06:08:23',NULL),(859,1,3,32519,2015,'4',10000,0,10000,1,'2015-12-02 23:12:45',1,'2015-12-03 06:22:45',NULL),(860,1,7,32526,2015,'1',0,17660,-17660,1,'2015-12-03 00:12:00',93,'2015-12-03 07:39:00',NULL),(861,1,3,32518,2015,'1',17660,13378,4282,1,'2015-12-03 00:12:00',93,'2015-12-03 07:39:00',NULL),(862,1,7,32526,2015,'2',0,14152,-14152,1,'2015-12-03 00:12:57',1,'2015-12-03 07:59:57',NULL),(863,1,3,32518,2015,'2',14152,18072,-3920,1,'2015-12-03 00:12:57',93,'2015-12-03 07:59:57',NULL),(864,1,3,32519,2015,'1',100,0,100,1,'2015-12-03 01:12:42',NULL,'2015-12-03 08:05:42',NULL),(865,1,10,32533,2015,'1',890,0,890,1,'2015-12-03 01:12:49',1,'2015-12-03 08:06:49',NULL),(866,1,NULL,NULL,2015,'12',NULL,NULL,NULL,1,'2015-12-03 01:12:23',1,'2015-12-03 08:26:23',NULL),(867,1,NULL,0,2015,'12',1600,0,1600,1,'2015-12-03 01:12:23',1,'2015-12-03 08:26:23',NULL),(868,1,7,32526,2015,'3',0,14424,-14424,1,'2015-12-03 01:12:52',1,'2015-12-03 08:50:52',NULL),(869,1,3,32518,2015,'3',14424,8247,6177,1,'2015-12-03 01:12:52',1,'2015-12-03 08:50:52',NULL),(870,1,7,32526,2015,'4',0,14956,-14956,1,'2015-12-03 01:12:48',1,'2015-12-03 08:52:48',NULL),(871,1,7,32526,2015,'5',0,19512,-19512,1,'2015-12-03 01:12:07',1,'2015-12-03 08:55:07',NULL),(872,1,3,32518,2015,'5',19512,10513,8999,1,'2015-12-03 01:12:07',1,'2015-12-03 08:55:07',NULL),(873,1,7,32526,2015,'6',0,13800,-13800,1,'2015-12-03 02:12:25',1,'2015-12-03 09:05:25',NULL),(874,1,7,32526,2015,'7',0,14060,-14060,1,'2015-12-03 02:12:41',1,'2015-12-03 09:07:41',NULL),(875,1,3,32518,2015,'7',14060,8031,6029,1,'2015-12-03 02:12:41',1,'2015-12-03 09:07:41',NULL),(876,1,8,32527,2015,'1',5290,0,5290,1,'2015-12-03 02:12:29',93,'2015-12-03 09:10:29',NULL),(877,1,7,32526,2015,'8',0,17628,-17628,1,'2015-12-03 02:12:16',1,'2015-12-03 09:16:16',NULL),(878,1,3,32518,2015,'8',17628,12379,5249,1,'2015-12-03 02:12:16',1,'2015-12-03 09:16:16',NULL),(879,1,7,32526,2015,'9',0,14580,-14580,1,'2015-12-03 02:12:22',1,'2015-12-03 09:20:22',NULL),(880,1,3,32518,2015,'9',14580,10126,4454,1,'2015-12-03 02:12:22',1,'2015-12-03 09:20:22',NULL),(881,1,7,32526,2015,'10',0,17565,-17565,1,'2015-12-03 02:12:53',1,'2015-12-03 09:23:53',NULL),(882,1,3,32518,2015,'10',17565,8442,9123,1,'2015-12-03 02:12:53',1,'2015-12-03 09:23:53',NULL),(883,1,3,32517,2015,'1',99999,4690,95309,1,'2015-12-03 17:12:12',1,'2015-12-04 00:43:12',NULL),(884,1,10,32533,2015,'2',971,0,971,1,'2015-12-03 19:12:21',1,'2015-12-04 02:02:21',NULL),(885,1,10,32533,2015,'12',910,0,910,1,'2015-12-03 19:12:55',1,'2015-12-04 02:10:55',NULL),(886,1,3,32516,2015,'3',0,4034,-4034,1,'2015-12-03 19:12:50',1,'2015-12-04 02:11:50',NULL),(887,1,10,32533,2015,'3',989,0,989,1,'2015-12-03 19:12:50',NULL,'2015-12-04 02:11:50',NULL),(888,1,10,32533,2015,'4',870,0,870,1,'2015-12-03 19:12:27',NULL,'2015-12-04 02:12:27',NULL),(889,1,3,32516,2015,'5',0,2040,-2040,1,'2015-12-03 19:12:59',1,'2015-12-04 02:12:59',NULL),(890,1,10,32533,2015,'5',990,0,990,1,'2015-12-03 19:12:59',NULL,'2015-12-04 02:12:59',NULL),(891,1,10,32533,2015,'6',864,0,864,1,'2015-12-03 19:12:36',NULL,'2015-12-04 02:13:36',NULL),(892,1,8,32527,2015,'3',3617,0,3617,1,'2015-12-03 19:12:46',1,'2015-12-04 02:14:46',NULL),(893,1,3,32517,2015,'7',0,3860,-3860,1,'2015-12-03 19:12:16',1,'2015-12-04 02:15:16',NULL),(894,1,10,32533,2015,'7',988,0,988,1,'2015-12-03 19:12:16',NULL,'2015-12-04 02:15:16',NULL),(895,1,3,32517,2015,'8',0,6250,-6250,1,'2015-12-03 19:12:05',1,'2015-12-04 02:16:05',NULL),(896,1,10,32533,2015,'8',900,0,900,1,'2015-12-03 19:12:05',NULL,'2015-12-04 02:16:05',NULL),(897,1,3,32517,2015,'9',0,3700,-3700,1,'2015-12-03 19:12:08',1,'2015-12-04 02:19:08',NULL),(898,1,10,32533,2015,'9',985,0,985,1,'2015-12-03 19:12:08',NULL,'2015-12-04 02:19:08',NULL),(899,1,8,32527,2015,'4',3675,0,3675,1,'2015-12-03 19:12:51',1,'2015-12-04 02:19:51',NULL),(900,1,3,32515,2015,'10',0,1830,-1830,1,'2015-12-03 19:12:20',1,'2015-12-04 02:21:20',NULL),(901,1,10,32533,2015,'10',843,0,843,1,'2015-12-03 19:12:20',NULL,'2015-12-04 02:21:20',NULL),(902,1,8,32527,2015,'5',4568,0,4568,1,'2015-12-03 19:12:36',1,'2015-12-04 02:22:36',NULL),(903,1,10,32541,2015,'1',988,0,988,1,'2015-12-03 19:12:19',NULL,'2015-12-04 02:31:19',NULL),(904,1,10,32541,2015,'2',867,0,867,1,'2015-12-03 19:12:53',NULL,'2015-12-04 02:31:53',NULL),(905,1,3,32517,2015,'3',0,1828,-1828,1,'2015-12-03 19:12:28',1,'2015-12-04 02:32:28',NULL),(906,1,10,32541,2015,'3',978,0,978,1,'2015-12-03 19:12:28',NULL,'2015-12-04 02:32:28',NULL),(907,1,10,32541,2015,'4',995,0,995,1,'2015-12-03 19:12:13',NULL,'2015-12-04 02:33:13',NULL),(908,1,3,32515,2015,'5',0,1197,-1197,1,'2015-12-03 19:12:50',1,'2015-12-04 02:33:50',NULL),(909,1,10,32541,2015,'5',897,0,897,1,'2015-12-03 19:12:50',NULL,'2015-12-04 02:33:50',NULL),(910,1,10,32541,2015,'6',855,0,855,1,'2015-12-03 19:12:27',NULL,'2015-12-04 02:34:27',NULL),(911,1,3,32515,2015,'7',0,859,-859,1,'2015-12-03 19:12:56',NULL,'2015-12-04 02:34:56',NULL),(912,1,10,32541,2015,'7',859,0,859,1,'2015-12-03 19:12:57',NULL,'2015-12-04 02:34:57',NULL),(913,1,10,32541,2015,'8',978,0,978,1,'2015-12-03 19:12:34',NULL,'2015-12-04 02:35:34',NULL),(914,1,10,32541,2015,'9',958,0,958,1,'2015-12-03 19:12:12',NULL,'2015-12-04 02:37:12',NULL),(915,1,10,32541,2015,'10',987,0,987,1,'2015-12-03 19:12:00',NULL,'2015-12-04 02:38:00',NULL),(916,1,10,32541,2015,'12',997,0,997,1,'2015-12-03 19:12:02',1,'2015-12-04 02:40:02',NULL),(917,1,10,32545,2015,'1',800,0,800,1,'2015-12-03 19:12:06',NULL,'2015-12-04 02:42:06',NULL),(918,1,10,32545,2015,'2',800,0,800,1,'2015-12-03 19:12:49',NULL,'2015-12-04 02:42:49',NULL),(919,1,10,32545,2015,'3',800,0,800,1,'2015-12-03 19:12:28',NULL,'2015-12-04 02:43:28',NULL),(920,1,3,32516,2015,'4',0,6200,-6200,1,'2015-12-03 19:12:23',1,'2015-12-04 02:44:23',NULL),(921,1,10,32545,2015,'4',800,0,800,1,'2015-12-03 19:12:23',NULL,'2015-12-04 02:44:23',NULL),(922,1,3,32517,2015,'5',0,2700,-2700,1,'2015-12-03 19:12:59',1,'2015-12-04 02:44:59',NULL),(923,1,10,32545,2015,'5',800,0,800,1,'2015-12-03 19:12:59',NULL,'2015-12-04 02:44:59',NULL),(924,1,10,32545,2015,'6',800,0,800,1,'2015-12-03 19:12:51',NULL,'2015-12-04 02:45:51',NULL),(925,1,10,32545,2015,'7',800,0,800,1,'2015-12-03 19:12:29',NULL,'2015-12-04 02:46:29',NULL),(926,1,10,32545,2015,'8',800,0,800,1,'2015-12-03 19:12:40',NULL,'2015-12-04 02:47:40',NULL),(927,1,10,32545,2015,'9',800,0,800,1,'2015-12-03 19:12:09',NULL,'2015-12-04 02:48:09',NULL),(928,1,10,32545,2015,'10',800,0,800,1,'2015-12-03 19:12:54',NULL,'2015-12-04 02:48:54',NULL),(929,1,10,32545,2015,'11',800,0,800,1,'2015-12-03 19:12:37',NULL,'2015-12-04 02:49:37',NULL),(930,1,10,32545,2015,'12',800,0,800,1,'2015-12-03 19:12:06',1,'2015-12-04 02:50:06',NULL),(931,1,10,32546,2015,'1',950,0,950,1,'2015-12-03 19:12:24',NULL,'2015-12-04 02:51:24',NULL),(932,1,10,32546,2015,'2',950,0,950,1,'2015-12-03 19:12:02',NULL,'2015-12-04 02:52:02',NULL),(933,1,10,32546,2015,'3',950,0,950,1,'2015-12-03 19:12:54',NULL,'2015-12-04 02:52:54',NULL),(934,1,10,32546,2015,'4',950,0,950,1,'2015-12-03 19:12:30',NULL,'2015-12-04 02:53:30',NULL),(935,1,8,32527,2015,'7',3628,0,3628,1,'2015-12-03 19:12:40',1,'2015-12-04 02:53:40',NULL),(936,1,10,32546,2015,'5',950,0,950,1,'2015-12-03 19:12:22',NULL,'2015-12-04 02:54:22',NULL),(937,1,3,32517,2015,'6',0,2655,-2655,1,'2015-12-03 19:12:44',1,'2015-12-04 02:58:44',NULL),(938,1,10,32546,2015,'6',950,0,950,1,'2015-12-03 19:12:44',NULL,'2015-12-04 02:58:44',NULL),(939,1,8,32527,2015,'8',4555,0,4555,1,'2015-12-03 20:12:17',1,'2015-12-04 03:09:17',NULL),(940,1,3,32516,2015,'7',0,1110,-1110,1,'2015-12-03 20:12:01',1,'2015-12-04 03:18:01',NULL),(941,1,10,32546,2015,'7',950,0,950,1,'2015-12-03 20:12:01',NULL,'2015-12-04 03:18:01',NULL),(942,1,3,32516,2015,'8',0,2799,-2799,1,'2015-12-03 20:12:07',1,'2015-12-04 03:19:07',NULL),(943,1,10,32546,2015,'8',950,0,950,1,'2015-12-03 20:12:07',NULL,'2015-12-04 03:19:07',NULL),(944,1,10,32546,2015,'9',950,0,950,1,'2015-12-03 20:12:08',NULL,'2015-12-04 03:20:08',NULL),(945,1,10,32546,2015,'10',950,0,950,1,'2015-12-03 20:12:46',NULL,'2015-12-04 03:22:46',NULL),(946,1,10,32546,2015,'11',950,0,950,1,'2015-12-03 20:12:29',NULL,'2015-12-04 03:23:29',NULL),(947,1,10,32546,2015,'12',950,0,950,1,'2015-12-03 20:12:49',NULL,'2015-12-04 03:24:49',NULL),(948,1,8,32527,2015,'9',3556,0,3556,1,'2015-12-03 20:12:26',1,'2015-12-04 03:41:26',NULL),(949,1,10,32547,2015,'7',850,0,850,1,'2015-12-03 20:12:59',NULL,'2015-12-04 03:42:59',NULL),(950,1,10,32547,2015,'8',850,0,850,1,'2015-12-03 20:12:36',NULL,'2015-12-04 03:43:36',NULL),(951,1,3,32516,2015,'9',0,1700,-1700,1,'2015-12-03 20:12:28',1,'2015-12-04 03:44:28',NULL),(952,1,10,32547,2015,'9',850,0,850,1,'2015-12-03 20:12:28',NULL,'2015-12-04 03:44:28',NULL),(953,1,10,32547,2015,'10',850,0,850,1,'2015-12-03 20:12:59',NULL,'2015-12-04 03:44:59',NULL),(954,1,10,32547,2015,'11',850,0,850,1,'2015-12-03 20:12:33',NULL,'2015-12-04 03:45:33',NULL),(955,1,10,32547,2015,'12',855,0,855,1,'2015-12-03 20:12:11',93,'2015-12-04 03:46:11',NULL),(956,1,10,32550,2015,'1',975,0,975,1,'2015-12-03 20:12:14',NULL,'2015-12-04 03:48:14',NULL),(957,1,10,32550,2015,'2',865,0,865,1,'2015-12-03 20:12:59',NULL,'2015-12-04 03:48:59',NULL),(958,1,10,32550,2015,'3',995,0,995,1,'2015-12-03 20:12:50',NULL,'2015-12-04 03:49:50',NULL),(959,1,10,32550,2015,'4',840,0,840,1,'2015-12-03 20:12:44',NULL,'2015-12-04 03:50:44',NULL),(960,1,10,32550,2015,'5',988,0,988,1,'2015-12-03 20:12:25',NULL,'2015-12-04 03:53:25',NULL),(961,1,10,32550,2015,'6',855,0,855,1,'2015-12-03 20:12:59',NULL,'2015-12-04 03:53:59',NULL),(962,1,10,32550,2015,'7',972,0,972,1,'2015-12-03 20:12:34',NULL,'2015-12-04 03:54:34',NULL),(963,1,10,32550,2015,'8',990,0,990,1,'2015-12-03 20:12:06',NULL,'2015-12-04 03:55:06',NULL),(964,1,10,32550,2015,'9',865,0,865,1,'2015-12-03 20:12:51',NULL,'2015-12-04 03:55:51',NULL),(965,1,10,32550,2015,'10',840,0,840,1,'2015-12-03 20:12:40',NULL,'2015-12-04 03:56:40',NULL),(966,1,10,32550,2015,'11',858,0,858,1,'2015-12-03 20:12:08',NULL,'2015-12-04 03:57:08',NULL),(967,1,10,32550,2015,'12',1000,0,1000,1,'2015-12-03 20:12:42',1,'2015-12-04 03:57:42',NULL),(968,1,10,32552,2015,'1',1000,0,1000,1,'2015-12-03 21:12:08',NULL,'2015-12-04 04:02:08',NULL),(969,1,10,32552,2015,'2',1000,0,1000,1,'2015-12-03 21:12:53',NULL,'2015-12-04 04:02:53',NULL),(970,1,10,32552,2015,'3',1000,0,1000,1,'2015-12-03 21:12:23',NULL,'2015-12-04 04:03:23',NULL),(971,1,10,32552,2015,'4',1000,0,1000,1,'2015-12-03 21:12:02',NULL,'2015-12-04 04:04:02',NULL),(972,1,10,32552,2015,'5',1000,0,1000,1,'2015-12-03 21:12:36',NULL,'2015-12-04 04:04:36',NULL),(973,1,10,32552,2015,'6',1000,0,1000,1,'2015-12-03 21:12:36',NULL,'2015-12-04 04:05:36',NULL),(974,1,10,32552,2015,'7',1000,0,1000,1,'2015-12-03 21:12:10',NULL,'2015-12-04 04:06:10',NULL),(975,1,10,32552,2015,'8',1000,0,1000,1,'2015-12-03 21:12:47',NULL,'2015-12-04 04:06:47',NULL),(976,1,10,32552,2015,'9',1000,0,1000,1,'2015-12-03 21:12:17',NULL,'2015-12-04 04:07:17',NULL),(977,1,10,32552,2015,'10',1000,0,1000,1,'2015-12-03 21:12:05',NULL,'2015-12-04 04:08:05',NULL),(978,1,10,32552,2015,'11',1000,0,1000,1,'2015-12-03 21:12:36',NULL,'2015-12-04 04:08:36',NULL),(979,1,10,32552,2015,'12',1000,0,1000,1,'2015-12-03 21:12:11',NULL,'2015-12-04 04:09:11',NULL),(980,1,10,32553,2015,'1',100,0,100,1,'2015-12-03 21:12:20',NULL,'2015-12-04 04:19:20',NULL),(981,1,10,32553,2015,'2',100,0,100,1,'2015-12-03 21:12:59',NULL,'2015-12-04 04:19:59',NULL),(982,1,10,32553,2015,'3',100,0,100,1,'2015-12-03 21:12:31',NULL,'2015-12-04 04:20:31',NULL),(983,1,10,32553,2015,'4',100,0,100,1,'2015-12-03 21:12:03',NULL,'2015-12-04 04:25:03',NULL),(984,1,10,32553,2015,'5',100,0,100,1,'2015-12-03 21:12:41',NULL,'2015-12-04 04:25:41',NULL),(985,1,10,32553,2015,'6',100,0,100,1,'2015-12-03 21:12:52',NULL,'2015-12-04 04:26:52',NULL),(986,1,10,32553,2015,'7',100,0,100,1,'2015-12-03 21:12:55',NULL,'2015-12-04 04:34:55',NULL),(987,1,3,32515,2015,'8',0,1050,-1050,1,'2015-12-03 21:12:23',1,'2015-12-04 04:35:23',NULL),(988,1,10,32553,2015,'8',100,0,100,1,'2015-12-03 21:12:23',NULL,'2015-12-04 04:35:23',NULL),(989,1,10,32553,2015,'9',100,0,100,1,'2015-12-03 21:12:51',NULL,'2015-12-04 04:35:51',NULL),(990,1,10,32553,2015,'10',100,0,100,1,'2015-12-03 21:12:34',NULL,'2015-12-04 04:36:34',NULL),(991,1,10,32553,2015,'11',100,0,100,1,'2015-12-03 21:12:13',NULL,'2015-12-04 04:37:13',NULL),(992,1,10,32553,2015,'12',100,0,100,1,'2015-12-03 21:12:53',NULL,'2015-12-04 04:37:53',NULL),(993,1,10,32530,2015,'4',1000,0,1000,1,'2015-12-03 21:12:48',NULL,'2015-12-04 04:53:48',NULL),(994,1,10,32530,2015,'8',1000,0,1000,1,'2015-12-03 21:12:17',NULL,'2015-12-04 04:54:17',NULL),(995,1,10,32530,2015,'12',1000,0,1000,1,'2015-12-03 21:12:49',NULL,'2015-12-04 04:54:49',NULL),(996,1,10,32531,2015,'4',800,0,800,1,'2015-12-03 21:12:44',NULL,'2015-12-04 04:55:44',NULL),(997,1,10,32531,2015,'8',800,0,800,1,'2015-12-03 21:12:19',NULL,'2015-12-04 04:56:19',NULL),(998,1,10,32531,2015,'12',800,0,800,1,'2015-12-03 21:12:48',NULL,'2015-12-04 04:56:48',NULL),(999,1,4,32525,2015,'12',456,0,456,1,'2015-12-04 00:12:28',1,'2015-12-04 07:49:28',NULL),(1000,1,10,32535,2015,'4',900,0,900,1,'2015-12-04 01:12:52',NULL,'2015-12-04 08:00:52',NULL),(1001,1,10,32535,2015,'8',900,0,900,1,'2015-12-04 01:12:21',NULL,'2015-12-04 08:01:21',NULL),(1002,1,10,32537,2015,'4',850,0,850,1,'2015-12-04 01:12:17',NULL,'2015-12-04 08:03:17',NULL),(1003,1,10,32537,2015,'8',850,0,850,1,'2015-12-04 01:12:50',NULL,'2015-12-04 08:03:50',NULL),(1004,1,10,32537,2015,'12',850,0,850,1,'2015-12-04 01:12:23',NULL,'2015-12-04 08:04:23',NULL),(1005,1,10,32539,2015,'6',900,0,900,1,'2015-12-04 01:12:14',NULL,'2015-12-04 08:05:14',NULL),(1006,1,10,32539,2015,'12',958,0,958,1,'2015-12-04 01:12:50',NULL,'2015-12-04 08:05:50',NULL),(1007,1,10,32543,2015,'8',800,0,800,1,'2015-12-04 01:12:14',NULL,'2015-12-04 08:10:14',NULL),(1008,1,10,32542,2015,'3',850,0,850,1,'2015-12-04 01:12:37',NULL,'2015-12-04 08:11:37',NULL),(1009,1,10,32542,2015,'6',850,0,850,1,'2015-12-04 01:12:06',NULL,'2015-12-04 08:12:06',NULL),(1010,1,10,32542,2015,'9',850,0,850,1,'2015-12-04 01:12:40',NULL,'2015-12-04 08:12:40',NULL),(1011,1,10,32542,2015,'12',850,0,850,1,'2015-12-04 01:12:07',NULL,'2015-12-04 08:13:07',NULL),(1012,1,10,32544,2015,'5',900,0,900,1,'2015-12-04 01:12:05',NULL,'2015-12-04 08:14:05',NULL),(1013,1,10,32548,2015,'4',900,0,900,1,'2015-12-04 01:12:51',NULL,'2015-12-04 08:14:51',NULL),(1014,1,10,32548,2015,'8',900,0,900,1,'2015-12-04 01:12:28',NULL,'2015-12-04 08:15:28',NULL),(1015,1,10,32548,2015,'12',900,0,900,1,'2015-12-04 01:12:58',NULL,'2015-12-04 08:15:58',NULL),(1016,1,3,32515,2015,'3',0,1300,-1300,1,'2015-12-04 01:12:35',1,'2015-12-04 08:16:35',NULL),(1017,1,10,32551,2015,'3',1000,0,1000,1,'2015-12-04 01:12:35',NULL,'2015-12-04 08:16:35',NULL),(1018,1,10,32551,2015,'6',850,0,850,1,'2015-12-04 01:12:08',NULL,'2015-12-04 08:17:08',NULL),(1019,1,10,32554,2015,'2',20,0,20,1,'2015-12-04 01:12:55',NULL,'2015-12-04 08:17:55',NULL),(1020,1,10,32554,2015,'6',20,0,20,1,'2015-12-04 01:12:31',NULL,'2015-12-04 08:18:31',NULL),(1021,1,4,32525,2015,'2',0,35000,-35000,1,'2015-12-04 01:12:20',NULL,'2015-12-04 08:21:20',NULL),(1022,1,10,32534,2015,'2',40,0,40,1,'2015-12-04 01:12:25',NULL,'2015-12-04 08:21:25',NULL),(1023,1,10,32534,2015,'7',90,0,90,1,'2015-12-04 01:12:03',NULL,'2015-12-04 08:22:03',NULL),(1024,1,10,32536,2015,'1',90,0,90,1,'2015-12-04 01:12:16',NULL,'2015-12-04 08:24:16',NULL),(1025,1,10,32536,2015,'7',70,0,70,1,'2015-12-04 01:12:50',NULL,'2015-12-04 08:24:50',NULL),(1026,1,10,32538,2015,'10',980,0,980,1,'2015-12-04 01:12:01',NULL,'2015-12-04 08:26:01',NULL),(1027,1,10,32538,2015,'9',850,0,850,1,'2015-12-04 01:12:32',NULL,'2015-12-04 08:26:32',NULL),(1028,1,10,32540,2015,'4',850,0,850,1,'2015-12-04 01:12:25',NULL,'2015-12-04 08:31:25',NULL),(1029,1,10,32540,2015,'8',849,0,849,1,'2015-12-04 01:12:58',NULL,'2015-12-04 08:31:58',NULL),(1030,1,10,32540,2015,'12',980,0,980,1,'2015-12-04 01:12:25',1,'2015-12-04 08:32:25',NULL),(1031,1,10,32549,2015,'1',3600,0,3600,1,'2015-12-04 01:12:04',1,'2015-12-04 08:33:04',NULL),(1032,1,10,32549,2015,'5',970,0,970,1,'2015-12-04 01:12:52',NULL,'2015-12-04 08:33:52',NULL),(1033,1,10,32549,2015,'9',870,0,870,1,'2015-12-04 01:12:30',NULL,'2015-12-04 08:34:30',NULL),(1034,1,10,32556,2015,'8',1000,0,1000,1,'2015-12-04 01:12:59',NULL,'2015-12-04 08:40:59',NULL),(1035,1,2,32504,2015,'1',1999,0,1999,1,'2015-12-07 02:12:48',NULL,'2015-12-07 09:23:48',NULL),(1036,1,2,32505,2015,'1',1789,0,1789,1,'2015-12-07 02:12:37',NULL,'2015-12-07 09:24:37',NULL),(1037,1,2,32506,2015,'2',2046,0,2046,1,'2015-12-07 02:12:21',1,'2015-12-07 09:25:21',NULL),(1038,1,2,32507,2015,'2',14450,0,14450,1,'2015-12-07 02:12:55',1,'2015-12-07 09:25:55',NULL),(1039,1,2,32508,2015,'3',1830,0,1830,1,'2015-12-07 02:12:49',NULL,'2015-12-07 09:26:49',NULL),(1040,1,2,32509,2015,'3',2000,0,2000,1,'2015-12-07 02:12:32',NULL,'2015-12-07 09:27:32',NULL),(1041,1,2,32510,2015,'4',1650,0,1650,1,'2015-12-07 02:12:47',NULL,'2015-12-07 09:28:47',NULL),(1042,1,2,32511,2015,'4',1700,0,1700,1,'2015-12-07 02:12:31',NULL,'2015-12-07 09:29:31',NULL),(1043,1,2,32512,2015,'5',1989,0,1989,1,'2015-12-07 02:12:16',NULL,'2015-12-07 09:30:16',NULL),(1044,1,2,32513,2015,'5',1998,0,1998,1,'2015-12-07 02:12:56',NULL,'2015-12-07 09:30:56',NULL),(1045,1,2,32504,2015,'6',1997,0,1997,1,'2015-12-07 02:12:54',NULL,'2015-12-07 09:31:54',NULL),(1046,1,2,32505,2015,'6',1596,0,1596,1,'2015-12-07 02:12:41',NULL,'2015-12-07 09:46:41',NULL),(1047,1,2,32506,2015,'7',1290,0,1290,1,'2015-12-07 02:12:48',NULL,'2015-12-07 09:47:48',NULL),(1048,1,2,32507,2015,'7',1963,0,1963,1,'2015-12-07 02:12:20',NULL,'2015-12-07 09:49:20',NULL),(1049,1,2,32508,2015,'8',2000,0,2000,1,'2015-12-07 02:12:15',NULL,'2015-12-07 09:50:15',NULL),(1050,1,2,32509,2015,'8',1956,0,1956,1,'2015-12-07 02:12:51',NULL,'2015-12-07 09:50:51',NULL),(1051,1,2,32510,2015,'9',1234,0,1234,1,'2015-12-07 02:12:31',NULL,'2015-12-07 09:51:31',NULL),(1052,1,2,32511,2015,'9',1358,0,1358,1,'2015-12-07 02:12:26',NULL,'2015-12-07 09:52:26',NULL),(1053,1,2,32512,2015,'10',1991,0,1991,1,'2015-12-07 02:12:05',NULL,'2015-12-07 09:53:05',NULL),(1054,1,2,32513,2015,'10',1597,0,1597,1,'2015-12-07 02:12:45',NULL,'2015-12-07 09:53:45',NULL),(1055,1,2,32507,2015,'12',1989,0,1989,1,'2015-12-07 18:12:01',1,'2015-12-08 01:10:01',NULL),(1056,1,4,32521,2015,'1',100,0,100,1,'2015-12-07 19:12:00',NULL,'2015-12-08 02:08:00',NULL),(1057,1,4,32522,2015,'1',100,0,100,1,'2015-12-07 19:12:27',NULL,'2015-12-08 02:08:27',NULL),(1058,1,4,32523,2015,'1',100,0,100,1,'2015-12-07 19:12:58',NULL,'2015-12-08 02:08:58',NULL),(1059,1,4,32521,2015,'2',100,0,100,1,'2015-12-07 19:12:18',NULL,'2015-12-08 02:12:18',NULL),(1060,1,4,32522,2015,'2',100,0,100,1,'2015-12-07 19:12:13',NULL,'2015-12-08 02:20:13',NULL),(1061,1,4,32523,2015,'2',100,0,100,1,'2015-12-07 19:12:23',NULL,'2015-12-08 02:23:23',NULL),(1062,1,4,32521,2015,'3',100,0,100,1,'2015-12-07 19:12:03',NULL,'2015-12-08 02:24:03',NULL),(1063,1,4,32522,2015,'3',100,0,100,1,'2015-12-07 19:12:38',NULL,'2015-12-08 02:24:38',NULL),(1064,1,4,32523,2015,'3',100,0,100,1,'2015-12-07 19:12:07',NULL,'2015-12-08 02:25:07',NULL),(1065,1,3,32515,2015,'4',0,300,-300,1,'2015-12-07 19:12:06',1,'2015-12-08 02:26:06',NULL),(1066,1,4,32521,2015,'4',100,0,100,1,'2015-12-07 19:12:06',NULL,'2015-12-08 02:26:06',NULL),(1067,1,4,32522,2015,'4',100,0,100,1,'2015-12-07 19:12:36',NULL,'2015-12-08 02:26:36',NULL),(1068,1,4,32523,2015,'4',100,0,100,1,'2015-12-07 19:12:23',NULL,'2015-12-08 02:27:23',NULL),(1069,1,4,32521,2015,'5',100,0,100,1,'2015-12-07 19:12:07',NULL,'2015-12-08 02:32:07',NULL),(1070,1,4,32522,2015,'5',100,0,100,1,'2015-12-07 19:12:33',NULL,'2015-12-08 02:32:33',NULL),(1071,1,4,32523,2015,'5',100,0,100,1,'2015-12-07 19:12:21',NULL,'2015-12-08 02:33:21',NULL),(1072,1,4,32521,2015,'6',300,0,300,1,'2015-12-07 19:12:09',93,'2015-12-08 02:34:09',NULL),(1073,1,4,32522,2015,'6',100,0,100,1,'2015-12-07 19:12:43',NULL,'2015-12-08 02:34:43',NULL),(1074,1,4,32523,2015,'6',100,0,100,1,'2015-12-07 19:12:17',NULL,'2015-12-08 02:39:17',NULL),(1075,1,4,32521,2015,'7',100,0,100,1,'2015-12-07 19:12:18',NULL,'2015-12-08 02:41:18',NULL),(1076,1,4,32522,2015,'7',100,0,100,1,'2015-12-07 19:12:51',NULL,'2015-12-08 02:44:51',NULL),(1077,1,4,32523,2015,'7',100,0,100,1,'2015-12-07 19:12:39',NULL,'2015-12-08 02:45:39',NULL),(1078,1,4,32521,2015,'8',100,0,100,1,'2015-12-07 19:12:58',NULL,'2015-12-08 02:47:58',NULL),(1079,1,4,32522,2015,'8',100,0,100,1,'2015-12-07 19:12:32',NULL,'2015-12-08 02:48:32',NULL),(1080,1,4,32523,2015,'8',100,0,100,1,'2015-12-07 19:12:02',NULL,'2015-12-08 02:50:02',NULL),(1081,1,4,32521,2015,'9',100,0,100,1,'2015-12-07 19:12:29',NULL,'2015-12-08 02:56:29',NULL),(1082,1,4,32522,2015,'9',100,0,100,1,'2015-12-07 19:12:53',NULL,'2015-12-08 02:57:53',NULL),(1083,1,4,32523,2015,'9',100,0,100,1,'2015-12-07 20:12:01',NULL,'2015-12-08 03:11:01',NULL),(1084,1,4,32521,2015,'10',100,0,100,1,'2015-12-07 20:12:23',NULL,'2015-12-08 03:17:23',NULL),(1085,1,4,32522,2015,'10',100,0,100,1,'2015-12-07 20:12:05',NULL,'2015-12-08 03:18:05',NULL),(1086,1,4,32523,2015,'10',100,0,100,1,'2015-12-07 20:12:37',NULL,'2015-12-08 03:18:37',NULL),(1087,1,4,32523,2015,'12',100,0,100,1,'2015-12-07 20:12:12',NULL,'2015-12-08 03:25:12',NULL),(1088,1,3,32516,2016,'2',0,300,-300,1,'2015-12-07 21:12:52',1,'2015-12-08 04:03:52',NULL),(1089,1,2,32504,2016,'2',300,0,300,1,'2015-12-07 21:12:52',1,'2015-12-08 04:03:52',NULL),(1090,1,10,32534,2015,'12',7,0,7,1,'2015-12-07 21:12:04',1,'2015-12-08 04:24:04',NULL),(1091,1,3,32515,2016,'2',0,202,-202,1,'2015-12-07 22:12:43',1,'2015-12-08 05:17:43',NULL),(1092,1,4,32521,2016,'2',100,0,100,1,'2015-12-07 22:12:43',1,'2015-12-08 05:17:43',NULL),(1093,1,4,32522,2016,'2',102,0,102,1,'2015-12-07 23:12:12',NULL,'2015-12-08 06:53:12',NULL),(1094,1,10,32547,2015,'2',400,0,400,93,'2015-12-08 18:12:49',NULL,'2015-12-09 01:42:49',NULL),(1095,4,3,32515,2015,'12',0,144,-144,106,'2015-12-27 21:12:47',106,'2015-12-28 04:20:47',NULL),(1096,4,4,32524,2015,'12',144,0,144,106,'2015-12-27 21:12:47',106,'2015-12-28 04:20:47',NULL),(1097,4,4,32525,2015,'12',70,0,70,106,'2015-12-27 21:12:05',106,'2015-12-28 04:21:05',NULL),(1098,1,7,32526,2016,'1',0,212,-212,84,'2016-01-19 01:01:22',NULL,'2016-01-19 08:34:22',NULL),(1099,1,3,32515,2016,'1',212,0,212,84,'2016-01-19 01:01:22',NULL,'2016-01-19 08:34:22',NULL),(1100,1,3,32515,2016,'4',301068,304400,-3332,1,'2016-04-14 20:04:24',1,'2016-04-15 02:33:24',NULL),(1101,1,3,32516,2016,'4',758,1300,-542,1,'2016-04-14 20:04:24',1,'2016-04-15 02:33:24',NULL),(1102,1,3,32517,2016,'4',0,3,-3,1,'2016-04-14 21:04:32',1,'2016-04-15 03:08:32',NULL),(1103,1,8,32527,2016,'4',130,0,130,1,'2016-04-14 21:04:32',1,'2016-04-15 03:08:32',NULL),(1104,1,7,32526,2016,'4',0,826,-826,1,'2016-04-20 19:04:19',115,'2016-04-21 01:07:19',NULL),(1105,1,3,32518,2016,'4',0,340,-340,1,'2016-04-24 21:04:39',1,'2016-04-25 03:56:39',NULL),(1106,1,10,32537,2016,'4',20,0,20,1,'2016-04-24 22:04:27',NULL,'2016-04-25 04:00:27',NULL),(1107,1,10,32546,2016,'4',200,0,200,1,'2016-04-24 22:04:27',NULL,'2016-04-25 04:00:27',NULL),(1108,1,2,32510,2016,'4',1000,0,1000,1,'2016-04-24 22:04:18',NULL,'2016-04-25 04:02:18',NULL),(1109,1,10,32533,2016,'4',500,0,500,1,'2016-04-25 20:04:30',1,'2016-04-26 02:25:30',NULL),(1110,1,4,32521,2016,'4',0,300000,-300000,1,'2016-04-25 20:04:16',1,'2016-04-26 02:30:16',NULL),(1111,1,4,32522,2016,'4',300,15000000,-14999700,1,'2016-04-25 20:04:46',1,'2016-04-26 02:31:46',NULL),(1112,1,2,32507,2016,'4',300000,0,300000,1,'2016-04-25 20:04:09',1,'2016-04-26 02:39:09',NULL),(1113,1,4,32524,2016,'4',300,0,300,1,'2016-04-25 20:04:46',1,'2016-04-26 02:44:46',NULL),(1114,1,2,32506,2016,'4',3600,0,3600,1,'2016-04-26 19:04:09',NULL,'2016-04-27 01:39:09',NULL),(1115,1,7,32526,2016,'5',0,118.5,-118.5,1,'2016-05-09 21:05:44',1,'2016-05-10 03:38:44',NULL),(1116,1,3,32515,2016,'5',118.5,150,-31.5,1,'2016-05-09 21:05:44',1,'2016-05-10 03:38:44',NULL),(1117,1,8,32527,2016,'5',150,0,150,1,'2016-05-31 02:05:45',1,'2016-05-31 08:38:45',NULL),(1118,1,3,32515,2016,'6',260,1897,-1637,1,'2016-06-01 00:06:34',0,'2016-06-01 06:56:34',NULL),(1119,1,8,32527,2016,'6',1494,0,1494,1,'2016-06-01 00:06:34',0,'2016-06-01 06:56:34',NULL),(1120,1,3,32518,2016,'6',100,280,-180,1,'2016-06-01 00:06:12',1,'2016-06-01 06:57:12',NULL),(1121,1,7,32526,2016,'6',0,260,-260,1,'2016-06-01 00:06:52',0,'2016-06-01 06:59:52',NULL),(1122,1,10,32547,2016,'6',250,0,250,1,'2016-06-01 01:06:27',1,'2016-06-01 07:02:27',NULL),(1123,1,3,32516,2016,'6',0,73556,-73556,84,'2016-06-02 21:06:42',84,'2016-06-03 03:34:42',NULL),(1124,1,10,32545,2016,'6',589,0,589,84,'2016-06-02 21:06:40',NULL,'2016-06-03 03:35:40',NULL),(1125,1,2,32504,2016,'6',2300,0,2300,84,'2016-06-02 21:06:57',NULL,'2016-06-03 03:40:57',NULL),(1126,1,2,32507,2016,'6',70000,0,70000,84,'2016-06-02 21:06:57',84,'2016-06-03 03:40:57',NULL),(1127,13,3,32761,2016,'6',14089,829,13260,0,'2016-06-12 22:06:37',0,'2016-06-13 04:45:37',NULL),(1128,13,8,32773,2016,'6',868,0,868,0,'2016-06-12 22:06:37',0,'2016-06-13 04:45:37',NULL),(1129,13,10,32775,2016,'6',396,0,396,0,'2016-06-12 22:06:16',0,'2016-06-13 04:46:16',NULL),(1130,13,7,32772,2016,'6',0,13656,-13656,0,'2016-06-12 22:06:25',0,'2016-06-13 04:56:25',NULL),(1131,13,3,32762,2016,'6',1199,300,899,0,'2016-06-13 00:06:09',0,'2016-06-13 06:14:09',NULL),(1132,13,3,32763,2016,'6',658,721,-63,0,'2016-06-13 01:06:23',0,'2016-06-13 07:44:23',NULL),(1133,13,3,32764,2016,'6',500,77,423,0,'2016-06-14 02:06:54',0,'2016-06-14 08:22:54',NULL),(1134,12,7,32583,2016,'6',0,212,-212,0,'2016-06-14 19:06:12',0,'2016-06-15 01:01:12',NULL),(1135,12,3,32575,2016,'6',212,148,64,0,'2016-06-14 19:06:12',0,'2016-06-15 01:01:12',NULL),(1136,12,7,32583,2016,'5',0,99,-99,0,'2016-06-14 19:06:05',NULL,'2016-06-15 01:13:05',NULL),(1137,12,3,32575,2016,'5',99,0,99,0,'2016-06-14 19:06:05',NULL,'2016-06-15 01:13:05',NULL),(1138,13,2,32750,2016,'6',200,0,200,0,'2016-06-14 19:06:34',0,'2016-06-15 01:29:34',NULL),(1139,1,10,32539,2016,'6',800,0,800,0,'2016-06-14 20:06:14',NULL,'2016-06-15 02:53:14',NULL),(1140,1,10,32541,2016,'6',200,0,200,0,'2016-06-14 20:06:14',NULL,'2016-06-15 02:53:14',NULL),(1141,1,10,32550,2016,'6',100,0,100,0,'2016-06-14 20:06:14',NULL,'2016-06-15 02:53:14',NULL),(1142,12,3,32573,2016,'6',0,36,-36,0,'2016-06-14 22:06:12',NULL,'2016-06-15 04:27:12',NULL),(1143,12,2,32561,2016,'6',36,0,36,0,'2016-06-14 22:06:12',NULL,'2016-06-15 04:27:12',NULL),(1144,13,2,32752,2016,'6',258,0,258,0,'2016-06-14 22:06:27',NULL,'2016-06-15 04:47:27',NULL),(1145,12,8,32584,2016,'6',25,0,25,0,'2016-06-15 21:06:31',NULL,'2016-06-16 03:06:31',NULL),(1146,12,10,32590,2016,'6',123,0,123,0,'2016-06-15 21:06:48',NULL,'2016-06-16 03:51:48',NULL),(1147,13,4,32767,2016,'6',200,2757,-2557,0,'2016-06-20 18:06:10',0,'2016-06-21 00:55:10',NULL),(1148,13,3,32762,2017,'7',0,770,-770,0,'2016-06-20 21:06:57',NULL,'2016-06-21 03:45:57',NULL),(1149,13,2,32755,2017,'7',5,0,5,0,'2016-06-20 21:06:57',0,'2016-06-21 03:45:57',NULL),(1150,13,2,32755,2016,'6',721,0,721,0,'2016-06-20 22:06:07',0,'2016-06-21 04:36:07',NULL),(1151,13,3,32763,2017,'7',0,5,-5,0,'2016-06-20 22:06:50',NULL,'2016-06-21 04:38:50',NULL),(1152,13,3,32762,2015,'6',0,2345,-2345,0,'2016-06-21 00:06:24',NULL,'2016-06-21 06:27:24',NULL),(1153,13,2,32755,2015,'6',2345,0,2345,0,'2016-06-21 00:06:24',NULL,'2016-06-21 06:27:24',NULL),(1154,13,3,32762,2016,'8',464242.9,14451,449791.9,0,'2016-06-21 01:06:01',0,'2016-06-21 07:34:01',NULL),(1155,13,2,32755,2016,'8',358,0,358,0,'2016-06-21 01:06:01',NULL,'2016-06-21 07:34:01',NULL),(1156,13,4,32769,2016,'6',0,658,-658,0,'2016-06-21 21:06:33',NULL,'2016-06-22 03:31:33',NULL),(1157,13,4,32768,2016,'6',455,0,455,0,'2016-06-21 22:06:40',NULL,'2016-06-22 04:58:40',NULL),(1158,13,4,32770,2016,'6',100,100,0,0,'2016-06-22 01:06:08',0,'2016-06-22 07:07:08',NULL),(1159,13,3,32762,2017,'6',0,200,-200,0,'2016-06-22 01:06:55',NULL,'2016-06-22 07:27:55',NULL),(1160,13,4,32770,2017,'6',200,0,200,0,'2016-06-22 01:06:55',NULL,'2016-06-22 07:27:55',NULL),(1161,13,10,32796,2016,'6',20,0,20,0,'2016-06-26 19:06:21',NULL,'2016-06-27 01:46:21',NULL),(1162,13,3,32761,2016,'5',1000,200,800,0,'2016-06-27 03:06:54',0,'2016-06-27 09:02:54',NULL),(1163,13,4,32767,2016,'5',200,0,200,0,'2016-06-27 03:06:54',NULL,'2016-06-27 09:02:54',NULL),(1164,13,2,32759,2016,'6',23,0,23,0,'2016-06-27 03:06:03',NULL,'2016-06-27 09:05:03',NULL),(1165,13,7,32772,2016,'5',0,1000,-1000,0,'2016-06-28 00:06:28',NULL,'2016-06-28 06:38:28',NULL),(1166,14,4,32830,2015,'1',0,5000,-5000,0,'2016-06-28 01:06:20',NULL,'2016-06-28 07:35:20',NULL),(1167,14,3,32824,2015,'1',250,0,250,0,'2016-06-28 01:06:20',0,'2016-06-28 07:35:20',NULL),(1168,14,4,32830,2015,'2',0,5000,-5000,0,'2016-06-28 01:06:02',NULL,'2016-06-28 07:37:02',NULL),(1169,14,3,32824,2015,'2',5000,0,5000,0,'2016-06-28 01:06:02',NULL,'2016-06-28 07:37:02',NULL),(1170,14,4,32830,2015,'8',100,5000,-4900,0,'2016-06-28 01:06:10',0,'2016-06-28 07:38:10',NULL),(1171,14,3,32824,2015,'8',5000,100,4900,0,'2016-06-28 01:06:10',0,'2016-06-28 07:38:10',NULL),(1172,14,3,32824,2015,'9',0,100,-100,0,'2016-06-28 01:06:43',NULL,'2016-06-28 07:50:43',NULL),(1173,14,4,32830,2015,'9',100,0,100,0,'2016-06-28 01:06:43',NULL,'2016-06-28 07:50:43',NULL),(1174,14,3,32824,2015,'10',0,100,-100,0,'2016-06-28 01:06:01',NULL,'2016-06-28 07:53:01',NULL),(1175,14,4,32830,2015,'10',100,0,100,0,'2016-06-28 01:06:01',NULL,'2016-06-28 07:53:01',NULL),(1176,14,3,32824,2016,'1',250,100,150,0,'2016-06-28 02:06:28',0,'2016-06-28 08:29:28',NULL),(1177,14,4,32830,2016,'1',100,0,100,0,'2016-06-28 02:06:28',NULL,'2016-06-28 08:29:28',NULL),(1178,14,7,32835,2016,'1',0,250,-250,0,'2016-06-29 20:06:14',NULL,'2016-06-30 02:40:14',NULL),(1179,14,7,32835,2015,'1',0,250,-250,0,'2016-06-29 20:06:00',NULL,'2016-06-30 02:42:00',NULL),(1180,13,3,32764,2016,'7',0,24,-24,0,'2016-07-13 03:07:46',NULL,'2016-07-13 09:23:46',NULL),(1181,13,10,32788,2016,'7',24,0,24,0,'2016-07-13 03:07:46',NULL,'2016-07-13 09:23:46',NULL),(1182,13,7,32772,2016,'7',0,3609,-3609,0,'2016-07-13 03:07:54',0,'2016-07-13 09:31:54',NULL),(1183,13,3,32761,2016,'7',3099,2100,999,0,'2016-07-13 03:07:54',0,'2016-07-13 09:31:54',NULL),(1184,13,2,32753,2016,'7',2000,0,2000,0,'2016-07-26 02:07:54',NULL,'2016-07-26 08:25:54',NULL),(1185,1,3,32515,2016,'7',0,123,-123,1,'2016-07-26 20:07:45',NULL,'2016-07-27 02:31:45',NULL),(1186,1,3,32516,2016,'7',123,0,123,1,'2016-07-26 20:07:45',NULL,'2016-07-27 02:31:45',NULL),(1187,13,3,32763,2016,'7',510,22499,-21989,0,'2016-07-27 01:07:24',0,'2016-07-27 07:19:24',NULL),(1188,13,8,32773,2016,'7',5399,0,5399,0,'2016-07-27 01:07:24',0,'2016-07-27 07:19:24',NULL),(1189,13,3,32762,2016,'7',100,2000,-1900,0,'2016-07-27 01:07:03',0,'2016-07-27 07:36:03',NULL),(1190,13,10,32791,2016,'7',10000,0,10000,0,'2016-07-27 19:07:28',NULL,'2016-07-28 01:20:28',NULL),(1191,13,10,32796,2016,'7',300,0,300,0,'2016-07-27 19:07:28',0,'2016-07-28 01:20:28',NULL),(1192,13,2,32752,2016,'7',3300,0,3300,0,'2016-07-27 22:07:31',NULL,'2016-07-28 04:30:31',NULL),(1193,13,2,32750,2016,'7',5500,0,5500,0,'2016-07-27 22:07:31',NULL,'2016-07-28 04:30:31',NULL),(1194,13,7,32772,2016,'8',0,33432761485,-33432761485,0,'2016-08-01 02:08:59',0,'2016-08-01 08:25:59',NULL),(1195,13,3,32761,2016,'8',33432432655,77777881080,-44345448425,0,'2016-08-01 02:08:59',0,'2016-08-01 08:25:59',NULL),(1196,13,8,32773,2016,'8',149,0,149,0,'2016-08-01 02:08:16',0,'2016-08-01 08:43:16',NULL),(1197,13,10,32779,2016,'8',202,0,202,0,'2016-08-01 02:08:40',0,'2016-08-01 08:47:40',NULL),(1198,12,3,32572,2016,'8',12345557041,12,12345557029,0,'2016-08-04 23:08:35',0,'2016-08-05 05:04:35',NULL),(1199,12,3,32573,2016,'8',111111169198,0,111111169198,0,'2016-08-04 23:08:35',0,'2016-08-05 05:04:35',NULL),(1200,12,3,32575,2016,'8',834,0,834,0,'2016-08-04 23:08:33',0,'2016-08-05 05:07:33',NULL),(1201,12,8,32584,2016,'8',25,0,25,0,'2016-08-04 23:08:34',NULL,'2016-08-05 05:07:34',NULL),(1202,12,10,32587,2016,'8',258,0,258,0,'2016-08-04 23:08:11',NULL,'2016-08-05 05:11:11',NULL),(1203,12,7,32583,2016,'8',0,378,-378,0,'2016-08-04 23:08:50',0,'2016-08-05 05:11:50',NULL),(1204,1,3,32515,2016,'8',10012,29,9983,0,'2016-08-05 00:08:53',0,'2016-08-05 06:40:53',NULL),(1205,1,8,32527,2016,'8',2,0,2,0,'2016-08-05 00:08:53',0,'2016-08-05 06:40:53',NULL),(1206,13,2,32751,2016,'8',1200,0,1200,0,'2016-08-05 06:08:51',NULL,'2016-08-05 12:05:51',NULL),(1207,13,10,32775,2016,'8',31,0,31,0,'2016-08-08 00:08:55',0,'2016-08-08 06:38:55',NULL),(1208,13,10,32776,2016,'8',100,0,100,0,'2016-08-08 02:08:57',NULL,'2016-08-08 08:30:57',NULL),(1209,1,7,32526,2016,'8',0,10012,-10012,0,'2016-08-08 03:08:52',0,'2016-08-08 09:56:52',NULL),(1210,1,7,32526,2016,'7',0,9000,-9000,0,'2016-08-08 04:08:02',NULL,'2016-08-08 10:27:02',NULL),(1211,1,3,32517,2016,'7',9000,0,9000,0,'2016-08-08 04:08:02',NULL,'2016-08-08 10:27:02',NULL),(1212,13,4,32770,2016,'8',124,0,124,0,'2016-08-09 20:08:45',NULL,'2016-08-10 02:18:45',NULL),(1213,13,4,32767,2016,'8',0,32541.9,-32541.9,0,'2016-08-09 20:08:46',0,'2016-08-10 02:18:46',NULL),(1214,13,4,32768,2016,'8',2000,0,2000,0,'2016-08-09 20:08:46',0,'2016-08-10 02:18:46',NULL),(1215,13,3,32761,2016,'10',660,1049,-389,0,'2016-08-09 22:08:51',0,'2016-08-10 04:26:51',NULL),(1216,13,8,32773,2016,'10',750,0,750,0,'2016-08-09 22:08:51',0,'2016-08-10 04:26:51',NULL),(1217,1,3,32516,2016,'10',0,2100,-2100,0,'2016-08-09 22:08:04',0,'2016-08-10 04:46:04',NULL),(1218,1,8,32527,2016,'10',999,0,999,0,'2016-08-09 22:08:04',0,'2016-08-10 04:46:04',NULL),(1219,1,3,32518,2016,'10',0,1000,-1000,0,'2016-08-09 22:08:50',NULL,'2016-08-10 04:51:50',NULL),(1220,13,10,32775,2016,'10',199,0,199,0,'2016-08-09 22:08:48',0,'2016-08-10 04:53:48',NULL),(1221,1,3,32517,2016,'10',0,1000,-1000,0,'2016-08-09 23:08:25',NULL,'2016-08-10 05:01:25',NULL),(1222,13,4,32768,2016,'10',100,0,100,0,'2016-08-09 23:08:34',NULL,'2016-08-10 05:01:34',NULL),(1223,13,4,32767,2016,'10',100,200,-100,0,'2016-08-09 23:08:39',0,'2016-08-10 05:02:39',NULL),(1224,13,7,32772,2016,'10',0,460,-460,0,'2016-08-09 23:08:51',0,'2016-08-10 05:50:51',NULL),(1225,1,3,32515,2016,'10',0,999,-999,0,'2016-08-09 23:08:33',0,'2016-08-10 05:56:33',NULL),(1226,1,3,32516,2016,'8',0,3,-3,0,'2016-08-10 01:08:14',0,'2016-08-10 07:07:14',NULL),(1227,13,2,32752,2016,'8',3,0,3,0,'2016-08-10 01:08:47',NULL,'2016-08-10 07:24:47',NULL),(1228,3,3,32635,2016,'8',0,3500,-3500,0,'2016-08-10 03:08:37',0,'2016-08-10 09:36:37',NULL),(1229,3,8,32647,2016,'8',3500,0,3500,0,'2016-08-10 03:08:37',0,'2016-08-10 09:36:37',NULL),(1230,21,7,32892,2016,'1',0,100,-100,0,'2016-08-11 01:08:35',NULL,'2016-08-11 07:31:35',NULL),(1231,21,3,32881,2016,'1',100,90,10,0,'2016-08-11 01:08:35',0,'2016-08-11 07:31:35',NULL),(1232,21,8,32893,2016,'1',30,0,30,0,'2016-08-11 01:08:30',NULL,'2016-08-11 07:33:30',NULL),(1233,21,3,32881,2016,'8',0,35,-35,0,'2016-08-11 01:08:09',NULL,'2016-08-11 07:39:09',NULL),(1234,21,10,32906,2016,'8',35,0,35,0,'2016-08-11 01:08:09',NULL,'2016-08-11 07:39:09',NULL),(1235,21,10,32906,2016,'1',35,0,35,0,'2016-08-11 01:08:51',0,'2016-08-11 07:39:51',NULL),(1236,21,2,32870,2016,'1',25,0,25,0,'2016-08-11 01:08:47',NULL,'2016-08-11 07:41:47',NULL),(1237,23,3,33007,2016,'1',0,12200,-12200,0,'2016-08-11 02:08:03',0,'2016-08-11 08:56:03',NULL),(1238,23,7,33018,2016,'1',0,100,-100,0,'2016-08-11 02:08:03',NULL,'2016-08-11 08:56:03',NULL),(1239,23,8,33019,2016,'1',7800,0,7800,0,'2016-08-11 02:08:17',0,'2016-08-11 08:58:17',NULL),(1240,23,3,33008,2016,'2',200,95,105,0,'2016-08-11 02:08:19',0,'2016-08-11 08:59:19',NULL),(1241,23,8,33019,2016,'2',20,0,20,0,'2016-08-11 02:08:19',NULL,'2016-08-11 08:59:19',NULL),(1242,23,7,33018,2016,'2',0,200,-200,0,'2016-08-11 03:08:28',0,'2016-08-11 09:00:28',NULL),(1243,23,10,33030,2016,'1',30,0,30,0,'2016-08-11 03:08:23',0,'2016-08-11 09:01:23',NULL),(1244,13,3,32765,2016,'8',77777790633,2215.6,77777788417.4,0,'2016-08-11 03:08:41',0,'2016-08-11 09:16:41',NULL),(1245,23,3,33008,2016,'8',500,3100,-2600,0,'2016-08-11 03:08:23',0,'2016-08-11 09:25:23',NULL),(1246,23,10,33029,2016,'8',40,0,40,0,'2016-08-11 03:08:23',NULL,'2016-08-11 09:25:23',NULL),(1247,23,10,33029,2016,'2',40,0,40,0,'2016-08-11 03:08:40',NULL,'2016-08-11 09:25:40',NULL),(1248,23,3,33008,2016,'1',100,40,60,0,'2016-08-11 03:08:44',0,'2016-08-11 09:26:44',NULL),(1249,23,2,32998,2016,'1',40,0,40,0,'2016-08-11 03:08:44',NULL,'2016-08-11 09:26:44',NULL),(1250,23,2,32997,2016,'2',35,0,35,0,'2016-08-11 03:08:18',0,'2016-08-11 09:27:18',NULL),(1251,23,3,33007,2016,'8',1811,1201005.1,-1199194.1,0,'2016-08-11 22:08:29',0,'2016-08-12 04:09:29',NULL),(1252,23,8,33019,2016,'8',1905,0,1905,0,'2016-08-11 22:08:29',0,'2016-08-12 04:09:29',NULL),(1253,23,7,33018,2016,'3',0,300,-300,0,'2016-08-12 01:08:03',NULL,'2016-08-12 07:16:03',NULL),(1254,23,3,33009,2016,'3',300,30,270,0,'2016-08-12 01:08:03',0,'2016-08-12 07:16:03',NULL),(1255,23,7,33018,2016,'4',0,400,-400,0,'2016-08-12 01:08:55',NULL,'2016-08-12 07:28:55',NULL),(1256,23,3,33007,2016,'4',400,40,360,0,'2016-08-12 01:08:55',0,'2016-08-12 07:28:55',NULL),(1257,23,7,33018,2016,'5',0,500,-500,0,'2016-08-12 01:08:37',NULL,'2016-08-12 07:29:37',NULL),(1258,23,3,33008,2016,'5',500,50,450,0,'2016-08-12 01:08:37',0,'2016-08-12 07:29:37',NULL),(1259,23,7,33018,2016,'6',0,600,-600,0,'2016-08-12 01:08:20',NULL,'2016-08-12 07:30:20',NULL),(1260,23,3,33009,2016,'6',600,60,540,0,'2016-08-12 01:08:20',0,'2016-08-12 07:30:20',NULL),(1261,23,7,33018,2016,'7',0,1808,-1808,0,'2016-08-12 01:08:45',0,'2016-08-12 07:30:45',NULL),(1262,23,3,33007,2016,'7',23,0,23,0,'2016-08-12 01:08:45',0,'2016-08-12 07:30:45',NULL),(1263,23,7,33018,2016,'8',0,11811.11,-11811.11,0,'2016-08-12 01:08:10',0,'2016-08-12 07:32:10',NULL),(1264,23,7,33018,2016,'9',0,202,-202,0,'2016-08-12 01:08:27',0,'2016-08-12 07:37:27',NULL),(1265,23,3,33009,2016,'9',900,0,900,0,'2016-08-12 01:08:27',NULL,'2016-08-12 07:37:27',NULL),(1266,23,7,33018,2016,'10',0,1000,-1000,0,'2016-08-12 01:08:43',NULL,'2016-08-12 07:38:43',NULL),(1267,23,3,33007,2016,'10',0,1090,-1090,0,'2016-08-12 01:08:43',0,'2016-08-12 07:38:43',NULL),(1268,23,7,33018,2016,'11',0,1100,-1100,0,'2016-08-12 01:08:40',NULL,'2016-08-12 07:39:40',NULL),(1269,23,3,33008,2016,'11',1100,0,1100,0,'2016-08-12 01:08:40',NULL,'2016-08-12 07:39:40',NULL),(1270,23,7,33018,2016,'12',0,1200,-1200,0,'2016-08-12 01:08:55',NULL,'2016-08-12 07:40:55',NULL),(1271,23,3,33009,2016,'12',1200,0,1200,0,'2016-08-12 01:08:55',NULL,'2016-08-12 07:40:55',NULL),(1272,23,8,33019,2016,'3',30,0,30,0,'2016-08-12 02:08:31',NULL,'2016-08-12 08:22:31',NULL),(1273,23,8,33019,2016,'4',40,0,40,0,'2016-08-12 02:08:56',NULL,'2016-08-12 08:31:56',NULL),(1274,23,8,33019,2016,'5',50,0,50,0,'2016-08-12 02:08:44',NULL,'2016-08-12 08:32:44',NULL),(1275,23,8,33019,2016,'6',60,0,60,0,'2016-08-12 02:08:04',NULL,'2016-08-12 08:33:04',NULL),(1276,23,8,33019,2016,'7',70,0,70,0,'2016-08-12 02:08:23',NULL,'2016-08-12 08:33:23',NULL),(1277,23,4,33013,2016,'8',2200,1411,789,0,'2016-08-14 20:08:20',0,'2016-08-15 02:10:20',NULL),(1278,23,3,33007,2017,'1',0,1000,-1000,0,'2016-08-14 22:08:21',0,'2016-08-15 04:18:21',NULL),(1279,23,4,33013,2017,'1',1000,0,1000,0,'2016-08-14 22:08:21',0,'2016-08-15 04:18:21',NULL),(1280,23,3,33007,2018,'2',0,5000,-5000,0,'2016-08-14 22:08:16',NULL,'2016-08-15 04:20:16',NULL),(1281,23,4,33013,2018,'2',5000,0,5000,0,'2016-08-14 22:08:16',NULL,'2016-08-15 04:20:16',NULL),(1282,23,3,33007,2018,'3',0,5500,-5500,0,'2016-08-14 22:08:50',NULL,'2016-08-15 04:21:50',NULL),(1283,23,4,33013,2018,'3',5500,0,5500,0,'2016-08-14 22:08:50',NULL,'2016-08-15 04:21:50',NULL),(1284,23,3,33009,2016,'8',1211141.2100000002,0,1211141.2100000002,0,'2016-08-15 00:08:40',0,'2016-08-15 06:49:40',NULL),(1285,23,3,33011,2016,'8',0,545,-545,0,'2016-08-15 01:08:09',0,'2016-08-15 07:12:09',NULL),(1286,12,3,32574,2016,'8',95,0,95,0,'2016-08-15 03:08:47',0,'2016-08-15 09:49:47',NULL),(1287,23,4,33014,2016,'8',0,200,-200,0,'2016-08-15 20:08:08',0,'2016-08-16 02:58:08',NULL),(1288,12,2,32563,2016,'8',2580,0,2580,0,'2016-08-15 21:08:22',NULL,'2016-08-16 03:02:22',NULL),(1289,24,3,33133,2016,'8',511.5,1480,-968.5,0,'2016-08-15 21:08:37',0,'2016-08-16 03:36:37',NULL),(1290,24,7,33144,2016,'8',0,3842.5,-3842.5,0,'2016-08-15 21:08:37',0,'2016-08-16 03:36:37',NULL),(1291,24,8,33145,2016,'8',480,0,480,0,'2016-08-15 21:08:06',0,'2016-08-16 03:39:06',NULL),(1292,25,7,33081,2016,'8',0,3510,-3510,0,'2016-08-15 21:08:12',0,'2016-08-16 03:43:12',NULL),(1293,25,3,33073,2016,'8',1900,3875,-1975,0,'2016-08-15 21:08:12',0,'2016-08-16 03:43:12',NULL),(1294,24,3,33134,2016,'8',730,733,-3,0,'2016-08-15 21:08:32',0,'2016-08-16 03:45:32',NULL),(1295,24,2,33122,2016,'8',2008,0,2008,0,'2016-08-15 21:08:32',0,'2016-08-16 03:45:32',NULL),(1296,25,3,33074,2016,'8',1490,115,1375,0,'2016-08-15 21:08:11',0,'2016-08-16 03:47:11',NULL),(1297,24,10,33155,2016,'8',100,0,100,0,'2016-08-15 21:08:48',NULL,'2016-08-16 03:48:48',NULL),(1298,25,3,33070,2016,'8',3000,2465,535,0,'2016-08-15 21:08:48',0,'2016-08-16 03:48:48',NULL),(1299,25,2,33059,2016,'8',100,0,100,0,'2016-08-15 21:08:48',NULL,'2016-08-16 03:48:48',NULL),(1300,24,3,33135,2016,'8',30,1520,-1490,0,'2016-08-15 21:08:53',0,'2016-08-16 03:50:53',NULL),(1301,24,10,33157,2016,'8',100,0,100,0,'2016-08-15 21:08:53',0,'2016-08-16 03:50:53',NULL),(1302,24,7,33144,2016,'3',0,10000,-10000,0,'2016-08-15 21:08:15',NULL,'2016-08-16 03:57:15',NULL),(1303,24,3,33135,2016,'3',10,0,10,0,'2016-08-15 21:08:15',0,'2016-08-16 03:57:15',NULL),(1304,25,3,33071,2016,'8',370,220,150,0,'2016-08-15 22:08:51',0,'2016-08-16 04:11:51',NULL),(1305,25,10,33097,2016,'8',30,0,30,0,'2016-08-15 22:08:51',0,'2016-08-16 04:11:51',NULL),(1306,25,8,33082,2016,'8',215,0,215,0,'2016-08-15 22:08:44',0,'2016-08-16 04:19:44',NULL),(1307,24,4,33139,2016,'8',1090,800,290,0,'2016-08-15 22:08:56',0,'2016-08-16 04:28:56',NULL),(1308,25,4,33076,2016,'8',125,-10,135,0,'2016-08-15 22:08:04',0,'2016-08-16 04:39:04',NULL),(1309,24,2,33126,2016,'8',450,0,450,0,'2016-08-16 00:08:32',NULL,'2016-08-16 06:20:32',NULL),(1310,24,4,33140,2016,'8',400,300,100,0,'2016-08-16 01:08:34',0,'2016-08-16 07:30:34',NULL),(1311,25,10,33088,2016,'8',60,0,60,0,'2016-08-16 02:08:21',NULL,'2016-08-16 08:01:21',NULL),(1312,24,4,33139,2016,'2',0,450,-450,0,'2016-08-16 02:08:22',NULL,'2016-08-16 08:17:22',NULL),(1313,24,3,33133,2016,'2',460,230,230,0,'2016-08-16 02:08:22',0,'2016-08-16 08:17:22',NULL),(1314,24,4,33139,2016,'6',0,100,-100,0,'2016-08-16 02:08:41',0,'2016-08-16 08:17:41',NULL),(1315,24,3,33133,2016,'6',920,0,920,0,'2016-08-16 02:08:41',0,'2016-08-16 08:17:41',NULL),(1316,24,4,33140,2016,'7',0,190,-190,0,'2016-08-16 02:08:57',NULL,'2016-08-16 08:17:57',NULL),(1317,24,3,33133,2016,'7',190,0,190,0,'2016-08-16 02:08:57',NULL,'2016-08-16 08:17:57',NULL),(1318,24,4,33140,2016,'2',0,10,-10,0,'2016-08-16 02:08:47',NULL,'2016-08-16 08:19:47',NULL),(1319,23,4,33013,2016,'7',0,200,-200,0,'2016-08-16 02:08:07',NULL,'2016-08-16 08:20:07',NULL),(1320,23,3,33008,2016,'7',0,23,-23,0,'2016-08-16 02:08:07',0,'2016-08-16 08:20:07',NULL),(1321,24,3,33133,2016,'3',0,449,-449,0,'2016-08-16 02:08:23',0,'2016-08-16 08:21:23',NULL),(1322,24,4,33139,2016,'3',50,0,50,0,'2016-08-16 02:08:23',NULL,'2016-08-16 08:21:23',NULL),(1323,25,4,33076,2016,'2',0,10,-10,0,'2016-08-16 02:08:34',NULL,'2016-08-16 08:21:34',NULL),(1324,25,3,33074,2016,'2',10,0,10,0,'2016-08-16 02:08:34',NULL,'2016-08-16 08:21:34',NULL),(1325,24,3,33134,2016,'2',230,450,-220,0,'2016-08-16 03:08:47',0,'2016-08-16 09:01:47',NULL),(1326,24,3,33134,2016,'3',100,0,100,0,'2016-08-16 03:08:17',NULL,'2016-08-16 09:02:17',NULL),(1327,25,2,33061,2016,'8',1200,0,1200,0,'2016-08-16 03:08:08',NULL,'2016-08-16 09:09:08',NULL),(1328,24,7,33144,2014,'2',0,4500,-4500,0,'2016-08-16 03:08:12',0,'2016-08-16 09:12:12',NULL),(1329,24,3,33133,2014,'2',4500,0,4500,0,'2016-08-16 03:08:12',0,'2016-08-16 09:12:12',NULL),(1330,25,4,33079,2016,'7',0,25,-25,0,'2016-08-16 03:08:09',NULL,'2016-08-16 09:13:09',NULL),(1331,25,3,33072,2016,'7',25,0,25,0,'2016-08-16 03:08:09',NULL,'2016-08-16 09:13:09',NULL),(1332,24,7,33144,2014,'8',0,4000,-4000,0,'2016-08-16 03:08:36',0,'2016-08-16 09:16:36',NULL),(1333,24,3,33133,2014,'8',4000,0,4000,0,'2016-08-16 03:08:36',0,'2016-08-16 09:16:36',NULL),(1334,25,3,33072,2016,'8',2000,3020,-1020,0,'2016-08-16 03:08:41',0,'2016-08-16 09:16:41',NULL),(1335,25,2,33062,2016,'8',3020,0,3020,0,'2016-08-16 03:08:41',0,'2016-08-16 09:16:41',NULL),(1336,24,7,33144,2015,'8',0,4000,-4000,0,'2016-08-16 03:08:25',0,'2016-08-16 09:17:25',NULL),(1337,24,3,33133,2015,'8',4000,0,4000,0,'2016-08-16 03:08:25',0,'2016-08-16 09:17:25',NULL),(1338,25,10,33085,2016,'8',100,0,100,0,'2016-08-16 03:08:04',NULL,'2016-08-16 09:31:04',NULL),(1339,25,2,33065,2016,'8',5,0,5,0,'2016-08-16 03:08:39',NULL,'2016-08-16 09:35:39',NULL),(1340,25,10,33099,2016,'8',10,0,10,0,'2016-08-16 03:08:33',NULL,'2016-08-16 09:48:33',NULL),(1341,25,10,33094,2016,'8',100,0,100,0,'2016-08-16 20:08:34',NULL,'2016-08-17 02:59:34',NULL),(1342,25,2,33064,2016,'8',200,0,200,0,'2016-08-16 21:08:00',NULL,'2016-08-17 03:02:00',NULL),(1343,24,2,33126,2016,'2',450,0,450,0,'2016-08-16 22:08:14',NULL,'2016-08-17 04:16:14',NULL),(1344,24,10,33158,2016,'8',289,0,289,0,'2016-08-16 22:08:56',NULL,'2016-08-17 04:39:56',NULL),(1345,24,10,33158,2016,'3',289,0,289,0,'2016-08-16 22:08:12',NULL,'2016-08-17 04:40:12',NULL),(1346,24,7,33144,2016,'6',0,820,-820,0,'2016-08-16 23:08:49',0,'2016-08-17 05:02:49',NULL),(1347,25,4,33077,2016,'8',400,2200,-1800,0,'2016-08-17 01:08:56',0,'2016-08-17 07:47:56',NULL),(1348,1,NULL,0,2016,'8',6,0,6,0,'2016-08-17 02:08:04',0,'2016-08-17 08:18:04',NULL),(1349,12,4,33078,2016,'8',0,1000,-1000,0,'2016-08-17 02:08:38',NULL,'2016-08-17 08:18:38',NULL),(1350,12,3,33072,2016,'8',1000,0,1000,0,'2016-08-17 02:08:38',NULL,'2016-08-17 08:18:38',NULL),(1351,12,NULL,NULL,2016,'8',NULL,NULL,NULL,0,'2016-08-17 03:08:02',0,'2016-08-17 09:26:02',NULL),(1352,12,4,33077,2016,'8',400,0,400,0,'2016-08-17 03:08:02',NULL,'2016-08-17 09:26:02',NULL),(1353,12,4,32580,2016,'8',0,123456680381,-123456680381,0,'2016-08-17 06:08:45',0,'2016-08-17 12:12:45',NULL),(1354,1,3,32517,2016,'8',0,10005,-10005,0,'2016-08-17 08:08:01',0,'2016-08-17 14:33:01',NULL),(1355,1,3,32519,2016,'8',1999.9,0,1999.9,0,'2016-08-17 08:08:41',0,'2016-08-17 14:51:41',NULL),(1356,1,3,32518,2016,'8',0,9,-9,0,'2016-08-17 09:08:23',0,'2016-08-17 15:08:23',NULL),(1357,23,3,33010,2016,'8',4992,0,4992,0,'2016-08-17 19:08:21',0,'2016-08-18 01:22:21',NULL),(1358,12,NULL,108,2016,'8',0,58,-58,0,'2016-08-17 22:08:33',NULL,'2016-08-18 04:12:33',NULL),(1359,12,4,32582,2016,'8',0,111111123630,-111111123630,0,'2016-08-17 22:08:21',0,'2016-08-18 04:40:21',NULL),(1360,12,NULL,0,2016,'8',0,58,-58,0,'2016-08-17 22:08:56',NULL,'2016-08-18 04:43:56',NULL),(1361,12,4,32578,2016,'8',0,45757,-45757,0,'2016-08-17 22:08:54',0,'2016-08-18 04:51:54',NULL),(1362,12,4,32581,2016,'8',0,11111112345,-11111112345,0,'2016-08-17 22:08:27',NULL,'2016-08-18 04:55:27',NULL),(1363,12,4,32579,2016,'8',0,466,-466,0,'2016-08-17 22:08:05',0,'2016-08-18 04:57:05',NULL),(1364,24,NULL,NULL,2016,'8',NULL,NULL,NULL,0,'2016-08-17 23:08:21',0,'2016-08-18 05:01:21',NULL),(1365,23,4,33015,2016,'8',0,30,-30,0,'2016-08-17 23:08:17',NULL,'2016-08-18 05:05:17',NULL),(1366,25,NULL,NULL,2016,'8',NULL,NULL,NULL,0,'2016-08-17 23:08:55',0,'2016-08-18 05:05:55',NULL),(1367,13,10,32787,2016,'8',100,0,100,0,'2016-08-19 01:08:54',0,'2016-08-19 07:28:54',NULL),(1368,13,10,32793,2016,'8',1000,0,1000,0,'2016-08-19 01:08:54',0,'2016-08-19 07:28:54',NULL),(1369,13,10,32780,2016,'8',0.6,0,0.6,0,'2016-08-19 01:08:17',NULL,'2016-08-19 07:36:17',NULL),(1370,13,10,32786,2016,'8',10,0,10,0,'2016-08-19 01:08:17',NULL,'2016-08-19 07:36:17',NULL),(1371,23,4,33013,2016,'1',1800,0,1800,0,'2016-08-21 20:08:26',0,'2016-08-22 02:24:26',NULL),(1372,23,4,33014,2016,'1',2100,0,2100,0,'2016-08-21 20:08:26',0,'2016-08-22 02:24:26',NULL),(1373,23,4,33015,2016,'1',2400,0,2400,0,'2016-08-21 20:08:26',0,'2016-08-22 02:24:26',NULL),(1374,23,4,33016,2016,'1',2700,0,2700,0,'2016-08-21 20:08:26',0,'2016-08-22 02:24:26',NULL),(1375,23,4,33017,2016,'1',3000,0,3000,0,'2016-08-21 20:08:26',0,'2016-08-22 02:24:26',NULL),(1376,1,10,32530,2016,'8',6,0,6,0,'2016-08-22 00:08:41',0,'2016-08-22 06:28:41',NULL),(1377,1,10,32536,2016,'8',100,0,100,0,'2016-08-22 00:08:41',NULL,'2016-08-22 06:28:41',NULL),(1378,1,10,32529,2016,'8',16,0,16,0,'2016-08-22 00:08:54',0,'2016-08-22 06:30:54',NULL),(1379,1,10,32531,2016,'8',2.99,0,2.99,0,'2016-08-22 00:08:55',0,'2016-08-22 06:30:55',NULL),(1380,1,10,32535,2016,'8',11,0,11,0,'2016-08-22 00:08:55',0,'2016-08-22 06:30:55',NULL),(1381,23,3,33009,2016,'2',0,4447,-4447,0,'2016-08-28 23:08:30',NULL,'2016-08-29 05:20:30',NULL),(1382,23,3,33010,2016,'2',4447,0,4447,0,'2016-08-28 23:08:30',NULL,'2016-08-29 05:20:30',NULL),(1383,23,3,33007,2016,'3',0,77899,-77899,0,'2016-08-28 23:08:58',NULL,'2016-08-29 05:20:58',NULL),(1384,23,3,33008,2016,'3',77899,0,77899,0,'2016-08-28 23:08:58',NULL,'2016-08-29 05:20:58',NULL),(1385,23,3,33011,2016,'4',0,545,-545,0,'2016-08-28 23:08:11',NULL,'2016-08-29 05:21:11',NULL),(1386,23,3,33010,2016,'4',545,0,545,0,'2016-08-28 23:08:11',NULL,'2016-08-29 05:21:11',NULL),(1387,23,3,33007,2016,'5',0,5555,-5555,0,'2016-08-28 23:08:30',NULL,'2016-08-29 05:21:30',NULL),(1388,23,3,33009,2016,'5',5555,0,5555,0,'2016-08-28 23:08:30',NULL,'2016-08-29 05:21:30',NULL),(1389,1,10,32532,2016,'8',0.01,0,0.01,0,'2016-08-29 02:08:03',NULL,'2016-08-29 08:15:03',NULL),(1390,1,10,32540,2016,'8',1,0,1,0,'2016-08-29 02:08:29',NULL,'2016-08-29 08:27:29',NULL),(1391,13,10,32781,2016,'8',980,0,980,0,'2016-08-29 19:08:59',0,'2016-08-30 01:09:59',NULL),(1392,23,3,33007,2016,'9',1701,19092,-17391,0,'2016-08-31 19:09:14',0,'2016-09-01 01:28:14',NULL),(1393,23,3,33008,2016,'9',101,0,101,0,'2016-08-31 19:09:37',0,'2016-09-01 01:28:37',NULL),(1394,23,8,33019,2016,'9',100,0,100,0,'2016-08-31 19:09:29',0,'2016-09-01 01:29:29',NULL),(1395,13,3,32761,2016,'9',1449,7316,-5867,0,'2016-08-31 19:09:51',0,'2016-09-01 01:33:51',NULL),(1396,13,8,32773,2016,'9',7193,0,7193,0,'2016-08-31 19:09:51',0,'2016-09-01 01:33:51',NULL),(1397,13,7,32772,2016,'9',0,3771,-3771,0,'2016-08-31 19:09:14',0,'2016-09-01 01:34:14',NULL),(1398,23,10,33048,2016,'9',1000,0,1000,0,'2016-08-31 19:09:54',NULL,'2016-09-01 01:53:54',NULL),(1399,23,10,33036,2016,'10',1090,0,1090,0,'2016-08-31 19:09:18',NULL,'2016-09-01 01:56:18',NULL),(1400,23,2,33002,2016,'9',1000,0,1000,0,'2016-08-31 19:09:30',NULL,'2016-09-01 01:57:30',NULL),(1401,23,4,33013,2016,'9',19092,0,19092,0,'2016-08-31 20:09:20',0,'2016-09-01 02:03:20',NULL),(1402,13,NULL,0,2016,'9',0,800,-800,0,'2016-08-31 20:09:29',0,'2016-09-01 02:08:29',NULL),(1403,13,3,32765,2016,'9',11133,150,10983,0,'2016-08-31 20:09:36',0,'2016-09-01 02:12:36',NULL),(1404,1,3,32515,2016,'9',1004938,10100,994838,0,'2016-08-31 20:09:21',0,'2016-09-01 02:13:21',NULL),(1405,1,8,32527,2016,'9',3,0,3,0,'2016-08-31 20:09:21',0,'2016-09-01 02:13:21',NULL),(1406,1,3,32516,2016,'9',100,0,100,0,'2016-08-31 20:09:06',0,'2016-09-01 02:16:06',NULL),(1407,1,4,32522,2016,'9',10000,1000000,-990000,0,'2016-09-01 01:09:00',0,'2016-09-01 07:07:00',NULL),(1408,13,3,32762,2016,'9',2445,0,2445,0,'2016-09-01 03:09:02',0,'2016-09-01 09:03:02',NULL),(1409,13,4,32767,2016,'9',0,2312,-2312,0,'2016-09-01 21:09:58',NULL,'2016-09-02 03:58:58',NULL),(1410,1,NULL,0,2016,'9',0,1140,-1140,0,'2016-09-04 03:09:45',0,'2016-09-04 09:21:45',NULL),(1411,23,NULL,0,2016,'9',0,1600,-1600,0,'2016-09-04 22:09:49',0,'2016-09-05 04:58:49',NULL),(1412,23,10,33021,2016,'9',100,0,100,0,'2016-09-05 00:09:44',NULL,'2016-09-05 06:24:44',NULL),(1413,13,10,32777,2016,'9',100,0,100,0,'2016-09-05 00:09:20',NULL,'2016-09-05 06:27:20',NULL),(1414,12,NULL,0,2016,'9',0,294,-294,0,'2016-09-05 02:09:39',0,'2016-09-05 08:13:39',NULL),(1415,12,3,32572,2016,'9',1715,5321,-3606,0,'2016-09-05 02:09:39',0,'2016-09-05 08:13:39',NULL),(1416,12,3,32573,2016,'9',1903,0,1903,0,'2016-09-08 21:09:47',0,'2016-09-09 03:42:47',NULL),(1417,1,7,32526,2016,'9',0,3798,-3798,0,'2016-09-16 01:09:31',0,'2016-09-16 07:04:31',NULL),(1418,39,3,33310,2016,'9',56250,13932,42318,0,'2016-09-26 01:09:26',0,'2016-09-26 07:05:26',NULL),(1419,39,7,33321,2016,'9',0,91548,-91548,0,'2016-09-26 01:09:26',0,'2016-09-26 07:05:26',NULL),(1420,12,7,32583,2016,'9',0,3578,-3578,0,'2016-09-26 01:09:01',0,'2016-09-26 07:14:01',NULL),(1421,39,8,33322,2016,'9',9543,0,9543,0,'2016-09-26 01:09:22',0,'2016-09-26 07:16:22',NULL),(1422,12,8,32584,2016,'9',1777,0,1777,0,'2016-09-26 01:09:56',0,'2016-09-26 07:33:56',NULL),(1423,39,3,33311,2016,'9',7299,2793,4506,0,'2016-09-26 01:09:24',0,'2016-09-26 07:44:24',NULL),(1424,39,3,33312,2016,'9',33698,150,33548,0,'2016-09-26 18:09:43',0,'2016-09-27 00:54:43',NULL),(1425,39,4,33316,2016,'9',3999,3000,999,0,'2016-09-26 19:09:27',0,'2016-09-27 01:30:27',NULL),(1426,12,3,32575,2016,'9',456,0,456,0,'2016-09-26 20:09:07',0,'2016-09-27 02:13:07',NULL),(1427,12,3,32574,2016,'9',277,0,277,0,'2016-09-26 20:09:16',0,'2016-09-27 02:34:16',NULL),(1428,12,4,32578,2016,'9',2369,0,2369,0,'2016-09-26 22:09:50',0,'2016-09-27 04:38:50',NULL),(1429,12,4,32579,2016,'9',122,0,122,0,'2016-09-26 22:09:33',NULL,'2016-09-27 04:41:33',NULL),(1430,12,4,32580,2016,'9',332,0,332,0,'2016-09-26 22:09:01',0,'2016-09-27 04:44:01',NULL),(1431,12,4,32581,2016,'9',122,0,122,0,'2016-09-26 22:09:15',NULL,'2016-09-27 04:46:15',NULL),(1432,39,10,33328,2016,'9',239,0,239,0,'2016-09-27 01:09:39',0,'2016-09-27 07:26:39',NULL),(1433,39,2,33299,2016,'9',395,0,395,0,'2016-09-27 01:09:44',0,'2016-09-27 07:27:44',NULL),(1434,40,3,33373,2016,'9',57080,9522,47558,0,'2016-09-28 19:09:23',0,'2016-09-29 01:15:23',NULL),(1435,40,7,33384,2016,'9',0,62951,-62951,0,'2016-09-28 19:09:23',0,'2016-09-29 01:15:23',NULL),(1436,40,8,33385,2016,'9',2672,0,2672,0,'2016-09-28 19:09:46',0,'2016-09-29 01:18:46',NULL),(1437,40,10,33391,2016,'9',350,0,350,0,'2016-09-28 19:09:37',0,'2016-09-29 01:30:37',NULL),(1438,40,10,33410,2016,'9',1500,0,1500,0,'2016-09-28 19:09:36',NULL,'2016-09-29 01:31:36',NULL),(1439,40,7,33384,2016,'10',0,87550,-87550,0,'2016-09-28 19:09:03',0,'2016-09-29 01:33:03',NULL),(1440,40,3,33373,2016,'10',84000,10041,73959,0,'2016-09-28 19:09:03',0,'2016-09-29 01:33:03',NULL),(1441,40,3,33375,2016,'9',5000,0,5000,0,'2016-09-28 20:09:38',0,'2016-09-29 02:18:38',NULL),(1442,40,3,33374,2016,'9',0,154300,-154300,0,'2016-09-28 21:09:59',0,'2016-09-29 03:41:59',NULL),(1443,40,2,33365,2016,'9',150000,0,150000,0,'2016-09-28 21:09:59',NULL,'2016-09-29 03:41:59',NULL),(1444,40,4,33380,2016,'9',4300,0,4300,0,'2016-09-28 22:09:59',0,'2016-09-29 04:03:59',NULL),(1445,40,3,33374,2016,'10',0,100,-100,0,'2016-10-03 22:10:19',0,'2016-10-04 04:10:19',NULL),(1446,40,3,33375,2016,'10',100,0,100,0,'2016-10-03 22:10:19',0,'2016-10-04 04:10:19',NULL),(1447,40,10,33387,2016,'10',1001,0,1001,0,'2016-10-09 22:10:10',0,'2016-10-10 04:57:10',NULL),(1448,40,8,33385,2016,'10',9040,0,9040,0,'2016-10-11 01:10:07',0,'2016-10-11 07:17:07',NULL);
/*!40000 ALTER TABLE `comp_acc_det` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_acct_group_bak`
--

DROP TABLE IF EXISTS `comp_acct_group_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_acct_group_bak` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `acctTypeID` int(11) NOT NULL,
  `acctGroupName` varchar(128) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `parentID` int(11) NOT NULL,
  `title` tinyint(1) DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `refID` int(11) NOT NULL COMMENT '_ref_acct_group.ID',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_acct_group_bak`
--

LOCK TABLES `comp_acct_group_bak` WRITE;
/*!40000 ALTER TABLE `comp_acct_group_bak` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_acct_group_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_acct_type`
--

DROP TABLE IF EXISTS `comp_acct_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_acct_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `acctTypeName` varchar(128) NOT NULL,
  `acctClass` smallint(6) NOT NULL,
  `balance` smallint(1) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_acct_type`
--

LOCK TABLES `comp_acct_type` WRITE;
/*!40000 ALTER TABLE `comp_acct_type` DISABLE KEYS */;
INSERT INTO `comp_acct_type` VALUES (1,'Assets',0,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00'),(2,'Liability',0,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00'),(3,'Income',1,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00'),(4,'Expences',1,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00'),(5,'Equity',0,0,1,'2015-11-24 10:58:11',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_acct_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_address`
--

DROP TABLE IF EXISTS `comp_address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_address` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `addressName` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_address`
--

LOCK TABLES `comp_address` WRITE;
/*!40000 ALTER TABLE `comp_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_alert_table`
--

DROP TABLE IF EXISTS `comp_alert_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_alert_table` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `acctTypeID` int(11) NOT NULL,
  `badRelief` tinyint(1) NOT NULL,
  `registration` tinyint(1) NOT NULL,
  `gstReturn` tinyint(1) NOT NULL,
  `accountReceivable` tinyint(1) NOT NULL,
  `accountPayable` tinyint(1) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_alert_table`
--

LOCK TABLES `comp_alert_table` WRITE;
/*!40000 ALTER TABLE `comp_alert_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_alert_table` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_bank`
--

DROP TABLE IF EXISTS `comp_bank`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_bank` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `bankName` varchar(64) NOT NULL,
  `bankShortName` varchar(8) NOT NULL,
  `branch` varchar(64) NOT NULL,
  `bankAccountNo` varchar(32) NOT NULL,
  `currentBalance` double NOT NULL,
  `line1` varchar(64) NOT NULL,
  `line2` varchar(64) NOT NULL,
  `line3` varchar(64) NOT NULL,
  `city` varchar(64) NOT NULL,
  `PostCode` varchar(8) NOT NULL,
  `bankStateID` int(11) NOT NULL,
  `bankCountryID` int(11) NOT NULL,
  `attention` varchar(32) NOT NULL,
  `phoneNumber1` varchar(64) NOT NULL,
  `phoneNumber2` varchar(64) NOT NULL,
  `fax` varchar(64) NOT NULL,
  `generalNote` varchar(255) NOT NULL,
  `creditLimit` int(8) NOT NULL,
  `creditLimitAlert` tinyint(1) NOT NULL,
  `linkAccountID` int(11) NOT NULL,
  `createdDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `email` varchar(32) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` int(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=346 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_bank`
--

LOCK TABLES `comp_bank` WRITE;
/*!40000 ALTER TABLE `comp_bank` DISABLE KEYS */;
INSERT INTO `comp_bank` VALUES (81,1,'Bank & Cash Balance','','','123',0,'','','','','',0,0,'','','','','',0,0,32514,'0000-00-00',1,'',0,'2015-11-23 16:00:00',0,'2015-12-01 03:18:09',0),(82,1,'CIMB','','','234',1000,'','','','','',0,0,'','','','','',0,0,32515,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 08:52:20',0),(83,1,'Bank Rakyat','','','345',500,'','','','','',0,0,'','','','','',0,0,32516,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 08:52:29',0),(84,1,'Affin Bank ','','','456',200,'','','','','',0,0,'','','','','',0,0,32517,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 09:36:30',0),(85,1,'Petty Cash (Store)','','','567',-100,'','','','','',0,0,'','','','','',0,0,32518,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 09:40:28',0),(86,1,'Advancement/Drawing','','','678',-200,'','','','','',0,0,'','','','','',0,0,32519,'0000-00-00',1,'',0,'2014-12-31 16:00:00',0,'2015-12-08 08:13:48',0),(108,12,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,32572,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(109,12,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32573,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(110,12,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32574,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(111,12,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32575,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(112,12,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32576,'0000-00-00',0,'',0,'2016-06-09 09:52:58',0,'0000-00-00 00:00:00',0),(115,3,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,32635,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(116,3,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32636,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(117,3,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32637,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(118,3,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32638,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(119,3,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32639,'0000-00-00',0,'',0,'2016-06-10 02:41:33',0,'0000-00-00 00:00:00',0),(122,13,'MBB','','','',1,'','','','','',0,0,'','','','','',0,0,32761,'0000-00-00',0,'',0,'2016-06-12 16:00:00',0,'2016-08-10 08:20:30',0),(123,13,'CIMB','','','',10000,'','','','','',0,0,'','','','','',0,0,32762,'0000-00-00',0,'',0,'2016-06-12 16:00:00',0,'2016-07-13 07:15:46',0),(124,13,'OCBC','','','',20000,'','','','','',0,0,'','','','','',0,0,32763,'0000-00-00',0,'',0,'2016-06-12 16:00:00',0,'2016-08-09 02:08:03',1),(125,13,'Bank Islam','','','',20,'','','','','',0,0,'','','','','',0,0,32764,'0000-00-00',0,'',0,'2016-06-12 16:00:00',0,'2016-08-08 08:29:06',1),(126,13,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32765,'0000-00-00',0,'',0,'2016-06-12 16:00:00',0,'2016-06-28 08:19:33',0),(129,14,'Maybank','','','',10000,'','','','','',0,0,'','','','','',0,0,32824,'0000-00-00',0,'',0,'2016-06-29 16:00:00',0,'2016-06-30 06:53:36',0),(130,14,'BIMB','','','',10,'','','','','',0,0,'','','','','',0,0,32825,'0000-00-00',0,'',0,'2016-06-27 16:00:00',0,'2016-06-28 08:37:35',0),(131,14,'Bank Rakyat','','','',1450,'','','','','',0,0,'','','','','',0,0,32826,'0000-00-00',0,'',0,'2014-12-31 16:00:00',0,'2016-06-28 08:15:57',0),(132,14,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32827,'0000-00-00',0,'',0,'2016-06-28 06:55:23',0,'0000-00-00 00:00:00',0),(133,14,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32828,'0000-00-00',0,'',0,'2016-06-28 06:55:23',0,'0000-00-00 00:00:00',0),(134,22,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,32944,'0000-00-00',0,'',0,'2016-08-11 05:08:41',0,'0000-00-00 00:00:00',0),(135,22,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,32945,'0000-00-00',0,'',0,'2016-08-11 05:08:41',0,'0000-00-00 00:00:00',0),(136,22,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,32946,'0000-00-00',0,'',0,'2016-08-11 05:08:41',0,'0000-00-00 00:00:00',0),(137,22,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32947,'0000-00-00',0,'',0,'2016-08-11 05:08:41',0,'0000-00-00 00:00:00',0),(138,22,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32948,'0000-00-00',0,'',0,'2016-08-11 05:08:41',0,'0000-00-00 00:00:00',0),(141,21,'Bank1 	','','','',10000,'','','','','',0,0,'','','','','',0,0,32881,'0000-00-00',0,'',0,'2016-08-10 16:00:00',0,'2016-08-11 07:45:06',0),(142,21,'Bank2	','','','',8999,'','','','','',0,0,'','','','','',0,0,32882,'0000-00-00',0,'',0,'2016-08-10 16:00:00',0,'2016-08-11 07:45:27',0),(143,21,'Bank3	','','','',12999,'','','','','',0,0,'','','','','',0,0,32883,'0000-00-00',0,'',0,'2016-08-10 16:00:00',0,'2016-08-11 07:45:37',0),(144,21,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,32884,'0000-00-00',0,'',0,'2016-08-11 07:29:44',0,'0000-00-00 00:00:00',0),(145,21,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,32885,'0000-00-00',0,'',0,'2016-08-11 07:29:44',0,'0000-00-00 00:00:00',0),(148,23,'Bangkok','','','',100,'','','','','',0,0,'','','','','',0,0,33007,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-01 02:09:38',0),(149,23,'Bank2	','','','',12999,'','','','','',0,0,'','','','','',0,0,33008,'0000-00-00',0,'',0,'2016-08-10 16:00:00',0,'2016-08-11 08:40:22',0),(150,23,'Bank3	','','','',8999,'','','','','',0,0,'','','','','',0,0,33009,'0000-00-00',0,'',0,'2016-08-10 16:00:00',0,'2016-08-11 08:40:31',0),(151,23,'Petty Cash 1	','','','',20,'','','','','',0,0,'','','','','',0,0,33010,'0000-00-00',0,'',0,'2016-08-10 16:00:00',0,'2016-08-15 02:01:00',0),(152,23,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33011,'0000-00-00',0,'',0,'2016-08-10 16:00:00',0,'2016-08-15 02:01:08',0),(155,25,'maybank','','','',1000,'','','','','',0,0,'','','','','',0,0,33070,'0000-00-00',0,'',0,'2016-08-15 16:00:00',0,'2016-08-16 03:34:29',0),(156,25,'cimb','','','',20,'','','','','',0,0,'','','','','',0,0,33071,'0000-00-00',0,'',0,'2016-08-15 16:00:00',0,'2016-08-16 03:34:45',0),(157,25,'Bank islam','','','',10,'','','','','',0,0,'','','','','',0,0,33072,'0000-00-00',0,'',0,'2016-08-15 16:00:00',0,'2016-08-16 03:35:36',0),(158,25,'Petty Cash 1	','','','',3000,'','','','','',0,0,'','','','','',0,0,33073,'0000-00-00',0,'',0,'2016-08-15 16:00:00',0,'2016-08-16 03:35:54',0),(159,25,'Petty Cash 2	','','','',0.5,'','','','','',0,0,'','','','','',0,0,33074,'0000-00-00',0,'',0,'2016-08-15 16:00:00',0,'2016-08-16 03:36:09',0),(162,24,'Maybank','','','',100,'','','','','',0,0,'','','','','',0,0,33133,'0000-00-00',0,'',0,'2016-08-15 16:00:00',0,'2016-08-16 03:34:32',0),(163,24,'Bank Islam','','','',100,'','','','','',0,0,'','','','','',0,0,33134,'0000-00-00',0,'',0,'2016-08-15 16:00:00',0,'2016-08-16 03:34:50',0),(164,24,'RHB Bank','','','',100,'','','','','',0,0,'','','','','',0,0,33135,'0000-00-00',0,'',0,'2016-08-15 16:00:00',0,'2016-08-16 03:35:07',0),(165,24,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33136,'0000-00-00',0,'',0,'2016-08-16 03:33:51',0,'0000-00-00 00:00:00',0),(166,24,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33137,'0000-00-00',0,'',0,'2016-08-16 03:33:51',0,'0000-00-00 00:00:00',0),(167,26,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,33190,'0000-00-00',0,'',0,'2016-08-19 09:07:43',0,'0000-00-00 00:00:00',0),(168,26,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,33191,'0000-00-00',0,'',0,'2016-08-19 09:07:43',0,'0000-00-00 00:00:00',0),(169,26,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,33192,'0000-00-00',0,'',0,'2016-08-19 09:07:43',0,'0000-00-00 00:00:00',0),(170,26,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33193,'0000-00-00',0,'',0,'2016-08-19 09:07:43',0,'0000-00-00 00:00:00',0),(171,26,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33194,'0000-00-00',0,'',0,'2016-08-19 09:07:43',0,'0000-00-00 00:00:00',0),(172,39,'BIMB','','','',1000,'','','','','',0,0,'','','','','',0,0,33310,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:00',0),(173,39,'CIMB','','','',2000,'','','','','',0,0,'','','','','',0,0,33311,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:19',0),(174,39,'MBB','','','',3000,'','','','','',0,0,'','','','','',0,0,33312,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:33',0),(175,39,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33313,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:44',1),(176,39,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33314,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:50',1),(179,40,'MBB','','','',10000,'','','','','',0,0,'','','','','',0,0,33373,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-29 00:59:53',0),(180,40,'CIMB','','','',170000,'','','','','',0,0,'','','','','',0,0,33374,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-29 03:43:40',0),(181,40,'BIMB','','','',30000,'','','','','',0,0,'','','','','',0,0,33375,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-29 01:00:28',0),(182,40,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,33376,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-29 01:00:36',1),(183,40,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,33377,'0000-00-00',0,'',0,'2015-12-31 16:00:00',0,'2016-09-29 01:00:41',1),(334,70,'Bank1 	','','','',0,'','','','','',0,0,'','','','','',0,0,35140,'0000-00-00',1,'',0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(335,70,'Bank2	','','','',0,'','','','','',0,0,'','','','','',0,0,35141,'0000-00-00',1,'',0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(336,70,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,35142,'0000-00-00',1,'',0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(337,70,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,35143,'0000-00-00',1,'',0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(338,70,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,35144,'0000-00-00',1,'',0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(339,73,'Bank1 	','','','',90000,'','','','','',0,0,'','','','','',0,0,35197,'0000-00-00',0,'',0,'2016-12-05 16:00:00',0,'2016-12-06 04:55:21',0),(340,73,'Bank2	','','','',4000,'','','','','',0,0,'','','','','',0,0,35198,'0000-00-00',0,'',0,'2016-12-05 16:00:00',0,'2016-12-06 06:58:47',0),(341,73,'Bank3	','','','',0,'','','','','',0,0,'','','','','',0,0,35199,'0000-00-00',0,'',0,'2016-12-01 01:10:00',0,'0000-00-00 00:00:00',0),(342,73,'Petty Cash 1	','','','',0,'','','','','',0,0,'','','','','',0,0,35200,'0000-00-00',0,'',0,'2016-12-01 01:10:00',0,'0000-00-00 00:00:00',0),(343,73,'Petty Cash 2	','','','',0,'','','','','',0,0,'','','','','',0,0,35201,'0000-00-00',0,'',0,'2016-12-01 01:10:00',0,'0000-00-00 00:00:00',0);
/*!40000 ALTER TABLE `comp_bank` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_bank_reconcile`
--

DROP TABLE IF EXISTS `comp_bank_reconcile`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_bank_reconcile` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `bankLinkAcctCode` int(11) NOT NULL,
  `reconcileDate` date NOT NULL,
  `reconcileBalance` double NOT NULL,
  `concileDebit` double NOT NULL,
  `concileCredit` double NOT NULL,
  `glBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_bank_reconcile`
--

LOCK TABLES `comp_bank_reconcile` WRITE;
/*!40000 ALTER TABLE `comp_bank_reconcile` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_bank_reconcile` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_bank_reconcile_track_back`
--

DROP TABLE IF EXISTS `comp_bank_reconcile_track_back`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_bank_reconcile_track_back` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `reconID` int(11) NOT NULL,
  `transDate` date NOT NULL,
  `refNo` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `debitAmount` double NOT NULL,
  `creditAmount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_bank_reconcile_track_back`
--

LOCK TABLES `comp_bank_reconcile_track_back` WRITE;
/*!40000 ALTER TABLE `comp_bank_reconcile_track_back` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_bank_reconcile_track_back` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_budget`
--

DROP TABLE IF EXISTS `comp_budget`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_budget` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `acctGroupID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `year` int(11) DEFAULT NULL,
  `period` int(2) DEFAULT NULL,
  `amountdr` double DEFAULT NULL,
  `amountcr` double DEFAULT NULL,
  `total` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Index 2` (`companyID`,`acctID`,`year`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_budget`
--

LOCK TABLES `comp_budget` WRITE;
/*!40000 ALTER TABLE `comp_budget` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_budget` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_in_`
--

DROP TABLE IF EXISTS `comp_cash_in_`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_in_` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `locationID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `paymentFrom` varchar(128) NOT NULL,
  `totalAmountIncludeTax` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalamountExcludeTax` double NOT NULL,
  `discount` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `amountReceived` double NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_in_`
--

LOCK TABLES `comp_cash_in_` WRITE;
/*!40000 ALTER TABLE `comp_cash_in_` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_in_` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_in_detail_item_`
--

DROP TABLE IF EXISTS `comp_cash_in_detail_item_`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_in_detail_item_` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `cashInID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `quantity` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_in_detail_item_`
--

LOCK TABLES `comp_cash_in_detail_item_` WRITE;
/*!40000 ALTER TABLE `comp_cash_in_detail_item_` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_in_detail_item_` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_in_detail_service_`
--

DROP TABLE IF EXISTS `comp_cash_in_detail_service_`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_in_detail_service_` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `cashInID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `itemdescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_in_detail_service_`
--

LOCK TABLES `comp_cash_in_detail_service_` WRITE;
/*!40000 ALTER TABLE `comp_cash_in_detail_service_` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_in_detail_service_` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_sales`
--

DROP TABLE IF EXISTS `comp_cash_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_sales` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `locationID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `paymentFrom` varchar(128) NOT NULL,
  `totalAmountIncludeTax` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalamountExcludeTax` double NOT NULL,
  `discount` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `amountReceived` double NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_sales`
--

LOCK TABLES `comp_cash_sales` WRITE;
/*!40000 ALTER TABLE `comp_cash_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_sales` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `triger_cash_sales` BEFORE INSERT ON `comp_cash_sales`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_cash_sales

                    where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_cash_sales_charges`
--

DROP TABLE IF EXISTS `comp_cash_sales_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_sales_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `cashSaleID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_sales_charges`
--

LOCK TABLES `comp_cash_sales_charges` WRITE;
/*!40000 ALTER TABLE `comp_cash_sales_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_sales_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_cash_sales_detail`
--

DROP TABLE IF EXISTS `comp_cash_sales_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_cash_sales_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `lineNo` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_cash_sales_detail`
--

LOCK TABLES `comp_cash_sales_detail` WRITE;
/*!40000 ALTER TABLE `comp_cash_sales_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_cash_sales_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_chart_of_acct`
--

DROP TABLE IF EXISTS `comp_chart_of_acct`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_chart_of_acct` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDesc` varchar(128) NOT NULL,
  `openingBalanceDr` double NOT NULL,
  `openingBalanceCr` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=35245 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_chart_of_acct`
--

LOCK TABLES `comp_chart_of_acct` WRITE;
/*!40000 ALTER TABLE `comp_chart_of_acct` DISABLE KEYS */;
INSERT INTO `comp_chart_of_acct` VALUES (32500,1,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32501,1,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2015-11-24 11:11:03',0,'2015-11-25 06:11:12',0),(32502,1,1,'130000000','Current Retained Profit/(Loss)    ','',0,0,0,'2015-11-24 11:11:03',0,'2015-11-25 06:12:14',0),(32503,1,2,'200000000','Fixed Asset	','',0,0,0,'2015-11-24 11:11:03',0,'2015-11-25 06:12:50',0),(32504,1,2,'200000100','Furniture & Fixtures','',5,0,0,'2015-08-11 16:00:00',0,'2016-06-10 01:16:04',1),(32505,1,2,'200000200','Office Equipment ','',0,0,0,'2015-11-23 16:00:00',0,'2015-12-03 07:31:35',0),(32506,1,2,'200000300','Computer & Software ','',0,0,0,'2015-11-23 16:00:00',0,'2015-12-03 07:31:06',0),(32507,1,2,'200000400','Motor Vehicle ','',0,0,0,'2015-11-23 16:00:00',0,'2015-12-03 07:31:14',0),(32508,1,2,'200000500','Machinery & Engine ','',0,0,0,'2015-11-23 16:00:00',0,'2015-12-03 07:31:22',0),(32509,1,2,'200000600','Renovation	 ','',0,0,0,'2015-11-23 16:00:00',0,'2015-12-03 07:31:40',0),(32510,1,2,'200000700','Store Equipment ','',0,0,0,'2015-04-02 16:00:00',0,'2015-12-03 07:31:46',0),(32511,1,2,'200000800','Asset 8','',500,0,0,'0000-00-00 00:00:00',0,'2016-05-18 01:08:13',0),(32512,1,2,'200000900','Asset 9	 ','',1,0,0,'2015-11-23 16:00:00',0,'2015-12-03 07:31:55',0),(32513,1,2,'200001000','Other Asset	 ','',1,0,0,'2015-11-23 16:00:00',0,'2015-12-03 07:31:58',0),(32514,1,3,'220000000','Bank & Cash Balance	','',0,0,0,'2015-11-24 11:11:03',0,'2015-11-24 11:37:46',0),(32515,1,3,'220000100','CIMB','',1000,0,0,'2014-12-31 16:00:00',0,'2015-12-08 08:52:20',0),(32516,1,3,'220000200','Bank Rakyat','',500,0,0,'2014-12-31 16:00:00',0,'2015-12-08 08:52:29',0),(32517,1,3,'220000300','Affin Bank ','',200,0,0,'2014-12-31 16:00:00',0,'2015-12-08 09:36:30',0),(32518,1,3,'220000400','Petty Cash (Store)','',0,100,0,'2014-12-31 16:00:00',0,'2015-12-08 09:40:28',0),(32519,1,3,'220000500','Advancement/Drawing','',0,200,0,'2014-12-31 16:00:00',0,'2015-12-08 08:13:48',0),(32520,1,4,'370000000','Borrowing	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32521,1,4,'370000100','Tekun Nasional Berhad ','',0,5000,0,'2014-12-31 16:00:00',0,'2016-06-03 07:45:24',1),(32522,1,4,'370000200','SME Bank','',0,20000,0,'2015-10-10 16:00:00',0,'2015-12-03 11:07:33',0),(32523,1,4,'370000300','Amanah Ikhtiar','',0,6000,0,'2015-11-01 16:00:00',0,'2015-12-08 09:55:09',0),(32524,1,4,'370000400','MARA','',0,1500,0,'2015-11-10 16:00:00',0,'2015-12-08 10:10:12',0),(32525,1,4,'370000500','Hong Leong','',0,1000,0,'2015-11-23 16:00:00',0,'2015-12-08 10:02:14',0),(32526,1,7,'400000000','Sales	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32527,1,8,'500000000','Cost of Goods Sold	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32528,1,35,'700000000','Others Income 	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32529,1,10,'810000100','Accounting & Legal','',0,0,0,'2015-11-24 11:11:03',0,'2015-11-30 06:42:30',0),(32530,1,10,'810000200','Advertising & Marketing','',0,0,0,'2015-11-24 11:11:03',0,'2015-11-30 06:42:36',0),(32531,1,10,'810000300','Commissions	','',0,0,0,'2015-11-24 11:11:03',0,'2015-11-30 06:42:42',0),(32532,1,10,'810000400','Depreciation Expense	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32533,1,10,'810000500','Electricity & water	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32534,1,10,'810000600','GST- Non Claimable	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32535,1,10,'810000700','Insurance Premium	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32536,1,10,'810000800','Late Payment Charges	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32537,1,10,'810000900','Medical fee	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32538,1,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32539,1,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32540,1,10,'810001200','Office expenses	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32541,1,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32542,1,10,'810001400','Postage & Courier	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32543,1,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32544,1,10,'810001600','Registration Fee	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32545,1,10,'810001700','Rental of Equipment	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32546,1,10,'810001800','Rental of office	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32547,1,10,'810001900','Rental of store	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32548,1,10,'810002000','Seminar & Training	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32549,1,10,'810002100','Store expenses	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32550,1,10,'810002200','Telephone	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32551,1,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32552,1,10,'810002400','Salary & wages	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32553,1,10,'810002500','EPF & Socso	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32554,1,10,'850010000','Bank Charges	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32555,1,10,'850020000','Interest on loan	','',0,0,0,'2015-11-24 11:11:03',0,'2015-12-03 07:30:26',1),(32556,1,10,'860000000','Income Tax Expense	','',0,0,0,'2015-11-24 11:11:03',0,'0000-00-00 00:00:00',0),(32557,12,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32558,12,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32559,12,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32560,12,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32561,12,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-06-08 16:00:00',0,'2016-06-10 07:38:25',0),(32562,12,2,'200000200','Office Equipment	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32563,12,2,'200000300','Computer & Software	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32564,12,2,'200000400','Motor Vehicle	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32565,12,2,'200000500','Machinery & Engine	','',0,0,0,'2016-06-08 16:00:00',0,'2016-06-10 07:38:16',0),(32566,12,2,'200000600','Renovation	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32567,12,2,'200000700','Store Equipment	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32568,12,2,'200000800','Asset 8	','',0,0,0,'2016-06-08 16:00:00',0,'2016-06-10 07:33:32',0),(32569,12,2,'200000900','Asset 9	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32570,12,2,'200001000','Other Asset	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32571,12,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32572,12,3,'220000100','Bank1 	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32573,12,3,'220000200','Bank2	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32574,12,3,'220000300','Bank3	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32575,12,3,'220000400','Petty Cash 1	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32576,12,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32577,12,4,'370000000','Borrowing	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32578,12,4,'370000100','Pinjaman Mara	','',0,580,0,'2016-05-31 16:00:00',0,'2016-06-16 03:53:44',0),(32579,12,4,'370000200','Loan 2	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32580,12,4,'370000300','Loan 3	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32581,12,4,'370000400','Loan 4	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32582,12,4,'370000500','Loan 5	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32583,12,7,'400000000','Sales	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32584,12,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32585,12,35,'700000000','Others Income 	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32586,12,10,'810000100','Accounting & Legal	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32587,12,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32588,12,10,'810000300','Commissions	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32589,12,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32590,12,10,'810000500','Electricity & water	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32591,12,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32592,12,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32593,12,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32594,12,10,'810000900','Medical fee	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32595,12,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32596,12,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32597,12,10,'810001200','Office expenses	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32598,12,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32599,12,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32600,12,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32601,12,10,'810001600','Registration Fee	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32602,12,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32603,12,10,'810001800','Rental of office	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32604,12,10,'810001900','Rental of store	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32605,12,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32606,12,10,'810002100','Store expenses	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32607,12,10,'810002200','Telephone	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32608,12,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32609,12,10,'810002400','Salary & wages	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32610,12,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32611,12,10,'850010000','Bank Charges	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32612,12,10,'850020000','Interest on loan	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32613,12,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-09 08:36:45',0,'0000-00-00 00:00:00',0),(32620,3,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32621,3,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32622,3,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32623,3,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32624,3,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32625,3,2,'200000200','Office Equipment	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32626,3,2,'200000300','Computer & Software	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32627,3,2,'200000400','Motor Vehicle	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32628,3,2,'200000500','Machinery & Engine	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32629,3,2,'200000600','Renovation	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32630,3,2,'200000700','Store Equipment	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32631,3,2,'200000800','Asset 8	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32632,3,2,'200000900','Asset 9	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32633,3,2,'200001000','Other Asset	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32634,3,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32635,3,3,'220000100','Bank1 	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32636,3,3,'220000200','Bank2	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32637,3,3,'220000300','Bank3	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32638,3,3,'220000400','Petty Cash 1	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32639,3,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32640,3,4,'370000000','Borrowing	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32641,3,4,'370000100','Loan 1	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32642,3,4,'370000200','Loan 2	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32643,3,4,'370000300','Loan 3	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32644,3,4,'370000400','Loan 4	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32645,3,4,'370000500','Loan 5	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32646,3,7,'400000000','Sales	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32647,3,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32648,3,35,'700000000','Others Income 	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32649,3,10,'810000100','Accounting & Legal	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32650,3,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32651,3,10,'810000300','Commissions	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32652,3,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32653,3,10,'810000500','Electricity & water	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32654,3,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32655,3,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32656,3,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32657,3,10,'810000900','Medical fee	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32658,3,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32659,3,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32660,3,10,'810001200','Office expenses	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32661,3,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32662,3,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32663,3,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32664,3,10,'810001600','Registration Fee	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32665,3,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32666,3,10,'810001800','Rental of office	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32667,3,10,'810001900','Rental of store	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32668,3,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32669,3,10,'810002100','Store expenses	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32670,3,10,'810002200','Telephone	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32671,3,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32672,3,10,'810002400','Salary & wages	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32673,3,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32674,3,10,'850010000','Bank Charges	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32675,3,10,'850020000','Interest on loan	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32676,3,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-10 02:41:25',0,'0000-00-00 00:00:00',0),(32683,2,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32684,2,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32685,2,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32686,2,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32687,2,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32688,2,2,'200000200','Office Equipment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32689,2,2,'200000300','Computer & Software	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32690,2,2,'200000400','Motor Vehicle	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32691,2,2,'200000500','Machinery & Engine	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32692,2,2,'200000600','Renovation	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32693,2,2,'200000700','Store Equipment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32694,2,2,'200000800','Asset 8	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32695,2,2,'200000900','Asset 9	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32696,2,2,'200001000','Other Asset	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32697,2,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32698,2,3,'220000100','Bank1 	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32699,2,3,'220000200','Bank2	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32700,2,3,'220000300','Bank3	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32701,2,3,'220000400','Petty Cash 1	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32702,2,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32703,2,4,'370000000','Borrowing	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32704,2,4,'370000100','Loan 1	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32705,2,4,'370000200','Loan 2	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32706,2,4,'370000300','Loan 3	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32707,2,4,'370000400','Loan 4	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32708,2,4,'370000500','Loan 5	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32709,2,7,'400000000','Sales	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32710,2,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32711,2,35,'700000000','Others Income 	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32712,2,10,'810000100','Accounting & Legal	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32713,2,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32714,2,10,'810000300','Commissions	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32715,2,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32716,2,10,'810000500','Electricity & water	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32717,2,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32718,2,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32719,2,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32720,2,10,'810000900','Medical fee	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32721,2,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32722,2,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32723,2,10,'810001200','Office expenses	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32724,2,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32725,2,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32726,2,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32727,2,10,'810001600','Registration Fee	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32728,2,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32729,2,10,'810001800','Rental of office	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32730,2,10,'810001900','Rental of store	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32731,2,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32732,2,10,'810002100','Store expenses	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32733,2,10,'810002200','Telephone	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32734,2,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32735,2,10,'810002400','Salary & wages	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32736,2,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32737,2,10,'850010000','Bank Charges	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32738,2,10,'850020000','Interest on loan	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32739,2,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-10 06:19:26',0,'0000-00-00 00:00:00',0),(32746,13,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32747,13,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32748,13,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32749,13,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32750,13,2,'200000100','Furnitures & Fittings','',2001,0,0,'2015-12-31 16:00:00',0,'2016-08-17 03:02:18',1),(32751,13,2,'200000200','Office Equipment	','',600,0,0,'2016-06-25 16:00:00',0,'2016-08-22 08:04:00',1),(32752,13,2,'200000300','komputer & perisian','',300,0,0,'2016-06-12 16:00:00',0,'2016-08-10 08:20:00',0),(32753,13,2,'200000400','Motor Vehicle	','',4000,0,0,'2016-06-12 16:00:00',0,'2016-07-26 08:31:18',1),(32754,13,2,'200000500','Machinery & Engine	','',100,0,0,'2016-06-12 16:00:00',0,'2016-06-21 00:57:56',0),(32755,13,2,'200000600','Renovation	','',870,0,0,'2016-06-12 16:00:00',0,'2016-06-21 03:56:37',0),(32756,13,2,'200000700','Store Equipment	','',2,0,0,'2016-06-12 16:00:00',0,'2016-07-26 08:31:30',1),(32757,13,2,'200000800','Asset 8	','',0,0,0,'2016-06-12 16:00:00',0,'2016-08-08 11:00:17',0),(32758,13,2,'200000900','Asset 9	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32759,13,2,'200001000','Other Asset	','',100,0,0,'2016-06-12 16:00:00',0,'2016-06-28 07:50:14',0),(32760,13,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32761,13,3,'220000100','MBB','',1,0,0,'2016-06-12 16:00:00',0,'2016-08-10 08:20:30',0),(32762,13,3,'220000200','CIMB','',10000,0,0,'2016-06-12 16:00:00',0,'2016-07-13 07:15:46',0),(32763,13,3,'220000300','OCBC','',20000,0,0,'2016-06-12 16:00:00',0,'2016-08-09 02:08:03',1),(32764,13,3,'220000400','Bank Islam','',20,0,0,'2016-06-12 16:00:00',0,'2016-08-08 08:29:06',1),(32765,13,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-12 16:00:00',0,'2016-06-28 08:19:33',0),(32766,13,4,'370000000','Borrowing	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32767,13,4,'370000100','Bank Rakyat	','',0,1100,0,'2016-06-12 16:00:00',0,'2016-08-17 03:02:48',0),(32768,13,4,'370000200','Loan MARA','',0,5000,0,'2016-06-12 16:00:00',0,'2016-07-13 08:25:32',0),(32769,13,4,'370000300','Loan 3	','',0,3300,0,'2016-06-12 16:00:00',0,'2016-08-10 10:14:50',0),(32770,13,4,'370000400','Loan 4	','',0,1500,0,'2016-06-12 16:00:00',0,'2016-06-27 08:58:03',0),(32771,13,4,'370000500','Loan 5	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32772,13,7,'400000000','Sales	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32773,13,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32774,13,35,'700000000','Others Income 	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32775,13,10,'810000100','Accounting & Legal','',0,0,0,'2016-06-13 04:12:19',0,'2016-10-17 07:20:12',0),(32776,13,10,'810000200','Advertising & Marketing','',0,0,0,'2016-06-13 04:12:19',0,'2016-10-17 07:20:30',1),(32777,13,10,'810000300','Commissions	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32778,13,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32779,13,10,'810000500','Electricity & water	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32780,13,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32781,13,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32782,13,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32783,13,10,'810000900','Medical fee	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32784,13,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32785,13,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32786,13,10,'810001200','Office expenses	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32787,13,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32788,13,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-13 04:12:19',0,'2016-07-13 08:44:24',1),(32789,13,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32790,13,10,'810001600','Registration Fee	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32791,13,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32792,13,10,'810001800','Rental of office	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32793,13,10,'810001900','Rental of store	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32794,13,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32795,13,10,'810002100','Store expenses	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32796,13,10,'810002200','Telephone	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32797,13,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32798,13,10,'810002400','Salary & wages	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32799,13,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32800,13,10,'850010000','Bank Charges	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32801,13,10,'850020000','Interest on loan	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32802,13,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-13 04:12:19',0,'0000-00-00 00:00:00',0),(32809,14,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32810,14,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32811,14,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32812,14,2,'200000000','Fixed Asset	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32813,14,2,'200000100','Furniture & Fixtures	','',1000,0,0,'2014-12-31 16:00:00',0,'2016-06-28 07:16:04',0),(32814,14,2,'200000200','Office Equipment	','',1100,0,0,'2014-12-31 16:00:00',0,'2016-06-28 07:17:50',0),(32815,14,2,'200000300','Computer & Software	','',0,0,0,'2014-12-31 16:00:00',0,'2016-06-28 07:34:00',0),(32816,14,2,'200000400','Motor Vehicle	','',1,0,0,'2015-01-01 16:00:00',0,'2016-06-28 07:45:49',0),(32817,14,2,'200000500','Machinery & Engine	','',0,0,0,'2014-12-31 16:00:00',0,'2016-06-28 07:34:14',0),(32818,14,2,'200000600','Renovation	','',0,0,0,'2014-12-31 16:00:00',0,'2016-06-28 07:34:31',0),(32819,14,2,'200000700','Store Equipment	','',0,0,0,'2014-12-31 16:00:00',0,'2016-06-28 07:34:40',0),(32820,14,2,'200000800','Walkie Talkie','',0,0,0,'2014-12-31 16:00:00',0,'2016-06-28 07:34:50',0),(32821,14,2,'200000900','Handphone','',3000,0,0,'2014-12-31 16:00:00',0,'2016-06-28 07:19:05',0),(32822,14,2,'200001000','Other Asset	','',0,0,0,'2015-02-25 16:00:00',0,'2016-06-28 07:51:17',0),(32823,14,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32824,14,3,'220000100','Maybank','',10000,0,0,'2016-06-29 16:00:00',0,'2016-06-30 06:53:36',0),(32825,14,3,'220000200','BIMB','',10,0,0,'2016-06-27 16:00:00',0,'2016-06-28 08:37:35',0),(32826,14,3,'220000300','Bank Rakyat','',1450,0,0,'2014-12-31 16:00:00',0,'2016-06-28 08:15:57',0),(32827,14,3,'220000400','Petty Cash 1	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32828,14,3,'220000500','Petty Cash 2	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32829,14,4,'370000000','Borrowing	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32830,14,4,'370000100','Loan MARA','',0,5000,0,'2014-12-31 16:00:00',0,'2016-06-28 07:59:53',0),(32831,14,4,'370000200','Loan 2	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32832,14,4,'370000300','Loan 3	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32833,14,4,'370000400','Loan 4	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32834,14,4,'370000500','Loan 5	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32835,14,7,'400000000','Sales	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32836,14,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32837,14,35,'700000000','Others Income 	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32838,14,10,'810000100','Accounting & Legal	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32839,14,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32840,14,10,'810000300','Commissions	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32841,14,10,'810000400','Depreciation Expense	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32842,14,10,'810000500','Electricity & water	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32843,14,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32844,14,10,'810000700','Insurance Premium	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32845,14,10,'810000800','Late Payment Charges	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32846,14,10,'810000900','Medical fee	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32847,14,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32848,14,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32849,14,10,'810001200','Office expenses	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32850,14,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32851,14,10,'810001400','Postage & Courier	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32852,14,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32853,14,10,'810001600','Registration Fee	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32854,14,10,'810001700','Rental of Equipment	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32855,14,10,'810001800','Rental of office	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32856,14,10,'810001900','Rental of store	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32857,14,10,'810002000','Seminar & Training	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32858,14,10,'810002100','Store expenses	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32859,14,10,'810002200','Telephone	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32860,14,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32861,14,10,'810002400','Salary & wages	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32862,14,10,'810002500','EPF & Socso	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32863,14,10,'850010000','Bank Charges	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32864,14,10,'850020000','Interest on loan	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32865,14,10,'860000000','Income Tax Expense	','',0,0,0,'2016-06-28 06:55:09',0,'0000-00-00 00:00:00',0),(32866,21,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32867,21,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32868,21,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32869,21,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32870,21,2,'200000100','Furniture & Fixtures	','',10000,0,0,'2016-08-09 16:00:00',0,'2016-08-11 07:43:53',0),(32871,21,2,'200000200','Office Equipment	','',2000,0,0,'2016-08-09 16:00:00',0,'2016-08-11 07:44:06',0),(32872,21,2,'200000300','Computer & Software	','',5000,0,0,'2016-08-09 16:00:00',0,'2016-08-11 07:44:19',0),(32873,21,2,'200000400','Motor Vehicle	','',4000,0,0,'2016-08-09 16:00:00',0,'2016-08-11 07:44:31',0),(32874,21,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32875,21,2,'200000600','Renovation	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32876,21,2,'200000700','Store Equipment	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32877,21,2,'200000800','Asset 8	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32878,21,2,'200000900','Asset 9	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32879,21,2,'200001000','Other Asset	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32880,21,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32881,21,3,'220000100','Bank1 	','',10000,0,0,'2016-08-10 16:00:00',0,'2016-08-11 07:45:06',0),(32882,21,3,'220000200','Bank2	','',8999,0,0,'2016-08-10 16:00:00',0,'2016-08-11 07:45:27',0),(32883,21,3,'220000300','Bank3	','',12999,0,0,'2016-08-10 16:00:00',0,'2016-08-11 07:45:37',0),(32884,21,3,'220000400','Petty Cash 1	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32885,21,3,'220000500','Petty Cash 2	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32886,21,4,'370000000','Borrowing	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32887,21,4,'370000100','Loan 1	','',0,10000,0,'2016-08-09 16:00:00',0,'2016-08-11 07:48:14',0),(32888,21,4,'370000200','Loan 2	','',0,20000,0,'2016-08-09 16:00:00',0,'2016-08-11 07:48:23',0),(32889,21,4,'370000300','Loan 3	','',0,50000,0,'2016-08-09 16:00:00',0,'2016-08-11 07:48:36',0),(32890,21,4,'370000400','Loan 4	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32891,21,4,'370000500','Loan 5	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32892,21,7,'400000000','Sales	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32893,21,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32894,21,35,'700000000','Others Income 	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32895,21,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32896,21,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32897,21,10,'810000300','Commissions	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32898,21,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32899,21,10,'810000500','Electricity & water	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32900,21,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32901,21,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32902,21,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32903,21,10,'810000900','Medical fee	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32904,21,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32905,21,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32906,21,10,'810001200','Office expenses	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32907,21,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32908,21,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32909,21,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32910,21,10,'810001600','Registration Fee	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32911,21,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32912,21,10,'810001800','Rental of office	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32913,21,10,'810001900','Rental of store	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32914,21,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32915,21,10,'810002100','Store expenses	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32916,21,10,'810002200','Telephone	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32917,21,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32918,21,10,'810002400','Salary & wages	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32919,21,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32920,21,10,'850010000','Bank Charges	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32921,21,10,'850020000','Interest on loan	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32922,21,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-10 04:13:55',0,'0000-00-00 00:00:00',0),(32929,22,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32930,22,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32931,22,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32932,22,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32933,22,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32934,22,2,'200000200','Office Equipment	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32935,22,2,'200000300','Computer & Software	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32936,22,2,'200000400','Motor Vehicle	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32937,22,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32938,22,2,'200000600','Renovation	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32939,22,2,'200000700','Store Equipment	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32940,22,2,'200000800','Asset 8	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32941,22,2,'200000900','Asset 9	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32942,22,2,'200001000','Other Asset	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32943,22,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32944,22,3,'220000100','Bank1 	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32945,22,3,'220000200','Bank2	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32946,22,3,'220000300','Bank3	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32947,22,3,'220000400','Petty Cash 1	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32948,22,3,'220000500','Petty Cash 2	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32949,22,4,'370000000','Borrowing	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32950,22,4,'370000100','Loan 1	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32951,22,4,'370000200','Loan 2	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32952,22,4,'370000300','Loan 3	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32953,22,4,'370000400','Loan 4	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32954,22,4,'370000500','Loan 5	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32955,22,7,'400000000','Sales	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32956,22,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32957,22,35,'700000000','Others Income 	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32958,22,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32959,22,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32960,22,10,'810000300','Commissions	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32961,22,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32962,22,10,'810000500','Electricity & water	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32963,22,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32964,22,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32965,22,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32966,22,10,'810000900','Medical fee	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32967,22,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32968,22,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32969,22,10,'810001200','Office expenses	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32970,22,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32971,22,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32972,22,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32973,22,10,'810001600','Registration Fee	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32974,22,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32975,22,10,'810001800','Rental of office	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32976,22,10,'810001900','Rental of store	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32977,22,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32978,22,10,'810002100','Store expenses	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32979,22,10,'810002200','Telephone	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32980,22,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32981,22,10,'810002400','Salary & wages	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32982,22,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32983,22,10,'850010000','Bank Charges	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32984,22,10,'850020000','Interest on loan	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32985,22,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-11 05:08:34',0,'0000-00-00 00:00:00',0),(32992,23,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(32993,23,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(32994,23,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(32995,23,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(32996,23,2,'200000100','Furniture & Fixtures	','',10,0,0,'2016-08-10 16:00:00',0,'2016-08-12 07:52:50',0),(32997,23,2,'200000200','Office Equipment	','',2000,0,0,'2016-08-10 16:00:00',0,'2016-08-11 08:39:33',0),(32998,23,2,'200000300','Computer & Software	','',5000,0,0,'2016-08-10 16:00:00',0,'2016-08-11 08:39:44',0),(32999,23,2,'200000400','Motor Vehicle	','',200000,0,0,'2016-08-10 16:00:00',0,'2016-08-11 08:39:55',0),(33000,23,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33001,23,2,'200000600','Renovation	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33002,23,2,'200000700','Store Equipment	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33003,23,2,'200000800','Asset 8	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33004,23,2,'200000900','Asset 9	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33005,23,2,'200001000','Other Asset	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33006,23,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33007,23,3,'220000100','Bangkok','',100,0,0,'2015-12-31 16:00:00',0,'2016-09-01 02:09:39',0),(33008,23,3,'220000200','Bank2	','',12999,0,0,'2016-08-10 16:00:00',0,'2016-08-11 08:40:22',0),(33009,23,3,'220000300','Bank3	','',8999,0,0,'2016-08-10 16:00:00',0,'2016-08-11 08:40:31',0),(33010,23,3,'220000400','Petty Cash 1	','',20,0,0,'2016-08-10 16:00:00',0,'2016-08-15 02:01:00',0),(33011,23,3,'220000500','Petty Cash 2	','',0,0,0,'2016-08-10 16:00:00',0,'2016-08-15 02:01:08',0),(33012,23,4,'370000000','Borrowing	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33013,23,4,'370000100','Loan 1	','',0,30000,0,'2016-08-10 16:00:00',0,'2016-08-12 07:53:46',0),(33014,23,4,'370000200','Loan 2	','',0,70000,0,'2016-08-10 16:00:00',0,'2016-08-11 08:40:51',0),(33015,23,4,'370000300','Loan 3	','',0,10000,0,'2016-08-10 16:00:00',0,'2016-08-11 08:41:00',0),(33016,23,4,'370000400','Loan 4	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33017,23,4,'370000500','Loan 5	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33018,23,7,'400000000','Sales	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33019,23,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33020,23,35,'700000000','Others Income 	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33021,23,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-11 08:35:18',0,'2016-08-12 07:55:22',0),(33022,23,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33023,23,10,'810000300','Commissions	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33024,23,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33025,23,10,'810000500','Electricity & water	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33026,23,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33027,23,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33028,23,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33029,23,10,'810000900','Medical fee	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33030,23,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33031,23,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33032,23,10,'810001200','Office expenses	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33033,23,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33034,23,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33035,23,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33036,23,10,'810001600','Registration Fee	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33037,23,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33038,23,10,'810001800','Rental of office	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33039,23,10,'810001900','Rental of store	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33040,23,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33041,23,10,'810002100','Store expenses	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33042,23,10,'810002200','Telephone	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33043,23,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33044,23,10,'810002400','Salary & wages	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33045,23,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33046,23,10,'850010000','Bank Charges	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33047,23,10,'850020000','Interest on loan	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33048,23,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-11 08:35:18',0,'0000-00-00 00:00:00',0),(33055,25,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33056,25,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33057,25,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33058,25,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33059,25,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33060,25,2,'200000200','Office Equipment	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33061,25,2,'200000300','Computer & Software	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33062,25,2,'200000400','Motor Vehicle	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33063,25,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33064,25,2,'200000600','Renovation	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33065,25,2,'200000700','Store Equipment	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33066,25,2,'200000800','Asset 8	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33067,25,2,'200000900','Asset 9	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33068,25,2,'200001000','Other Asset	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33069,25,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33070,25,3,'220000100','maybank','',1000,0,0,'2016-08-15 16:00:00',0,'2016-08-16 03:34:29',0),(33071,25,3,'220000200','cimb','',20,0,0,'2016-08-15 16:00:00',0,'2016-08-16 03:34:45',0),(33072,25,3,'220000300','Bank islam','',10,0,0,'2016-08-15 16:00:00',0,'2016-08-16 03:35:36',0),(33073,25,3,'220000400','Petty Cash 1	','',3000,0,0,'2016-08-15 16:00:00',0,'2016-08-16 03:35:55',0),(33074,25,3,'220000500','Petty Cash 2	','',0.5,0,0,'2016-08-15 16:00:00',0,'2016-08-16 03:36:10',0),(33075,25,4,'370000000','Borrowing	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33076,25,4,'370000100','buy stock','',0,100,0,'2016-08-15 16:00:00',0,'2016-08-16 03:37:27',0),(33077,25,4,'370000200','ceti haram','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 07:47:32',0),(33078,25,4,'370000300','ceti halal','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 07:47:45',0),(33079,25,4,'370000400','Loan 4	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33080,25,4,'370000500','Loan 5	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33081,25,7,'400000000','Sales	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33082,25,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33083,25,35,'700000000','Others Income 	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33084,25,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-16 03:32:38',0,'2016-08-16 09:00:45',0),(33085,25,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-16 03:32:38',0,'2016-08-16 09:00:53',0),(33086,25,10,'810000300','Commissions	','',0,0,0,'2016-08-16 03:32:38',0,'2016-08-16 09:01:03',0),(33087,25,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-16 03:32:38',0,'2016-08-16 09:02:10',0),(33088,25,10,'810000500','Electricity & water	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33089,25,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-16 03:32:38',0,'2016-08-16 08:00:05',1),(33090,25,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-16 03:32:38',0,'2016-08-16 08:00:19',1),(33091,25,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33092,25,10,'810000900','Medical fee	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33093,25,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33094,25,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33095,25,10,'810001200','Office expenses	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33096,25,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33097,25,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33098,25,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33099,25,10,'810001600','Registration Fee	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33100,25,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33101,25,10,'810001800','Rental of office	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33102,25,10,'810001900','Rental of store	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33103,25,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33104,25,10,'810002100','Store expenses	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33105,25,10,'810002200','Telephone	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33106,25,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33107,25,10,'810002400','Salary & wages	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33108,25,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33109,25,10,'850010000','Bank Charges	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33110,25,10,'850020000','Interest on loan	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33111,25,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-16 03:32:38',0,'0000-00-00 00:00:00',0),(33118,24,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33119,24,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33120,24,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33121,24,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33122,24,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33123,24,2,'200000200','Office Equipment	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33124,24,2,'200000300','Computer & Software	','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 07:18:28',0),(33125,24,2,'200000400','Motor Vehicle	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33126,24,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33127,24,2,'200000600','Renovation	','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 07:18:11',0),(33128,24,2,'200000700','Store Equipment	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33129,24,2,'200000800','Asset 8	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33130,24,2,'200000900','Asset 9	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33131,24,2,'200001000','Other Asset	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33132,24,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33133,24,3,'220000100','Maybank','',100,0,0,'2016-08-15 16:00:00',0,'2016-08-16 03:34:32',0),(33134,24,3,'220000200','Bank Islam','',100,0,0,'2016-08-15 16:00:00',0,'2016-08-16 03:34:50',0),(33135,24,3,'220000300','RHB Bank','',100,0,0,'2016-08-15 16:00:00',0,'2016-08-16 03:35:07',0),(33136,24,3,'220000400','Petty Cash 1	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33137,24,3,'220000500','Petty Cash 2	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33138,24,4,'370000000','Borrowing	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33139,24,4,'370000100','Mara','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 04:27:49',0),(33140,24,4,'370000200','Ah long','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 04:28:02',0),(33141,24,4,'370000300','Loan 3	','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 08:07:12',1),(33142,24,4,'370000400','Loan 4	','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 08:07:29',1),(33143,24,4,'370000500','Loan 5	','',0,0,0,'2016-08-15 16:00:00',0,'2016-08-16 08:07:41',1),(33144,24,7,'400000000','Sales	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33145,24,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33146,24,35,'700000000','Others Income 	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33147,24,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33148,24,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33149,24,10,'810000300','Commissions	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33150,24,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33151,24,10,'810000500','Electricity & water	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33152,24,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33153,24,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33154,24,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33155,24,10,'810000900','Medical fee	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33156,24,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33157,24,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33158,24,10,'810001200','Office expenses	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33159,24,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33160,24,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33161,24,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33162,24,10,'810001600','Registration Fee	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33163,24,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33164,24,10,'810001800','Rental of office	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33165,24,10,'810001900','Rental of store	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33166,24,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33167,24,10,'810002100','Store expenses	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33168,24,10,'810002200','Telephone	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33169,24,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33170,24,10,'810002400','Salary & wages	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33171,24,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33172,24,10,'850010000','Bank Charges	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33173,24,10,'850020000','Interest on loan	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33174,24,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-16 03:33:46',0,'0000-00-00 00:00:00',0),(33175,26,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33176,26,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33177,26,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33178,26,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33179,26,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33180,26,2,'200000200','Office Equipment	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33181,26,2,'200000300','Computer & Software	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33182,26,2,'200000400','Motor Vehicle	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33183,26,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33184,26,2,'200000600','Renovation	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33185,26,2,'200000700','Store Equipment	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33186,26,2,'200000800','Asset 8	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33187,26,2,'200000900','Asset 9	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33188,26,2,'200001000','Other Asset	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33189,26,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33190,26,3,'220000100','Bank1 	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33191,26,3,'220000200','Bank2	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33192,26,3,'220000300','Bank3	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33193,26,3,'220000400','Petty Cash 1	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33194,26,3,'220000500','Petty Cash 2	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33195,26,4,'370000000','Borrowing	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33196,26,4,'370000100','Loan 1	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33197,26,4,'370000200','Loan 2	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33198,26,4,'370000300','Loan 3	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33199,26,4,'370000400','Loan 4	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33200,26,4,'370000500','Loan 5	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33201,26,7,'400000000','Sales	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33202,26,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33203,26,35,'700000000','Others Income 	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33204,26,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33205,26,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33206,26,10,'810000300','Commissions	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33207,26,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33208,26,10,'810000500','Electricity & water	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33209,26,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33210,26,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33211,26,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33212,26,10,'810000900','Medical fee	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33213,26,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33214,26,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33215,26,10,'810001200','Office expenses	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33216,26,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33217,26,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33218,26,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33219,26,10,'810001600','Registration Fee	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33220,26,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33221,26,10,'810001800','Rental of office	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33222,26,10,'810001900','Rental of store	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33223,26,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33224,26,10,'810002100','Store expenses	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33225,26,10,'810002200','Telephone	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33226,26,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33227,26,10,'810002400','Salary & wages	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33228,26,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33229,26,10,'850010000','Bank Charges	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33230,26,10,'850020000','Interest on loan	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33231,26,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-19 09:07:35',0,'0000-00-00 00:00:00',0),(33232,20,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33233,20,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33234,20,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33235,20,2,'200000000','Fixed Asset	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33236,20,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33237,20,2,'200000200','Office Equipment	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33238,20,2,'200000300','Computer & Software	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33239,20,2,'200000400','Motor Vehicle	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33240,20,2,'200000500','Machinery & Engine	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33241,20,2,'200000600','Renovation	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33242,20,2,'200000700','Store Equipment	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33243,20,2,'200000800','Asset 8	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33244,20,2,'200000900','Asset 9	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33245,20,2,'200001000','Other Asset	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33246,20,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33247,20,3,'220000100','Bank1 	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33248,20,3,'220000200','Bank2	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33249,20,3,'220000300','Bank3	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33250,20,3,'220000400','Petty Cash 1	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33251,20,3,'220000500','Petty Cash 2	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33252,20,4,'370000000','Borrowing	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33253,20,4,'370000100','MARA','',0,100000,0,'0000-00-00 00:00:00',0,'2016-09-06 08:29:52',0),(33254,20,4,'370000200','Loan 2	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33255,20,4,'370000300','Loan 3	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33256,20,4,'370000400','Loan 4	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33257,20,4,'370000500','Loan 5	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33258,20,7,'400000000','Sales	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33259,20,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33260,20,35,'700000000','Others Income 	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33261,20,10,'810000100','Accounting & Legal	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33262,20,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33263,20,10,'810000300','Commissions	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33264,20,10,'810000400','Depreciation Expense	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33265,20,10,'810000500','Electricity & water	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33266,20,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33267,20,10,'810000700','Insurance Premium	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33268,20,10,'810000800','Late Payment Charges	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33269,20,10,'810000900','Medical fee	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33270,20,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33271,20,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33272,20,10,'810001200','Office expenses	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33273,20,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33274,20,10,'810001400','Postage & Courier	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33275,20,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33276,20,10,'810001600','Registration Fee	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33277,20,10,'810001700','Rental of Equipment	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33278,20,10,'810001800','Rental of office	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33279,20,10,'810001900','Rental of store	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33280,20,10,'810002000','Seminar & Training	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33281,20,10,'810002100','Store expenses	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33282,20,10,'810002200','Telephone	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33283,20,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33284,20,10,'810002400','Salary & wages	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33285,20,10,'810002500','EPF & Socso	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33286,20,10,'850010000','Bank Charges	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33287,20,10,'850020000','Interest on loan	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33288,20,10,'860000000','Income Tax Expense	','',0,0,0,'2016-08-26 06:56:10',0,'0000-00-00 00:00:00',0),(33295,39,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33296,39,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33297,39,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33298,39,2,'200000000','Fixed Asset	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33299,39,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33300,39,2,'200000200','Office Equipment	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33301,39,2,'200000300','Computer & Software	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33302,39,2,'200000400','Motor Vehicle	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33303,39,2,'200000500','Machinery & Engine	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33304,39,2,'200000600','Renovation	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33305,39,2,'200000700','Store Equipment	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33306,39,2,'200000800','Asset 8	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33307,39,2,'200000900','Asset 9	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33308,39,2,'200001000','Other Asset	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33309,39,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33310,39,3,'220000100','BIMB','',1000,0,0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:00',0),(33311,39,3,'220000200','CIMB','',2000,0,0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:19',0),(33312,39,3,'220000300','MBB','',3000,0,0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:33',0),(33313,39,3,'220000400','Petty Cash 1	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:44',1),(33314,39,3,'220000500','Petty Cash 2	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-26 07:04:50',1),(33315,39,4,'370000000','Borrowing	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33316,39,4,'370000100','Bisnes Loan (SME)','',0,10000,0,'2015-12-31 16:00:00',0,'2016-09-27 01:26:55',0),(33317,39,4,'370000200','Loan 2	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-27 01:27:02',1),(33318,39,4,'370000300','Loan 3	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-27 01:27:18',1),(33319,39,4,'370000400','Loan 4	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-27 01:27:24',1),(33320,39,4,'370000500','Loan 5	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-27 01:29:24',1),(33321,39,7,'400000000','Sales	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33322,39,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33323,39,35,'700000000','Others Income 	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33324,39,10,'810000100','Accounting & Legal	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33325,39,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33326,39,10,'810000300','Commissions	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33327,39,10,'810000400','Depreciation Expense	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33328,39,10,'810000500','Electricity & water	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33329,39,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33330,39,10,'810000700','Insurance Premium	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33331,39,10,'810000800','Late Payment Charges	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33332,39,10,'810000900','Medical fee	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33333,39,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33334,39,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33335,39,10,'810001200','Office expenses	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33336,39,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33337,39,10,'810001400','Postage & Courier	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33338,39,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33339,39,10,'810001600','Registration Fee	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33340,39,10,'810001700','Rental of Equipment	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33341,39,10,'810001800','Rental of office	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33342,39,10,'810001900','Rental of store	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33343,39,10,'810002000','Seminar & Training	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33344,39,10,'810002100','Store expenses	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33345,39,10,'810002200','Telephone	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33346,39,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33347,39,10,'810002400','Salary & wages	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33348,39,10,'810002500','EPF & Socso	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33349,39,10,'850010000','Bank Charges	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33350,39,10,'850020000','Interest on loan	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33351,39,10,'860000000','Income Tax Expense	','',0,0,0,'2016-09-26 07:02:32',0,'0000-00-00 00:00:00',0),(33358,40,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33359,40,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33360,40,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33361,40,2,'200000000','Fixed Asset	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33362,40,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33363,40,2,'200000200','Office Equipment	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33364,40,2,'200000300','Computer & Software	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33365,40,2,'200000400','VEHICLE','',5000,0,0,'2015-12-31 16:00:00',0,'2016-09-29 03:48:57',0),(33366,40,2,'200000500','Machinery & Engine	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33367,40,2,'200000600','Renovation	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33368,40,2,'200000700','Store Equipment	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33369,40,2,'200000800','Asset 8	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33370,40,2,'200000900','Asset 9	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33371,40,2,'200001000','Other Asset	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33372,40,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33373,40,3,'220000100','MBB','',10000,0,0,'2015-12-31 16:00:00',0,'2016-09-29 00:59:53',0),(33374,40,3,'220000200','CIMB','',170000,0,0,'2015-12-31 16:00:00',0,'2016-09-29 03:43:40',0),(33375,40,3,'220000300','BIMB','',30000,0,0,'2015-12-31 16:00:00',0,'2016-09-29 01:00:28',0),(33376,40,3,'220000400','Petty Cash 1	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-29 01:00:36',1),(33377,40,3,'220000500','Petty Cash 2	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-29 01:00:42',1),(33378,40,4,'370000000','Borrowing	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33379,40,4,'370000100','BISNES LOAN','',0,100000,0,'2015-12-31 16:00:00',0,'2016-09-29 01:01:07',0),(33380,40,4,'370000200','HIRE PURCHASE LOAN','',0,135000,0,'2015-12-31 16:00:00',0,'2016-09-29 01:01:32',0),(33381,40,4,'370000300','Loan 3	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-29 01:01:53',1),(33382,40,4,'370000400','Loan 4	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-29 01:02:06',1),(33383,40,4,'370000500','Loan 5	','',0,0,0,'2015-12-31 16:00:00',0,'2016-09-29 01:02:11',1),(33384,40,7,'400000000','Sales	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33385,40,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33386,40,35,'700000000','Others Income 	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33387,40,10,'810000100','Accounting & Legal	','',0,0,0,'2016-09-29 00:59:36',0,'2016-10-17 08:04:30',0),(33388,40,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33389,40,10,'810000300','Commissions	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33390,40,10,'810000400','Depreciation Expense	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33391,40,10,'810000500','Electricity & water	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33392,40,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33393,40,10,'810000700','Insurance Premium	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33394,40,10,'810000800','Late Payment Charges	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33395,40,10,'810000900','Medical fee	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33396,40,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33397,40,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33398,40,10,'810001200','Office expenses	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33399,40,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33400,40,10,'810001400','Postage & Courier	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33401,40,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33402,40,10,'810001600','Registration Fee	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33403,40,10,'810001700','Rental of Equipment	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33404,40,10,'810001800','Rental of office	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33405,40,10,'810001900','Rental of store	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33406,40,10,'810002000','Seminar & Training	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33407,40,10,'810002100','Store expenses	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33408,40,10,'810002200','Telephone	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33409,40,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33410,40,10,'810002400','Salary & wages	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33411,40,10,'810002500','EPF & Socso	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33412,40,10,'850010000','Bank Charges	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33413,40,10,'850020000','Interest on loan	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(33414,40,10,'860000000','Income Tax Expense	','',0,0,0,'2016-09-29 00:59:36',0,'0000-00-00 00:00:00',0),(35125,70,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35126,70,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35127,70,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35128,70,2,'200000000','Fixed Asset	','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35129,70,2,'200000100','Furniture & Fixtures	','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35130,70,2,'200000200','Office Equipment	','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35131,70,2,'200000300','Computer & Software	','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35132,70,2,'200000400','Motor Vehicle	','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35133,70,2,'200000500','Machinery & Engine	','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35134,70,2,'200000600','Renovation	','',0,0,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0),(35135,70,2,'200000700','Store Equipment	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35136,70,2,'200000800','Asset 8	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35137,70,2,'200000900','Asset 9	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35138,70,2,'200001000','Other Asset	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35139,70,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35140,70,3,'220000100','Bank1 	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35141,70,3,'220000200','Bank2	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35142,70,3,'220000300','Bank3	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35143,70,3,'220000400','Petty Cash 1	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35144,70,3,'220000500','Petty Cash 2	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35145,70,4,'370000000','Borrowing	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35146,70,4,'370000100','Loan 1	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35147,70,4,'370000200','Loan 2	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35148,70,4,'370000300','Loan 3	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35149,70,4,'370000400','Loan 4	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35150,70,4,'370000500','Loan 5	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35151,70,7,'400000000','Sales	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35152,70,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35153,70,35,'700000000','Others Income 	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35154,70,10,'810000100','Accounting & Legal	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35155,70,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35156,70,10,'810000300','Commissions	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35157,70,10,'810000400','Depreciation Expense	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35158,70,10,'810000500','Electricity & water	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35159,70,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35160,70,10,'810000700','Insurance Premium	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35161,70,10,'810000800','Late Payment Charges	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35162,70,10,'810000900','Medical fee	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35163,70,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35164,70,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35165,70,10,'810001200','Office expenses	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35166,70,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35167,70,10,'810001400','Postage & Courier	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35168,70,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35169,70,10,'810001600','Registration Fee	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35170,70,10,'810001700','Rental of Equipment	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35171,70,10,'810001800','Rental of office	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35172,70,10,'810001900','Rental of store	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35173,70,10,'810002000','Seminar & Training	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35174,70,10,'810002100','Store expenses	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35175,70,10,'810002200','Telephone	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35176,70,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35177,70,10,'810002400','Salary & wages	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35178,70,10,'810002500','EPF & Socso	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35179,70,10,'850010000','Bank Charges	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35180,70,10,'850020000','Interest on loan	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35181,70,10,'860000000','Income Tax Expense	','',0,0,0,'2016-10-18 00:55:39',0,'0000-00-00 00:00:00',0),(35182,73,1,'100000000','Advancement/(Drawing)	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35183,73,1,'120000000','Retained Profit/(Loss) B/F ','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35184,73,1,'130000000','Current Retained Profit/(Loss)  ','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35185,73,2,'200000000','Fixed Asset	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35186,73,2,'200000100','Furniture & Fixtures	','',3000,0,0,'2016-12-05 16:00:00',0,'2016-12-06 04:43:33',0),(35187,73,2,'200000200','Office Equipment	','',58000,0,0,'2016-12-05 16:00:00',0,'2016-12-06 04:44:00',0),(35188,73,2,'200000300','Computer & Software	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35189,73,2,'200000400','Motor Vehicle	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35190,73,2,'200000500','Machinery & Engine	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35191,73,2,'200000600','Renovation	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35192,73,2,'200000700','Store Equipment	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35193,73,2,'200000800','Asset 8	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35194,73,2,'200000900','Asset 9	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35195,73,2,'200001000','Other Asset	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35196,73,3,'220000000','Bank & Cash Balance	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35197,73,3,'220000100','Bank1 	','',90000,0,0,'2016-12-05 16:00:00',0,'2016-12-06 04:55:21',0),(35198,73,3,'220000200','Bank2	','',4000,0,0,'2016-12-05 16:00:00',0,'2016-12-06 06:58:47',0),(35199,73,3,'220000300','Bank3	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35200,73,3,'220000400','Petty Cash 1	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35201,73,3,'220000500','Petty Cash 2	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35202,73,4,'370000000','Borrowing	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35203,73,4,'370000100','Loan 1	','',0,7800,0,'2016-12-05 16:00:00',0,'2016-12-06 04:31:02',0),(35204,73,4,'370000200','Loan 2	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35205,73,4,'370000300','Loan 3	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35206,73,4,'370000400','Loan 4	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35207,73,4,'370000500','Loan 5	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35208,73,7,'400000000','Sales	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35209,73,8,'500000000','Cost of Goods Sold	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35210,73,35,'700000000','Others Income 	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35211,73,10,'810000100','Accounting & Legal	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35212,73,10,'810000200','Advertising & Marketing	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35213,73,10,'810000300','Commissions	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35214,73,10,'810000400','Depreciation Expense	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35215,73,10,'810000500','Electricity & water	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35216,73,10,'810000600','GST- Non Claimable	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35217,73,10,'810000700','Insurance Premium	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35218,73,10,'810000800','Late Payment Charges	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35219,73,10,'810000900','Medical fee	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35220,73,10,'810001000','Miscellaneous Expenses	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35221,73,10,'810001100','Motor Vehicle Repair & maintenance	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35222,73,10,'810001200','Office expenses	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35223,73,10,'810001300','Petrol,Parking & Toll	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35224,73,10,'810001400','Postage & Courier	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35225,73,10,'810001500','Quit Rent & Assessment	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35226,73,10,'810001600','Registration Fee	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35227,73,10,'810001700','Rental of Equipment	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35228,73,10,'810001800','Rental of office	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35229,73,10,'810001900','Rental of store	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35230,73,10,'810002000','Seminar & Training	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35231,73,10,'810002100','Store expenses	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35232,73,10,'810002200','Telephone	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35233,73,10,'810002300','Travel, Meals & Entertainment	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35234,73,10,'810002400','Salary & wages	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35235,73,10,'810002500','EPF & Socso	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35236,73,10,'850010000','Bank Charges	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35237,73,10,'850020000','Interest on loan	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0),(35238,73,10,'860000000','Income Tax Expense	','',0,0,0,'2016-12-01 01:09:13',0,'0000-00-00 00:00:00',0);
/*!40000 ALTER TABLE `comp_chart_of_acct` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_chart_of_acct_bak`
--

DROP TABLE IF EXISTS `comp_chart_of_acct_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_chart_of_acct_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `companyID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDesc` varchar(128) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_chart_of_acct_bak`
--

LOCK TABLES `comp_chart_of_acct_bak` WRITE;
/*!40000 ALTER TABLE `comp_chart_of_acct_bak` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_chart_of_acct_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_contact`
--

DROP TABLE IF EXISTS `comp_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_contact` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `company_contact_name` varchar(128) NOT NULL,
  `position` varchar(32) NOT NULL,
  `telOffice` varchar(32) NOT NULL,
  `telHp` varchar(32) NOT NULL,
  `email` varchar(64) NOT NULL,
  `remaks` text NOT NULL,
  `createdID` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_contact`
--

LOCK TABLES `comp_contact` WRITE;
/*!40000 ALTER TABLE `comp_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_control_acct_setup`
--

DROP TABLE IF EXISTS `comp_control_acct_setup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_control_acct_setup` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `refID` int(11) NOT NULL,
  `groupDisplay` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `accountCode` varchar(64) NOT NULL,
  `updateable` smallint(6) NOT NULL DEFAULT '1',
  `accountID` int(11) NOT NULL DEFAULT '0',
  `orderNo` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_control_acct_setup`
--

LOCK TABLES `comp_control_acct_setup` WRITE;
/*!40000 ALTER TABLE `comp_control_acct_setup` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_control_acct_setup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_currency_conv`
--

DROP TABLE IF EXISTS `comp_currency_conv`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_currency_conv` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `currencyFrom` int(11) DEFAULT NULL,
  `currencyTo` int(11) DEFAULT NULL,
  `startDate` date DEFAULT NULL,
  `endDate` date DEFAULT NULL,
  `rateConv` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Index 2` (`companyID`,`currencyFrom`,`startDate`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_currency_conv`
--

LOCK TABLES `comp_currency_conv` WRITE;
/*!40000 ALTER TABLE `comp_currency_conv` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_currency_conv` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_delivery_detail`
--

DROP TABLE IF EXISTS `comp_delivery_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_delivery_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `deliveryID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `orderID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `soDetailsLine` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `quantityOrdered` int(11) NOT NULL,
  `requiredDate` date NOT NULL,
  `totalQuantitySent` int(11) NOT NULL,
  `quantitySent` int(11) NOT NULL,
  `amount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `standUM` int(11) NOT NULL,
  `salesID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_delivery_detail`
--

LOCK TABLES `comp_delivery_detail` WRITE;
/*!40000 ALTER TABLE `comp_delivery_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_delivery_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_delivery_order`
--

DROP TABLE IF EXISTS `comp_delivery_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_delivery_order` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `deliveryCode` varchar(32) NOT NULL,
  `salesOrderID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `deliveryOrderDate` date NOT NULL,
  `locationID` int(11) NOT NULL,
  `deliverToID` text NOT NULL,
  `toAddress` varchar(200) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `employeeID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `exchangeRate` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `updateAble` int(11) NOT NULL DEFAULT '1',
  `isDelete` int(11) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_delivery_order`
--

LOCK TABLES `comp_delivery_order` WRITE;
/*!40000 ALTER TABLE `comp_delivery_order` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_delivery_order` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_donn1_add_serialNo` BEFORE INSERT ON `comp_delivery_order`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_delivery_order 

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_department`
--

DROP TABLE IF EXISTS `comp_department`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_department` (
  `fldid` int(11) NOT NULL DEFAULT '0',
  `code` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `dept_head` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_department`
--

LOCK TABLES `comp_department` WRITE;
/*!40000 ALTER TABLE `comp_department` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_department` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_employee`
--

DROP TABLE IF EXISTS `comp_employee`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_employee` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `employeeCode` varchar(16) NOT NULL,
  `employeeName` varchar(64) NOT NULL,
  `employeePosition` varchar(32) NOT NULL,
  `line1` varchar(64) NOT NULL,
  `line2` varchar(64) NOT NULL,
  `line3` varchar(64) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `city` varchar(32) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `phoneNo` varchar(32) NOT NULL,
  `email` varchar(128) NOT NULL,
  `dateOfJoin` date NOT NULL,
  `gender` smallint(6) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_employee`
--

LOCK TABLES `comp_employee` WRITE;
/*!40000 ALTER TABLE `comp_employee` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_employee` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_financial_year`
--

DROP TABLE IF EXISTS `comp_financial_year`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_financial_year` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `financialYear` int(4) NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  `period` smallint(2) NOT NULL,
  `status` smallint(1) NOT NULL COMMENT '0=Open, 1=close',
  `yearEnd` smallint(1) NOT NULL DEFAULT '1',
  `updateAble` tinyint(1) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_financial_year`
--

LOCK TABLES `comp_financial_year` WRITE;
/*!40000 ALTER TABLE `comp_financial_year` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_financial_year` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_form_control`
--

DROP TABLE IF EXISTS `comp_form_control`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_form_control` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `formID` int(11) NOT NULL,
  `formCode` varchar(8) NOT NULL,
  `formYear` tinyint(1) NOT NULL,
  `formMonth` tinyint(1) NOT NULL,
  `formDay` tinyint(1) NOT NULL,
  `formInitial` varchar(16) NOT NULL,
  `formInitialNo` int(11) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `orderNo` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_form_control`
--

LOCK TABLES `comp_form_control` WRITE;
/*!40000 ALTER TABLE `comp_form_control` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_form_control` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gl`
--

DROP TABLE IF EXISTS `comp_gl`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gl` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT '0',
  `acctCode` char(9) DEFAULT '0',
  `acctGroupID` int(11) DEFAULT '0',
  `description` varchar(128) DEFAULT '0',
  `amount_cr` double DEFAULT '0',
  `amount_dr` double DEFAULT '0',
  `period` smallint(2) DEFAULT '0',
  `year` year(4) DEFAULT NULL,
  `createdID` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gl`
--

LOCK TABLES `comp_gl` WRITE;
/*!40000 ALTER TABLE `comp_gl` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gl` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_field_mapping`
--

DROP TABLE IF EXISTS `comp_gst_field_mapping`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_field_mapping` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `item` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `taxCode` varchar(255) NOT NULL,
  `changeable` tinyint(1) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_field_mapping`
--

LOCK TABLES `comp_gst_field_mapping` WRITE;
/*!40000 ALTER TABLE `comp_gst_field_mapping` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_field_mapping` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_preference`
--

DROP TABLE IF EXISTS `comp_gst_preference`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_preference` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `GSTTaxablePeriod` int(11) NOT NULL,
  `badDebtReliefMinMonth` int(11) NOT NULL,
  `MaxInputTaxClaim` int(11) NOT NULL,
  `DaysLimits` int(11) NOT NULL,
  `Totalexemptsuppliesnotexceed` int(11) NOT NULL,
  `TotalexemptsuppliesnotexceedPercentage` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_preference`
--

LOCK TABLES `comp_gst_preference` WRITE;
/*!40000 ALTER TABLE `comp_gst_preference` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_preference` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_report`
--

DROP TABLE IF EXISTS `comp_gst_report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_report` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `ammendment` int(2) DEFAULT '0',
  `A1` varchar(12) NOT NULL DEFAULT '0',
  `A2` varchar(64) NOT NULL DEFAULT '0',
  `B3a` date DEFAULT NULL,
  `B3b` date DEFAULT NULL,
  `B4` date DEFAULT NULL,
  `B5a` double DEFAULT NULL,
  `B5b` double DEFAULT NULL,
  `B6a` double DEFAULT NULL,
  `B6b` double DEFAULT NULL,
  `B7` double DEFAULT NULL,
  `B8` double DEFAULT NULL,
  `B9` double DEFAULT NULL,
  `C10` double DEFAULT NULL,
  `C11` double DEFAULT NULL,
  `C12` double DEFAULT NULL,
  `C13` double DEFAULT NULL,
  `C14` double DEFAULT NULL,
  `C15` double DEFAULT NULL,
  `C16` double DEFAULT NULL,
  `C17` double DEFAULT NULL,
  `C18` double DEFAULT NULL,
  `C19a1` varchar(32) DEFAULT NULL,
  `C19a2` double DEFAULT NULL,
  `C19b1` varchar(32) DEFAULT NULL,
  `C19b2` double DEFAULT NULL,
  `C19c1` varchar(32) DEFAULT NULL,
  `C19c2` double DEFAULT NULL,
  `C19d1` varchar(32) DEFAULT NULL,
  `C19d2` double DEFAULT NULL,
  `C19e1` varchar(32) DEFAULT NULL,
  `C19e2` double DEFAULT NULL,
  `C19f` double DEFAULT NULL,
  `C19g` double DEFAULT NULL,
  `D20` varchar(128) DEFAULT NULL,
  `D21a` varchar(16) DEFAULT NULL,
  `D21b` varchar(16) DEFAULT NULL,
  `D22` varchar(32) DEFAULT NULL,
  `D23` varchar(128) DEFAULT NULL,
  `D24` date DEFAULT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updateAble` tinyint(4) NOT NULL DEFAULT '1',
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_report`
--

LOCK TABLES `comp_gst_report` WRITE;
/*!40000 ALTER TABLE `comp_gst_report` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_transaction`
--

DROP TABLE IF EXISTS `comp_gst_transaction`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_transaction` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `formNo` varchar(255) NOT NULL,
  `vendor_cust_name` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `gst_number` varchar(255) NOT NULL,
  `Description` text NOT NULL,
  `date` date NOT NULL,
  `reference` varchar(255) NOT NULL,
  `based_amount` double NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `reverse` tinyint(1) NOT NULL DEFAULT '0',
  `isDelete` int(11) NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_transaction`
--

LOCK TABLES `comp_gst_transaction` WRITE;
/*!40000 ALTER TABLE `comp_gst_transaction` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_transaction` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_gst_transaction_detail`
--

DROP TABLE IF EXISTS `comp_gst_transaction_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_gst_transaction_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `gstTransID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmountDr` double NOT NULL DEFAULT '0',
  `taxAmountCr` double NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_gst_transaction_detail`
--

LOCK TABLES `comp_gst_transaction_detail` WRITE;
/*!40000 ALTER TABLE `comp_gst_transaction_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_gst_transaction_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_historical_customer_invoice`
--

DROP TABLE IF EXISTS `comp_historical_customer_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_historical_customer_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `customerPoNo` varchar(32) NOT NULL,
  `taxID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `amount` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `totalAmount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_historical_customer_invoice`
--

LOCK TABLES `comp_historical_customer_invoice` WRITE;
/*!40000 ALTER TABLE `comp_historical_customer_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_historical_customer_invoice` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_historicalcusinv_add_serialNo` BEFORE INSERT ON `comp_historical_customer_invoice`
 FOR EACH ROW set new.serialNo = (select nextSerialNo from view_serial_comp_historical_customer_invoice where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_historical_supplier_invoice`
--

DROP TABLE IF EXISTS `comp_historical_supplier_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_historical_supplier_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `invoiceDate` date NOT NULL,
  `supplierInvoiceNo` varchar(32) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_historical_supplier_invoice`
--

LOCK TABLES `comp_historical_supplier_invoice` WRITE;
/*!40000 ALTER TABLE `comp_historical_supplier_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_historical_supplier_invoice` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_historicalsupinv_add_serialNo` BEFORE INSERT ON `comp_historical_supplier_invoice`
 FOR EACH ROW set new.serialNo = (select nextSerialNo from view_serial_comp_historical_supplier_invoice where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_industry`
--

DROP TABLE IF EXISTS `comp_industry`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_industry` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `industryID` int(11) NOT NULL,
  `businessTypeID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `companyID` (`companyID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_industry`
--

LOCK TABLES `comp_industry` WRITE;
/*!40000 ALTER TABLE `comp_industry` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_industry` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_item_category`
--

DROP TABLE IF EXISTS `comp_item_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_item_category` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(4) NOT NULL,
  `name` varchar(64) NOT NULL,
  `shortName` varchar(8) NOT NULL,
  `description` varchar(128) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updateBy` int(11) NOT NULL,
  `updateTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `companyID` (`companyID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_item_category`
--

LOCK TABLES `comp_item_category` WRITE;
/*!40000 ALTER TABLE `comp_item_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_item_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_jl_seq`
--

DROP TABLE IF EXISTS `comp_jl_seq`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_jl_seq` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `compID` int(11) DEFAULT NULL,
  `moduleID` int(11) DEFAULT NULL,
  `initial` varchar(2) CHARACTER SET utf8 DEFAULT NULL,
  `year` year(4) NOT NULL,
  `period` int(2) NOT NULL,
  `seqNo` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=362 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_jl_seq`
--

LOCK TABLES `comp_jl_seq` WRITE;
/*!40000 ALTER TABLE `comp_jl_seq` DISABLE KEYS */;
INSERT INTO `comp_jl_seq` VALUES (237,1,3,'AP',2015,11,305),(238,1,2,'AR',2015,11,67),(239,1,3,'AP',2015,2,35),(240,1,3,'AP',2010,1,1),(241,1,3,'AP',2009,1,6),(242,1,3,'AP',2015,1,44),(243,1,3,'AP',2013,1,2),(244,1,3,'AP',2014,10,2),(245,1,3,'AP',2015,6,25),(246,1,3,'AP',2015,10,23),(247,1,3,'AP',2015,12,206),(248,1,2,'AR',2015,12,19),(249,1,3,'AP',2015,4,25),(250,1,2,'AR',2015,1,23),(251,1,2,'AR',2015,2,10),(252,1,3,'AP',1970,1,5),(253,1,2,'AR',2015,3,8),(254,1,2,'AR',2015,4,8),(255,1,2,'AR',2015,5,11),(256,1,2,'AR',2015,6,8),(257,1,2,'AR',2015,7,8),(258,1,2,'AR',2015,8,11),(259,1,2,'AR',2015,9,8),(260,1,2,'AR',2015,10,8),(261,1,3,'AP',2015,3,18),(262,1,3,'AP',2015,5,19),(263,1,3,'AP',2015,7,19),(264,1,3,'AP',2015,8,26),(265,1,3,'AP',2015,9,20),(266,1,3,'AP',2016,2,5),(267,4,3,'AP',2015,12,5),(268,1,2,'AR',2016,1,1),(269,1,3,'AP',2016,4,24),(270,1,2,'AR',2016,4,10),(271,1,2,'AR',2016,5,1),(272,1,3,'AP',2016,5,1),(273,1,3,'AP',2016,6,21),(274,1,2,'AR',2016,6,5),(275,13,3,'AP',2016,6,91),(276,13,2,'AR',2016,6,16),(277,12,2,'AR',2016,6,4),(278,12,2,'AR',2016,5,1),(279,12,3,'AP',2016,6,3),(280,13,3,'AP',2017,7,2),(281,13,3,'AP',2015,6,1),(282,13,3,'AP',2016,8,55),(283,13,3,'AP',2017,6,1),(284,13,3,'AP',2016,5,1),(285,13,2,'AR',2016,5,1),(286,14,3,'AP',2015,1,1),(287,14,3,'AP',2015,2,1),(288,14,3,'AP',2015,8,2),(289,14,3,'AP',2015,9,1),(290,14,3,'AP',2015,10,1),(291,14,3,'AP',2016,1,1),(292,14,2,'AR',2016,1,1),(293,14,2,'AR',2015,1,1),(294,13,3,'AP',2016,7,11),(295,13,2,'AR',2016,7,4),(296,1,3,'AP',2016,7,1),(297,13,2,'AR',2016,8,58),(298,12,3,'AP',2016,8,8),(299,12,2,'AR',2016,8,46),(300,1,3,'AP',2016,8,63),(301,1,2,'AR',2016,8,26),(302,1,2,'AR',2016,7,1),(303,13,3,'AP',2016,10,8),(304,1,3,'AP',2016,10,14),(305,13,2,'AR',2016,10,2),(306,3,3,'AP',2016,8,1),(307,21,2,'AR',2016,1,1),(308,21,3,'AP',2016,1,4),(309,21,3,'AP',2016,8,1),(310,23,2,'AR',2016,1,1),(311,23,3,'AP',2016,1,16),(312,23,3,'AP',2016,2,5),(313,23,2,'AR',2016,2,2),(314,23,3,'AP',2016,8,92),(315,23,2,'AR',2016,3,1),(316,23,2,'AR',2016,4,1),(317,23,2,'AR',2016,5,1),(318,23,2,'AR',2016,6,1),(319,23,2,'AR',2016,7,2),(320,23,2,'AR',2016,8,67),(321,23,2,'AR',2016,9,10),(322,23,2,'AR',2016,10,1),(323,23,2,'AR',2016,11,1),(324,23,2,'AR',2016,12,1),(325,23,3,'AP',2016,3,2),(326,23,3,'AP',2016,4,2),(327,23,3,'AP',2016,5,2),(328,23,3,'AP',2016,6,1),(329,23,3,'AP',2016,7,3),(330,23,3,'AP',2017,1,2),(331,23,3,'AP',2018,2,1),(332,23,3,'AP',2018,3,1),(333,24,2,'AR',2016,8,17),(334,24,3,'AP',2016,8,49),(335,25,2,'AR',2016,8,20),(336,25,3,'AP',2016,8,31),(337,24,2,'AR',2016,3,1),(338,24,3,'AP',2016,2,4),(339,24,3,'AP',2016,6,2),(340,24,3,'AP',2016,7,1),(341,24,3,'AP',2016,3,4),(342,25,3,'AP',2016,2,1),(343,24,2,'AR',2014,2,2),(344,25,3,'AP',2016,7,1),(345,24,2,'AR',2014,8,2),(346,24,2,'AR',2015,8,2),(347,24,2,'AR',2016,6,2),(348,23,3,'AP',2016,9,18),(349,13,3,'AP',2016,9,32),(350,13,2,'AR',2016,9,102),(351,23,3,'AP',2016,10,1),(352,1,3,'AP',2016,9,9),(353,1,2,'AR',2016,9,6),(354,12,2,'AR',2016,9,27),(355,39,2,'AR',2016,9,17),(356,39,3,'AP',2016,9,26),(357,12,3,'AP',2016,9,28),(358,40,2,'AR',2016,9,20),(359,40,3,'AP',2016,9,17),(360,40,2,'AR',2016,10,9),(361,40,3,'AP',2016,10,8);
/*!40000 ALTER TABLE `comp_jl_seq` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_journal`
--

DROP TABLE IF EXISTS `comp_journal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_journal` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `journalID` varchar(50) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `referrence` varchar(128) DEFAULT NULL,
  `batch` varchar(50) DEFAULT NULL,
  `module` int(11) DEFAULT NULL,
  `effective_date` date DEFAULT NULL,
  `entered_date` date DEFAULT NULL,
  `period` smallint(2) DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `total_amount_dr` double DEFAULT NULL,
  `total_amount_cr` double DEFAULT NULL,
  `total_amount` double DEFAULT '0',
  `status` tinyint(4) DEFAULT '0' COMMENT 'unposted = 0, posted = 1',
  `remarks` varchar(128) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `formNo` varchar(100) DEFAULT NULL,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `status` (`status`),
  KEY `journalID` (`journalID`)
) ENGINE=InnoDB AUTO_INCREMENT=11746 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_journal`
--

LOCK TABLES `comp_journal` WRITE;
/*!40000 ALTER TABLE `comp_journal` DISABLE KEYS */;
INSERT INTO `comp_journal` VALUES (10091,1,'AP20150100000005','Cost of Goods Sold [OP-C[00000277]]','',NULL,3,'2015-01-03',NULL,1,2015,950,950,0,1,NULL,1,'2015-12-03 09:10:29','Cost of Goods Sold [OP-C[00000277]]',0),(10092,1,'AP20150100000006','Cost of Goods Sold [OP-C[00000278]]','',NULL,3,'2015-01-10',NULL,1,2015,880,880,0,1,NULL,1,'2015-12-03 09:10:49','Cost of Goods Sold [OP-C[00000278]]',0),(10109,1,'AR20151000000003','Sales [ OR[00000042] ]','',NULL,2,'2015-10-17',NULL,10,2015,3015,3015,0,1,NULL,1,'2015-12-03 09:24:59','OR[00000042]',0),(10111,1,'AR20151000000005','Sales [ OR[00000044] ]','',NULL,2,'2015-10-31',NULL,10,2015,3200,3200,0,1,NULL,1,'2015-12-03 09:25:53','OR[00000044]',0),(10112,1,'AR20151100000064','Sales [ OR[00000045] ]','',NULL,2,'2015-11-07',NULL,11,2015,3150,3150,0,1,NULL,1,'2015-12-03 09:26:58','OR[00000045]',0),(10113,1,'AR20151100000065','Sales [ OR[00000046] ]','',NULL,2,'2015-11-14',NULL,11,2015,3220,3220,0,1,NULL,1,'2015-12-03 09:27:24','OR[00000046]',0),(10114,1,'AR20151100000066','Sales [ OR[00000047] ]','',NULL,2,'2015-11-21',NULL,11,2015,3300,3300,0,1,NULL,1,'2015-12-03 09:27:47','OR[00000047]',0),(10115,1,'AR20151100000067','Sales [ OR[00000048] ]','',NULL,2,'2015-11-28',NULL,11,2015,3000,3000,0,1,NULL,1,'2015-12-03 09:28:16','OR[00000048]',0),(10116,1,'AR20151200000013','Sales [ OR[00000049] ]','',NULL,2,'2015-12-05',NULL,12,2015,3214,3214,0,1,NULL,1,'2015-12-03 09:29:26','OR[00000049]',0),(10117,1,'AR20151200000014','Sales [ OR[00000050] ]','',NULL,2,'2015-12-12',NULL,12,2015,3368,3368,0,1,NULL,1,'2015-12-03 09:30:10','OR[00000050]',0),(10118,1,'AR20151200000015','Sales [ OR[00000051] ]','',NULL,2,'2015-12-19',NULL,12,2015,3123,3123,0,1,NULL,1,'2015-12-03 09:30:39','OR[00000051]',0),(10119,1,'AR20151200000016','Sales [ OR[00000052] ]','',NULL,2,'2015-12-26',NULL,12,2015,3215,3215,0,1,NULL,1,'2015-12-03 09:31:03','OR[00000052]',0),(10147,1,'AP20150100000020','Cost of Goods Sold [OP-C[00000280]]','',NULL,3,'2015-01-17',NULL,1,2015,850,850,0,1,NULL,1,'2015-12-04 02:00:50','Cost of Goods Sold [OP-C[00000280]]',0),(10148,1,'AP20150100000021','Cost of Goods Sold [OP-C[00000281]]','',NULL,3,'2015-01-24',NULL,1,2015,920,920,0,1,NULL,1,'2015-12-04 02:01:39','Cost of Goods Sold [OP-C[00000281]]',0),(10150,1,'AP20150100000022','Operating Expenses [OP-E[00000283]]','',NULL,3,'2015-01-31',NULL,1,2015,890,890,0,1,NULL,1,'2015-12-04 02:06:26','Operating Expenses [OP-E[00000283]]',0),(10151,1,'AP20150100000023','Cost of Goods Sold [OP-C[00000284]]','',NULL,3,'2015-01-31',NULL,1,2015,990,990,0,1,NULL,1,'2015-12-04 02:06:34','Cost of Goods Sold [OP-C[00000284]]',0),(10152,1,'AP20150200000007','Operating Expenses [OP-E[00000285]]','',NULL,3,'2015-02-28',NULL,2,2015,971,971,0,1,NULL,1,'2015-12-04 02:07:17','Operating Expenses [OP-E[00000285]]',0),(10153,1,'AP20150200000008','Cost of Goods Sold [OP-C[00000286]]','',NULL,3,'2015-02-07',NULL,2,2015,902,902,0,1,NULL,1,'2015-12-04 02:07:34','Cost of Goods Sold [OP-C[00000286]]',0),(10154,1,'AP20150200000009','Cost of Goods Sold [OP-C[00000287]]','',NULL,3,'2015-02-14',NULL,2,2015,893,893,0,1,NULL,1,'2015-12-04 02:08:13','Cost of Goods Sold [OP-C[00000287]]',0),(10157,1,'AP150300000001','Operating Expenses [OP-E[00000290]]','',NULL,3,'2015-03-31',NULL,3,2015,989,989,0,1,NULL,1,'2015-12-04 02:11:50','Operating Expenses [OP-E[00000290]]',0),(10158,1,'AP20150400000004','Operating Expenses [OP-E[00000291]]','',NULL,3,'2015-04-30',NULL,4,2015,870,870,0,1,NULL,1,'2015-12-04 02:12:27','Operating Expenses [OP-E[00000291]]',0),(10159,1,'AP150500000001','Operating Expenses [OP-E[00000292]]','',NULL,3,'2015-05-31',NULL,5,2015,990,990,0,1,NULL,1,'2015-12-04 02:12:58','Operating Expenses [OP-E[00000292]]',0),(10160,1,'AP20150600000005','Operating Expenses [OP-E[00000293]]','',NULL,3,'2015-06-30',NULL,6,2015,864,864,0,1,NULL,1,'2015-12-04 02:13:36','Operating Expenses [OP-E[00000293]]',0),(10161,1,'AP20150200000011','Cost of Goods Sold [OP-C[00000294]]','',NULL,3,'2015-02-28',NULL,2,2015,931,931,0,1,NULL,1,'2015-12-04 02:13:48','Cost of Goods Sold [OP-C[00000294]]',0),(10162,1,'AP20150300000002','Cost of Goods Sold [OP-C[00000295]]','',NULL,3,'2015-03-07',NULL,3,2015,831,831,0,1,NULL,1,'2015-12-04 02:14:45','Cost of Goods Sold [OP-C[00000295]]',0),(10163,1,'AP150700000001','Operating Expenses [OP-E[00000296]]','',NULL,3,'2015-07-31',NULL,7,2015,988,988,0,1,NULL,1,'2015-12-04 02:15:16','Operating Expenses [OP-E[00000296]]',0),(10164,1,'AP20150300000003','Cost of Goods Sold [OP-C[00000297]]','',NULL,3,'2015-03-14',NULL,3,2015,999,999,0,1,NULL,1,'2015-12-04 02:15:24','Cost of Goods Sold [OP-C[00000297]]',0),(10165,1,'AP20150300000004','Cost of Goods Sold [OP-C[00000298]]','',NULL,3,'2015-03-21',NULL,3,2015,867,867,0,1,NULL,1,'2015-12-04 02:15:56','Cost of Goods Sold [OP-C[00000298]]',0),(10166,1,'AP150800000001','Operating Expenses [OP-E[00000299]]','',NULL,3,'2015-08-31',NULL,8,2015,900,900,0,1,NULL,1,'2015-12-04 02:16:05','Operating Expenses [OP-E[00000299]]',0),(10167,1,'AP20150300000005','Cost of Goods Sold [OP-C[00000300]]','',NULL,3,'2015-03-28',NULL,3,2015,920,920,0,1,NULL,1,'2015-12-04 02:16:30','Cost of Goods Sold [OP-C[00000300]]',0),(10168,1,'AP150900000001','Operating Expenses [OP-E[00000301]]','',NULL,3,'2015-09-30',NULL,9,2015,985,985,0,1,NULL,1,'2015-12-04 02:19:08','Operating Expenses [OP-E[00000301]]',0),(10169,1,'AP20150400000005','Cost of Goods Sold [OP-C[00000302]]','',NULL,3,'2015-04-04',NULL,4,2015,875,875,0,1,NULL,1,'2015-12-04 02:19:51','Cost of Goods Sold [OP-C[00000302]]',0),(10170,1,'AP20150400000006','Cost of Goods Sold [OP-C[00000303]]','',NULL,3,'2015-04-11',NULL,4,2015,964,964,0,1,NULL,1,'2015-12-04 02:20:40','Cost of Goods Sold [OP-C[00000303]]',0),(10171,1,'AP20150400000007','Cost of Goods Sold [OP-C[00000304]]','',NULL,3,'2015-04-18',NULL,4,2015,937,937,0,1,NULL,1,'2015-12-04 02:21:11','Cost of Goods Sold [OP-C[00000304]]',0),(10172,1,'AP20151000000005','Operating Expenses [OP-E[00000305]]','',NULL,3,'2015-10-31',NULL,10,2015,843,843,0,1,NULL,1,'2015-12-04 02:21:19','Operating Expenses [OP-E[00000305]]',0),(10174,1,'AP20150400000008','Cost of Goods Sold [OP-C[00000306]]','',NULL,3,'2015-04-25',NULL,4,2015,899,899,0,1,NULL,1,'2015-12-04 02:21:52','Cost of Goods Sold [OP-C[00000306]]',0),(10175,1,'AP20151100000287','Operating Expenses [OP-E[00000307]]','',NULL,3,'2015-11-30',NULL,11,2015,975,975,0,1,NULL,1,'2015-12-04 02:21:59','Operating Expenses [OP-E[00000307]]',0),(10177,1,'AP20150500000002','Cost of Goods Sold [OP-C[00000309]]','',NULL,3,'2015-05-02',NULL,5,2015,969,969,0,1,NULL,1,'2015-12-04 02:22:36','Cost of Goods Sold [OP-C[00000309]]',0),(10178,1,'AP20150100000024','Operating Expenses [OP-E[00000310]]','',NULL,3,'2015-01-31',NULL,1,2015,988,988,0,1,NULL,1,'2015-12-04 02:31:18','Operating Expenses [OP-E[00000310]]',0),(10179,1,'AP20150200000012','Operating Expenses [OP-E[00000311]]','',NULL,3,'2015-02-28',NULL,2,2015,867,867,0,1,NULL,1,'2015-12-04 02:31:53','Operating Expenses [OP-E[00000311]]',0),(10180,1,'AP20150300000006','Operating Expenses [OP-E[00000312]]','',NULL,3,'2015-03-31',NULL,3,2015,978,978,0,1,NULL,1,'2015-12-04 02:32:28','Operating Expenses [OP-E[00000312]]',0),(10181,1,'AP20150400000009','Operating Expenses [OP-E[00000313]]','',NULL,3,'2015-04-30',NULL,4,2015,995,995,0,1,NULL,1,'2015-12-04 02:33:13','Operating Expenses [OP-E[00000313]]',0),(10182,1,'AP20150500000003','Cost of Goods Sold [OP-C[00000314]]','',NULL,3,'2015-05-09',NULL,5,2015,909,909,0,1,NULL,1,'2015-12-04 02:33:42','Cost of Goods Sold [OP-C[00000314]]',0),(10183,1,'AP20150500000004','Operating Expenses [OP-E[00000315]]','',NULL,3,'2015-05-31',NULL,5,2015,897,897,0,1,NULL,1,'2015-12-04 02:33:50','Operating Expenses [OP-E[00000315]]',0),(10184,1,'AP20150500000005','Cost of Goods Sold [OP-C[00000316]]','',NULL,3,'2015-05-16',NULL,5,2015,901,901,0,1,NULL,1,'2015-12-04 02:34:14','Cost of Goods Sold [OP-C[00000316]]',0),(10185,1,'AP20150600000006','Operating Expenses [OP-E[00000317]]','',NULL,3,'2015-06-30',NULL,6,2015,855,855,0,1,NULL,1,'2015-12-04 02:34:27','Operating Expenses [OP-E[00000317]]',0),(10186,1,'AP20150500000006','Cost of Goods Sold [OP-C[00000318]]','',NULL,3,'2015-05-23',NULL,5,2015,919,919,0,1,NULL,1,'2015-12-04 02:34:55','Cost of Goods Sold [OP-C[00000318]]',0),(10187,1,'AP20150700000002','Operating Expenses [OP-E[00000319]]','',NULL,3,'2015-07-31',NULL,7,2015,859,859,0,1,NULL,1,'2015-12-04 02:34:56','Operating Expenses [OP-E[00000319]]',0),(10188,1,'AP20150800000002','Operating Expenses [OP-E[00000320]]','',NULL,3,'2015-08-31',NULL,8,2015,978,978,0,1,NULL,1,'2015-12-04 02:35:34','Operating Expenses [OP-E[00000320]]',0),(10189,1,'AP20150900000002','Operating Expenses [OP-E[00000321]]','',NULL,3,'2015-09-30',NULL,9,2015,958,958,0,1,NULL,1,'2015-12-04 02:37:12','Operating Expenses [OP-E[00000321]]',0),(10190,1,'AP20151000000006','Operating Expenses [OP-E[00000322]]','',NULL,3,'2015-10-31',NULL,10,2015,987,987,0,1,NULL,1,'2015-12-04 02:37:59','Operating Expenses [OP-E[00000322]]',0),(10191,1,'AP20151100000288','Operating Expenses [OP-E[00000323]]','',NULL,3,'2015-11-30',NULL,11,2015,985,985,0,1,NULL,1,'2015-12-04 02:38:57','Operating Expenses [OP-E[00000323]]',0),(10194,1,'AP20150100000025','Operating Expenses [OP-E[00000326]]','',NULL,3,'2015-01-31',NULL,1,2015,800,800,0,1,NULL,1,'2015-12-04 02:42:06','Operating Expenses [OP-E[00000326]]',0),(10195,1,'AP20150200000013','Operating Expenses [OP-E[00000327]]','',NULL,3,'2015-02-28',NULL,2,2015,800,800,0,1,NULL,1,'2015-12-04 02:42:48','Operating Expenses [OP-E[00000327]]',0),(10196,1,'AP20150300000007','Operating Expenses [OP-E[00000328]]','',NULL,3,'2015-03-31',NULL,3,2015,800,800,0,1,NULL,1,'2015-12-04 02:43:28','Operating Expenses [OP-E[00000328]]',0),(10197,1,'AP20150400000010','Operating Expenses [OP-E[00000329]]','',NULL,3,'2015-04-30',NULL,4,2015,800,800,0,1,NULL,1,'2015-12-04 02:44:23','Operating Expenses [OP-E[00000329]]',0),(10198,1,'AP20150500000007','Cost of Goods Sold [OP-C[00000330]]','',NULL,3,'2015-05-30',NULL,5,2015,870,870,0,1,NULL,1,'2015-12-04 02:44:41','Cost of Goods Sold [OP-C[00000330]]',0),(10199,1,'AP20150500000008','Operating Expenses [OP-E[00000331]]','',NULL,3,'2015-05-31',NULL,5,2015,800,800,0,1,NULL,1,'2015-12-04 02:44:59','Operating Expenses [OP-E[00000331]]',0),(10200,1,'AP20150600000007','Cost of Goods Sold [OP-C[00000332]]','',NULL,3,'2015-06-06',NULL,6,2015,989,989,0,1,NULL,1,'2015-12-04 02:45:48','Cost of Goods Sold [OP-C[00000332]]',0),(10201,1,'AP20150600000008','Operating Expenses [OP-E[00000333]]','',NULL,3,'2015-06-30',NULL,6,2015,800,800,0,1,NULL,1,'2015-12-04 02:45:51','Operating Expenses [OP-E[00000333]]',0),(10202,1,'AP20150600000009','Cost of Goods Sold [OP-C[00000334]]','',NULL,3,'2015-06-13',NULL,6,2015,877,877,0,1,NULL,1,'2015-12-04 02:46:21','Cost of Goods Sold [OP-C[00000334]]',0),(10203,1,'AP20150700000003','Operating Expenses [OP-E[00000335]]','',NULL,3,'2015-07-31',NULL,7,2015,800,800,0,1,NULL,1,'2015-12-04 02:46:29','Operating Expenses [OP-E[00000335]]',0),(10204,1,'AP20150600000010','Cost of Goods Sold [OP-C[00000336]]','',NULL,3,'2015-06-20',NULL,6,2015,932,932,0,1,NULL,1,'2015-12-04 02:46:49','Cost of Goods Sold [OP-C[00000336]]',0),(10205,1,'AP20150800000003','Operating Expenses [OP-E[00000337]]','',NULL,3,'2015-08-31',NULL,8,2015,800,800,0,1,NULL,1,'2015-12-04 02:47:39','Operating Expenses [OP-E[00000337]]',0),(10206,1,'AP20150900000003','Operating Expenses [OP-E[00000338]]','',NULL,3,'2015-09-30',NULL,9,2015,800,800,0,1,NULL,1,'2015-12-04 02:48:09','Operating Expenses [OP-E[00000338]]',0),(10207,1,'AP20150600000011','Cost of Goods Sold [OP-C[00000339]]','',NULL,3,'2015-06-27',NULL,6,2015,856,856,0,1,NULL,1,'2015-12-04 02:48:10','Cost of Goods Sold [OP-C[00000339]]',0),(10208,1,'AP20151000000007','Operating Expenses [OP-E[00000340]]','',NULL,3,'2015-10-31',NULL,10,2015,800,800,0,1,NULL,1,'2015-12-04 02:48:53','Operating Expenses [OP-E[00000340]]',0),(10209,1,'AP20151100000289','Operating Expenses [OP-E[00000341]]','',NULL,3,'2015-11-30',NULL,11,2015,800,800,0,1,NULL,1,'2015-12-04 02:49:36','Operating Expenses [OP-E[00000341]]',0),(10212,1,'AP20150100000026','Operating Expenses [OP-E[00000344]]','',NULL,3,'2015-01-31',NULL,1,2015,950,950,0,1,NULL,1,'2015-12-04 02:51:24','Operating Expenses [OP-E[00000344]]',0),(10213,1,'AP20150200000014','Operating Expenses [OP-E[00000345]]','',NULL,3,'2015-02-28',NULL,2,2015,950,950,0,1,NULL,1,'2015-12-04 02:52:01','Operating Expenses [OP-E[00000345]]',0),(10214,1,'AP20150300000008','Operating Expenses [OP-E[00000346]]','',NULL,3,'2015-03-31',NULL,3,2015,950,950,0,1,NULL,1,'2015-12-04 02:52:54','Operating Expenses [OP-E[00000346]]',0),(10215,1,'AP20150400000011','Operating Expenses [OP-E[00000347]]','',NULL,3,'2015-04-30',NULL,4,2015,950,950,0,1,NULL,1,'2015-12-04 02:53:30','Operating Expenses [OP-E[00000347]]',0),(10216,1,'AP20150700000004','Cost of Goods Sold [OP-C[00000348]]','',NULL,3,'2015-07-04',NULL,7,2015,879,879,0,1,NULL,1,'2015-12-04 02:53:40','Cost of Goods Sold [OP-C[00000348]]',0),(10217,1,'AP20150500000009','Operating Expenses [OP-E[00000349]]','',NULL,3,'2015-05-31',NULL,5,2015,950,950,0,1,NULL,1,'2015-12-04 02:54:22','Operating Expenses [OP-E[00000349]]',0),(10218,1,'AP20150700000005','Cost of Goods Sold [OP-C[00000350]]','',NULL,3,'2015-07-11',NULL,7,2015,905,905,0,1,NULL,1,'2015-12-04 02:54:41','Cost of Goods Sold [OP-C[00000350]]',0),(10219,1,'AP20150600000012','Operating Expenses [OP-E[00000351]]','',NULL,3,'2015-06-30',NULL,6,2015,950,950,0,1,NULL,1,'2015-12-04 02:58:44','Operating Expenses [OP-E[00000351]]',0),(10220,1,'AP20150700000006','Cost of Goods Sold [OP-C[00000352]]','',NULL,3,'2015-07-18',NULL,7,2015,915,915,0,1,NULL,1,'2015-12-04 02:59:28','Cost of Goods Sold [OP-C[00000352]]',0),(10221,1,'AP20150700000007','Cost of Goods Sold [OP-C[00000353]]','',NULL,3,'2015-07-25',NULL,7,2015,929,929,0,1,NULL,1,'2015-12-04 03:00:06','Cost of Goods Sold [OP-C[00000353]]',0),(10223,1,'AP20150800000004','Cost of Goods Sold [OP-C[00000354]]','',NULL,3,'2015-08-01',NULL,8,2015,833,833,0,1,NULL,1,'2015-12-04 03:09:17','Cost of Goods Sold [OP-C[00000354]]',0),(10224,1,'AP20150800000005','Cost of Goods Sold [OP-C[00000355]]','',NULL,3,'2015-08-08',NULL,8,2015,843,843,0,1,NULL,1,'2015-12-04 03:14:03','Cost of Goods Sold [OP-C[00000355]]',0),(10225,1,'AP20150800000006','Cost of Goods Sold [OP-C[00000356]]','',NULL,3,'2015-08-15',NULL,8,2015,979,979,0,1,NULL,1,'2015-12-04 03:15:03','Cost of Goods Sold [OP-C[00000356]]',0),(10226,1,'AP20150800000007','Cost of Goods Sold [OP-C[00000357]]','',NULL,3,'2015-08-22',NULL,8,2015,967,967,0,1,NULL,1,'2015-12-04 03:15:38','Cost of Goods Sold [OP-C[00000357]]',0),(10228,1,'AP20150700000008','Operating Expenses [OP-E[00000359]]','',NULL,3,'2015-07-31',NULL,7,2015,950,950,0,1,NULL,1,'2015-12-04 03:18:01','Operating Expenses [OP-E[00000359]]',0),(10229,1,'AP20150800000008','Operating Expenses [OP-E[00000360]]','',NULL,3,'2015-08-31',NULL,8,2015,950,950,0,1,NULL,1,'2015-12-04 03:19:07','Operating Expenses [OP-E[00000360]]',0),(10230,1,'AP20150900000004','Operating Expenses [OP-E[00000361]]','',NULL,3,'2015-09-30',NULL,9,2015,950,950,0,1,NULL,1,'2015-12-04 03:20:08','Operating Expenses [OP-E[00000361]]',0),(10231,1,'AP20151000000008','Operating Expenses [OP-E[00000362]]','',NULL,3,'2015-10-31',NULL,10,2015,950,950,0,1,NULL,1,'2015-12-04 03:22:46','Operating Expenses [OP-E[00000362]]',0),(10232,1,'AP20151100000290','Operating Expenses [OP-E[00000363]]','',NULL,3,'2015-11-30',NULL,11,2015,950,950,0,1,NULL,1,'2015-12-04 03:23:29','Operating Expenses [OP-E[00000363]]',0),(10233,1,'AP20151200000127','Operating Expenses [OP-E[00000364]]','',NULL,3,'2015-12-31',NULL,12,2015,950,950,0,1,NULL,1,'2015-12-04 03:24:48','Operating Expenses [OP-E[00000364]]',0),(10236,1,'AP20150800000009','Cost of Goods Sold [OP-C[00000365]]','',NULL,3,'2015-08-29',NULL,8,2015,933,933,0,1,NULL,1,'2015-12-04 03:40:49','Cost of Goods Sold [OP-C[00000365]]',0),(10237,1,'AP20150900000005','Cost of Goods Sold [OP-C[00000366]]','',NULL,3,'2015-09-05',NULL,9,2015,999,999,0,1,NULL,1,'2015-12-04 03:41:26','Cost of Goods Sold [OP-C[00000366]]',0),(10238,1,'AP20150900000006','Cost of Goods Sold [OP-C[00000367]]','',NULL,3,'2015-09-12',NULL,9,2015,869,869,0,1,NULL,1,'2015-12-04 03:42:18','Cost of Goods Sold [OP-C[00000367]]',0),(10239,1,'AP20150900000007','Cost of Goods Sold [OP-C[00000368]]','',NULL,3,'2015-09-19',NULL,9,2015,849,849,0,1,NULL,1,'2015-12-04 03:42:56','Cost of Goods Sold [OP-C[00000368]]',0),(10240,1,'AP20150700000009','Operating Expenses [OP-E[00000369]]','',NULL,3,'2015-07-31',NULL,7,2015,850,850,0,1,NULL,1,'2015-12-04 03:42:59','Operating Expenses [OP-E[00000369]]',0),(10241,1,'AP20150800000010','Operating Expenses [OP-E[00000370]]','',NULL,3,'2015-08-31',NULL,8,2015,850,850,0,1,NULL,1,'2015-12-04 03:43:36','Operating Expenses [OP-E[00000370]]',0),(10242,1,'AP20150900000008','Cost of Goods Sold [OP-C[00000371]]','',NULL,3,'2015-09-26',NULL,9,2015,839,839,0,1,NULL,1,'2015-12-04 03:43:47','Cost of Goods Sold [OP-C[00000371]]',0),(10243,1,'AP20150900000009','Operating Expenses [OP-E[00000372]]','',NULL,3,'2015-09-30',NULL,9,2015,850,850,0,1,NULL,1,'2015-12-04 03:44:27','Operating Expenses [OP-E[00000372]]',0),(10244,1,'AP20151000000009','Cost of Goods Sold [OP-C[00000373]]','',NULL,3,'2015-10-03',NULL,10,2015,859,859,0,1,NULL,1,'2015-12-04 03:44:29','Cost of Goods Sold [OP-C[00000373]]',0),(10245,1,'AP20151000000010','Operating Expenses [OP-E[00000374]]','',NULL,3,'2015-10-31',NULL,10,2015,850,850,0,1,NULL,1,'2015-12-04 03:44:59','Operating Expenses [OP-E[00000374]]',0),(10246,1,'AP20151100000291','Operating Expenses [OP-E[00000375]]','',NULL,3,'2015-11-30',NULL,11,2015,850,850,0,1,NULL,1,'2015-12-04 03:45:33','Operating Expenses [OP-E[00000375]]',0),(10247,1,'AP20151200000130','Operating Expenses [OP-E[00000376]]','',NULL,3,'2015-12-31',NULL,12,2015,850,850,0,1,NULL,1,'2015-12-04 03:46:10','Operating Expenses [OP-E[00000376]]',0),(10248,1,'AP20150100000027','Operating Expenses [OP-E[00000377]]','',NULL,3,'2015-01-31',NULL,1,2015,975,975,0,1,NULL,1,'2015-12-04 03:48:14','Operating Expenses [OP-E[00000377]]',0),(10249,1,'AP20150200000015','Operating Expenses [OP-E[00000378]]','',NULL,3,'2015-02-28',NULL,2,2015,865,865,0,1,NULL,1,'2015-12-04 03:48:59','Operating Expenses [OP-E[00000378]]',0),(10250,1,'AP20150300000009','Operating Expenses [OP-E[00000379]]','',NULL,3,'2015-03-31',NULL,3,2015,995,995,0,1,NULL,1,'2015-12-04 03:49:50','Operating Expenses [OP-E[00000379]]',0),(10251,1,'AP20150400000012','Operating Expenses [OP-E[00000380]]','',NULL,3,'2015-04-30',NULL,4,2015,840,840,0,1,NULL,1,'2015-12-04 03:50:44','Operating Expenses [OP-E[00000380]]',0),(10252,1,'AP20150500000010','Operating Expenses [OP-E[00000381]]','',NULL,3,'2015-05-31',NULL,5,2015,988,988,0,1,NULL,1,'2015-12-04 03:53:24','Operating Expenses [OP-E[00000381]]',0),(10253,1,'AP20150600000013','Operating Expenses [OP-E[00000382]]','',NULL,3,'2015-06-30',NULL,6,2015,855,855,0,1,NULL,1,'2015-12-04 03:53:59','Operating Expenses [OP-E[00000382]]',0),(10254,1,'AP20150700000010','Operating Expenses [OP-E[00000383]]','',NULL,3,'2015-07-31',NULL,7,2015,972,972,0,1,NULL,1,'2015-12-04 03:54:34','Operating Expenses [OP-E[00000383]]',0),(10255,1,'AP20150800000011','Operating Expenses [OP-E[00000384]]','',NULL,3,'2015-08-31',NULL,8,2015,990,990,0,1,NULL,1,'2015-12-04 03:55:06','Operating Expenses [OP-E[00000384]]',0),(10256,1,'AP20150900000010','Operating Expenses [OP-E[00000385]]','',NULL,3,'2015-09-30',NULL,9,2015,865,865,0,1,NULL,1,'2015-12-04 03:55:51','Operating Expenses [OP-E[00000385]]',0),(10257,1,'AP20151000000011','Operating Expenses [OP-E[00000386]]','',NULL,3,'2015-10-31',NULL,10,2015,840,840,0,1,NULL,1,'2015-12-04 03:56:40','Operating Expenses [OP-E[00000386]]',0),(10259,1,'AP20151100000292','Operating Expenses [OP-E[00000388]]','',NULL,3,'2015-11-30',NULL,11,2015,858,858,0,1,NULL,1,'2015-12-04 03:57:08','Operating Expenses [OP-E[00000388]]',0),(10261,1,'AP20150100000028','Operating Expenses [OP-E[00000390]]','',NULL,3,'2015-01-25',NULL,1,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:02:08','Operating Expenses [OP-E[00000390]]',0),(10262,1,'AP20150200000016','Operating Expenses [OP-E[00000391]]','',NULL,3,'2015-02-25',NULL,2,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:02:53','Operating Expenses [OP-E[00000391]]',0),(10263,1,'AP20150300000010','Operating Expenses [OP-E[00000392]]','',NULL,3,'2015-03-31',NULL,3,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:03:23','Operating Expenses [OP-E[00000392]]',0),(10265,1,'AP20150400000013','Operating Expenses [OP-E[00000394]]','',NULL,3,'2015-04-25',NULL,4,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:04:02','Operating Expenses [OP-E[00000394]]',0),(10266,1,'AP20150500000011','Operating Expenses [OP-E[00000395]]','',NULL,3,'2015-05-25',NULL,5,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:04:36','Operating Expenses [OP-E[00000395]]',0),(10267,1,'AP20150600000014','Operating Expenses [OP-E[00000396]]','',NULL,3,'2015-06-25',NULL,6,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:05:36','Operating Expenses [OP-E[00000396]]',0),(10268,1,'AP20150700000011','Operating Expenses [OP-E[00000397]]','',NULL,3,'2015-07-25',NULL,7,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:06:10','Operating Expenses [OP-E[00000397]]',0),(10269,1,'AP20150800000012','Operating Expenses [OP-E[00000398]]','',NULL,3,'2015-08-25',NULL,8,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:06:46','Operating Expenses [OP-E[00000398]]',0),(10270,1,'AP20150900000011','Operating Expenses [OP-E[00000399]]','',NULL,3,'2015-09-25',NULL,9,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:07:17','Operating Expenses [OP-E[00000399]]',0),(10271,1,'AP20151000000012','Operating Expenses [OP-E[00000400]]','',NULL,3,'2015-10-25',NULL,10,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:08:04','Operating Expenses [OP-E[00000400]]',0),(10272,1,'AP20151100000293','Operating Expenses [OP-E[00000401]]','',NULL,3,'2015-11-25',NULL,11,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:08:36','Operating Expenses [OP-E[00000401]]',0),(10273,1,'AP20151200000134','Operating Expenses [OP-E[00000402]]','',NULL,3,'2015-12-31',NULL,12,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:09:11','Operating Expenses [OP-E[00000402]]',0),(10276,1,'AP20150100000029','Operating Expenses [OP-E[00000404]]','',NULL,3,'2015-01-26',NULL,1,2015,100,100,0,1,NULL,1,'2015-12-04 04:19:20','Operating Expenses [OP-E[00000404]]',0),(10277,1,'AP20150200000017','Operating Expenses [OP-E[00000405]]','',NULL,3,'2015-02-26',NULL,2,2015,100,100,0,1,NULL,1,'2015-12-04 04:19:59','Operating Expenses [OP-E[00000405]]',0),(10278,1,'AP20150300000011','Operating Expenses [OP-E[00000406]]','',NULL,3,'2015-03-26',NULL,3,2015,100,100,0,1,NULL,1,'2015-12-04 04:20:30','Operating Expenses [OP-E[00000406]]',0),(10279,1,'AP20150400000014','Operating Expenses [OP-E[00000407]]','',NULL,3,'2015-04-26',NULL,4,2015,100,100,0,1,NULL,1,'2015-12-04 04:25:03','Operating Expenses [OP-E[00000407]]',0),(10280,1,'AP20150500000012','Operating Expenses [OP-E[00000408]]','',NULL,3,'2015-05-26',NULL,5,2015,100,100,0,1,NULL,1,'2015-12-04 04:25:40','Operating Expenses [OP-E[00000408]]',0),(10281,1,'AP20150600000015','Operating Expenses [OP-E[00000409]]','',NULL,3,'2015-06-26',NULL,6,2015,100,100,0,1,NULL,1,'2015-12-04 04:26:51','Operating Expenses [OP-E[00000409]]',0),(10282,1,'AP20150700000012','Operating Expenses [OP-E[00000410]]','',NULL,3,'2015-07-26',NULL,7,2015,100,100,0,1,NULL,1,'2015-12-04 04:34:54','Operating Expenses [OP-E[00000410]]',0),(10283,1,'AP20150800000013','Operating Expenses [OP-E[00000411]]','',NULL,3,'2015-08-26',NULL,8,2015,100,100,0,1,NULL,1,'2015-12-04 04:35:23','Operating Expenses [OP-E[00000411]]',0),(10284,1,'AP20150900000012','Operating Expenses [OP-E[00000412]]','',NULL,3,'2015-09-26',NULL,9,2015,100,100,0,1,NULL,1,'2015-12-04 04:35:51','Operating Expenses [OP-E[00000412]]',0),(10285,1,'AP20151000000013','Operating Expenses [OP-E[00000413]]','',NULL,3,'2015-10-26',NULL,10,2015,100,100,0,1,NULL,1,'2015-12-04 04:36:34','Operating Expenses [OP-E[00000413]]',0),(10286,1,'AP20151100000294','Operating Expenses [OP-E[00000414]]','',NULL,3,'2015-11-26',NULL,11,2015,100,100,0,1,NULL,1,'2015-12-04 04:37:13','Operating Expenses [OP-E[00000414]]',0),(10287,1,'AP20151200000137','Operating Expenses [OP-E[00000415]]','',NULL,3,'2015-12-26',NULL,12,2015,100,100,0,1,NULL,1,'2015-12-04 04:37:53','Operating Expenses [OP-E[00000415]]',0),(10288,1,'AP20151200000138','Operating Expenses [OP-E[00000416]]','',NULL,3,'2015-12-30',NULL,12,2015,2500,2500,0,1,NULL,1,'2015-12-04 04:53:00','Operating Expenses [OP-E[00000416]]',0),(10289,1,'AP20150400000015','Operating Expenses [OP-E[00000417]]','',NULL,3,'2015-04-25',NULL,4,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:53:48','Operating Expenses [OP-E[00000417]]',0),(10290,1,'AP20150800000014','Operating Expenses [OP-E[00000418]]','',NULL,3,'2015-08-25',NULL,8,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:54:17','Operating Expenses [OP-E[00000418]]',0),(10291,1,'AP20151200000139','Operating Expenses [OP-E[00000419]]','',NULL,3,'2015-12-25',NULL,12,2015,1000,1000,0,1,NULL,1,'2015-12-04 04:54:49','Operating Expenses [OP-E[00000419]]',0),(10292,1,'AP20150400000016','Operating Expenses [OP-E[00000420]]','',NULL,3,'2015-04-28',NULL,4,2015,800,800,0,1,NULL,1,'2015-12-04 04:55:44','Operating Expenses [OP-E[00000420]]',0),(10293,1,'AP20150800000015','Operating Expenses [OP-E[00000421]]','',NULL,3,'2015-08-28',NULL,8,2015,800,800,0,1,NULL,1,'2015-12-04 04:56:19','Operating Expenses [OP-E[00000421]]',0),(10294,1,'AP20151200000140','Operating Expenses [OP-E[00000422]]','',NULL,3,'2015-12-28',NULL,12,2015,800,800,0,1,NULL,1,'2015-12-04 04:56:48','Operating Expenses [OP-E[00000422]]',0),(10300,1,'AP20151000000014','Cost of Goods Sold [OP-C[00000423]]','',NULL,3,'2015-10-10',NULL,10,2015,985,985,0,1,NULL,1,'2015-12-04 07:54:32','Cost of Goods Sold [OP-C[00000423]]',0),(10301,1,'AP20151000000015','Cost of Goods Sold [OP-C[00000424]]','',NULL,3,'2015-10-17',NULL,10,2015,880,880,0,1,NULL,1,'2015-12-04 07:57:08','Cost of Goods Sold [OP-C[00000424]]',0),(10302,1,'AP20151000000016','Cost of Goods Sold [OP-C[00000425]]','',NULL,3,'2015-10-24',NULL,10,2015,875,875,0,1,NULL,1,'2015-12-04 07:57:48','Cost of Goods Sold [OP-C[00000425]]',0),(10303,1,'AP20151000000017','Cost of Goods Sold [OP-C[00000426]]','',NULL,3,'2015-10-31',NULL,10,2015,955,955,0,1,NULL,1,'2015-12-04 07:59:19','Cost of Goods Sold [OP-C[00000426]]',0),(10304,1,'AP20151100000295','Cost of Goods Sold [OP-C[00000427]]','',NULL,3,'2015-11-07',NULL,11,2015,999,999,0,1,NULL,1,'2015-12-04 07:59:59','Cost of Goods Sold [OP-C[00000427]]',0),(10305,1,'AP20151100000296','Cost of Goods Sold [OP-C[00000428]]','',NULL,3,'2015-11-14',NULL,11,2015,910,910,0,1,NULL,1,'2015-12-04 08:00:38','Cost of Goods Sold [OP-C[00000428]]',0),(10306,1,'AP20150400000017','Operating Expenses [OP-E[00000429]]','',NULL,3,'2015-04-30',NULL,4,2015,900,900,0,1,NULL,1,'2015-12-04 08:00:52','Operating Expenses [OP-E[00000429]]',0),(10307,1,'AP20151100000297','Cost of Goods Sold [OP-C[00000430]]','',NULL,3,'2015-11-21',NULL,11,2015,897,897,0,1,NULL,1,'2015-12-04 08:01:10','Cost of Goods Sold [OP-C[00000430]]',0),(10308,1,'AP20150800000016','Operating Expenses [OP-E[00000431]]','',NULL,3,'2015-08-31',NULL,8,2015,900,900,0,1,NULL,1,'2015-12-04 08:01:21','Operating Expenses [OP-E[00000431]]',0),(10309,1,'AP20151200000146','Operating Expenses [OP-E[00000432]]','',NULL,3,'2015-12-31',NULL,12,2015,900,900,0,1,NULL,1,'2015-12-04 08:01:52','Operating Expenses [OP-E[00000432]]',0),(10310,1,'AP20151100000298','Cost of Goods Sold [OP-C[00000433]]','',NULL,3,'2015-11-28',NULL,11,2015,935,935,0,1,NULL,1,'2015-12-04 08:02:07','Cost of Goods Sold [OP-C[00000433]]',0),(10311,1,'AP20151200000147','Cost of Goods Sold [OP-C[00000434]]','',NULL,3,'2015-12-05',NULL,12,2015,877,877,0,1,NULL,1,'2015-12-04 08:03:05','Cost of Goods Sold [OP-C[00000434]]',0),(10312,1,'AP20150400000018','Operating Expenses [OP-E[00000435]]','',NULL,3,'2015-04-24',NULL,4,2015,850,850,0,1,NULL,1,'2015-12-04 08:03:17','Operating Expenses [OP-E[00000435]]',0),(10313,1,'AP20151200000148','Cost of Goods Sold [OP-C[00000436]]','',NULL,3,'2015-12-12',NULL,12,2015,865,865,0,1,NULL,1,'2015-12-04 08:03:49','Cost of Goods Sold [OP-C[00000436]]',0),(10314,1,'AP20150800000017','Operating Expenses [OP-E[00000437]]','',NULL,3,'2015-08-24',NULL,8,2015,850,850,0,1,NULL,1,'2015-12-04 08:03:50','Operating Expenses [OP-E[00000437]]',0),(10315,1,'AP20151200000149','Operating Expenses [OP-E[00000438]]','',NULL,3,'2015-12-24',NULL,12,2015,850,850,0,1,NULL,1,'2015-12-04 08:04:23','Operating Expenses [OP-E[00000438]]',0),(10316,1,'AP20150600000016','Operating Expenses [OP-E[00000439]]','',NULL,3,'2015-06-30',NULL,6,2015,900,900,0,1,NULL,1,'2015-12-04 08:05:14','Operating Expenses [OP-E[00000439]]',0),(10317,1,'AP20151200000150','Operating Expenses [OP-E[00000440]]','',NULL,3,'2015-12-31',NULL,12,2015,958,958,0,1,NULL,1,'2015-12-04 08:05:50','Operating Expenses [OP-E[00000440]]',0),(10318,1,'AP20151200000151','Cost of Goods Sold [OP-C[00000441]]','',NULL,3,'2015-12-19',NULL,12,2015,967,967,0,1,NULL,1,'2015-12-04 08:06:39','Cost of Goods Sold [OP-C[00000441]]',0),(10320,1,'AP20150800000018','Operating Expenses [OP-E[00000443]]','',NULL,3,'2015-08-28',NULL,8,2015,800,800,0,1,NULL,1,'2015-12-04 08:10:14','Operating Expenses [OP-E[00000443]]',0),(10321,1,'AP20150300000012','Operating Expenses [OP-E[00000444]]','',NULL,3,'2015-03-25',NULL,3,2015,850,850,0,1,NULL,1,'2015-12-04 08:11:36','Operating Expenses [OP-E[00000444]]',0),(10322,1,'AP20150600000017','Operating Expenses [OP-E[00000445]]','',NULL,3,'2015-06-25',NULL,6,2015,850,850,0,1,NULL,1,'2015-12-04 08:12:06','Operating Expenses [OP-E[00000445]]',0),(10323,1,'AP20150900000013','Operating Expenses [OP-E[00000446]]','',NULL,3,'2015-09-25',NULL,9,2015,850,850,0,1,NULL,1,'2015-12-04 08:12:39','Operating Expenses [OP-E[00000446]]',0),(10324,1,'AP20151200000153','Operating Expenses [OP-E[00000447]]','',NULL,3,'2015-12-31',NULL,12,2015,850,850,0,1,NULL,1,'2015-12-04 08:13:07','Operating Expenses [OP-E[00000447]]',0),(10325,1,'AP20150500000013','Operating Expenses [OP-E[00000448]]','',NULL,3,'2015-05-20',NULL,5,2015,900,900,0,1,NULL,1,'2015-12-04 08:14:05','Operating Expenses [OP-E[00000448]]',0),(10326,1,'AP20150400000019','Operating Expenses [OP-E[00000449]]','',NULL,3,'2015-04-30',NULL,4,2015,900,900,0,1,NULL,1,'2015-12-04 08:14:51','Operating Expenses [OP-E[00000449]]',0),(10327,1,'AP20150800000019','Operating Expenses [OP-E[00000450]]','',NULL,3,'2015-08-31',NULL,8,2015,900,900,0,1,NULL,1,'2015-12-04 08:15:28','Operating Expenses [OP-E[00000450]]',0),(10328,1,'AP20151200000154','Operating Expenses [OP-E[00000451]]','',NULL,3,'2015-12-31',NULL,12,2015,900,900,0,1,NULL,1,'2015-12-04 08:15:58','Operating Expenses [OP-E[00000451]]',0),(10329,1,'AP20150300000013','Operating Expenses [OP-E[00000452]]','',NULL,3,'2015-03-19',NULL,3,2015,1000,1000,0,1,NULL,1,'2015-12-04 08:16:35','Operating Expenses [OP-E[00000452]]',0),(10330,1,'AP20150600000018','Operating Expenses [OP-E[00000453]]','',NULL,3,'2015-06-16',NULL,6,2015,850,850,0,1,NULL,1,'2015-12-04 08:17:08','Operating Expenses [OP-E[00000453]]',0),(10331,1,'AP20150200000018','Operating Expenses [OP-E[00000454]]','',NULL,3,'2015-02-18',NULL,2,2015,20,20,0,1,NULL,1,'2015-12-04 08:17:54','Operating Expenses [OP-E[00000454]]',0),(10332,1,'AP20150600000019','Operating Expenses [OP-E[00000455]]','',NULL,3,'2015-06-09',NULL,6,2015,20,20,0,1,NULL,1,'2015-12-04 08:18:31','Operating Expenses [OP-E[00000455]]',0),(10333,1,'AP20150200000019','Loan [  [LR[00000456]]] ]','',NULL,3,'2015-02-07',NULL,2,2015,35000,35000,0,1,NULL,1,'2015-12-04 08:21:20',' [LR[00000456]]]',0),(10334,1,'AP20150200000020','Operating Expenses [OP-E[00000457]]','',NULL,3,'2015-02-25',NULL,2,2015,40,40,0,1,NULL,1,'2015-12-04 08:21:25','Operating Expenses [OP-E[00000457]]',0),(10335,1,'AP20150700000013','Operating Expenses [OP-E[00000458]]','',NULL,3,'2015-07-15',NULL,7,2015,90,90,0,1,NULL,1,'2015-12-04 08:22:03','Operating Expenses [OP-E[00000458]]',0),(10336,1,'AP20151100000299','Operating Expenses [OP-E[00000459]]','',NULL,3,'2015-11-25',NULL,11,2015,80,80,0,1,NULL,1,'2015-12-04 08:22:35','Operating Expenses [OP-E[00000459]]',0),(10337,1,'AP20150100000030','Operating Expenses [OP-E[00000460]]','',NULL,3,'2015-01-14',NULL,1,2015,90,90,0,1,NULL,1,'2015-12-04 08:24:16','Operating Expenses [OP-E[00000460]]',0),(10338,1,'AP20150700000014','Operating Expenses [OP-E[00000461]]','',NULL,3,'2015-07-22',NULL,7,2015,70,70,0,1,NULL,1,'2015-12-04 08:24:50','Operating Expenses [OP-E[00000461]]',0),(10339,1,'AP20151000000018','Operating Expenses [OP-E[00000462]]','',NULL,3,'2015-10-13',NULL,10,2015,980,980,0,1,NULL,1,'2015-12-04 08:26:01','Operating Expenses [OP-E[00000462]]',0),(10340,1,'AP20150900000014','Operating Expenses [OP-E[00000463]]','',NULL,3,'2015-09-14',NULL,9,2015,850,850,0,1,NULL,1,'2015-12-04 08:26:32','Operating Expenses [OP-E[00000463]]',0),(10341,1,'AP20150400000020','Operating Expenses [OP-E[00000464]]','',NULL,3,'2015-04-30',NULL,4,2015,850,850,0,1,NULL,1,'2015-12-04 08:31:25','Operating Expenses [OP-E[00000464]]',0),(10342,1,'AP20150800000020','Operating Expenses [OP-E[00000465]]','',NULL,3,'2015-08-31',NULL,8,2015,849,849,0,1,NULL,1,'2015-12-04 08:31:58','Operating Expenses [OP-E[00000465]]',0),(10343,1,'AP20151200000155','Operating Expenses [OP-E[00000466]]','',NULL,3,'2015-12-31',NULL,12,2015,970,970,0,1,NULL,1,'2015-12-04 08:32:25','Operating Expenses [OP-E[00000466]]',0),(10344,1,'AP20150100000031','Operating Expenses [OP-E[00000467]]','',NULL,3,'2015-01-26',NULL,1,2015,900,900,0,1,NULL,1,'2015-12-04 08:33:04','Operating Expenses [OP-E[00000467]]',0),(10345,1,'AP20150100000032','Operating Expenses [OP-E[00000468]]','',NULL,3,'2015-01-26',NULL,1,2015,900,900,0,1,NULL,1,'2015-12-04 08:33:05','Operating Expenses [OP-E[00000468]]',0),(10346,1,'AP20150100000033','Operating Expenses [OP-E[00000469]]','',NULL,3,'2015-01-26',NULL,1,2015,900,900,0,1,NULL,1,'2015-12-04 08:33:09','Operating Expenses [OP-E[00000469]]',0),(10347,1,'AP20150100000034','Operating Expenses [OP-E[00000470]]','',NULL,3,'2015-01-26',NULL,1,2015,900,900,0,1,NULL,1,'2015-12-04 08:33:14','Operating Expenses [OP-E[00000470]]',0),(10348,1,'AP20150500000014','Operating Expenses [OP-E[00000471]]','',NULL,3,'2015-05-26',NULL,5,2015,970,970,0,1,NULL,1,'2015-12-04 08:33:52','Operating Expenses [OP-E[00000471]]',0),(10349,1,'AP20150900000015','Operating Expenses [OP-E[00000472]]','',NULL,3,'2015-09-29',NULL,9,2015,870,870,0,1,NULL,1,'2015-12-04 08:34:30','Operating Expenses [OP-E[00000472]]',0),(10351,1,'AP20150800000021','Operating Expenses [OP-E[00000474]]','',NULL,3,'2015-08-27',NULL,8,2015,1000,1000,0,1,NULL,1,'2015-12-04 08:40:59','Operating Expenses [OP-E[00000474]]',0),(10356,1,'AP20151200000160','Loan [  [LR[00000276]]] ]','',NULL,3,'2015-12-03',NULL,12,2015,800,800,0,1,NULL,1,'2015-12-07 08:15:37',' [LR[00000276]]]',0),(10357,1,'AP20150100000036','Transfer [  [TT[00000477]]] ]','',NULL,3,'2015-01-14',NULL,1,2015,3000,3000,0,1,NULL,1,'2015-12-07 08:54:57',' [TT[00000477]]]',0),(10358,1,'AP20150100000037','Purchase of Asset [OP-A[00000478]]','',NULL,3,'2015-01-07',NULL,1,2015,1999,1999,0,1,NULL,1,'2015-12-07 09:23:48','Purchase of Asset [OP-A[00000478]]',0),(10359,1,'AP20150100000038','Purchase of Asset [OP-A[00000479]]','',NULL,3,'2015-01-22',NULL,1,2015,1789,1789,0,1,NULL,1,'2015-12-07 09:24:37','Purchase of Asset [OP-A[00000479]]',0),(10360,1,'AP20150200000021','Purchase of Asset [OP-A[00000480]]','',NULL,3,'2015-02-05',NULL,2,2015,1923,1923,0,1,NULL,1,'2015-12-07 09:25:21','Purchase of Asset [OP-A[00000480]]',0),(10362,1,'AP20150300000014','Purchase of Asset [OP-A[00000482]]','',NULL,3,'2015-03-11',NULL,3,2015,1830,1830,0,1,NULL,1,'2015-12-07 09:26:49','Purchase of Asset [OP-A[00000482]]',0),(10363,1,'AP20150300000015','Purchase of Asset [OP-A[00000483]]','',NULL,3,'2015-03-31',NULL,3,2015,2000,2000,0,1,NULL,1,'2015-12-07 09:27:32','Purchase of Asset [OP-A[00000483]]',0),(10364,1,'AP20150400000021','Purchase of Asset [OP-A[00000484]]','',NULL,3,'2015-04-01',NULL,4,2015,1650,1650,0,1,NULL,1,'2015-12-07 09:28:47','Purchase of Asset [OP-A[00000484]]',0),(10365,1,'AP20150400000022','Purchase of Asset [OP-A[00000485]]','',NULL,3,'2015-04-15',NULL,4,2015,1700,1700,0,1,NULL,1,'2015-12-07 09:29:31','Purchase of Asset [OP-A[00000485]]',0),(10366,1,'AP20150500000015','Purchase of Asset [OP-A[00000486]]','',NULL,3,'2015-05-01',NULL,5,2015,1989,1989,0,1,NULL,1,'2015-12-07 09:30:16','Purchase of Asset [OP-A[00000486]]',0),(10367,1,'AP20150500000016','Purchase of Asset [OP-A[00000487]]','',NULL,3,'2015-05-29',NULL,5,2015,1998,1998,0,1,NULL,1,'2015-12-07 09:30:56','Purchase of Asset [OP-A[00000487]]',0),(10368,1,'AP20150600000020','Purchase of Asset [OP-A[00000488]]','',NULL,3,'2015-06-05',NULL,6,2015,1997,1997,0,1,NULL,1,'2015-12-07 09:31:54','Purchase of Asset [OP-A[00000488]]',0),(10369,1,'AP20150200000023','Purchase of Asset [OP-A[00000489]]','',NULL,3,'2015-02-17',NULL,2,2015,1800,1800,0,1,NULL,1,'2015-12-07 09:32:21','Purchase of Asset [OP-A[00000489]]',0),(10370,1,'AP20150200000024','Purchase of Asset [OP-A[00000490]]','',NULL,3,'2015-02-17',NULL,2,2015,1800,1800,0,1,NULL,1,'2015-12-07 09:32:22','Purchase of Asset [OP-A[00000490]]',0),(10371,1,'AP20150200000025','Purchase of Asset [OP-A[00000491]]','',NULL,3,'2015-02-17',NULL,2,2015,1800,1800,0,1,NULL,1,'2015-12-07 09:32:22','Purchase of Asset [OP-A[00000491]]',0),(10372,1,'AP20150200000026','Purchase of Asset [OP-A[00000492]]','',NULL,3,'2015-02-17',NULL,2,2015,1800,1800,0,1,NULL,1,'2015-12-07 09:32:23','Purchase of Asset [OP-A[00000492]]',0),(10373,1,'AP20150200000027','Purchase of Asset [OP-A[00000493]]','',NULL,3,'2015-02-17',NULL,2,2015,1800,1800,0,1,NULL,1,'2015-12-07 09:32:23','Purchase of Asset [OP-A[00000493]]',0),(10374,1,'AP20150200000028','Purchase of Asset [OP-A[00000494]]','',NULL,3,'2015-02-17',NULL,2,2015,1800,1800,0,1,NULL,1,'2015-12-07 09:32:24','Purchase of Asset [OP-A[00000494]]',0),(10375,1,'AP20150200000029','Purchase of Asset [OP-A[00000495]]','',NULL,3,'2015-02-17',NULL,2,2015,1800,1800,0,1,NULL,1,'2015-12-07 09:32:24','Purchase of Asset [OP-A[00000495]]',0),(10377,1,'AP20150200000031','Purchase of Asset [OP-A[00000497]]','',NULL,3,'2015-02-17',NULL,2,2015,123,123,0,1,NULL,1,'2015-12-07 09:36:46','Purchase of Asset [OP-A[00000497]]',0),(10378,1,'AP20150600000021','Purchase of Asset [OP-A[00000498]]','',NULL,3,'2015-06-24',NULL,6,2015,1596,1596,0,1,NULL,1,'2015-12-07 09:46:40','Purchase of Asset [OP-A[00000498]]',0),(10379,1,'AP20150700000015','Purchase of Asset [OP-A[00000499]]','',NULL,3,'2015-07-01',NULL,7,2015,1290,1290,0,1,NULL,1,'2015-12-07 09:47:48','Purchase of Asset [OP-A[00000499]]',0),(10380,1,'AP20150700000016','Purchase of Asset [OP-A[00000500]]','',NULL,3,'2015-07-21',NULL,7,2015,1963,1963,0,1,NULL,1,'2015-12-07 09:49:20','Purchase of Asset [OP-A[00000500]]',0),(10381,1,'AP20150800000022','Purchase of Asset [OP-A[00000501]]','',NULL,3,'2015-08-02',NULL,8,2015,2000,2000,0,1,NULL,1,'2015-12-07 09:50:15','Purchase of Asset [OP-A[00000501]]',0),(10382,1,'AP20150800000023','Purchase of Asset [OP-A[00000502]]','',NULL,3,'2015-08-28',NULL,8,2015,1956,1956,0,1,NULL,1,'2015-12-07 09:50:51','Purchase of Asset [OP-A[00000502]]',0),(10383,1,'AP20150900000016','Purchase of Asset [OP-A[00000503]]','',NULL,3,'2015-09-01',NULL,9,2015,1234,1234,0,1,NULL,1,'2015-12-07 09:51:31','Purchase of Asset [OP-A[00000503]]',0),(10384,1,'AP20150900000017','Purchase of Asset [OP-A[00000504]]','',NULL,3,'2015-09-20',NULL,9,2015,1358,1358,0,1,NULL,1,'2015-12-07 09:52:26','Purchase of Asset [OP-A[00000504]]',0),(10385,1,'AP20151000000019','Purchase of Asset [OP-A[00000505]]','',NULL,3,'2015-10-02',NULL,10,2015,1991,1991,0,1,NULL,1,'2015-12-07 09:53:05','Purchase of Asset [OP-A[00000505]]',0),(10386,1,'AP20151000000020','Purchase of Asset [OP-A[00000506]]','',NULL,3,'2015-10-28',NULL,10,2015,1597,1597,0,1,NULL,1,'2015-12-07 09:53:45','Purchase of Asset [OP-A[00000506]]',0),(10388,1,'AP20151100000300','Purchase of Asset [OP-A[00000508]]','',NULL,3,'2015-11-02',NULL,11,2015,1789,1789,0,1,NULL,1,'2015-12-08 01:08:09','Purchase of Asset [OP-A[00000508]]',0),(10389,1,'AP20151100000301','Purchase of Asset [OP-A[00000509]]','',NULL,3,'2015-11-24',NULL,11,2015,1956,1956,0,1,NULL,1,'2015-12-08 01:08:50','Purchase of Asset [OP-A[00000509]]',0),(10393,1,'AP20150100000039','Loan Repayment [OP-L[00000513]]','',NULL,3,'2015-01-01',NULL,1,2015,100,100,0,1,NULL,1,'2015-12-08 02:08:00','Loan Repayment [OP-L[00000513]]',0),(10394,1,'AP20150100000040','Loan Repayment [OP-L[00000514]]','',NULL,3,'2015-01-13',NULL,1,2015,100,100,0,1,NULL,1,'2015-12-08 02:08:27','Loan Repayment [OP-L[00000514]]',0),(10395,1,'AP20150100000041','Loan Repayment [OP-L[00000515]]','',NULL,3,'2015-01-29',NULL,1,2015,100,100,0,1,NULL,1,'2015-12-08 02:08:58','Loan Repayment [OP-L[00000515]]',0),(10396,1,'AP20150200000032','Loan Repayment [OP-L[00000516]]','',NULL,3,'2015-02-02',NULL,2,2015,100,100,0,1,NULL,1,'2015-12-08 02:12:18','Loan Repayment [OP-L[00000516]]',0),(10397,1,'AP20150200000033','Loan Repayment [OP-L[00000517]]','',NULL,3,'2015-02-17',NULL,2,2015,100,100,0,1,NULL,1,'2015-12-08 02:20:13','Loan Repayment [OP-L[00000517]]',0),(10398,1,'AP20150200000034','Loan Repayment [OP-L[00000518]]','',NULL,3,'2015-02-24',NULL,2,2015,100,100,0,1,NULL,1,'2015-12-08 02:23:23','Loan Repayment [OP-L[00000518]]',0),(10399,1,'AP20150300000016','Loan Repayment [OP-L[00000519]]','',NULL,3,'2015-03-02',NULL,3,2015,100,100,0,1,NULL,1,'2015-12-08 02:24:03','Loan Repayment [OP-L[00000519]]',0),(10400,1,'AP20150300000017','Loan Repayment [OP-L[00000520]]','',NULL,3,'2015-03-20',NULL,3,2015,100,100,0,1,NULL,1,'2015-12-08 02:24:38','Loan Repayment [OP-L[00000520]]',0),(10401,1,'AP20150300000018','Loan Repayment [OP-L[00000521]]','',NULL,3,'2015-03-26',NULL,3,2015,100,100,0,1,NULL,1,'2015-12-08 02:25:07','Loan Repayment [OP-L[00000521]]',0),(10402,1,'AP20150400000023','Loan Repayment [OP-L[00000522]]','',NULL,3,'2015-04-01',NULL,4,2015,100,100,0,1,NULL,1,'2015-12-08 02:26:06','Loan Repayment [OP-L[00000522]]',0),(10403,1,'AP20150400000024','Loan Repayment [OP-L[00000523]]','',NULL,3,'2015-04-16',NULL,4,2015,100,100,0,1,NULL,1,'2015-12-08 02:26:36','Loan Repayment [OP-L[00000523]]',0),(10404,1,'AP20150400000025','Loan Repayment [OP-L[00000524]]','',NULL,3,'2015-04-30',NULL,4,2015,100,100,0,1,NULL,1,'2015-12-08 02:27:23','Loan Repayment [OP-L[00000524]]',0),(10405,1,'AP20150500000017','Loan Repayment [OP-L[00000525]]','',NULL,3,'2015-05-01',NULL,5,2015,100,100,0,1,NULL,1,'2015-12-08 02:32:07','Loan Repayment [OP-L[00000525]]',0),(10406,1,'AP20150500000018','Loan Repayment [OP-L[00000526]]','',NULL,3,'2015-05-12',NULL,5,2015,100,100,0,1,NULL,1,'2015-12-08 02:32:33','Loan Repayment [OP-L[00000526]]',0),(10407,1,'AP20150500000019','Loan Repayment [OP-L[00000527]]','',NULL,3,'2015-05-28',NULL,5,2015,100,100,0,1,NULL,1,'2015-12-08 02:33:21','Loan Repayment [OP-L[00000527]]',0),(10408,1,'AP20150600000022','Loan Repayment [OP-L[00000528]]','',NULL,3,'2015-06-02',NULL,6,2015,100,100,0,1,NULL,1,'2015-12-08 02:34:09','Loan Repayment [OP-L[00000528]]',0),(10409,1,'AP20150600000023','Loan Repayment [OP-L[00000529]]','',NULL,3,'2015-06-16',NULL,6,2015,100,100,0,1,NULL,1,'2015-12-08 02:34:42','Loan Repayment [OP-L[00000529]]',0),(10410,1,'AP20150600000024','Loan Repayment [OP-L[00000530]]','',NULL,3,'2015-06-30',NULL,6,2015,100,100,0,1,NULL,1,'2015-12-08 02:39:17','Loan Repayment [OP-L[00000530]]',0),(10411,1,'AP20150700000017','Loan Repayment [OP-L[00000531]]','',NULL,3,'2015-07-01',NULL,7,2015,100,100,0,1,NULL,1,'2015-12-08 02:41:18','Loan Repayment [OP-L[00000531]]',0),(10412,1,'AP20150700000018','Loan Repayment [OP-L[00000532]]','',NULL,3,'2015-07-14',NULL,7,2015,100,100,0,1,NULL,1,'2015-12-08 02:44:51','Loan Repayment [OP-L[00000532]]',0),(10413,1,'AP20150700000019','Loan Repayment [OP-L[00000533]]','',NULL,3,'2015-07-31',NULL,7,2015,100,100,0,1,NULL,1,'2015-12-08 02:45:39','Loan Repayment [OP-L[00000533]]',0),(10414,1,'AP20150800000024','Loan Repayment [OP-L[00000534]]','',NULL,3,'2015-08-03',NULL,8,2015,100,100,0,1,NULL,1,'2015-12-08 02:47:58','Loan Repayment [OP-L[00000534]]',0),(10415,1,'AP20150800000025','Loan Repayment [OP-L[00000535]]','',NULL,3,'2015-08-10',NULL,8,2015,100,100,0,1,NULL,1,'2015-12-08 02:48:32','Loan Repayment [OP-L[00000535]]',0),(10416,1,'AP20150800000026','Loan Repayment [OP-L[00000536]]','',NULL,3,'2015-08-31',NULL,8,2015,100,100,0,1,NULL,1,'2015-12-08 02:50:02','Loan Repayment [OP-L[00000536]]',0),(10417,1,'AP20150900000018','Loan Repayment [OP-L[00000537]]','',NULL,3,'2015-09-02',NULL,9,2015,100,100,0,1,NULL,1,'2015-12-08 02:56:29','Loan Repayment [OP-L[00000537]]',0),(10418,1,'AP20150900000019','Loan Repayment [OP-L[00000538]]','',NULL,3,'2015-09-14',NULL,9,2015,100,100,0,1,NULL,1,'2015-12-08 02:57:53','Loan Repayment [OP-L[00000538]]',0),(10419,1,'AP20150900000020','Loan Repayment [OP-L[00000539]]','',NULL,3,'2015-09-30',NULL,9,2015,100,100,0,1,NULL,1,'2015-12-08 03:11:01','Loan Repayment [OP-L[00000539]]',0),(10420,1,'AP20151000000021','Loan Repayment [OP-L[00000540]]','',NULL,3,'2015-10-02',NULL,10,2015,100,100,0,1,NULL,1,'2015-12-08 03:17:22','Loan Repayment [OP-L[00000540]]',0),(10421,1,'AP20151000000022','Loan Repayment [OP-L[00000541]]','',NULL,3,'2015-10-12',NULL,10,2015,100,100,0,1,NULL,1,'2015-12-08 03:18:05','Loan Repayment [OP-L[00000541]]',0),(10422,1,'AP20151000000023','Loan Repayment [OP-L[00000542]]','',NULL,3,'2015-10-28',NULL,10,2015,100,100,0,1,NULL,1,'2015-12-08 03:18:37','Loan Repayment [OP-L[00000542]]',0),(10423,1,'AP20151100000302','Loan Repayment [OP-L[00000543]]','',NULL,3,'2015-11-04',NULL,11,2015,100,100,0,1,NULL,1,'2015-12-08 03:19:08','Loan Repayment [OP-L[00000543]]',0),(10424,1,'AP20151100000303','Loan Repayment [OP-L[00000544]]','',NULL,3,'2015-11-20',NULL,11,2015,100,100,0,1,NULL,1,'2015-12-08 03:19:40','Loan Repayment [OP-L[00000544]]',0),(10425,1,'AP20151100000304','Loan Repayment [OP-L[00000545]]','',NULL,3,'2015-11-30',NULL,11,2015,100,100,0,1,NULL,1,'2015-12-08 03:20:13','Loan Repayment [OP-L[00000545]]',0),(10432,1,'AP20151200000171','Loan Repayment [OP-L[00000552]]','',NULL,3,'2015-12-04',NULL,12,2015,100,100,0,1,NULL,1,'2015-12-08 03:23:35','Loan Repayment [OP-L[00000552]]',0),(10434,1,'AP20151200000173','Loan Repayment [OP-L[00000554]]','',NULL,3,'2015-12-31',NULL,12,2015,100,100,0,1,NULL,1,'2015-12-08 03:25:12','Loan Repayment [OP-L[00000554]]',0),(10435,1,'AR20150200000007','Sales [ OR[00000008] ]','',NULL,2,'2015-02-21',NULL,2,2015,3500,3500,0,1,NULL,1,'2015-12-08 03:30:42','OR[00000008]',0),(10437,1,'AR20150100000012','Sales [ OR[00000002] ]','',NULL,2,'2015-01-10',NULL,1,2015,3500,3500,0,1,NULL,1,'2015-12-08 03:54:58','OR[00000002]',0),(10438,1,'AR20150100000013','Sales [ OR[00000003] ]','',NULL,2,'2015-01-17',NULL,1,2015,3350,3350,0,1,NULL,1,'2015-12-08 03:55:22','OR[00000003]',0),(10439,1,'AR20150100000014','Sales [ OR[00000004] ]','',NULL,2,'2015-01-24',NULL,1,2015,3210,3210,0,1,NULL,1,'2015-12-08 03:55:51','OR[00000004]',0),(10440,1,'AR20150100000015','Sales [ OR[00000005] ]','',NULL,2,'2015-01-31',NULL,1,2015,3150,3150,0,1,NULL,1,'2015-12-08 03:56:17','OR[00000005]',0),(10441,1,'AR20150200000008','Sales [ OR[00000006] ]','',NULL,2,'2015-02-07',NULL,2,2015,3650,3650,0,1,NULL,1,'2015-12-08 03:56:41','OR[00000006]',0),(10442,1,'AR20150200000009','Sales [ OR[00000007] ]','',NULL,2,'2015-02-14',NULL,2,2015,3150,3150,0,1,NULL,1,'2015-12-08 03:57:03','OR[00000007]',0),(10443,1,'AR20150200000010','Sales [ OR[00000009] ]','',NULL,2,'2015-02-28',NULL,2,2015,3852,3852,0,1,NULL,1,'2015-12-08 03:57:32','OR[00000009]',0),(10444,1,'AR20150300000005','Sales [ OR[00000010] ]','',NULL,2,'2015-03-07',NULL,3,2015,3655,3655,0,1,NULL,1,'2015-12-08 03:57:55','OR[00000010]',0),(10445,1,'AR20150300000006','Sales [ OR[00000011] ]','',NULL,2,'2015-03-14',NULL,3,2015,3050,3050,0,1,NULL,1,'2015-12-08 03:58:23','OR[00000011]',0),(10446,1,'AR20150300000007','Sales [ OR[00000012] ]','',NULL,2,'2015-03-21',NULL,3,2015,3965,3965,0,1,NULL,1,'2015-12-08 03:58:44','OR[00000012]',0),(10448,1,'AR20150300000008','Sales [ OR[00000013] ]','',NULL,2,'2015-03-28',NULL,3,2015,3754,3754,0,1,NULL,1,'2015-12-08 03:59:09','OR[00000013]',0),(10449,1,'AR20150400000005','Sales [ OR[00000014] ]','',NULL,2,'2015-04-04',NULL,4,2015,3350,3350,0,1,NULL,1,'2015-12-08 03:59:41','OR[00000014]',0),(10450,1,'AR20150400000006','Sales [ OR[00000015] ]','',NULL,2,'2015-04-11',NULL,4,2015,3840,3840,0,1,NULL,1,'2015-12-08 04:00:06','OR[00000015]',0),(10451,1,'AR20150400000007','Sales [ OR[00000016] ]','',NULL,2,'2015-04-18',NULL,4,2015,3812,3812,0,1,NULL,1,'2015-12-08 04:00:33','OR[00000016]',0),(10452,1,'AR20150400000008','Sales [ OR[00000017] ]','',NULL,2,'2015-04-25',NULL,4,2015,3954,3954,0,1,NULL,1,'2015-12-08 04:00:59','OR[00000017]',0),(10453,1,'AR20150500000006','Sales [ OR[00000018] ]','',NULL,2,'2015-05-02',NULL,5,2015,3951,3951,0,1,NULL,1,'2015-12-08 04:01:19','OR[00000018]',0),(10454,1,'AR20150500000007','Sales [ OR[00000019] ]','',NULL,2,'2015-05-09',NULL,5,2015,3845,3845,0,1,NULL,1,'2015-12-08 04:01:43','OR[00000019]',0),(10455,1,'AR20150500000008','Sales [ OR[00000020] ]','',NULL,2,'2015-05-16',NULL,5,2015,3888,3888,0,1,NULL,1,'2015-12-08 04:02:10','OR[00000020]',0),(10457,1,'AR20150500000010','Sales [ OR[00000021] ]','',NULL,2,'2015-05-23',NULL,5,2015,3841,3841,0,1,NULL,1,'2015-12-08 04:02:42','OR[00000021]',0),(10459,1,'AP20151200000175','Operating Expenses [OP-E[00000557]]','',NULL,3,'2015-12-31',NULL,12,2015,997,997,0,1,NULL,1,'2015-12-08 04:15:30','Operating Expenses [OP-E[00000557]]',0),(10462,1,'AP20151200000178','Operating Expenses [OP-E[00000389]]','',NULL,3,'2015-12-31',NULL,12,2015,1000,1000,0,1,NULL,1,'2015-12-08 04:16:30','Operating Expenses [OP-E[00000389]]',0),(10463,1,'AR20150500000011','Sales [ OR[00000022] ]','',NULL,2,'2015-05-30',NULL,5,2015,3987,3987,0,1,NULL,1,'2015-12-08 04:18:17','OR[00000022]',0),(10464,1,'AR20150600000005','Sales [ OR[00000023] ]','',NULL,2,'2015-06-06',NULL,6,2015,3540,3540,0,1,NULL,1,'2015-12-08 04:18:41','OR[00000023]',0),(10465,1,'AR20150600000006','Sales [ OR[00000024] ]','',NULL,2,'2015-06-13',NULL,6,2015,3100,3100,0,1,NULL,1,'2015-12-08 04:19:04','OR[00000024]',0),(10466,1,'AR20150600000007','Sales [ OR[00000025] ]','',NULL,2,'2015-06-20',NULL,6,2015,3200,3200,0,1,NULL,1,'2015-12-08 04:19:36','OR[00000025]',0),(10468,1,'AR20150600000008','Sales [ OR[00000026] ]','',NULL,2,'2015-06-27',NULL,6,2015,3960,3960,0,1,NULL,1,'2015-12-08 04:20:02','OR[00000026]',0),(10470,1,'AR20150700000005','Sales [ OR[00000027] ]','',NULL,2,'2015-07-04',NULL,7,2015,3410,3410,0,1,NULL,1,'2015-12-08 04:20:27','OR[00000027]',0),(10471,1,'AR20150700000006','Sales [ OR[00000028] ]','',NULL,2,'2015-07-11',NULL,7,2015,3650,3650,0,1,NULL,1,'2015-12-08 04:20:53','OR[00000028]',0),(10472,1,'AR20150700000007','Sales [ OR[00000029] ]','',NULL,2,'2015-07-18',NULL,7,2015,3550,3550,0,1,NULL,1,'2015-12-08 04:21:17','OR[00000029]',0),(10473,1,'AR20150700000008','Sales [ OR[00000030] ]','',NULL,2,'2015-07-25',NULL,7,2015,3450,3450,0,1,NULL,1,'2015-12-08 04:21:39','OR[00000030]',0),(10474,1,'AR20150800000007','Sales [ OR[00000031] ]','',NULL,2,'2015-08-01',NULL,8,2015,3500,3500,0,1,NULL,1,'2015-12-08 04:22:04','OR[00000031]',0),(10476,1,'AR20150800000008','Sales [ OR[00000032] ]','',NULL,2,'2015-08-08',NULL,8,2015,3365,3365,0,1,NULL,1,'2015-12-08 04:22:31','OR[00000032]',0),(10477,1,'AR20150800000009','Sales [ OR[00000033] ]','',NULL,2,'2015-08-22',NULL,8,2015,3870,3870,0,1,NULL,1,'2015-12-08 04:22:55','OR[00000033]',0),(10478,1,'AP20151200000182','Operating Expenses [OP-E[00000558]]','',NULL,3,'2015-12-08',NULL,12,2015,789,789,0,1,NULL,1,'2015-12-08 04:23:05','Operating Expenses [OP-E[00000558]]',0),(10479,1,'AR20150800000010','Sales [ OR[00000034] ]','',NULL,2,'2015-08-15',NULL,8,2015,3253,3253,0,1,NULL,1,'2015-12-08 04:23:16','OR[00000034]',0),(10480,1,'AR20150800000011','Sales [ OR[00000035] ]','',NULL,2,'2015-08-29',NULL,8,2015,3640,3640,0,1,NULL,1,'2015-12-08 04:23:37','OR[00000035]',0),(10481,1,'AR20150900000005','Sales [ OR[00000036] ]','',NULL,2,'2015-09-05',NULL,9,2015,3850,3850,0,1,NULL,1,'2015-12-08 04:23:58','OR[00000036]',0),(10483,1,'AR20150900000006','Sales [ OR[00000037] ]','',NULL,2,'2015-09-12',NULL,9,2015,3470,3470,0,1,NULL,1,'2015-12-08 04:24:19','OR[00000037]',0),(10485,1,'AR20150900000007','Sales [ OR[00000038] ]','',NULL,2,'2015-09-19',NULL,9,2015,3680,3680,0,1,NULL,1,'2015-12-08 04:24:42','OR[00000038]',0),(10486,1,'AR20150900000008','Sales [ OR[00000039] ]','',NULL,2,'2015-09-26',NULL,9,2015,3580,3580,0,1,NULL,1,'2015-12-08 04:25:03','OR[00000039]',0),(10487,1,'AP20151200000185','Operating Expenses [OP-E[00000559]]','',NULL,3,'2015-12-08',NULL,12,2015,7,7,0,1,NULL,1,'2015-12-08 04:25:31','Operating Expenses [OP-E[00000559]]',0),(10488,1,'AR20151000000006','Sales [ OR[00000040] ]','',NULL,2,'2015-10-03',NULL,10,2015,3980,3980,0,1,NULL,1,'2015-12-08 04:25:33','OR[00000040]',0),(10489,1,'AR20151000000007','Sales [ OR[00000041] ]','',NULL,2,'2015-10-10',NULL,10,2015,3680,3680,0,1,NULL,1,'2015-12-08 04:25:56','OR[00000041]',0),(10491,1,'AR20151000000008','Sales [ OR[00000043] ]','',NULL,2,'2015-10-24',NULL,10,2015,3690,3690,0,1,NULL,1,'2015-12-08 04:26:18','OR[00000043]',0),(10492,1,'AP20151200000187','Operating Expenses [OP-E[00000342]]','',NULL,3,'2015-12-31',NULL,12,2015,800,800,0,1,NULL,1,'2015-12-08 04:26:29','Operating Expenses [OP-E[00000342]]',0),(10509,1,'AR20150100000019','Sales [ OR[00000001] ]','',NULL,2,'2015-01-03',NULL,1,2015,3200,3200,0,1,NULL,1,'2015-12-08 07:18:28','OR[00000001]',0),(10511,1,'AP20151200000198','Purchase of Asset [OP-A[00000510]]','',NULL,3,'2015-12-08',NULL,12,2015,1899,1899,0,1,NULL,1,'2015-12-08 07:21:06','Purchase of Asset [OP-A[00000510]]',0),(10512,1,'AP20151200000199','Loan Repayment [OP-L[00000563]]','',NULL,3,'2015-12-08',NULL,12,2015,100,100,0,1,NULL,1,'2015-12-08 10:50:02','Loan Repayment [OP-L[00000563]]',0),(10513,1,'AP20151200000200','Transfer [  [TT[00000564]]] ]','',NULL,3,'2015-12-08',NULL,12,2015,3000,3000,0,1,NULL,1,'2015-12-08 11:31:57',' [TT[00000564]]]',0),(10516,1,'AR20150100000022','Sales [ OR[00000053] ]','',NULL,2,'2015-01-01',NULL,1,2015,1000,1000,0,1,NULL,93,'2015-12-09 01:35:29','OR[00000053]',0),(10517,1,'AP20150100000042','Kos Jualan [OP-C[00000565]]','',NULL,3,'2015-01-02',NULL,1,2015,200,200,0,1,NULL,93,'2015-12-09 01:40:06','Kos Jualan [OP-C[00000565]]',0),(10518,1,'AP20150200000035','Operasi Perbelanjaan [OP-E[00000566]]','',NULL,3,'2015-02-11',NULL,2,2015,400,400,0,1,NULL,93,'2015-12-09 01:42:48','Operasi Perbelanjaan [OP-E[00000566]]',0),(10519,1,'AP20150600000025','Pembayaran Balik Pinjaman [OP-L[00000567]]','',NULL,3,'2015-06-09',NULL,6,2015,200,200,0,1,NULL,93,'2015-12-09 01:47:00','Pembayaran Balik Pinjaman [OP-L[00000567]]',0),(10520,1,'AP20151100000305','Pembelian Aset [OP-A[00000568]]','',NULL,3,'2015-11-10',NULL,11,2015,2000,2000,0,1,NULL,93,'2015-12-09 01:48:44','Pembelian Aset [OP-A[00000568]]',0),(10521,1,'AP20150100000043','Pemindahan [  [TT[00000569]]] ]','',NULL,3,'2015-01-01',NULL,1,2015,1000,1000,0,1,NULL,93,'2015-12-09 01:51:33',' [TT[00000569]]]',0),(10522,1,'AP20151200000201','Purchase of Asset [OP-A[00000511]]','',NULL,3,'2015-12-31',NULL,12,2015,2059,2059,0,1,NULL,1,'2015-12-09 07:59:19','Purchase of Asset [OP-A[00000511]]',0),(10523,1,'AR20151200000017','Sales [ OR[00000054] ]','',NULL,2,'2015-12-10',NULL,12,2015,100,100,0,1,NULL,1,'2015-12-10 08:23:50','OR[00000054]',0),(10524,1,'AP20151200000202','Operasi Perbelanjaan [OP-E[00000570]]','',NULL,3,'2015-12-10',NULL,12,2015,10,10,0,1,NULL,1,'2015-12-10 08:24:45','Operasi Perbelanjaan [OP-E[00000570]]',0),(10525,1,'AR20150100000023','Sales [ OR[00000055] ]','',NULL,2,'2015-01-01',NULL,1,2015,250,250,0,1,NULL,93,'2015-12-10 08:29:26','OR[00000055]',0),(10526,1,'AP20150100000044','Kos Jualan [OP-C[00000571]]','',NULL,3,'2015-01-04',NULL,1,2015,500,500,0,1,NULL,93,'2015-12-10 08:30:28','Kos Jualan [OP-C[00000571]]',0),(10527,1,'AP20151200000203','Operasi Perbelanjaan [OP-E[00000572]]','',NULL,3,'2015-12-10',NULL,12,2015,5,5,0,1,NULL,93,'2015-12-10 08:31:34','Operasi Perbelanjaan [OP-E[00000572]]',0),(10533,4,'AP20151200000005','Loan Repayment [OP-L[00000001]]','',NULL,3,'2015-12-28',NULL,12,2015,144,144,0,1,NULL,106,'2015-12-28 04:21:36','Loan Repayment [OP-L[00000001]]',0),(10535,1,'AP20151200000204','Loan [  [LR[00000279]]] ]','',NULL,3,'2015-12-04',NULL,12,2015,1122,1122,0,1,NULL,84,'2016-02-18 05:07:50',' [LR[00000279]]]',0),(10536,1,'AP20151200000205','Loan [  [LR[00000473]]] ]','',NULL,3,'2015-12-04',NULL,12,2015,1000,1000,0,1,NULL,84,'2016-02-18 05:08:23',' [LR[00000473]]]',0),(10558,1,'AP20160400000013','Loan Repayment [OP-L[00000580]]','',NULL,3,'2016-04-26',NULL,4,2016,300,300,0,1,NULL,1,'2016-04-26 02:31:46','Loan Repayment [OP-L[00000580]]',0),(10560,1,'AP20160400000015','Transfer [  [TT[00000582]]] ]','',NULL,3,'2016-04-26',NULL,4,2016,500,500,0,1,NULL,1,'2016-04-26 02:41:13',' [TT[00000582]]]',0),(10561,1,'AP20160400000016','Transfer [  [TT[00000583]]] ]','',NULL,3,'2016-04-26',NULL,4,2016,500,500,0,1,NULL,1,'2016-04-26 02:41:50',' [TT[00000583]]]',0),(10566,1,'AP20160400000021','Loan Repayment [OP-L[00000585]]','',NULL,3,'2016-04-27',NULL,4,2016,300,300,0,1,NULL,1,'2016-04-27 01:33:59','Loan Repayment [OP-L[00000585]]',0),(10570,1,'AP20151200000206','Kos Jualan [OP-C[00000587]]','',NULL,3,'2015-12-31',NULL,12,2015,628,628,0,1,NULL,1,'2016-05-10 03:43:33','Kos Jualan [OP-C[00000587]]',0),(10571,1,'AR20151200000019','Sales [ OR[00000056] ]','',NULL,2,'2015-12-16',NULL,12,2015,12332,12332,0,1,NULL,1,'2016-05-30 11:04:19','OR[00000056]',0),(10574,1,'AP20160400000024','Loan [  [LR[00000584]]] ]','',NULL,3,'2016-04-26',NULL,4,2016,300000,300000,0,1,NULL,1,'2016-05-31 08:45:39',' [LR[00000584]]]',0),(10686,12,'AR20160600000002','Sales [ OR[00000002] ]','',NULL,2,'2016-06-13',NULL,6,2016,25,25,0,1,NULL,0,'2016-06-15 01:10:42','OR[00000002]',0),(10687,12,'AR20160600000003','Sales [ OR[00000003] ]','',NULL,2,'2016-06-01',NULL,6,2016,65,65,0,1,NULL,0,'2016-06-15 01:11:50','OR[00000003]',0),(10688,12,'AR20160500000001','Sales [ OR[00000004] ]','',NULL,2,'2016-05-05',NULL,5,2016,99,99,0,1,NULL,0,'2016-06-15 01:13:05','OR[00000004]',0),(10690,12,'AR20160600000004','Sales [ OR[00000005] ]','',NULL,2,'2016-06-20',NULL,6,2016,102,102,0,1,NULL,0,'2016-06-15 01:15:46','OR[00000005]',0),(10693,12,'AP160600000001','Purchase of Asset [OP-A[00000001]]','',NULL,3,'2016-06-15',NULL,6,2016,36,36,0,1,NULL,0,'2016-06-15 04:27:12','Purchase of Asset [OP-A[00000001]]',0),(10696,12,'AP20160600000002','Cost of Goods Sold [OP-C[00000002]]','',NULL,3,'2016-06-16',NULL,6,2016,25,25,0,1,NULL,0,'2016-06-16 03:06:31','Cost of Goods Sold [OP-C[00000002]]',0),(10697,12,'AP20160600000003','Operating Expenses [OP-E[00000003]]','',NULL,3,'2016-06-16',NULL,6,2016,123,123,0,1,NULL,0,'2016-06-16 03:51:48','Operating Expenses [OP-E[00000003]]',0),(10731,14,'AP20150800000001','Loan Received [  [LR[00000001]]] ]','',NULL,3,'2015-08-31',NULL,8,2015,5000,5000,0,1,NULL,0,'2016-06-28 07:38:10',' [LR[00000001]]]',0),(10732,14,'AP150900000001','Loan Repayment [OP-L[00000002]]','',NULL,3,'2015-09-30',NULL,9,2015,100,100,0,1,NULL,0,'2016-06-28 07:50:42','Loan Repayment [OP-L[00000002]]',0),(10733,14,'AP151000000001','Loan Repayment [OP-L[00000003]]','',NULL,3,'2015-10-30',NULL,10,2015,100,100,0,1,NULL,0,'2016-06-28 07:53:01','Loan Repayment [OP-L[00000003]]',0),(10734,14,'AP20150800000002','Loan Repayment [OP-L[00000004]]','',NULL,3,'2015-08-31',NULL,8,2015,100,100,0,1,NULL,0,'2016-06-28 08:15:27','Loan Repayment [OP-L[00000004]]',0),(10735,14,'AP160100000001','Loan Repayment [OP-L[00000005]]','',NULL,3,'2016-01-29',NULL,1,2016,100,100,0,1,NULL,0,'2016-06-28 08:29:27','Loan Repayment [OP-L[00000005]]',0),(10737,14,'AR20150100000001','Sales [ OR[00000001] ]','',NULL,2,'2015-01-05',NULL,1,2015,250,250,0,1,NULL,0,'2016-06-30 02:42:00','OR[00000001]',0),(10742,1,'AP20160700000001','Bank Transfer [  [TT[00000604]]] ]','',NULL,3,'2016-07-27',NULL,7,2016,123,123,0,1,NULL,1,'2016-07-27 02:31:45',' [TT[00000604]]]',0),(10764,12,'AP20160800000002','Cost of Goods Sold [OP-C[00000005]]','',NULL,3,'2016-08-05',NULL,8,2016,25,25,0,1,NULL,0,'2016-08-05 05:07:33','Cost of Goods Sold [OP-C[00000005]]',0),(10821,3,'AP160800000001','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-08-01',NULL,8,2016,3500,3500,0,1,NULL,0,'2016-08-10 09:36:36','Cost of Goods Sold [OP-C[00000001]]',0),(10822,21,'AR20160100000001','Sales [ OR[00000001] ]','',NULL,2,'2016-01-01',NULL,1,2016,100,100,0,1,NULL,0,'2016-08-11 07:31:35','OR[00000001]',0),(10823,21,'AP160100000001','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-01-01',NULL,1,2016,30,30,0,1,NULL,0,'2016-08-11 07:33:30','Cost of Goods Sold [OP-C[00000001]]',0),(10826,21,'AP20160100000003','Operating Expenses [OP-E[00000002]]','',NULL,3,'2016-01-01',NULL,1,2016,35,35,0,1,NULL,0,'2016-08-11 07:40:12','Operating Expenses [OP-E[00000002]]',0),(10827,21,'AP20160100000004','Purchase of Fixed Asset [OP-A[00000003]]','',NULL,3,'2016-01-01',NULL,1,2016,25,25,0,1,NULL,0,'2016-08-11 07:41:47','Purchase of Fixed Asset [OP-A[00000003]]',0),(10870,23,'AP20170100000002','Loan Repayment [OP-L[00000016]]','',NULL,3,'2017-01-05',NULL,1,2017,1000,1000,0,1,NULL,0,'2016-08-15 04:18:26','Loan Repayment [OP-L[00000016]]',0),(10871,23,'AP180200000001','Loan Repayment [OP-L[00000017]]','',NULL,3,'2018-02-01',NULL,2,2018,5000,5000,0,1,NULL,0,'2016-08-15 04:20:16','Loan Repayment [OP-L[00000017]]',0),(10872,23,'AP180300000001','Loan Repayment [OP-L[00000018]]','',NULL,3,'2018-03-02',NULL,3,2018,5500,5500,0,1,NULL,0,'2016-08-15 04:21:50','Loan Repayment [OP-L[00000018]]',0),(10901,24,'AP20160800000002','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-08-16',NULL,8,2016,480,480,0,1,NULL,0,'2016-08-16 03:39:34','Cost of Goods Sold [OP-C[00000001]]',0),(10906,25,'AR20160800000001','Sales [ OR[00000001] ]','',NULL,2,'2016-08-16',NULL,8,2016,300,300,0,1,NULL,0,'2016-08-16 03:43:11','OR[00000001]',0),(10913,24,'AP20160800000007','Operating Expenses [OP-E[00000006]]','',NULL,3,'2016-08-16',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-16 03:48:47','Operating Expenses [OP-E[00000006]]',0),(10914,25,'AP160800000001','Purchase of Fixed Asset [OP-A[00000001]]','',NULL,3,'2016-08-16',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-16 03:48:48','Purchase of Fixed Asset [OP-A[00000001]]',0),(10924,25,'AP20160800000002','Operating Expenses [OP-E[00000002]]','',NULL,3,'2016-08-16',NULL,8,2016,10,10,0,1,NULL,0,'2016-08-16 04:11:50','Operating Expenses [OP-E[00000002]]',0),(10925,25,'AP20160800000003','Cost of Goods Sold [OP-C[00000003]]','',NULL,3,'2016-08-16',NULL,8,2016,200,200,0,1,NULL,0,'2016-08-16 04:19:44','Cost of Goods Sold [OP-C[00000003]]',0),(10926,25,'AP20160800000004','Bank Transfer [  [TT[00000004]]] ]','',NULL,3,'2016-08-16',NULL,8,2016,3000,3000,0,1,NULL,0,'2016-08-16 04:26:25',' [TT[00000004]]]',0),(10933,25,'AP20160800000008','Loan Repayment [OP-L[00000008]]','',NULL,3,'2016-08-16',NULL,8,2016,-50,-50,0,1,NULL,0,'2016-08-16 04:40:44','Loan Repayment [OP-L[00000008]]',0),(10936,24,'AP20160800000015','Loan Repayment [OP-L[00000013]]','',NULL,3,'2016-08-16',NULL,8,2016,500,500,0,1,NULL,0,'2016-08-16 04:52:42','Loan Repayment [OP-L[00000013]]',0),(10940,24,'AP20160800000016','Loan Repayment [OP-L[00000014]]','',NULL,3,'2016-08-16',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-16 06:18:36','Loan Repayment [OP-L[00000014]]',0),(10942,25,'AR20160800000004','Jualan [ OR[00000004] ]','',NULL,2,'2016-08-16',NULL,8,2016,300,300,0,1,NULL,0,'2016-08-16 06:41:09','OR[00000004]',0),(10952,24,'AP20160800000021','Loan Repayment [OP-L[00000017]]','',NULL,3,'2016-08-16',NULL,8,2016,510,510,0,1,NULL,0,'2016-08-16 07:32:48','Loan Repayment [OP-L[00000017]]',0),(10953,24,'AP20160800000022','Loan Received [  [LR[00000018]]] ]','',NULL,3,'2016-08-16',NULL,8,2016,50,50,0,1,NULL,0,'2016-08-16 07:33:44',' [LR[00000018]]]',0),(10955,24,'AP20160800000024','Loan Repayment [OP-L[00000019]]','',NULL,3,'2016-08-16',NULL,8,2016,50,50,0,1,NULL,0,'2016-08-16 07:35:32','Loan Repayment [OP-L[00000019]]',0),(10956,24,'AP20160800000025','Loan Received [  [LR[00000020]]] ]','',NULL,3,'2016-08-16',NULL,8,2016,50,50,0,1,NULL,0,'2016-08-16 07:36:18',' [LR[00000020]]]',0),(10957,24,'AP20160800000026','Loan Repayment [OP-L[00000021]]','',NULL,3,'2016-08-16',NULL,8,2016,50,50,0,1,NULL,0,'2016-08-16 07:36:50','Loan Repayment [OP-L[00000021]]',0),(10960,24,'AP20160800000029','Loan Repayment [OP-L[00000024]]','',NULL,3,'2016-08-16',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-16 07:39:06','Loan Repayment [OP-L[00000024]]',0),(10962,24,'AP20160800000031','Loan Repayment [OP-L[00000026]]','',NULL,3,'2016-08-16',NULL,8,2016,190,190,0,1,NULL,0,'2016-08-16 07:50:58','Loan Repayment [OP-L[00000026]]',0),(10963,24,'AP20160800000032','Loan Received [  [LR[00000027]]] ]','',NULL,3,'2016-08-16',NULL,8,2016,200,200,0,1,NULL,0,'2016-08-16 07:53:19',' [LR[00000027]]]',0),(10964,24,'AP20160800000033','Loan Repayment [OP-L[00000028]]','',NULL,3,'2016-08-16',NULL,8,2016,200,200,0,1,NULL,0,'2016-08-16 07:54:59','Loan Repayment [OP-L[00000028]]',0),(10965,25,'AP20160800000011','Operating Expenses [OP-E[00000011]]','',NULL,3,'2016-08-16',NULL,8,2016,60,60,0,1,NULL,0,'2016-08-16 08:01:21','Operating Expenses [OP-E[00000011]]',0),(10967,24,'AP20160200000001','Loan Received [  [LR[00000010]]] ]','',NULL,3,'2016-02-17',NULL,2,2016,450,450,0,1,NULL,0,'2016-08-16 08:17:22',' [LR[00000010]]]',0),(10968,24,'AP20160600000001','Loan Received [  [LR[00000022]]] ]','',NULL,3,'2016-06-15',NULL,6,2016,50,50,0,1,NULL,0,'2016-08-16 08:17:41',' [LR[00000022]]]',0),(10970,24,'AP20160700000001','Loan Received [  [LR[00000025]]] ]','',NULL,3,'2016-07-19',NULL,7,2016,190,190,0,1,NULL,0,'2016-08-16 08:17:57',' [LR[00000025]]]',0),(10972,24,'AP20160200000002','Loan Received [  [LR[00000016]]] ]','',NULL,3,'2016-02-17',NULL,2,2016,10,10,0,1,NULL,0,'2016-08-16 08:19:47',' [LR[00000016]]]',0),(10974,24,'AP20160600000002','Loan Received [  [LR[00000023]]] ]','',NULL,3,'2016-06-09',NULL,6,2016,50,50,0,1,NULL,0,'2016-08-16 08:20:16',' [LR[00000023]]]',0),(10976,25,'AP20160800000013','Loan Received [  [LR[00000010]]] ]','',NULL,3,'2016-08-15',NULL,8,2016,-10,-10,0,1,NULL,0,'2016-08-16 08:20:34',' [LR[00000010]]]',0),(10979,24,'AP160300000001','Loan Repayment [OP-L[00000009]]','',NULL,3,'2016-03-18',NULL,3,2016,50,50,0,1,NULL,0,'2016-08-16 08:21:23','Loan Repayment [OP-L[00000009]]',0),(10980,25,'AP20160200000001','Loan Received [  [LR[00000009]]] ]','',NULL,3,'2016-02-03',NULL,2,2016,10,10,0,1,NULL,0,'2016-08-16 08:21:34',' [LR[00000009]]]',0),(10983,25,'AP20160800000014','Loan Repayment [OP-L[00000007]]','',NULL,3,'2016-08-15',NULL,8,2016,-50,-50,0,1,NULL,0,'2016-08-16 08:21:58','Loan Repayment [OP-L[00000007]]',0),(10984,25,'AP20160800000015','Loan Repayment [OP-L[00000006]]','',NULL,3,'2016-08-15',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-16 08:23:27','Loan Repayment [OP-L[00000006]]',0),(10985,25,'AP20160800000016','Loan Repayment [OP-L[00000013]]','',NULL,3,'2016-08-17',NULL,8,2016,50,50,0,1,NULL,0,'2016-08-16 08:25:18','Loan Repayment [OP-L[00000013]]',0),(10986,24,'AP20160800000034','Purchase of Fixed Asset [OP-A[00000005]]','',NULL,3,'2016-08-16',NULL,8,2016,368,368,0,1,NULL,0,'2016-08-16 08:33:25','Purchase of Fixed Asset [OP-A[00000005]]',0),(10987,24,'AP20160800000035','Purchase of Fixed Asset [OP-A[00000029]]','',NULL,3,'2016-08-16',NULL,8,2016,23,23,0,1,NULL,0,'2016-08-16 08:35:01','Purchase of Fixed Asset [OP-A[00000029]]',0),(10988,25,'AP20160800000017','Operating Expenses [OP-E[00000014]]','',NULL,3,'2016-08-16',NULL,8,2016,20,20,0,1,NULL,0,'2016-08-16 08:36:24','Operating Expenses [OP-E[00000014]]',0),(10991,24,'AP20160200000003','Bank Transfer [  [TT[00000031]]] ]','',NULL,3,'2016-02-09',NULL,2,2016,230,230,0,1,NULL,0,'2016-08-16 09:01:47',' [TT[00000031]]]',0),(10992,24,'AP20160300000002','Bank Transfer [  [TT[00000032]]] ]','',NULL,3,'2016-03-17',NULL,3,2016,100,100,0,1,NULL,0,'2016-08-16 09:02:16',' [TT[00000032]]]',0),(10994,24,'AP20160800000039','Bank Transfer [  [TT[00000034]]] ]','',NULL,3,'2016-08-16',NULL,8,2016,80,80,0,1,NULL,0,'2016-08-16 09:05:10',' [TT[00000034]]]',0),(10995,25,'AP20160800000018','Purchase of Fixed Asset [OP-A[00000015]]','',NULL,3,'2016-08-16',NULL,8,2016,1200,1200,0,1,NULL,0,'2016-08-16 09:09:08','Purchase of Fixed Asset [OP-A[00000015]]',0),(10997,24,'AR20140200000002','Sales [ OR[00000008] ]','',NULL,2,'2014-02-09',NULL,2,2014,4500,4500,0,1,NULL,0,'2016-08-16 09:12:19','OR[00000008]',0),(10998,25,'AP20160700000001','Loan Received [  [LR[00000016]]] ]','',NULL,3,'2016-07-12',NULL,7,2016,25,25,0,1,NULL,0,'2016-08-16 09:13:09',' [LR[00000016]]]',0),(11000,25,'AP20160800000019','Purchase of Fixed Asset [OP-A[00000017]]','',NULL,3,'2016-08-16',NULL,8,2016,20,20,0,1,NULL,0,'2016-08-16 09:16:41','Purchase of Fixed Asset [OP-A[00000017]]',0),(11001,24,'AR20140800000002','Sales [ OR[00000009] ]','',NULL,2,'2014-08-06',NULL,8,2014,4000,4000,0,1,NULL,0,'2016-08-16 09:16:42','OR[00000009]',0),(11003,24,'AR20150800000002','Sales [ OR[00000010] ]','',NULL,2,'2015-08-19',NULL,8,2015,4000,4000,0,1,NULL,0,'2016-08-16 09:17:30','OR[00000010]',0),(11004,25,'AP20160800000020','Purchase of Fixed Asset [OP-A[00000018]]','',NULL,3,'2016-08-16',NULL,8,2016,3000,3000,0,1,NULL,0,'2016-08-16 09:23:00','Purchase of Fixed Asset [OP-A[00000018]]',0),(11005,25,'AP20160800000021','Operating Expenses [OP-E[00000019]]','',NULL,3,'2016-08-16',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-16 09:31:04','Operating Expenses [OP-E[00000019]]',0),(11006,25,'AP20160800000022','Purchase of Fixed Asset [OP-A[00000020]]','',NULL,3,'2016-08-16',NULL,8,2016,5,5,0,1,NULL,0,'2016-08-16 09:35:39','Purchase of Fixed Asset [OP-A[00000020]]',0),(11008,24,'AR20160800000009','Sales [ OR[00000011] ]','',NULL,2,'2016-08-16',NULL,8,2016,20,20,0,1,NULL,0,'2016-08-16 09:42:28','OR[00000011]',0),(11009,25,'AP20160800000023','Operating Expenses [OP-E[00000021]]','',NULL,3,'2016-08-16',NULL,8,2016,10,10,0,1,NULL,0,'2016-08-16 09:48:33','Operating Expenses [OP-E[00000021]]',0),(11010,25,'AP20160800000024','Bank Transfer [  [TT[00000022]]] ]','',NULL,3,'2016-08-16',NULL,8,2016,1000,1000,0,1,NULL,0,'2016-08-16 09:58:39',' [TT[00000022]]]',0),(11016,25,'AR20160800000007','Jualan [ OR[00000007] ]','',NULL,2,'2016-08-17',NULL,8,2016,20,20,0,1,NULL,0,'2016-08-17 02:05:12','OR[00000007]',0),(11017,25,'AR20160800000008','Jualan [ OR[00000008] ]','',NULL,2,'2016-08-17',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-17 02:12:30','OR[00000008]',0),(11018,25,'AR20160800000009','Jualan [ OR[00000009] ]','',NULL,2,'2016-08-17',NULL,8,2016,500,500,0,1,NULL,0,'2016-08-17 02:13:44','OR[00000009]',0),(11021,25,'AR20160800000012','Jualan [ OR[00000010] ]','',NULL,2,'2016-08-17',NULL,8,2016,500,500,0,1,NULL,0,'2016-08-17 02:26:34','OR[00000010]',0),(11022,24,'AP20160800000040','Pinjaman [  [LR[00000035]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,90,90,0,1,NULL,0,'2016-08-17 02:29:45',' [LR[00000035]]]',0),(11023,24,'AP20160800000041','Pemindahan [  [TT[00000036]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,60,60,0,1,NULL,0,'2016-08-17 02:46:32',' [TT[00000036]]]',0),(11024,25,'AR20160800000013','Jualan [ OR[00000011] ]','',NULL,2,'2016-08-17',NULL,8,2016,50,50,0,1,NULL,0,'2016-08-17 02:58:14','OR[00000011]',0),(11025,25,'AP20160800000025','Belanja Operasi [OP-E[00000023]]','',NULL,3,'2016-08-17',NULL,8,2016,100,100,0,1,NULL,32,'2016-08-17 02:59:33','Belanja Operasi [OP-E[00000023]]',0),(11026,25,'AR20160800000014','Jualan [ OR[00000012] ]','',NULL,2,'2016-08-17',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-17 03:00:45','OR[00000012]',0),(11027,25,'AP20160800000026','Pembelian Aset [OP-A[00000024]]','',NULL,3,'2016-08-17',NULL,8,2016,200,200,0,1,NULL,32,'2016-08-17 03:02:00','Pembelian Aset [OP-A[00000024]]',0),(11028,25,'AP20160800000027','Kos Jualan [OP-C[00000025]]','',NULL,3,'2016-08-17',NULL,8,2016,15,15,0,1,NULL,32,'2016-08-17 03:03:25','Kos Jualan [OP-C[00000025]]',0),(11029,25,'AR20160800000015','Jualan [ OR[00000013] ]','',NULL,2,'2016-08-17',NULL,8,2016,200,200,0,1,NULL,0,'2016-08-17 03:04:39','OR[00000013]',0),(11030,25,'AR20160800000016','Jualan [ OR[00000014] ]','',NULL,2,'2016-08-17',NULL,8,2016,500,500,0,1,NULL,0,'2016-08-17 03:23:25','OR[00000014]',0),(11033,24,'AR20160800000011','Jualan [ OR[00000012] ]','',NULL,2,'2016-08-17',NULL,8,2016,1.5,1.5,0,1,NULL,0,'2016-08-17 03:32:06','OR[00000012]',0),(11035,24,'AP20160200000004','Pembelian Aset [OP-A[00000037]]','',NULL,3,'2016-02-03',NULL,2,2016,450,450,0,1,NULL,31,'2016-08-17 04:16:14','Pembelian Aset [OP-A[00000037]]',0),(11036,24,'AP20160800000042','Pembelian Aset [OP-A[00000038]]','',NULL,3,'2016-08-16',NULL,8,2016,320,320,0,1,NULL,31,'2016-08-17 04:18:09','Pembelian Aset [OP-A[00000038]]',0),(11037,24,'AP20160800000043','Pembelian Aset [OP-A[00000030]]','',NULL,3,'2016-08-16',NULL,8,2016,1297,1297,0,1,NULL,31,'2016-08-17 04:21:19','Pembelian Aset [OP-A[00000030]]',0),(11039,24,'AP20160300000003','Belanja Operasi [OP-E[00000039]]','',NULL,3,'2016-03-31',NULL,3,2016,289,289,0,1,NULL,31,'2016-08-17 04:40:12','Belanja Operasi [OP-E[00000039]]',0),(11040,24,'AP20160800000045','Pembayaran Balik Pinjaman [OP-L[00000040]]','',NULL,3,'2016-08-17',NULL,8,2016,90,90,0,1,NULL,31,'2016-08-17 04:45:29','Pembayaran Balik Pinjaman [OP-L[00000040]]',0),(11042,24,'AR20160600000002','Jualan [ OR[00000001] ]','',NULL,2,'2016-06-15',NULL,6,2016,820,820,0,1,NULL,0,'2016-08-17 05:02:55','OR[00000001]',0),(11043,24,'AP20160800000046','Pembayaran Balik Pinjaman [OP-L[00000041]]','',NULL,3,'2016-08-17',NULL,8,2016,200,200,0,1,NULL,31,'2016-08-17 06:14:47','Pembayaran Balik Pinjaman [OP-L[00000041]]',0),(11044,25,'AP20160800000028','Pembayaran Balik Pinjaman [OP-L[00000026]]','',NULL,3,'2016-08-17',NULL,8,2016,25,25,0,1,NULL,32,'2016-08-17 06:16:48','Pembayaran Balik Pinjaman [OP-L[00000026]]',0),(11045,24,'AP20160800000047','Pinjaman [  [LR[00000042]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,400,400,0,1,NULL,0,'2016-08-17 06:18:30',' [LR[00000042]]]',0),(11046,24,'AP20160300000004','Pemindahan [  [TT[00000033]]] ]','',NULL,3,'2016-03-16',NULL,3,2016,10,10,0,1,NULL,0,'2016-08-17 06:31:29',' [TT[00000033]]]',0),(11048,23,'AR20160800000007','Sales [ OR[00000022] ]','',NULL,2,'2016-08-17',NULL,8,2016,400,400,0,1,NULL,0,'2016-08-17 07:23:36','OR[00000022]',0),(11050,23,'AR20160800000009','Sales [ OR[00000023] ]','',NULL,2,'2016-08-17',NULL,8,2016,1500,1500,0,1,NULL,0,'2016-08-17 07:31:03','OR[00000023]',0),(11051,25,'AP20160800000029','Pembayaran Balik Pinjaman [OP-L[00000027]]','',NULL,3,'2016-08-17',NULL,8,2016,50,50,0,1,NULL,32,'2016-08-17 07:33:47','Pembayaran Balik Pinjaman [OP-L[00000027]]',0),(11053,23,'AR20160800000011','Sales [ OR[00000024] ]','',NULL,2,'2016-08-17',NULL,8,2016,10,10,0,1,NULL,0,'2016-08-17 07:35:59','OR[00000024]',0),(11054,24,'AP20160800000048','Loan Received [  [OR[00000022]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-17 07:46:18',' [OR[00000022]]]',0),(11055,24,'AP20160800000049','Loan Received [  [OR[00000023]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-17 07:47:33',' [OR[00000023]]]',0),(11056,25,'AP20160800000030','Pinjaman [  [OR[00000024]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,1000,1000,0,1,NULL,0,'2016-08-17 07:47:56',' [OR[00000024]]]',0),(11057,25,'AP20160800000031','Pembayaran Balik Pinjaman [OP-L[00000029]]','',NULL,3,'2016-08-17',NULL,8,2016,400,400,0,1,NULL,32,'2016-08-17 07:50:29','Pembayaran Balik Pinjaman [OP-L[00000029]]',0),(11060,12,'AP20160800000007','Loan Received [  [LR[00000009]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,1000,1000,0,1,NULL,0,'2016-08-17 08:18:38',' [LR[00000009]]]',0),(11069,12,'AR20160800000003','Loan Received [  [LR[00000008]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,400,400,0,1,NULL,0,'2016-08-17 09:26:02',' [LR[00000008]]]',0),(11070,12,'AR20160800000004','Loan Received [  [LR[00000008]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,0,0,0,1,NULL,0,'2016-08-17 09:40:01',' [LR[00000008]]]',0),(11071,12,'AR20160800000005','Loan Received [  [LR[00000009]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,0,0,0,1,NULL,0,'2016-08-17 09:56:34',' [LR[00000009]]]',0),(11072,12,'AR20160800000006','Loan Received [  [LR[00000010]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,0,0,0,1,NULL,0,'2016-08-17 10:31:57',' [LR[00000010]]]',0),(11073,12,'AR20160800000007','Loan Received [  [LR[00000011]]] ]','',NULL,3,'2016-08-17',NULL,8,2016,0,0,0,1,NULL,0,'2016-08-17 10:41:31',' [LR[00000011]]]',0),(11076,12,'AR20160800000010','Loan Received [ LR[00000010] ]','',NULL,3,'2016-08-17',NULL,8,2016,99,99,0,1,NULL,0,'2016-08-17 11:03:39','LR[00000010]',0),(11078,12,'AR20160800000011','Loan Received [ LR[00000011] ]','',NULL,3,'2016-08-17',NULL,8,2016,88,88,0,1,NULL,0,'2016-08-17 11:06:04','LR[00000011]',0),(11080,12,'AR20160800000013','Loan Received [ LR[00000013] ]','',NULL,3,'2016-08-17',NULL,8,2016,13,13,0,1,NULL,0,'2016-08-17 11:14:15','LR[00000013]',0),(11081,12,'AR20160800000014','Loan Received [ LR[00000014] ]','',NULL,3,'2016-08-17',NULL,8,2016,89,89,0,1,NULL,0,'2016-08-17 11:17:44','LR[00000014]',0),(11082,12,'AR20160800000015','Loan Received [ LR[00000015] ]','',NULL,3,'2016-08-17',NULL,8,2016,89,89,0,1,NULL,0,'2016-08-17 11:19:29','LR[00000015]',0),(11083,12,'AR20160800000016','Loan Received [ LR[00000016] ]','',NULL,3,'2016-08-17',NULL,8,2016,89,89,0,1,NULL,0,'2016-08-17 11:23:00','LR[00000016]',0),(11084,12,'AR20160800000017','Loan Received [ LR[00000017] ]','',NULL,3,'2016-08-17',NULL,8,2016,89,89,0,1,NULL,0,'2016-08-17 11:23:40','LR[00000017]',0),(11085,12,'AR20160800000018','Loan Received [ LR[00000018] ]','',NULL,3,'2016-08-17',NULL,8,2016,89,89,0,1,NULL,0,'2016-08-17 11:24:40','LR[00000018]',0),(11086,12,'AR20160800000019','Loan Received [ LR[00000019] ]','',NULL,3,'2016-08-17',NULL,8,2016,645,645,0,1,NULL,0,'2016-08-17 11:36:12','LR[00000019]',0),(11087,12,'AR20160800000020','Loan Received [ LR[00000021] ]','',NULL,3,'2016-08-17',NULL,8,2016,4567,4567,0,1,NULL,0,'2016-08-17 11:47:54','LR[00000021]',0),(11089,12,'AR20160800000022','Loan Received [ LR[00000024] ]','',NULL,3,'2016-08-17',NULL,8,2016,11,11,0,1,NULL,0,'2016-08-17 12:01:57','LR[00000024]',0),(11090,12,'AR20160800000023','Loan Received [ LR[00000028] ]','',NULL,3,'2016-08-17',NULL,8,2016,111111,111111,0,1,NULL,0,'2016-08-17 12:09:54','LR[00000028]',0),(11091,12,'AR20160800000024','Loan Received [ LR[00000029] ]','',NULL,3,'2016-08-17',NULL,8,2016,1111111,1111111,0,1,NULL,0,'2016-08-17 12:12:45','LR[00000029]',0),(11092,12,'AR20160800000025','Loan Received [ LR[00000030] ]','',NULL,3,'2016-08-17',NULL,8,2016,11111112,11111112,0,1,NULL,0,'2016-08-17 12:15:11','LR[00000030]',0),(11093,12,'AR20160800000026','Loan Received [ LR[00000031] ]','',NULL,3,'2016-08-17',NULL,8,2016,111111123,111111123,0,1,NULL,0,'2016-08-17 12:29:56','LR[00000031]',0),(11094,12,'AR20160800000027','Loan Received [ LR[00000032] ]','',NULL,3,'2016-08-17',NULL,8,2016,1111111234,1111111234,0,1,NULL,0,'2016-08-17 12:32:14','LR[00000032]',0),(11131,1,'AR20160800000025','Sales [ OR[00000058] ]','',NULL,2,'2016-08-18',NULL,8,2016,10000,10000,0,1,NULL,1,'2016-08-18 01:27:58','OR[00000058]',0),(11155,12,'AR20160800000034','Loan Received [ LR[00000008] ]','',NULL,3,'2016-08-17',NULL,8,2016,58,58,0,1,NULL,0,'2016-08-18 04:40:21','LR[00000008]',0),(11156,12,'AR20160800000035','Loan Received [ LR[00000008] ]','',NULL,3,'2016-08-17',NULL,8,2016,58,58,0,1,NULL,0,'2016-08-18 04:41:10','LR[00000008]',0),(11159,12,'AR20160800000038','Loan Received [ LR[00000008] ]','',NULL,3,'2016-08-17',NULL,8,2016,58,58,0,1,NULL,0,'2016-08-18 04:50:28','LR[00000008]',0),(11160,12,'AR20160800000039','Loan Received [ LR[00000009] ]','',NULL,3,'2016-08-17',NULL,8,2016,85,85,0,1,NULL,0,'2016-08-18 04:51:54','LR[00000009]',0),(11161,12,'AP20160800000008','Bank Transfer [  [TT[00000030]]] ]','',NULL,3,'2016-08-18',NULL,8,2016,12,12,0,1,NULL,0,'2016-08-18 04:53:12',' [TT[00000030]]]',0),(11162,12,'AR20160800000040','Loan Received [ LR[00000034] ]','',NULL,3,'2016-08-17',NULL,8,2016,111111123456,111111123456,0,1,NULL,0,'2016-08-18 04:54:32','LR[00000034]',0),(11163,12,'AR20160800000041','Loan Received [ LR[00000033] ]','',NULL,3,'2016-08-17',NULL,8,2016,11111112345,11111112345,0,1,NULL,0,'2016-08-18 04:55:27','LR[00000033]',0),(11164,12,'AR20160800000042','Loan Received [ LR[00000022] ]','',NULL,3,'2016-08-17',NULL,8,2016,45672,45672,0,1,NULL,0,'2016-08-18 04:56:46','LR[00000022]',0),(11165,12,'AR20160800000043','Loan Received [ LR[00000012] ]','',NULL,3,'2016-08-17',NULL,8,2016,456,456,0,1,NULL,0,'2016-08-18 04:57:05','LR[00000012]',0),(11167,23,'AR20160800000032','Loan Received [ LR[00000011] ]','',NULL,3,'2016-08-18',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-18 05:01:30','LR[00000011]',0),(11168,24,'AR20160800000013','Loan Received [ LR[00000014] ]','',NULL,3,'2016-08-18',NULL,8,2016,20,20,0,1,NULL,0,'2016-08-18 05:01:50','LR[00000014]',0),(11169,24,'AR20160800000014','Loan Received [ LR[00000013] ]','',NULL,3,'2016-08-18',NULL,8,2016,20,20,0,1,NULL,0,'2016-08-18 05:03:29','LR[00000013]',0),(11170,23,'AR20160800000033','Loan Received [ LR[00000012] ]','',NULL,3,'2016-08-18',NULL,8,2016,200,200,0,1,NULL,0,'2016-08-18 05:03:33','LR[00000012]',0),(11171,24,'AR20160800000015','Loan Received [ LR[00000015] ]','',NULL,3,'2016-08-18',NULL,8,2016,30,30,0,1,NULL,0,'2016-08-18 05:04:04','LR[00000015]',0),(11172,12,'AR20160800000044','Loan Received [ LR[00000035] ]','',NULL,3,'2016-08-18',NULL,8,2016,10,10,0,1,NULL,0,'2016-08-18 05:05:14','LR[00000035]',0),(11173,23,'AR20160800000034','Loan Received [ LR[00000013] ]','',NULL,3,'2016-08-18',NULL,8,2016,30,30,0,1,NULL,0,'2016-08-18 05:05:17','LR[00000013]',0),(11174,25,'AR20160800000017','Loan Received [ LR[00000015] ]','',NULL,3,'2016-08-18',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-18 05:05:55','LR[00000015]',0),(11175,24,'AR20160800000016','Loan Received [ LR[00000016] ]','',NULL,3,'2016-08-18',NULL,8,2016,45,45,0,1,NULL,0,'2016-08-18 05:06:39','LR[00000016]',0),(11176,25,'AR20160800000018','Loan Received [ LR[00000016] ]','',NULL,3,'2016-08-18',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-18 05:06:41','LR[00000016]',0),(11177,24,'AR20160800000017','Loan Received [ LR[00000017] ]','',NULL,3,'2016-08-18',NULL,8,2016,90,90,0,1,NULL,0,'2016-08-18 06:15:40','LR[00000017]',0),(11179,25,'AR20160800000019','Loan Received [ LR[00000017] ]','',NULL,3,'2016-08-18',NULL,8,2016,1000,1000,0,1,NULL,0,'2016-08-18 08:25:15','LR[00000017]',0),(11180,25,'AR20160800000020','Pinjaman [ LR[00000018] ]','',NULL,3,'2016-08-18',NULL,8,2016,200,200,0,1,NULL,0,'2016-08-18 09:21:16','LR[00000018]',0),(11195,23,'AP20160100000013','Bank Transfer [  [TT[00000053]]] ]','',NULL,3,'2016-01-01',NULL,1,2016,100,100,0,1,NULL,0,'2016-08-22 02:13:09',' [TT[00000053]]]',0),(11199,23,'AR20160800000035','Loan Received [ LR[00000014] ]','',NULL,3,'2016-08-22',NULL,8,2016,100,100,0,1,NULL,0,'2016-08-22 02:27:50','LR[00000014]',0),(11203,1,'AP20160800000011','Operating Expenses [OP-E[00000628]]','',NULL,3,'2016-08-22',NULL,8,2016,19,19,0,1,NULL,1,'2016-08-22 06:31:18','Operating Expenses [OP-E[00000628]]',0),(11205,12,'AR20160800000045','Sales [ OR[00000006] ]','',NULL,2,'2016-08-05',NULL,8,2016,258,258,0,1,NULL,11,'2016-08-23 05:16:44','OR[00000006]',0),(11210,1,'AR20160800000026','Sales [ OR[00000059] ]','',NULL,2,'2016-08-26',NULL,8,2016,12,12,0,1,NULL,1,'2016-08-26 02:09:54','OR[00000059]',0),(11224,23,'AR20160800000049','Loan Received [ LR[00000015] ]','',NULL,3,'2016-08-26',NULL,8,2016,1211,1211,0,1,NULL,0,'2016-08-26 07:56:13','LR[00000015]',0),(11229,23,'AP20160800000064','Cost of Goods Sold [OP-C[00000055]]','',NULL,3,'2016-08-29',NULL,8,2016,100,100,0,1,NULL,28,'2016-08-29 01:15:09','Cost of Goods Sold [OP-C[00000055]]',0),(11232,23,'AP20160800000065','Cost of Goods Sold [OP-C[00000056]]','',NULL,3,'2016-08-29',NULL,8,2016,100,100,0,1,NULL,28,'2016-08-29 01:18:21','Cost of Goods Sold [OP-C[00000056]]',0),(11237,23,'AP20160800000067','Cost of Goods Sold [OP-C[00000058]]','',NULL,3,'2016-08-29',NULL,8,2016,120,120,0,1,NULL,28,'2016-08-29 02:33:38','Cost of Goods Sold [OP-C[00000058]]',0),(11238,23,'AP20160800000068','Cost of Goods Sold [OP-C[00000059]]','',NULL,3,'2016-08-29',NULL,8,2016,120,120,0,1,NULL,28,'2016-08-29 02:34:14','Cost of Goods Sold [OP-C[00000059]]',0),(11239,23,'AP20160800000069','Cost of Goods Sold [OP-C[00000060]]','',NULL,3,'2016-08-29',NULL,8,2016,120,120,0,1,NULL,28,'2016-08-29 02:35:08','Cost of Goods Sold [OP-C[00000060]]',0),(11240,23,'AP20160800000070','Cost of Goods Sold [OP-C[00000061]]','',NULL,3,'2016-08-29',NULL,8,2016,130,130,0,1,NULL,28,'2016-08-29 02:36:36','Cost of Goods Sold [OP-C[00000061]]',0),(11244,23,'AP20160800000071','Cost of Goods Sold [OP-C[00000062]]','',NULL,3,'2016-08-29',NULL,8,2016,115,115,0,1,NULL,28,'2016-08-29 02:39:27','Cost of Goods Sold [OP-C[00000062]]',0),(11245,23,'AP20160800000072','Cost of Goods Sold [OP-C[00000063]]','',NULL,3,'2016-08-29',NULL,8,2016,100,100,0,1,NULL,28,'2016-08-29 02:40:45','Cost of Goods Sold [OP-C[00000063]]',0),(11246,23,'AP20160800000073','Cost of Goods Sold [OP-C[00000064]]','',NULL,3,'2016-08-29',NULL,8,2016,200,200,0,1,NULL,28,'2016-08-29 02:40:57','Cost of Goods Sold [OP-C[00000064]]',0),(11263,23,'AP20160200000005','Bank Transfer [  [TT[00000026]]] ]','',NULL,3,'2016-02-03',NULL,2,2016,4447,4447,0,1,NULL,0,'2016-08-29 05:20:30',' [TT[00000026]]]',0),(11265,23,'AP20160400000002','Bank Transfer [  [TT[00000029]]] ]','',NULL,3,'2016-04-06',NULL,4,2016,545,545,0,1,NULL,0,'2016-08-29 05:21:11',' [TT[00000029]]]',0),(11266,23,'AP20160500000002','Bank Transfer [  [TT[00000030]]] ]','',NULL,3,'2016-05-11',NULL,5,2016,5555,5555,0,1,NULL,0,'2016-08-29 05:21:30',' [TT[00000030]]]',0),(11267,23,'AP20160700000003','Bank Transfer [  [TT[00000057]]] ]','',NULL,3,'2016-07-19',NULL,7,2016,23,23,0,1,NULL,0,'2016-08-29 05:21:44',' [TT[00000057]]]',0),(11278,1,'AP20160800000015','Operating Expenses [OP-E[00000632]]','',NULL,3,'2016-08-29',NULL,8,2016,3,3,0,1,NULL,1,'2016-08-29 07:46:52','Operating Expenses [OP-E[00000632]]',0),(11280,1,'AP20160800000016','Operating Expenses [OP-E[00000633]]','',NULL,3,'2016-08-29',NULL,8,2016,3,3,0,1,NULL,1,'2016-08-29 07:47:29','Operating Expenses [OP-E[00000633]]',0),(11292,23,'AP20160800000085','Bank Transfer [  [TT[00000028]]] ]','',NULL,3,'2016-08-16',NULL,8,2016,1200000.1,1200000.1,0,1,NULL,0,'2016-08-29 07:55:11',' [TT[00000028]]]',0),(11297,1,'AP20160800000017','Operating Expenses [OP-E[00000634]]','',NULL,3,'2016-08-29',NULL,8,2016,1,1,0,1,NULL,1,'2016-08-29 08:06:02','Operating Expenses [OP-E[00000634]]',0),(11299,23,'AR20160800000064','Jualan [ OR[00000017] ]','',NULL,2,'2016-08-29',NULL,8,2016,200,200,0,1,NULL,28,'2016-08-29 08:12:44','OR[00000017]',0),(11301,1,'AP20160800000018','Operating Expenses [OP-E[00000635]]','',NULL,3,'2016-08-29',NULL,8,2016,3,3,0,1,NULL,1,'2016-08-29 08:15:02','Operating Expenses [OP-E[00000635]]',0),(11302,23,'AR20160800000066','Jualan [ OR[00000018] ]','',NULL,2,'2016-08-29',NULL,8,2016,11111.11,11111.11,0,1,NULL,28,'2016-08-29 08:16:52','OR[00000018]',0),(11303,1,'AP20160800000019','Operating Expenses [OP-E[00000636]]','',NULL,3,'2016-08-29',NULL,8,2016,2,2,0,1,NULL,1,'2016-08-29 08:27:29','Operating Expenses [OP-E[00000636]]',0),(11312,1,'AP20160800000020','Operating Expenses [OP-E[00000637]]','',NULL,3,'2016-08-29',NULL,8,2016,1,1,0,1,NULL,1,'2016-08-29 08:46:23','Operating Expenses [OP-E[00000637]]',0),(11313,1,'AP20160800000021','Operating Expenses [OP-E[00000638]]','',NULL,3,'2016-08-29',NULL,8,2016,1,1,0,1,NULL,1,'2016-08-29 08:52:20','Operating Expenses [OP-E[00000638]]',0),(11314,1,'AP20160800000022','Operating Expenses [OP-E[00000639]]','',NULL,3,'2016-08-29',NULL,8,2016,1,1,0,1,NULL,1,'2016-08-29 08:54:08','Operating Expenses [OP-E[00000639]]',0),(11317,1,'AP20160800000023','Operating Expenses [OP-E[00000640]]','',NULL,3,'2016-08-29',NULL,8,2016,2,2,0,1,NULL,1,'2016-08-29 08:56:06','Operating Expenses [OP-E[00000640]]',0),(11320,1,'AP20160800000024','Operating Expenses [OP-E[00000641]]','',NULL,3,'2016-08-29',NULL,8,2016,2,2,0,1,NULL,1,'2016-08-29 08:56:52','Operating Expenses [OP-E[00000641]]',0),(11329,1,'AP20160800000025','Operating Expenses [OP-E[00000642]]','',NULL,3,'2016-08-29',NULL,8,2016,2,2,0,1,NULL,1,'2016-08-29 09:10:36','Operating Expenses [OP-E[00000642]]',0),(11330,12,'AR20160800000046','Jualan [ OR[00000036] ]','',NULL,2,'2016-08-29',NULL,8,2016,120,120,0,1,NULL,11,'2016-08-29 09:22:00','OR[00000036]',0),(11340,23,'AR20160800000067','Sales [ OR[00000016] ]','',NULL,2,'2016-08-29',NULL,8,2016,100,100,0,1,NULL,28,'2016-08-30 02:45:56','OR[00000016]',0),(11342,23,'AP20160800000090','Loan Repayment [OP-L[00000020]]','',NULL,3,'2016-08-15',NULL,8,2016,2200,2200,0,1,NULL,28,'2016-08-30 02:46:56','Loan Repayment [OP-L[00000020]]',0),(11386,23,'AR20160900000003','Sales [ OR[00000020] ]','',NULL,2,'2016-09-01',NULL,9,2016,100,100,0,1,NULL,28,'2016-09-01 01:28:36','OR[00000020]',0),(11389,23,'AR20160900000004','Sales [ OR[00000021] ]','',NULL,2,'2016-09-01',NULL,9,2016,100,100,0,1,NULL,28,'2016-09-01 01:31:01','OR[00000021]',0),(11390,23,'AR20160900000005','Sales [ OR[00000022] ]','',NULL,2,'2016-09-01',NULL,9,2016,1,1,0,1,NULL,28,'2016-09-01 01:31:27','OR[00000022]',0),(11391,23,'AR20160900000006','Sales [ OR[00000023] ]','',NULL,2,'2016-09-01',NULL,9,2016,1,1,0,1,NULL,28,'2016-09-01 01:32:04','OR[00000023]',0),(11403,23,'AP161000000001','Operating Expenses [OP-E[00000076]]','',NULL,3,'2016-10-07',NULL,10,2016,1090,1090,0,1,NULL,28,'2016-09-01 01:56:18','Operating Expenses [OP-E[00000076]]',0),(11406,23,'AP20160900000011','Loan Repayment [OP-L[00000078]]','',NULL,3,'2016-09-01',NULL,9,2016,19092,19092,0,1,NULL,28,'2016-09-01 02:04:07','Loan Repayment [OP-L[00000078]]',0),(11423,1,'AP20160900000008','Loan Repayment [OP-L[00000668]]','',NULL,3,'2016-09-01',NULL,9,2016,10000,10000,0,1,NULL,1,'2016-09-01 07:06:59','Loan Repayment [OP-L[00000668]]',0),(11446,1,'AR20160900000001','Jualan [ OR[00000060] ]','',NULL,2,'2016-09-04',NULL,9,2016,570,570,0,1,NULL,1,'2016-09-04 09:21:45','OR[00000060]',0),(11447,1,'AR20160900000002','Jualan [ OR[00000061] ]','',NULL,2,'2016-09-04',NULL,9,2016,570,570,0,1,NULL,1,'2016-09-04 09:22:04','OR[00000061]',0),(11450,23,'AR20160900000007','Sales [ OR[00000024] ]','',NULL,2,'2016-09-05',NULL,9,2016,100,100,0,1,NULL,28,'2016-09-05 04:58:49','OR[00000024]',0),(11451,23,'AR20160900000008','Sales [ OR[00000025] ]','',NULL,2,'2016-09-05',NULL,9,2016,200,200,0,1,NULL,28,'2016-09-05 04:59:45','OR[00000025]',0),(11452,23,'AR20160900000009','Sales [ OR[00000026] ]','',NULL,2,'2016-09-05',NULL,9,2016,300,300,0,1,NULL,28,'2016-09-05 05:00:29','OR[00000026]',0),(11459,12,'AR20160900000002','Sales [ OR[00000038] ]','',NULL,2,'2016-09-05',NULL,9,2016,150,150,0,1,NULL,11,'2016-09-05 08:14:08','OR[00000038]',0),(11482,12,'AR20160900000003','Sales [ OR[00000039] ]','',NULL,2,'2016-09-09',NULL,9,2016,12,12,0,1,NULL,11,'2016-09-09 03:42:47','OR[00000039]',0),(11483,12,'AR20160900000004','Sales [ OR[00000040] ]','',NULL,2,'2016-09-09',NULL,9,2016,12,12,0,1,NULL,11,'2016-09-09 03:49:55','OR[00000040]',0),(11541,13,'AP20160900000027','Cost of Goods Sold [OP-C[00000097]]','',NULL,3,'2016-09-15',NULL,9,2016,1300,1300,0,1,NULL,10,'2016-09-15 02:26:50','Cost of Goods Sold [OP-C[00000097]]',0),(11543,13,'AP20160900000029','Cost of Goods Sold [OP-C[00000098]]','',NULL,3,'2016-09-15',NULL,9,2016,1380,1380,0,1,NULL,10,'2016-09-15 02:33:21','Cost of Goods Sold [OP-C[00000098]]',0),(11544,1,'AR20160900000003','Sales [ OR[00000062] ]','',NULL,2,'2016-09-16',NULL,9,2016,1000,1000,0,1,NULL,1,'2016-09-16 07:04:31','OR[00000062]',0),(11548,13,'AP20160900000030','Cost of Goods Sold [OP-C[00000099]]','',NULL,3,'2016-09-19',NULL,9,2016,4390,4390,0,1,NULL,10,'2016-09-19 04:28:48','Cost of Goods Sold [OP-C[00000099]]',0),(11554,13,'AR20160900000097','Sales [ OR[00000043] ]','',NULL,2,'2016-09-19',NULL,9,2016,439,439,0,1,NULL,10,'2016-09-19 05:03:56','OR[00000043]',0),(11555,1,'AR20160900000004','Sales [ OR[00000063] ]','',NULL,2,'2016-09-22',NULL,9,2016,1399,1399,0,1,NULL,1,'2016-09-22 07:07:21','OR[00000063]',0),(11556,1,'AR20160900000005','Sales [ OR[00000064] ]','',NULL,2,'2016-09-23',NULL,9,2016,1399,1399,0,1,NULL,1,'2016-09-23 02:17:31','OR[00000064]',0),(11557,1,'AP20160900000009','Bank Transfer [  [TT[00000669]]] ]','',NULL,3,'2016-09-23',NULL,9,2016,100,100,0,1,NULL,0,'2016-09-23 02:50:23',' [TT[00000669]]]',0),(11558,1,'AR20160900000006','Loan Received [ LR[00000065] ]','',NULL,3,'2016-09-23',NULL,9,2016,1000000,1000000,0,1,NULL,0,'2016-09-23 03:46:43','LR[00000065]',0),(11559,13,'AP20160900000031','Bank Transfer [  [TT[00000100]]] ]','',NULL,3,'2016-09-26',NULL,9,2016,123,123,0,1,NULL,0,'2016-09-26 02:18:26',' [TT[00000100]]]',0),(11560,13,'AP20160900000032','Cost of Goods Sold [OP-C[00000101]]','',NULL,3,'2016-09-01',NULL,9,2016,123,123,0,1,NULL,10,'2016-09-26 02:26:14','Cost of Goods Sold [OP-C[00000101]]',0),(11561,39,'AR20160900000001','Sales [ OR[00000001] ]','',NULL,2,'2016-09-26',NULL,9,2016,1500,1500,0,1,NULL,28,'2016-09-26 07:05:26','OR[00000001]',0),(11562,39,'AR20160900000002','Sales [ OR[00000002] ]','',NULL,2,'2016-09-26',NULL,9,2016,2000,2000,0,1,NULL,28,'2016-09-26 07:07:01','OR[00000002]',0),(11563,12,'AR20160900000005','Sales [ OR[00000037] ]','',NULL,2,'2016-09-05',NULL,9,2016,378,378,0,1,NULL,11,'2016-09-26 07:14:01','OR[00000037]',0),(11565,39,'AP20160900000002','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-09-26',NULL,9,2016,250,250,0,1,NULL,28,'2016-09-26 07:17:03','Cost of Goods Sold [OP-C[00000001]]',0),(11570,39,'AR20160900000003','Sales [ OR[00000003] ]','',NULL,2,'2016-09-26',NULL,9,2016,800,800,0,1,NULL,28,'2016-09-26 07:44:24','OR[00000003]',0),(11576,39,'AP20160900000008','Cost of Goods Sold [OP-C[00000002]]','',NULL,3,'2016-09-26',NULL,9,2016,2593,2593,0,1,NULL,28,'2016-09-27 01:16:21','Cost of Goods Sold [OP-C[00000002]]',0),(11577,39,'AP20160900000009','Bank Transfer [  [TT[00000003]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,200,200,0,1,NULL,0,'2016-09-27 01:22:55',' [TT[00000003]]]',0),(11581,39,'AP20160900000011','Loan Repayment [OP-L[00000004]]','',NULL,3,'2016-09-27',NULL,9,2016,3000,3000,0,1,NULL,28,'2016-09-27 01:31:24','Loan Repayment [OP-L[00000004]]',0),(11582,12,'AP20160900000006','Cost of Goods Sold [OP-C[00000031]]','',NULL,3,'2016-09-26',NULL,9,2016,1777,1777,0,1,NULL,11,'2016-09-27 01:32:15','Cost of Goods Sold [OP-C[00000031]]',0),(11584,39,'AR20160900000005','Loan Received [ LR[00000004] ]','',NULL,3,'2016-09-27',NULL,9,2016,3000,3000,0,1,NULL,0,'2016-09-27 01:38:28','LR[00000004]',0),(11589,12,'AR20160900000011','Sales [ OR[00000037] ]','',NULL,2,'2016-09-05',NULL,9,2016,190,190,0,1,NULL,11,'2016-09-27 01:59:42','OR[00000037]',0),(11593,39,'AR20160900000007','Jualan [ OR[00000005] ]','',NULL,2,'2016-09-27',NULL,9,2016,900,900,0,1,NULL,28,'2016-09-27 02:02:21','OR[00000005]',0),(11599,12,'AR20160900000019','Sales [ OR[00000041] ]','',NULL,2,'2016-09-27',NULL,9,2016,700,700,0,1,NULL,11,'2016-09-27 02:08:22','OR[00000041]',0),(11602,12,'AR20160900000022','Sales [ OR[00000042] ]','',NULL,2,'2016-09-27',NULL,9,2016,1300,1300,0,1,NULL,11,'2016-09-27 02:09:53','OR[00000042]',0),(11603,12,'AR20160900000023','Sales [ OR[00000037] ]','',NULL,2,'2016-09-05',NULL,9,2016,63,63,0,1,NULL,11,'2016-09-27 02:10:25','OR[00000037]',0),(11604,39,'AR20160900000008','Jualan [ OR[00000006] ]','',NULL,2,'2016-09-27',NULL,9,2016,100,100,0,1,NULL,28,'2016-09-27 02:11:09','OR[00000006]',0),(11605,39,'AR20160900000009','Sales [ OR[00000007] ]','',NULL,2,'2016-09-27',NULL,9,2016,500,500,0,1,NULL,28,'2016-09-27 02:12:01','OR[00000007]',0),(11606,12,'AR20160900000024','Sales [ OR[00000043] ]','',NULL,2,'2016-09-27',NULL,9,2016,234,234,0,1,NULL,11,'2016-09-27 02:13:07','OR[00000043]',0),(11607,13,'AR20160900000098','Sales [ OR[00000044] ]','',NULL,2,'2016-09-27',NULL,9,2016,200,200,0,1,NULL,10,'2016-09-27 02:14:29','OR[00000044]',0),(11608,39,'AR20160900000010','Sales [ OR[00000008] ]','',NULL,2,'2016-09-27',NULL,9,2016,100,100,0,1,NULL,28,'2016-09-27 02:15:21','OR[00000008]',0),(11609,39,'AR20160900000011','Sales [ OR[00000009] ]','',NULL,2,'2016-09-27',NULL,9,2016,50000,50000,0,1,NULL,28,'2016-09-27 02:16:00','OR[00000009]',0),(11611,13,'AR20160900000099','Sales [ OR[00000045] ]','',NULL,2,'2016-09-27',NULL,9,2016,1000,1000,0,1,NULL,10,'2016-09-27 02:17:01','OR[00000045]',0),(11612,39,'AR20160900000013','Sales [ OR[00000010] ]','',NULL,2,'2016-09-27',NULL,9,2016,111,111,0,1,NULL,28,'2016-09-27 02:18:00','OR[00000010]',0),(11614,13,'AR20160900000101','Sales [ OR[00000046] ]','',NULL,2,'2016-09-27',NULL,9,2016,2122,2122,0,1,NULL,10,'2016-09-27 02:19:14','OR[00000046]',0),(11616,39,'AR20160900000015','Sales [ OR[00000011] ]','',NULL,2,'2016-09-27',NULL,9,2016,1000,1000,0,1,NULL,28,'2016-09-27 02:20:21','OR[00000011]',0),(11617,39,'AR20160900000016','Sales [ OR[00000012] ]','',NULL,2,'2016-09-27',NULL,9,2016,30498,30498,0,1,NULL,28,'2016-09-27 02:20:46','OR[00000012]',0),(11618,39,'AR20160900000017','Sales [ OR[00000013] ]','',NULL,2,'2016-09-27',NULL,9,2016,4039,4039,0,1,NULL,28,'2016-09-27 02:21:35','OR[00000013]',0),(11620,39,'AP20160900000013','Cost of Goods Sold [OP-C[00000005]]','',NULL,3,'2016-09-27',NULL,9,2016,6000,6000,0,1,NULL,28,'2016-09-27 02:24:03','Cost of Goods Sold [OP-C[00000005]]',0),(11622,39,'AP20160900000015','Bank Transfer [  [TT[00000006]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,2000,2000,0,1,NULL,0,'2016-09-27 02:25:07',' [TT[00000006]]]',0),(11624,39,'AP20160900000017','Bank Transfer [  [TT[00000007]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,150,150,0,1,NULL,0,'2016-09-27 02:26:12',' [TT[00000007]]]',0),(11628,12,'AP20160900000010','Bank Transfer [  [TT[00000032]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,56,56,0,1,NULL,0,'2016-09-27 02:35:47',' [TT[00000032]]]',0),(11630,12,'AP20160900000012','Bank Transfer [  [TT[00000033]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,44,44,0,1,NULL,0,'2016-09-27 02:36:45',' [TT[00000033]]]',0),(11632,12,'AP20160900000014','Bank Transfer [  [TT[00000034]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,233,233,0,1,NULL,0,'2016-09-27 02:39:13',' [TT[00000034]]]',0),(11633,12,'AP20160900000015','Bank Transfer [  [TT[00000035]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,222,222,0,1,NULL,0,'2016-09-27 02:40:10',' [TT[00000035]]]',0),(11634,12,'AP20160900000016','Bank Transfer [  [TT[00000036]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,44,44,0,1,NULL,0,'2016-09-27 03:01:22',' [TT[00000036]]]',0),(11635,12,'AP20160900000017','Loan Repayment [OP-L[00000037]]','',NULL,3,'2016-09-27',NULL,9,2016,100,100,0,1,NULL,11,'2016-09-27 04:38:50','Loan Repayment [OP-L[00000037]]',0),(11636,12,'AR20160900000025','Sales [ OR[00000044] ]','',NULL,2,'2016-09-27',NULL,9,2016,23,23,0,1,NULL,11,'2016-09-27 04:40:28','OR[00000044]',0),(11637,12,'AP20160900000018','Loan Repayment [OP-L[00000038]]','',NULL,3,'2016-09-27',NULL,9,2016,122,122,0,1,NULL,11,'2016-09-27 04:41:32','Loan Repayment [OP-L[00000038]]',0),(11638,12,'AR20160900000026','Sales [ OR[00000045] ]','',NULL,2,'2016-09-27',NULL,9,2016,234,234,0,1,NULL,11,'2016-09-27 04:42:07','OR[00000045]',0),(11639,12,'AR20160900000027','Sales [ OR[00000046] ]','',NULL,2,'2016-09-27',NULL,9,2016,456,456,0,1,NULL,11,'2016-09-27 04:42:52','OR[00000046]',0),(11641,12,'AP20160900000020','Loan Repayment [OP-L[00000039]]','',NULL,3,'2016-09-27',NULL,9,2016,221,221,0,1,NULL,11,'2016-09-27 04:45:31','Loan Repayment [OP-L[00000039]]',0),(11642,12,'AP20160900000021','Loan Repayment [OP-L[00000040]]','',NULL,3,'2016-09-27',NULL,9,2016,233,233,0,1,NULL,11,'2016-09-27 04:46:15','Loan Repayment [OP-L[00000040]]',0),(11643,39,'AP20160900000018','Bank Transfer [  [TT[00000008]]] ]','',NULL,3,'2016-09-27',NULL,9,2016,349,349,0,1,NULL,0,'2016-09-27 04:49:22',' [TT[00000008]]]',0),(11644,12,'AP20160900000022','Loan Repayment [OP-L[00000041]]','',NULL,3,'2016-09-27',NULL,9,2016,899,899,0,1,NULL,11,'2016-09-27 06:56:30','Loan Repayment [OP-L[00000041]]',0),(11650,12,'AP20160900000028','Loan Repayment [OP-L[00000042]]','',NULL,3,'2016-09-27',NULL,9,2016,1370,1370,0,1,NULL,11,'2016-09-27 07:12:38','Loan Repayment [OP-L[00000042]]',0),(11652,39,'AP20160900000020','Cost of Goods Sold [OP-C[00000009]]','',NULL,3,'2016-09-27',NULL,9,2016,700,700,0,1,NULL,28,'2016-09-27 07:25:31','Cost of Goods Sold [OP-C[00000009]]',0),(11654,39,'AP20160900000022','Operating Expenses [OP-E[00000010]]','',NULL,3,'2016-09-27',NULL,9,2016,239,239,0,1,NULL,28,'2016-09-27 07:26:59','Operating Expenses [OP-E[00000010]]',0),(11656,39,'AP20160900000024','Purchase of Fixed Asset [OP-A[00000011]]','',NULL,3,'2016-09-27',NULL,9,2016,395,395,0,1,NULL,28,'2016-09-27 07:28:08','Purchase of Fixed Asset [OP-A[00000011]]',0),(11658,39,'AP20160900000026','Loan Repayment [OP-L[00000012]]','',NULL,3,'2016-09-27',NULL,9,2016,999,999,0,1,NULL,28,'2016-09-27 07:29:33','Loan Repayment [OP-L[00000012]]',0),(11660,40,'AR20160900000002','Sales [ OR[00000001] ]','',NULL,2,'2016-09-29',NULL,9,2016,1050,1050,0,1,NULL,28,'2016-09-29 01:16:51','OR[00000001]',0),(11661,40,'AR20160900000003','Sales [ OR[00000002] ]','',NULL,2,'2016-09-29',NULL,9,2016,100,100,0,1,NULL,28,'2016-09-29 01:18:11','OR[00000002]',0),(11666,40,'AR20160900000004','Sales [ OR[00000003] ]','',NULL,2,'2016-09-29',NULL,9,2016,30,30,0,1,NULL,28,'2016-09-29 01:21:35','OR[00000003]',0),(11667,40,'AP20160900000005','Operating Expenses [OP-E[00000003]]','',NULL,3,'2016-09-29',NULL,9,2016,250,250,0,1,NULL,28,'2016-09-29 01:30:37','Operating Expenses [OP-E[00000003]]',0),(11668,40,'AP20160900000006','Operating Expenses [OP-E[00000004]]','',NULL,3,'2016-09-29',NULL,9,2016,100,100,0,1,NULL,28,'2016-09-29 01:31:01','Operating Expenses [OP-E[00000004]]',0),(11669,40,'AP20160900000007','Operating Expenses [OP-E[00000005]]','',NULL,3,'2016-09-29',NULL,9,2016,1500,1500,0,1,NULL,28,'2016-09-29 01:31:36','Operating Expenses [OP-E[00000005]]',0),(11670,40,'AR20160900000005','Sales [ OR[00000004] ]','',NULL,2,'2016-09-29',NULL,9,2016,5000,5000,0,1,NULL,28,'2016-09-29 01:32:03','OR[00000004]',0),(11671,40,'AR20160900000006','Sales [ OR[00000005] ]','',NULL,2,'2016-09-29',NULL,9,2016,15900,15900,0,1,NULL,28,'2016-09-29 01:32:25','OR[00000005]',0),(11672,40,'AR20161000000001','Sales [ OR[00000006] ]','',NULL,2,'2016-10-01',NULL,10,2016,29000,29000,0,1,NULL,28,'2016-09-29 01:33:03','OR[00000006]',0),(11673,40,'AR20161000000002','Sales [ OR[00000007] ]','',NULL,2,'2016-10-08',NULL,10,2016,30000,30000,0,1,NULL,28,'2016-09-29 01:33:35','OR[00000007]',0),(11674,40,'AR20160900000007','Sales [ OR[00000008] ]','',NULL,2,'2016-09-29',NULL,9,2016,35000,35000,0,1,NULL,28,'2016-09-29 01:34:00','OR[00000008]',0),(11675,40,'AR20161000000003','Sales [ OR[00000009] ]','',NULL,2,'2016-10-22',NULL,10,2016,25000,25000,0,1,NULL,28,'2016-09-29 01:34:38','OR[00000009]',0),(11680,40,'AP20160900000012','Cost of Goods Sold [OP-C[00000006]]','',NULL,3,'2016-09-29',NULL,9,2016,1197,1197,0,1,NULL,28,'2016-09-29 01:41:26','Cost of Goods Sold [OP-C[00000006]]',0),(11683,13,'AR20160900000102','Sales [ OR[00000047] ]','',NULL,2,'2016-09-29',NULL,9,2016,10,10,0,1,NULL,10,'2016-09-29 02:12:50','OR[00000047]',0),(11696,40,'AP20160900000014','Purchase of Fixed Asset [OP-A[00000009]]','',NULL,3,'2016-09-29',NULL,9,2016,150000,150000,0,1,NULL,28,'2016-09-29 03:41:59','Purchase of Fixed Asset [OP-A[00000009]]',0),(11697,40,'AP20160900000015','Bank Transfer [  [TT[00000010]]] ]','',NULL,3,'2016-09-29',NULL,9,2016,5000,5000,0,1,NULL,0,'2016-09-29 04:01:42',' [TT[00000010]]]',0),(11698,40,'AP20160900000016','Loan Repayment [OP-L[00000011]]','',NULL,3,'2016-09-29',NULL,9,2016,1300,1300,0,1,NULL,28,'2016-09-29 04:03:59','Loan Repayment [OP-L[00000011]]',0),(11699,40,'AP20160900000017','Loan Repayment [OP-L[00000012]]','',NULL,3,'2016-09-29',NULL,9,2016,3000,3000,0,1,NULL,28,'2016-09-29 04:27:38','Loan Repayment [OP-L[00000012]]',0),(11701,40,'AP20161000000002','Bank Transfer [  [TT[00000013]]] ]','',NULL,3,'2016-10-04',NULL,10,2016,100,100,0,1,NULL,0,'2016-10-04 07:44:22',' [TT[00000013]]]',0),(11702,40,'AP20161000000003','Operating Expenses [OP-E[00000014]]','',NULL,3,'2016-10-10',NULL,10,2016,1,1,0,1,NULL,28,'2016-10-10 04:57:10','Operating Expenses [OP-E[00000014]]',0),(11713,40,'AP20161000000006','Cost of Goods Sold [OP-C[00000015]]','',NULL,3,'2016-10-11',NULL,10,2016,540,540,0,1,NULL,28,'2016-10-11 07:22:38','Cost of Goods Sold [OP-C[00000015]]',0),(11714,40,'AP20161000000007','Cost of Goods Sold [OP-C[00000016]]','',NULL,3,'2016-10-12',NULL,10,2016,8500,8500,0,1,NULL,28,'2016-10-12 07:47:47','Cost of Goods Sold [OP-C[00000016]]',0),(11720,40,'AP20161000000008','Operating Expenses [OP-E[00000017]]','',NULL,3,'2016-10-17',NULL,10,2016,1000,1000,0,1,NULL,28,'2016-10-17 08:04:02','Operating Expenses [OP-E[00000017]]',0),(11741,70,'AP161000000001','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-10-10',NULL,10,2016,1050,1050,0,1,NULL,NULL,'2016-10-18 00:55:39','Cost of Goods Sold [OP-C[00000001]]',0),(11742,70,'AR20161000000001','Sales [ OR[00000001] ]','',NULL,2,'2016-10-13',NULL,10,2016,7000,7000,0,1,NULL,NULL,'2016-10-18 00:55:40','OR[00000001]',0),(11743,70,'AP20161000000002','Cost of Goods Sold [OP-C[00000001]]','',NULL,3,'2016-10-13',NULL,10,2016,2050,2050,0,1,NULL,NULL,'2016-10-18 00:55:40','Cost of Goods Sold [OP-C[00000001]]',0),(11744,70,'AP20161000000003','Operating Expenses [OP-E[00000002]]','',NULL,3,'2016-10-13',NULL,10,2016,10900,10900,0,1,NULL,NULL,'2016-10-18 00:55:40','Operating Expenses [OP-E[00000002]]',0),(11745,70,'AR20161000000002','Sales [ OR[00000002] ]','',NULL,2,'2016-10-14',NULL,10,2016,9900,9900,0,1,NULL,NULL,'2016-10-18 00:55:40','OR[00000002]',0);
/*!40000 ALTER TABLE `comp_journal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_journal_detail`
--

DROP TABLE IF EXISTS `comp_journal_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_journal_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT '0',
  `journalID` varchar(50) DEFAULT '0',
  `sequence` int(11) DEFAULT '0',
  `acctCode` int(11) DEFAULT '0',
  `projectID` int(11) DEFAULT '0',
  `description` varchar(200) DEFAULT '0',
  `amount_cr` double DEFAULT '0',
  `amount_dr` double DEFAULT '0',
  `currencyID` int(11) DEFAULT '0',
  `currency_amount` double DEFAULT '0',
  `exchange_rate` double DEFAULT '0',
  `enter_exchange_rate` double DEFAULT '0',
  `period` smallint(2) DEFAULT '0',
  `year` year(4) DEFAULT NULL,
  `formNo` varchar(50) DEFAULT NULL,
  `supplier` varchar(200) DEFAULT NULL,
  `line` int(11) DEFAULT NULL,
  `status` smallint(2) DEFAULT '0',
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`),
  KEY `journalID` (`journalID`),
  KEY `comp_acc_det` (`companyID`,`acctCode`,`period`,`year`,`status`,`is_delete`),
  KEY `acctCode` (`acctCode`)
) ENGINE=InnoDB AUTO_INCREMENT=51363 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_journal_detail`
--

LOCK TABLES `comp_journal_detail` WRITE;
/*!40000 ALTER TABLE `comp_journal_detail` DISABLE KEYS */;
INSERT INTO `comp_journal_detail` VALUES (46623,1,'AP20150100000005',1,32518,0,'Cogs 1st week -Jan',950,0,1,950,1,0,1,2015,'OP-C[00000277]',NULL,1,1,1,'2015-12-03 09:10:29',NULL,'2015-12-03 09:10:29',0,0),(46624,1,'AP20150100000005',2,32527,0,'Cogs 1st week -Jan',0,950,1,950,1,0,1,2015,'OP-C[00000277]',NULL,1,1,1,'2015-12-03 09:10:29',NULL,'2015-12-03 09:10:29',0,0),(46625,1,'AP20150100000006',1,32518,0,'Cogs 2nd week -Jan',880,0,1,880,1,0,1,2015,'OP-C[00000278]',NULL,1,1,1,'2015-12-03 09:10:49',NULL,'2015-12-03 09:10:49',0,0),(46626,1,'AP20150100000006',2,32527,0,'Cogs 2nd week -Jan',0,880,1,880,1,0,1,2015,'OP-C[00000278]',NULL,1,1,1,'2015-12-03 09:10:49',NULL,'2015-12-03 09:10:49',0,0),(46659,1,'AR20151000000003',1,32526,0,'Sales 3rt week - OCt',3015,0,1,3015,1,0,10,2015,'OR[00000042]','',NULL,1,1,'2015-12-03 09:24:59',NULL,'2015-12-03 09:24:59',0,0),(46660,1,'AR20151000000003',2,32518,0,'Sales 3rt week - OCt',0,3015,1,3015,1,0,10,2015,'OR[00000042]','',NULL,1,1,'2015-12-03 09:24:59',NULL,'2015-12-03 09:24:59',0,0),(46663,1,'AR20151000000005',1,32526,0,'Sales 5thweek - OCt',3200,0,1,3200,1,0,10,2015,'OR[00000044]','',NULL,1,1,'2015-12-03 09:25:53',NULL,'2015-12-03 09:25:53',0,0),(46664,1,'AR20151000000005',2,32518,0,'Sales 5thweek - OCt',0,3200,1,3200,1,0,10,2015,'OR[00000044]','',NULL,1,1,'2015-12-03 09:25:53',NULL,'2015-12-03 09:25:53',0,0),(46665,1,'AR20151100000064',1,32526,0,'Sales 1st week - Nov',3150,0,1,3150,1,0,11,2015,'OR[00000045]','',NULL,1,1,'2015-12-03 09:26:58',NULL,'2015-12-03 09:26:58',0,0),(46666,1,'AR20151100000064',2,32518,0,'Sales 1st week - Nov',0,3150,1,3150,1,0,11,2015,'OR[00000045]','',NULL,1,1,'2015-12-03 09:26:58',NULL,'2015-12-03 09:26:58',0,0),(46667,1,'AR20151100000065',1,32526,0,'Sales 2nd week - Nov',3220,0,1,3220,1,0,11,2015,'OR[00000046]','',NULL,1,1,'2015-12-03 09:27:24',NULL,'2015-12-03 09:27:24',0,0),(46668,1,'AR20151100000065',2,32518,0,'Sales 2nd week - Nov',0,3220,1,3220,1,0,11,2015,'OR[00000046]','',NULL,1,1,'2015-12-03 09:27:24',NULL,'2015-12-03 09:27:24',0,0),(46669,1,'AR20151100000066',1,32526,0,'Sales 3rd week - Nov',3300,0,1,3300,1,0,11,2015,'OR[00000047]','',NULL,1,1,'2015-12-03 09:27:47',NULL,'2015-12-03 09:27:47',0,0),(46670,1,'AR20151100000066',2,32518,0,'Sales 3rd week - Nov',0,3300,1,3300,1,0,11,2015,'OR[00000047]','',NULL,1,1,'2015-12-03 09:27:47',NULL,'2015-12-03 09:27:47',0,0),(46671,1,'AR20151100000067',1,32526,0,'Sales 4th week - Nov',3000,0,1,3000,1,0,11,2015,'OR[00000048]','',NULL,1,1,'2015-12-03 09:28:16',NULL,'2015-12-03 09:28:16',0,0),(46672,1,'AR20151100000067',2,32518,0,'Sales 4th week - Nov',0,3000,1,3000,1,0,11,2015,'OR[00000048]','',NULL,1,1,'2015-12-03 09:28:16',NULL,'2015-12-03 09:28:16',0,0),(46673,1,'AR20151200000013',1,32526,0,'Sales 1st week - Dec',3214,0,1,3214,1,0,12,2015,'OR[00000049]','',NULL,1,1,'2015-12-03 09:29:27',NULL,'2015-12-03 09:29:27',0,0),(46674,1,'AR20151200000013',2,32518,0,'Sales 1st week - Dec',0,3214,1,3214,1,0,12,2015,'OR[00000049]','',NULL,1,1,'2015-12-03 09:29:27',NULL,'2015-12-03 09:29:27',0,0),(46675,1,'AR20151200000014',1,32526,0,'Sales 2nd week - Dec',3368,0,1,3368,1,0,12,2015,'OR[00000050]','',NULL,1,1,'2015-12-03 09:30:10',NULL,'2015-12-03 09:30:11',0,0),(46676,1,'AR20151200000014',2,32518,0,'Sales 2nd week - Dec',0,3368,1,3368,1,0,12,2015,'OR[00000050]','',NULL,1,1,'2015-12-03 09:30:10',NULL,'2015-12-03 09:30:11',0,0),(46677,1,'AR20151200000015',1,32526,0,'Sales 3rd week - Dec',3123,0,1,3123,1,0,12,2015,'OR[00000051]','',NULL,1,1,'2015-12-03 09:30:39',NULL,'2015-12-03 09:30:39',0,0),(46678,1,'AR20151200000015',2,32518,0,'Sales 3rd week - Dec',0,3123,1,3123,1,0,12,2015,'OR[00000051]','',NULL,1,1,'2015-12-03 09:30:39',NULL,'2015-12-03 09:30:39',0,0),(46679,1,'AR20151200000016',1,32526,0,'Sales 4th week - Dec',3215,0,1,3215,1,0,12,2015,'OR[00000052]','',NULL,1,1,'2015-12-03 09:31:03',NULL,'2015-12-03 09:31:03',0,0),(46680,1,'AR20151200000016',2,32518,0,'Sales 4th week - Dec',0,3215,1,3215,1,0,12,2015,'OR[00000052]','',NULL,1,1,'2015-12-03 09:31:03',NULL,'2015-12-03 09:31:03',0,0),(46735,1,'AP20150100000020',1,32518,0,'Cogs 3rd week -Jan',850,0,1,850,1,0,1,2015,'OP-C[00000280]',NULL,1,1,1,'2015-12-04 02:00:50',NULL,'2015-12-04 02:00:50',0,0),(46736,1,'AP20150100000020',2,32527,0,'Cogs 3rd week -Jan',0,850,1,850,1,0,1,2015,'OP-C[00000280]',NULL,1,1,1,'2015-12-04 02:00:50',NULL,'2015-12-04 02:00:50',0,0),(46737,1,'AP20150100000021',1,32518,0,'Cogs 4th week -Jan',920,0,1,920,1,0,1,2015,'OP-C[00000281]',NULL,1,1,1,'2015-12-04 02:01:39',NULL,'2015-12-04 02:01:39',0,0),(46738,1,'AP20150100000021',2,32527,0,'Cogs 4th week -Jan',0,920,1,920,1,0,1,2015,'OP-C[00000281]',NULL,1,1,1,'2015-12-04 02:01:39',NULL,'2015-12-04 02:01:39',0,0),(46741,1,'AP20150100000022',1,32515,0,'tnb & water jan',890,0,1,890,1,0,1,2015,'OP-E[00000283]',NULL,1,1,1,'2015-12-04 02:06:26',NULL,'2015-12-04 02:06:26',0,0),(46742,1,'AP20150100000022',2,32533,0,'tnb & water jan',0,890,1,890,1,0,1,2015,'OP-E[00000283]',NULL,1,1,1,'2015-12-04 02:06:26',NULL,'2015-12-04 02:06:26',0,0),(46743,1,'AP20150100000023',1,32518,0,'Cogs 5th week -Jan',990,0,1,990,1,0,1,2015,'OP-C[00000284]',NULL,1,1,1,'2015-12-04 02:06:34',NULL,'2015-12-04 02:06:35',0,0),(46744,1,'AP20150100000023',2,32527,0,'Cogs 5th week -Jan',0,990,1,990,1,0,1,2015,'OP-C[00000284]',NULL,1,1,1,'2015-12-04 02:06:34',NULL,'2015-12-04 02:06:35',0,0),(46745,1,'AP20150200000007',1,32516,0,'tnb & water feb',971,0,1,971,1,0,2,2015,'OP-E[00000285]',NULL,1,1,1,'2015-12-04 02:07:17',NULL,'2015-12-04 02:07:17',0,0),(46746,1,'AP20150200000007',2,32533,0,'tnb & water feb',0,971,1,971,1,0,2,2015,'OP-E[00000285]',NULL,1,1,1,'2015-12-04 02:07:17',NULL,'2015-12-04 02:07:17',0,0),(46747,1,'AP20150200000008',1,32518,0,'Cogs 1st week -Feb',902,0,1,902,1,0,2,2015,'OP-C[00000286]',NULL,1,1,1,'2015-12-04 02:07:34',NULL,'2015-12-04 02:07:34',0,0),(46748,1,'AP20150200000008',2,32527,0,'Cogs 1st week -Feb',0,902,1,902,1,0,2,2015,'OP-C[00000286]',NULL,1,1,1,'2015-12-04 02:07:34',NULL,'2015-12-04 02:07:34',0,0),(46749,1,'AP20150200000009',1,32518,0,'Cogs 2nd week -Feb',893,0,1,893,1,0,2,2015,'OP-C[00000287]',NULL,1,1,1,'2015-12-04 02:08:13',NULL,'2015-12-04 02:08:13',0,0),(46750,1,'AP20150200000009',2,32527,0,'Cogs 2nd week -Feb',0,893,1,893,1,0,2,2015,'OP-C[00000287]',NULL,1,1,1,'2015-12-04 02:08:13',NULL,'2015-12-04 02:08:13',0,0),(46755,1,'AP150300000001',1,32516,0,'tnb & water mac',989,0,1,989,1,0,3,2015,'OP-E[00000290]',NULL,1,1,1,'2015-12-04 02:11:50',NULL,'2015-12-04 02:11:50',0,0),(46756,1,'AP150300000001',2,32533,0,'tnb & water mac',0,989,1,989,1,0,3,2015,'OP-E[00000290]',NULL,1,1,1,'2015-12-04 02:11:50',NULL,'2015-12-04 02:11:50',0,0),(46757,1,'AP20150400000004',1,32518,0,'tnb & water apr',870,0,1,870,1,0,4,2015,'OP-E[00000291]',NULL,1,1,1,'2015-12-04 02:12:27',NULL,'2015-12-04 02:12:27',0,0),(46758,1,'AP20150400000004',2,32533,0,'tnb & water apr',0,870,1,870,1,0,4,2015,'OP-E[00000291]',NULL,1,1,1,'2015-12-04 02:12:27',NULL,'2015-12-04 02:12:27',0,0),(46759,1,'AP150500000001',1,32516,0,'tnb & water may',990,0,1,990,1,0,5,2015,'OP-E[00000292]',NULL,1,1,1,'2015-12-04 02:12:58',NULL,'2015-12-04 02:12:59',0,0),(46760,1,'AP150500000001',2,32533,0,'tnb & water may',0,990,1,990,1,0,5,2015,'OP-E[00000292]',NULL,1,1,1,'2015-12-04 02:12:58',NULL,'2015-12-04 02:12:59',0,0),(46761,1,'AP20150600000005',1,32515,0,'tnb & water june',864,0,1,864,1,0,6,2015,'OP-E[00000293]',NULL,1,1,1,'2015-12-04 02:13:36',NULL,'2015-12-04 02:13:36',0,0),(46762,1,'AP20150600000005',2,32533,0,'tnb & water june',0,864,1,864,1,0,6,2015,'OP-E[00000293]',NULL,1,1,1,'2015-12-04 02:13:36',NULL,'2015-12-04 02:13:36',0,0),(46763,1,'AP20150200000011',1,32518,0,'Cogs 4th week -Feb',931,0,1,931,1,0,2,2015,'OP-C[00000294]',NULL,1,1,1,'2015-12-04 02:13:48',NULL,'2015-12-04 02:13:48',0,0),(46764,1,'AP20150200000011',2,32527,0,'Cogs 4th week -Feb',0,931,1,931,1,0,2,2015,'OP-C[00000294]',NULL,1,1,1,'2015-12-04 02:13:48',NULL,'2015-12-04 02:13:48',0,0),(46765,1,'AP20150300000002',1,32518,0,'Cogs 1st week -Mar',831,0,1,831,1,0,3,2015,'OP-C[00000295]',NULL,1,1,1,'2015-12-04 02:14:45',NULL,'2015-12-04 02:14:45',0,0),(46766,1,'AP20150300000002',2,32527,0,'Cogs 1st week -Mar',0,831,1,831,1,0,3,2015,'OP-C[00000295]',NULL,1,1,1,'2015-12-04 02:14:45',NULL,'2015-12-04 02:14:45',0,0),(46767,1,'AP150700000001',1,32517,0,'tnb & water july',988,0,1,988,1,0,7,2015,'OP-E[00000296]',NULL,1,1,1,'2015-12-04 02:15:16',NULL,'2015-12-04 02:15:16',0,0),(46768,1,'AP150700000001',2,32533,0,'tnb & water july',0,988,1,988,1,0,7,2015,'OP-E[00000296]',NULL,1,1,1,'2015-12-04 02:15:16',NULL,'2015-12-04 02:15:16',0,0),(46769,1,'AP20150300000003',1,32518,0,'Cogs 2nd week -Mar',999,0,1,999,1,0,3,2015,'OP-C[00000297]',NULL,1,1,1,'2015-12-04 02:15:24',NULL,'2015-12-04 02:15:24',0,0),(46770,1,'AP20150300000003',2,32527,0,'Cogs 2nd week -Mar',0,999,1,999,1,0,3,2015,'OP-C[00000297]',NULL,1,1,1,'2015-12-04 02:15:24',NULL,'2015-12-04 02:15:24',0,0),(46771,1,'AP20150300000004',1,32518,0,'Cogs 3rd week -Mar',867,0,1,867,1,0,3,2015,'OP-C[00000298]',NULL,1,1,1,'2015-12-04 02:15:56',NULL,'2015-12-04 02:15:56',0,0),(46772,1,'AP20150300000004',2,32527,0,'Cogs 3rd week -Mar',0,867,1,867,1,0,3,2015,'OP-C[00000298]',NULL,1,1,1,'2015-12-04 02:15:56',NULL,'2015-12-04 02:15:56',0,0),(46773,1,'AP150800000001',1,32517,0,'tnb & water aug',900,0,1,900,1,0,8,2015,'OP-E[00000299]',NULL,1,1,1,'2015-12-04 02:16:05',NULL,'2015-12-04 02:16:05',0,0),(46774,1,'AP150800000001',2,32533,0,'tnb & water aug',0,900,1,900,1,0,8,2015,'OP-E[00000299]',NULL,1,1,1,'2015-12-04 02:16:05',NULL,'2015-12-04 02:16:05',0,0),(46775,1,'AP20150300000005',1,32518,0,'Cogs 4th week -Mar',920,0,1,920,1,0,3,2015,'OP-C[00000300]',NULL,1,1,1,'2015-12-04 02:16:30',NULL,'2015-12-04 02:16:31',0,0),(46776,1,'AP20150300000005',2,32527,0,'Cogs 4th week -Mar',0,920,1,920,1,0,3,2015,'OP-C[00000300]',NULL,1,1,1,'2015-12-04 02:16:30',NULL,'2015-12-04 02:16:31',0,0),(46777,1,'AP150900000001',1,32517,0,'tnb & water sept',985,0,1,985,1,0,9,2015,'OP-E[00000301]',NULL,1,1,1,'2015-12-04 02:19:08',NULL,'2015-12-04 02:19:08',0,0),(46778,1,'AP150900000001',2,32533,0,'tnb & water sept',0,985,1,985,1,0,9,2015,'OP-E[00000301]',NULL,1,1,1,'2015-12-04 02:19:08',NULL,'2015-12-04 02:19:08',0,0),(46779,1,'AP20150400000005',1,32518,0,'Cogs 1st week -Apr',875,0,1,875,1,0,4,2015,'OP-C[00000302]',NULL,1,1,1,'2015-12-04 02:19:51',NULL,'2015-12-04 02:19:51',0,0),(46780,1,'AP20150400000005',2,32527,0,'Cogs 1st week -Apr',0,875,1,875,1,0,4,2015,'OP-C[00000302]',NULL,1,1,1,'2015-12-04 02:19:51',NULL,'2015-12-04 02:19:51',0,0),(46781,1,'AP20150400000006',1,32518,0,'Cogs 2nd week -Apr',964,0,1,964,1,0,4,2015,'OP-C[00000303]',NULL,1,1,1,'2015-12-04 02:20:40',NULL,'2015-12-04 02:20:40',0,0),(46782,1,'AP20150400000006',2,32527,0,'Cogs 2nd week -Apr',0,964,1,964,1,0,4,2015,'OP-C[00000303]',NULL,1,1,1,'2015-12-04 02:20:40',NULL,'2015-12-04 02:20:40',0,0),(46783,1,'AP20150400000007',1,32518,0,'Cogs 3rd week -Apr',937,0,1,937,1,0,4,2015,'OP-C[00000304]',NULL,1,1,1,'2015-12-04 02:21:11',NULL,'2015-12-04 02:21:11',0,0),(46784,1,'AP20150400000007',2,32527,0,'Cogs 3rd week -Apr',0,937,1,937,1,0,4,2015,'OP-C[00000304]',NULL,1,1,1,'2015-12-04 02:21:11',NULL,'2015-12-04 02:21:11',0,0),(46785,1,'AP20151000000005',1,32515,0,'tnb & water oct',843,0,1,843,1,0,10,2015,'OP-E[00000305]',NULL,1,1,1,'2015-12-04 02:21:19',NULL,'2015-12-04 02:21:20',0,0),(46786,1,'AP20151000000005',2,32533,0,'tnb & water oct',0,843,1,843,1,0,10,2015,'OP-E[00000305]',NULL,1,1,1,'2015-12-04 02:21:20',NULL,'2015-12-04 02:21:20',0,0),(46789,1,'AP20150400000008',1,32518,0,'Cogs 4th week -Apr',899,0,1,899,1,0,4,2015,'OP-C[00000306]',NULL,1,1,1,'2015-12-04 02:21:52',NULL,'2015-12-04 02:21:52',0,0),(46790,1,'AP20150400000008',2,32527,0,'Cogs 4th week -Apr',0,899,1,899,1,0,4,2015,'OP-C[00000306]',NULL,1,1,1,'2015-12-04 02:21:52',NULL,'2015-12-04 02:21:52',0,0),(46791,1,'AP20151100000287',1,32515,0,'tnb & water nov',975,0,1,975,1,0,11,2015,'OP-E[00000307]',NULL,1,1,1,'2015-12-04 02:22:00',NULL,'2015-12-04 02:22:00',0,0),(46792,1,'AP20151100000287',2,32533,0,'tnb & water nov',0,975,1,975,1,0,11,2015,'OP-E[00000307]',NULL,1,1,1,'2015-12-04 02:22:00',NULL,'2015-12-04 02:22:00',0,0),(46795,1,'AP20150500000002',1,32518,0,'Cogs 1st week -May',969,0,1,969,1,0,5,2015,'OP-C[00000309]',NULL,1,1,1,'2015-12-04 02:22:36',NULL,'2015-12-04 02:22:36',0,0),(46796,1,'AP20150500000002',2,32527,0,'Cogs 1st week -May',0,969,1,969,1,0,5,2015,'OP-C[00000309]',NULL,1,1,1,'2015-12-04 02:22:36',NULL,'2015-12-04 02:22:36',0,0),(46797,1,'AP20150100000024',1,32515,0,'petrol,parking, tol jan',988,0,1,988,1,0,1,2015,'OP-E[00000310]',NULL,1,1,1,'2015-12-04 02:31:18',NULL,'2015-12-04 02:31:19',0,0),(46798,1,'AP20150100000024',2,32541,0,'petrol,parking, tol jan',0,988,1,988,1,0,1,2015,'OP-E[00000310]',NULL,1,1,1,'2015-12-04 02:31:18',NULL,'2015-12-04 02:31:19',0,0),(46799,1,'AP20150200000012',1,32516,0,'petrol,parking, tol feb',867,0,1,867,1,0,2,2015,'OP-E[00000311]',NULL,1,1,1,'2015-12-04 02:31:53',NULL,'2015-12-04 02:31:53',0,0),(46800,1,'AP20150200000012',2,32541,0,'petrol,parking, tol feb',0,867,1,867,1,0,2,2015,'OP-E[00000311]',NULL,1,1,1,'2015-12-04 02:31:53',NULL,'2015-12-04 02:31:53',0,0),(46801,1,'AP20150300000006',1,32517,0,'petrol,parking, tol mac',978,0,1,978,1,0,3,2015,'OP-E[00000312]',NULL,1,1,1,'2015-12-04 02:32:28',NULL,'2015-12-04 02:32:28',0,0),(46802,1,'AP20150300000006',2,32541,0,'petrol,parking, tol mac',0,978,1,978,1,0,3,2015,'OP-E[00000312]',NULL,1,1,1,'2015-12-04 02:32:28',NULL,'2015-12-04 02:32:28',0,0),(46803,1,'AP20150400000009',1,32517,0,'petrol,parking, tol apr',995,0,1,995,1,0,4,2015,'OP-E[00000313]',NULL,1,1,1,'2015-12-04 02:33:13',NULL,'2015-12-04 02:33:13',0,0),(46804,1,'AP20150400000009',2,32541,0,'petrol,parking, tol apr',0,995,1,995,1,0,4,2015,'OP-E[00000313]',NULL,1,1,1,'2015-12-04 02:33:13',NULL,'2015-12-04 02:33:13',0,0),(46805,1,'AP20150500000003',1,32518,0,'Cogs 2nd week -May',909,0,1,909,1,0,5,2015,'OP-C[00000314]',NULL,1,1,1,'2015-12-04 02:33:42',NULL,'2015-12-04 02:33:42',0,0),(46806,1,'AP20150500000003',2,32527,0,'Cogs 2nd week -May',0,909,1,909,1,0,5,2015,'OP-C[00000314]',NULL,1,1,1,'2015-12-04 02:33:42',NULL,'2015-12-04 02:33:42',0,0),(46807,1,'AP20150500000004',1,32515,0,'petrol,parking, tol may',897,0,1,897,1,0,5,2015,'OP-E[00000315]',NULL,1,1,1,'2015-12-04 02:33:50',NULL,'2015-12-04 02:33:50',0,0),(46808,1,'AP20150500000004',2,32541,0,'petrol,parking, tol may',0,897,1,897,1,0,5,2015,'OP-E[00000315]',NULL,1,1,1,'2015-12-04 02:33:50',NULL,'2015-12-04 02:33:50',0,0),(46809,1,'AP20150500000005',1,32518,0,'Cogs 3rd week -May',901,0,1,901,1,0,5,2015,'OP-C[00000316]',NULL,1,1,1,'2015-12-04 02:34:14',NULL,'2015-12-04 02:34:14',0,0),(46810,1,'AP20150500000005',2,32527,0,'Cogs 3rd week -May',0,901,1,901,1,0,5,2015,'OP-C[00000316]',NULL,1,1,1,'2015-12-04 02:34:14',NULL,'2015-12-04 02:34:14',0,0),(46811,1,'AP20150600000006',1,32515,0,'petrol,parking, tol jun',855,0,1,855,1,0,6,2015,'OP-E[00000317]',NULL,1,1,1,'2015-12-04 02:34:27',NULL,'2015-12-04 02:34:27',0,0),(46812,1,'AP20150600000006',2,32541,0,'petrol,parking, tol jun',0,855,1,855,1,0,6,2015,'OP-E[00000317]',NULL,1,1,1,'2015-12-04 02:34:27',NULL,'2015-12-04 02:34:27',0,0),(46813,1,'AP20150500000006',1,32518,0,'Cogs 4th week -May',919,0,1,919,1,0,5,2015,'OP-C[00000318]',NULL,1,1,1,'2015-12-04 02:34:55',NULL,'2015-12-04 02:34:55',0,0),(46814,1,'AP20150500000006',2,32527,0,'Cogs 4th week -May',0,919,1,919,1,0,5,2015,'OP-C[00000318]',NULL,1,1,1,'2015-12-04 02:34:55',NULL,'2015-12-04 02:34:55',0,0),(46815,1,'AP20150700000002',1,32515,0,'petrol,parking, tol jul',859,0,1,859,1,0,7,2015,'OP-E[00000319]',NULL,1,1,1,'2015-12-04 02:34:56',NULL,'2015-12-04 02:34:56',0,0),(46816,1,'AP20150700000002',2,32541,0,'petrol,parking, tol jul',0,859,1,859,1,0,7,2015,'OP-E[00000319]',NULL,1,1,1,'2015-12-04 02:34:56',NULL,'2015-12-04 02:34:56',0,0),(46817,1,'AP20150800000002',1,32518,0,'petrol,parking, tol aug',978,0,1,978,1,0,8,2015,'OP-E[00000320]',NULL,1,1,1,'2015-12-04 02:35:34',NULL,'2015-12-04 02:35:34',0,0),(46818,1,'AP20150800000002',2,32541,0,'petrol,parking, tol aug',0,978,1,978,1,0,8,2015,'OP-E[00000320]',NULL,1,1,1,'2015-12-04 02:35:34',NULL,'2015-12-04 02:35:34',0,0),(46819,1,'AP20150900000002',1,32518,0,'petrol,parking, tol sept',958,0,1,958,1,0,9,2015,'OP-E[00000321]',NULL,1,1,1,'2015-12-04 02:37:12',NULL,'2015-12-04 02:37:12',0,0),(46820,1,'AP20150900000002',2,32541,0,'petrol,parking, tol sept',0,958,1,958,1,0,9,2015,'OP-E[00000321]',NULL,1,1,1,'2015-12-04 02:37:12',NULL,'2015-12-04 02:37:12',0,0),(46821,1,'AP20151000000006',1,32515,0,'petrol,parking, tol oct',987,0,1,987,1,0,10,2015,'OP-E[00000322]',NULL,1,1,1,'2015-12-04 02:37:59',NULL,'2015-12-04 02:38:00',0,0),(46822,1,'AP20151000000006',2,32541,0,'petrol,parking, tol oct',0,987,1,987,1,0,10,2015,'OP-E[00000322]',NULL,1,1,1,'2015-12-04 02:37:59',NULL,'2015-12-04 02:38:00',0,0),(46823,1,'AP20151100000288',1,32515,0,'petrol,parking, tol nov',985,0,1,985,1,0,11,2015,'OP-E[00000323]',NULL,1,1,1,'2015-12-04 02:38:57',NULL,'2015-12-04 02:38:57',0,0),(46824,1,'AP20151100000288',2,32541,0,'petrol,parking, tol nov',0,985,1,985,1,0,11,2015,'OP-E[00000323]',NULL,1,1,1,'2015-12-04 02:38:57',NULL,'2015-12-04 02:38:57',0,0),(46829,1,'AP20150100000025',1,32516,0,'rental of equipment jan',800,0,1,800,1,0,1,2015,'OP-E[00000326]',NULL,1,1,1,'2015-12-04 02:42:06',NULL,'2015-12-04 02:42:06',0,0),(46830,1,'AP20150100000025',2,32545,0,'rental of equipment jan',0,800,1,800,1,0,1,2015,'OP-E[00000326]',NULL,1,1,1,'2015-12-04 02:42:06',NULL,'2015-12-04 02:42:06',0,0),(46831,1,'AP20150200000013',1,32517,0,'rental of equipment feb',800,0,1,800,1,0,2,2015,'OP-E[00000327]',NULL,1,1,1,'2015-12-04 02:42:48',NULL,'2015-12-04 02:42:49',0,0),(46832,1,'AP20150200000013',2,32545,0,'rental of equipment feb',0,800,1,800,1,0,2,2015,'OP-E[00000327]',NULL,1,1,1,'2015-12-04 02:42:48',NULL,'2015-12-04 02:42:49',0,0),(46833,1,'AP20150300000007',1,32518,0,'rental of equipment mac',800,0,1,800,1,0,3,2015,'OP-E[00000328]',NULL,1,1,1,'2015-12-04 02:43:28',NULL,'2015-12-04 02:43:28',0,0),(46834,1,'AP20150300000007',2,32545,0,'rental of equipment mac',0,800,1,800,1,0,3,2015,'OP-E[00000328]',NULL,1,1,1,'2015-12-04 02:43:28',NULL,'2015-12-04 02:43:28',0,0),(46835,1,'AP20150400000010',1,32516,0,'rental of equipment apr',800,0,1,800,1,0,4,2015,'OP-E[00000329]',NULL,1,1,1,'2015-12-04 02:44:23',NULL,'2015-12-04 02:44:23',0,0),(46836,1,'AP20150400000010',2,32545,0,'rental of equipment apr',0,800,1,800,1,0,4,2015,'OP-E[00000329]',NULL,1,1,1,'2015-12-04 02:44:23',NULL,'2015-12-04 02:44:23',0,0),(46837,1,'AP20150500000007',1,32518,0,'Cogs 5th week -May',870,0,1,870,1,0,5,2015,'OP-C[00000330]',NULL,1,1,1,'2015-12-04 02:44:41',NULL,'2015-12-04 02:44:41',0,0),(46838,1,'AP20150500000007',2,32527,0,'Cogs 5th week -May',0,870,1,870,1,0,5,2015,'OP-C[00000330]',NULL,1,1,1,'2015-12-04 02:44:41',NULL,'2015-12-04 02:44:41',0,0),(46839,1,'AP20150500000008',1,32517,0,'rental of equipment may',800,0,1,800,1,0,5,2015,'OP-E[00000331]',NULL,1,1,1,'2015-12-04 02:44:59',NULL,'2015-12-04 02:44:59',0,0),(46840,1,'AP20150500000008',2,32545,0,'rental of equipment may',0,800,1,800,1,0,5,2015,'OP-E[00000331]',NULL,1,1,1,'2015-12-04 02:44:59',NULL,'2015-12-04 02:44:59',0,0),(46841,1,'AP20150600000007',1,32518,0,'Cogs 1st week -Jun',989,0,1,989,1,0,6,2015,'OP-C[00000332]',NULL,1,1,1,'2015-12-04 02:45:48',NULL,'2015-12-04 02:45:48',0,0),(46842,1,'AP20150600000007',2,32527,0,'Cogs 1st week -Jun',0,989,1,989,1,0,6,2015,'OP-C[00000332]',NULL,1,1,1,'2015-12-04 02:45:48',NULL,'2015-12-04 02:45:48',0,0),(46843,1,'AP20150600000008',1,32518,0,'rental of equipment jul',800,0,1,800,1,0,6,2015,'OP-E[00000333]',NULL,1,1,1,'2015-12-04 02:45:51',NULL,'2015-12-04 02:45:51',0,0),(46844,1,'AP20150600000008',2,32545,0,'rental of equipment jul',0,800,1,800,1,0,6,2015,'OP-E[00000333]',NULL,1,1,1,'2015-12-04 02:45:51',NULL,'2015-12-04 02:45:51',0,0),(46845,1,'AP20150600000009',1,32518,0,'Cogs 2nd week -Jun',877,0,1,877,1,0,6,2015,'OP-C[00000334]',NULL,1,1,1,'2015-12-04 02:46:21',NULL,'2015-12-04 02:46:21',0,0),(46846,1,'AP20150600000009',2,32527,0,'Cogs 2nd week -Jun',0,877,1,877,1,0,6,2015,'OP-C[00000334]',NULL,1,1,1,'2015-12-04 02:46:21',NULL,'2015-12-04 02:46:21',0,0),(46847,1,'AP20150700000003',1,32517,0,'rental of equipment jul',800,0,1,800,1,0,7,2015,'OP-E[00000335]',NULL,1,1,1,'2015-12-04 02:46:29',NULL,'2015-12-04 02:46:29',0,0),(46848,1,'AP20150700000003',2,32545,0,'rental of equipment jul',0,800,1,800,1,0,7,2015,'OP-E[00000335]',NULL,1,1,1,'2015-12-04 02:46:29',NULL,'2015-12-04 02:46:29',0,0),(46849,1,'AP20150600000010',1,32518,0,'Cogs 3rd week -Jun',932,0,1,932,1,0,6,2015,'OP-C[00000336]',NULL,1,1,1,'2015-12-04 02:46:49',NULL,'2015-12-04 02:46:49',0,0),(46850,1,'AP20150600000010',2,32527,0,'Cogs 3rd week -Jun',0,932,1,932,1,0,6,2015,'OP-C[00000336]',NULL,1,1,1,'2015-12-04 02:46:49',NULL,'2015-12-04 02:46:49',0,0),(46851,1,'AP20150800000003',1,32517,0,'rental of equipment aug',800,0,1,800,1,0,8,2015,'OP-E[00000337]',NULL,1,1,1,'2015-12-04 02:47:39',NULL,'2015-12-04 02:47:40',0,0),(46852,1,'AP20150800000003',2,32545,0,'rental of equipment aug',0,800,1,800,1,0,8,2015,'OP-E[00000337]',NULL,1,1,1,'2015-12-04 02:47:39',NULL,'2015-12-04 02:47:40',0,0),(46853,1,'AP20150900000003',1,32517,0,'rental of equipment sept',800,0,1,800,1,0,9,2015,'OP-E[00000338]',NULL,1,1,1,'2015-12-04 02:48:09',NULL,'2015-12-04 02:48:09',0,0),(46854,1,'AP20150900000003',2,32545,0,'rental of equipment sept',0,800,1,800,1,0,9,2015,'OP-E[00000338]',NULL,1,1,1,'2015-12-04 02:48:09',NULL,'2015-12-04 02:48:09',0,0),(46855,1,'AP20150600000011',1,32518,0,'Cogs 4th week -Jun',856,0,1,856,1,0,6,2015,'OP-C[00000339]',NULL,1,1,1,'2015-12-04 02:48:10',NULL,'2015-12-04 02:48:10',0,0),(46856,1,'AP20150600000011',2,32527,0,'Cogs 4th week -Jun',0,856,1,856,1,0,6,2015,'OP-C[00000339]',NULL,1,1,1,'2015-12-04 02:48:10',NULL,'2015-12-04 02:48:10',0,0),(46857,1,'AP20151000000007',1,32517,0,'rental of equipment oct',800,0,1,800,1,0,10,2015,'OP-E[00000340]',NULL,1,1,1,'2015-12-04 02:48:53',NULL,'2015-12-04 02:48:53',0,0),(46858,1,'AP20151000000007',2,32545,0,'rental of equipment oct',0,800,1,800,1,0,10,2015,'OP-E[00000340]',NULL,1,1,1,'2015-12-04 02:48:53',NULL,'2015-12-04 02:48:53',0,0),(46859,1,'AP20151100000289',1,32516,0,'rental of equipment nov',800,0,1,800,1,0,11,2015,'OP-E[00000341]',NULL,1,1,1,'2015-12-04 02:49:36',NULL,'2015-12-04 02:49:37',0,0),(46860,1,'AP20151100000289',2,32545,0,'rental of equipment nov',0,800,1,800,1,0,11,2015,'OP-E[00000341]',NULL,1,1,1,'2015-12-04 02:49:37',NULL,'2015-12-04 02:49:37',0,0),(46865,1,'AP20150100000026',1,32515,0,'rental of office jan',950,0,1,950,1,0,1,2015,'OP-E[00000344]',NULL,1,1,1,'2015-12-04 02:51:24',NULL,'2015-12-04 02:51:24',0,0),(46866,1,'AP20150100000026',2,32546,0,'rental of office jan',0,950,1,950,1,0,1,2015,'OP-E[00000344]',NULL,1,1,1,'2015-12-04 02:51:24',NULL,'2015-12-04 02:51:24',0,0),(46867,1,'AP20150200000014',1,32517,0,'rental of office feb',950,0,1,950,1,0,2,2015,'OP-E[00000345]',NULL,1,1,1,'2015-12-04 02:52:01',NULL,'2015-12-04 02:52:01',0,0),(46868,1,'AP20150200000014',2,32546,0,'rental of office feb',0,950,1,950,1,0,2,2015,'OP-E[00000345]',NULL,1,1,1,'2015-12-04 02:52:01',NULL,'2015-12-04 02:52:01',0,0),(46869,1,'AP20150300000008',1,32516,0,'rental of office mac',950,0,1,950,1,0,3,2015,'OP-E[00000346]',NULL,1,1,1,'2015-12-04 02:52:54',NULL,'2015-12-04 02:52:54',0,0),(46870,1,'AP20150300000008',2,32546,0,'rental of office mac',0,950,1,950,1,0,3,2015,'OP-E[00000346]',NULL,1,1,1,'2015-12-04 02:52:54',NULL,'2015-12-04 02:52:54',0,0),(46871,1,'AP20150400000011',1,32517,0,'rental of office apr',950,0,1,950,1,0,4,2015,'OP-E[00000347]',NULL,1,1,1,'2015-12-04 02:53:30',NULL,'2015-12-04 02:53:30',0,0),(46872,1,'AP20150400000011',2,32546,0,'rental of office apr',0,950,1,950,1,0,4,2015,'OP-E[00000347]',NULL,1,1,1,'2015-12-04 02:53:30',NULL,'2015-12-04 02:53:30',0,0),(46873,1,'AP20150700000004',1,32518,0,'Cogs 1st week -Jul',879,0,1,879,1,0,7,2015,'OP-C[00000348]',NULL,1,1,1,'2015-12-04 02:53:40',NULL,'2015-12-04 02:53:40',0,0),(46874,1,'AP20150700000004',2,32527,0,'Cogs 1st week -Jul',0,879,1,879,1,0,7,2015,'OP-C[00000348]',NULL,1,1,1,'2015-12-04 02:53:40',NULL,'2015-12-04 02:53:40',0,0),(46875,1,'AP20150500000009',1,32516,0,'rental of office may',950,0,1,950,1,0,5,2015,'OP-E[00000349]',NULL,1,1,1,'2015-12-04 02:54:22',NULL,'2015-12-04 02:54:22',0,0),(46876,1,'AP20150500000009',2,32546,0,'rental of office may',0,950,1,950,1,0,5,2015,'OP-E[00000349]',NULL,1,1,1,'2015-12-04 02:54:22',NULL,'2015-12-04 02:54:22',0,0),(46877,1,'AP20150700000005',1,32518,0,'Cogs 2nd week -Jul',905,0,1,905,1,0,7,2015,'OP-C[00000350]',NULL,1,1,1,'2015-12-04 02:54:41',NULL,'2015-12-04 02:54:41',0,0),(46878,1,'AP20150700000005',2,32527,0,'Cogs 2nd week -Jul',0,905,1,905,1,0,7,2015,'OP-C[00000350]',NULL,1,1,1,'2015-12-04 02:54:41',NULL,'2015-12-04 02:54:41',0,0),(46879,1,'AP20150600000012',1,32517,0,'rental of office june',950,0,1,950,1,0,6,2015,'OP-E[00000351]',NULL,1,1,1,'2015-12-04 02:58:44',NULL,'2015-12-04 02:58:44',0,0),(46880,1,'AP20150600000012',2,32546,0,'rental of office june',0,950,1,950,1,0,6,2015,'OP-E[00000351]',NULL,1,1,1,'2015-12-04 02:58:44',NULL,'2015-12-04 02:58:44',0,0),(46881,1,'AP20150700000006',1,32518,0,'Cogs 3rd week -Jul',915,0,1,915,1,0,7,2015,'OP-C[00000352]',NULL,1,1,1,'2015-12-04 02:59:28',NULL,'2015-12-04 02:59:28',0,0),(46882,1,'AP20150700000006',2,32527,0,'Cogs 3rd week -Jul',0,915,1,915,1,0,7,2015,'OP-C[00000352]',NULL,1,1,1,'2015-12-04 02:59:28',NULL,'2015-12-04 02:59:28',0,0),(46883,1,'AP20150700000007',1,32518,0,'Cogs 4th week -Jul',929,0,1,929,1,0,7,2015,'OP-C[00000353]',NULL,1,1,1,'2015-12-04 03:00:06',NULL,'2015-12-04 03:00:06',0,0),(46884,1,'AP20150700000007',2,32527,0,'Cogs 4th week -Jul',0,929,1,929,1,0,7,2015,'OP-C[00000353]',NULL,1,1,1,'2015-12-04 03:00:06',NULL,'2015-12-04 03:00:06',0,0),(46887,1,'AP20150800000004',1,32518,0,'Cogs 1st week -Aug',833,0,1,833,1,0,8,2015,'OP-C[00000354]',NULL,1,1,1,'2015-12-04 03:09:17',NULL,'2015-12-04 03:09:17',0,0),(46888,1,'AP20150800000004',2,32527,0,'Cogs 1st week -Aug',0,833,1,833,1,0,8,2015,'OP-C[00000354]',NULL,1,1,1,'2015-12-04 03:09:17',NULL,'2015-12-04 03:09:17',0,0),(46889,1,'AP20150800000005',1,32518,0,'Cogs 2nd week -Aug',843,0,1,843,1,0,8,2015,'OP-C[00000355]',NULL,1,1,1,'2015-12-04 03:14:03',NULL,'2015-12-04 03:14:03',0,0),(46890,1,'AP20150800000005',2,32527,0,'Cogs 2nd week -Aug',0,843,1,843,1,0,8,2015,'OP-C[00000355]',NULL,1,1,1,'2015-12-04 03:14:03',NULL,'2015-12-04 03:14:03',0,0),(46891,1,'AP20150800000006',1,32518,0,'Cogs 3rd week -Aug',979,0,1,979,1,0,8,2015,'OP-C[00000356]',NULL,1,1,1,'2015-12-04 03:15:03',NULL,'2015-12-04 03:15:03',0,0),(46892,1,'AP20150800000006',2,32527,0,'Cogs 3rd week -Aug',0,979,1,979,1,0,8,2015,'OP-C[00000356]',NULL,1,1,1,'2015-12-04 03:15:03',NULL,'2015-12-04 03:15:03',0,0),(46893,1,'AP20150800000007',1,32518,0,'Cogs 4th week -Aug',967,0,1,967,1,0,8,2015,'OP-C[00000357]',NULL,1,1,1,'2015-12-04 03:15:38',NULL,'2015-12-04 03:15:38',0,0),(46894,1,'AP20150800000007',2,32527,0,'Cogs 4th week -Aug',0,967,1,967,1,0,8,2015,'OP-C[00000357]',NULL,1,1,1,'2015-12-04 03:15:38',NULL,'2015-12-04 03:15:38',0,0),(46897,1,'AP20150700000008',1,32516,0,'rental of office jul',950,0,1,950,1,0,7,2015,'OP-E[00000359]',NULL,1,1,1,'2015-12-04 03:18:01',NULL,'2015-12-04 03:18:01',0,0),(46898,1,'AP20150700000008',2,32546,0,'rental of office jul',0,950,1,950,1,0,7,2015,'OP-E[00000359]',NULL,1,1,1,'2015-12-04 03:18:01',NULL,'2015-12-04 03:18:01',0,0),(46899,1,'AP20150800000008',1,32516,0,'rental of office aug',950,0,1,950,1,0,8,2015,'OP-E[00000360]',NULL,1,1,1,'2015-12-04 03:19:07',NULL,'2015-12-04 03:19:07',0,0),(46900,1,'AP20150800000008',2,32546,0,'rental of office aug',0,950,1,950,1,0,8,2015,'OP-E[00000360]',NULL,1,1,1,'2015-12-04 03:19:07',NULL,'2015-12-04 03:19:07',0,0),(46901,1,'AP20150900000004',1,32517,0,'rental of office sept',950,0,1,950,1,0,9,2015,'OP-E[00000361]',NULL,1,1,1,'2015-12-04 03:20:08',NULL,'2015-12-04 03:20:08',0,0),(46902,1,'AP20150900000004',2,32546,0,'rental of office sept',0,950,1,950,1,0,9,2015,'OP-E[00000361]',NULL,1,1,1,'2015-12-04 03:20:08',NULL,'2015-12-04 03:20:08',0,0),(46903,1,'AP20151000000008',1,32517,0,'rental of office oct',950,0,1,950,1,0,10,2015,'OP-E[00000362]',NULL,1,1,1,'2015-12-04 03:22:46',NULL,'2015-12-04 03:22:46',0,0),(46904,1,'AP20151000000008',2,32546,0,'rental of office oct',0,950,1,950,1,0,10,2015,'OP-E[00000362]',NULL,1,1,1,'2015-12-04 03:22:46',NULL,'2015-12-04 03:22:46',0,0),(46905,1,'AP20151100000290',1,32517,0,'rental of office nov',950,0,1,950,1,0,11,2015,'OP-E[00000363]',NULL,1,1,1,'2015-12-04 03:23:29',NULL,'2015-12-04 03:23:29',0,0),(46906,1,'AP20151100000290',2,32546,0,'rental of office nov',0,950,1,950,1,0,11,2015,'OP-E[00000363]',NULL,1,1,1,'2015-12-04 03:23:29',NULL,'2015-12-04 03:23:29',0,0),(46907,1,'AP20151200000127',1,32517,0,'rental of office dec',950,0,1,950,1,0,12,2015,'OP-E[00000364]',NULL,1,1,1,'2015-12-04 03:24:48',NULL,'2015-12-04 03:24:49',0,0),(46908,1,'AP20151200000127',2,32546,0,'rental of office dec',0,950,1,950,1,0,12,2015,'OP-E[00000364]',NULL,1,1,1,'2015-12-04 03:24:48',NULL,'2015-12-04 03:24:49',0,0),(46913,1,'AP20150800000009',1,32518,0,'Cogs 5th week -Aug',933,0,1,933,1,0,8,2015,'OP-C[00000365]',NULL,1,1,1,'2015-12-04 03:40:49',NULL,'2015-12-04 03:40:50',0,0),(46914,1,'AP20150800000009',2,32527,0,'Cogs 5th week -Aug',0,933,1,933,1,0,8,2015,'OP-C[00000365]',NULL,1,1,1,'2015-12-04 03:40:49',NULL,'2015-12-04 03:40:50',0,0),(46915,1,'AP20150900000005',1,32518,0,'Cogs 1st week -Sep',999,0,1,999,1,0,9,2015,'OP-C[00000366]',NULL,1,1,1,'2015-12-04 03:41:26',NULL,'2015-12-04 03:41:26',0,0),(46916,1,'AP20150900000005',2,32527,0,'Cogs 1st week -Sep',0,999,1,999,1,0,9,2015,'OP-C[00000366]',NULL,1,1,1,'2015-12-04 03:41:26',NULL,'2015-12-04 03:41:26',0,0),(46917,1,'AP20150900000006',1,32518,0,'Cogs 2nd week -Sep',869,0,1,869,1,0,9,2015,'OP-C[00000367]',NULL,1,1,1,'2015-12-04 03:42:18',NULL,'2015-12-04 03:42:18',0,0),(46918,1,'AP20150900000006',2,32527,0,'Cogs 2nd week -Sep',0,869,1,869,1,0,9,2015,'OP-C[00000367]',NULL,1,1,1,'2015-12-04 03:42:18',NULL,'2015-12-04 03:42:18',0,0),(46919,1,'AP20150900000007',1,32518,0,'Cogs 3rd week -Sep',849,0,1,849,1,0,9,2015,'OP-C[00000368]',NULL,1,1,1,'2015-12-04 03:42:56',NULL,'2015-12-04 03:42:56',0,0),(46920,1,'AP20150900000007',2,32527,0,'Cogs 3rd week -Sep',0,849,1,849,1,0,9,2015,'OP-C[00000368]',NULL,1,1,1,'2015-12-04 03:42:56',NULL,'2015-12-04 03:42:56',0,0),(46921,1,'AP20150700000009',1,32518,0,'rental of store jul',850,0,1,850,1,0,7,2015,'OP-E[00000369]',NULL,1,1,1,'2015-12-04 03:42:59',NULL,'2015-12-04 03:42:59',0,0),(46922,1,'AP20150700000009',2,32547,0,'rental of store jul',0,850,1,850,1,0,7,2015,'OP-E[00000369]',NULL,1,1,1,'2015-12-04 03:42:59',NULL,'2015-12-04 03:42:59',0,0),(46923,1,'AP20150800000010',1,32517,0,'rental of store aug',850,0,1,850,1,0,8,2015,'OP-E[00000370]',NULL,1,1,1,'2015-12-04 03:43:36',NULL,'2015-12-04 03:43:36',0,0),(46924,1,'AP20150800000010',2,32547,0,'rental of store aug',0,850,1,850,1,0,8,2015,'OP-E[00000370]',NULL,1,1,1,'2015-12-04 03:43:36',NULL,'2015-12-04 03:43:36',0,0),(46925,1,'AP20150900000008',1,32518,0,'Cogs 4th week -Sep',839,0,1,839,1,0,9,2015,'OP-C[00000371]',NULL,1,1,1,'2015-12-04 03:43:47',NULL,'2015-12-04 03:43:47',0,0),(46926,1,'AP20150900000008',2,32527,0,'Cogs 4th week -Sep',0,839,1,839,1,0,9,2015,'OP-C[00000371]',NULL,1,1,1,'2015-12-04 03:43:47',NULL,'2015-12-04 03:43:47',0,0),(46927,1,'AP20150900000009',1,32516,0,'rental of store sept',850,0,1,850,1,0,9,2015,'OP-E[00000372]',NULL,1,1,1,'2015-12-04 03:44:27',NULL,'2015-12-04 03:44:28',0,0),(46928,1,'AP20150900000009',2,32547,0,'rental of store sept',0,850,1,850,1,0,9,2015,'OP-E[00000372]',NULL,1,1,1,'2015-12-04 03:44:28',NULL,'2015-12-04 03:44:28',0,0),(46929,1,'AP20151000000009',1,32518,0,'Cogs 1st week -Oct',859,0,1,859,1,0,10,2015,'OP-C[00000373]',NULL,1,1,1,'2015-12-04 03:44:29',NULL,'2015-12-04 03:44:29',0,0),(46930,1,'AP20151000000009',2,32527,0,'Cogs 1st week -Oct',0,859,1,859,1,0,10,2015,'OP-C[00000373]',NULL,1,1,1,'2015-12-04 03:44:29',NULL,'2015-12-04 03:44:29',0,0),(46931,1,'AP20151000000010',1,32517,0,'rental of store oct',850,0,1,850,1,0,10,2015,'OP-E[00000374]',NULL,1,1,1,'2015-12-04 03:44:59',NULL,'2015-12-04 03:44:59',0,0),(46932,1,'AP20151000000010',2,32547,0,'rental of store oct',0,850,1,850,1,0,10,2015,'OP-E[00000374]',NULL,1,1,1,'2015-12-04 03:44:59',NULL,'2015-12-04 03:44:59',0,0),(46933,1,'AP20151100000291',1,32517,0,'rental of store nov',850,0,1,850,1,0,11,2015,'OP-E[00000375]',NULL,1,1,1,'2015-12-04 03:45:33',NULL,'2015-12-04 03:45:33',0,0),(46934,1,'AP20151100000291',2,32547,0,'rental of store nov',0,850,1,850,1,0,11,2015,'OP-E[00000375]',NULL,1,1,1,'2015-12-04 03:45:33',NULL,'2015-12-04 03:45:33',0,0),(46935,1,'AP20151200000130',1,32515,0,'rental of store dec',850,0,1,850,1,0,12,2015,'OP-E[00000376]',NULL,1,1,1,'2015-12-04 03:46:10',NULL,'2015-12-04 03:46:11',0,0),(46936,1,'AP20151200000130',2,32547,0,'rental of store dec',0,850,1,850,1,0,12,2015,'OP-E[00000376]',NULL,1,1,1,'2015-12-04 03:46:10',NULL,'2015-12-04 03:46:11',0,0),(46937,1,'AP20150100000027',1,32516,0,'maxis jan',975,0,1,975,1,0,1,2015,'OP-E[00000377]',NULL,1,1,1,'2015-12-04 03:48:14',NULL,'2015-12-04 03:48:14',0,0),(46938,1,'AP20150100000027',2,32550,0,'maxis jan',0,975,1,975,1,0,1,2015,'OP-E[00000377]',NULL,1,1,1,'2015-12-04 03:48:14',NULL,'2015-12-04 03:48:14',0,0),(46939,1,'AP20150200000015',1,32516,0,'maxis feb',865,0,1,865,1,0,2,2015,'OP-E[00000378]',NULL,1,1,1,'2015-12-04 03:48:59',NULL,'2015-12-04 03:48:59',0,0),(46940,1,'AP20150200000015',2,32550,0,'maxis feb',0,865,1,865,1,0,2,2015,'OP-E[00000378]',NULL,1,1,1,'2015-12-04 03:48:59',NULL,'2015-12-04 03:48:59',0,0),(46941,1,'AP20150300000009',1,32516,0,'maxis mac',995,0,1,995,1,0,3,2015,'OP-E[00000379]',NULL,1,1,1,'2015-12-04 03:49:50',NULL,'2015-12-04 03:49:50',0,0),(46942,1,'AP20150300000009',2,32550,0,'maxis mac',0,995,1,995,1,0,3,2015,'OP-E[00000379]',NULL,1,1,1,'2015-12-04 03:49:50',NULL,'2015-12-04 03:49:50',0,0),(46943,1,'AP20150400000012',1,32517,0,'maxis apr',840,0,1,840,1,0,4,2015,'OP-E[00000380]',NULL,1,1,1,'2015-12-04 03:50:44',NULL,'2015-12-04 03:50:44',0,0),(46944,1,'AP20150400000012',2,32550,0,'maxis apr',0,840,1,840,1,0,4,2015,'OP-E[00000380]',NULL,1,1,1,'2015-12-04 03:50:44',NULL,'2015-12-04 03:50:44',0,0),(46945,1,'AP20150500000010',1,32518,0,'maxis may',988,0,1,988,1,0,5,2015,'OP-E[00000381]',NULL,1,1,1,'2015-12-04 03:53:24',NULL,'2015-12-04 03:53:25',0,0),(46946,1,'AP20150500000010',2,32550,0,'maxis may',0,988,1,988,1,0,5,2015,'OP-E[00000381]',NULL,1,1,1,'2015-12-04 03:53:25',NULL,'2015-12-04 03:53:25',0,0),(46947,1,'AP20150600000013',1,32517,0,'maxis june',855,0,1,855,1,0,6,2015,'OP-E[00000382]',NULL,1,1,1,'2015-12-04 03:53:59',NULL,'2015-12-04 03:53:59',0,0),(46948,1,'AP20150600000013',2,32550,0,'maxis june',0,855,1,855,1,0,6,2015,'OP-E[00000382]',NULL,1,1,1,'2015-12-04 03:53:59',NULL,'2015-12-04 03:53:59',0,0),(46949,1,'AP20150700000010',1,32517,0,'maxis jul',972,0,1,972,1,0,7,2015,'OP-E[00000383]',NULL,1,1,1,'2015-12-04 03:54:34',NULL,'2015-12-04 03:54:34',0,0),(46950,1,'AP20150700000010',2,32550,0,'maxis jul',0,972,1,972,1,0,7,2015,'OP-E[00000383]',NULL,1,1,1,'2015-12-04 03:54:34',NULL,'2015-12-04 03:54:34',0,0),(46951,1,'AP20150800000011',1,32518,0,'maxis aug',990,0,1,990,1,0,8,2015,'OP-E[00000384]',NULL,1,1,1,'2015-12-04 03:55:06',NULL,'2015-12-04 03:55:06',0,0),(46952,1,'AP20150800000011',2,32550,0,'maxis aug',0,990,1,990,1,0,8,2015,'OP-E[00000384]',NULL,1,1,1,'2015-12-04 03:55:06',NULL,'2015-12-04 03:55:06',0,0),(46953,1,'AP20150900000010',1,32517,0,'maxis sept',865,0,1,865,1,0,9,2015,'OP-E[00000385]',NULL,1,1,1,'2015-12-04 03:55:51',NULL,'2015-12-04 03:55:51',0,0),(46954,1,'AP20150900000010',2,32550,0,'maxis sept',0,865,1,865,1,0,9,2015,'OP-E[00000385]',NULL,1,1,1,'2015-12-04 03:55:51',NULL,'2015-12-04 03:55:51',0,0),(46955,1,'AP20151000000011',1,32516,0,'maxis oct',840,0,1,840,1,0,10,2015,'OP-E[00000386]',NULL,1,1,1,'2015-12-04 03:56:40',NULL,'2015-12-04 03:56:40',0,0),(46956,1,'AP20151000000011',2,32550,0,'maxis oct',0,840,1,840,1,0,10,2015,'OP-E[00000386]',NULL,1,1,1,'2015-12-04 03:56:40',NULL,'2015-12-04 03:56:40',0,0),(46959,1,'AP20151100000292',1,32518,0,'maxis nov',858,0,1,858,1,0,11,2015,'OP-E[00000388]',NULL,1,1,1,'2015-12-04 03:57:08',NULL,'2015-12-04 03:57:08',0,0),(46960,1,'AP20151100000292',2,32550,0,'maxis nov',0,858,1,858,1,0,11,2015,'OP-E[00000388]',NULL,1,1,1,'2015-12-04 03:57:08',NULL,'2015-12-04 03:57:08',0,0),(46963,1,'AP20150100000028',1,32517,0,'salary jan',1000,0,1,1000,1,0,1,2015,'OP-E[00000390]',NULL,1,1,1,'2015-12-04 04:02:08',NULL,'2015-12-04 04:02:08',0,0),(46964,1,'AP20150100000028',2,32552,0,'salary jan',0,1000,1,1000,1,0,1,2015,'OP-E[00000390]',NULL,1,1,1,'2015-12-04 04:02:08',NULL,'2015-12-04 04:02:08',0,0),(46965,1,'AP20150200000016',1,32517,0,'salary feb',1000,0,1,1000,1,0,2,2015,'OP-E[00000391]',NULL,1,1,1,'2015-12-04 04:02:53',NULL,'2015-12-04 04:02:53',0,0),(46966,1,'AP20150200000016',2,32552,0,'salary feb',0,1000,1,1000,1,0,2,2015,'OP-E[00000391]',NULL,1,1,1,'2015-12-04 04:02:53',NULL,'2015-12-04 04:02:53',0,0),(46967,1,'AP20150300000010',1,32516,0,'salary mac',1000,0,1,1000,1,0,3,2015,'OP-E[00000392]',NULL,1,1,1,'2015-12-04 04:03:23',NULL,'2015-12-04 04:03:23',0,0),(46968,1,'AP20150300000010',2,32552,0,'salary mac',0,1000,1,1000,1,0,3,2015,'OP-E[00000392]',NULL,1,1,1,'2015-12-04 04:03:23',NULL,'2015-12-04 04:03:23',0,0),(46971,1,'AP20150400000013',1,32516,0,'salary apr',1000,0,1,1000,1,0,4,2015,'OP-E[00000394]',NULL,1,1,1,'2015-12-04 04:04:02',NULL,'2015-12-04 04:04:02',0,0),(46972,1,'AP20150400000013',2,32552,0,'salary apr',0,1000,1,1000,1,0,4,2015,'OP-E[00000394]',NULL,1,1,1,'2015-12-04 04:04:02',NULL,'2015-12-04 04:04:02',0,0),(46973,1,'AP20150500000011',1,32517,0,'salary may',1000,0,1,1000,1,0,5,2015,'OP-E[00000395]',NULL,1,1,1,'2015-12-04 04:04:36',NULL,'2015-12-04 04:04:36',0,0),(46974,1,'AP20150500000011',2,32552,0,'salary may',0,1000,1,1000,1,0,5,2015,'OP-E[00000395]',NULL,1,1,1,'2015-12-04 04:04:36',NULL,'2015-12-04 04:04:36',0,0),(46975,1,'AP20150600000014',1,32516,0,'salary june',1000,0,1,1000,1,0,6,2015,'OP-E[00000396]',NULL,1,1,1,'2015-12-04 04:05:36',NULL,'2015-12-04 04:05:36',0,0),(46976,1,'AP20150600000014',2,32552,0,'salary june',0,1000,1,1000,1,0,6,2015,'OP-E[00000396]',NULL,1,1,1,'2015-12-04 04:05:36',NULL,'2015-12-04 04:05:36',0,0),(46977,1,'AP20150700000011',1,32517,0,'salary july',1000,0,1,1000,1,0,7,2015,'OP-E[00000397]',NULL,1,1,1,'2015-12-04 04:06:10',NULL,'2015-12-04 04:06:10',0,0),(46978,1,'AP20150700000011',2,32552,0,'salary july',0,1000,1,1000,1,0,7,2015,'OP-E[00000397]',NULL,1,1,1,'2015-12-04 04:06:10',NULL,'2015-12-04 04:06:10',0,0),(46979,1,'AP20150800000012',1,32517,0,'salary aug',1000,0,1,1000,1,0,8,2015,'OP-E[00000398]',NULL,1,1,1,'2015-12-04 04:06:46',NULL,'2015-12-04 04:06:46',0,0),(46980,1,'AP20150800000012',2,32552,0,'salary aug',0,1000,1,1000,1,0,8,2015,'OP-E[00000398]',NULL,1,1,1,'2015-12-04 04:06:46',NULL,'2015-12-04 04:06:46',0,0),(46981,1,'AP20150900000011',1,32518,0,'salary sept',1000,0,1,1000,1,0,9,2015,'OP-E[00000399]',NULL,1,1,1,'2015-12-04 04:07:17',NULL,'2015-12-04 04:07:17',0,0),(46982,1,'AP20150900000011',2,32552,0,'salary sept',0,1000,1,1000,1,0,9,2015,'OP-E[00000399]',NULL,1,1,1,'2015-12-04 04:07:17',NULL,'2015-12-04 04:07:17',0,0),(46983,1,'AP20151000000012',1,32517,0,'salary oct',1000,0,1,1000,1,0,10,2015,'OP-E[00000400]',NULL,1,1,1,'2015-12-04 04:08:04',NULL,'2015-12-04 04:08:04',0,0),(46984,1,'AP20151000000012',2,32552,0,'salary oct',0,1000,1,1000,1,0,10,2015,'OP-E[00000400]',NULL,1,1,1,'2015-12-04 04:08:04',NULL,'2015-12-04 04:08:04',0,0),(46985,1,'AP20151100000293',1,32517,0,'salary nov',1000,0,1,1000,1,0,11,2015,'OP-E[00000401]',NULL,1,1,1,'2015-12-04 04:08:36',NULL,'2015-12-04 04:08:36',0,0),(46986,1,'AP20151100000293',2,32552,0,'salary nov',0,1000,1,1000,1,0,11,2015,'OP-E[00000401]',NULL,1,1,1,'2015-12-04 04:08:36',NULL,'2015-12-04 04:08:36',0,0),(46987,1,'AP20151200000134',1,32516,0,'salary dec',1000,0,1,1000,1,0,12,2015,'OP-E[00000402]',NULL,1,1,1,'2015-12-04 04:09:11',NULL,'2015-12-04 04:09:11',0,0),(46988,1,'AP20151200000134',2,32552,0,'salary dec',0,1000,1,1000,1,0,12,2015,'OP-E[00000402]',NULL,1,1,1,'2015-12-04 04:09:11',NULL,'2015-12-04 04:09:11',0,0),(46993,1,'AP20150100000029',1,32515,0,'epf jan',100,0,1,100,1,0,1,2015,'OP-E[00000404]',NULL,1,1,1,'2015-12-04 04:19:20',NULL,'2015-12-04 04:19:20',0,0),(46994,1,'AP20150100000029',2,32553,0,'epf jan',0,100,1,100,1,0,1,2015,'OP-E[00000404]',NULL,1,1,1,'2015-12-04 04:19:20',NULL,'2015-12-04 04:19:20',0,0),(46995,1,'AP20150200000017',1,32515,0,'epf feb',100,0,1,100,1,0,2,2015,'OP-E[00000405]',NULL,1,1,1,'2015-12-04 04:19:59',NULL,'2015-12-04 04:19:59',0,0),(46996,1,'AP20150200000017',2,32553,0,'epf feb',0,100,1,100,1,0,2,2015,'OP-E[00000405]',NULL,1,1,1,'2015-12-04 04:19:59',NULL,'2015-12-04 04:19:59',0,0),(46997,1,'AP20150300000011',1,32516,0,'epf mac',100,0,1,100,1,0,3,2015,'OP-E[00000406]',NULL,1,1,1,'2015-12-04 04:20:30',NULL,'2015-12-04 04:20:31',0,0),(46998,1,'AP20150300000011',2,32553,0,'epf mac',0,100,1,100,1,0,3,2015,'OP-E[00000406]',NULL,1,1,1,'2015-12-04 04:20:30',NULL,'2015-12-04 04:20:31',0,0),(46999,1,'AP20150400000014',1,32518,0,'epf apr',100,0,1,100,1,0,4,2015,'OP-E[00000407]',NULL,1,1,1,'2015-12-04 04:25:03',NULL,'2015-12-04 04:25:03',0,0),(47000,1,'AP20150400000014',2,32553,0,'epf apr',0,100,1,100,1,0,4,2015,'OP-E[00000407]',NULL,1,1,1,'2015-12-04 04:25:03',NULL,'2015-12-04 04:25:03',0,0),(47001,1,'AP20150500000012',1,32516,0,'epf may',100,0,1,100,1,0,5,2015,'OP-E[00000408]',NULL,1,1,1,'2015-12-04 04:25:40',NULL,'2015-12-04 04:25:40',0,0),(47002,1,'AP20150500000012',2,32553,0,'epf may',0,100,1,100,1,0,5,2015,'OP-E[00000408]',NULL,1,1,1,'2015-12-04 04:25:40',NULL,'2015-12-04 04:25:40',0,0),(47003,1,'AP20150600000015',1,32516,0,'epf jun',100,0,1,100,1,0,6,2015,'OP-E[00000409]',NULL,1,1,1,'2015-12-04 04:26:51',NULL,'2015-12-04 04:26:52',0,0),(47004,1,'AP20150600000015',2,32553,0,'epf jun',0,100,1,100,1,0,6,2015,'OP-E[00000409]',NULL,1,1,1,'2015-12-04 04:26:51',NULL,'2015-12-04 04:26:52',0,0),(47005,1,'AP20150700000012',1,32517,0,'epf jul',100,0,1,100,1,0,7,2015,'OP-E[00000410]',NULL,1,1,1,'2015-12-04 04:34:54',NULL,'2015-12-04 04:34:55',0,0),(47006,1,'AP20150700000012',2,32553,0,'epf jul',0,100,1,100,1,0,7,2015,'OP-E[00000410]',NULL,1,1,1,'2015-12-04 04:34:54',NULL,'2015-12-04 04:34:55',0,0),(47007,1,'AP20150800000013',1,32515,0,'epf aug',100,0,1,100,1,0,8,2015,'OP-E[00000411]',NULL,1,1,1,'2015-12-04 04:35:23',NULL,'2015-12-04 04:35:23',0,0),(47008,1,'AP20150800000013',2,32553,0,'epf aug',0,100,1,100,1,0,8,2015,'OP-E[00000411]',NULL,1,1,1,'2015-12-04 04:35:23',NULL,'2015-12-04 04:35:23',0,0),(47009,1,'AP20150900000012',1,32517,0,'epf sept',100,0,1,100,1,0,9,2015,'OP-E[00000412]',NULL,1,1,1,'2015-12-04 04:35:51',NULL,'2015-12-04 04:35:51',0,0),(47010,1,'AP20150900000012',2,32553,0,'epf sept',0,100,1,100,1,0,9,2015,'OP-E[00000412]',NULL,1,1,1,'2015-12-04 04:35:51',NULL,'2015-12-04 04:35:51',0,0),(47011,1,'AP20151000000013',1,32517,0,'epf oct',100,0,1,100,1,0,10,2015,'OP-E[00000413]',NULL,1,1,1,'2015-12-04 04:36:34',NULL,'2015-12-04 04:36:34',0,0),(47012,1,'AP20151000000013',2,32553,0,'epf oct',0,100,1,100,1,0,10,2015,'OP-E[00000413]',NULL,1,1,1,'2015-12-04 04:36:34',NULL,'2015-12-04 04:36:34',0,0),(47013,1,'AP20151100000294',1,32516,0,'epf nov',100,0,1,100,1,0,11,2015,'OP-E[00000414]',NULL,1,1,1,'2015-12-04 04:37:13',NULL,'2015-12-04 04:37:13',0,0),(47014,1,'AP20151100000294',2,32553,0,'epf nov',0,100,1,100,1,0,11,2015,'OP-E[00000414]',NULL,1,1,1,'2015-12-04 04:37:13',NULL,'2015-12-04 04:37:13',0,0),(47015,1,'AP20151200000137',1,32516,0,'epf dec',100,0,1,100,1,0,12,2015,'OP-E[00000415]',NULL,1,1,1,'2015-12-04 04:37:53',NULL,'2015-12-04 04:37:53',0,0),(47016,1,'AP20151200000137',2,32553,0,'epf dec',0,100,1,100,1,0,12,2015,'OP-E[00000415]',NULL,1,1,1,'2015-12-04 04:37:53',NULL,'2015-12-04 04:37:53',0,0),(47017,1,'AP20151200000138',1,32516,0,'accounting fee',2500,0,1,2500,1,0,12,2015,'OP-E[00000416]',NULL,1,1,1,'2015-12-04 04:53:00',NULL,'2015-12-04 04:53:01',0,0),(47018,1,'AP20151200000138',2,32529,0,'accounting fee',0,2500,1,2500,1,0,12,2015,'OP-E[00000416]',NULL,1,1,1,'2015-12-04 04:53:01',NULL,'2015-12-04 04:53:01',0,0),(47019,1,'AP20150400000015',1,32516,0,'marketing ',1000,0,1,1000,1,0,4,2015,'OP-E[00000417]',NULL,1,1,1,'2015-12-04 04:53:48',NULL,'2015-12-04 04:53:48',0,0),(47020,1,'AP20150400000015',2,32530,0,'marketing ',0,1000,1,1000,1,0,4,2015,'OP-E[00000417]',NULL,1,1,1,'2015-12-04 04:53:48',NULL,'2015-12-04 04:53:48',0,0),(47021,1,'AP20150800000014',1,32516,0,'marketing',1000,0,1,1000,1,0,8,2015,'OP-E[00000418]',NULL,1,1,1,'2015-12-04 04:54:17',NULL,'2015-12-04 04:54:17',0,0),(47022,1,'AP20150800000014',2,32530,0,'marketing',0,1000,1,1000,1,0,8,2015,'OP-E[00000418]',NULL,1,1,1,'2015-12-04 04:54:17',NULL,'2015-12-04 04:54:17',0,0),(47023,1,'AP20151200000139',1,32517,0,'marketing',1000,0,1,1000,1,0,12,2015,'OP-E[00000419]',NULL,1,1,1,'2015-12-04 04:54:49',NULL,'2015-12-04 04:54:49',0,0),(47024,1,'AP20151200000139',2,32530,0,'marketing',0,1000,1,1000,1,0,12,2015,'OP-E[00000419]',NULL,1,1,1,'2015-12-04 04:54:49',NULL,'2015-12-04 04:54:49',0,0),(47025,1,'AP20150400000016',1,32516,0,'commission',800,0,1,800,1,0,4,2015,'OP-E[00000420]',NULL,1,1,1,'2015-12-04 04:55:44',NULL,'2015-12-04 04:55:44',0,0),(47026,1,'AP20150400000016',2,32531,0,'commission',0,800,1,800,1,0,4,2015,'OP-E[00000420]',NULL,1,1,1,'2015-12-04 04:55:44',NULL,'2015-12-04 04:55:44',0,0),(47027,1,'AP20150800000015',1,32517,0,'commission',800,0,1,800,1,0,8,2015,'OP-E[00000421]',NULL,1,1,1,'2015-12-04 04:56:19',NULL,'2015-12-04 04:56:19',0,0),(47028,1,'AP20150800000015',2,32531,0,'commission',0,800,1,800,1,0,8,2015,'OP-E[00000421]',NULL,1,1,1,'2015-12-04 04:56:19',NULL,'2015-12-04 04:56:19',0,0),(47029,1,'AP20151200000140',1,32515,0,'commission',800,0,1,800,1,0,12,2015,'OP-E[00000422]',NULL,1,1,1,'2015-12-04 04:56:48',NULL,'2015-12-04 04:56:48',0,0),(47030,1,'AP20151200000140',2,32531,0,'commission',0,800,1,800,1,0,12,2015,'OP-E[00000422]',NULL,1,1,1,'2015-12-04 04:56:48',NULL,'2015-12-04 04:56:48',0,0),(47041,1,'AP20151000000014',1,32518,0,'Cogs 2nd week -Oct',985,0,1,985,1,0,10,2015,'OP-C[00000423]',NULL,1,1,1,'2015-12-04 07:54:32',NULL,'2015-12-04 07:54:32',0,0),(47042,1,'AP20151000000014',2,32527,0,'Cogs 2nd week -Oct',0,985,1,985,1,0,10,2015,'OP-C[00000423]',NULL,1,1,1,'2015-12-04 07:54:32',NULL,'2015-12-04 07:54:32',0,0),(47043,1,'AP20151000000015',1,32518,0,'Cogs 3rd week -Oct',880,0,1,880,1,0,10,2015,'OP-C[00000424]',NULL,1,1,1,'2015-12-04 07:57:08',NULL,'2015-12-04 07:57:08',0,0),(47044,1,'AP20151000000015',2,32527,0,'Cogs 3rd week -Oct',0,880,1,880,1,0,10,2015,'OP-C[00000424]',NULL,1,1,1,'2015-12-04 07:57:08',NULL,'2015-12-04 07:57:08',0,0),(47045,1,'AP20151000000016',1,32518,0,'Cogs 4th week -Oct',875,0,1,875,1,0,10,2015,'OP-C[00000425]',NULL,1,1,1,'2015-12-04 07:57:49',NULL,'2015-12-04 07:57:49',0,0),(47046,1,'AP20151000000016',2,32527,0,'Cogs 4th week -Oct',0,875,1,875,1,0,10,2015,'OP-C[00000425]',NULL,1,1,1,'2015-12-04 07:57:49',NULL,'2015-12-04 07:57:49',0,0),(47047,1,'AP20151000000017',1,32518,0,'Cogs 5th week -Oct',955,0,1,955,1,0,10,2015,'OP-C[00000426]',NULL,1,1,1,'2015-12-04 07:59:19',NULL,'2015-12-04 07:59:19',0,0),(47048,1,'AP20151000000017',2,32527,0,'Cogs 5th week -Oct',0,955,1,955,1,0,10,2015,'OP-C[00000426]',NULL,1,1,1,'2015-12-04 07:59:19',NULL,'2015-12-04 07:59:19',0,0),(47049,1,'AP20151100000295',1,32518,0,'Cogs 1st week -Nov',999,0,1,999,1,0,11,2015,'OP-C[00000427]',NULL,1,1,1,'2015-12-04 07:59:59',NULL,'2015-12-04 07:59:59',0,0),(47050,1,'AP20151100000295',2,32527,0,'Cogs 1st week -Nov',0,999,1,999,1,0,11,2015,'OP-C[00000427]',NULL,1,1,1,'2015-12-04 07:59:59',NULL,'2015-12-04 07:59:59',0,0),(47051,1,'AP20151100000296',1,32518,0,'Cogs 2nd week -Nov',910,0,1,910,1,0,11,2015,'OP-C[00000428]',NULL,1,1,1,'2015-12-04 08:00:38',NULL,'2015-12-04 08:00:38',0,0),(47052,1,'AP20151100000296',2,32527,0,'Cogs 2nd week -Nov',0,910,1,910,1,0,11,2015,'OP-C[00000428]',NULL,1,1,1,'2015-12-04 08:00:38',NULL,'2015-12-04 08:00:38',0,0),(47053,1,'AP20150400000017',1,32516,0,'insurance',900,0,1,900,1,0,4,2015,'OP-E[00000429]',NULL,1,1,1,'2015-12-04 08:00:52',NULL,'2015-12-04 08:00:52',0,0),(47054,1,'AP20150400000017',2,32535,0,'insurance',0,900,1,900,1,0,4,2015,'OP-E[00000429]',NULL,1,1,1,'2015-12-04 08:00:52',NULL,'2015-12-04 08:00:52',0,0),(47055,1,'AP20151100000297',1,32518,0,'Cogs 3rd week -Nov',897,0,1,897,1,0,11,2015,'OP-C[00000430]',NULL,1,1,1,'2015-12-04 08:01:10',NULL,'2015-12-04 08:01:10',0,0),(47056,1,'AP20151100000297',2,32527,0,'Cogs 3rd week -Nov',0,897,1,897,1,0,11,2015,'OP-C[00000430]',NULL,1,1,1,'2015-12-04 08:01:10',NULL,'2015-12-04 08:01:10',0,0),(47057,1,'AP20150800000016',1,32518,0,'insurance',900,0,1,900,1,0,8,2015,'OP-E[00000431]',NULL,1,1,1,'2015-12-04 08:01:21',NULL,'2015-12-04 08:01:21',0,0),(47058,1,'AP20150800000016',2,32535,0,'insurance',0,900,1,900,1,0,8,2015,'OP-E[00000431]',NULL,1,1,1,'2015-12-04 08:01:21',NULL,'2015-12-04 08:01:21',0,0),(47059,1,'AP20151200000146',1,32517,0,'insurance',900,0,1,900,1,0,12,2015,'OP-E[00000432]',NULL,1,1,1,'2015-12-04 08:01:52',NULL,'2015-12-04 08:01:52',0,0),(47060,1,'AP20151200000146',2,32535,0,'insurance',0,900,1,900,1,0,12,2015,'OP-E[00000432]',NULL,1,1,1,'2015-12-04 08:01:52',NULL,'2015-12-04 08:01:52',0,0),(47061,1,'AP20151100000298',1,32518,0,'Cogs 4th week -Nov',935,0,1,935,1,0,11,2015,'OP-C[00000433]',NULL,1,1,1,'2015-12-04 08:02:07',NULL,'2015-12-04 08:02:07',0,0),(47062,1,'AP20151100000298',2,32527,0,'Cogs 4th week -Nov',0,935,1,935,1,0,11,2015,'OP-C[00000433]',NULL,1,1,1,'2015-12-04 08:02:07',NULL,'2015-12-04 08:02:07',0,0),(47063,1,'AP20151200000147',1,32518,0,'Cogs 1st week -Dec',877,0,1,877,1,0,12,2015,'OP-C[00000434]',NULL,1,1,1,'2015-12-04 08:03:05',NULL,'2015-12-04 08:03:05',0,0),(47064,1,'AP20151200000147',2,32527,0,'Cogs 1st week -Dec',0,877,1,877,1,0,12,2015,'OP-C[00000434]',NULL,1,1,1,'2015-12-04 08:03:05',NULL,'2015-12-04 08:03:05',0,0),(47065,1,'AP20150400000018',1,32516,0,'medical',850,0,1,850,1,0,4,2015,'OP-E[00000435]',NULL,1,1,1,'2015-12-04 08:03:17',NULL,'2015-12-04 08:03:17',0,0),(47066,1,'AP20150400000018',2,32537,0,'medical',0,850,1,850,1,0,4,2015,'OP-E[00000435]',NULL,1,1,1,'2015-12-04 08:03:17',NULL,'2015-12-04 08:03:17',0,0),(47067,1,'AP20151200000148',1,32518,0,'Cogs 2nd week -Dec',865,0,1,865,1,0,12,2015,'OP-C[00000436]',NULL,1,1,1,'2015-12-04 08:03:49',NULL,'2015-12-04 08:03:49',0,0),(47068,1,'AP20151200000148',2,32527,0,'Cogs 2nd week -Dec',0,865,1,865,1,0,12,2015,'OP-C[00000436]',NULL,1,1,1,'2015-12-04 08:03:49',NULL,'2015-12-04 08:03:49',0,0),(47069,1,'AP20150800000017',1,32515,0,'medical',850,0,1,850,1,0,8,2015,'OP-E[00000437]',NULL,1,1,1,'2015-12-04 08:03:50',NULL,'2015-12-04 08:03:50',0,0),(47070,1,'AP20150800000017',2,32537,0,'medical',0,850,1,850,1,0,8,2015,'OP-E[00000437]',NULL,1,1,1,'2015-12-04 08:03:50',NULL,'2015-12-04 08:03:50',0,0),(47071,1,'AP20151200000149',1,32516,0,'medical',850,0,1,850,1,0,12,2015,'OP-E[00000438]',NULL,1,1,1,'2015-12-04 08:04:23',NULL,'2015-12-04 08:04:23',0,0),(47072,1,'AP20151200000149',2,32537,0,'medical',0,850,1,850,1,0,12,2015,'OP-E[00000438]',NULL,1,1,1,'2015-12-04 08:04:23',NULL,'2015-12-04 08:04:23',0,0),(47073,1,'AP20150600000016',1,32515,0,'repair',900,0,1,900,1,0,6,2015,'OP-E[00000439]',NULL,1,1,1,'2015-12-04 08:05:14',NULL,'2015-12-04 08:05:14',0,0),(47074,1,'AP20150600000016',2,32539,0,'repair',0,900,1,900,1,0,6,2015,'OP-E[00000439]',NULL,1,1,1,'2015-12-04 08:05:14',NULL,'2015-12-04 08:05:14',0,0),(47075,1,'AP20151200000150',1,32516,0,'repair',958,0,1,958,1,0,12,2015,'OP-E[00000440]',NULL,1,1,1,'2015-12-04 08:05:50',NULL,'2015-12-04 08:05:50',0,0),(47076,1,'AP20151200000150',2,32539,0,'repair',0,958,1,958,1,0,12,2015,'OP-E[00000440]',NULL,1,1,1,'2015-12-04 08:05:50',NULL,'2015-12-04 08:05:50',0,0),(47077,1,'AP20151200000151',1,32518,0,'Cogs 3rd week -Dec',967,0,1,967,1,0,12,2015,'OP-C[00000441]',NULL,1,1,1,'2015-12-04 08:06:39',NULL,'2015-12-04 08:06:39',0,0),(47078,1,'AP20151200000151',2,32527,0,'Cogs 3rd week -Dec',0,967,1,967,1,0,12,2015,'OP-C[00000441]',NULL,1,1,1,'2015-12-04 08:06:39',NULL,'2015-12-04 08:06:39',0,0),(47081,1,'AP20150800000018',1,32518,0,'quit rent',800,0,1,800,1,0,8,2015,'OP-E[00000443]',NULL,1,1,1,'2015-12-04 08:10:14',NULL,'2015-12-04 08:10:14',0,0),(47082,1,'AP20150800000018',2,32543,0,'quit rent',0,800,1,800,1,0,8,2015,'OP-E[00000443]',NULL,1,1,1,'2015-12-04 08:10:14',NULL,'2015-12-04 08:10:14',0,0),(47083,1,'AP20150300000012',1,32517,0,'pos',850,0,1,850,1,0,3,2015,'OP-E[00000444]',NULL,1,1,1,'2015-12-04 08:11:36',NULL,'2015-12-04 08:11:36',0,0),(47084,1,'AP20150300000012',2,32542,0,'pos',0,850,1,850,1,0,3,2015,'OP-E[00000444]',NULL,1,1,1,'2015-12-04 08:11:36',NULL,'2015-12-04 08:11:36',0,0),(47085,1,'AP20150600000017',1,32516,0,'pos',850,0,1,850,1,0,6,2015,'OP-E[00000445]',NULL,1,1,1,'2015-12-04 08:12:06',NULL,'2015-12-04 08:12:06',0,0),(47086,1,'AP20150600000017',2,32542,0,'pos',0,850,1,850,1,0,6,2015,'OP-E[00000445]',NULL,1,1,1,'2015-12-04 08:12:06',NULL,'2015-12-04 08:12:06',0,0),(47087,1,'AP20150900000013',1,32516,0,'pos',850,0,1,850,1,0,9,2015,'OP-E[00000446]',NULL,1,1,1,'2015-12-04 08:12:39',NULL,'2015-12-04 08:12:40',0,0),(47088,1,'AP20150900000013',2,32542,0,'pos',0,850,1,850,1,0,9,2015,'OP-E[00000446]',NULL,1,1,1,'2015-12-04 08:12:39',NULL,'2015-12-04 08:12:40',0,0),(47089,1,'AP20151200000153',1,32518,0,'pos',850,0,1,850,1,0,12,2015,'OP-E[00000447]',NULL,1,1,1,'2015-12-04 08:13:07',NULL,'2015-12-04 08:13:07',0,0),(47090,1,'AP20151200000153',2,32542,0,'pos',0,850,1,850,1,0,12,2015,'OP-E[00000447]',NULL,1,1,1,'2015-12-04 08:13:07',NULL,'2015-12-04 08:13:07',0,0),(47091,1,'AP20150500000013',1,32517,0,'registration fee',900,0,1,900,1,0,5,2015,'OP-E[00000448]',NULL,1,1,1,'2015-12-04 08:14:05',NULL,'2015-12-04 08:14:05',0,0),(47092,1,'AP20150500000013',2,32544,0,'registration fee',0,900,1,900,1,0,5,2015,'OP-E[00000448]',NULL,1,1,1,'2015-12-04 08:14:05',NULL,'2015-12-04 08:14:05',0,0),(47093,1,'AP20150400000019',1,32518,0,'training',900,0,1,900,1,0,4,2015,'OP-E[00000449]',NULL,1,1,1,'2015-12-04 08:14:51',NULL,'2015-12-04 08:14:51',0,0),(47094,1,'AP20150400000019',2,32548,0,'training',0,900,1,900,1,0,4,2015,'OP-E[00000449]',NULL,1,1,1,'2015-12-04 08:14:51',NULL,'2015-12-04 08:14:51',0,0),(47095,1,'AP20150800000019',1,32517,0,'training',900,0,1,900,1,0,8,2015,'OP-E[00000450]',NULL,1,1,1,'2015-12-04 08:15:28',NULL,'2015-12-04 08:15:28',0,0),(47096,1,'AP20150800000019',2,32548,0,'training',0,900,1,900,1,0,8,2015,'OP-E[00000450]',NULL,1,1,1,'2015-12-04 08:15:28',NULL,'2015-12-04 08:15:28',0,0),(47097,1,'AP20151200000154',1,32515,0,'training',900,0,1,900,1,0,12,2015,'OP-E[00000451]',NULL,1,1,1,'2015-12-04 08:15:58',NULL,'2015-12-04 08:15:58',0,0),(47098,1,'AP20151200000154',2,32548,0,'training',0,900,1,900,1,0,12,2015,'OP-E[00000451]',NULL,1,1,1,'2015-12-04 08:15:58',NULL,'2015-12-04 08:15:58',0,0),(47099,1,'AP20150300000013',1,32515,0,'travel',1000,0,1,1000,1,0,3,2015,'OP-E[00000452]',NULL,1,1,1,'2015-12-04 08:16:35',NULL,'2015-12-04 08:16:35',0,0),(47100,1,'AP20150300000013',2,32551,0,'travel',0,1000,1,1000,1,0,3,2015,'OP-E[00000452]',NULL,1,1,1,'2015-12-04 08:16:35',NULL,'2015-12-04 08:16:35',0,0),(47101,1,'AP20150600000018',1,32517,0,'meals',850,0,1,850,1,0,6,2015,'OP-E[00000453]',NULL,1,1,1,'2015-12-04 08:17:08',NULL,'2015-12-04 08:17:08',0,0),(47102,1,'AP20150600000018',2,32551,0,'meals',0,850,1,850,1,0,6,2015,'OP-E[00000453]',NULL,1,1,1,'2015-12-04 08:17:08',NULL,'2015-12-04 08:17:08',0,0),(47103,1,'AP20150200000018',1,32516,0,'bank charges',20,0,1,20,1,0,2,2015,'OP-E[00000454]',NULL,1,1,1,'2015-12-04 08:17:54',NULL,'2015-12-04 08:17:54',0,0),(47104,1,'AP20150200000018',2,32554,0,'bank charges',0,20,1,20,1,0,2,2015,'OP-E[00000454]',NULL,1,1,1,'2015-12-04 08:17:54',NULL,'2015-12-04 08:17:54',0,0),(47105,1,'AP20150600000019',1,32515,0,'bank charges',20,0,1,20,1,0,6,2015,'OP-E[00000455]',NULL,1,1,1,'2015-12-04 08:18:31',NULL,'2015-12-04 08:18:31',0,0),(47106,1,'AP20150600000019',2,32554,0,'bank charges',0,20,1,20,1,0,6,2015,'OP-E[00000455]',NULL,1,1,1,'2015-12-04 08:18:31',NULL,'2015-12-04 08:18:31',0,0),(47107,1,'AP20150200000019',1,32525,0,'PINJAMAN PERNIAGAAN',35000,0,1,35000,1,0,2,2015,'LR[00000456]',NULL,0,1,1,'2015-12-04 08:21:20',NULL,'2015-12-04 08:21:20',0,0),(47108,1,'AP20150200000019',2,32516,0,'PINJAMAN PERNIAGAAN',0,35000,1,35000,1,0,2,2015,'LR[00000456]',NULL,0,1,1,'2015-12-04 08:21:20',NULL,'2015-12-04 08:21:20',0,0),(47109,1,'AP20150200000020',1,32517,0,'gst',40,0,1,40,1,0,2,2015,'OP-E[00000457]',NULL,1,1,1,'2015-12-04 08:21:25',NULL,'2015-12-04 08:21:25',0,0),(47110,1,'AP20150200000020',2,32534,0,'gst',0,40,1,40,1,0,2,2015,'OP-E[00000457]',NULL,1,1,1,'2015-12-04 08:21:25',NULL,'2015-12-04 08:21:25',0,0),(47111,1,'AP20150700000013',1,32516,0,'gst',90,0,1,90,1,0,7,2015,'OP-E[00000458]',NULL,1,1,1,'2015-12-04 08:22:03',NULL,'2015-12-04 08:22:03',0,0),(47112,1,'AP20150700000013',2,32534,0,'gst',0,90,1,90,1,0,7,2015,'OP-E[00000458]',NULL,1,1,1,'2015-12-04 08:22:03',NULL,'2015-12-04 08:22:03',0,0),(47113,1,'AP20151100000299',1,32517,0,'gst',80,0,1,80,1,0,11,2015,'OP-E[00000459]',NULL,1,1,1,'2015-12-04 08:22:35',NULL,'2015-12-04 08:22:35',0,0),(47114,1,'AP20151100000299',2,32534,0,'gst',0,80,1,80,1,0,11,2015,'OP-E[00000459]',NULL,1,1,1,'2015-12-04 08:22:35',NULL,'2015-12-04 08:22:35',0,0),(47115,1,'AP20150100000030',1,32517,0,'late charges',90,0,1,90,1,0,1,2015,'OP-E[00000460]',NULL,1,1,1,'2015-12-04 08:24:16',NULL,'2015-12-04 08:24:16',0,0),(47116,1,'AP20150100000030',2,32536,0,'late charges',0,90,1,90,1,0,1,2015,'OP-E[00000460]',NULL,1,1,1,'2015-12-04 08:24:16',NULL,'2015-12-04 08:24:16',0,0),(47117,1,'AP20150700000014',1,32516,0,'late charges',70,0,1,70,1,0,7,2015,'OP-E[00000461]',NULL,1,1,1,'2015-12-04 08:24:50',NULL,'2015-12-04 08:24:50',0,0),(47118,1,'AP20150700000014',2,32536,0,'late charges',0,70,1,70,1,0,7,2015,'OP-E[00000461]',NULL,1,1,1,'2015-12-04 08:24:50',NULL,'2015-12-04 08:24:50',0,0),(47119,1,'AP20151000000018',1,32516,0,'barang',980,0,1,980,1,0,10,2015,'OP-E[00000462]',NULL,1,1,1,'2015-12-04 08:26:01',NULL,'2015-12-04 08:26:01',0,0),(47120,1,'AP20151000000018',2,32538,0,'barang',0,980,1,980,1,0,10,2015,'OP-E[00000462]',NULL,1,1,1,'2015-12-04 08:26:01',NULL,'2015-12-04 08:26:01',0,0),(47121,1,'AP20150900000014',1,32518,0,'barang',850,0,1,850,1,0,9,2015,'OP-E[00000463]',NULL,1,1,1,'2015-12-04 08:26:32',NULL,'2015-12-04 08:26:32',0,0),(47122,1,'AP20150900000014',2,32538,0,'barang',0,850,1,850,1,0,9,2015,'OP-E[00000463]',NULL,1,1,1,'2015-12-04 08:26:32',NULL,'2015-12-04 08:26:32',0,0),(47123,1,'AP20150400000020',1,32516,0,'barang office',850,0,1,850,1,0,4,2015,'OP-E[00000464]',NULL,1,1,1,'2015-12-04 08:31:25',NULL,'2015-12-04 08:31:25',0,0),(47124,1,'AP20150400000020',2,32540,0,'barang office',0,850,1,850,1,0,4,2015,'OP-E[00000464]',NULL,1,1,1,'2015-12-04 08:31:25',NULL,'2015-12-04 08:31:25',0,0),(47125,1,'AP20150800000020',1,32516,0,'barang office',849,0,1,849,1,0,8,2015,'OP-E[00000465]',NULL,1,1,1,'2015-12-04 08:31:58',NULL,'2015-12-04 08:31:58',0,0),(47126,1,'AP20150800000020',2,32540,0,'barang office',0,849,1,849,1,0,8,2015,'OP-E[00000465]',NULL,1,1,1,'2015-12-04 08:31:58',NULL,'2015-12-04 08:31:58',0,0),(47127,1,'AP20151200000155',1,32517,0,'barang office',970,0,1,970,1,0,12,2015,'OP-E[00000466]',NULL,1,1,1,'2015-12-04 08:32:25',NULL,'2015-12-04 08:32:25',0,0),(47128,1,'AP20151200000155',2,32540,0,'barang office',0,970,1,970,1,0,12,2015,'OP-E[00000466]',NULL,1,1,1,'2015-12-04 08:32:25',NULL,'2015-12-04 08:32:25',0,0),(47129,1,'AP20150100000031',1,32517,0,'barang store',900,0,1,900,1,0,1,2015,'OP-E[00000467]',NULL,1,1,1,'2015-12-04 08:33:04',NULL,'2015-12-04 08:33:04',0,0),(47130,1,'AP20150100000031',2,32549,0,'barang store',0,900,1,900,1,0,1,2015,'OP-E[00000467]',NULL,1,1,1,'2015-12-04 08:33:04',NULL,'2015-12-04 08:33:04',0,0),(47131,1,'AP20150100000032',1,32517,0,'barang store',900,0,1,900,1,0,1,2015,'OP-E[00000468]',NULL,1,1,1,'2015-12-04 08:33:05',NULL,'2015-12-04 08:33:05',0,0),(47132,1,'AP20150100000032',2,32549,0,'barang store',0,900,1,900,1,0,1,2015,'OP-E[00000468]',NULL,1,1,1,'2015-12-04 08:33:05',NULL,'2015-12-04 08:33:05',0,0),(47133,1,'AP20150100000033',1,32517,0,'barang store',900,0,1,900,1,0,1,2015,'OP-E[00000469]',NULL,1,1,1,'2015-12-04 08:33:09',NULL,'2015-12-04 08:33:09',0,0),(47134,1,'AP20150100000033',2,32549,0,'barang store',0,900,1,900,1,0,1,2015,'OP-E[00000469]',NULL,1,1,1,'2015-12-04 08:33:09',NULL,'2015-12-04 08:33:09',0,0),(47135,1,'AP20150100000034',1,32517,0,'barang store',900,0,1,900,1,0,1,2015,'OP-E[00000470]',NULL,1,1,1,'2015-12-04 08:33:14',NULL,'2015-12-04 08:33:14',0,0),(47136,1,'AP20150100000034',2,32549,0,'barang store',0,900,1,900,1,0,1,2015,'OP-E[00000470]',NULL,1,1,1,'2015-12-04 08:33:14',NULL,'2015-12-04 08:33:14',0,0),(47137,1,'AP20150500000014',1,32518,0,'barang store',970,0,1,970,1,0,5,2015,'OP-E[00000471]',NULL,1,1,1,'2015-12-04 08:33:52',NULL,'2015-12-04 08:33:52',0,0),(47138,1,'AP20150500000014',2,32549,0,'barang store',0,970,1,970,1,0,5,2015,'OP-E[00000471]',NULL,1,1,1,'2015-12-04 08:33:52',NULL,'2015-12-04 08:33:52',0,0),(47139,1,'AP20150900000015',1,32518,0,'barang store',870,0,1,870,1,0,9,2015,'OP-E[00000472]',NULL,1,1,1,'2015-12-04 08:34:30',NULL,'2015-12-04 08:34:30',0,0),(47140,1,'AP20150900000015',2,32549,0,'barang store',0,870,1,870,1,0,9,2015,'OP-E[00000472]',NULL,1,1,1,'2015-12-04 08:34:30',NULL,'2015-12-04 08:34:30',0,0),(47143,1,'AP20150800000021',1,32517,0,'income tax 2014',1000,0,1,1000,1,0,8,2015,'OP-E[00000474]',NULL,1,1,1,'2015-12-04 08:40:59',NULL,'2015-12-04 08:40:59',0,0),(47144,1,'AP20150800000021',2,32556,0,'income tax 2014',0,1000,1,1000,1,0,8,2015,'OP-E[00000474]',NULL,1,1,1,'2015-12-04 08:40:59',NULL,'2015-12-04 08:40:59',0,0),(47157,1,'AP20151200000160',1,32521,0,'asasas',800,0,1,800,1,0,12,2015,'LR[00000276]',NULL,0,1,1,'2015-12-07 08:15:37',NULL,'2015-12-07 08:15:37',0,0),(47158,1,'AP20151200000160',2,32519,0,'asasas',0,800,1,800,1,0,12,2015,'LR[00000276]',NULL,0,1,1,'2015-12-07 08:15:37',NULL,'2015-12-07 08:15:37',0,0),(47159,1,'AP20150100000036',1,32518,0,'Cash Deposit',3000,0,1,3000,1,0,1,2015,'TT[00000477]',NULL,0,1,1,'2015-12-07 08:54:57',NULL,'2015-12-07 08:54:57',0,0),(47160,1,'AP20150100000036',2,32515,0,'Cash Deposit',0,3000,1,3000,1,0,1,2015,'TT[00000477]',NULL,0,1,1,'2015-12-07 08:54:57',NULL,'2015-12-07 08:54:57',0,0),(47161,1,'AP20150100000037',1,32518,0,'PERABOT',1999,0,1,1999,1,0,1,2015,'OP-A[00000478]',NULL,1,1,1,'2015-12-07 09:23:48',NULL,'2015-12-07 09:23:48',0,0),(47162,1,'AP20150100000037',2,32504,0,'PERABOT',0,1999,1,1999,1,0,1,2015,'OP-A[00000478]',NULL,1,1,1,'2015-12-07 09:23:48',NULL,'2015-12-07 09:23:48',0,0),(47163,1,'AP20150100000038',1,32518,0,'EQUIPMENT',1789,0,1,1789,1,0,1,2015,'OP-A[00000479]',NULL,1,1,1,'2015-12-07 09:24:37',NULL,'2015-12-07 09:24:37',0,0),(47164,1,'AP20150100000038',2,32505,0,'EQUIPMENT',0,1789,1,1789,1,0,1,2015,'OP-A[00000479]',NULL,1,1,1,'2015-12-07 09:24:37',NULL,'2015-12-07 09:24:37',0,0),(47165,1,'AP20150200000021',1,32518,0,'PC',1923,0,1,1923,1,0,2,2015,'OP-A[00000480]',NULL,1,1,1,'2015-12-07 09:25:21',NULL,'2015-12-07 09:25:21',0,0),(47166,1,'AP20150200000021',2,32506,0,'PC',0,1923,1,1923,1,0,2,2015,'OP-A[00000480]',NULL,1,1,1,'2015-12-07 09:25:21',NULL,'2015-12-07 09:25:21',0,0),(47169,1,'AP20150300000014',1,32518,0,'MESIN',1830,0,1,1830,1,0,3,2015,'OP-A[00000482]',NULL,1,1,1,'2015-12-07 09:26:49',NULL,'2015-12-07 09:26:49',0,0),(47170,1,'AP20150300000014',2,32508,0,'MESIN',0,1830,1,1830,1,0,3,2015,'OP-A[00000482]',NULL,1,1,1,'2015-12-07 09:26:49',NULL,'2015-12-07 09:26:49',0,0),(47171,1,'AP20150300000015',1,32518,0,'UBAHSUAI SIKIT JE',2000,0,1,2000,1,0,3,2015,'OP-A[00000483]',NULL,1,1,1,'2015-12-07 09:27:32',NULL,'2015-12-07 09:27:32',0,0),(47172,1,'AP20150300000015',2,32509,0,'UBAHSUAI SIKIT JE',0,2000,1,2000,1,0,3,2015,'OP-A[00000483]',NULL,1,1,1,'2015-12-07 09:27:32',NULL,'2015-12-07 09:27:32',0,0),(47173,1,'AP20150400000021',1,32518,0,'EQUIPMENT',1650,0,1,1650,1,0,4,2015,'OP-A[00000484]',NULL,1,1,1,'2015-12-07 09:28:47',NULL,'2015-12-07 09:28:47',0,0),(47174,1,'AP20150400000021',2,32510,0,'EQUIPMENT',0,1650,1,1650,1,0,4,2015,'OP-A[00000484]',NULL,1,1,1,'2015-12-07 09:28:47',NULL,'2015-12-07 09:28:47',0,0),(47175,1,'AP20150400000022',1,32518,0,'ASSET BARU',1700,0,1,1700,1,0,4,2015,'OP-A[00000485]',NULL,1,1,1,'2015-12-07 09:29:31',NULL,'2015-12-07 09:29:31',0,0),(47176,1,'AP20150400000022',2,32511,0,'ASSET BARU',0,1700,1,1700,1,0,4,2015,'OP-A[00000485]',NULL,1,1,1,'2015-12-07 09:29:31',NULL,'2015-12-07 09:29:31',0,0),(47177,1,'AP20150500000015',1,32518,0,'ASSET BARU DIKENALPASTI',1989,0,1,1989,1,0,5,2015,'OP-A[00000486]',NULL,1,1,1,'2015-12-07 09:30:16',NULL,'2015-12-07 09:30:16',0,0),(47178,1,'AP20150500000015',2,32512,0,'ASSET BARU DIKENALPASTI',0,1989,1,1989,1,0,5,2015,'OP-A[00000486]',NULL,1,1,1,'2015-12-07 09:30:16',NULL,'2015-12-07 09:30:16',0,0),(47179,1,'AP20150500000016',1,32518,0,'LAIN2',1998,0,1,1998,1,0,5,2015,'OP-A[00000487]',NULL,1,1,1,'2015-12-07 09:30:56',NULL,'2015-12-07 09:30:56',0,0),(47180,1,'AP20150500000016',2,32513,0,'LAIN2',0,1998,1,1998,1,0,5,2015,'OP-A[00000487]',NULL,1,1,1,'2015-12-07 09:30:56',NULL,'2015-12-07 09:30:56',0,0),(47181,1,'AP20150600000020',1,32518,0,'OTHER FIXTURES',1997,0,1,1997,1,0,6,2015,'OP-A[00000488]',NULL,1,1,1,'2015-12-07 09:31:54',NULL,'2015-12-07 09:31:54',0,0),(47182,1,'AP20150600000020',2,32504,0,'OTHER FIXTURES',0,1997,1,1997,1,0,6,2015,'OP-A[00000488]',NULL,1,1,1,'2015-12-07 09:31:54',NULL,'2015-12-07 09:31:54',0,0),(47183,1,'AP20150200000023',1,32518,0,'MOTOREEEE',1800,0,1,1800,1,0,2,2015,'OP-A[00000489]',NULL,1,1,1,'2015-12-07 09:32:21',NULL,'2015-12-07 09:32:21',0,0),(47184,1,'AP20150200000023',2,32507,0,'MOTOREEEE',0,1800,1,1800,1,0,2,2015,'OP-A[00000489]',NULL,1,1,1,'2015-12-07 09:32:21',NULL,'2015-12-07 09:32:21',0,0),(47185,1,'AP20150200000024',1,32518,0,'MOTOREEEE',1800,0,1,1800,1,0,2,2015,'OP-A[00000490]',NULL,1,1,1,'2015-12-07 09:32:22',NULL,'2015-12-07 09:32:22',0,0),(47186,1,'AP20150200000024',2,32507,0,'MOTOREEEE',0,1800,1,1800,1,0,2,2015,'OP-A[00000490]',NULL,1,1,1,'2015-12-07 09:32:22',NULL,'2015-12-07 09:32:22',0,0),(47187,1,'AP20150200000025',1,32518,0,'MOTOREEEE',1800,0,1,1800,1,0,2,2015,'OP-A[00000491]',NULL,1,1,1,'2015-12-07 09:32:22',NULL,'2015-12-07 09:32:22',0,0),(47188,1,'AP20150200000025',2,32507,0,'MOTOREEEE',0,1800,1,1800,1,0,2,2015,'OP-A[00000491]',NULL,1,1,1,'2015-12-07 09:32:22',NULL,'2015-12-07 09:32:22',0,0),(47189,1,'AP20150200000026',1,32518,0,'MOTOREEEE',1800,0,1,1800,1,0,2,2015,'OP-A[00000492]',NULL,1,1,1,'2015-12-07 09:32:23',NULL,'2015-12-07 09:32:24',0,0),(47190,1,'AP20150200000026',2,32507,0,'MOTOREEEE',0,1800,1,1800,1,0,2,2015,'OP-A[00000492]',NULL,1,1,1,'2015-12-07 09:32:23',NULL,'2015-12-07 09:32:24',0,0),(47191,1,'AP20150200000027',1,32518,0,'MOTOREEEE',1800,0,1,1800,1,0,2,2015,'OP-A[00000493]',NULL,1,1,1,'2015-12-07 09:32:23',NULL,'2015-12-07 09:32:24',0,0),(47192,1,'AP20150200000027',2,32507,0,'MOTOREEEE',0,1800,1,1800,1,0,2,2015,'OP-A[00000493]',NULL,1,1,1,'2015-12-07 09:32:24',NULL,'2015-12-07 09:32:24',0,0),(47193,1,'AP20150200000028',1,32518,0,'MOTOREEEE',1800,0,1,1800,1,0,2,2015,'OP-A[00000494]',NULL,1,1,1,'2015-12-07 09:32:24',NULL,'2015-12-07 09:32:24',0,0),(47194,1,'AP20150200000028',2,32507,0,'MOTOREEEE',0,1800,1,1800,1,0,2,2015,'OP-A[00000494]',NULL,1,1,1,'2015-12-07 09:32:24',NULL,'2015-12-07 09:32:24',0,0),(47195,1,'AP20150200000029',1,32518,0,'MOTOREEEE',1800,0,1,1800,1,0,2,2015,'OP-A[00000495]',NULL,1,1,1,'2015-12-07 09:32:25',NULL,'2015-12-07 09:32:25',0,0),(47196,1,'AP20150200000029',2,32507,0,'MOTOREEEE',0,1800,1,1800,1,0,2,2015,'OP-A[00000495]',NULL,1,1,1,'2015-12-07 09:32:25',NULL,'2015-12-07 09:32:25',0,0),(47199,1,'AP20150200000031',1,32518,0,'Cogs 3rd week -Jan',123,0,1,123,1,0,2,2015,'OP-A[00000497]',NULL,1,1,1,'2015-12-07 09:36:47',NULL,'2015-12-07 09:36:47',0,0),(47200,1,'AP20150200000031',2,32506,0,'Cogs 3rd week -Jan',0,123,1,123,1,0,2,2015,'OP-A[00000497]',NULL,1,1,1,'2015-12-07 09:36:47',NULL,'2015-12-07 09:36:47',0,0),(47201,1,'AP20150600000021',1,32518,0,'OFFICE',1596,0,1,1596,1,0,6,2015,'OP-A[00000498]',NULL,1,1,1,'2015-12-07 09:46:40',NULL,'2015-12-07 09:46:41',0,0),(47202,1,'AP20150600000021',2,32505,0,'OFFICE',0,1596,1,1596,1,0,6,2015,'OP-A[00000498]',NULL,1,1,1,'2015-12-07 09:46:40',NULL,'2015-12-07 09:46:41',0,0),(47203,1,'AP20150700000015',1,32518,0,'SOFTWARE',1290,0,1,1290,1,0,7,2015,'OP-A[00000499]',NULL,1,1,1,'2015-12-07 09:47:48',NULL,'2015-12-07 09:47:48',0,0),(47204,1,'AP20150700000015',2,32506,0,'SOFTWARE',0,1290,1,1290,1,0,7,2015,'OP-A[00000499]',NULL,1,1,1,'2015-12-07 09:47:48',NULL,'2015-12-07 09:47:48',0,0),(47205,1,'AP20150700000016',1,32518,0,'KETO',1963,0,1,1963,1,0,7,2015,'OP-A[00000500]',NULL,1,1,1,'2015-12-07 09:49:20',NULL,'2015-12-07 09:49:20',0,0),(47206,1,'AP20150700000016',2,32507,0,'KETO',0,1963,1,1963,1,0,7,2015,'OP-A[00000500]',NULL,1,1,1,'2015-12-07 09:49:20',NULL,'2015-12-07 09:49:20',0,0),(47207,1,'AP20150800000022',1,32518,0,'ENJIN BOT',2000,0,1,2000,1,0,8,2015,'OP-A[00000501]',NULL,1,1,1,'2015-12-07 09:50:15',NULL,'2015-12-07 09:50:15',0,0),(47208,1,'AP20150800000022',2,32508,0,'ENJIN BOT',0,2000,1,2000,1,0,8,2015,'OP-A[00000501]',NULL,1,1,1,'2015-12-07 09:50:15',NULL,'2015-12-07 09:50:15',0,0),(47209,1,'AP20150800000023',1,32518,0,'PECAH RUMAH',1956,0,1,1956,1,0,8,2015,'OP-A[00000502]',NULL,1,1,1,'2015-12-07 09:50:51',NULL,'2015-12-07 09:50:51',0,0),(47210,1,'AP20150800000023',2,32509,0,'PECAH RUMAH',0,1956,1,1956,1,0,8,2015,'OP-A[00000502]',NULL,1,1,1,'2015-12-07 09:50:51',NULL,'2015-12-07 09:50:51',0,0),(47211,1,'AP20150900000016',1,32518,0,'BARANG STOR',1234,0,1,1234,1,0,9,2015,'OP-A[00000503]',NULL,1,1,1,'2015-12-07 09:51:31',NULL,'2015-12-07 09:51:31',0,0),(47212,1,'AP20150900000016',2,32510,0,'BARANG STOR',0,1234,1,1234,1,0,9,2015,'OP-A[00000503]',NULL,1,1,1,'2015-12-07 09:51:31',NULL,'2015-12-07 09:51:31',0,0),(47213,1,'AP20150900000017',1,32518,0,'BENDA MURAH',1358,0,1,1358,1,0,9,2015,'OP-A[00000504]',NULL,1,1,1,'2015-12-07 09:52:26',NULL,'2015-12-07 09:52:26',0,0),(47214,1,'AP20150900000017',2,32511,0,'BENDA MURAH',0,1358,1,1358,1,0,9,2015,'OP-A[00000504]',NULL,1,1,1,'2015-12-07 09:52:26',NULL,'2015-12-07 09:52:26',0,0),(47215,1,'AP20151000000019',1,32518,0,'MAHAL JUGAK NI',1991,0,1,1991,1,0,10,2015,'OP-A[00000505]',NULL,1,1,1,'2015-12-07 09:53:05',NULL,'2015-12-07 09:53:05',0,0),(47216,1,'AP20151000000019',2,32512,0,'MAHAL JUGAK NI',0,1991,1,1991,1,0,10,2015,'OP-A[00000505]',NULL,1,1,1,'2015-12-07 09:53:05',NULL,'2015-12-07 09:53:05',0,0),(47217,1,'AP20151000000020',1,32518,0,'LAIN2',1597,0,1,1597,1,0,10,2015,'OP-A[00000506]',NULL,1,1,1,'2015-12-07 09:53:45',NULL,'2015-12-07 09:53:45',0,0),(47218,1,'AP20151000000020',2,32513,0,'LAIN2',0,1597,1,1597,1,0,10,2015,'OP-A[00000506]',NULL,1,1,1,'2015-12-07 09:53:45',NULL,'2015-12-07 09:53:45',0,0),(47221,1,'AP20151100000300',1,32518,0,'PERABOT',1789,0,1,1789,1,0,11,2015,'OP-A[00000508]',NULL,1,1,1,'2015-12-08 01:08:09',NULL,'2015-12-08 01:08:09',0,0),(47222,1,'AP20151100000300',2,32504,0,'PERABOT',0,1789,1,1789,1,0,11,2015,'OP-A[00000508]',NULL,1,1,1,'2015-12-08 01:08:09',NULL,'2015-12-08 01:08:09',0,0),(47223,1,'AP20151100000301',1,32518,0,'BARANG2 SIKIT',1956,0,1,1956,1,0,11,2015,'OP-A[00000509]',NULL,1,1,1,'2015-12-08 01:08:50',NULL,'2015-12-08 01:08:50',0,0),(47224,1,'AP20151100000301',2,32505,0,'BARANG2 SIKIT',0,1956,1,1956,1,0,11,2015,'OP-A[00000509]',NULL,1,1,1,'2015-12-08 01:08:50',NULL,'2015-12-08 01:08:50',0,0),(47231,1,'AP20150100000039',1,32518,0,'PAYBACK',100,0,1,100,1,0,1,2015,'OP-L[00000513]',NULL,1,1,1,'2015-12-08 02:08:00',NULL,'2015-12-08 02:08:00',0,0),(47232,1,'AP20150100000039',2,32521,0,'PAYBACK',0,100,1,100,1,0,1,2015,'OP-L[00000513]',NULL,1,1,1,'2015-12-08 02:08:00',NULL,'2015-12-08 02:08:00',0,0),(47233,1,'AP20150100000040',1,32518,0,'PAYBACK',100,0,1,100,1,0,1,2015,'OP-L[00000514]',NULL,1,1,1,'2015-12-08 02:08:27',NULL,'2015-12-08 02:08:27',0,0),(47234,1,'AP20150100000040',2,32522,0,'PAYBACK',0,100,1,100,1,0,1,2015,'OP-L[00000514]',NULL,1,1,1,'2015-12-08 02:08:27',NULL,'2015-12-08 02:08:27',0,0),(47235,1,'AP20150100000041',1,32518,0,'PAYBACK',100,0,1,100,1,0,1,2015,'OP-L[00000515]',NULL,1,1,1,'2015-12-08 02:08:58',NULL,'2015-12-08 02:08:58',0,0),(47236,1,'AP20150100000041',2,32523,0,'PAYBACK',0,100,1,100,1,0,1,2015,'OP-L[00000515]',NULL,1,1,1,'2015-12-08 02:08:58',NULL,'2015-12-08 02:08:58',0,0),(47237,1,'AP20150200000032',1,32518,0,'PAYBACK',100,0,1,100,1,0,2,2015,'OP-L[00000516]',NULL,1,1,1,'2015-12-08 02:12:18',NULL,'2015-12-08 02:12:18',0,0),(47238,1,'AP20150200000032',2,32521,0,'PAYBACK',0,100,1,100,1,0,2,2015,'OP-L[00000516]',NULL,1,1,1,'2015-12-08 02:12:18',NULL,'2015-12-08 02:12:18',0,0),(47239,1,'AP20150200000033',1,32518,0,'PAYBACK',100,0,1,100,1,0,2,2015,'OP-L[00000517]',NULL,1,1,1,'2015-12-08 02:20:13',NULL,'2015-12-08 02:20:13',0,0),(47240,1,'AP20150200000033',2,32522,0,'PAYBACK',0,100,1,100,1,0,2,2015,'OP-L[00000517]',NULL,1,1,1,'2015-12-08 02:20:13',NULL,'2015-12-08 02:20:13',0,0),(47241,1,'AP20150200000034',1,32518,0,'PAYBACK',100,0,1,100,1,0,2,2015,'OP-L[00000518]',NULL,1,1,1,'2015-12-08 02:23:23',NULL,'2015-12-08 02:23:23',0,0),(47242,1,'AP20150200000034',2,32523,0,'PAYBACK',0,100,1,100,1,0,2,2015,'OP-L[00000518]',NULL,1,1,1,'2015-12-08 02:23:23',NULL,'2015-12-08 02:23:23',0,0),(47243,1,'AP20150300000016',1,32515,0,'PAYBACK',100,0,1,100,1,0,3,2015,'OP-L[00000519]',NULL,1,1,1,'2015-12-08 02:24:03',NULL,'2015-12-08 02:24:03',0,0),(47244,1,'AP20150300000016',2,32521,0,'PAYBACK',0,100,1,100,1,0,3,2015,'OP-L[00000519]',NULL,1,1,1,'2015-12-08 02:24:03',NULL,'2015-12-08 02:24:03',0,0),(47245,1,'AP20150300000017',1,32515,0,'PAYBACK',100,0,1,100,1,0,3,2015,'OP-L[00000520]',NULL,1,1,1,'2015-12-08 02:24:38',NULL,'2015-12-08 02:24:38',0,0),(47246,1,'AP20150300000017',2,32522,0,'PAYBACK',0,100,1,100,1,0,3,2015,'OP-L[00000520]',NULL,1,1,1,'2015-12-08 02:24:38',NULL,'2015-12-08 02:24:38',0,0),(47247,1,'AP20150300000018',1,32515,0,'PAYBACK',100,0,1,100,1,0,3,2015,'OP-L[00000521]',NULL,1,1,1,'2015-12-08 02:25:07',NULL,'2015-12-08 02:25:07',0,0),(47248,1,'AP20150300000018',2,32523,0,'PAYBACK',0,100,1,100,1,0,3,2015,'OP-L[00000521]',NULL,1,1,1,'2015-12-08 02:25:07',NULL,'2015-12-08 02:25:07',0,0),(47249,1,'AP20150400000023',1,32515,0,'PAYBACK',100,0,1,100,1,0,4,2015,'OP-L[00000522]',NULL,1,1,1,'2015-12-08 02:26:06',NULL,'2015-12-08 02:26:06',0,0),(47250,1,'AP20150400000023',2,32521,0,'PAYBACK',0,100,1,100,1,0,4,2015,'OP-L[00000522]',NULL,1,1,1,'2015-12-08 02:26:06',NULL,'2015-12-08 02:26:06',0,0),(47251,1,'AP20150400000024',1,32515,0,'PAYBACK',100,0,1,100,1,0,4,2015,'OP-L[00000523]',NULL,1,1,1,'2015-12-08 02:26:36',NULL,'2015-12-08 02:26:36',0,0),(47252,1,'AP20150400000024',2,32522,0,'PAYBACK',0,100,1,100,1,0,4,2015,'OP-L[00000523]',NULL,1,1,1,'2015-12-08 02:26:36',NULL,'2015-12-08 02:26:36',0,0),(47253,1,'AP20150400000025',1,32515,0,'PAYBACK',100,0,1,100,1,0,4,2015,'OP-L[00000524]',NULL,1,1,1,'2015-12-08 02:27:23',NULL,'2015-12-08 02:27:23',0,0),(47254,1,'AP20150400000025',2,32523,0,'PAYBACK',0,100,1,100,1,0,4,2015,'OP-L[00000524]',NULL,1,1,1,'2015-12-08 02:27:23',NULL,'2015-12-08 02:27:23',0,0),(47255,1,'AP20150500000017',1,32515,0,'PAYBACK',100,0,1,100,1,0,5,2015,'OP-L[00000525]',NULL,1,1,1,'2015-12-08 02:32:07',NULL,'2015-12-08 02:32:07',0,0),(47256,1,'AP20150500000017',2,32521,0,'PAYBACK',0,100,1,100,1,0,5,2015,'OP-L[00000525]',NULL,1,1,1,'2015-12-08 02:32:07',NULL,'2015-12-08 02:32:07',0,0),(47257,1,'AP20150500000018',1,32515,0,'PAYBACK',100,0,1,100,1,0,5,2015,'OP-L[00000526]',NULL,1,1,1,'2015-12-08 02:32:33',NULL,'2015-12-08 02:32:33',0,0),(47258,1,'AP20150500000018',2,32522,0,'PAYBACK',0,100,1,100,1,0,5,2015,'OP-L[00000526]',NULL,1,1,1,'2015-12-08 02:32:33',NULL,'2015-12-08 02:32:33',0,0),(47259,1,'AP20150500000019',1,32515,0,'PAYBACK',100,0,1,100,1,0,5,2015,'OP-L[00000527]',NULL,1,1,1,'2015-12-08 02:33:21',NULL,'2015-12-08 02:33:21',0,0),(47260,1,'AP20150500000019',2,32523,0,'PAYBACK',0,100,1,100,1,0,5,2015,'OP-L[00000527]',NULL,1,1,1,'2015-12-08 02:33:21',NULL,'2015-12-08 02:33:21',0,0),(47261,1,'AP20150600000022',1,32515,0,'PAYBACK',100,0,1,100,1,0,6,2015,'OP-L[00000528]',NULL,1,1,1,'2015-12-08 02:34:09',NULL,'2015-12-08 02:34:09',0,0),(47262,1,'AP20150600000022',2,32521,0,'PAYBACK',0,100,1,100,1,0,6,2015,'OP-L[00000528]',NULL,1,1,1,'2015-12-08 02:34:09',NULL,'2015-12-08 02:34:09',0,0),(47263,1,'AP20150600000023',1,32515,0,'PAYBACK',100,0,1,100,1,0,6,2015,'OP-L[00000529]',NULL,1,1,1,'2015-12-08 02:34:42',NULL,'2015-12-08 02:34:43',0,0),(47264,1,'AP20150600000023',2,32522,0,'PAYBACK',0,100,1,100,1,0,6,2015,'OP-L[00000529]',NULL,1,1,1,'2015-12-08 02:34:42',NULL,'2015-12-08 02:34:43',0,0),(47265,1,'AP20150600000024',1,32515,0,'PAYBACK',100,0,1,100,1,0,6,2015,'OP-L[00000530]',NULL,1,1,1,'2015-12-08 02:39:17',NULL,'2015-12-08 02:39:17',0,0),(47266,1,'AP20150600000024',2,32523,0,'PAYBACK',0,100,1,100,1,0,6,2015,'OP-L[00000530]',NULL,1,1,1,'2015-12-08 02:39:17',NULL,'2015-12-08 02:39:17',0,0),(47267,1,'AP20150700000017',1,32518,0,'PAYBACK',100,0,1,100,1,0,7,2015,'OP-L[00000531]',NULL,1,1,1,'2015-12-08 02:41:18',NULL,'2015-12-08 02:41:18',0,0),(47268,1,'AP20150700000017',2,32521,0,'PAYBACK',0,100,1,100,1,0,7,2015,'OP-L[00000531]',NULL,1,1,1,'2015-12-08 02:41:18',NULL,'2015-12-08 02:41:18',0,0),(47269,1,'AP20150700000018',1,32518,0,'PAYBACK',100,0,1,100,1,0,7,2015,'OP-L[00000532]',NULL,1,1,1,'2015-12-08 02:44:51',NULL,'2015-12-08 02:44:51',0,0),(47270,1,'AP20150700000018',2,32522,0,'PAYBACK',0,100,1,100,1,0,7,2015,'OP-L[00000532]',NULL,1,1,1,'2015-12-08 02:44:51',NULL,'2015-12-08 02:44:51',0,0),(47271,1,'AP20150700000019',1,32518,0,'PAYBACK',100,0,1,100,1,0,7,2015,'OP-L[00000533]',NULL,1,1,1,'2015-12-08 02:45:39',NULL,'2015-12-08 02:45:39',0,0),(47272,1,'AP20150700000019',2,32523,0,'PAYBACK',0,100,1,100,1,0,7,2015,'OP-L[00000533]',NULL,1,1,1,'2015-12-08 02:45:39',NULL,'2015-12-08 02:45:39',0,0),(47273,1,'AP20150800000024',1,32515,0,'PAYBACK',100,0,1,100,1,0,8,2015,'OP-L[00000534]',NULL,1,1,1,'2015-12-08 02:47:58',NULL,'2015-12-08 02:47:58',0,0),(47274,1,'AP20150800000024',2,32521,0,'PAYBACK',0,100,1,100,1,0,8,2015,'OP-L[00000534]',NULL,1,1,1,'2015-12-08 02:47:58',NULL,'2015-12-08 02:47:58',0,0),(47275,1,'AP20150800000025',1,32518,0,'PAYBACK',100,0,1,100,1,0,8,2015,'OP-L[00000535]',NULL,1,1,1,'2015-12-08 02:48:32',NULL,'2015-12-08 02:48:32',0,0),(47276,1,'AP20150800000025',2,32522,0,'PAYBACK',0,100,1,100,1,0,8,2015,'OP-L[00000535]',NULL,1,1,1,'2015-12-08 02:48:32',NULL,'2015-12-08 02:48:32',0,0),(47277,1,'AP20150800000026',1,32518,0,'PAYBACK',100,0,1,100,1,0,8,2015,'OP-L[00000536]',NULL,1,1,1,'2015-12-08 02:50:02',NULL,'2015-12-08 02:50:02',0,0),(47278,1,'AP20150800000026',2,32523,0,'PAYBACK',0,100,1,100,1,0,8,2015,'OP-L[00000536]',NULL,1,1,1,'2015-12-08 02:50:02',NULL,'2015-12-08 02:50:02',0,0),(47279,1,'AP20150900000018',1,32518,0,'PAYBACK',100,0,1,100,1,0,9,2015,'OP-L[00000537]',NULL,1,1,1,'2015-12-08 02:56:29',NULL,'2015-12-08 02:56:29',0,0),(47280,1,'AP20150900000018',2,32521,0,'PAYBACK',0,100,1,100,1,0,9,2015,'OP-L[00000537]',NULL,1,1,1,'2015-12-08 02:56:29',NULL,'2015-12-08 02:56:29',0,0),(47281,1,'AP20150900000019',1,32518,0,'PAYBACK',100,0,1,100,1,0,9,2015,'OP-L[00000538]',NULL,1,1,1,'2015-12-08 02:57:53',NULL,'2015-12-08 02:57:53',0,0),(47282,1,'AP20150900000019',2,32522,0,'PAYBACK',0,100,1,100,1,0,9,2015,'OP-L[00000538]',NULL,1,1,1,'2015-12-08 02:57:53',NULL,'2015-12-08 02:57:53',0,0),(47283,1,'AP20150900000020',1,32518,0,'PAYBACK',100,0,1,100,1,0,9,2015,'OP-L[00000539]',NULL,1,1,1,'2015-12-08 03:11:01',NULL,'2015-12-08 03:11:01',0,0),(47284,1,'AP20150900000020',2,32523,0,'PAYBACK',0,100,1,100,1,0,9,2015,'OP-L[00000539]',NULL,1,1,1,'2015-12-08 03:11:01',NULL,'2015-12-08 03:11:01',0,0),(47285,1,'AP20151000000021',1,32518,0,'PAYBACK',100,0,1,100,1,0,10,2015,'OP-L[00000540]',NULL,1,1,1,'2015-12-08 03:17:22',NULL,'2015-12-08 03:17:22',0,0),(47286,1,'AP20151000000021',2,32521,0,'PAYBACK',0,100,1,100,1,0,10,2015,'OP-L[00000540]',NULL,1,1,1,'2015-12-08 03:17:22',NULL,'2015-12-08 03:17:22',0,0),(47287,1,'AP20151000000022',1,32518,0,'PAYBACK',100,0,1,100,1,0,10,2015,'OP-L[00000541]',NULL,1,1,1,'2015-12-08 03:18:05',NULL,'2015-12-08 03:18:05',0,0),(47288,1,'AP20151000000022',2,32522,0,'PAYBACK',0,100,1,100,1,0,10,2015,'OP-L[00000541]',NULL,1,1,1,'2015-12-08 03:18:05',NULL,'2015-12-08 03:18:05',0,0),(47289,1,'AP20151000000023',1,32518,0,'PAYBACK',100,0,1,100,1,0,10,2015,'OP-L[00000542]',NULL,1,1,1,'2015-12-08 03:18:37',NULL,'2015-12-08 03:18:37',0,0),(47290,1,'AP20151000000023',2,32523,0,'PAYBACK',0,100,1,100,1,0,10,2015,'OP-L[00000542]',NULL,1,1,1,'2015-12-08 03:18:37',NULL,'2015-12-08 03:18:37',0,0),(47291,1,'AP20151100000302',1,32515,0,'PAYBACK',100,0,1,100,1,0,11,2015,'OP-L[00000543]',NULL,1,1,1,'2015-12-08 03:19:08',NULL,'2015-12-08 03:19:09',0,0),(47292,1,'AP20151100000302',2,32521,0,'PAYBACK',0,100,1,100,1,0,11,2015,'OP-L[00000543]',NULL,1,1,1,'2015-12-08 03:19:08',NULL,'2015-12-08 03:19:09',0,0),(47293,1,'AP20151100000303',1,32515,0,'PAYBACK',100,0,1,100,1,0,11,2015,'OP-L[00000544]',NULL,1,1,1,'2015-12-08 03:19:40',NULL,'2015-12-08 03:19:40',0,0),(47294,1,'AP20151100000303',2,32522,0,'PAYBACK',0,100,1,100,1,0,11,2015,'OP-L[00000544]',NULL,1,1,1,'2015-12-08 03:19:40',NULL,'2015-12-08 03:19:40',0,0),(47295,1,'AP20151100000304',1,32515,0,'PAYBACK',100,0,1,100,1,0,11,2015,'OP-L[00000545]',NULL,1,1,1,'2015-12-08 03:20:13',NULL,'2015-12-08 03:20:13',0,0),(47296,1,'AP20151100000304',2,32523,0,'PAYBACK',0,100,1,100,1,0,11,2015,'OP-L[00000545]',NULL,1,1,1,'2015-12-08 03:20:13',NULL,'2015-12-08 03:20:13',0,0),(47309,1,'AP20151200000171',1,32515,0,'PAYBACK',100,0,1,100,1,0,12,2015,'OP-L[00000552]',NULL,1,1,1,'2015-12-08 03:23:35',NULL,'2015-12-08 03:23:35',0,0),(47310,1,'AP20151200000171',2,32521,0,'PAYBACK',0,100,1,100,1,0,12,2015,'OP-L[00000552]',NULL,1,1,1,'2015-12-08 03:23:35',NULL,'2015-12-08 03:23:35',0,0),(47313,1,'AP20151200000173',1,32515,0,'PAYBACK',100,0,1,100,1,0,12,2015,'OP-L[00000554]',NULL,1,1,1,'2015-12-08 03:25:12',NULL,'2015-12-08 03:25:12',0,0),(47314,1,'AP20151200000173',2,32523,0,'PAYBACK',0,100,1,100,1,0,12,2015,'OP-L[00000554]',NULL,1,1,1,'2015-12-08 03:25:12',NULL,'2015-12-08 03:25:12',0,0),(47315,1,'AR20150200000007',1,32526,0,'MInggu 3 feb',3500,0,1,3500,1,0,2,2015,'OR[00000008]','',NULL,1,1,'2015-12-08 03:30:42',NULL,'2015-12-08 03:30:42',0,0),(47316,1,'AR20150200000007',2,32518,0,'MInggu 3 feb',0,3500,1,3500,1,0,2,2015,'OR[00000008]','',NULL,1,1,'2015-12-08 03:30:42',NULL,'2015-12-08 03:30:42',0,0),(47319,1,'AR20150100000012',1,32526,0,'MInggu Pertama  Feb',3500,0,1,3500,1,0,1,2015,'OR[00000002]','',NULL,1,1,'2015-12-08 03:54:58',NULL,'2015-12-08 03:54:58',0,0),(47320,1,'AR20150100000012',2,32518,0,'MInggu Pertama  Feb',0,3500,1,3500,1,0,1,2015,'OR[00000002]','',NULL,1,1,'2015-12-08 03:54:58',NULL,'2015-12-08 03:54:58',0,0),(47321,1,'AR20150100000013',1,32526,0,'MInggu 3 Jan',3350,0,1,3350,1,0,1,2015,'OR[00000003]','',NULL,1,1,'2015-12-08 03:55:22',NULL,'2015-12-08 03:55:22',0,0),(47322,1,'AR20150100000013',2,32518,0,'MInggu 3 Jan',0,3350,1,3350,1,0,1,2015,'OR[00000003]','',NULL,1,1,'2015-12-08 03:55:22',NULL,'2015-12-08 03:55:22',0,0),(47323,1,'AR20150100000014',1,32526,0,'MInggu 4 Jan',3210,0,1,3210,1,0,1,2015,'OR[00000004]','',NULL,1,1,'2015-12-08 03:55:51',NULL,'2015-12-08 03:55:51',0,0),(47324,1,'AR20150100000014',2,32518,0,'MInggu 4 Jan',0,3210,1,3210,1,0,1,2015,'OR[00000004]','',NULL,1,1,'2015-12-08 03:55:51',NULL,'2015-12-08 03:55:51',0,0),(47325,1,'AR20150100000015',1,32526,0,'MInggu 5 Jan',3150,0,1,3150,1,0,1,2015,'OR[00000005]','',NULL,1,1,'2015-12-08 03:56:17',NULL,'2015-12-08 03:56:17',0,0),(47326,1,'AR20150100000015',2,32518,0,'MInggu 5 Jan',0,3150,1,3150,1,0,1,2015,'OR[00000005]','',NULL,1,1,'2015-12-08 03:56:17',NULL,'2015-12-08 03:56:17',0,0),(47327,1,'AR20150200000008',1,32526,0,'MInggu 1 feb',3650,0,1,3650,1,0,2,2015,'OR[00000006]','',NULL,1,1,'2015-12-08 03:56:41',NULL,'2015-12-08 03:56:41',0,0),(47328,1,'AR20150200000008',2,32518,0,'MInggu 1 feb',0,3650,1,3650,1,0,2,2015,'OR[00000006]','',NULL,1,1,'2015-12-08 03:56:41',NULL,'2015-12-08 03:56:41',0,0),(47329,1,'AR20150200000009',1,32526,0,'MInggu 2 feb',3150,0,1,3150,1,0,2,2015,'OR[00000007]','',NULL,1,1,'2015-12-08 03:57:03',NULL,'2015-12-08 03:57:03',0,0),(47330,1,'AR20150200000009',2,32518,0,'MInggu 2 feb',0,3150,1,3150,1,0,2,2015,'OR[00000007]','',NULL,1,1,'2015-12-08 03:57:03',NULL,'2015-12-08 03:57:03',0,0),(47331,1,'AR20150200000010',1,32526,0,'MInggu 4 feb',3852,0,1,3852,1,0,2,2015,'OR[00000009]','',NULL,1,1,'2015-12-08 03:57:32',NULL,'2015-12-08 03:57:32',0,0),(47332,1,'AR20150200000010',2,32518,0,'MInggu 4 feb',0,3852,1,3852,1,0,2,2015,'OR[00000009]','',NULL,1,1,'2015-12-08 03:57:32',NULL,'2015-12-08 03:57:32',0,0),(47333,1,'AR20150300000005',1,32526,0,'Sales 1st week- mac',3655,0,1,3655,1,0,3,2015,'OR[00000010]','',NULL,1,1,'2015-12-08 03:57:55',NULL,'2015-12-08 03:57:55',0,0),(47334,1,'AR20150300000005',2,32518,0,'Sales 1st week- mac',0,3655,1,3655,1,0,3,2015,'OR[00000010]','',NULL,1,1,'2015-12-08 03:57:55',NULL,'2015-12-08 03:57:55',0,0),(47335,1,'AR20150300000006',1,32526,0,'Sales 2nd week- mac',3050,0,1,3050,1,0,3,2015,'OR[00000011]','',NULL,1,1,'2015-12-08 03:58:23',NULL,'2015-12-08 03:58:23',0,0),(47336,1,'AR20150300000006',2,32518,0,'Sales 2nd week- mac',0,3050,1,3050,1,0,3,2015,'OR[00000011]','',NULL,1,1,'2015-12-08 03:58:23',NULL,'2015-12-08 03:58:23',0,0),(47337,1,'AR20150300000007',1,32526,0,'Sales 3rd week- mac',3965,0,1,3965,1,0,3,2015,'OR[00000012]','',NULL,1,1,'2015-12-08 03:58:44',NULL,'2015-12-08 03:58:44',0,0),(47338,1,'AR20150300000007',2,32518,0,'Sales 3rd week- mac',0,3965,1,3965,1,0,3,2015,'OR[00000012]','',NULL,1,1,'2015-12-08 03:58:44',NULL,'2015-12-08 03:58:44',0,0),(47341,1,'AR20150300000008',1,32526,0,'Sales 4nd week- mac',3754,0,1,3754,1,0,3,2015,'OR[00000013]','',NULL,1,1,'2015-12-08 03:59:09',NULL,'2015-12-08 03:59:09',0,0),(47342,1,'AR20150300000008',2,32518,0,'Sales 4nd week- mac',0,3754,1,3754,1,0,3,2015,'OR[00000013]','',NULL,1,1,'2015-12-08 03:59:09',NULL,'2015-12-08 03:59:09',0,0),(47343,1,'AR20150400000005',1,32526,0,'Sales 1st week- apr',3350,0,1,3350,1,0,4,2015,'OR[00000014]','',NULL,1,1,'2015-12-08 03:59:41',NULL,'2015-12-08 03:59:41',0,0),(47344,1,'AR20150400000005',2,32518,0,'Sales 1st week- apr',0,3350,1,3350,1,0,4,2015,'OR[00000014]','',NULL,1,1,'2015-12-08 03:59:41',NULL,'2015-12-08 03:59:41',0,0),(47345,1,'AR20150400000006',1,32526,0,'Sales 2nd week- apr',3840,0,1,3840,1,0,4,2015,'OR[00000015]','',NULL,1,1,'2015-12-08 04:00:06',NULL,'2015-12-08 04:00:06',0,0),(47346,1,'AR20150400000006',2,32518,0,'Sales 2nd week- apr',0,3840,1,3840,1,0,4,2015,'OR[00000015]','',NULL,1,1,'2015-12-08 04:00:06',NULL,'2015-12-08 04:00:06',0,0),(47347,1,'AR20150400000007',1,32526,0,'Sales 3rd week- apr',3812,0,1,3812,1,0,4,2015,'OR[00000016]','',NULL,1,1,'2015-12-08 04:00:33',NULL,'2015-12-08 04:00:33',0,0),(47348,1,'AR20150400000007',2,32518,0,'Sales 3rd week- apr',0,3812,1,3812,1,0,4,2015,'OR[00000016]','',NULL,1,1,'2015-12-08 04:00:33',NULL,'2015-12-08 04:00:33',0,0),(47349,1,'AR20150400000008',1,32526,0,'Sales 4th week- apr',3954,0,1,3954,1,0,4,2015,'OR[00000017]','',NULL,1,1,'2015-12-08 04:00:59',NULL,'2015-12-08 04:00:59',0,0),(47350,1,'AR20150400000008',2,32518,0,'Sales 4th week- apr',0,3954,1,3954,1,0,4,2015,'OR[00000017]','',NULL,1,1,'2015-12-08 04:00:59',NULL,'2015-12-08 04:00:59',0,0),(47351,1,'AR20150500000006',1,32526,0,'Sales 1st week- may',3951,0,1,3951,1,0,5,2015,'OR[00000018]','',NULL,1,1,'2015-12-08 04:01:19',NULL,'2015-12-08 04:01:20',0,0),(47352,1,'AR20150500000006',2,32518,0,'Sales 1st week- may',0,3951,1,3951,1,0,5,2015,'OR[00000018]','',NULL,1,1,'2015-12-08 04:01:19',NULL,'2015-12-08 04:01:20',0,0),(47353,1,'AR20150500000007',1,32526,0,'Sales 2nd week- apr',3845,0,1,3845,1,0,5,2015,'OR[00000019]','',NULL,1,1,'2015-12-08 04:01:43',NULL,'2015-12-08 04:01:44',0,0),(47354,1,'AR20150500000007',2,32518,0,'Sales 2nd week- apr',0,3845,1,3845,1,0,5,2015,'OR[00000019]','',NULL,1,1,'2015-12-08 04:01:44',NULL,'2015-12-08 04:01:44',0,0),(47355,1,'AR20150500000008',1,32526,0,'Sales 3rd week- apr',3888,0,1,3888,1,0,5,2015,'OR[00000020]','',NULL,1,1,'2015-12-08 04:02:10',NULL,'2015-12-08 04:02:10',0,0),(47356,1,'AR20150500000008',2,32518,0,'Sales 3rd week- apr',0,3888,1,3888,1,0,5,2015,'OR[00000020]','',NULL,1,1,'2015-12-08 04:02:10',NULL,'2015-12-08 04:02:10',0,0),(47359,1,'AR20150500000010',1,32526,0,'Sales 4th week- apr',3841,0,1,3841,1,0,5,2015,'OR[00000021]','',NULL,1,1,'2015-12-08 04:02:42',NULL,'2015-12-08 04:02:42',0,0),(47360,1,'AR20150500000010',2,32518,0,'Sales 4th week- apr',0,3841,1,3841,1,0,5,2015,'OR[00000021]','',NULL,1,1,'2015-12-08 04:02:42',NULL,'2015-12-08 04:02:42',0,0),(47363,1,'AP20151200000175',1,32517,0,'petrol,parking, tol dec',997,0,1,997,1,0,12,2015,'OP-E[00000557]',NULL,1,1,1,'2015-12-08 04:15:30',NULL,'2015-12-08 04:15:30',0,0),(47364,1,'AP20151200000175',2,32541,0,'petrol,parking, tol dec',0,997,1,997,1,0,12,2015,'OP-E[00000557]',NULL,1,1,1,'2015-12-08 04:15:30',NULL,'2015-12-08 04:15:30',0,0),(47369,1,'AP20151200000178',1,32517,0,'maxis dec1',1000,0,1,1000,1,0,12,2015,'OP-E[00000389]',NULL,1,1,1,'2015-12-08 04:16:30',NULL,'2015-12-08 04:16:30',0,0),(47370,1,'AP20151200000178',2,32550,0,'maxis dec1',0,1000,1,1000,1,0,12,2015,'OP-E[00000389]',NULL,1,1,1,'2015-12-08 04:16:30',NULL,'2015-12-08 04:16:30',0,0),(47371,1,'AR20150500000011',1,32526,0,'Sales 5th week- apr',3987,0,1,3987,1,0,5,2015,'OR[00000022]','',NULL,1,1,'2015-12-08 04:18:17',NULL,'2015-12-08 04:18:17',0,0),(47372,1,'AR20150500000011',2,32518,0,'Sales 5th week- apr',0,3987,1,3987,1,0,5,2015,'OR[00000022]','',NULL,1,1,'2015-12-08 04:18:17',NULL,'2015-12-08 04:18:17',0,0),(47373,1,'AR20150600000005',1,32526,0,'Sales 1st week- jun',3540,0,1,3540,1,0,6,2015,'OR[00000023]','',NULL,1,1,'2015-12-08 04:18:41',NULL,'2015-12-08 04:18:41',0,0),(47374,1,'AR20150600000005',2,32518,0,'Sales 1st week- jun',0,3540,1,3540,1,0,6,2015,'OR[00000023]','',NULL,1,1,'2015-12-08 04:18:41',NULL,'2015-12-08 04:18:41',0,0),(47375,1,'AR20150600000006',1,32526,0,'Sales 2nd week- apr',3100,0,1,3100,1,0,6,2015,'OR[00000024]','',NULL,1,1,'2015-12-08 04:19:04',NULL,'2015-12-08 04:19:04',0,0),(47376,1,'AR20150600000006',2,32518,0,'Sales 2nd week- apr',0,3100,1,3100,1,0,6,2015,'OR[00000024]','',NULL,1,1,'2015-12-08 04:19:04',NULL,'2015-12-08 04:19:04',0,0),(47377,1,'AR20150600000007',1,32526,0,'Sales 3rd week- apr',3200,0,1,3200,1,0,6,2015,'OR[00000025]','',NULL,1,1,'2015-12-08 04:19:36',NULL,'2015-12-08 04:19:36',0,0),(47378,1,'AR20150600000007',2,32518,0,'Sales 3rd week- apr',0,3200,1,3200,1,0,6,2015,'OR[00000025]','',NULL,1,1,'2015-12-08 04:19:36',NULL,'2015-12-08 04:19:36',0,0),(47381,1,'AR20150600000008',1,32526,0,'Sales 4th week- apr',3960,0,1,3960,1,0,6,2015,'OR[00000026]','',NULL,1,1,'2015-12-08 04:20:02',NULL,'2015-12-08 04:20:02',0,0),(47382,1,'AR20150600000008',2,32518,0,'Sales 4th week- apr',0,3960,1,3960,1,0,6,2015,'OR[00000026]','',NULL,1,1,'2015-12-08 04:20:02',NULL,'2015-12-08 04:20:02',0,0),(47385,1,'AR20150700000005',1,32526,0,'Sales 1st week- jul',3410,0,1,3410,1,0,7,2015,'OR[00000027]','',NULL,1,1,'2015-12-08 04:20:27',NULL,'2015-12-08 04:20:27',0,0),(47386,1,'AR20150700000005',2,32518,0,'Sales 1st week- jul',0,3410,1,3410,1,0,7,2015,'OR[00000027]','',NULL,1,1,'2015-12-08 04:20:27',NULL,'2015-12-08 04:20:27',0,0),(47387,1,'AR20150700000006',1,32526,0,'sales 2nd week - jul',3650,0,1,3650,1,0,7,2015,'OR[00000028]','',NULL,1,1,'2015-12-08 04:20:53',NULL,'2015-12-08 04:20:53',0,0),(47388,1,'AR20150700000006',2,32518,0,'sales 2nd week - jul',0,3650,1,3650,1,0,7,2015,'OR[00000028]','',NULL,1,1,'2015-12-08 04:20:53',NULL,'2015-12-08 04:20:53',0,0),(47389,1,'AR20150700000007',1,32526,0,'sales 3rd week - jul',3550,0,1,3550,1,0,7,2015,'OR[00000029]','',NULL,1,1,'2015-12-08 04:21:17',NULL,'2015-12-08 04:21:17',0,0),(47390,1,'AR20150700000007',2,32518,0,'sales 3rd week - jul',0,3550,1,3550,1,0,7,2015,'OR[00000029]','',NULL,1,1,'2015-12-08 04:21:17',NULL,'2015-12-08 04:21:17',0,0),(47391,1,'AR20150700000008',1,32526,0,'sales 4th week - jul',3450,0,1,3450,1,0,7,2015,'OR[00000030]','',NULL,1,1,'2015-12-08 04:21:39',NULL,'2015-12-08 04:21:39',0,0),(47392,1,'AR20150700000008',2,32518,0,'sales 4th week - jul',0,3450,1,3450,1,0,7,2015,'OR[00000030]','',NULL,1,1,'2015-12-08 04:21:39',NULL,'2015-12-08 04:21:39',0,0),(47393,1,'AR20150800000007',1,32526,0,'sales 1st week - Aug',3500,0,1,3500,1,0,8,2015,'OR[00000031]','',NULL,1,1,'2015-12-08 04:22:04',NULL,'2015-12-08 04:22:04',0,0),(47394,1,'AR20150800000007',2,32518,0,'sales 1st week - Aug',0,3500,1,3500,1,0,8,2015,'OR[00000031]','',NULL,1,1,'2015-12-08 04:22:04',NULL,'2015-12-08 04:22:04',0,0),(47397,1,'AR20150800000008',1,32526,0,'sales 2nd week - Aug',3365,0,1,3365,1,0,8,2015,'OR[00000032]','',NULL,1,1,'2015-12-08 04:22:31',NULL,'2015-12-08 04:22:31',0,0),(47398,1,'AR20150800000008',2,32518,0,'sales 2nd week - Aug',0,3365,1,3365,1,0,8,2015,'OR[00000032]','',NULL,1,1,'2015-12-08 04:22:31',NULL,'2015-12-08 04:22:31',0,0),(47399,1,'AR20150800000009',1,32526,0,'sales 3rd week - Aug',3870,0,1,3870,1,0,8,2015,'OR[00000033]','',NULL,1,1,'2015-12-08 04:22:55',NULL,'2015-12-08 04:22:55',0,0),(47400,1,'AR20150800000009',2,32518,0,'sales 3rd week - Aug',0,3870,1,3870,1,0,8,2015,'OR[00000033]','',NULL,1,1,'2015-12-08 04:22:55',NULL,'2015-12-08 04:22:55',0,0),(47401,1,'AP20151200000182',1,32516,0,'Total value',789,0,1,789,1,0,12,2015,'OP-E[00000558]',NULL,1,1,1,'2015-12-08 04:23:05',NULL,'2015-12-08 04:23:05',0,0),(47402,1,'AP20151200000182',2,32529,0,'Total value',0,789,1,789,1,0,12,2015,'OP-E[00000558]',NULL,1,1,1,'2015-12-08 04:23:05',NULL,'2015-12-08 04:23:05',0,0),(47403,1,'AR20150800000010',1,32526,0,'Sales 3rd week - Aug',3253,0,1,3253,1,0,8,2015,'OR[00000034]','',NULL,1,1,'2015-12-08 04:23:16',NULL,'2015-12-08 04:23:16',0,0),(47404,1,'AR20150800000010',2,32518,0,'Sales 3rd week - Aug',0,3253,1,3253,1,0,8,2015,'OR[00000034]','',NULL,1,1,'2015-12-08 04:23:16',NULL,'2015-12-08 04:23:16',0,0),(47405,1,'AR20150800000011',1,32526,0,'Sales 5th week - Aug',3640,0,1,3640,1,0,8,2015,'OR[00000035]','',NULL,1,1,'2015-12-08 04:23:37',NULL,'2015-12-08 04:23:38',0,0),(47406,1,'AR20150800000011',2,32518,0,'Sales 5th week - Aug',0,3640,1,3640,1,0,8,2015,'OR[00000035]','',NULL,1,1,'2015-12-08 04:23:37',NULL,'2015-12-08 04:23:38',0,0),(47407,1,'AR20150900000005',1,32526,0,'Sales 1st week - Sept',3850,0,1,3850,1,0,9,2015,'OR[00000036]','',NULL,1,1,'2015-12-08 04:23:58',NULL,'2015-12-08 04:23:58',0,0),(47408,1,'AR20150900000005',2,32518,0,'Sales 1st week - Sept',0,3850,1,3850,1,0,9,2015,'OR[00000036]','',NULL,1,1,'2015-12-08 04:23:58',NULL,'2015-12-08 04:23:58',0,0),(47411,1,'AR20150900000006',1,32526,0,'Sales 2nd week - Sept',3470,0,1,3470,1,0,9,2015,'OR[00000037]','',NULL,1,1,'2015-12-08 04:24:19',NULL,'2015-12-08 04:24:20',0,0),(47412,1,'AR20150900000006',2,32518,0,'Sales 2nd week - Sept',0,3470,1,3470,1,0,9,2015,'OR[00000037]','',NULL,1,1,'2015-12-08 04:24:19',NULL,'2015-12-08 04:24:20',0,0),(47415,1,'AR20150900000007',1,32526,0,'Sales 3rd week - Sept',3680,0,1,3680,1,0,9,2015,'OR[00000038]','',NULL,1,1,'2015-12-08 04:24:42',NULL,'2015-12-08 04:24:43',0,0),(47416,1,'AR20150900000007',2,32518,0,'Sales 3rd week - Sept',0,3680,1,3680,1,0,9,2015,'OR[00000038]','',NULL,1,1,'2015-12-08 04:24:43',NULL,'2015-12-08 04:24:43',0,0),(47417,1,'AR20150900000008',1,32526,0,'Sales 4thweek - Sept',3580,0,1,3580,1,0,9,2015,'OR[00000039]','',NULL,1,1,'2015-12-08 04:25:03',NULL,'2015-12-08 04:25:03',0,0),(47418,1,'AR20150900000008',2,32518,0,'Sales 4thweek - Sept',0,3580,1,3580,1,0,9,2015,'OR[00000039]','',NULL,1,1,'2015-12-08 04:25:03',NULL,'2015-12-08 04:25:03',0,0),(47419,1,'AP20151200000185',1,32516,0,'ADasd',7,0,1,7,1,0,12,2015,'OP-E[00000559]',NULL,1,1,1,'2015-12-08 04:25:31',NULL,'2015-12-08 04:25:32',0,0),(47420,1,'AP20151200000185',2,32534,0,'ADasd',0,7,1,7,1,0,12,2015,'OP-E[00000559]',NULL,1,1,1,'2015-12-08 04:25:31',NULL,'2015-12-08 04:25:32',0,0),(47421,1,'AR20151000000006',1,32526,0,'Sales 1st week - OCt',3980,0,1,3980,1,0,10,2015,'OR[00000040]','',NULL,1,1,'2015-12-08 04:25:33',NULL,'2015-12-08 04:25:33',0,0),(47422,1,'AR20151000000006',2,32518,0,'Sales 1st week - OCt',0,3980,1,3980,1,0,10,2015,'OR[00000040]','',NULL,1,1,'2015-12-08 04:25:33',NULL,'2015-12-08 04:25:33',0,0),(47423,1,'AR20151000000007',1,32526,0,'Sales 2nd week - OCt',3680,0,1,3680,1,0,10,2015,'OR[00000041]','',NULL,1,1,'2015-12-08 04:25:56',NULL,'2015-12-08 04:25:57',0,0),(47424,1,'AR20151000000007',2,32518,0,'Sales 2nd week - OCt',0,3680,1,3680,1,0,10,2015,'OR[00000041]','',NULL,1,1,'2015-12-08 04:25:56',NULL,'2015-12-08 04:25:57',0,0),(47427,1,'AR20151000000008',1,32526,0,'Sales 2nd week - OCt',3690,0,1,3690,1,0,10,2015,'OR[00000043]','',NULL,1,1,'2015-12-08 04:26:18',NULL,'2015-12-08 04:26:18',0,0),(47428,1,'AR20151000000008',2,32518,0,'Sales 2nd week - OCt',0,3690,1,3690,1,0,10,2015,'OR[00000043]','',NULL,1,1,'2015-12-08 04:26:18',NULL,'2015-12-08 04:26:18',0,0),(47429,1,'AP20151200000187',1,32515,0,'rental of equipment dec',800,0,1,800,1,0,12,2015,'OP-E[00000342]',NULL,1,1,1,'2015-12-08 04:26:29',NULL,'2015-12-08 04:26:29',0,0),(47430,1,'AP20151200000187',2,32545,0,'rental of equipment dec',0,800,1,800,1,0,12,2015,'OP-E[00000342]',NULL,1,1,1,'2015-12-08 04:26:29',NULL,'2015-12-08 04:26:29',0,0),(47463,1,'AR20150100000019',1,32526,0,'MInggu Pertama Jan',3200,0,1,3200,1,0,1,2015,'OR[00000001]','',NULL,1,1,'2015-12-08 07:18:28',NULL,'2015-12-08 07:18:28',0,0),(47464,1,'AR20150100000019',2,32518,0,'MInggu Pertama Jan',0,3200,1,3200,1,0,1,2015,'OR[00000001]','',NULL,1,1,'2015-12-08 07:18:28',NULL,'2015-12-08 07:18:28',0,0),(47467,1,'AP20151200000198',1,32518,0,'DISKET',1899,0,1,1899,1,0,12,2015,'OP-A[00000510]',NULL,1,1,1,'2015-12-08 07:21:06',NULL,'2015-12-08 07:21:06',0,0),(47468,1,'AP20151200000198',2,32506,0,'DISKET',0,1899,1,1899,1,0,12,2015,'OP-A[00000510]',NULL,1,1,1,'2015-12-08 07:21:06',NULL,'2015-12-08 07:21:06',0,0),(47469,1,'AP20151200000199',1,32515,0,'Total value',100,0,1,100,1,0,12,2015,'OP-L[00000563]',NULL,1,1,1,'2015-12-08 10:50:02',NULL,'2015-12-08 10:50:02',0,0),(47470,1,'AP20151200000199',2,32524,0,'Total value',0,100,1,100,1,0,12,2015,'OP-L[00000563]',NULL,1,1,1,'2015-12-08 10:50:02',NULL,'2015-12-08 10:50:02',0,0),(47471,1,'AP20151200000200',1,32515,0,'farid',3000,0,1,3000,1,0,12,2015,'TT[00000564]',NULL,0,1,1,'2015-12-08 11:31:57',NULL,'2015-12-08 11:31:57',0,0),(47472,1,'AP20151200000200',2,32515,0,'farid',0,3000,1,3000,1,0,12,2015,'TT[00000564]',NULL,0,1,1,'2015-12-08 11:31:57',NULL,'2015-12-08 11:31:57',0,0),(47477,1,'AR20150100000022',1,32526,0,'tudung neelofa rrr',250,0,1,250,1,0,1,2015,'OR[00000053]','',NULL,1,93,'2015-12-09 01:35:29',NULL,'2015-12-09 01:35:29',0,0),(47478,1,'AR20150100000022',2,32518,0,'tudung neelofa rrr',0,250,1,250,1,0,1,2015,'OR[00000053]','',NULL,1,93,'2015-12-09 01:35:29',NULL,'2015-12-09 01:35:29',0,0),(47479,1,'AR20150100000022',3,32526,0,'tudung farida',750,0,1,750,1,0,1,2015,'OR[00000053]','',NULL,1,93,'2015-12-09 01:35:29',NULL,'2015-12-09 01:35:29',0,0),(47480,1,'AR20150100000022',4,32518,0,'tudung farida',0,750,1,750,1,0,1,2015,'OR[00000053]','',NULL,1,93,'2015-12-09 01:35:29',NULL,'2015-12-09 01:35:29',0,0),(47481,1,'AP20150100000042',1,32518,0,'beli kain',200,0,1,200,1,0,1,2015,'OP-C[00000565]',NULL,1,1,93,'2015-12-09 01:40:06',NULL,'2015-12-09 01:40:06',0,0),(47482,1,'AP20150100000042',2,32527,0,'beli kain',0,200,1,200,1,0,1,2015,'OP-C[00000565]',NULL,1,1,93,'2015-12-09 01:40:06',NULL,'2015-12-09 01:40:06',0,0),(47483,1,'AP20150200000035',1,32518,0,'Rental bulan feb.',400,0,1,400,1,0,2,2015,'OP-E[00000566]',NULL,1,1,93,'2015-12-09 01:42:48',NULL,'2015-12-09 01:42:48',0,0),(47484,1,'AP20150200000035',2,32547,0,'Rental bulan feb.',0,400,1,400,1,0,2,2015,'OP-E[00000566]',NULL,1,1,93,'2015-12-09 01:42:48',NULL,'2015-12-09 01:42:48',0,0),(47485,1,'AP20150600000025',1,32518,0,'byrn semula bulan 6',200,0,1,200,1,0,6,2015,'OP-L[00000567]',NULL,1,1,93,'2015-12-09 01:47:00',NULL,'2015-12-09 01:47:00',0,0),(47486,1,'AP20150600000025',2,32521,0,'byrn semula bulan 6',0,200,1,200,1,0,6,2015,'OP-L[00000567]',NULL,1,1,93,'2015-12-09 01:47:00',NULL,'2015-12-09 01:47:00',0,0),(47487,1,'AP20151100000305',1,32518,0,'dell',2000,0,1,2000,1,0,11,2015,'OP-A[00000568]',NULL,1,1,93,'2015-12-09 01:48:44',NULL,'2015-12-09 01:48:44',0,0),(47488,1,'AP20151100000305',2,32506,0,'dell',0,2000,1,2000,1,0,11,2015,'OP-A[00000568]',NULL,1,1,93,'2015-12-09 01:48:44',NULL,'2015-12-09 01:48:44',0,0),(47489,1,'AP20150100000043',1,32518,0,'test',1000,0,1,1000,1,0,1,2015,'TT[00000569]',NULL,0,1,93,'2015-12-09 01:51:33',NULL,'2015-12-09 01:51:33',0,0),(47490,1,'AP20150100000043',2,32515,0,'test',0,1000,1,1000,1,0,1,2015,'TT[00000569]',NULL,0,1,93,'2015-12-09 01:51:33',NULL,'2015-12-09 01:51:33',0,0),(47491,1,'AP20151200000201',1,32518,0,'MOTORE',1989,0,1,1989,1,0,12,2015,'OP-A[00000511]',NULL,1,1,1,'2015-12-09 07:59:19',NULL,'2015-12-09 07:59:19',0,0),(47492,1,'AP20151200000201',2,32507,0,'MOTORE',0,1989,1,1989,1,0,12,2015,'OP-A[00000511]',NULL,1,1,1,'2015-12-09 07:59:19',NULL,'2015-12-09 07:59:19',0,0),(47493,1,'AP20151200000201',3,32518,0,'Total value',70,0,1,70,1,0,12,2015,'OP-A[00000511]',NULL,1,1,1,'2015-12-09 07:59:19',NULL,'2015-12-09 07:59:19',0,0),(47494,1,'AP20151200000201',4,32506,0,'Total value',0,70,1,70,1,0,12,2015,'OP-A[00000511]',NULL,1,1,1,'2015-12-09 07:59:19',NULL,'2015-12-09 07:59:19',0,0),(47495,1,'AR20151200000017',1,32526,0,'jual sayur',100,0,1,100,1,0,12,2015,'OR[00000054]','',NULL,1,1,'2015-12-10 08:23:51',NULL,'2015-12-10 08:23:51',0,0),(47496,1,'AR20151200000017',2,32518,0,'jual sayur',0,100,1,100,1,0,12,2015,'OR[00000054]','',NULL,1,1,'2015-12-10 08:23:51',NULL,'2015-12-10 08:23:51',0,0),(47497,1,'AP20151200000202',1,32518,0,'beli pen',10,0,1,10,1,0,12,2015,'OP-E[00000570]',NULL,1,1,1,'2015-12-10 08:24:45',NULL,'2015-12-10 08:24:45',0,0),(47498,1,'AP20151200000202',2,32540,0,'beli pen',0,10,1,10,1,0,12,2015,'OP-E[00000570]',NULL,1,1,1,'2015-12-10 08:24:45',NULL,'2015-12-10 08:24:45',0,0),(47499,1,'AR20150100000023',1,32526,0,'jual baju ',250,0,1,250,1,0,1,2015,'OR[00000055]','',NULL,1,93,'2015-12-10 08:29:26',NULL,'2015-12-10 08:29:26',0,0),(47500,1,'AR20150100000023',2,32518,0,'jual baju ',0,250,1,250,1,0,1,2015,'OR[00000055]','',NULL,1,93,'2015-12-10 08:29:26',NULL,'2015-12-10 08:29:26',0,0),(47501,1,'AP20150100000044',1,32518,0,'beli kasut ',500,0,1,500,1,0,1,2015,'OP-C[00000571]',NULL,1,1,93,'2015-12-10 08:30:28',NULL,'2015-12-10 08:30:28',0,0),(47502,1,'AP20150100000044',2,32527,0,'beli kasut ',0,500,1,500,1,0,1,2015,'OP-C[00000571]',NULL,1,1,93,'2015-12-10 08:30:28',NULL,'2015-12-10 08:30:28',0,0),(47503,1,'AP20151200000203',1,32518,0,'sewa',5,0,1,5,1,0,12,2015,'OP-E[00000572]',NULL,1,1,93,'2015-12-10 08:31:34',NULL,'2015-12-10 08:31:34',0,0),(47504,1,'AP20151200000203',2,32547,0,'sewa',0,5,1,5,1,0,12,2015,'OP-E[00000572]',NULL,1,1,93,'2015-12-10 08:31:34',NULL,'2015-12-10 08:31:34',0,0),(47521,1,'AP20151200000005',1,32515,0,'Total value',144,0,1,144,1,0,12,2015,'OP-L[00000001]',NULL,1,1,106,'2015-12-28 04:21:36',NULL,'2016-08-17 09:11:28',0,0),(47522,1,'AP20151200000005',2,32524,0,'Total value',0,144,1,144,1,0,12,2015,'OP-L[00000001]',NULL,1,1,106,'2015-12-28 04:21:36',NULL,'2016-08-17 09:11:24',0,0),(47525,1,'AP20151200000204',1,32521,0,'Asset Payment',1122,0,1,1122,1,0,12,2015,'LR[00000279]',NULL,0,1,84,'2016-02-18 05:07:50',NULL,'2016-02-18 05:07:50',0,0),(47526,1,'AP20151200000204',2,32516,0,'Asset Payment',0,1122,1,1122,1,0,12,2015,'LR[00000279]',NULL,0,1,84,'2016-02-18 05:07:50',NULL,'2016-02-18 05:07:50',0,0),(47527,1,'AP20151200000205',1,32521,0,'Bills Payment',1000,0,1,1000,1,0,12,2015,'LR[00000473]',NULL,0,1,84,'2016-02-18 05:08:23',NULL,'2016-02-18 05:08:23',0,0),(47528,1,'AP20151200000205',2,32516,0,'Bills Payment',0,1000,1,1000,1,0,12,2015,'LR[00000473]',NULL,0,1,84,'2016-02-18 05:08:23',NULL,'2016-02-18 05:08:23',0,0),(47589,1,'AP20160400000013',1,32515,0,'loan 2',200,0,1,200,1,0,4,2016,'OP-L[00000580]',NULL,1,1,1,'2016-04-26 02:31:46',NULL,'2016-04-26 02:31:46',0,0),(47590,1,'AP20160400000013',2,32522,0,'loan 2',0,200,1,200,1,0,4,2016,'OP-L[00000580]',NULL,1,1,1,'2016-04-26 02:31:46',NULL,'2016-04-26 02:31:46',0,0),(47591,1,'AP20160400000013',3,32515,0,'loan 2 extra',100,0,1,100,1,0,4,2016,'OP-L[00000580]',NULL,1,1,1,'2016-04-26 02:31:46',NULL,'2016-04-26 02:31:46',0,0),(47592,1,'AP20160400000013',4,32522,0,'loan 2 extra',0,100,1,100,1,0,4,2016,'OP-L[00000580]',NULL,1,1,1,'2016-04-26 02:31:46',NULL,'2016-04-26 02:31:46',0,0),(47597,1,'AP20160400000015',1,32515,0,'money trans',500,0,1,500,1,0,4,2016,'TT[00000582]',NULL,0,1,1,'2016-04-26 02:41:13',NULL,'2016-04-26 02:41:14',0,0),(47598,1,'AP20160400000015',2,32516,0,'money trans',0,500,1,500,1,0,4,2016,'TT[00000582]',NULL,0,1,1,'2016-04-26 02:41:13',NULL,'2016-04-26 02:41:14',0,0),(47599,1,'AP20160400000016',1,32516,0,'money trans back',500,0,1,500,1,0,4,2016,'TT[00000583]',NULL,0,1,1,'2016-04-26 02:41:50',NULL,'2016-04-26 02:41:50',0,0),(47600,1,'AP20160400000016',2,32515,0,'money trans back',0,500,1,500,1,0,4,2016,'TT[00000583]',NULL,0,1,1,'2016-04-26 02:41:50',NULL,'2016-04-26 02:41:50',0,0),(47609,1,'AP20160400000021',1,32516,0,'Loan MARA',300,0,1,300,1,0,4,2016,'OP-L[00000585]',NULL,1,1,1,'2016-04-27 01:33:59',NULL,'2016-04-27 01:33:59',0,0),(47610,1,'AP20160400000021',2,32524,0,'Loan MARA',0,300,1,300,1,0,4,2016,'OP-L[00000585]',NULL,1,1,1,'2016-04-27 01:33:59',NULL,'2016-04-27 01:33:59',0,0),(47621,1,'AP20151200000206',1,32515,0,'Tudung Awning',250,0,1,250,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47622,1,'AP20151200000206',2,32527,0,'Tudung Awning',0,250,1,250,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47623,1,'AP20151200000206',3,32515,0,'Selendang / Shawl',70,0,1,70,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47624,1,'AP20151200000206',4,32527,0,'Selendang / Shawl',0,70,1,70,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47625,1,'AP20151200000206',5,32515,0,'Tudung Syria',63,0,1,63,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47626,1,'AP20151200000206',6,32527,0,'Tudung Syria',0,63,1,63,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47627,1,'AP20151200000206',7,32515,0,'Instant Shawl',95,0,1,95,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47628,1,'AP20151200000206',8,32527,0,'Instant Shawl',0,95,1,95,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47629,1,'AP20151200000206',9,32515,0,'Tudung Bawal',150,0,1,150,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47630,1,'AP20151200000206',10,32527,0,'Tudung Bawal',0,150,1,150,1,0,12,2015,'OP-C[00000587]',NULL,1,1,1,'2016-05-10 03:43:33',NULL,'2016-05-10 03:43:33',0,0),(47631,1,'AR20151200000019',1,32526,0,'sale1',1111,0,1,1111,1,0,12,2015,'OR[00000056]','',NULL,1,1,'2016-05-30 11:04:19',NULL,'2016-05-30 11:04:19',0,0),(47632,1,'AR20151200000019',2,32515,0,'sale1',0,1111,1,1111,1,0,12,2015,'OR[00000056]','',NULL,1,1,'2016-05-30 11:04:19',NULL,'2016-05-30 11:04:19',0,0),(47633,1,'AR20151200000019',3,32526,0,'sale2',11221,0,1,11221,1,0,12,2015,'OR[00000056]','',NULL,1,1,'2016-05-30 11:04:19',NULL,'2016-05-30 11:04:19',0,0),(47634,1,'AR20151200000019',4,32515,0,'sale2',0,11221,1,11221,1,0,12,2015,'OR[00000056]','',NULL,1,1,'2016-05-30 11:04:19',NULL,'2016-05-30 11:04:19',0,0),(47643,1,'AP20160400000024',1,32521,0,'loan for bugatti',300000,0,1,300000,1,0,4,2016,'LR[00000584]',NULL,0,1,1,'2016-05-31 08:45:39',NULL,'2016-05-31 08:45:39',0,0),(47644,1,'AP20160400000024',2,32515,0,'loan for bugatti',0,300000,1,300000,1,0,4,2016,'LR[00000584]',NULL,0,1,1,'2016-05-31 08:45:39',NULL,'2016-05-31 08:45:39',0,0),(47875,12,'AR20160600000002',1,32583,0,'buah isnin',25,0,1,25,1,0,6,2016,'OR[00000002]','',NULL,1,0,'2016-06-15 01:10:42',NULL,'2016-06-15 01:10:43',0,0),(47876,12,'AR20160600000002',2,32575,0,'buah isnin',0,25,1,25,1,0,6,2016,'OR[00000002]','',NULL,1,0,'2016-06-15 01:10:42',NULL,'2016-06-15 01:10:43',0,0),(47877,12,'AR20160600000003',1,32583,0,'buah 1 jun',65,0,1,65,1,0,6,2016,'OR[00000003]','',NULL,1,0,'2016-06-15 01:11:50',NULL,'2016-06-15 01:11:50',0,0),(47878,12,'AR20160600000003',2,32575,0,'buah 1 jun',0,65,1,65,1,0,6,2016,'OR[00000003]','',NULL,1,0,'2016-06-15 01:11:50',NULL,'2016-06-15 01:11:50',0,0),(47879,12,'AR20160500000001',1,32583,0,'buah 1 may',99,0,1,99,1,0,5,2016,'OR[00000004]','',NULL,1,0,'2016-06-15 01:13:05',NULL,'2016-06-15 01:13:05',0,0),(47880,12,'AR20160500000001',2,32575,0,'buah 1 may',0,99,1,99,1,0,5,2016,'OR[00000004]','',NULL,1,0,'2016-06-15 01:13:05',NULL,'2016-06-15 01:13:05',0,0),(47883,12,'AR20160600000004',1,32583,0,'buah isnin 20 jun',102,0,1,102,1,0,6,2016,'OR[00000005]','',NULL,1,0,'2016-06-15 01:15:46',NULL,'2016-06-15 01:15:46',0,0),(47884,12,'AR20160600000004',2,32575,0,'buah isnin 20 jun',0,102,1,102,1,0,6,2016,'OR[00000005]','',NULL,1,0,'2016-06-15 01:15:46',NULL,'2016-06-15 01:15:46',0,0),(47893,12,'AP160600000001',1,32573,0,'kerusi panjang',36,0,1,36,1,0,6,2016,'OP-A[00000001]',NULL,1,1,0,'2016-06-15 04:27:12',NULL,'2016-06-15 04:27:12',0,0),(47894,12,'AP160600000001',2,32561,0,'kerusi panjang',0,36,1,36,1,0,6,2016,'OP-A[00000001]',NULL,1,1,0,'2016-06-15 04:27:12',NULL,'2016-06-15 04:27:12',0,0),(47899,12,'AP20160600000002',1,32575,0,'tepung',25,0,1,25,1,0,6,2016,'OP-C[00000002]',NULL,1,1,0,'2016-06-16 03:06:31',NULL,'2016-06-16 03:06:31',0,0),(47900,12,'AP20160600000002',2,32584,0,'tepung',0,25,1,25,1,0,6,2016,'OP-C[00000002]',NULL,1,1,0,'2016-06-16 03:06:31',NULL,'2016-06-16 03:06:31',0,0),(47901,12,'AP20160600000003',1,32575,0,'bil elektrik bulan may 2016',123,0,1,123,1,0,6,2016,'OP-E[00000003]',NULL,1,1,0,'2016-06-16 03:51:48',NULL,'2016-06-16 03:51:48',0,0),(47902,12,'AP20160600000003',2,32590,0,'bil elektrik bulan may 2016',0,123,1,123,1,0,6,2016,'OP-E[00000003]',NULL,1,1,0,'2016-06-16 03:51:48',NULL,'2016-06-16 03:51:48',0,0),(47969,14,'AP20150800000001',1,32830,0,'additional',5000,0,1,5000,1,0,8,2015,'LR[00000001]',NULL,0,1,0,'2016-06-28 07:38:10',NULL,'2016-06-28 07:38:10',0,0),(47970,14,'AP20150800000001',2,32824,0,'additional',0,5000,1,5000,1,0,8,2015,'LR[00000001]',NULL,0,1,0,'2016-06-28 07:38:10',NULL,'2016-06-28 07:38:10',0,0),(47971,14,'AP150900000001',1,32824,0,'1st payment',100,0,1,100,1,0,9,2015,'OP-L[00000002]',NULL,1,1,0,'2016-06-28 07:50:42',NULL,'2016-06-28 07:50:43',0,0),(47972,14,'AP150900000001',2,32830,0,'1st payment',0,100,1,100,1,0,9,2015,'OP-L[00000002]',NULL,1,1,0,'2016-06-28 07:50:42',NULL,'2016-06-28 07:50:43',0,0),(47973,14,'AP151000000001',1,32824,0,'2nd payment',100,0,1,100,1,0,10,2015,'OP-L[00000003]',NULL,1,1,0,'2016-06-28 07:53:01',NULL,'2016-06-28 07:53:01',0,0),(47974,14,'AP151000000001',2,32830,0,'2nd payment',0,100,1,100,1,0,10,2015,'OP-L[00000003]',NULL,1,1,0,'2016-06-28 07:53:01',NULL,'2016-06-28 07:53:01',0,0),(47975,14,'AP20150800000002',1,32824,0,'Advance payment',100,0,1,100,1,0,8,2015,'OP-L[00000004]',NULL,1,1,0,'2016-06-28 08:15:27',NULL,'2016-06-28 08:15:27',0,0),(47976,14,'AP20150800000002',2,32830,0,'Advance payment',0,100,1,100,1,0,8,2015,'OP-L[00000004]',NULL,1,1,0,'2016-06-28 08:15:27',NULL,'2016-06-28 08:15:27',0,0),(47981,14,'AR20150100000001',1,32835,0,'barang mentah',250,0,1,250,1,0,1,2015,'OR[00000001]','',NULL,1,0,'2016-06-30 02:42:00',NULL,'2016-06-30 02:42:00',0,0),(47982,14,'AR20150100000001',2,32824,0,'barang mentah',0,250,1,250,1,0,1,2015,'OR[00000001]','',NULL,1,0,'2016-06-30 02:42:00',NULL,'2016-06-30 02:42:00',0,0),(47991,1,'AP20160700000001',1,32515,0,'',123,0,1,123,1,0,7,2016,'TT[00000604]',NULL,0,1,1,'2016-07-27 02:31:45',NULL,'2016-07-27 02:31:45',0,0),(47992,1,'AP20160700000001',2,32516,0,'',0,123,1,123,1,0,7,2016,'TT[00000604]',NULL,0,1,1,'2016-07-27 02:31:45',NULL,'2016-07-27 02:31:45',0,0),(48179,21,'AR20160100000001',1,32892,0,'January',100,0,1,100,1,0,1,2016,'OR[00000001]','',1,1,0,'2016-08-11 07:31:35',NULL,'2016-08-11 07:31:35',0,0),(48180,21,'AR20160100000001',2,32881,0,'January',0,100,1,100,1,0,1,2016,'OR[00000001]','',1,1,0,'2016-08-11 07:31:35',NULL,'2016-08-11 07:31:35',0,0),(48189,21,'AP20160100000004',1,32881,0,'January',25,0,1,25,1,0,1,2016,'OP-A[00000003]',NULL,1,1,0,'2016-08-11 07:41:47',NULL,'2016-08-11 07:41:47',0,0),(48190,21,'AP20160100000004',2,32870,0,'January',0,25,1,25,1,0,1,2016,'OP-A[00000003]',NULL,1,1,0,'2016-08-11 07:41:47',NULL,'2016-08-11 07:41:47',0,0),(48275,23,'AP20170100000002',1,33007,0,'payment',1000,0,1,1000,1,0,1,2017,'OP-L[00000016]',NULL,1,1,0,'2016-08-15 04:18:26',NULL,'2016-08-15 04:18:26',0,0),(48276,23,'AP20170100000002',2,33013,0,'payment',0,1000,1,1000,1,0,1,2017,'OP-L[00000016]',NULL,1,1,0,'2016-08-15 04:18:26',NULL,'2016-08-15 04:18:26',0,0),(48277,23,'AP180200000001',1,33007,0,'payment',5000,0,1,5000,1,0,2,2018,'OP-L[00000017]',NULL,1,1,0,'2016-08-15 04:20:16',NULL,'2016-08-15 04:20:16',0,0),(48278,23,'AP180200000001',2,33013,0,'payment',0,5000,1,5000,1,0,2,2018,'OP-L[00000017]',NULL,1,1,0,'2016-08-15 04:20:16',NULL,'2016-08-15 04:20:16',0,0),(48279,23,'AP180300000001',1,33007,0,'Payment',5500,0,1,5500,1,0,3,2018,'OP-L[00000018]',NULL,1,1,0,'2016-08-15 04:21:50',NULL,'2016-08-15 04:21:50',0,0),(48280,23,'AP180300000001',2,33013,0,'Payment',0,5500,1,5500,1,0,3,2018,'OP-L[00000018]',NULL,1,1,0,'2016-08-15 04:21:50',NULL,'2016-08-15 04:21:50',0,0),(48351,25,'AR20160800000001',1,33081,0,'goggles',300,0,1,300,1,0,8,2016,'OR[00000001]','',1,1,0,'2016-08-16 03:43:11',NULL,'2016-08-16 03:43:12',0,0),(48352,25,'AR20160800000001',2,33073,0,'goggles',0,300,1,300,1,0,8,2016,'OR[00000001]','',1,1,0,'2016-08-16 03:43:12',NULL,'2016-08-16 03:43:12',0,0),(48365,25,'AP160800000001',1,33070,0,'kerusi',100,0,1,100,1,0,8,2016,'OP-A[00000001]',NULL,1,1,0,'2016-08-16 03:48:48',NULL,'2016-08-16 03:48:48',0,0),(48366,25,'AP160800000001',2,33059,0,'kerusi',0,100,1,100,1,0,8,2016,'OP-A[00000001]',NULL,1,1,0,'2016-08-16 03:48:48',NULL,'2016-08-16 03:48:48',0,0),(48387,25,'AP20160800000003',1,33073,0,'cermin',200,0,1,200,1,0,8,2016,'OP-C[00000003]',NULL,1,1,0,'2016-08-16 04:19:44',NULL,'2016-08-16 04:19:44',0,0),(48388,25,'AP20160800000003',2,33082,0,'cermin',0,200,1,200,1,0,8,2016,'OP-C[00000003]',NULL,1,1,0,'2016-08-16 04:19:44',NULL,'2016-08-16 04:19:44',0,0),(48389,25,'AP20160800000004',1,33073,0,'simpan duit',3000,0,1,3000,1,0,8,2016,'TT[00000004]',NULL,0,1,0,'2016-08-16 04:26:25',NULL,'2016-08-16 04:26:25',0,0),(48390,25,'AP20160800000004',2,33070,0,'simpan duit',0,3000,1,3000,1,0,8,2016,'TT[00000004]',NULL,0,1,0,'2016-08-16 04:26:25',NULL,'2016-08-16 04:26:25',0,0),(48403,25,'AP20160800000008',1,33074,0,'bayar loan yang tak wujud',-50,0,1,-50,1,0,8,2016,'OP-L[00000008]',NULL,1,1,0,'2016-08-16 04:40:44',NULL,'2016-08-16 04:40:44',0,0),(48404,25,'AP20160800000008',2,33076,0,'bayar loan yang tak wujud',0,-50,1,-50,1,0,8,2016,'OP-L[00000008]',NULL,1,1,0,'2016-08-16 04:40:44',NULL,'2016-08-16 04:40:44',0,0),(48417,24,'AP20160800000016',1,33133,0,'beli kipas',100,0,1,100,1,0,8,2016,'OP-L[00000014]',NULL,1,1,0,'2016-08-16 06:18:36',NULL,'2016-08-16 06:18:36',0,0),(48418,24,'AP20160800000016',2,33139,0,'beli kipas',0,100,1,100,1,0,8,2016,'OP-L[00000014]',NULL,1,1,0,'2016-08-16 06:18:36',NULL,'2016-08-16 06:18:36',0,0),(48421,25,'AR20160800000004',1,33081,0,'cermin mata mahal',300,0,1,300,1,0,8,2016,'OR[00000004]','',1,1,0,'2016-08-16 06:41:09',NULL,'2016-08-16 06:41:09',0,0),(48422,25,'AR20160800000004',2,33074,0,'cermin mata mahal',0,300,1,300,1,0,8,2016,'OR[00000004]','',1,1,0,'2016-08-16 06:41:09',NULL,'2016-08-16 06:41:09',0,0),(48441,24,'AP20160800000021',1,33133,0,'bayar',510,0,1,510,1,0,8,2016,'OP-L[00000017]',NULL,1,1,0,'2016-08-16 07:32:48',NULL,'2016-08-16 07:32:48',0,0),(48442,24,'AP20160800000021',2,33139,0,'bayar',0,510,1,510,1,0,8,2016,'OP-L[00000017]',NULL,1,1,0,'2016-08-16 07:32:48',NULL,'2016-08-16 07:32:48',0,0),(48443,24,'AP20160800000022',1,33139,0,'saje',50,0,1,50,1,0,8,2016,'LR[00000018]',NULL,0,1,0,'2016-08-16 07:33:44',NULL,'2016-08-16 07:33:44',0,0),(48444,24,'AP20160800000022',2,33133,0,'saje',0,50,1,50,1,0,8,2016,'LR[00000018]',NULL,0,1,0,'2016-08-16 07:33:44',NULL,'2016-08-16 07:33:44',0,0),(48447,24,'AP20160800000024',1,33135,0,'saje',50,0,1,50,1,0,8,2016,'OP-L[00000019]',NULL,1,1,0,'2016-08-16 07:35:32',NULL,'2016-08-16 07:35:32',0,0),(48448,24,'AP20160800000024',2,33140,0,'saje',0,50,1,50,1,0,8,2016,'OP-L[00000019]',NULL,1,1,0,'2016-08-16 07:35:32',NULL,'2016-08-16 07:35:32',0,0),(48449,24,'AP20160800000025',1,33139,0,'ape',50,0,1,50,1,0,8,2016,'LR[00000020]',NULL,0,1,0,'2016-08-16 07:36:18',NULL,'2016-08-16 07:36:19',0,0),(48450,24,'AP20160800000025',2,33133,0,'ape',0,50,1,50,1,0,8,2016,'LR[00000020]',NULL,0,1,0,'2016-08-16 07:36:18',NULL,'2016-08-16 07:36:19',0,0),(48451,24,'AP20160800000026',1,33135,0,'ape',50,0,1,50,1,0,8,2016,'OP-L[00000021]',NULL,1,1,0,'2016-08-16 07:36:50',NULL,'2016-08-16 07:36:51',0,0),(48452,24,'AP20160800000026',2,33140,0,'ape',0,50,1,50,1,0,8,2016,'OP-L[00000021]',NULL,1,1,0,'2016-08-16 07:36:50',NULL,'2016-08-16 07:36:51',0,0),(48457,24,'AP20160800000029',1,33135,0,'asd',100,0,1,100,1,0,8,2016,'OP-L[00000024]',NULL,1,1,0,'2016-08-16 07:39:06',NULL,'2016-08-16 07:39:06',0,0),(48458,24,'AP20160800000029',2,33140,0,'asd',0,100,1,100,1,0,8,2016,'OP-L[00000024]',NULL,1,1,0,'2016-08-16 07:39:06',NULL,'2016-08-16 07:39:06',0,0),(48461,24,'AP20160800000031',1,33133,0,'qqwq',190,0,1,190,1,0,8,2016,'OP-L[00000026]',NULL,1,1,0,'2016-08-16 07:50:58',NULL,'2016-08-16 07:50:58',0,0),(48462,24,'AP20160800000031',2,33139,0,'qqwq',0,190,1,190,1,0,8,2016,'OP-L[00000026]',NULL,1,1,0,'2016-08-16 07:50:58',NULL,'2016-08-16 07:50:58',0,0),(48463,24,'AP20160800000032',1,33140,0,'grg',200,0,1,200,1,0,8,2016,'LR[00000027]',NULL,0,1,0,'2016-08-16 07:53:19',NULL,'2016-08-16 07:53:19',0,0),(48464,24,'AP20160800000032',2,33133,0,'grg',0,200,1,200,1,0,8,2016,'LR[00000027]',NULL,0,1,0,'2016-08-16 07:53:19',NULL,'2016-08-16 07:53:19',0,0),(48465,24,'AP20160800000033',1,33133,0,'fre',200,0,1,200,1,0,8,2016,'OP-L[00000028]',NULL,1,1,0,'2016-08-16 07:54:59',NULL,'2016-08-16 07:54:59',0,0),(48466,24,'AP20160800000033',2,33140,0,'fre',0,200,1,200,1,0,8,2016,'OP-L[00000028]',NULL,1,1,0,'2016-08-16 07:54:59',NULL,'2016-08-16 07:54:59',0,0),(48471,24,'AP20160200000001',1,33139,0,'Beli aircond',450,0,1,450,1,0,2,2016,'LR[00000010]',NULL,0,1,0,'2016-08-16 08:17:22',NULL,'2016-08-16 08:17:22',0,0),(48472,24,'AP20160200000001',2,33133,0,'Beli aircond',0,450,1,450,1,0,2,2016,'LR[00000010]',NULL,0,1,0,'2016-08-16 08:17:22',NULL,'2016-08-16 08:17:22',0,0),(48473,24,'AP20160600000001',1,33139,0,'qwer',50,0,1,50,1,0,6,2016,'LR[00000022]',NULL,0,1,0,'2016-08-16 08:17:41',NULL,'2016-08-16 08:17:41',0,0),(48474,24,'AP20160600000001',2,33133,0,'qwer',0,50,1,50,1,0,6,2016,'LR[00000022]',NULL,0,1,0,'2016-08-16 08:17:41',NULL,'2016-08-16 08:17:41',0,0),(48477,24,'AP20160700000001',1,33140,0,'qwe',190,0,1,190,1,0,7,2016,'LR[00000025]',NULL,0,1,0,'2016-08-16 08:17:57',NULL,'2016-08-16 08:17:57',0,0),(48478,24,'AP20160700000001',2,33133,0,'qwe',0,190,1,190,1,0,7,2016,'LR[00000025]',NULL,0,1,0,'2016-08-16 08:17:57',NULL,'2016-08-16 08:17:57',0,0),(48481,24,'AP20160200000002',1,33140,0,'nasi lemak',10,0,1,10,1,0,2,2016,'LR[00000016]',NULL,0,1,0,'2016-08-16 08:19:47',NULL,'2016-08-16 08:19:47',0,0),(48482,24,'AP20160200000002',2,33133,0,'nasi lemak',0,10,1,10,1,0,2,2016,'LR[00000016]',NULL,0,1,0,'2016-08-16 08:19:47',NULL,'2016-08-16 08:19:47',0,0),(48485,24,'AP20160600000002',1,33139,0,'asd',50,0,1,50,1,0,6,2016,'LR[00000023]',NULL,0,1,0,'2016-08-16 08:20:16',NULL,'2016-08-16 08:20:16',0,0),(48486,24,'AP20160600000002',2,33133,0,'asd',0,50,1,50,1,0,6,2016,'LR[00000023]',NULL,0,1,0,'2016-08-16 08:20:16',NULL,'2016-08-16 08:20:16',0,0),(48489,25,'AP20160800000013',1,33076,0,'terima pinjaman',-10,0,1,-10,1,0,8,2016,'LR[00000010]',NULL,0,1,0,'2016-08-16 08:20:34',NULL,'2016-08-16 08:20:34',0,0),(48490,25,'AP20160800000013',2,33074,0,'terima pinjaman',0,-10,1,-10,1,0,8,2016,'LR[00000010]',NULL,0,1,0,'2016-08-16 08:20:34',NULL,'2016-08-16 08:20:34',0,0),(48495,24,'AP160300000001',1,33133,0,'bantuan',50,0,1,50,1,0,3,2016,'OP-L[00000009]',NULL,1,1,0,'2016-08-16 08:21:23',NULL,'2016-08-16 08:21:23',0,0),(48496,24,'AP160300000001',2,33139,0,'bantuan',0,50,1,50,1,0,3,2016,'OP-L[00000009]',NULL,1,1,0,'2016-08-16 08:21:23',NULL,'2016-08-16 08:21:23',0,0),(48497,25,'AP20160200000001',1,33076,0,'',10,0,1,10,1,0,2,2016,'LR[00000009]',NULL,0,1,0,'2016-08-16 08:21:34',NULL,'2016-08-16 08:21:34',0,0),(48498,25,'AP20160200000001',2,33074,0,'',0,10,1,10,1,0,2,2016,'LR[00000009]',NULL,0,1,0,'2016-08-16 08:21:34',NULL,'2016-08-16 08:21:34',0,0),(48503,25,'AP20160800000014',1,33074,0,'bayar loan yang tak wujud',-50,0,1,-50,1,0,8,2016,'OP-L[00000007]',NULL,1,1,0,'2016-08-16 08:21:58',NULL,'2016-08-16 08:21:58',0,0),(48504,25,'AP20160800000014',2,33076,0,'bayar loan yang tak wujud',0,-50,1,-50,1,0,8,2016,'OP-L[00000007]',NULL,1,1,0,'2016-08-16 08:21:58',NULL,'2016-08-16 08:21:58',0,0),(48505,25,'AP20160800000015',1,33074,0,'bayar habis loan',100,0,1,100,1,0,8,2016,'OP-L[00000006]',NULL,1,1,0,'2016-08-16 08:23:27',NULL,'2016-08-16 08:23:28',0,0),(48506,25,'AP20160800000015',2,33076,0,'bayar habis loan',0,100,1,100,1,0,8,2016,'OP-L[00000006]',NULL,1,1,0,'2016-08-16 08:23:27',NULL,'2016-08-16 08:23:28',0,0),(48507,25,'AP20160800000016',1,33070,0,'bayar loan awal',50,0,1,50,1,0,8,2016,'OP-L[00000013]',NULL,1,1,0,'2016-08-16 08:25:18',NULL,'2016-08-16 08:25:18',0,0),(48508,25,'AP20160800000016',2,33076,0,'bayar loan awal',0,50,1,50,1,0,8,2016,'OP-L[00000013]',NULL,1,1,0,'2016-08-16 08:25:18',NULL,'2016-08-16 08:25:18',0,0),(48509,24,'AP20160800000034',1,33134,0,'Sofa',300,0,1,300,1,0,8,2016,'OP-A[00000005]',NULL,1,1,0,'2016-08-16 08:33:25',NULL,'2016-08-16 08:33:25',0,0),(48510,24,'AP20160800000034',2,33122,0,'Sofa',0,300,1,300,1,0,8,2016,'OP-A[00000005]',NULL,1,1,0,'2016-08-16 08:33:25',NULL,'2016-08-16 08:33:25',0,0),(48511,24,'AP20160800000034',3,33134,0,'meja',68,0,1,68,1,0,8,2016,'OP-A[00000005]',NULL,1,1,0,'2016-08-16 08:33:25',NULL,'2016-08-16 08:33:25',0,0),(48512,24,'AP20160800000034',4,33122,0,'meja',0,68,1,68,1,0,8,2016,'OP-A[00000005]',NULL,1,1,0,'2016-08-16 08:33:25',NULL,'2016-08-16 08:33:25',0,0),(48513,24,'AP20160800000035',1,33135,0,'lampu',23,0,1,23,1,0,8,2016,'OP-A[00000029]',NULL,1,1,0,'2016-08-16 08:35:01',NULL,'2016-08-16 08:35:02',0,0),(48514,24,'AP20160800000035',2,33122,0,'lampu',0,23,1,23,1,0,8,2016,'OP-A[00000029]',NULL,1,1,0,'2016-08-16 08:35:02',NULL,'2016-08-16 08:35:02',0,0),(48515,25,'AP20160800000017',1,33071,0,'bayar despatch',20,0,1,20,1,0,8,2016,'OP-E[00000014]',NULL,1,1,0,'2016-08-16 08:36:24',NULL,'2016-08-16 08:36:25',0,0),(48516,25,'AP20160800000017',2,33097,0,'bayar despatch',0,20,1,20,1,0,8,2016,'OP-E[00000014]',NULL,1,1,0,'2016-08-16 08:36:24',NULL,'2016-08-16 08:36:25',0,0),(48521,24,'AP20160200000003',1,33133,0,'saje',230,0,1,230,1,0,2,2016,'TT[00000031]',NULL,0,1,0,'2016-08-16 09:01:47',NULL,'2016-08-16 09:01:47',0,0),(48522,24,'AP20160200000003',2,33134,0,'saje',0,230,1,230,1,0,2,2016,'TT[00000031]',NULL,0,1,0,'2016-08-16 09:01:47',NULL,'2016-08-16 09:01:47',0,0),(48523,24,'AP20160300000002',1,33133,0,'saje',100,0,1,100,1,0,3,2016,'TT[00000032]',NULL,0,1,0,'2016-08-16 09:02:16',NULL,'2016-08-16 09:02:17',0,0),(48524,24,'AP20160300000002',2,33134,0,'saje',0,100,1,100,1,0,3,2016,'TT[00000032]',NULL,0,1,0,'2016-08-16 09:02:16',NULL,'2016-08-16 09:02:17',0,0),(48527,24,'AP20160800000039',1,33133,0,'saje',80,0,1,80,1,0,8,2016,'TT[00000034]',NULL,0,1,0,'2016-08-16 09:05:10',NULL,'2016-08-16 09:05:10',0,0),(48528,24,'AP20160800000039',2,33134,0,'saje',0,80,1,80,1,0,8,2016,'TT[00000034]',NULL,0,1,0,'2016-08-16 09:05:10',NULL,'2016-08-16 09:05:10',0,0),(48529,25,'AP20160800000018',1,33070,0,'pc baru',1200,0,1,1200,1,0,8,2016,'OP-A[00000015]',NULL,1,1,0,'2016-08-16 09:09:08',NULL,'2016-08-16 09:09:08',0,0),(48530,25,'AP20160800000018',2,33061,0,'pc baru',0,1200,1,1200,1,0,8,2016,'OP-A[00000015]',NULL,1,1,0,'2016-08-16 09:09:08',NULL,'2016-08-16 09:09:08',0,0),(48533,24,'AR20140200000002',1,33144,0,'motor',4500,0,1,4500,1,0,2,2014,'OR[00000008]','',1,1,0,'2016-08-16 09:12:19',NULL,'2016-08-16 09:12:19',0,0),(48534,24,'AR20140200000002',2,33133,0,'motor',0,4500,1,4500,1,0,2,2014,'OR[00000008]','',1,1,0,'2016-08-16 09:12:19',NULL,'2016-08-16 09:12:19',0,0),(48535,25,'AP20160700000001',1,33079,0,'july loan 4 masuk bank islam rm25',25,0,1,25,1,0,7,2016,'LR[00000016]',NULL,0,1,0,'2016-08-16 09:13:09',NULL,'2016-08-16 09:13:09',0,0),(48536,25,'AP20160700000001',2,33072,0,'july loan 4 masuk bank islam rm25',0,25,1,25,1,0,7,2016,'LR[00000016]',NULL,0,1,0,'2016-08-16 09:13:09',NULL,'2016-08-16 09:13:09',0,0),(48539,25,'AP20160800000019',1,33072,0,'motor ',20,0,1,20,1,0,8,2016,'OP-A[00000017]',NULL,1,1,0,'2016-08-16 09:16:41',NULL,'2016-08-16 09:16:41',0,0),(48540,25,'AP20160800000019',2,33062,0,'motor ',0,20,1,20,1,0,8,2016,'OP-A[00000017]',NULL,1,1,0,'2016-08-16 09:16:41',NULL,'2016-08-16 09:16:41',0,0),(48541,24,'AR20140800000002',1,33144,0,'mesin basuh',4000,0,1,4000,1,0,8,2014,'OR[00000009]','',1,1,0,'2016-08-16 09:16:42',NULL,'2016-08-16 09:16:42',0,0),(48542,24,'AR20140800000002',2,33133,0,'mesin basuh',0,4000,1,4000,1,0,8,2014,'OR[00000009]','',1,1,0,'2016-08-16 09:16:42',NULL,'2016-08-16 09:16:42',0,0),(48545,24,'AR20150800000002',1,33144,0,'mesin rumput',4000,0,1,4000,1,0,8,2015,'OR[00000010]','',1,1,0,'2016-08-16 09:17:30',NULL,'2016-08-16 09:17:30',0,0),(48546,24,'AR20150800000002',2,33133,0,'mesin rumput',0,4000,1,4000,1,0,8,2015,'OR[00000010]','',1,1,0,'2016-08-16 09:17:30',NULL,'2016-08-16 09:17:30',0,0),(48547,25,'AP20160800000020',1,33072,0,'beli motor baru',3000,0,1,3000,1,0,8,2016,'OP-A[00000018]',NULL,1,1,0,'2016-08-16 09:23:00',NULL,'2016-08-16 09:23:00',0,0),(48548,25,'AP20160800000020',2,33062,0,'beli motor baru',0,3000,1,3000,1,0,8,2016,'OP-A[00000018]',NULL,1,1,0,'2016-08-16 09:23:00',NULL,'2016-08-16 09:23:00',0,0),(48549,25,'AP20160800000021',1,33070,0,'buat iklan',100,0,1,100,1,0,8,2016,'OP-E[00000019]',NULL,1,1,0,'2016-08-16 09:31:04',NULL,'2016-08-16 09:31:04',0,0),(48550,25,'AP20160800000021',2,33085,0,'buat iklan',0,100,1,100,1,0,8,2016,'OP-E[00000019]',NULL,1,1,0,'2016-08-16 09:31:04',NULL,'2016-08-16 09:31:04',0,0),(48551,25,'AP20160800000022',1,33070,0,'penyapu',5,0,1,5,1,0,8,2016,'OP-A[00000020]',NULL,1,1,0,'2016-08-16 09:35:39',NULL,'2016-08-16 09:35:39',0,0),(48552,25,'AP20160800000022',2,33065,0,'penyapu',0,5,1,5,1,0,8,2016,'OP-A[00000020]',NULL,1,1,0,'2016-08-16 09:35:39',NULL,'2016-08-16 09:35:39',0,0),(48555,24,'AR20160800000009',1,33144,0,'ayam',20,0,1,20,1,0,8,2016,'OR[00000011]','',1,1,0,'2016-08-16 09:42:28',NULL,'2016-08-16 09:42:28',0,0),(48556,24,'AR20160800000009',2,33135,0,'ayam',0,20,1,20,1,0,8,2016,'OR[00000011]','',1,1,0,'2016-08-16 09:42:28',NULL,'2016-08-16 09:42:28',0,0),(48557,25,'AP20160800000023',1,33070,0,'member club',10,0,1,10,1,0,8,2016,'OP-E[00000021]',NULL,1,1,0,'2016-08-16 09:48:33',NULL,'2016-08-16 09:48:33',0,0),(48558,25,'AP20160800000023',2,33099,0,'member club',0,10,1,10,1,0,8,2016,'OP-E[00000021]',NULL,1,1,0,'2016-08-16 09:48:33',NULL,'2016-08-16 09:48:33',0,0),(48559,25,'AP20160800000024',1,33070,0,'pindah duit ke tangan',1000,0,1,1000,1,0,8,2016,'TT[00000022]',NULL,0,1,0,'2016-08-16 09:58:39',NULL,'2016-08-16 09:58:39',0,0),(48560,25,'AP20160800000024',2,33073,0,'pindah duit ke tangan',0,1000,1,1000,1,0,8,2016,'TT[00000022]',NULL,0,1,0,'2016-08-16 09:58:39',NULL,'2016-08-16 09:58:39',0,0),(48571,25,'AR20160800000007',1,33081,0,'tukar cermin sebelah',20,0,1,20,1,0,8,2016,'OR[00000007]','',1,1,0,'2016-08-17 02:05:12',NULL,'2016-08-17 02:05:12',0,0),(48572,25,'AR20160800000007',2,33071,0,'tukar cermin sebelah',0,20,1,20,1,0,8,2016,'OR[00000007]','',1,1,0,'2016-08-17 02:05:12',NULL,'2016-08-17 02:05:12',0,0),(48573,25,'AR20160800000008',1,33081,0,'bingkai',100,0,1,100,1,0,8,2016,'OR[00000008]','',1,1,0,'2016-08-17 02:12:30',NULL,'2016-08-17 02:12:30',0,0),(48574,25,'AR20160800000008',2,33071,0,'bingkai',0,100,1,100,1,0,8,2016,'OR[00000008]','',1,1,0,'2016-08-17 02:12:30',NULL,'2016-08-17 02:12:30',0,0),(48575,25,'AR20160800000009',1,33081,0,'ray ban',500,0,1,500,1,0,8,2016,'OR[00000009]','',1,1,0,'2016-08-17 02:13:44',NULL,'2016-08-17 02:13:44',0,0),(48576,25,'AR20160800000009',2,33072,0,'ray ban',0,500,1,500,1,0,8,2016,'OR[00000009]','',1,1,0,'2016-08-17 02:13:44',NULL,'2016-08-17 02:13:44',0,0),(48585,25,'AR20160800000012',1,33081,0,'ray ban',500,0,1,500,1,0,8,2016,'OR[00000010]','',1,1,0,'2016-08-17 02:26:34',NULL,'2016-08-17 02:26:34',0,0),(48586,25,'AR20160800000012',2,33072,0,'ray ban',0,500,1,500,1,0,8,2016,'OR[00000010]','',1,1,0,'2016-08-17 02:26:34',NULL,'2016-08-17 02:26:34',0,0),(48587,24,'AP20160800000040',1,33139,0,'ntah',90,0,1,90,1,0,8,2016,'LR[00000035]',NULL,0,1,0,'2016-08-17 02:29:46',NULL,'2016-08-17 02:29:46',0,0),(48588,24,'AP20160800000040',2,33133,0,'ntah',0,90,1,90,1,0,8,2016,'LR[00000035]',NULL,0,1,0,'2016-08-17 02:29:46',NULL,'2016-08-17 02:29:46',0,0),(48589,24,'AP20160800000041',1,33133,0,'sedekah',60,0,1,60,1,0,8,2016,'TT[00000036]',NULL,0,1,0,'2016-08-17 02:46:32',NULL,'2016-08-17 02:46:33',0,0),(48590,24,'AP20160800000041',2,33134,0,'sedekah',0,60,1,60,1,0,8,2016,'TT[00000036]',NULL,0,1,0,'2016-08-17 02:46:32',NULL,'2016-08-17 02:46:33',0,0),(48591,25,'AR20160800000013',1,33081,0,'cermin murah',50,0,1,50,1,0,8,2016,'OR[00000011]','',1,1,0,'2016-08-17 02:58:14',NULL,'2016-08-17 02:58:14',0,0),(48592,25,'AR20160800000013',2,33071,0,'cermin murah',0,50,1,50,1,0,8,2016,'OR[00000011]','',1,1,0,'2016-08-17 02:58:14',NULL,'2016-08-17 02:58:14',0,0),(48593,25,'AP20160800000025',1,33074,0,'motor baru dah rosak',100,0,1,100,1,0,8,2016,'OP-E[00000023]',NULL,1,1,0,'2016-08-17 02:59:34',NULL,'2016-08-17 02:59:34',0,0),(48594,25,'AP20160800000025',2,33094,0,'motor baru dah rosak',0,100,1,100,1,0,8,2016,'OP-E[00000023]',NULL,1,1,0,'2016-08-17 02:59:34',NULL,'2016-08-17 02:59:34',0,0),(48595,25,'AR20160800000014',1,33081,0,'cermin code 001',100,0,1,100,1,0,8,2016,'OR[00000012]','',1,1,0,'2016-08-17 03:00:45',NULL,'2016-08-17 03:00:45',0,0),(48596,25,'AR20160800000014',2,33073,0,'cermin code 001',0,100,1,100,1,0,8,2016,'OR[00000012]','',1,1,0,'2016-08-17 03:00:45',NULL,'2016-08-17 03:00:45',0,0),(48597,25,'AP20160800000026',1,33073,0,'baiki siling',200,0,1,200,1,0,8,2016,'OP-A[00000024]',NULL,1,1,0,'2016-08-17 03:02:00',NULL,'2016-08-17 03:02:00',0,0),(48598,25,'AP20160800000026',2,33064,0,'baiki siling',0,200,1,200,1,0,8,2016,'OP-A[00000024]',NULL,1,1,0,'2016-08-17 03:02:00',NULL,'2016-08-17 03:02:00',0,0),(48599,25,'AP20160800000027',1,33074,0,'ayam',15,0,1,15,1,0,8,2016,'OP-C[00000025]',NULL,1,1,0,'2016-08-17 03:03:25',NULL,'2016-08-17 03:03:25',0,0),(48600,25,'AP20160800000027',2,33082,0,'ayam',0,15,1,15,1,0,8,2016,'OP-C[00000025]',NULL,1,1,0,'2016-08-17 03:03:25',NULL,'2016-08-17 03:03:25',0,0),(48601,25,'AR20160800000015',1,33081,0,'cermin mata bulat',200,0,1,200,1,0,8,2016,'OR[00000013]','',1,1,0,'2016-08-17 03:04:39',NULL,'2016-08-17 03:04:39',0,0),(48602,25,'AR20160800000015',2,33074,0,'cermin mata bulat',0,200,1,200,1,0,8,2016,'OR[00000013]','',1,1,0,'2016-08-17 03:04:39',NULL,'2016-08-17 03:04:39',0,0),(48603,25,'AR20160800000016',1,33081,0,'cermin mata hipster',500,0,1,500,1,0,8,2016,'OR[00000014]','',1,1,0,'2016-08-17 03:23:25',NULL,'2016-08-17 03:23:25',0,0),(48604,25,'AR20160800000016',2,33073,0,'cermin mata hipster',0,500,1,500,1,0,8,2016,'OR[00000014]','',1,1,0,'2016-08-17 03:23:25',NULL,'2016-08-17 03:23:25',0,0),(48609,24,'AR20160800000011',1,33144,0,'sudu',1.5,0,1,1.5,1,0,8,2016,'OR[00000012]','',1,1,0,'2016-08-17 03:32:06',NULL,'2016-08-17 03:32:06',0,0),(48610,24,'AR20160800000011',2,33133,0,'sudu',0,1.5,1,1.5,1,0,8,2016,'OR[00000012]','',1,1,0,'2016-08-17 03:32:06',NULL,'2016-08-17 03:32:06',0,0),(48613,24,'AP20160200000004',1,33134,0,'mesen jahit',450,0,1,450,1,0,2,2016,'OP-A[00000037]',NULL,1,1,0,'2016-08-17 04:16:14',NULL,'2016-08-17 04:16:14',0,0),(48614,24,'AP20160200000004',2,33126,0,'mesen jahit',0,450,1,450,1,0,2,2016,'OP-A[00000037]',NULL,1,1,0,'2016-08-17 04:16:14',NULL,'2016-08-17 04:16:14',0,0),(48615,24,'AP20160800000042',1,33134,0,'kusyen',320,0,1,320,1,0,8,2016,'OP-A[00000038]',NULL,1,1,0,'2016-08-17 04:18:09',NULL,'2016-08-17 04:18:09',0,0),(48616,24,'AP20160800000042',2,33122,0,'kusyen',0,320,1,320,1,0,8,2016,'OP-A[00000038]',NULL,1,1,0,'2016-08-17 04:18:09',NULL,'2016-08-17 04:18:09',0,0),(48617,24,'AP20160800000043',1,33135,0,'almari',40,0,1,40,1,0,8,2016,'OP-A[00000030]',NULL,1,1,0,'2016-08-17 04:21:19',NULL,'2016-08-17 04:21:20',0,0),(48618,24,'AP20160800000043',2,33122,0,'almari',0,40,1,40,1,0,8,2016,'OP-A[00000030]',NULL,1,1,0,'2016-08-17 04:21:19',NULL,'2016-08-17 04:21:20',0,0),(48619,24,'AP20160800000043',3,33135,0,'katil',1257,0,1,1257,1,0,8,2016,'OP-A[00000030]',NULL,1,1,0,'2016-08-17 04:21:19',NULL,'2016-08-17 04:21:20',0,0),(48620,24,'AP20160800000043',4,33122,0,'katil',0,1257,1,1257,1,0,8,2016,'OP-A[00000030]',NULL,1,1,0,'2016-08-17 04:21:19',NULL,'2016-08-17 04:21:20',0,0),(48623,24,'AP20160300000003',1,33133,0,'cuci tingkap',289,0,1,289,1,0,3,2016,'OP-E[00000039]',NULL,1,1,0,'2016-08-17 04:40:12',NULL,'2016-08-17 04:40:12',0,0),(48624,24,'AP20160300000003',2,33158,0,'cuci tingkap',0,289,1,289,1,0,3,2016,'OP-E[00000039]',NULL,1,1,0,'2016-08-17 04:40:12',NULL,'2016-08-17 04:40:12',0,0),(48625,24,'AP20160800000045',1,33133,0,'hah',90,0,1,90,1,0,8,2016,'OP-L[00000040]',NULL,1,1,0,'2016-08-17 04:45:29',NULL,'2016-08-17 04:45:29',0,0),(48626,24,'AP20160800000045',2,33139,0,'hah',0,90,1,90,1,0,8,2016,'OP-L[00000040]',NULL,1,1,0,'2016-08-17 04:45:29',NULL,'2016-08-17 04:45:29',0,0),(48633,24,'AR20160600000002',1,33144,0,'Buku',200,0,1,200,1,0,6,2016,'OR[00000001]','',1,1,0,'2016-08-17 05:02:55',NULL,'2016-08-17 05:02:55',0,0),(48634,24,'AR20160600000002',2,33133,0,'Buku',0,200,1,200,1,0,6,2016,'OR[00000001]','',1,1,0,'2016-08-17 05:02:55',NULL,'2016-08-17 05:02:55',0,0),(48635,24,'AR20160600000002',3,33144,0,'Alat Tulis',120,0,1,120,1,0,6,2016,'OR[00000001]','',2,1,0,'2016-08-17 05:02:55',NULL,'2016-08-17 05:02:55',0,0),(48636,24,'AR20160600000002',4,33133,0,'Alat Tulis',0,120,1,120,1,0,6,2016,'OR[00000001]','',2,1,0,'2016-08-17 05:02:55',NULL,'2016-08-17 05:02:55',0,0),(48637,24,'AR20160600000002',5,33144,0,'Printer',500,0,1,500,1,0,6,2016,'OR[00000001]','',3,1,0,'2016-08-17 05:02:55',NULL,'2016-08-17 05:02:55',0,0),(48638,24,'AR20160600000002',6,33133,0,'Printer',0,500,1,500,1,0,6,2016,'OR[00000001]','',3,1,0,'2016-08-17 05:02:55',NULL,'2016-08-17 05:02:55',0,0),(48639,24,'AP20160800000046',1,33133,0,'wer',200,0,1,200,1,0,8,2016,'OP-L[00000041]',NULL,1,1,0,'2016-08-17 06:14:47',NULL,'2016-08-17 06:14:47',0,0),(48640,24,'AP20160800000046',2,33139,0,'wer',0,200,1,200,1,0,8,2016,'OP-L[00000041]',NULL,1,1,0,'2016-08-17 06:14:47',NULL,'2016-08-17 06:14:47',0,0),(48641,25,'AP20160800000028',1,33073,0,'test',25,0,1,25,1,0,8,2016,'OP-L[00000026]',NULL,1,1,0,'2016-08-17 06:16:48',NULL,'2016-08-17 06:16:48',0,0),(48642,25,'AP20160800000028',2,33076,0,'test',0,25,1,25,1,0,8,2016,'OP-L[00000026]',NULL,1,1,0,'2016-08-17 06:16:48',NULL,'2016-08-17 06:16:48',0,0),(48643,24,'AP20160800000047',1,33139,0,'apeape',400,0,1,400,1,0,8,2016,'LR[00000042]',NULL,0,1,0,'2016-08-17 06:18:30',NULL,'2016-08-17 06:18:30',0,0),(48644,24,'AP20160800000047',2,33134,0,'apeape',0,400,1,400,1,0,8,2016,'LR[00000042]',NULL,0,1,0,'2016-08-17 06:18:30',NULL,'2016-08-17 06:18:30',0,0),(48645,24,'AP20160300000004',1,33133,0,'tah',10,0,1,10,1,0,3,2016,'TT[00000033]',NULL,0,1,0,'2016-08-17 06:31:29',NULL,'2016-08-17 06:31:29',0,0),(48646,24,'AP20160300000004',2,33135,0,'tah',0,10,1,10,1,0,3,2016,'TT[00000033]',NULL,0,1,0,'2016-08-17 06:31:29',NULL,'2016-08-17 06:31:29',0,0),(48671,23,'AR20160800000007',1,33018,0,'salukun',400,0,1,400,1,0,8,2016,'OR[00000022]','',1,1,0,'2016-08-17 07:23:36',NULL,'2016-08-17 07:23:36',0,0),(48672,23,'AR20160800000007',2,33007,0,'salukun',0,400,1,400,1,0,8,2016,'OR[00000022]','',1,1,0,'2016-08-17 07:23:36',NULL,'2016-08-17 07:23:36',0,0),(48685,25,'AP20160800000029',1,33073,0,'membayar balik hutang',50,0,1,50,1,0,8,2016,'OP-L[00000027]',NULL,1,1,0,'2016-08-17 07:33:47',NULL,'2016-08-17 07:33:47',0,0),(48686,25,'AP20160800000029',2,33076,0,'membayar balik hutang',0,50,1,50,1,0,8,2016,'OP-L[00000027]',NULL,1,1,0,'2016-08-17 07:33:47',NULL,'2016-08-17 07:33:47',0,0),(48691,24,'AP20160800000048',1,33139,0,'test1',100,0,1,100,1,0,8,2016,'LR[00000042]',NULL,0,1,0,'2016-08-17 07:46:18',NULL,'2016-08-17 07:46:18',0,0),(48692,24,'AP20160800000048',2,33133,0,'test1',0,100,1,100,1,0,8,2016,'LR[00000042]',NULL,0,1,0,'2016-08-17 07:46:18',NULL,'2016-08-17 07:46:18',0,0),(48693,24,'AP20160800000049',1,33140,0,'test2',100,0,1,100,1,0,8,2016,'LR[00000043]',NULL,0,1,0,'2016-08-17 07:47:33',NULL,'2016-08-17 07:47:33',0,0),(48694,24,'AP20160800000049',2,33134,0,'test2',0,100,1,100,1,0,8,2016,'LR[00000043]',NULL,0,1,0,'2016-08-17 07:47:33',NULL,'2016-08-17 07:47:33',0,0),(48695,25,'AP20160800000030',1,33077,0,'pinjam dengan ceti',1000,0,1,1000,1,0,8,2016,'LR[00000028]',NULL,0,1,0,'2016-08-17 07:47:56',NULL,'2016-08-17 07:47:56',0,0),(48696,25,'AP20160800000030',2,33072,0,'pinjam dengan ceti',0,1000,1,1000,1,0,8,2016,'LR[00000028]',NULL,0,1,0,'2016-08-17 07:47:56',NULL,'2016-08-17 07:47:56',0,0),(48697,25,'AP20160800000031',1,33073,0,'bayar ceti haram dengan pety cash 400',400,0,1,400,1,0,8,2016,'OP-L[00000029]',NULL,1,1,0,'2016-08-17 07:50:29',NULL,'2016-08-17 07:50:30',0,0),(48698,25,'AP20160800000031',2,33077,0,'bayar ceti haram dengan pety cash 400',0,400,1,400,1,0,8,2016,'OP-L[00000029]',NULL,1,1,0,'2016-08-17 07:50:29',NULL,'2016-08-17 07:50:30',0,0),(48719,25,'AP20160800000007',1,33078,0,'pinjam ceti halal ke bank islam negative',1000,0,1,1000,1,0,8,2016,'LR[00000031]',NULL,0,1,0,'2016-08-17 08:18:38',NULL,'2016-08-17 09:10:39',0,0),(48720,25,'AP20160800000007',2,33072,0,'pinjam ceti halal ke bank islam negative',0,1000,1,1000,1,0,8,2016,'LR[00000031]',NULL,0,1,0,'2016-08-17 08:18:38',NULL,'2016-08-17 09:10:13',0,0),(48793,12,'AR20160800000003',1,NULL,NULL,'bayar ceti haram dengan pety cash 400',400,0,1,400,1,0,8,2016,'OP-L[00000029]',NULL,1,1,0,'2016-08-17 09:26:02',NULL,'2016-08-17 09:26:02',0,0),(48794,12,'AR20160800000003',2,33077,NULL,'bayar ceti haram dengan pety cash 400',0,400,1,400,1,0,8,2016,'OP-L[00000029]',NULL,1,1,0,'2016-08-17 09:26:02',NULL,'2016-08-17 09:26:02',0,0),(48807,12,'AR20160800000024',1,32580,0,'1111111',1111111,0,1,1111111,1,0,8,2016,'LR[00000029]','Loan 3	',1,1,0,'2016-08-17 12:12:45',NULL,'2016-08-17 12:12:45',0,0),(48808,12,'AR20160800000024',2,32572,0,'1111111',0,1111111,1,1111111,1,0,8,2016,'LR[00000029]','Loan 3	',1,1,0,'2016-08-17 12:12:45',NULL,'2016-08-17 12:12:45',0,0),(48809,12,'AR20160800000025',1,32580,0,'11111112',11111112,0,1,11111112,1,0,8,2016,'LR[00000030]','Loan 3	',1,1,0,'2016-08-17 12:15:11',NULL,'2016-08-17 12:15:11',0,0),(48810,12,'AR20160800000025',2,32572,0,'11111112',0,11111112,1,11111112,1,0,8,2016,'LR[00000030]','Loan 3	',1,1,0,'2016-08-17 12:15:11',NULL,'2016-08-17 12:15:11',0,0),(48811,12,'AR20160800000026',1,32580,0,'111111123',111111123,0,1,111111123,1,0,8,2016,'LR[00000031]','Loan 3	',1,1,0,'2016-08-17 12:29:56',NULL,'2016-08-17 12:29:56',0,0),(48812,12,'AR20160800000026',2,32572,0,'111111123',0,111111123,1,111111123,1,0,8,2016,'LR[00000031]','Loan 3	',1,1,0,'2016-08-17 12:29:56',NULL,'2016-08-17 12:29:56',0,0),(48813,12,'AR20160800000027',1,32580,0,'1111111234',1111111234,0,1,1111111234,1,0,8,2016,'LR[00000032]','Loan 3	',1,1,0,'2016-08-17 12:32:14',NULL,'2016-08-17 12:32:14',0,0),(48814,12,'AR20160800000027',2,32572,0,'1111111234',0,1111111234,1,1111111234,1,0,8,2016,'LR[00000032]','Loan 3	',1,1,0,'2016-08-17 12:32:14',NULL,'2016-08-17 12:32:14',0,0),(48885,1,'AR20160800000025',1,32526,0,'Item A',10000,0,1,10000,1,0,8,2016,'OR[00000058]','',1,1,0,'2016-08-18 01:27:58',NULL,'2016-08-18 01:27:58',0,0),(48886,1,'AR20160800000025',2,32515,0,'Item A',0,10000,1,10000,1,0,8,2016,'OR[00000058]','',1,1,0,'2016-08-18 01:27:58',NULL,'2016-08-18 01:27:58',0,0),(48943,12,'AR20160800000034',1,32582,0,'loan5 ke bank1 rm58',58,0,1,58,1,0,8,2016,'LR[00000008]','0',1,1,0,'2016-08-18 04:40:21',NULL,'2016-08-18 04:40:21',0,0),(48944,12,'AR20160800000034',2,32572,0,'loan5 ke bank1 rm58',0,58,1,58,1,0,8,2016,'LR[00000008]','0',1,1,0,'2016-08-18 04:40:21',NULL,'2016-08-18 04:40:21',0,0),(48945,12,'AR20160800000035',1,32582,0,'loan5 ke bank1 rm58',58,0,1,58,1,0,8,2016,'LR[00000008]','0',1,1,0,'2016-08-18 04:41:10',NULL,'2016-08-18 04:41:10',0,0),(48946,12,'AR20160800000035',2,32572,0,'loan5 ke bank1 rm58',0,58,1,58,1,0,8,2016,'LR[00000008]','0',1,1,0,'2016-08-18 04:41:10',NULL,'2016-08-18 04:41:10',0,0),(48951,12,'AR20160800000038',1,32582,0,'loan5 ke bank1 rm58',58,0,1,58,1,0,8,2016,'LR[00000008]','Loan 5	',1,1,0,'2016-08-18 04:50:28',NULL,'2016-08-18 04:50:28',0,0),(48952,12,'AR20160800000038',2,32573,0,'loan5 ke bank1 rm58',0,58,1,58,1,0,8,2016,'LR[00000008]','Loan 5	',1,1,0,'2016-08-18 04:50:28',NULL,'2016-08-18 04:50:28',0,0),(48953,12,'AR20160800000039',1,32578,0,'mara ke bank3 rm85',85,0,1,85,1,0,8,2016,'LR[00000009]','Pinjaman Mara	',1,1,0,'2016-08-18 04:51:54',NULL,'2016-08-18 04:51:54',0,0),(48954,12,'AR20160800000039',2,32574,0,'mara ke bank3 rm85',0,85,1,85,1,0,8,2016,'LR[00000009]','Pinjaman Mara	',1,1,0,'2016-08-18 04:51:54',NULL,'2016-08-18 04:51:54',0,0),(48955,12,'AP20160800000008',1,32572,0,'bank 1 ke bank 2 12',12,0,1,12,1,0,8,2016,'TT[00000030]',NULL,0,1,0,'2016-08-18 04:53:12',NULL,'2016-08-18 04:53:12',0,0),(48956,12,'AP20160800000008',2,32573,0,'bank 1 ke bank 2 12',0,12,1,12,1,0,8,2016,'TT[00000030]',NULL,0,1,0,'2016-08-18 04:53:12',NULL,'2016-08-18 04:53:12',0,0),(48957,12,'AR20160800000040',1,32582,0,'loan5 ke bank2',111111123456,0,1,111111123456,1,0,8,2016,'LR[00000034]','Loan 5	',1,1,0,'2016-08-18 04:54:32',NULL,'2016-08-18 04:54:32',0,0),(48958,12,'AR20160800000040',2,32573,0,'loan5 ke bank2',0,111111123456,1,111111123456,1,0,8,2016,'LR[00000034]','Loan 5	',1,1,0,'2016-08-18 04:54:32',NULL,'2016-08-18 04:54:32',0,0),(48959,12,'AR20160800000041',1,32581,0,'loan4 ke bank1',11111112345,0,1,11111112345,1,0,8,2016,'LR[00000033]','Loan 4	',1,1,0,'2016-08-18 04:55:27',NULL,'2016-08-18 04:55:27',0,0),(48960,12,'AR20160800000041',2,32572,0,'loan4 ke bank1',0,11111112345,1,11111112345,1,0,8,2016,'LR[00000033]','Loan 4	',1,1,0,'2016-08-18 04:55:27',NULL,'2016-08-18 04:55:27',0,0),(48961,12,'AR20160800000042',1,32578,0,'mara ke bank2',45672,0,1,45672,1,0,8,2016,'LR[00000022]','Pinjaman Mara	',1,1,0,'2016-08-18 04:56:46',NULL,'2016-08-18 04:56:46',0,0),(48962,12,'AR20160800000042',2,32573,0,'mara ke bank2',0,45672,1,45672,1,0,8,2016,'LR[00000022]','Pinjaman Mara	',1,1,0,'2016-08-18 04:56:46',NULL,'2016-08-18 04:56:46',0,0),(48963,12,'AR20160800000043',1,32579,0,'loan2 ke pc1',456,0,1,456,1,0,8,2016,'LR[00000012]','Loan 2	',1,1,0,'2016-08-18 04:57:05',NULL,'2016-08-18 04:57:05',0,0),(48964,12,'AR20160800000043',2,32575,0,'loan2 ke pc1',0,456,1,456,1,0,8,2016,'LR[00000012]','Loan 2	',1,1,0,'2016-08-18 04:57:05',NULL,'2016-08-18 04:57:05',0,0),(48967,23,'AR20160800000032',1,33013,0,'loan',100,0,1,100,1,0,8,2016,'LR[00000011]','Loan 1	',1,1,0,'2016-08-18 05:01:30',NULL,'2016-08-18 05:01:30',0,0),(48968,23,'AR20160800000032',2,33008,0,'loan',0,100,1,100,1,0,8,2016,'LR[00000011]','Loan 1	',1,1,0,'2016-08-18 05:01:30',NULL,'2016-08-18 05:01:30',0,0),(48969,24,'AR20160800000013',1,33133,0,'testloan2',20,0,1,20,1,0,8,2016,'LR[00000014]','0',1,1,0,'2016-08-18 05:01:50',NULL,'2016-08-18 05:01:50',0,0),(48970,24,'AR20160800000013',2,NULL,0,'testloan2',0,20,1,20,1,0,8,2016,'LR[00000014]','0',1,1,0,'2016-08-18 05:01:50',NULL,'2016-08-18 05:01:50',0,0),(48971,24,'AR20160800000014',1,33139,0,'testloan',20,0,1,20,1,0,8,2016,'LR[00000013]','Mara',1,1,0,'2016-08-18 05:03:29',NULL,'2016-08-18 05:03:30',0,0),(48972,24,'AR20160800000014',2,33133,0,'testloan',0,20,1,20,1,0,8,2016,'LR[00000013]','Mara',1,1,0,'2016-08-18 05:03:30',NULL,'2016-08-18 05:03:30',0,0),(48973,23,'AR20160800000033',1,33014,0,'loan',200,0,1,200,1,0,8,2016,'LR[00000012]','Loan 2	',1,1,0,'2016-08-18 05:03:33',NULL,'2016-08-18 05:03:33',0,0),(48974,23,'AR20160800000033',2,33008,0,'loan',0,200,1,200,1,0,8,2016,'LR[00000012]','Loan 2	',1,1,0,'2016-08-18 05:03:33',NULL,'2016-08-18 05:03:33',0,0),(48975,24,'AR20160800000015',1,33133,0,'testloan3',30,0,1,30,1,0,8,2016,'LR[00000015]','0',1,1,0,'2016-08-18 05:04:04',NULL,'2016-08-18 05:04:04',0,0),(48976,24,'AR20160800000015',2,NULL,0,'testloan3',0,30,1,30,1,0,8,2016,'LR[00000015]','0',1,1,0,'2016-08-18 05:04:04',NULL,'2016-08-18 05:04:04',0,0),(48977,12,'AR20160800000044',1,32579,0,'loan2 ke bank3',10,0,1,10,1,0,8,2016,'LR[00000035]','Loan 2	',1,1,0,'2016-08-18 05:05:14',NULL,'2016-08-18 05:05:14',0,0),(48978,12,'AR20160800000044',2,32574,0,'loan2 ke bank3',0,10,1,10,1,0,8,2016,'LR[00000035]','Loan 2	',1,1,0,'2016-08-18 05:05:14',NULL,'2016-08-18 05:05:14',0,0),(48979,23,'AR20160800000034',1,33015,0,'loaniing',30,0,1,30,1,0,8,2016,'LR[00000013]','Loan 3	',1,1,0,'2016-08-18 05:05:17',NULL,'2016-08-18 05:05:17',0,0),(48980,23,'AR20160800000034',2,33009,0,'loaniing',0,30,1,30,1,0,8,2016,'LR[00000013]','Loan 3	',1,1,0,'2016-08-18 05:05:17',NULL,'2016-08-18 05:05:17',0,0),(48981,25,'AR20160800000017',1,33071,0,'pinjaman ceti',100,0,1,100,1,0,8,2016,'LR[00000015]','0',1,1,0,'2016-08-18 05:05:55',NULL,'2016-08-18 05:05:55',0,0),(48982,25,'AR20160800000017',2,NULL,0,'pinjaman ceti',0,100,1,100,1,0,8,2016,'LR[00000015]','0',1,1,0,'2016-08-18 05:05:55',NULL,'2016-08-18 05:05:55',0,0),(48983,24,'AR20160800000016',1,33134,0,'testloan4',45,0,1,45,1,0,8,2016,'LR[00000016]','0',1,1,0,'2016-08-18 05:06:39',NULL,'2016-08-18 05:06:39',0,0),(48984,24,'AR20160800000016',2,NULL,0,'testloan4',0,45,1,45,1,0,8,2016,'LR[00000016]','0',1,1,0,'2016-08-18 05:06:39',NULL,'2016-08-18 05:06:39',0,0),(48985,25,'AR20160800000018',1,33071,0,'pinjaman ceti',100,0,1,100,1,0,8,2016,'LR[00000016]','0',1,1,0,'2016-08-18 05:06:41',NULL,'2016-08-18 05:06:41',0,0),(48986,25,'AR20160800000018',2,NULL,0,'pinjaman ceti',0,100,1,100,1,0,8,2016,'LR[00000016]','0',1,1,0,'2016-08-18 05:06:41',NULL,'2016-08-18 05:06:41',0,0),(48987,24,'AR20160800000017',1,33139,0,'testingloan',90,0,1,90,1,0,8,2016,'LR[00000017]','Mara',1,1,0,'2016-08-18 06:15:40',NULL,'2016-08-18 06:15:40',0,0),(48988,24,'AR20160800000017',2,33134,0,'testingloan',0,90,1,90,1,0,8,2016,'LR[00000017]','Mara',1,1,0,'2016-08-18 06:15:40',NULL,'2016-08-18 06:15:40',0,0),(48991,25,'AR20160800000019',1,33077,0,'test search ceti',1000,0,1,1000,1,0,8,2016,'LR[00000017]','ceti haram',1,1,0,'2016-08-18 08:25:15',NULL,'2016-08-18 08:25:15',0,0),(48992,25,'AR20160800000019',2,33074,0,'test search ceti',0,1000,1,1000,1,0,8,2016,'LR[00000017]','ceti haram',1,1,0,'2016-08-18 08:25:15',NULL,'2016-08-18 08:25:15',0,0),(48993,25,'AR20160800000020',1,33077,0,'pinjam dari ceti',200,0,1,200,1,0,8,2016,'LR[00000018]','ceti haram',1,1,0,'2016-08-18 09:21:16',NULL,'2016-08-18 09:21:16',0,0),(48994,25,'AR20160800000020',2,33071,0,'pinjam dari ceti',0,200,1,200,1,0,8,2016,'LR[00000018]','ceti haram',1,1,0,'2016-08-18 09:21:16',NULL,'2016-08-18 09:21:16',0,0),(49065,23,'AP20160100000013',1,33007,0,'Transfer',100,0,1,100,1,0,1,2016,'TT[00000053]',NULL,0,1,0,'2016-08-22 02:13:09',NULL,'2016-08-22 02:13:09',0,0),(49066,23,'AP20160100000013',2,33008,0,'Transfer',0,100,1,100,1,0,1,2016,'TT[00000053]',NULL,0,1,0,'2016-08-22 02:13:09',NULL,'2016-08-22 02:13:09',0,0),(49127,23,'AR20160800000035',1,33013,0,'sese',100,0,1,100,1,0,8,2016,'LR[00000014]','Loan 1	',1,1,0,'2016-08-22 02:27:51',NULL,'2016-08-22 02:27:51',0,0),(49128,23,'AR20160800000035',2,33007,0,'sese',0,100,1,100,1,0,8,2016,'LR[00000014]','Loan 1	',1,1,0,'2016-08-22 02:27:51',NULL,'2016-08-22 02:27:51',0,0),(49155,1,'AP20160800000011',1,32515,0,'1',1,0,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:18',NULL,'2016-08-22 06:31:19',0,0),(49156,1,'AP20160800000011',2,32529,0,'1',0,1,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:18',NULL,'2016-08-22 06:31:19',0,0),(49157,1,'AP20160800000011',3,32515,0,'3',1,0,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49158,1,'AP20160800000011',4,32529,0,'3',0,1,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49159,1,'AP20160800000011',5,32515,0,'4',1,0,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49160,1,'AP20160800000011',6,32529,0,'4',0,1,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49161,1,'AP20160800000011',7,32515,0,'5',1,0,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49162,1,'AP20160800000011',8,32529,0,'5',0,1,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49163,1,'AP20160800000011',9,32515,0,'7',1,0,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49164,1,'AP20160800000011',10,32529,0,'7',0,1,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49165,1,'AP20160800000011',11,32515,0,'8',1,0,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49166,1,'AP20160800000011',12,32529,0,'8',0,1,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49167,1,'AP20160800000011',13,32515,0,'6',1,0,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49168,1,'AP20160800000011',14,32530,0,'6',0,1,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49169,1,'AP20160800000011',15,32515,0,'9',1,0,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49170,1,'AP20160800000011',16,32531,0,'9',0,1,1,1,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49171,1,'AP20160800000011',17,32515,0,'10',11,0,1,11,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49172,1,'AP20160800000011',18,32535,0,'10',0,11,1,11,1,0,8,2016,'OP-E[00000628]',NULL,1,1,0,'2016-08-22 06:31:19',NULL,'2016-08-22 06:31:19',0,0),(49177,12,'AR20160800000045',1,32583,0,'baju melayu',258,0,1,258,1,0,8,2016,'OR[00000006]','',1,1,0,'2016-08-23 05:16:44',NULL,'2016-08-23 05:16:44',0,0),(49178,12,'AR20160800000045',2,32575,0,'baju melayu',0,258,1,258,1,0,8,2016,'OR[00000006]','',1,1,0,'2016-08-23 05:16:44',NULL,'2016-08-23 05:16:44',0,0),(49241,1,'AR20160800000026',1,32526,0,'Item 1',1,0,1,1,1,0,8,2016,'OR[00000059]','',1,1,0,'2016-08-26 02:09:54',NULL,'2016-08-26 02:09:55',0,0),(49242,1,'AR20160800000026',2,32515,0,'Item 1',0,1,1,1,1,0,8,2016,'OR[00000059]','',1,1,0,'2016-08-26 02:09:54',NULL,'2016-08-26 02:09:55',0,0),(49243,1,'AR20160800000026',3,32526,0,'Item 2',1,0,1,1,1,0,8,2016,'OR[00000059]','',2,1,0,'2016-08-26 02:09:54',NULL,'2016-08-26 02:09:55',0,0),(49244,1,'AR20160800000026',4,32515,0,'Item 2',0,1,1,1,1,0,8,2016,'OR[00000059]','',2,1,0,'2016-08-26 02:09:54',NULL,'2016-08-26 02:09:55',0,0),(49245,1,'AR20160800000026',5,32526,0,'Item 3',1,0,1,1,1,0,8,2016,'OR[00000059]','',3,1,0,'2016-08-26 02:09:54',NULL,'2016-08-26 02:09:55',0,0),(49246,1,'AR20160800000026',6,32515,0,'Item 3',0,1,1,1,1,0,8,2016,'OR[00000059]','',3,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49247,1,'AR20160800000026',7,32526,0,'Item 5',1,0,1,1,1,0,8,2016,'OR[00000059]','',4,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49248,1,'AR20160800000026',8,32515,0,'Item 5',0,1,1,1,1,0,8,2016,'OR[00000059]','',4,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49249,1,'AR20160800000026',9,32526,0,'Item 4',1,0,1,1,1,0,8,2016,'OR[00000059]','',5,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49250,1,'AR20160800000026',10,32515,0,'Item 4',0,1,1,1,1,0,8,2016,'OR[00000059]','',5,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49251,1,'AR20160800000026',11,32526,0,'Item 6',1,0,1,1,1,0,8,2016,'OR[00000059]','',6,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49252,1,'AR20160800000026',12,32515,0,'Item 6',0,1,1,1,1,0,8,2016,'OR[00000059]','',6,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49253,1,'AR20160800000026',13,32526,0,'Item 7',1,0,1,1,1,0,8,2016,'OR[00000059]','',7,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49254,1,'AR20160800000026',14,32515,0,'Item 7',0,1,1,1,1,0,8,2016,'OR[00000059]','',7,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49255,1,'AR20160800000026',15,32526,0,'Item 8',1,0,1,1,1,0,8,2016,'OR[00000059]','',8,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49256,1,'AR20160800000026',16,32515,0,'Item 8',0,1,1,1,1,0,8,2016,'OR[00000059]','',8,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49257,1,'AR20160800000026',17,32526,0,'Item 9',1,0,1,1,1,0,8,2016,'OR[00000059]','',9,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49258,1,'AR20160800000026',18,32515,0,'Item 9',0,1,1,1,1,0,8,2016,'OR[00000059]','',9,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49259,1,'AR20160800000026',19,32526,0,'Item 10',1,0,1,1,1,0,8,2016,'OR[00000059]','',10,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49260,1,'AR20160800000026',20,32515,0,'Item 10',0,1,1,1,1,0,8,2016,'OR[00000059]','',10,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49261,1,'AR20160800000026',21,32526,0,'Item 11',1,0,1,1,1,0,8,2016,'OR[00000059]','',11,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49262,1,'AR20160800000026',22,32515,0,'Item 11',0,1,1,1,1,0,8,2016,'OR[00000059]','',11,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49263,1,'AR20160800000026',23,32526,0,'Item 12',1,0,1,1,1,0,8,2016,'OR[00000059]','',12,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49264,1,'AR20160800000026',24,32515,0,'Item 12',0,1,1,1,1,0,8,2016,'OR[00000059]','',12,1,0,'2016-08-26 02:09:55',NULL,'2016-08-26 02:09:55',0,0),(49343,23,'AR20160800000049',1,33013,0,'harini try',1211,0,1,1211,1,0,8,2016,'LR[00000015]','Loan 1	',1,1,0,'2016-08-26 07:56:13',NULL,'2016-08-26 07:56:13',0,0),(49344,23,'AR20160800000049',2,33007,0,'harini try',0,1211,1,1211,1,0,8,2016,'LR[00000015]','Loan 1	',1,1,0,'2016-08-26 07:56:13',NULL,'2016-08-26 07:56:13',0,0),(49353,23,'AP20160800000064',1,33007,0,'29082016',100,0,1,100,1,0,8,2016,'OP-C[00000055]',NULL,1,1,0,'2016-08-29 01:15:09',NULL,'2016-08-29 01:15:09',0,0),(49354,23,'AP20160800000064',2,33019,0,'29082016',0,100,1,100,1,0,8,2016,'OP-C[00000055]',NULL,1,1,0,'2016-08-29 01:15:09',NULL,'2016-08-29 01:15:09',0,0),(49359,23,'AP20160800000065',1,33007,0,'29082016',100,0,1,100,1,0,8,2016,'OP-C[00000056]',NULL,1,1,0,'2016-08-29 01:18:21',NULL,'2016-08-29 01:18:21',0,0),(49360,23,'AP20160800000065',2,33019,0,'29082016',0,100,1,100,1,0,8,2016,'OP-C[00000056]',NULL,1,1,0,'2016-08-29 01:18:21',NULL,'2016-08-29 01:18:21',0,0),(49369,23,'AP20160800000067',1,33007,0,'harini',1,0,1,1,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49370,23,'AP20160800000067',2,33019,0,'harini',0,1,1,1,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49371,23,'AP20160800000067',3,33007,0,'harini',2,0,1,2,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49372,23,'AP20160800000067',4,33019,0,'harini',0,2,1,2,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49373,23,'AP20160800000067',5,33007,0,'harini',3,0,1,3,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49374,23,'AP20160800000067',6,33019,0,'harini',0,3,1,3,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49375,23,'AP20160800000067',7,33007,0,'harini',4,0,1,4,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49376,23,'AP20160800000067',8,33019,0,'harini',0,4,1,4,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49377,23,'AP20160800000067',9,33007,0,'harini',5,0,1,5,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49378,23,'AP20160800000067',10,33019,0,'harini',0,5,1,5,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49379,23,'AP20160800000067',11,33007,0,'harini',6,0,1,6,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49380,23,'AP20160800000067',12,33019,0,'harini',0,6,1,6,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49381,23,'AP20160800000067',13,33007,0,'harini',7,0,1,7,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49382,23,'AP20160800000067',14,33019,0,'harini',0,7,1,7,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49383,23,'AP20160800000067',15,33007,0,'harini',8,0,1,8,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49384,23,'AP20160800000067',16,33019,0,'harini',0,8,1,8,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49385,23,'AP20160800000067',17,33007,0,'harini',9,0,1,9,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49386,23,'AP20160800000067',18,33019,0,'harini',0,9,1,9,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49387,23,'AP20160800000067',19,33007,0,'harini',10,0,1,10,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49388,23,'AP20160800000067',20,33019,0,'harini',0,10,1,10,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49389,23,'AP20160800000067',21,33007,0,'harini',11,0,1,11,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49390,23,'AP20160800000067',22,33019,0,'harini',0,11,1,11,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49391,23,'AP20160800000067',23,33007,0,'harini',12,0,1,12,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49392,23,'AP20160800000067',24,33019,0,'harini',0,12,1,12,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49393,23,'AP20160800000067',25,33007,0,'harini',13,0,1,13,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49394,23,'AP20160800000067',26,33019,0,'harini',0,13,1,13,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49395,23,'AP20160800000067',27,33007,0,'harini',14,0,1,14,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49396,23,'AP20160800000067',28,33019,0,'harini',0,14,1,14,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49397,23,'AP20160800000067',29,33007,0,'harini',15,0,1,15,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49398,23,'AP20160800000067',30,33019,0,'harini',0,15,1,15,1,0,8,2016,'OP-C[00000058]',NULL,1,1,0,'2016-08-29 02:33:38',NULL,'2016-08-29 02:33:38',0,0),(49399,23,'AP20160800000068',1,33007,0,'harini',1,0,1,1,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49400,23,'AP20160800000068',2,33019,0,'harini',0,1,1,1,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49401,23,'AP20160800000068',3,33007,0,'harini',2,0,1,2,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49402,23,'AP20160800000068',4,33019,0,'harini',0,2,1,2,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49403,23,'AP20160800000068',5,33007,0,'harini',3,0,1,3,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49404,23,'AP20160800000068',6,33019,0,'harini',0,3,1,3,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49405,23,'AP20160800000068',7,33007,0,'harini',4,0,1,4,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49406,23,'AP20160800000068',8,33019,0,'harini',0,4,1,4,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49407,23,'AP20160800000068',9,33007,0,'harini',5,0,1,5,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49408,23,'AP20160800000068',10,33019,0,'harini',0,5,1,5,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49409,23,'AP20160800000068',11,33007,0,'harini',6,0,1,6,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49410,23,'AP20160800000068',12,33019,0,'harini',0,6,1,6,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49411,23,'AP20160800000068',13,33007,0,'harini',7,0,1,7,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49412,23,'AP20160800000068',14,33019,0,'harini',0,7,1,7,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49413,23,'AP20160800000068',15,33007,0,'harini',8,0,1,8,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49414,23,'AP20160800000068',16,33019,0,'harini',0,8,1,8,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49415,23,'AP20160800000068',17,33007,0,'harini',9,0,1,9,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49416,23,'AP20160800000068',18,33019,0,'harini',0,9,1,9,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49417,23,'AP20160800000068',19,33007,0,'harini',10,0,1,10,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49418,23,'AP20160800000068',20,33019,0,'harini',0,10,1,10,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49419,23,'AP20160800000068',21,33007,0,'harini',11,0,1,11,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49420,23,'AP20160800000068',22,33019,0,'harini',0,11,1,11,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49421,23,'AP20160800000068',23,33007,0,'harini',12,0,1,12,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49422,23,'AP20160800000068',24,33019,0,'harini',0,12,1,12,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49423,23,'AP20160800000068',25,33007,0,'harini',13,0,1,13,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49424,23,'AP20160800000068',26,33019,0,'harini',0,13,1,13,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49425,23,'AP20160800000068',27,33007,0,'harini',14,0,1,14,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49426,23,'AP20160800000068',28,33019,0,'harini',0,14,1,14,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49427,23,'AP20160800000068',29,33007,0,'harini',15,0,1,15,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49428,23,'AP20160800000068',30,33019,0,'harini',0,15,1,15,1,0,8,2016,'OP-C[00000059]',NULL,1,1,0,'2016-08-29 02:34:14',NULL,'2016-08-29 02:34:14',0,0),(49429,23,'AP20160800000069',1,33007,0,'harini',1,0,1,1,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49430,23,'AP20160800000069',2,33019,0,'harini',0,1,1,1,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49431,23,'AP20160800000069',3,33007,0,'harini',2,0,1,2,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49432,23,'AP20160800000069',4,33019,0,'harini',0,2,1,2,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49433,23,'AP20160800000069',5,33007,0,'harini',3,0,1,3,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49434,23,'AP20160800000069',6,33019,0,'harini',0,3,1,3,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49435,23,'AP20160800000069',7,33007,0,'harini',4,0,1,4,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49436,23,'AP20160800000069',8,33019,0,'harini',0,4,1,4,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49437,23,'AP20160800000069',9,33007,0,'harini',5,0,1,5,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49438,23,'AP20160800000069',10,33019,0,'harini',0,5,1,5,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49439,23,'AP20160800000069',11,33007,0,'harini',6,0,1,6,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49440,23,'AP20160800000069',12,33019,0,'harini',0,6,1,6,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49441,23,'AP20160800000069',13,33007,0,'harini',7,0,1,7,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49442,23,'AP20160800000069',14,33019,0,'harini',0,7,1,7,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49443,23,'AP20160800000069',15,33007,0,'harini',8,0,1,8,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49444,23,'AP20160800000069',16,33019,0,'harini',0,8,1,8,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49445,23,'AP20160800000069',17,33007,0,'harini',9,0,1,9,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49446,23,'AP20160800000069',18,33019,0,'harini',0,9,1,9,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49447,23,'AP20160800000069',19,33007,0,'harini',10,0,1,10,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:08',NULL,'2016-08-29 02:35:09',0,0),(49448,23,'AP20160800000069',20,33019,0,'harini',0,10,1,10,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49449,23,'AP20160800000069',21,33007,0,'harini',11,0,1,11,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49450,23,'AP20160800000069',22,33019,0,'harini',0,11,1,11,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49451,23,'AP20160800000069',23,33007,0,'harini',12,0,1,12,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49452,23,'AP20160800000069',24,33019,0,'harini',0,12,1,12,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49453,23,'AP20160800000069',25,33007,0,'harini',13,0,1,13,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49454,23,'AP20160800000069',26,33019,0,'harini',0,13,1,13,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49455,23,'AP20160800000069',27,33007,0,'harini',14,0,1,14,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49456,23,'AP20160800000069',28,33019,0,'harini',0,14,1,14,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49457,23,'AP20160800000069',29,33007,0,'harini',15,0,1,15,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49458,23,'AP20160800000069',30,33019,0,'harini',0,15,1,15,1,0,8,2016,'OP-C[00000060]',NULL,1,1,0,'2016-08-29 02:35:09',NULL,'2016-08-29 02:35:09',0,0),(49459,23,'AP20160800000070',1,33007,0,'harini',1,0,1,1,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:36',NULL,'2016-08-29 02:36:37',0,0),(49460,23,'AP20160800000070',2,33019,0,'harini',0,1,1,1,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:36',NULL,'2016-08-29 02:36:37',0,0),(49461,23,'AP20160800000070',3,33007,0,'harini',2,0,1,2,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:36',NULL,'2016-08-29 02:36:37',0,0),(49462,23,'AP20160800000070',4,33019,0,'harini',0,2,1,2,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49463,23,'AP20160800000070',5,33007,0,'harini',3,0,1,3,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49464,23,'AP20160800000070',6,33019,0,'harini',0,3,1,3,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49465,23,'AP20160800000070',7,33007,0,'harini',4,0,1,4,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49466,23,'AP20160800000070',8,33019,0,'harini',0,4,1,4,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49467,23,'AP20160800000070',9,33007,0,'harini',6,0,1,6,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49468,23,'AP20160800000070',10,33019,0,'harini',0,6,1,6,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49469,23,'AP20160800000070',11,33007,0,'harini',7,0,1,7,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49470,23,'AP20160800000070',12,33019,0,'harini',0,7,1,7,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49471,23,'AP20160800000070',13,33007,0,'harini',8,0,1,8,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49472,23,'AP20160800000070',14,33019,0,'harini',0,8,1,8,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49473,23,'AP20160800000070',15,33007,0,'harini',9,0,1,9,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49474,23,'AP20160800000070',16,33019,0,'harini',0,9,1,9,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49475,23,'AP20160800000070',17,33007,0,'harini',10,0,1,10,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49476,23,'AP20160800000070',18,33019,0,'harini',0,10,1,10,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49477,23,'AP20160800000070',19,33007,0,'harini',11,0,1,11,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49478,23,'AP20160800000070',20,33019,0,'harini',0,11,1,11,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49479,23,'AP20160800000070',21,33007,0,'harini',12,0,1,12,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49480,23,'AP20160800000070',22,33019,0,'harini',0,12,1,12,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49481,23,'AP20160800000070',23,33007,0,'harini',13,0,1,13,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49482,23,'AP20160800000070',24,33019,0,'harini',0,13,1,13,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49483,23,'AP20160800000070',25,33007,0,'harini',14,0,1,14,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49484,23,'AP20160800000070',26,33019,0,'harini',0,14,1,14,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49485,23,'AP20160800000070',27,33007,0,'harini',15,0,1,15,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49486,23,'AP20160800000070',28,33019,0,'harini',0,15,1,15,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49487,23,'AP20160800000070',29,33007,0,'harini',15,0,1,15,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49488,23,'AP20160800000070',30,33019,0,'harini',0,15,1,15,1,0,8,2016,'OP-C[00000061]',NULL,1,1,0,'2016-08-29 02:36:37',NULL,'2016-08-29 02:36:37',0,0),(49495,23,'AP20160800000071',1,33007,0,'harini',1,0,1,1,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49496,23,'AP20160800000071',2,33019,0,'harini',0,1,1,1,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49497,23,'AP20160800000071',3,33007,0,'harini',2,0,1,2,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49498,23,'AP20160800000071',4,33019,0,'harini',0,2,1,2,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49499,23,'AP20160800000071',5,33007,0,'harini',3,0,1,3,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49500,23,'AP20160800000071',6,33019,0,'harini',0,3,1,3,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49501,23,'AP20160800000071',7,33007,0,'harini',4,0,1,4,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49502,23,'AP20160800000071',8,33019,0,'harini',0,4,1,4,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49503,23,'AP20160800000071',9,33007,0,'harini',6,0,1,6,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49504,23,'AP20160800000071',10,33019,0,'harini',0,6,1,6,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49505,23,'AP20160800000071',11,33007,0,'harini',7,0,1,7,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49506,23,'AP20160800000071',12,33019,0,'harini',0,7,1,7,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49507,23,'AP20160800000071',13,33007,0,'harini',8,0,1,8,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49508,23,'AP20160800000071',14,33019,0,'harini',0,8,1,8,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49509,23,'AP20160800000071',15,33007,0,'harini',9,0,1,9,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49510,23,'AP20160800000071',16,33019,0,'harini',0,9,1,9,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49511,23,'AP20160800000071',17,33007,0,'harini',10,0,1,10,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49512,23,'AP20160800000071',18,33019,0,'harini',0,10,1,10,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49513,23,'AP20160800000071',19,33007,0,'harini',11,0,1,11,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49514,23,'AP20160800000071',20,33019,0,'harini',0,11,1,11,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49515,23,'AP20160800000071',21,33007,0,'harini',12,0,1,12,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49516,23,'AP20160800000071',22,33019,0,'harini',0,12,1,12,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49517,23,'AP20160800000071',23,33007,0,'harini',13,0,1,13,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49518,23,'AP20160800000071',24,33019,0,'harini',0,13,1,13,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49519,23,'AP20160800000071',25,33007,0,'harini',14,0,1,14,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49520,23,'AP20160800000071',26,33019,0,'harini',0,14,1,14,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49521,23,'AP20160800000071',27,33007,0,'harini',15,0,1,15,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49522,23,'AP20160800000071',28,33019,0,'harini',0,15,1,15,1,0,8,2016,'OP-C[00000062]',NULL,1,1,0,'2016-08-29 02:39:27',NULL,'2016-08-29 02:39:27',0,0),(49523,23,'AP20160800000072',1,33007,0,'harini',100,0,1,100,1,0,8,2016,'OP-C[00000063]',NULL,1,1,0,'2016-08-29 02:40:45',NULL,'2016-08-29 02:40:45',0,0),(49524,23,'AP20160800000072',2,33019,0,'harini',0,100,1,100,1,0,8,2016,'OP-C[00000063]',NULL,1,1,0,'2016-08-29 02:40:45',NULL,'2016-08-29 02:40:45',0,0),(49525,23,'AP20160800000073',1,33008,0,'harini',200,0,1,200,1,0,8,2016,'OP-C[00000064]',NULL,1,1,0,'2016-08-29 02:40:57',NULL,'2016-08-29 02:40:57',0,0),(49526,23,'AP20160800000073',2,33019,0,'harini',0,200,1,200,1,0,8,2016,'OP-C[00000064]',NULL,1,1,0,'2016-08-29 02:40:57',NULL,'2016-08-29 02:40:57',0,0),(49563,23,'AP20160200000005',1,33009,0,'fad',4447,0,1,4447,1,0,2,2016,'TT[00000026]',NULL,0,1,0,'2016-08-29 05:20:30',NULL,'2016-08-29 05:20:30',0,0),(49564,23,'AP20160200000005',2,33010,0,'fad',0,4447,1,4447,1,0,2,2016,'TT[00000026]',NULL,0,1,0,'2016-08-29 05:20:30',NULL,'2016-08-29 05:20:30',0,0),(49567,23,'AP20160400000002',1,33011,0,'test123',545,0,1,545,1,0,4,2016,'TT[00000029]',NULL,0,1,0,'2016-08-29 05:21:11',NULL,'2016-08-29 05:21:11',0,0),(49568,23,'AP20160400000002',2,33010,0,'test123',0,545,1,545,1,0,4,2016,'TT[00000029]',NULL,0,1,0,'2016-08-29 05:21:11',NULL,'2016-08-29 05:21:11',0,0),(49569,23,'AP20160500000002',1,33007,0,'Hye',5555,0,1,5555,1,0,5,2016,'TT[00000030]',NULL,0,1,0,'2016-08-29 05:21:30',NULL,'2016-08-29 05:21:30',0,0),(49570,23,'AP20160500000002',2,33009,0,'Hye',0,5555,1,5555,1,0,5,2016,'TT[00000030]',NULL,0,1,0,'2016-08-29 05:21:30',NULL,'2016-08-29 05:21:30',0,0),(49571,23,'AP20160700000003',1,33008,0,'',23,0,1,23,1,0,7,2016,'TT[00000057]',NULL,0,1,0,'2016-08-29 05:21:44',NULL,'2016-08-29 05:21:44',0,0),(49572,23,'AP20160700000003',2,33007,0,'',0,23,1,23,1,0,7,2016,'TT[00000057]',NULL,0,1,0,'2016-08-29 05:21:44',NULL,'2016-08-29 05:21:44',0,0),(49597,1,'AP20160800000015',1,32518,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000632]',NULL,1,1,0,'2016-08-29 07:46:52',NULL,'2016-08-29 07:46:52',0,0),(49598,1,'AP20160800000015',2,0,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000632]',NULL,1,1,0,'2016-08-29 07:46:52',NULL,'2016-08-29 07:46:52',0,0),(49599,1,'AP20160800000015',3,32518,0,'Item 2',0.99,0,1,0.99,1,0,8,2016,'OP-E[00000632]',NULL,1,1,0,'2016-08-29 07:46:52',NULL,'2016-08-29 07:46:52',0,0),(49600,1,'AP20160800000015',4,0,0,'Item 2',0,0.99,1,0.99,1,0,8,2016,'OP-E[00000632]',NULL,1,1,0,'2016-08-29 07:46:52',NULL,'2016-08-29 07:46:52',0,0),(49601,1,'AP20160800000015',5,32518,0,'Item 3',1,0,1,1,1,0,8,2016,'OP-E[00000632]',NULL,1,1,0,'2016-08-29 07:46:52',NULL,'2016-08-29 07:46:52',0,0),(49602,1,'AP20160800000015',6,0,0,'Item 3',0,1,1,1,1,0,8,2016,'OP-E[00000632]',NULL,1,1,0,'2016-08-29 07:46:52',NULL,'2016-08-29 07:46:52',0,0),(49603,1,'AP20160800000015',7,32518,0,'Item 4',0.01,0,1,0.01,1,0,8,2016,'OP-E[00000632]',NULL,1,1,0,'2016-08-29 07:46:52',NULL,'2016-08-29 07:46:52',0,0),(49604,1,'AP20160800000015',8,0,0,'Item 4',0,0.01,1,0.01,1,0,8,2016,'OP-E[00000632]',NULL,1,1,0,'2016-08-29 07:46:52',NULL,'2016-08-29 07:46:52',0,0),(49607,1,'AP20160800000016',1,32518,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000633]',NULL,1,1,0,'2016-08-29 07:47:30',NULL,'2016-08-29 07:47:30',0,0),(49608,1,'AP20160800000016',2,0,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000633]',NULL,1,1,0,'2016-08-29 07:47:30',NULL,'2016-08-29 07:47:30',0,0),(49609,1,'AP20160800000016',3,32518,0,'Item 2',0.99,0,1,0.99,1,0,8,2016,'OP-E[00000633]',NULL,1,1,0,'2016-08-29 07:47:30',NULL,'2016-08-29 07:47:30',0,0),(49610,1,'AP20160800000016',4,0,0,'Item 2',0,0.99,1,0.99,1,0,8,2016,'OP-E[00000633]',NULL,1,1,0,'2016-08-29 07:47:30',NULL,'2016-08-29 07:47:30',0,0),(49611,1,'AP20160800000016',5,32518,0,'Item 3',1,0,1,1,1,0,8,2016,'OP-E[00000633]',NULL,1,1,0,'2016-08-29 07:47:30',NULL,'2016-08-29 07:47:30',0,0),(49612,1,'AP20160800000016',6,0,0,'Item 3',0,1,1,1,1,0,8,2016,'OP-E[00000633]',NULL,1,1,0,'2016-08-29 07:47:30',NULL,'2016-08-29 07:47:30',0,0),(49613,1,'AP20160800000016',7,32518,0,'Item 4',0.01,0,1,0.01,1,0,8,2016,'OP-E[00000633]',NULL,1,1,0,'2016-08-29 07:47:30',NULL,'2016-08-29 07:47:30',0,0),(49614,1,'AP20160800000016',8,0,0,'Item 4',0,0.01,1,0.01,1,0,8,2016,'OP-E[00000633]',NULL,1,1,0,'2016-08-29 07:47:30',NULL,'2016-08-29 07:47:30',0,0),(49637,23,'AP20160800000085',1,33007,0,'fad',1200000.1,0,1,1200000.1,1,0,8,2016,'TT[00000028]',NULL,0,1,0,'2016-08-29 07:55:11',NULL,'2016-08-29 07:55:11',0,0),(49638,23,'AP20160800000085',2,33009,0,'fad',0,1200000.1,1,1200000.1,1,0,8,2016,'TT[00000028]',NULL,0,1,0,'2016-08-29 07:55:11',NULL,'2016-08-29 07:55:11',0,0),(49651,1,'AP20160800000017',1,32515,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000634]',NULL,1,1,0,'2016-08-29 08:06:02',NULL,'2016-08-29 08:06:02',0,0),(49652,1,'AP20160800000017',2,32529,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000634]',NULL,1,1,0,'2016-08-29 08:06:02',NULL,'2016-08-29 08:06:02',0,0),(49655,23,'AR20160800000064',1,33018,0,'29082016',200,0,1,200,1,0,8,2016,'OR[00000017]','',1,1,0,'2016-08-29 08:12:44',NULL,'2016-08-29 08:12:45',0,0),(49656,23,'AR20160800000064',2,33008,0,'29082016',0,200,1,200,1,0,8,2016,'OR[00000017]','',1,1,0,'2016-08-29 08:12:44',NULL,'2016-08-29 08:12:45',0,0),(49659,1,'AP20160800000018',1,32517,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000635]',NULL,1,1,0,'2016-08-29 08:15:02',NULL,'2016-08-29 08:15:03',0,0),(49660,1,'AP20160800000018',2,32529,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000635]',NULL,1,1,0,'2016-08-29 08:15:03',NULL,'2016-08-29 08:15:03',0,0),(49661,1,'AP20160800000018',3,32517,0,'Item 2',1,0,1,1,1,0,8,2016,'OP-E[00000635]',NULL,1,1,0,'2016-08-29 08:15:03',NULL,'2016-08-29 08:15:03',0,0),(49662,1,'AP20160800000018',4,32530,0,'Item 2',0,1,1,1,1,0,8,2016,'OP-E[00000635]',NULL,1,1,0,'2016-08-29 08:15:03',NULL,'2016-08-29 08:15:03',0,0),(49663,1,'AP20160800000018',5,32517,0,'Item 3',0.99,0,1,0.99,1,0,8,2016,'OP-E[00000635]',NULL,1,1,0,'2016-08-29 08:15:03',NULL,'2016-08-29 08:15:03',0,0),(49664,1,'AP20160800000018',6,32531,0,'Item 3',0,0.99,1,0.99,1,0,8,2016,'OP-E[00000635]',NULL,1,1,0,'2016-08-29 08:15:03',NULL,'2016-08-29 08:15:03',0,0),(49665,1,'AP20160800000018',7,32517,0,'Item 4',0.01,0,1,0.01,1,0,8,2016,'OP-E[00000635]',NULL,1,1,0,'2016-08-29 08:15:03',NULL,'2016-08-29 08:15:03',0,0),(49666,1,'AP20160800000018',8,32532,0,'Item 4',0,0.01,1,0.01,1,0,8,2016,'OP-E[00000635]',NULL,1,1,0,'2016-08-29 08:15:03',NULL,'2016-08-29 08:15:03',0,0),(49667,23,'AR20160800000066',1,33018,0,'29082016',10000,0,1,10000,1,0,8,2016,'OR[00000018]','',1,1,0,'2016-08-29 08:16:52',NULL,'2016-08-29 08:16:52',0,0),(49668,23,'AR20160800000066',2,33009,0,'29082016',0,10000,1,10000,1,0,8,2016,'OR[00000018]','',1,1,0,'2016-08-29 08:16:52',NULL,'2016-08-29 08:16:52',0,0),(49669,23,'AR20160800000066',3,33018,0,'2323',1111.11,0,1,1111.11,1,0,8,2016,'OR[00000018]','',2,1,0,'2016-08-29 08:16:52',NULL,'2016-08-29 08:16:52',0,0),(49670,23,'AR20160800000066',4,33009,0,'2323',0,1111.11,1,1111.11,1,0,8,2016,'OR[00000018]','',2,1,0,'2016-08-29 08:16:52',NULL,'2016-08-29 08:16:52',0,0),(49671,1,'AP20160800000019',1,32516,0,'Item 2',1,0,1,1,1,0,8,2016,'OP-E[00000636]',NULL,1,1,0,'2016-08-29 08:27:29',NULL,'2016-08-29 08:27:29',0,0),(49672,1,'AP20160800000019',2,32529,0,'Item 2',0,1,1,1,1,0,8,2016,'OP-E[00000636]',NULL,1,1,0,'2016-08-29 08:27:29',NULL,'2016-08-29 08:27:29',0,0),(49673,1,'AP20160800000019',3,32516,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000636]',NULL,1,1,0,'2016-08-29 08:27:29',NULL,'2016-08-29 08:27:29',0,0),(49674,1,'AP20160800000019',4,32540,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000636]',NULL,1,1,0,'2016-08-29 08:27:29',NULL,'2016-08-29 08:27:29',0,0),(49693,1,'AP20160800000020',1,32515,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000637]',NULL,1,1,0,'2016-08-29 08:46:23',NULL,'2016-08-29 08:46:23',0,0),(49694,1,'AP20160800000020',2,32529,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000637]',NULL,1,1,0,'2016-08-29 08:46:23',NULL,'2016-08-29 08:46:23',0,0),(49695,1,'AP20160800000021',1,32517,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000638]',NULL,1,1,0,'2016-08-29 08:52:20',NULL,'2016-08-29 08:52:20',0,0),(49696,1,'AP20160800000021',2,32529,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000638]',NULL,1,1,0,'2016-08-29 08:52:20',NULL,'2016-08-29 08:52:20',0,0),(49697,1,'AP20160800000022',1,32517,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000639]',NULL,1,1,0,'2016-08-29 08:54:08',NULL,'2016-08-29 08:54:08',0,0),(49698,1,'AP20160800000022',2,32529,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000639]',NULL,1,1,0,'2016-08-29 08:54:08',NULL,'2016-08-29 08:54:08',0,0),(49703,1,'AP20160800000023',1,32515,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000640]',NULL,1,1,0,'2016-08-29 08:56:06',NULL,'2016-08-29 08:56:06',0,0),(49704,1,'AP20160800000023',2,32529,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000640]',NULL,1,1,0,'2016-08-29 08:56:06',NULL,'2016-08-29 08:56:06',0,0),(49705,1,'AP20160800000023',3,32515,0,'Item 2',1,0,1,1,1,0,8,2016,'OP-E[00000640]',NULL,1,1,0,'2016-08-29 08:56:06',NULL,'2016-08-29 08:56:06',0,0),(49706,1,'AP20160800000023',4,32530,0,'Item 2',0,1,1,1,1,0,8,2016,'OP-E[00000640]',NULL,1,1,0,'2016-08-29 08:56:06',NULL,'2016-08-29 08:56:06',0,0),(49711,1,'AP20160800000024',1,32515,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000641]',NULL,1,1,0,'2016-08-29 08:56:52',NULL,'2016-08-29 08:56:52',0,0),(49712,1,'AP20160800000024',2,32529,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000641]',NULL,1,1,0,'2016-08-29 08:56:52',NULL,'2016-08-29 08:56:52',0,0),(49713,1,'AP20160800000024',3,32515,0,'Item 2',1,0,1,1,1,0,8,2016,'OP-E[00000641]',NULL,1,1,0,'2016-08-29 08:56:52',NULL,'2016-08-29 08:56:52',0,0),(49714,1,'AP20160800000024',4,32530,0,'Item 2',0,1,1,1,1,0,8,2016,'OP-E[00000641]',NULL,1,1,0,'2016-08-29 08:56:52',NULL,'2016-08-29 08:56:52',0,0),(49731,1,'AP20160800000025',1,32515,0,'Item 1',1,0,1,1,1,0,8,2016,'OP-E[00000642]',NULL,1,1,0,'2016-08-29 09:10:36',NULL,'2016-08-29 09:10:37',0,0),(49732,1,'AP20160800000025',2,32529,0,'Item 1',0,1,1,1,1,0,8,2016,'OP-E[00000642]',NULL,1,1,0,'2016-08-29 09:10:36',NULL,'2016-08-29 09:10:37',0,0),(49733,1,'AP20160800000025',3,32515,0,'Item 2',1,0,1,1,1,0,8,2016,'OP-E[00000642]',NULL,1,1,0,'2016-08-29 09:10:36',NULL,'2016-08-29 09:10:37',0,0),(49734,1,'AP20160800000025',4,32530,0,'Item 2',0,1,1,1,1,0,8,2016,'OP-E[00000642]',NULL,1,1,0,'2016-08-29 09:10:36',NULL,'2016-08-29 09:10:37',0,0),(49735,12,'AR20160800000046',1,32583,0,'Jualan keropok 29.8',120,0,1,120,1,0,8,2016,'OR[00000036]','',1,1,0,'2016-08-29 09:22:00',NULL,'2016-08-29 09:22:00',0,0),(49736,12,'AR20160800000046',2,32575,0,'Jualan keropok 29.8',0,120,1,120,1,0,8,2016,'OR[00000036]','',1,1,0,'2016-08-29 09:22:00',NULL,'2016-08-29 09:22:00',0,0),(49767,23,'AR20160800000067',1,33018,0,'29092016',100,0,1,100,1,0,8,2016,'OR[00000016]','',1,1,0,'2016-08-30 02:45:56',NULL,'2016-08-30 02:45:56',0,0),(49768,23,'AR20160800000067',2,33007,0,'29092016',0,100,1,100,1,0,8,2016,'OR[00000016]','',1,1,0,'2016-08-30 02:45:56',NULL,'2016-08-30 02:45:56',0,0),(49771,23,'AP20160800000090',1,33008,0,'10/08/2016',2200,0,1,2200,1,0,8,2016,'OP-L[00000020]',NULL,1,1,0,'2016-08-30 02:46:56',NULL,'2016-08-30 02:46:57',0,0),(49772,23,'AP20160800000090',2,33013,0,'10/08/2016',0,2200,1,2200,1,0,8,2016,'OP-L[00000020]',NULL,1,1,0,'2016-08-30 02:46:56',NULL,'2016-08-30 02:46:57',0,0),(50067,23,'AR20160900000003',1,33018,0,'harini',100,0,1,100,1,0,9,2016,'OR[00000020]','',1,1,0,'2016-09-01 01:28:36',NULL,'2016-09-01 01:28:37',0,0),(50068,23,'AR20160900000003',2,33008,0,'harini',0,100,1,100,1,0,9,2016,'OR[00000020]','',1,1,0,'2016-09-01 01:28:36',NULL,'2016-09-01 01:28:37',0,0),(50073,23,'AR20160900000004',1,33018,0,'hoii',100,0,1,100,1,0,9,2016,'OR[00000021]','',1,1,0,'2016-09-01 01:31:01',NULL,'2016-09-01 01:31:01',0,0),(50074,23,'AR20160900000004',2,33007,0,'hoii',0,100,1,100,1,0,9,2016,'OR[00000021]','',1,1,0,'2016-09-01 01:31:01',NULL,'2016-09-01 01:31:01',0,0),(50075,23,'AR20160900000005',1,33018,0,'wqw',1,0,1,1,1,0,9,2016,'OR[00000022]','',1,1,0,'2016-09-01 01:31:27',NULL,'2016-09-01 01:31:27',0,0),(50076,23,'AR20160900000005',2,33008,0,'wqw',0,1,1,1,1,0,9,2016,'OR[00000022]','',1,1,0,'2016-09-01 01:31:27',NULL,'2016-09-01 01:31:27',0,0),(50077,23,'AR20160900000006',1,33018,0,'haiii',1,0,1,1,1,0,9,2016,'OR[00000023]','',1,1,0,'2016-09-01 01:32:04',NULL,'2016-09-01 01:32:04',0,0),(50078,23,'AR20160900000006',2,33007,0,'haiii',0,1,1,1,1,0,9,2016,'OR[00000023]','',1,1,0,'2016-09-01 01:32:04',NULL,'2016-09-01 01:32:04',0,0),(50177,23,'AP161000000001',1,33007,0,'hoii',1090,0,1,1090,1,0,10,2016,'OP-E[00000076]',NULL,1,1,0,'2016-09-01 01:56:18',NULL,'2016-09-01 01:56:18',0,0),(50178,23,'AP161000000001',2,33036,0,'hoii',0,1090,1,1090,1,0,10,2016,'OP-E[00000076]',NULL,1,1,0,'2016-09-01 01:56:18',NULL,'2016-09-01 01:56:18',0,0),(50183,23,'AP20160900000011',1,33007,0,'hoii',19092,0,1,19092,1,0,9,2016,'OP-L[00000078]',NULL,1,1,0,'2016-09-01 02:04:07',NULL,'2016-09-01 02:04:07',0,0),(50184,23,'AP20160900000011',2,33013,0,'hoii',0,19092,1,19092,1,0,9,2016,'OP-L[00000078]',NULL,1,1,0,'2016-09-01 02:04:07',NULL,'2016-09-01 02:04:07',0,0),(50217,1,'AP20160900000008',1,32515,0,'Item 1',10000,0,1,10000,1,0,9,2016,'OP-L[00000668]',NULL,1,1,0,'2016-09-01 07:06:59',NULL,'2016-09-01 07:06:59',0,0),(50218,1,'AP20160900000008',2,32522,0,'Item 1',0,10000,1,10000,1,0,9,2016,'OP-L[00000668]',NULL,1,1,0,'2016-09-01 07:06:59',NULL,'2016-09-01 07:06:59',0,0),(50263,1,'AR20160900000001',1,0,0,'RAY BAN WAYFARER',570,0,1,570,1,0,9,2016,'OR[00000060]','',1,1,0,'2016-09-04 09:21:45',NULL,'2016-09-04 09:21:45',0,0),(50264,1,'AR20160900000001',2,32515,0,'RAY BAN WAYFARER',0,570,1,570,1,0,9,2016,'OR[00000060]','',1,1,0,'2016-09-04 09:21:45',NULL,'2016-09-04 09:21:45',0,0),(50265,1,'AR20160900000002',1,0,0,'RAY BAN WAYFARER',570,0,1,570,1,0,9,2016,'OR[00000061]','',1,1,0,'2016-09-04 09:22:04',NULL,'2016-09-04 09:22:04',0,0),(50266,1,'AR20160900000002',2,32515,0,'RAY BAN WAYFARER',0,570,1,570,1,0,9,2016,'OR[00000061]','',1,1,0,'2016-09-04 09:22:04',NULL,'2016-09-04 09:22:04',0,0),(50273,23,'AR20160900000007',1,0,0,'05092016',100,0,1,100,1,0,9,2016,'OR[00000024]','',1,1,0,'2016-09-05 04:58:49',NULL,'2016-09-05 04:58:49',0,0),(50274,23,'AR20160900000007',2,33007,0,'05092016',0,100,1,100,1,0,9,2016,'OR[00000024]','',1,1,0,'2016-09-05 04:58:49',NULL,'2016-09-05 04:58:49',0,0),(50275,23,'AR20160900000008',1,0,0,'05091602',200,0,1,200,1,0,9,2016,'OR[00000025]','',1,1,0,'2016-09-05 04:59:45',NULL,'2016-09-05 04:59:45',0,0),(50276,23,'AR20160900000008',2,33007,0,'05091602',0,200,1,200,1,0,9,2016,'OR[00000025]','',1,1,0,'2016-09-05 04:59:45',NULL,'2016-09-05 04:59:45',0,0),(50277,23,'AR20160900000009',1,0,0,'02091603',300,0,1,300,1,0,9,2016,'OR[00000026]','',1,1,0,'2016-09-05 05:00:29',NULL,'2016-09-05 05:00:29',0,0),(50278,23,'AR20160900000009',2,33007,0,'02091603',0,300,1,300,1,0,9,2016,'OR[00000026]','',1,1,0,'2016-09-05 05:00:29',NULL,'2016-09-05 05:00:29',0,0),(50291,12,'AR20160900000002',1,0,0,'harini2',150,0,1,150,1,0,9,2016,'OR[00000038]','',1,1,0,'2016-09-05 08:14:08',NULL,'2016-09-05 08:14:08',0,0),(50292,12,'AR20160900000002',2,32572,0,'harini2',0,150,1,150,1,0,9,2016,'OR[00000038]','',1,1,0,'2016-09-05 08:14:08',NULL,'2016-09-05 08:14:08',0,0),(50345,12,'AR20160900000003',1,0,0,'cuba',12,0,1,12,1,0,9,2016,'OR[00000039]','',1,1,0,'2016-09-09 03:42:47',NULL,'2016-09-09 03:42:47',0,0),(50346,12,'AR20160900000003',2,32573,0,'cuba',0,12,1,12,1,0,9,2016,'OR[00000039]','',1,1,0,'2016-09-09 03:42:47',NULL,'2016-09-09 03:42:47',0,0),(50347,12,'AR20160900000004',1,0,0,'cuba',12,0,1,12,1,0,9,2016,'OR[00000040]','',1,1,0,'2016-09-09 03:49:55',NULL,'2016-09-09 03:49:55',0,0),(50348,12,'AR20160900000004',2,32573,0,'cuba',0,12,1,12,1,0,9,2016,'OR[00000040]','',1,1,0,'2016-09-09 03:49:55',NULL,'2016-09-09 03:49:55',0,0),(50447,13,'AP20160900000027',1,32761,0,'Fadhirul',900,0,1,900,1,0,9,2016,'OP-C[00000097]',NULL,1,1,0,'2016-09-15 02:26:50',NULL,'2016-09-15 02:26:50',0,0),(50448,13,'AP20160900000027',2,32773,0,'Fadhirul',0,900,1,900,1,0,9,2016,'OP-C[00000097]',NULL,1,1,0,'2016-09-15 02:26:50',NULL,'2016-09-15 02:26:50',0,0),(50449,13,'AP20160900000027',3,32761,0,'Fadhirul2',400,0,1,400,1,0,9,2016,'OP-C[00000097]',NULL,1,1,0,'2016-09-15 02:26:50',NULL,'2016-09-15 02:26:50',0,0),(50450,13,'AP20160900000027',4,32773,0,'Fadhirul2',0,400,1,400,1,0,9,2016,'OP-C[00000097]',NULL,1,1,0,'2016-09-15 02:26:50',NULL,'2016-09-15 02:26:50',0,0),(50453,13,'AP20160900000029',1,32761,0,'Fadhirul',900,0,1,900,1,0,9,2016,'OP-C[00000098]',NULL,1,1,0,'2016-09-15 02:33:21',NULL,'2016-09-15 02:33:21',0,0),(50454,13,'AP20160900000029',2,32773,0,'Fadhirul',0,900,1,900,1,0,9,2016,'OP-C[00000098]',NULL,1,1,0,'2016-09-15 02:33:21',NULL,'2016-09-15 02:33:21',0,0),(50455,13,'AP20160900000029',3,32761,0,'Fadhirul2',480,0,1,480,1,0,9,2016,'OP-C[00000098]',NULL,1,1,0,'2016-09-15 02:33:21',NULL,'2016-09-15 02:33:21',0,0),(50456,13,'AP20160900000029',4,32773,0,'Fadhirul2',0,480,1,480,1,0,9,2016,'OP-C[00000098]',NULL,1,1,0,'2016-09-15 02:33:21',NULL,'2016-09-15 02:33:21',0,0),(50457,1,'AR20160900000003',1,32526,0,'Insurance ',1000,0,1,1000,1,0,9,2016,'OR[00000062]','',1,1,0,'2016-09-16 07:04:31',NULL,'2016-09-16 07:04:31',0,0),(50458,1,'AR20160900000003',2,32515,0,'Insurance ',0,1000,1,1000,1,0,9,2016,'OR[00000062]','',1,1,0,'2016-09-16 07:04:31',NULL,'2016-09-16 07:04:31',0,0),(50465,13,'AP20160900000030',1,32761,0,'fadh',4390,0,1,4390,1,0,9,2016,'OP-C[00000099]',NULL,1,1,0,'2016-09-19 04:28:48',NULL,'2016-09-19 04:28:48',0,0),(50466,13,'AP20160900000030',2,32773,0,'fadh',0,4390,1,4390,1,0,9,2016,'OP-C[00000099]',NULL,1,1,0,'2016-09-19 04:28:48',NULL,'2016-09-19 04:28:48',0,0),(50477,13,'AR20160900000097',1,32772,0,'fadh',439,0,1,439,1,0,9,2016,'OR[00000043]','',1,1,0,'2016-09-19 05:03:56',NULL,'2016-09-19 05:03:56',0,0),(50478,13,'AR20160900000097',2,32761,0,'fadh',0,439,1,439,1,0,9,2016,'OR[00000043]','',1,1,0,'2016-09-19 05:03:56',NULL,'2016-09-19 05:03:56',0,0),(50479,1,'AR20160900000004',1,32526,0,'PS4',1399,0,1,1399,1,0,9,2016,'OR[00000063]','',1,1,0,'2016-09-22 07:07:21',NULL,'2016-09-22 07:07:21',0,0),(50480,1,'AR20160900000004',2,32515,0,'PS4',0,1399,1,1399,1,0,9,2016,'OR[00000063]','',1,1,0,'2016-09-22 07:07:21',NULL,'2016-09-22 07:07:21',0,0),(50481,1,'AR20160900000005',1,32526,0,'XBox One S',1399,0,1,1399,1,0,9,2016,'OR[00000064]','',1,1,0,'2016-09-23 02:17:31',NULL,'2016-09-23 02:17:31',0,0),(50482,1,'AR20160900000005',2,32515,0,'XBox One S',0,1399,1,1399,1,0,9,2016,'OR[00000064]','',1,1,0,'2016-09-23 02:17:31',NULL,'2016-09-23 02:17:31',0,0),(50483,1,'AP20160900000009',1,32515,0,'deposit',100,0,1,100,1,0,9,2016,'TT[00000669]',NULL,0,1,0,'2016-09-23 02:50:23',NULL,'2016-09-23 02:50:23',0,0),(50484,1,'AP20160900000009',2,32516,0,'deposit',0,100,1,100,1,0,9,2016,'TT[00000669]',NULL,0,1,0,'2016-09-23 02:50:23',NULL,'2016-09-23 02:50:23',0,0),(50485,1,'AR20160900000006',1,32522,0,'loan',1000000,0,1,1000000,1,0,9,2016,'LR[00000065]','SME Bank',1,1,0,'2016-09-23 03:46:43',NULL,'2016-09-23 03:46:43',0,0),(50486,1,'AR20160900000006',2,32515,0,'loan',0,1000000,1,1000000,1,0,9,2016,'LR[00000065]','SME Bank',1,1,0,'2016-09-23 03:46:43',NULL,'2016-09-23 03:46:43',0,0),(50487,13,'AP20160900000031',1,32761,0,'fad',123,0,1,123,1,0,9,2016,'TT[00000100]',NULL,0,1,0,'2016-09-26 02:18:26',NULL,'2016-09-26 02:18:26',0,0),(50488,13,'AP20160900000031',2,32762,0,'fad',0,123,1,123,1,0,9,2016,'TT[00000100]',NULL,0,1,0,'2016-09-26 02:18:26',NULL,'2016-09-26 02:18:26',0,0),(50489,13,'AP20160900000032',1,32761,0,'fad',123,0,1,123,1,0,9,2016,'OP-C[00000101]',NULL,1,1,0,'2016-09-26 02:26:14',NULL,'2016-09-26 02:26:14',0,0),(50490,13,'AP20160900000032',2,32773,0,'fad',0,123,1,123,1,0,9,2016,'OP-C[00000101]',NULL,1,1,0,'2016-09-26 02:26:14',NULL,'2016-09-26 02:26:14',0,0),(50491,39,'AR20160900000001',1,33321,0,'KEK BATIK',1500,0,1,1500,1,0,9,2016,'OR[00000001]','',1,1,0,'2016-09-26 07:05:26',NULL,'2016-09-26 07:05:26',0,0),(50492,39,'AR20160900000001',2,33310,0,'KEK BATIK',0,1500,1,1500,1,0,9,2016,'OR[00000001]','',1,1,0,'2016-09-26 07:05:26',NULL,'2016-09-26 07:05:26',0,0),(50493,39,'AR20160900000002',1,33321,0,'KEK PISANG',2000,0,1,2000,1,0,9,2016,'OR[00000002]','',1,1,0,'2016-09-26 07:07:01',NULL,'2016-09-26 07:07:01',0,0),(50494,39,'AR20160900000002',2,33310,0,'KEK PISANG',0,2000,1,2000,1,0,9,2016,'OR[00000002]','',1,1,0,'2016-09-26 07:07:01',NULL,'2016-09-26 07:07:01',0,0),(50495,12,'AR20160900000005',1,32583,0,'harini',120,0,1,120,1,0,9,2016,'OR[00000037]','',1,1,0,'2016-09-26 07:14:01',NULL,'2016-09-26 07:14:01',0,0),(50496,12,'AR20160900000005',2,32572,0,'harini',0,120,1,120,1,0,9,2016,'OR[00000037]','',1,1,0,'2016-09-26 07:14:01',NULL,'2016-09-26 07:14:01',0,0),(50497,12,'AR20160900000005',3,32583,0,'tong air',258,0,1,258,1,0,9,2016,'OR[00000037]','',2,1,0,'2016-09-26 07:14:01',NULL,'2016-09-26 07:14:01',0,0),(50498,12,'AR20160900000005',4,32572,0,'tong air',0,258,1,258,1,0,9,2016,'OR[00000037]','',2,1,0,'2016-09-26 07:14:01',NULL,'2016-09-26 07:14:01',0,0),(50501,39,'AP20160900000002',1,33310,0,'TOPUNG KOMAK',100,0,1,100,1,0,9,2016,'OP-C[00000001]',NULL,1,1,0,'2016-09-26 07:17:03',NULL,'2016-09-26 07:17:03',0,0),(50502,39,'AP20160900000002',2,33322,0,'TOPUNG KOMAK',0,100,1,100,1,0,9,2016,'OP-C[00000001]',NULL,1,1,0,'2016-09-26 07:17:03',NULL,'2016-09-26 07:17:03',0,0),(50503,39,'AP20160900000002',3,33310,0,'TOPUNG KOMAK',150,0,1,150,1,0,9,2016,'OP-C[00000001]',NULL,1,1,0,'2016-09-26 07:17:03',NULL,'2016-09-26 07:17:03',0,0),(50504,39,'AP20160900000002',4,33322,0,'TOPUNG KOMAK',0,150,1,150,1,0,9,2016,'OP-C[00000001]',NULL,1,1,0,'2016-09-26 07:17:03',NULL,'2016-09-26 07:17:03',0,0),(50515,39,'AR20160900000003',1,33321,0,'fad',800,0,1,800,1,0,9,2016,'OR[00000003]','',1,1,0,'2016-09-26 07:44:24',NULL,'2016-09-26 07:44:24',0,0),(50516,39,'AR20160900000003',2,33311,0,'fad',0,800,1,800,1,0,9,2016,'OR[00000003]','',1,1,0,'2016-09-26 07:44:24',NULL,'2016-09-26 07:44:24',0,0),(50539,39,'AP20160900000008',1,33311,0,'fad',700,0,1,700,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50540,39,'AP20160900000008',2,33322,0,'fad',0,700,1,700,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50541,39,'AP20160900000008',3,33311,0,'fad',800,0,1,800,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50542,39,'AP20160900000008',4,33322,0,'fad',0,800,1,800,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50543,39,'AP20160900000008',5,33311,0,'fad',130,0,1,130,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50544,39,'AP20160900000008',6,33322,0,'fad',0,130,1,130,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50545,39,'AP20160900000008',7,33311,0,'fad',66,0,1,66,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50546,39,'AP20160900000008',8,33322,0,'fad',0,66,1,66,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50547,39,'AP20160900000008',9,33311,0,'fad',897,0,1,897,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50548,39,'AP20160900000008',10,33322,0,'fad',0,897,1,897,1,0,9,2016,'OP-C[00000002]',NULL,1,1,0,'2016-09-27 01:16:21',NULL,'2016-09-27 01:16:21',0,0),(50549,39,'AP20160900000009',1,33311,0,'Quit Rent',200,0,1,200,1,0,9,2016,'TT[00000003]',NULL,0,1,0,'2016-09-27 01:22:55',NULL,'2016-09-27 01:22:56',0,0),(50550,39,'AP20160900000009',2,33312,0,'Quit Rent',0,200,1,200,1,0,9,2016,'TT[00000003]',NULL,0,1,0,'2016-09-27 01:22:55',NULL,'2016-09-27 01:22:56',0,0),(50563,39,'AP20160900000011',1,33310,0,'Loan Niaga',2000,0,1,2000,1,0,9,2016,'OP-L[00000004]',NULL,1,1,0,'2016-09-27 01:31:24',NULL,'2016-09-27 01:31:24',0,0),(50564,39,'AP20160900000011',2,33316,0,'Loan Niaga',0,2000,1,2000,1,0,9,2016,'OP-L[00000004]',NULL,1,1,0,'2016-09-27 01:31:24',NULL,'2016-09-27 01:31:24',0,0),(50565,39,'AP20160900000011',3,33310,0,'Loan Niaga',1000,0,1,1000,1,0,9,2016,'OP-L[00000004]',NULL,1,1,0,'2016-09-27 01:31:24',NULL,'2016-09-27 01:31:24',0,0),(50566,39,'AP20160900000011',4,33316,0,'Loan Niaga',0,1000,1,1000,1,0,9,2016,'OP-L[00000004]',NULL,1,1,0,'2016-09-27 01:31:24',NULL,'2016-09-27 01:31:24',0,0),(50567,12,'AP20160900000006',1,32572,0,'fad',120,0,1,120,1,0,9,2016,'OP-C[00000031]',NULL,1,1,0,'2016-09-27 01:32:15',NULL,'2016-09-27 01:32:15',0,0),(50568,12,'AP20160900000006',2,32584,0,'fad',0,120,1,120,1,0,9,2016,'OP-C[00000031]',NULL,1,1,0,'2016-09-27 01:32:15',NULL,'2016-09-27 01:32:15',0,0),(50569,12,'AP20160900000006',3,32572,0,'aizat',456,0,1,456,1,0,9,2016,'OP-C[00000031]',NULL,1,1,0,'2016-09-27 01:32:15',NULL,'2016-09-27 01:32:15',0,0),(50570,12,'AP20160900000006',4,32584,0,'aizat',0,456,1,456,1,0,9,2016,'OP-C[00000031]',NULL,1,1,0,'2016-09-27 01:32:15',NULL,'2016-09-27 01:32:15',0,0),(50571,12,'AP20160900000006',5,32572,0,'fad',1200,0,1,1200,1,0,9,2016,'OP-C[00000031]',NULL,1,1,0,'2016-09-27 01:32:15',NULL,'2016-09-27 01:32:15',0,0),(50572,12,'AP20160900000006',6,32584,0,'fad',0,1200,1,1200,1,0,9,2016,'OP-C[00000031]',NULL,1,1,0,'2016-09-27 01:32:15',NULL,'2016-09-27 01:32:15',0,0),(50573,12,'AP20160900000006',7,32572,0,'akmal',1,0,1,1,1,0,9,2016,'OP-C[00000031]',NULL,1,1,0,'2016-09-27 01:32:15',NULL,'2016-09-27 01:32:15',0,0),(50574,12,'AP20160900000006',8,32584,0,'akmal',0,1,1,1,1,0,9,2016,'OP-C[00000031]',NULL,1,1,0,'2016-09-27 01:32:15',NULL,'2016-09-27 01:32:15',0,0),(50577,39,'AR20160900000005',1,33316,0,'Baki Terima Loan',3000,0,1,3000,1,0,9,2016,'LR[00000004]','Bisnes Loan (SME)',1,1,0,'2016-09-27 01:38:28',NULL,'2016-09-27 01:38:28',0,0),(50578,39,'AR20160900000005',2,33312,0,'Baki Terima Loan',0,3000,1,3000,1,0,9,2016,'LR[00000004]','Bisnes Loan (SME)',1,1,0,'2016-09-27 01:38:28',NULL,'2016-09-27 01:38:28',0,0),(50603,12,'AR20160900000011',1,32583,0,'harini',120,0,1,120,1,0,9,2016,'OR[00000037]','',1,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50604,12,'AR20160900000011',2,32572,0,'harini',0,120,1,120,1,0,9,2016,'OR[00000037]','',1,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50605,12,'AR20160900000011',3,32583,0,'air',5,0,1,5,1,0,9,2016,'OR[00000037]','',2,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50606,12,'AR20160900000011',4,32572,0,'air',0,5,1,5,1,0,9,2016,'OR[00000037]','',2,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50607,12,'AR20160900000011',5,32583,0,'karipap',4,0,1,4,1,0,9,2016,'OR[00000037]','',3,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50608,12,'AR20160900000011',6,32572,0,'karipap',0,4,1,4,1,0,9,2016,'OR[00000037]','',3,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50609,12,'AR20160900000011',7,32583,0,'kayu balak',55,0,1,55,1,0,9,2016,'OR[00000037]','',4,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50610,12,'AR20160900000011',8,32572,0,'kayu balak',0,55,1,55,1,0,9,2016,'OR[00000037]','',4,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50611,12,'AR20160900000011',9,32583,0,'lempeng',6,0,1,6,1,0,9,2016,'OR[00000037]','',5,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50612,12,'AR20160900000011',10,32572,0,'lempeng',0,6,1,6,1,0,9,2016,'OR[00000037]','',5,1,0,'2016-09-27 01:59:42',NULL,'2016-09-27 01:59:42',0,0),(50629,39,'AR20160900000007',1,33321,0,'KEK PANDAN',900,0,1,900,1,0,9,2016,'OR[00000005]','',1,1,0,'2016-09-27 02:02:21',NULL,'2016-09-27 02:02:21',0,0),(50630,39,'AR20160900000007',2,33310,0,'KEK PANDAN',0,900,1,900,1,0,9,2016,'OR[00000005]','',1,1,0,'2016-09-27 02:02:21',NULL,'2016-09-27 02:02:21',0,0),(50659,12,'AR20160900000019',1,32583,0,'KEK LOPIS',700,0,1,700,1,0,9,2016,'OR[00000041]','',1,1,0,'2016-09-27 02:08:22',NULL,'2016-09-27 02:08:22',0,0),(50660,12,'AR20160900000019',2,32572,0,'KEK LOPIS',0,700,1,700,1,0,9,2016,'OR[00000041]','',1,1,0,'2016-09-27 02:08:22',NULL,'2016-09-27 02:08:22',0,0),(50665,12,'AR20160900000022',1,32583,0,'KEK Pisang',500,0,1,500,1,0,9,2016,'OR[00000042]','',1,1,0,'2016-09-27 02:09:53',NULL,'2016-09-27 02:09:53',0,0),(50666,12,'AR20160900000022',2,32573,0,'KEK Pisang',0,500,1,500,1,0,9,2016,'OR[00000042]','',1,1,0,'2016-09-27 02:09:53',NULL,'2016-09-27 02:09:53',0,0),(50667,12,'AR20160900000022',3,32583,0,'KEK APPLE',800,0,1,800,1,0,9,2016,'OR[00000042]','',2,1,0,'2016-09-27 02:09:53',NULL,'2016-09-27 02:09:53',0,0),(50668,12,'AR20160900000022',4,32573,0,'KEK APPLE',0,800,1,800,1,0,9,2016,'OR[00000042]','',2,1,0,'2016-09-27 02:09:53',NULL,'2016-09-27 02:09:53',0,0),(50669,12,'AR20160900000023',1,32583,0,'karipap',4,0,1,4,1,0,9,2016,'OR[00000037]','',1,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50670,12,'AR20160900000023',2,32572,0,'karipap',0,4,1,4,1,0,9,2016,'OR[00000037]','',1,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50671,12,'AR20160900000023',3,32583,0,'kayu balak',33,0,1,33,1,0,9,2016,'OR[00000037]','',2,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50672,12,'AR20160900000023',4,32572,0,'kayu balak',0,33,1,33,1,0,9,2016,'OR[00000037]','',2,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50673,12,'AR20160900000023',5,32583,0,'ayam goreng',6,0,1,6,1,0,9,2016,'OR[00000037]','',3,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50674,12,'AR20160900000023',6,32572,0,'ayam goreng',0,6,1,6,1,0,9,2016,'OR[00000037]','',3,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50675,12,'AR20160900000023',7,32583,0,'itik goreng',8,0,1,8,1,0,9,2016,'OR[00000037]','',4,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50676,12,'AR20160900000023',8,32572,0,'itik goreng',0,8,1,8,1,0,9,2016,'OR[00000037]','',4,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50677,12,'AR20160900000023',9,32583,0,'keledek goreng',12,0,1,12,1,0,9,2016,'OR[00000037]','',5,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50678,12,'AR20160900000023',10,32572,0,'keledek goreng',0,12,1,12,1,0,9,2016,'OR[00000037]','',5,1,0,'2016-09-27 02:10:25',NULL,'2016-09-27 02:10:25',0,0),(50679,39,'AR20160900000008',1,33321,0,'KEK KELEDEK',100,0,1,100,1,0,9,2016,'OR[00000006]','',1,1,0,'2016-09-27 02:11:09',NULL,'2016-09-27 02:11:09',0,0),(50680,39,'AR20160900000008',2,33310,0,'KEK KELEDEK',0,100,1,100,1,0,9,2016,'OR[00000006]','',1,1,0,'2016-09-27 02:11:09',NULL,'2016-09-27 02:11:09',0,0),(50681,39,'AR20160900000009',1,33321,0,'KEK CENDAWAN',500,0,1,500,1,0,9,2016,'OR[00000007]','',1,1,0,'2016-09-27 02:12:01',NULL,'2016-09-27 02:12:01',0,0),(50682,39,'AR20160900000009',2,33310,0,'KEK CENDAWAN',0,500,1,500,1,0,9,2016,'OR[00000007]','',1,1,0,'2016-09-27 02:12:01',NULL,'2016-09-27 02:12:01',0,0),(50683,12,'AR20160900000024',1,32583,0,'kak cendawan',234,0,1,234,1,0,9,2016,'OR[00000043]','',1,1,0,'2016-09-27 02:13:07',NULL,'2016-09-27 02:13:07',0,0),(50684,12,'AR20160900000024',2,32575,0,'kak cendawan',0,234,1,234,1,0,9,2016,'OR[00000043]','',1,1,0,'2016-09-27 02:13:07',NULL,'2016-09-27 02:13:07',0,0),(50685,13,'AR20160900000098',1,32772,0,'fgf',200,0,1,200,1,0,9,2016,'OR[00000044]','',1,1,0,'2016-09-27 02:14:29',NULL,'2016-09-27 02:14:29',0,0),(50686,13,'AR20160900000098',2,32762,0,'fgf',0,200,1,200,1,0,9,2016,'OR[00000044]','',1,1,0,'2016-09-27 02:14:29',NULL,'2016-09-27 02:14:29',0,0),(50687,39,'AR20160900000010',1,33321,0,'Asam JeedJard',100,0,1,100,1,0,9,2016,'OR[00000008]','',1,1,0,'2016-09-27 02:15:21',NULL,'2016-09-27 02:15:21',0,0),(50688,39,'AR20160900000010',2,33310,0,'Asam JeedJard',0,100,1,100,1,0,9,2016,'OR[00000008]','',1,1,0,'2016-09-27 02:15:21',NULL,'2016-09-27 02:15:21',0,0),(50689,39,'AR20160900000011',1,33321,0,'keta',50000,0,1,50000,1,0,9,2016,'OR[00000009]','',1,1,0,'2016-09-27 02:16:00',NULL,'2016-09-27 02:16:00',0,0),(50690,39,'AR20160900000011',2,33310,0,'keta',0,50000,1,50000,1,0,9,2016,'OR[00000009]','',1,1,0,'2016-09-27 02:16:00',NULL,'2016-09-27 02:16:00',0,0),(50693,13,'AR20160900000099',1,32772,0,'WXF307',1000,0,1,1000,1,0,9,2016,'OR[00000045]','',1,1,0,'2016-09-27 02:17:01',NULL,'2016-09-27 02:17:01',0,0),(50694,13,'AR20160900000099',2,32761,0,'WXF307',0,1000,1,1000,1,0,9,2016,'OR[00000045]','',1,1,0,'2016-09-27 02:17:01',NULL,'2016-09-27 02:17:01',0,0),(50695,39,'AR20160900000013',1,33321,0,'jhj',111,0,1,111,1,0,9,2016,'OR[00000010]','',1,1,0,'2016-09-27 02:18:00',NULL,'2016-09-27 02:18:00',0,0),(50696,39,'AR20160900000013',2,33311,0,'jhj',0,111,1,111,1,0,9,2016,'OR[00000010]','',1,1,0,'2016-09-27 02:18:00',NULL,'2016-09-27 02:18:00',0,0),(50699,13,'AR20160900000101',1,32772,0,'ASAM KEPINg',2122,0,1,2122,1,0,9,2016,'OR[00000046]','',1,1,0,'2016-09-27 02:19:14',NULL,'2016-09-27 02:19:14',0,0),(50700,13,'AR20160900000101',2,32762,0,'ASAM KEPINg',0,2122,1,2122,1,0,9,2016,'OR[00000046]','',1,1,0,'2016-09-27 02:19:14',NULL,'2016-09-27 02:19:14',0,0),(50703,39,'AR20160900000015',1,33321,0,'SAMBAL HITAM',1000,0,1,1000,1,0,9,2016,'OR[00000011]','',1,1,0,'2016-09-27 02:20:21',NULL,'2016-09-27 02:20:21',0,0),(50704,39,'AR20160900000015',2,33310,0,'SAMBAL HITAM',0,1000,1,1000,1,0,9,2016,'OR[00000011]','',1,1,0,'2016-09-27 02:20:21',NULL,'2016-09-27 02:20:21',0,0),(50705,39,'AR20160900000016',1,33321,0,'salama',30498,0,1,30498,1,0,9,2016,'OR[00000012]','',1,1,0,'2016-09-27 02:20:46',NULL,'2016-09-27 02:20:46',0,0),(50706,39,'AR20160900000016',2,33312,0,'salama',0,30498,1,30498,1,0,9,2016,'OR[00000012]','',1,1,0,'2016-09-27 02:20:46',NULL,'2016-09-27 02:20:46',0,0),(50707,39,'AR20160900000017',1,33321,0,'lebihan semlana',4039,0,1,4039,1,0,9,2016,'OR[00000013]','',1,1,0,'2016-09-27 02:21:35',NULL,'2016-09-27 02:21:35',0,0),(50708,39,'AR20160900000017',2,33311,0,'lebihan semlana',0,4039,1,4039,1,0,9,2016,'OR[00000013]','',1,1,0,'2016-09-27 02:21:35',NULL,'2016-09-27 02:21:35',0,0),(50711,39,'AP20160900000013',1,33310,0,'harini',4500,0,1,4500,1,0,9,2016,'OP-C[00000005]',NULL,1,1,0,'2016-09-27 02:24:04',NULL,'2016-09-27 02:24:04',0,0),(50712,39,'AP20160900000013',2,33322,0,'harini',0,4500,1,4500,1,0,9,2016,'OP-C[00000005]',NULL,1,1,0,'2016-09-27 02:24:04',NULL,'2016-09-27 02:24:04',0,0),(50713,39,'AP20160900000013',3,33310,0,'harini',1500,0,1,1500,1,0,9,2016,'OP-C[00000005]',NULL,1,1,0,'2016-09-27 02:24:04',NULL,'2016-09-27 02:24:04',0,0),(50714,39,'AP20160900000013',4,33322,0,'harini',0,1500,1,1500,1,0,9,2016,'OP-C[00000005]',NULL,1,1,0,'2016-09-27 02:24:04',NULL,'2016-09-27 02:24:04',0,0),(50717,39,'AP20160900000015',1,33310,0,'semalam',2000,0,1,2000,1,0,9,2016,'TT[00000006]',NULL,0,1,0,'2016-09-27 02:25:07',NULL,'2016-09-27 02:25:07',0,0),(50718,39,'AP20160900000015',2,33311,0,'semalam',0,2000,1,2000,1,0,9,2016,'TT[00000006]',NULL,0,1,0,'2016-09-27 02:25:07',NULL,'2016-09-27 02:25:07',0,0),(50721,39,'AP20160900000017',1,33312,0,'baju',150,0,1,150,1,0,9,2016,'TT[00000007]',NULL,0,1,0,'2016-09-27 02:26:12',NULL,'2016-09-27 02:26:12',0,0),(50722,39,'AP20160900000017',2,33310,0,'baju',0,150,1,150,1,0,9,2016,'TT[00000007]',NULL,0,1,0,'2016-09-27 02:26:12',NULL,'2016-09-27 02:26:12',0,0),(50729,12,'AP20160900000010',1,32572,0,'bank 1 ke bank 2 rm2 ',56,0,1,56,1,0,9,2016,'TT[00000032]',NULL,0,1,0,'2016-09-27 02:35:47',NULL,'2016-09-27 02:35:48',0,0),(50730,12,'AP20160900000010',2,32573,0,'bank 1 ke bank 2 rm2 ',0,56,1,56,1,0,9,2016,'TT[00000032]',NULL,0,1,0,'2016-09-27 02:35:47',NULL,'2016-09-27 02:35:48',0,0),(50733,12,'AP20160900000012',1,32572,0,'b 1 ke b2 rm44',44,0,1,44,1,0,9,2016,'TT[00000033]',NULL,0,1,0,'2016-09-27 02:36:45',NULL,'2016-09-27 02:36:45',0,0),(50734,12,'AP20160900000012',2,32573,0,'b 1 ke b2 rm44',0,44,1,44,1,0,9,2016,'TT[00000033]',NULL,0,1,0,'2016-09-27 02:36:45',NULL,'2016-09-27 02:36:45',0,0),(50737,12,'AP20160900000014',1,32572,0,'b1 b3 rm23',233,0,1,233,1,0,9,2016,'TT[00000034]',NULL,0,1,0,'2016-09-27 02:39:13',NULL,'2016-09-27 02:39:13',0,0),(50738,12,'AP20160900000014',2,32574,0,'b1 b3 rm23',0,233,1,233,1,0,9,2016,'TT[00000034]',NULL,0,1,0,'2016-09-27 02:39:13',NULL,'2016-09-27 02:39:13',0,0),(50739,12,'AP20160900000015',1,32572,0,'b1 ke pc1 rm222',222,0,1,222,1,0,9,2016,'TT[00000035]',NULL,0,1,0,'2016-09-27 02:40:10',NULL,'2016-09-27 02:40:10',0,0),(50740,12,'AP20160900000015',2,32575,0,'b1 ke pc1 rm222',0,222,1,222,1,0,9,2016,'TT[00000035]',NULL,0,1,0,'2016-09-27 02:40:10',NULL,'2016-09-27 02:40:10',0,0),(50741,12,'AP20160900000016',1,32572,0,'b1 ke b3 rm44',44,0,1,44,1,0,9,2016,'TT[00000036]',NULL,0,1,0,'2016-09-27 03:01:22',NULL,'2016-09-27 03:01:22',0,0),(50742,12,'AP20160900000016',2,32574,0,'b1 ke b3 rm44',0,44,1,44,1,0,9,2016,'TT[00000036]',NULL,0,1,0,'2016-09-27 03:01:22',NULL,'2016-09-27 03:01:22',0,0),(50743,12,'AP20160900000017',1,32572,0,'bulan 9',100,0,1,100,1,0,9,2016,'OP-L[00000037]',NULL,1,1,0,'2016-09-27 04:38:50',NULL,'2016-09-27 04:38:50',0,0),(50744,12,'AP20160900000017',2,32578,0,'bulan 9',0,100,1,100,1,0,9,2016,'OP-L[00000037]',NULL,1,1,0,'2016-09-27 04:38:50',NULL,'2016-09-27 04:38:50',0,0),(50745,12,'AR20160900000025',1,32583,0,'nasi lemak',23,0,1,23,1,0,9,2016,'OR[00000044]','',1,1,0,'2016-09-27 04:40:28',NULL,'2016-09-27 04:40:28',0,0),(50746,12,'AR20160900000025',2,32573,0,'nasi lemak',0,23,1,23,1,0,9,2016,'OR[00000044]','',1,1,0,'2016-09-27 04:40:28',NULL,'2016-09-27 04:40:28',0,0),(50747,12,'AP20160900000018',1,32572,0,'bulan 9',122,0,1,122,1,0,9,2016,'OP-L[00000038]',NULL,1,1,0,'2016-09-27 04:41:32',NULL,'2016-09-27 04:41:32',0,0),(50748,12,'AP20160900000018',2,32579,0,'bulan 9',0,122,1,122,1,0,9,2016,'OP-L[00000038]',NULL,1,1,0,'2016-09-27 04:41:32',NULL,'2016-09-27 04:41:32',0,0),(50749,12,'AR20160900000026',1,32583,0,'basikal',234,0,1,234,1,0,9,2016,'OR[00000045]','',1,1,0,'2016-09-27 04:42:07',NULL,'2016-09-27 04:42:07',0,0),(50750,12,'AR20160900000026',2,32572,0,'basikal',0,234,1,234,1,0,9,2016,'OR[00000045]','',1,1,0,'2016-09-27 04:42:07',NULL,'2016-09-27 04:42:07',0,0),(50751,12,'AR20160900000027',1,32583,0,'basikal racing',456,0,1,456,1,0,9,2016,'OR[00000046]','',1,1,0,'2016-09-27 04:42:52',NULL,'2016-09-27 04:42:52',0,0),(50752,12,'AR20160900000027',2,32573,0,'basikal racing',0,456,1,456,1,0,9,2016,'OR[00000046]','',1,1,0,'2016-09-27 04:42:52',NULL,'2016-09-27 04:42:52',0,0),(50755,12,'AP20160900000020',1,32572,0,'bulan 9',111,0,1,111,1,0,9,2016,'OP-L[00000039]',NULL,1,1,0,'2016-09-27 04:45:31',NULL,'2016-09-27 04:45:31',0,0),(50756,12,'AP20160900000020',2,32580,0,'bulan 9',0,111,1,111,1,0,9,2016,'OP-L[00000039]',NULL,1,1,0,'2016-09-27 04:45:31',NULL,'2016-09-27 04:45:31',0,0),(50757,12,'AP20160900000020',3,32572,0,'bulan 9',110,0,1,110,1,0,9,2016,'OP-L[00000039]',NULL,1,1,0,'2016-09-27 04:45:31',NULL,'2016-09-27 04:45:31',0,0),(50758,12,'AP20160900000020',4,32580,0,'bulan 9',0,110,1,110,1,0,9,2016,'OP-L[00000039]',NULL,1,1,0,'2016-09-27 04:45:31',NULL,'2016-09-27 04:45:31',0,0),(50759,12,'AP20160900000021',1,32572,0,'bulan 9',111,0,1,111,1,0,9,2016,'OP-L[00000040]',NULL,1,1,0,'2016-09-27 04:46:15',NULL,'2016-09-27 04:46:15',0,0),(50760,12,'AP20160900000021',2,32580,0,'bulan 9',0,111,1,111,1,0,9,2016,'OP-L[00000040]',NULL,1,1,0,'2016-09-27 04:46:15',NULL,'2016-09-27 04:46:15',0,0),(50761,12,'AP20160900000021',3,32572,0,'bulan 9',122,0,1,122,1,0,9,2016,'OP-L[00000040]',NULL,1,1,0,'2016-09-27 04:46:15',NULL,'2016-09-27 04:46:15',0,0),(50762,12,'AP20160900000021',4,32581,0,'bulan 9',0,122,1,122,1,0,9,2016,'OP-L[00000040]',NULL,1,1,0,'2016-09-27 04:46:15',NULL,'2016-09-27 04:46:15',0,0),(50763,39,'AP20160900000018',1,33310,0,'hilmi',349,0,1,349,1,0,9,2016,'TT[00000008]',NULL,0,1,0,'2016-09-27 04:49:22',NULL,'2016-09-27 04:49:22',0,0),(50764,39,'AP20160900000018',2,33311,0,'hilmi',0,349,1,349,1,0,9,2016,'TT[00000008]',NULL,0,1,0,'2016-09-27 04:49:22',NULL,'2016-09-27 04:49:22',0,0),(50765,12,'AP20160900000022',1,32572,0,'bulan 9',899,0,1,899,1,0,9,2016,'OP-L[00000041]',NULL,1,1,0,'2016-09-27 06:56:30',NULL,'2016-09-27 06:56:30',0,0),(50766,12,'AP20160900000022',2,32578,0,'bulan 9',0,899,1,899,1,0,9,2016,'OP-L[00000041]',NULL,1,1,0,'2016-09-27 06:56:30',NULL,'2016-09-27 06:56:30',0,0),(50789,12,'AP20160900000028',1,32572,0,'bulan 9',122,0,1,122,1,0,9,2016,'OP-L[00000042]',NULL,1,1,0,'2016-09-27 07:12:38',NULL,'2016-09-27 07:12:38',0,0),(50790,12,'AP20160900000028',2,32578,0,'bulan 9',0,122,1,122,1,0,9,2016,'OP-L[00000042]',NULL,1,1,0,'2016-09-27 07:12:38',NULL,'2016-09-27 07:12:38',0,0),(50791,12,'AP20160900000028',3,32572,0,'bulan 10',123,0,1,123,1,0,9,2016,'OP-L[00000042]',NULL,1,1,0,'2016-09-27 07:12:38',NULL,'2016-09-27 07:12:38',0,0),(50792,12,'AP20160900000028',4,32578,0,'bulan 10',0,123,1,123,1,0,9,2016,'OP-L[00000042]',NULL,1,1,0,'2016-09-27 07:12:38',NULL,'2016-09-27 07:12:38',0,0),(50793,12,'AP20160900000028',5,32572,0,'bulan 11',1125,0,1,1125,1,0,9,2016,'OP-L[00000042]',NULL,1,1,0,'2016-09-27 07:12:38',NULL,'2016-09-27 07:12:38',0,0),(50794,12,'AP20160900000028',6,32578,0,'bulan 11',0,1125,1,1125,1,0,9,2016,'OP-L[00000042]',NULL,1,1,0,'2016-09-27 07:12:38',NULL,'2016-09-27 07:12:38',0,0),(50797,39,'AP20160900000020',1,33310,0,'Tepung Komak',700,0,1,700,1,0,9,2016,'OP-C[00000009]',NULL,1,1,0,'2016-09-27 07:25:31',NULL,'2016-09-27 07:25:31',0,0),(50798,39,'AP20160900000020',2,33322,0,'Tepung Komak',0,700,1,700,1,0,9,2016,'OP-C[00000009]',NULL,1,1,0,'2016-09-27 07:25:31',NULL,'2016-09-27 07:25:31',0,0),(50801,39,'AP20160900000022',1,33310,0,'Water',239,0,1,239,1,0,9,2016,'OP-E[00000010]',NULL,1,1,0,'2016-09-27 07:26:59',NULL,'2016-09-27 07:27:00',0,0),(50802,39,'AP20160900000022',2,33328,0,'Water',0,239,1,239,1,0,9,2016,'OP-E[00000010]',NULL,1,1,0,'2016-09-27 07:26:59',NULL,'2016-09-27 07:27:00',0,0),(50805,39,'AP20160900000024',1,33310,0,'Kusi',395,0,1,395,1,0,9,2016,'OP-A[00000011]',NULL,1,1,0,'2016-09-27 07:28:09',NULL,'2016-09-27 07:28:09',0,0),(50806,39,'AP20160900000024',2,33299,0,'Kusi',0,395,1,395,1,0,9,2016,'OP-A[00000011]',NULL,1,1,0,'2016-09-27 07:28:09',NULL,'2016-09-27 07:28:09',0,0),(50809,39,'AP20160900000026',1,33310,0,'Ansuran',999,0,1,999,1,0,9,2016,'OP-L[00000012]',NULL,1,1,0,'2016-09-27 07:29:33',NULL,'2016-09-27 07:29:33',0,0),(50810,39,'AP20160900000026',2,33316,0,'Ansuran',0,999,1,999,1,0,9,2016,'OP-L[00000012]',NULL,1,1,0,'2016-09-27 07:29:33',NULL,'2016-09-27 07:29:33',0,0),(50813,40,'AR20160900000002',1,33384,0,'IKAN PATIN TEMPOYAK',1050,0,1,1050,1,0,9,2016,'OR[00000001]','',1,1,0,'2016-09-29 01:16:51',NULL,'2016-09-29 01:16:51',0,0),(50814,40,'AR20160900000002',2,33373,0,'IKAN PATIN TEMPOYAK',0,1050,1,1050,1,0,9,2016,'OR[00000001]','',1,1,0,'2016-09-29 01:16:51',NULL,'2016-09-29 01:16:51',0,0),(50815,40,'AR20160900000003',1,33384,0,'TUNGKING GORENG',100,0,1,100,1,0,9,2016,'OR[00000002]','',1,1,0,'2016-09-29 01:18:11',NULL,'2016-09-29 01:18:11',0,0),(50816,40,'AR20160900000003',2,33373,0,'TUNGKING GORENG',0,100,1,100,1,0,9,2016,'OR[00000002]','',1,1,0,'2016-09-29 01:18:11',NULL,'2016-09-29 01:18:11',0,0),(50831,40,'AR20160900000004',1,33384,0,'AIR LIMAU ASAM BOI',30,0,1,30,1,0,9,2016,'OR[00000003]','',1,1,0,'2016-09-29 01:21:35',NULL,'2016-09-29 01:21:35',0,0),(50832,40,'AR20160900000004',2,33373,0,'AIR LIMAU ASAM BOI',0,30,1,30,1,0,9,2016,'OR[00000003]','',1,1,0,'2016-09-29 01:21:35',NULL,'2016-09-29 01:21:35',0,0),(50833,40,'AP20160900000005',1,33373,0,'ELECTRICITY',250,0,1,250,1,0,9,2016,'OP-E[00000003]',NULL,1,1,0,'2016-09-29 01:30:37',NULL,'2016-09-29 01:30:37',0,0),(50834,40,'AP20160900000005',2,33391,0,'ELECTRICITY',0,250,1,250,1,0,9,2016,'OP-E[00000003]',NULL,1,1,0,'2016-09-29 01:30:37',NULL,'2016-09-29 01:30:37',0,0),(50835,40,'AP20160900000006',1,33373,0,'WATER',100,0,1,100,1,0,9,2016,'OP-E[00000004]',NULL,1,1,0,'2016-09-29 01:31:01',NULL,'2016-09-29 01:31:02',0,0),(50836,40,'AP20160900000006',2,33391,0,'WATER',0,100,1,100,1,0,9,2016,'OP-E[00000004]',NULL,1,1,0,'2016-09-29 01:31:01',NULL,'2016-09-29 01:31:02',0,0),(50837,40,'AP20160900000007',1,33373,0,'GAJI BULANAN',1500,0,1,1500,1,0,9,2016,'OP-E[00000005]',NULL,1,1,0,'2016-09-29 01:31:36',NULL,'2016-09-29 01:31:36',0,0),(50838,40,'AP20160900000007',2,33410,0,'GAJI BULANAN',0,1500,1,1500,1,0,9,2016,'OP-E[00000005]',NULL,1,1,0,'2016-09-29 01:31:36',NULL,'2016-09-29 01:31:36',0,0),(50839,40,'AR20160900000005',1,33384,0,'NASI AYAM',5000,0,1,5000,1,0,9,2016,'OR[00000004]','',1,1,0,'2016-09-29 01:32:03',NULL,'2016-09-29 01:32:03',0,0),(50840,40,'AR20160900000005',2,33373,0,'NASI AYAM',0,5000,1,5000,1,0,9,2016,'OR[00000004]','',1,1,0,'2016-09-29 01:32:03',NULL,'2016-09-29 01:32:03',0,0),(50841,40,'AR20160900000006',1,33384,0,'WEDDING ARTIST',15900,0,1,15900,1,0,9,2016,'OR[00000005]','',1,1,0,'2016-09-29 01:32:25',NULL,'2016-09-29 01:32:25',0,0),(50842,40,'AR20160900000006',2,33373,0,'WEDDING ARTIST',0,15900,1,15900,1,0,9,2016,'OR[00000005]','',1,1,0,'2016-09-29 01:32:25',NULL,'2016-09-29 01:32:25',0,0),(50843,40,'AR20161000000001',1,33384,0,'WEDDING SI WEDDING PLANNER',29000,0,1,29000,1,0,10,2016,'OR[00000006]','',1,1,0,'2016-09-29 01:33:03',NULL,'2016-09-29 01:33:03',0,0),(50844,40,'AR20161000000001',2,33373,0,'WEDDING SI WEDDING PLANNER',0,29000,1,29000,1,0,10,2016,'OR[00000006]','',1,1,0,'2016-09-29 01:33:03',NULL,'2016-09-29 01:33:03',0,0),(50845,40,'AR20161000000002',1,33384,0,'WEDDING AHMAD ZARLITH',30000,0,1,30000,1,0,10,2016,'OR[00000007]','',1,1,0,'2016-09-29 01:33:35',NULL,'2016-09-29 01:33:35',0,0),(50846,40,'AR20161000000002',2,33373,0,'WEDDING AHMAD ZARLITH',0,30000,1,30000,1,0,10,2016,'OR[00000007]','',1,1,0,'2016-09-29 01:33:35',NULL,'2016-09-29 01:33:35',0,0),(50847,40,'AR20160900000007',1,33384,0,'PAKEJ WEDDING PREMIUM',35000,0,1,35000,1,0,9,2016,'OR[00000008]','',1,1,0,'2016-09-29 01:34:00',NULL,'2016-09-29 01:34:01',0,0),(50848,40,'AR20160900000007',2,33373,0,'PAKEJ WEDDING PREMIUM',0,35000,1,35000,1,0,9,2016,'OR[00000008]','',1,1,0,'2016-09-29 01:34:00',NULL,'2016-09-29 01:34:01',0,0),(50849,40,'AR20161000000003',1,33384,0,'PAKEJ WEDDING GOLD',25000,0,1,25000,1,0,10,2016,'OR[00000009]','',1,1,0,'2016-09-29 01:34:38',NULL,'2016-09-29 01:34:38',0,0),(50850,40,'AR20161000000003',2,33373,0,'PAKEJ WEDDING GOLD',0,25000,1,25000,1,0,10,2016,'OR[00000009]','',1,1,0,'2016-09-29 01:34:38',NULL,'2016-09-29 01:34:38',0,0),(50885,40,'AP20160900000012',1,33373,0,'AYAM',957,0,1,957,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50886,40,'AP20160900000012',2,33385,0,'AYAM',0,957,1,957,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50887,40,'AP20160900000012',3,33373,0,'SALAD',100,0,1,100,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50888,40,'AP20160900000012',4,33385,0,'SALAD',0,100,1,100,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50889,40,'AP20160900000012',5,33373,0,'TOMATO',50,0,1,50,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50890,40,'AP20160900000012',6,33385,0,'TOMATO',0,50,1,50,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50891,40,'AP20160900000012',7,33373,0,'TIMUN',50,0,1,50,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50892,40,'AP20160900000012',8,33385,0,'TIMUN',0,50,1,50,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50893,40,'AP20160900000012',9,33373,0,'CILI MERAH',30,0,1,30,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50894,40,'AP20160900000012',10,33385,0,'CILI MERAH',0,30,1,30,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50895,40,'AP20160900000012',11,33373,0,'DAUN SUP',10,0,1,10,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50896,40,'AP20160900000012',12,33385,0,'DAUN SUP',0,10,1,10,1,0,9,2016,'OP-C[00000006]',NULL,1,1,0,'2016-09-29 01:41:26',NULL,'2016-09-29 01:41:26',0,0),(50909,13,'AR20160900000102',1,32772,0,'testing',10,0,1,10,1,0,9,2016,'OR[00000047]','',1,1,0,'2016-09-29 02:12:50',NULL,'2016-09-29 02:12:50',0,0),(50910,13,'AR20160900000102',2,32761,0,'testing',0,10,1,10,1,0,9,2016,'OR[00000047]','',1,1,0,'2016-09-29 02:12:50',NULL,'2016-09-29 02:12:50',0,0),(50941,40,'AP20160900000014',1,33374,0,'HONDA HR-V',150000,0,1,150000,1,0,9,2016,'OP-A[00000009]',NULL,1,1,0,'2016-09-29 03:41:59',NULL,'2016-09-29 03:41:59',0,0),(50942,40,'AP20160900000014',2,33365,0,'HONDA HR-V',0,150000,1,150000,1,0,9,2016,'OP-A[00000009]',NULL,1,1,0,'2016-09-29 03:41:59',NULL,'2016-09-29 03:41:59',0,0),(50943,40,'AP20160900000015',1,33373,0,'HUTANG LAPUK',5000,0,1,5000,1,0,9,2016,'TT[00000010]',NULL,0,1,0,'2016-09-29 04:01:42',NULL,'2016-09-29 04:01:42',0,0),(50944,40,'AP20160900000015',2,33375,0,'HUTANG LAPUK',0,5000,1,5000,1,0,9,2016,'TT[00000010]',NULL,0,1,0,'2016-09-29 04:01:42',NULL,'2016-09-29 04:01:42',0,0),(50945,40,'AP20160900000016',1,33374,0,'KETA LAMA',1300,0,1,1300,1,0,9,2016,'OP-L[00000011]',NULL,1,1,0,'2016-09-29 04:03:59',NULL,'2016-09-29 04:03:59',0,0),(50946,40,'AP20160900000016',2,33380,0,'KETA LAMA',0,1300,1,1300,1,0,9,2016,'OP-L[00000011]',NULL,1,1,0,'2016-09-29 04:03:59',NULL,'2016-09-29 04:03:59',0,0),(50947,40,'AP20160900000017',1,33374,0,'BYR TUNGGAKAN',3000,0,1,3000,1,0,9,2016,'OP-L[00000012]',NULL,1,1,0,'2016-09-29 04:27:38',NULL,'2016-09-29 04:27:38',0,0),(50948,40,'AP20160900000017',2,33380,0,'BYR TUNGGAKAN',0,3000,1,3000,1,0,9,2016,'OP-L[00000012]',NULL,1,1,0,'2016-09-29 04:27:38',NULL,'2016-09-29 04:27:38',0,0),(50951,40,'AP20161000000002',1,33374,0,'TRANSFER',100,0,1,100,1,0,10,2016,'TT[00000013]',NULL,0,1,0,'2016-10-04 07:44:22',NULL,'2016-10-04 07:44:22',0,0),(50952,40,'AP20161000000002',2,33375,0,'TRANSFER',0,100,1,100,1,0,10,2016,'TT[00000013]',NULL,0,1,0,'2016-10-04 07:44:22',NULL,'2016-10-04 07:44:22',0,0),(50953,40,'AP20161000000003',1,33373,0,'wrwr',1,0,1,1,1,0,10,2016,'OP-E[00000014]',NULL,1,1,0,'2016-10-10 04:57:10',NULL,'2016-10-10 04:57:10',0,0),(50954,40,'AP20161000000003',2,33387,0,'wrwr',0,1,1,1,1,0,10,2016,'OP-E[00000014]',NULL,1,1,0,'2016-10-10 04:57:10',NULL,'2016-10-10 04:57:10',0,0),(50995,40,'AP20161000000006',1,33373,0,'mortalcombat12',390,0,1,390,1,0,10,2016,'OP-C[00000015]',NULL,1,1,0,'2016-10-11 07:22:38',NULL,'2016-10-11 07:22:38',0,0),(50996,40,'AP20161000000006',2,33385,0,'mortalcombat12',0,390,1,390,1,0,10,2016,'OP-C[00000015]',NULL,1,1,0,'2016-10-11 07:22:38',NULL,'2016-10-11 07:22:38',0,0),(50997,40,'AP20161000000006',3,33373,0,'mortalcombat22',150,0,1,150,1,0,10,2016,'OP-C[00000015]',NULL,1,1,0,'2016-10-11 07:22:38',NULL,'2016-10-11 07:22:38',0,0),(50998,40,'AP20161000000006',4,33385,0,'mortalcombat22',0,150,1,150,1,0,10,2016,'OP-C[00000015]',NULL,1,1,0,'2016-10-11 07:22:38',NULL,'2016-10-11 07:22:38',0,0),(50999,40,'AP20161000000007',1,33373,0,'Barang2 Pasar',8500,0,1,8500,1,0,10,2016,'OP-C[00000016]',NULL,1,1,0,'2016-10-12 07:47:47',NULL,'2016-10-12 07:47:47',0,0),(51000,40,'AP20161000000007',2,33385,0,'Barang2 Pasar',0,8500,1,8500,1,0,10,2016,'OP-C[00000016]',NULL,1,1,0,'2016-10-12 07:47:47',NULL,'2016-10-12 07:47:47',0,0),(51001,40,'AP20161000000008',1,33373,0,'soi',1000,0,1,1000,1,0,10,2016,'OP-E[00000017]',NULL,1,1,0,'2016-10-17 08:04:02',NULL,'2016-10-17 08:04:02',0,0),(51002,40,'AP20161000000008',2,33387,0,'soi',0,1000,1,1000,1,0,10,2016,'OP-E[00000017]',NULL,1,1,0,'2016-10-17 08:04:02',NULL,'2016-10-17 08:04:02',0,0),(51343,70,'AR20161000000001',2,35140,0,'eminem yo1',0,3000,1,3000,1,0,10,2016,'OR[00000001]','',1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51344,70,'AR20161000000001',4,35140,0,'eminem yo2',0,4000,1,4000,1,0,10,2016,'OR[00000001]','',2,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51345,70,'AP20161000000003',1,35140,0,'wassup1',4000,0,1,4000,1,0,10,2016,'OP-E[00000002]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51346,70,'AP20161000000003',3,35140,0,'wassup2',6900,0,1,6900,1,0,10,2016,'OP-E[00000002]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51347,70,'AP161000000001',1,35141,0,'eminem01',450,0,1,450,1,0,10,2016,'OP-C[00000001]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51348,70,'AP161000000001',3,35141,0,'eminem02',600,0,1,600,1,0,10,2016,'OP-C[00000001]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51349,70,'AP20161000000002',1,35141,0,'this is eminem 1',1550,0,1,1550,1,0,10,2016,'OP-C[00000001]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51350,70,'AP20161000000002',3,35141,0,'This is eminem 2',500,0,1,500,1,0,10,2016,'OP-C[00000001]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51351,70,'AR20161000000002',2,35143,0,'hihihi1',0,5600,1,5600,1,0,10,2016,'OR[00000002]','hi eminem 1',1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51352,70,'AR20161000000002',4,35143,0,'hihihi2',0,4300,1,4300,1,0,10,2016,'OR[00000002]','hi eminem 1',2,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51353,70,'AR20161000000001',1,35151,0,'eminem yo1',3000,0,1,3000,1,0,10,2016,'OR[00000001]','',1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51354,70,'AR20161000000001',3,35151,0,'eminem yo2',4000,0,1,4000,1,0,10,2016,'OR[00000001]','',2,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51355,70,'AR20161000000002',1,35151,0,'hihihi1',5600,0,1,5600,1,0,10,2016,'OR[00000002]','hi eminem 1',1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51356,70,'AR20161000000002',3,35151,0,'hihihi2',4300,0,1,4300,1,0,10,2016,'OR[00000002]','hi eminem 1',2,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51357,70,'AP161000000001',2,35152,0,'eminem01',0,450,1,450,1,0,10,2016,'OP-C[00000001]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51358,70,'AP161000000001',4,35152,0,'eminem02',0,600,1,600,1,0,10,2016,'OP-C[00000001]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51359,70,'AP20161000000002',2,35152,0,'this is eminem 1',0,1550,1,1550,1,0,10,2016,'OP-C[00000001]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51360,70,'AP20161000000002',4,35152,0,'This is eminem 2',0,500,1,500,1,0,10,2016,'OP-C[00000001]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51361,70,'AP20161000000003',2,35158,0,'wassup1',0,4000,1,4000,1,0,10,2016,'OP-E[00000002]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0),(51362,70,'AP20161000000003',4,35162,0,'wassup2',0,6900,1,6900,1,0,10,2016,'OP-E[00000002]',NULL,1,1,NULL,'2016-10-18 00:55:40',NULL,'2016-10-18 00:55:40',0,0);
/*!40000 ALTER TABLE `comp_journal_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_location_transfer`
--

DROP TABLE IF EXISTS `comp_location_transfer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_location_transfer` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `fromLocationID` int(11) NOT NULL,
  `toLocationID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `movementTypeID` int(11) NOT NULL,
  `dateTransfer` date NOT NULL,
  `memo` text NOT NULL,
  `is_delete` smallint(6) NOT NULL,
  `updateable` smallint(6) NOT NULL DEFAULT '1',
  `createdby` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_location_transfer`
--

LOCK TABLES `comp_location_transfer` WRITE;
/*!40000 ALTER TABLE `comp_location_transfer` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_location_transfer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_location_transfer_detail`
--

DROP TABLE IF EXISTS `comp_location_transfer_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_location_transfer_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `locationTransferID` int(11) NOT NULL,
  `LineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `fromStock` int(11) NOT NULL,
  `is_delete` smallint(6) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_location_transfer_detail`
--

LOCK TABLES `comp_location_transfer_detail` WRITE;
/*!40000 ALTER TABLE `comp_location_transfer_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_location_transfer_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_opening_balance`
--

DROP TABLE IF EXISTS `comp_opening_balance`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_opening_balance` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `debit` double NOT NULL,
  `credit` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_opening_balance`
--

LOCK TABLES `comp_opening_balance` WRITE;
/*!40000 ALTER TABLE `comp_opening_balance` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_opening_balance` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment`
--

DROP TABLE IF EXISTS `comp_payment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `amountPaid` double NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(16) NOT NULL,
  `bankID` int(11) NOT NULL,
  `reconcile` smallint(6) NOT NULL DEFAULT '0',
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `paymentDate` date NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalPaid` double NOT NULL,
  `totalApplied` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `accountDescription` varchar(128) NOT NULL DEFAULT 'Temp Description',
  `paymentID` int(11) NOT NULL,
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment`
--

LOCK TABLES `comp_payment` WRITE;
/*!40000 ALTER TABLE `comp_payment` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_cp_add_serialNo` BEFORE INSERT ON `comp_payment`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_payment 

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_payment_detail`
--

DROP TABLE IF EXISTS `comp_payment_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `purchaseInvoiceID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `APBalance` double NOT NULL,
  `discount` double NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_detail`
--

LOCK TABLES `comp_payment_detail` WRITE;
/*!40000 ALTER TABLE `comp_payment_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_detail_creditnote`
--

DROP TABLE IF EXISTS `comp_payment_detail_creditnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_detail_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `creditnoteID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_detail_creditnote`
--

LOCK TABLES `comp_payment_detail_creditnote` WRITE;
/*!40000 ALTER TABLE `comp_payment_detail_creditnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_detail_creditnote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_detail_debitnote`
--

DROP TABLE IF EXISTS `comp_payment_detail_debitnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_detail_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `debitnoteID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_detail_debitnote`
--

LOCK TABLES `comp_payment_detail_debitnote` WRITE;
/*!40000 ALTER TABLE `comp_payment_detail_debitnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_detail_debitnote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_detail_historical_invoice`
--

DROP TABLE IF EXISTS `comp_payment_detail_historical_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_detail_historical_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `historicalinvoiceID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_detail_historical_invoice`
--

LOCK TABLES `comp_payment_detail_historical_invoice` WRITE;
/*!40000 ALTER TABLE `comp_payment_detail_historical_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_detail_historical_invoice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_others`
--

DROP TABLE IF EXISTS `comp_payment_others`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `otherPaymentType` smallint(6) NOT NULL DEFAULT '1' COMMENT '0=with item. 1=without item',
  `companyID` int(11) NOT NULL,
  `payTo` text NOT NULL,
  `projectID` int(11) NOT NULL,
  `amountPaid` double NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `paymentDate` date NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL DEFAULT '1',
  `addressID` int(11) NOT NULL,
  `locationID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `simplifiedTax` int(1) NOT NULL DEFAULT '0',
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `bankId` int(11) NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalPaid` double NOT NULL,
  `totalApplied` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `accountDescription` varchar(128) NOT NULL,
  `paymentID` int(11) NOT NULL,
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2368 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others`
--

LOCK TABLES `comp_payment_others` WRITE;
/*!40000 ALTER TABLE `comp_payment_others` DISABLE KEYS */;
INSERT INTO `comp_payment_others` VALUES (1180,1,1,1,'',0,778,68,'',0,'OP-E','2016-06-01',0,0,1,0,0,'asdfasdf1212',0,0,0,0,0,0,0,0,1,'2015-11-26 06:29:47',0,'2016-06-03 04:00:23',1,'',0,'AP20151100000042',0),(1181,2,1,1,'',0,7843,68,'',0,'OP-A','2015-11-26',0,0,1,0,0,'asdfasdfasdf',0,0,0,85,0,0,0,0,1,'2015-11-26 06:36:02',0,'2015-11-26 09:55:11',1,'',0,'AP20151100000043',0),(1183,4,1,1,'85',0,899,68,'',1,'OP-C','2015-10-12',0,0,1,0,0,'1111',0,0,0,0,0,0,0,0,1,'2015-11-26 07:24:11',0,'2015-11-27 10:25:54',1,'',0,'AP20151100000045',0),(1184,5,1,1,'84',0,500,68,'',1,'OP-C','2014-04-03',0,0,1,0,0,'Finally!',0,0,0,0,0,0,0,0,1,'2015-11-26 07:36:37',0,'2016-06-03 04:02:13',1,'',0,'AP20151100000046',0),(1190,6,1,1,'',0,22968,68,'',1,'OP-L','2015-11-26',0,0,1,0,0,'asdfasdfasdf',0,0,0,85,0,0,0,0,1,'2015-11-26 08:44:13',0,'2015-11-26 09:50:16',1,'',0,'AP20151100000053',0),(1191,7,1,1,'',0,8,68,'',1,'OP-L','2015-11-26',0,0,1,0,0,'asdfasdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-26 09:04:20',0,'2015-11-26 09:50:16',1,'',0,'AP20151100000057',0),(1192,8,1,1,'',0,22968,68,'',1,'OP-L','2015-11-26',1,0,1,0,0,'asdfasdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-26 09:08:42',0,'0000-00-00 00:00:00',0,'',0,'',0),(1193,9,1,1,'',0,8,68,'',1,'OP-L','2015-11-26',1,0,1,0,0,'asdfasdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-26 09:09:37',0,'0000-00-00 00:00:00',0,'',0,'',0),(1194,10,1,1,'',0,8,68,'',1,'OP-L','2015-11-26',0,0,1,0,0,'asdfasdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-26 09:09:54',0,'2015-11-26 09:54:49',1,'',0,'AP20151100000059',0),(1195,11,1,1,'',0,8,68,'',1,'OP-L','2015-11-26',0,0,1,0,0,'asdfasdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-26 09:10:29',0,'2015-11-26 09:54:49',1,'',0,'AP20151100000062',0),(1196,12,1,1,'',0,15134,68,'',1,'OP-L','2015-11-26',0,0,1,0,0,'asdfasdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-26 09:14:07',0,'2015-11-26 09:54:49',1,'',0,'AP20151100000073',0),(1202,18,1,1,'84',0,5436,0,'0',0,'TT','2015-11-28',1,0,1,0,0,'xcvxcvzxcsdd',0,0,0,82,0,0,0,0,1,'2015-11-26 09:41:53',0,'2015-11-28 08:43:41',1,'',0,'',0),(1203,19,1,1,'',0,778,0,'0',0,'TT','2015-11-10',1,0,1,0,0,'1212',0,0,0,0,0,0,0,0,1,'2015-11-26 09:42:11',0,'2015-11-28 08:45:11',1,'',0,'',0),(1204,20,1,1,'',0,778,0,'0',0,'TT','2015-11-10',1,0,1,0,0,'asdfasdf1212',0,0,0,0,0,0,0,0,1,'2015-11-26 09:43:07',0,'2015-11-28 08:45:11',1,'',0,'',0),(1205,21,1,1,'',0,778,0,'0',0,'TT','2015-11-10',1,0,1,0,0,'asdfasdf1212',0,0,0,0,0,0,0,0,1,'2015-11-26 09:43:43',0,'2015-11-28 08:46:17',1,'',0,'',0),(1206,22,1,1,'',0,778,0,'0',0,'TT','2015-11-10',1,0,1,0,0,'asdfasdf1212',0,0,0,0,0,0,0,0,1,'2015-11-26 09:44:38',0,'2015-11-28 08:46:17',1,'',0,'',0),(1207,23,1,1,'',0,778,0,'0',0,'TT','2015-11-10',1,0,1,0,0,'asdfasdf1212',0,0,0,0,0,0,0,0,1,'2015-11-26 09:44:46',0,'2015-11-28 08:46:17',1,'',0,'',0),(1208,24,1,1,'',0,778,0,'0',0,'TT','2015-11-10',1,0,1,0,0,'asdfasdf1212',0,0,0,0,0,0,0,0,1,'2015-11-26 09:47:42',0,'2015-11-28 08:46:17',1,'',0,'',0),(1209,25,1,1,'',0,2488,68,'',1,'OP-A','2015-11-26',0,0,1,0,0,'asdfasdfasdf',0,0,0,85,0,0,0,0,1,'2015-11-26 09:55:35',0,'2015-11-26 09:58:05',1,'',0,'AP20151100000076',0),(1210,26,1,1,'',0,236,68,'',1,'OP-A','2015-11-26',0,0,1,0,0,'asdfasdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-26 10:00:00',0,'2015-11-26 10:02:31',1,'',0,'AP20151100000077',0),(1211,27,1,1,'',0,2488,68,'',1,'OP-A','2015-11-26',0,0,1,0,0,'asdfasdf',0,0,0,83,0,0,0,0,1,'2015-11-26 10:03:49',0,'2015-11-26 10:04:06',1,'',0,'AP20151100000078',0),(1212,28,1,1,'',0,1690,68,'',1,'OP-A','2015-11-26',0,0,1,0,0,'asdfasdf',0,0,0,83,0,0,0,0,1,'2015-11-26 10:08:52',0,'2015-11-26 10:17:55',1,'',0,'AP20151100000080',0),(1213,29,1,1,'',0,10598,68,'',1,'OP-A','2015-11-26',0,0,1,0,0,'sayem testing asset',0,0,0,84,0,0,0,0,1,'2015-11-26 10:19:31',0,'2015-11-26 10:23:57',1,'',0,'AP20151100000085',0),(1214,30,1,1,'',0,3411,68,'',1,'OP-C','2016-01-08',0,0,1,0,0,'0',0,0,0,86,0,0,0,0,1,'2015-11-26 10:24:26',0,'2016-06-03 04:26:33',1,'',0,'AP20090100000006',0),(1215,31,1,1,'',0,52,68,'',1,'OP-E','2015-11-26',0,0,1,0,0,'test',0,0,0,83,0,0,0,0,1,'2015-11-26 11:51:57',0,'2015-11-26 11:54:29',1,'',0,'AP20151100000090',0),(1220,36,1,1,'',0,2310,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 02:35:30',0,'2015-11-27 03:49:49',0,'',0,'AP20151100000106',0),(1221,37,1,1,'',0,344,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'asdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-27 02:44:09',0,'2015-11-27 03:48:15',0,'',0,'AP20151100000109',0),(1222,38,1,1,'',0,13790,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-27 02:45:55',0,'2015-11-27 02:49:13',1,'',0,'AP20151100000099',0),(1223,39,1,1,'',0,899,0,'0',0,'TT','2015-10-12',1,0,1,0,0,'34534521212',0,0,0,0,0,0,0,0,1,'2015-11-27 02:49:40',0,'2015-11-28 08:46:26',1,'',0,'',0),(1224,40,1,1,'',0,899,0,'0',0,'TT','2015-10-12',1,0,1,0,0,'3453451212',0,0,0,0,0,0,0,0,1,'2015-11-27 02:49:49',0,'2015-11-28 08:46:30',1,'',0,'',0),(1225,41,1,1,'',0,177,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'asdfasdf',0,0,0,84,0,0,0,0,1,'2015-11-27 03:48:53',0,'0000-00-00 00:00:00',0,'',0,'',0),(1226,42,1,1,'',0,2310,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:03:58',0,'0000-00-00 00:00:00',0,'',0,'',0),(1230,46,1,1,'',0,2310,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:10:21',0,'0000-00-00 00:00:00',0,'',0,'',0),(1231,47,1,1,'',0,89,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:11:09',0,'0000-00-00 00:00:00',0,'',0,'',0),(1232,48,1,1,'',0,89,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:11:25',0,'0000-00-00 00:00:00',0,'',0,'',0),(1233,49,1,1,'',0,89,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:11:28',0,'0000-00-00 00:00:00',0,'',0,'',0),(1234,50,1,1,'',0,89,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:13:16',0,'0000-00-00 00:00:00',0,'',0,'',0),(1235,51,1,1,'',0,89,68,'',1,'OP-E','2015-11-27',1,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:13:37',0,'0000-00-00 00:00:00',0,'',0,'',0),(1236,52,1,1,'',0,89,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:17:22',0,'2015-11-27 04:20:36',1,'',0,'AP20151100000110',0),(1237,53,1,1,'',0,89,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'This is Operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-27 04:17:56',0,'2015-11-27 04:20:36',1,'',0,'AP20151100000111',0),(1238,54,1,1,'',0,68,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 04:18:55',0,'2015-11-27 04:20:36',1,'',0,'AP20151100000113',0),(1239,55,1,1,'',0,23,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 04:20:59',0,'2015-11-27 04:22:00',1,'',0,'AP20151100000114',0),(1240,56,1,1,'',0,123,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'',0,0,0,82,0,0,0,0,1,'2015-11-27 04:22:29',0,'2015-11-27 04:23:18',1,'',0,'AP20151100000115',0),(1241,57,1,1,'',0,337,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 04:23:33',0,'2015-11-27 10:13:37',1,'',0,'AP20151100000120',0),(1243,59,1,1,'',0,115,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 04:33:51',0,'2015-11-27 10:13:54',1,'',0,'AP20151100000123',0),(1244,60,1,1,'',0,80,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'',0,0,0,82,0,0,0,0,1,'2015-11-27 06:40:44',0,'2015-11-27 06:53:51',1,'',0,'AP20151100000125',0),(1245,61,1,1,'',0,70,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'sayem testing asset',0,0,0,85,0,0,0,0,1,'2015-11-27 06:45:30',0,'2015-11-27 06:53:51',1,'',0,'AP20151100000126',0),(1246,62,1,1,'',0,100,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'',0,0,0,84,0,0,0,0,1,'2015-11-27 06:47:13',0,'2015-11-27 06:53:51',1,'',0,'AP20151100000129',0),(1247,63,1,1,'',0,30,68,'',1,'OP-C','2015-02-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-27 06:56:05',0,'2015-11-27 10:25:54',1,'',0,'AP20150200000002',0),(1252,68,1,1,'',0,596,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-27 07:02:40',0,'2015-11-27 10:19:23',1,'',0,'AP20151100000130',0),(1255,69,1,1,'',0,365,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 07:08:13',0,'2015-11-27 10:19:46',1,'',0,'AP20151100000131',0),(1256,70,1,1,'',0,250,68,'',1,'OP-C','2016-01-07',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 07:11:37',0,'2016-06-03 04:26:29',1,'',0,'AP100100000001',0),(1257,71,0,1,'84',0,6666,0,'',0,'','2014-06-01',1,0,1,0,0,'123123',0,0,0,83,0,0,0,0,0,'2015-11-27 07:13:33',0,'2016-06-03 04:01:43',0,'',0,'',0),(1258,72,0,1,'85',0,12354,0,'',0,'','2015-05-02',1,0,1,0,0,'this is it',0,0,0,84,0,0,0,0,0,'2015-11-27 07:15:05',0,'2016-06-03 03:46:27',0,'',0,'',0),(1259,73,1,1,'',0,248,68,'',1,'OP-C','2015-02-04',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 07:16:43',0,'2015-11-27 10:25:54',1,'',0,'AP20150200000003',0),(1260,74,0,1,'85',0,3333,0,'',0,'TT','2014-06-01',1,0,1,0,0,'asdklmlkmxcz',0,0,0,83,0,0,0,0,0,'2015-11-27 07:20:10',0,'2016-06-03 04:01:43',1,'',0,'',0),(1261,75,1,1,'',0,6718,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 07:24:19',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000132',0),(1267,76,1,1,'',0,3600,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 07:24:40',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000133',0),(1268,77,1,1,'',0,1270,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-27 07:31:17',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000134',0),(1269,78,1,1,'',0,1122,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 07:32:03',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000135',0),(1270,79,1,1,'',0,148199,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 07:33:26',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000136',0),(1271,80,1,1,'',0,1220,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 07:34:24',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000137',0),(1272,81,1,1,'',0,1323,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-27 07:40:49',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000145',0),(1273,82,1,1,'',0,800,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 07:46:54',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000141',0),(1274,83,0,1,'',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-27 07:51:26',0,'2016-06-03 04:01:43',1,'',0,'',0),(1275,84,0,1,'83',0,420420,0,'',0,'TT','2016-01-01',1,0,1,0,0,'yeah baby',0,0,0,82,0,0,0,0,0,'2015-11-27 07:52:04',0,'2016-06-03 03:53:33',1,'',0,'',0),(1276,85,1,1,'',0,500,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 07:52:59',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000142',0),(1277,86,1,1,'',0,3147,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 08:18:11',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000143',0),(1278,87,1,1,'',0,50,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 08:20:00',0,'2015-11-27 10:19:51',1,'',0,'AP20151100000144',0),(1279,88,0,1,'83',0,33333,0,'',0,'TT','2015-03-08',1,0,1,0,0,'123123123',0,0,0,82,0,0,0,0,0,'2015-11-27 08:34:00',0,'2016-06-03 03:47:30',1,'',0,'',0),(1280,89,1,1,'',0,115,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 08:46:14',0,'2015-11-27 09:11:08',1,'',0,'AP20151100000148',0),(1281,90,1,1,'',0,123,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 08:46:57',0,'2015-11-27 10:13:54',1,'',0,'AP20151100000149',0),(1282,91,0,1,'83',0,333,0,'',0,'TT','2014-06-01',1,0,1,0,0,'123123123',0,0,0,82,0,0,0,0,0,'2015-11-27 08:58:40',0,'2016-06-03 04:01:43',1,'',0,'',0),(1283,92,0,1,'85',0,123,0,'',0,'TT','2014-06-01',1,0,1,0,0,'grewasdt',0,0,0,0,0,0,0,0,0,'2015-11-27 08:59:19',0,'2016-06-03 04:01:43',1,'',0,'',0),(1284,93,0,1,'',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-27 09:15:00',0,'2016-06-03 04:01:43',1,'',0,'',0),(1285,94,1,1,'',0,2000,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'general',0,0,0,86,0,0,0,0,1,'2015-11-27 09:15:20',0,'2015-11-27 09:21:29',1,'',0,'AP20151100000152',0),(1286,95,0,1,'',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-27 09:15:27',0,'2016-06-03 04:01:43',1,'',0,'',0),(1287,96,1,1,'',0,500,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'jfsjdfdjhfdjh',0,0,0,85,0,0,0,0,1,'2015-11-27 09:21:59',0,'2015-11-27 10:13:54',1,'',0,'AP20151100000156',0),(1288,97,1,1,'',0,123,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,83,0,0,0,0,1,'2015-11-27 09:22:15',0,'2015-11-27 10:13:54',1,'',0,'AP20151100000154',0),(1289,98,1,1,'',0,80,68,'',1,'OP-A','2015-11-27',0,0,1,0,0,'',0,0,0,83,0,0,0,0,1,'2015-11-27 09:28:37',0,'2015-11-28 03:40:49',1,'',0,'AP20151100000197',0),(1290,99,1,1,'',0,70,68,'',1,'OP-A','2015-11-27',0,0,1,0,0,'',0,0,0,85,0,0,0,0,1,'2015-11-27 09:32:24',0,'2015-11-28 03:41:22',1,'',0,'AP20151100000157',0),(1291,100,1,1,'',0,40,68,'',1,'OP-A','2015-11-27',0,0,1,0,0,'',0,0,0,85,0,0,0,0,1,'2015-11-27 09:34:26',0,'2015-11-28 03:50:55',1,'',0,'AP20151100000158',0),(1292,101,1,1,'',0,30,68,'',1,'OP-A','2015-11-27',0,0,1,0,0,'',0,0,0,85,0,0,0,0,1,'2015-11-27 09:36:04',0,'2015-11-28 03:50:55',1,'',0,'AP20151100000159',0),(1293,102,1,1,'',0,59080,68,'',1,'OP-E','2016-01-07',0,0,1,0,0,'dfdsfdf',0,0,0,86,0,0,0,0,1,'2015-11-27 09:37:42',0,'2016-06-03 04:27:11',1,'',0,'AP20130100000002',0),(1294,103,1,1,'',0,34555,68,'',1,'OP-E','2014-10-01',0,0,1,0,0,'zdfsdf',0,0,0,84,0,0,0,0,1,'2015-11-27 09:39:08',0,'2015-12-03 07:25:25',1,'',0,'AP141000000001',0),(1295,104,1,1,'',0,10,68,'',1,'OP-A','2015-11-27',0,0,1,0,0,'',0,0,0,84,0,0,0,0,1,'2015-11-27 09:40:24',0,'2015-11-28 03:50:55',1,'',0,'AP20151100000160',0),(1296,105,1,1,'',0,600,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'sfdff',0,0,0,85,0,0,0,0,1,'2015-11-27 09:51:06',0,'2015-11-27 09:54:23',1,'',0,'AP20151100000161',0),(1297,106,1,1,'',0,5000,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'ghgh',0,0,0,83,0,0,0,0,1,'2015-11-27 09:57:17',0,'2015-11-27 10:13:54',1,'',0,'AP20151100000162',0),(1298,107,1,1,'',0,1400,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'dgfgf',0,0,0,84,0,0,0,0,1,'2015-11-27 10:09:52',0,'2015-11-27 10:13:54',1,'',0,'AP20151100000164',0),(1299,108,1,1,'',0,30,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-11-27 10:29:35',0,'2015-11-27 10:31:31',1,'',0,'AP20151100000165',0),(1300,109,1,1,'',0,160,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 10:36:02',0,'2015-11-28 02:31:55',1,'',0,'AP20151100000166',0),(1301,110,1,1,'',0,103,68,'',1,'OP-C','2015-06-23',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 10:57:14',0,'2015-11-30 08:05:38',1,'',0,'AP20150600000004',0),(1302,111,1,1,'',0,98,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 11:01:26',0,'2015-11-28 03:44:06',1,'',0,'AP20151100000203',0),(1303,112,1,1,'',0,500,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-27 11:07:48',0,'2015-11-30 04:20:20',1,'',0,'AP20151100000175',0),(1304,113,1,1,'',0,710,68,'',1,'OP-E','2015-11-27',0,0,1,0,0,'',0,0,0,85,0,0,0,0,1,'2015-11-27 11:58:01',0,'2015-11-28 04:29:57',1,'',0,'AP20151100000216',0),(1305,114,1,1,'',0,2000,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 12:09:07',0,'2015-11-30 08:04:11',1,'',0,'AP20151100000187',0),(1306,115,0,1,'Select Bank',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-27 12:12:43',0,'2016-06-03 04:01:43',1,'',0,'',0),(1307,116,1,1,'',0,10,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-27 12:20:44',0,'2015-11-30 08:04:11',1,'',0,'AP20151100000186',0),(1308,117,1,1,'',0,60,68,'',1,'OP-C','2015-11-27',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-27 12:22:21',0,'2015-11-30 08:04:11',1,'',0,'AP20151100000189',0),(1309,118,1,1,'',0,10,68,'',1,'OP-A','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 12:26:59',0,'2015-11-28 03:50:55',1,'',0,'AP20151100000190',0),(1310,119,1,1,'',0,10,68,'',1,'OP-A','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 12:27:11',0,'2015-11-28 03:50:55',1,'',0,'AP20151100000191',0),(1311,120,1,1,'',0,10,68,'',1,'OP-A','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 12:27:47',0,'2015-11-28 03:50:55',1,'',0,'AP20151100000194',0),(1312,121,1,1,'',0,10,68,'',1,'OP-L','2015-11-27',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-11-27 12:30:06',0,'2015-11-28 04:42:02',1,'',0,'AP20151100000196',0),(1313,122,0,1,'84',0,55124,0,'',0,'TT','2015-04-08',1,0,1,0,0,'saxadw',0,0,0,81,0,0,0,0,0,'2015-11-28 02:11:01',0,'2015-11-28 08:46:43',1,'',0,'',0),(1314,123,0,1,'85',0,3333,0,'',0,'TT','2015-04-09',1,0,1,0,0,'234234',0,0,0,84,0,0,0,0,0,'2015-11-28 02:25:53',0,'2015-11-28 08:46:51',1,'',0,'',0),(1315,124,0,1,'Select Bank',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-28 02:36:14',0,'2016-06-03 04:01:43',1,'',0,'',0),(1316,125,1,1,'',0,8000,68,'',1,'OP-C','2015-11-28',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-28 03:02:59',0,'2015-11-30 08:04:11',1,'',0,'AP20151100000204',0),(1317,126,1,1,'',0,880,68,'',1,'OP-C','2015-11-28',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-28 03:13:02',0,'2015-11-30 04:01:50',1,'',0,'AP20151100000206',0),(1318,127,1,1,'',0,80,68,'',1,'OP-C','2015-11-28',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-11-28 03:18:24',0,'2015-11-30 04:01:50',1,'',0,'AP20151100000208',0),(1319,128,1,1,'',0,10000,68,'',1,'OP-E','2015-11-28',0,0,1,0,0,'ASFDFDF',0,0,0,82,0,0,0,0,1,'2015-11-28 03:45:17',0,'2015-11-28 04:31:06',1,'',0,'AP20151100000209',0),(1320,129,1,1,'',0,600,68,'',1,'OP-E','2014-10-21',0,0,1,0,0,'ERERER',0,0,0,82,0,0,0,0,1,'2015-11-28 03:46:41',0,'2015-12-03 07:25:25',1,'',0,'AP20141000000002',0),(1321,130,1,1,'',0,2000,68,'',1,'OP-A','2015-11-28',0,0,1,0,0,'general',0,0,0,83,0,0,0,0,1,'2015-11-28 03:54:21',0,'2015-12-01 05:44:07',1,'',0,'AP20151100000210',0),(1322,131,1,1,'',0,800,68,'',1,'OP-E','2015-11-28',0,0,1,0,0,'SSDFDFD',0,0,0,83,0,0,0,0,1,'2015-11-28 03:55:45',0,'2015-11-30 08:04:56',1,'',0,'AP20151100000224',0),(1323,132,1,1,'',0,304,68,'',1,'OP-A','2015-11-04',0,0,1,0,0,'Test 2',0,0,0,85,0,0,0,0,1,'2015-11-28 04:06:24',0,'2015-12-01 05:44:07',1,'',0,'AP20151100000221',0),(1324,133,1,1,'',0,300,68,'',1,'OP-E','2015-11-03',0,0,1,0,0,'zcxcdf',0,0,0,83,0,0,0,0,1,'2015-11-28 04:09:03',0,'2015-11-30 08:04:56',1,'',0,'AP20151100000223',0),(1325,134,0,1,'82',0,429284,0,'',0,'TT','2015-11-28',1,0,1,0,0,'oh',0,0,0,84,0,0,0,0,0,'2015-11-28 04:32:40',0,'2015-11-28 08:46:51',1,'',0,'',0),(1326,135,1,1,'',0,200,68,'',1,'OP-E','2015-11-28',0,0,1,0,0,'sfdf',0,0,0,83,0,0,0,0,1,'2015-11-28 04:35:35',0,'2015-11-30 04:25:39',1,'',0,'AP20151100000225',0),(1327,136,1,1,'',0,20,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'qqsqsqs',0,0,0,82,0,0,0,0,1,'2015-11-28 04:49:02',0,'2015-12-01 06:01:39',1,'',0,'AP20151100000226',0),(1328,137,1,1,'',0,1,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-11-28 04:49:42',0,'2015-12-03 07:27:29',1,'',0,'AP20151100000227',0),(1329,138,0,1,'Select Bank',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-28 05:14:55',0,'2016-06-03 04:01:43',1,'',0,'',0),(1330,139,0,1,'Select Bank',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-28 05:20:50',0,'2016-06-03 04:01:43',1,'',0,'',0),(1331,140,0,1,'Select Bank',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-28 05:24:05',0,'2016-06-03 04:01:43',1,'',0,'',0),(1332,141,0,1,'Select Bank',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-28 05:42:58',0,'2016-06-03 04:01:43',1,'',0,'',0),(1333,142,0,1,'Select Bank',0,0,0,'',0,'TT','2014-06-01',1,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-28 05:57:25',0,'2016-06-03 04:01:43',1,'',0,'',0),(1334,143,0,1,'85',0,2222,0,'',0,'TT','2015-08-12',1,0,1,0,0,'. m,.,',0,0,0,84,0,0,0,0,0,'2015-11-28 05:58:14',0,'2015-11-28 08:46:51',1,'',0,'',0),(1335,144,0,1,'83',0,5,0,'',0,'TT','2015-11-28',1,0,1,0,0,'Tadaahh',0,0,0,82,0,0,0,0,0,'2015-11-28 08:47:12',0,'2015-11-30 02:22:48',1,'',0,'',0),(1336,145,0,1,'83',0,2000,0,'',0,'TT','2015-11-29',1,0,1,0,0,'test1',0,0,0,82,0,0,0,0,0,'2015-11-30 02:08:08',0,'2015-11-30 02:22:48',1,'',0,'',0),(1337,146,0,1,'82',0,50,0,'',0,'TT','2015-11-30',1,0,1,0,0,'hsdsdsjhs',0,0,0,81,0,0,0,0,0,'2015-11-30 02:27:39',0,'2015-11-30 02:41:59',1,'',0,'',0),(1338,147,0,1,'85',0,1000,0,'',0,'TT','2015-11-30',1,0,1,0,0,'test1',0,0,0,82,0,0,0,0,0,'2015-11-30 02:42:29',0,'2015-11-30 02:46:44',1,'',0,'',0),(1340,149,0,1,'83',0,800,0,'',0,'TT','2015-11-30',1,0,1,0,0,'asa',0,0,0,81,0,0,0,0,0,'2015-11-30 02:48:22',0,'2015-11-30 04:17:06',1,'',0,'',0),(1341,150,0,1,'82',0,80,0,'',0,'TT','2015-11-30',1,0,1,0,0,'asas',0,0,0,83,0,0,0,0,0,'2015-11-30 02:55:37',0,'2015-11-30 04:17:06',1,'',0,'',0),(1342,151,0,1,'82',0,900.88,0,'',0,'TT','2015-11-30',1,0,1,0,0,'test 1',0,0,0,81,0,0,0,0,0,'2015-11-30 03:00:37',0,'2015-11-30 04:17:06',1,'',0,'',0),(1343,152,0,1,'84',0,500,0,'',0,'TT','2015-11-30',1,0,1,0,0,'dd',0,0,0,83,0,0,0,0,0,'2015-11-30 03:02:22',0,'2015-11-30 04:17:06',1,'',0,'',0),(1344,153,0,1,'',0,800,0,'',0,'TT','2015-11-30',1,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-11-30 04:03:20',0,'2015-11-30 04:17:06',1,'',0,'',0),(1345,154,0,1,'',0,800,0,'',0,'TT','2015-11-30',1,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-11-30 04:05:26',0,'2015-11-30 04:17:06',1,'',0,'',0),(1346,155,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-30 04:05:30',0,'0000-00-00 00:00:00',0,'',0,'',0),(1347,156,0,1,'',0,700,0,'',0,'TT','2015-11-30',1,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 04:16:37',0,'2015-11-30 04:17:06',1,'',0,'',0),(1348,157,0,1,'83',0,700,0,'',0,'TT','2015-11-30',1,0,1,0,0,'hsjdks',0,0,0,83,0,0,0,0,0,'2015-11-30 04:18:55',0,'2015-11-30 05:38:26',1,'',0,'',0),(1349,158,1,1,'',0,800,68,'',1,'OP-E','2015-11-28',1,0,1,0,0,'SSDFDFD',0,0,0,84,0,0,0,0,1,'2015-11-30 04:20:01',0,'0000-00-00 00:00:00',0,'',0,'',0),(1350,159,1,1,'',0,800,68,'',1,'OP-E','2015-11-28',1,0,1,0,0,'SSDFDFD',0,0,0,84,0,0,0,0,1,'2015-11-30 04:20:03',0,'0000-00-00 00:00:00',0,'',0,'',0),(1351,160,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-30 04:20:32',0,'0000-00-00 00:00:00',0,'',0,'',0),(1352,161,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-30 04:20:34',0,'0000-00-00 00:00:00',0,'',0,'',0),(1353,162,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 04:22:04',0,'0000-00-00 00:00:00',0,'',0,'',0),(1354,163,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 04:22:05',0,'0000-00-00 00:00:00',0,'',0,'',0),(1355,164,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 04:22:19',0,'0000-00-00 00:00:00',0,'',0,'',0),(1356,165,0,1,'',0,70,0,'',0,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 04:24:57',0,'2015-11-30 05:38:26',1,'',0,'',0),(1357,166,0,1,'',0,36,0,'',0,'TT','2015-11-30',1,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 04:27:52',0,'2015-11-30 05:38:26',1,'',0,'',0),(1358,167,0,1,'',0,800,0,'',0,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 04:29:04',0,'2015-11-30 05:38:26',1,'',0,'AP20151100000229',0),(1359,168,0,1,'',0,8000,0,'',3,'TT','2015-11-30',1,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 05:10:01',0,'2015-11-30 05:38:26',1,'',0,'',0),(1360,169,0,1,'',0,1212,0,'',3,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 05:23:13',0,'2015-11-30 05:55:39',1,'',0,'AP20151100000233',0),(1361,170,0,1,'',0,0,0,'',0,'TT','2015-11-30',1,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 05:38:13',0,'2015-11-30 05:38:26',1,'',0,'',0),(1362,171,0,1,'84',0,800,0,'',0,'TT','2015-11-30',1,0,1,0,0,'ff',0,0,0,82,0,0,0,0,0,'2015-11-30 05:38:42',0,'2015-11-30 05:53:35',1,'',0,'',0),(1363,172,0,1,'',0,80,0,'',32514,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-11-30 05:44:39',0,'2015-11-30 05:53:35',1,'',0,'AP20151100000232',0),(1364,173,0,1,'',0,800,0,'',32515,'TT','2015-11-30',1,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 05:50:50',0,'2015-11-30 05:53:35',1,'',0,'',0),(1365,174,0,1,'',0,800,0,'',32515,'TT','2015-11-30',1,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-11-30 05:51:18',0,'2015-11-30 05:53:35',1,'',0,'',0),(1366,175,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-30 05:53:05',0,'0000-00-00 00:00:00',0,'',0,'',0),(1367,176,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-30 05:53:07',0,'0000-00-00 00:00:00',0,'',0,'',0),(1368,177,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 05:53:17',0,'0000-00-00 00:00:00',0,'',0,'',0),(1369,178,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 05:53:19',0,'0000-00-00 00:00:00',0,'',0,'',0),(1370,179,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 05:53:29',0,'0000-00-00 00:00:00',0,'',0,'',0),(1371,180,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 05:53:31',0,'0000-00-00 00:00:00',0,'',0,'',0),(1372,181,0,1,'',0,800,0,'',3,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 05:53:58',0,'2015-11-30 06:33:06',1,'',0,'AP20151100000234',0),(1373,182,0,1,'',0,900,0,'',3,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,81,0,0,0,0,0,'2015-11-30 05:58:22',0,'2015-11-30 06:33:06',1,'',0,'AP20151100000235',0),(1374,183,0,1,'',0,100,0,'',3,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,83,0,0,0,0,0,'2015-11-30 06:30:16',0,'2015-11-30 06:33:06',1,'',0,'AP20151100000236',0),(1375,184,0,1,'',0,50,0,'',3,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,83,0,0,0,0,0,'2015-11-30 06:33:19',0,'2015-11-30 07:13:15',1,'',0,'AP20151100000237',0),(1376,185,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-30 06:46:25',0,'0000-00-00 00:00:00',0,'',0,'',0),(1377,186,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-30 06:46:27',0,'0000-00-00 00:00:00',0,'',0,'',0),(1378,187,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-30 06:46:28',0,'0000-00-00 00:00:00',0,'',0,'',0),(1379,188,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-11-30 06:54:57',0,'0000-00-00 00:00:00',0,'',0,'',0),(1380,189,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:57:57',0,'0000-00-00 00:00:00',0,'',0,'',0),(1381,190,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:57:58',0,'0000-00-00 00:00:00',0,'',0,'',0),(1382,191,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:57:59',0,'0000-00-00 00:00:00',0,'',0,'',0),(1383,192,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:58:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1384,193,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:58:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1386,194,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:58:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1388,195,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:58:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1389,196,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:58:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1390,197,1,1,'',0,1100,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 06:58:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1392,198,1,1,'',0,10,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 07:02:59',0,'0000-00-00 00:00:00',0,'',0,'',0),(1393,199,1,1,'',0,10,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 07:02:59',0,'0000-00-00 00:00:00',0,'',0,'',0),(1394,200,1,1,'',0,10,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 07:03:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1395,201,1,1,'',0,10,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 07:03:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1396,202,1,1,'',0,10,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 07:03:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1397,203,1,1,'',0,10,68,'',1,'OP-C','2015-11-27',1,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-11-30 07:03:00',0,'0000-00-00 00:00:00',0,'',0,'',0),(1398,204,0,1,'84',0,870,0,'',3,'TT','2015-11-30',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-11-30 07:09:13',0,'2015-11-30 07:13:15',1,'',0,'AP20151100000238',0),(1400,206,1,1,'',0,800,68,'',1,'OP-E','2015-11-28',1,0,1,0,0,'SSDFDFD',0,0,0,83,0,0,0,0,1,'2015-11-30 07:53:16',0,'0000-00-00 00:00:00',0,'',0,'',0),(1401,207,1,1,'',0,800,68,'',1,'OP-E','2015-11-28',1,0,1,0,0,'SSDFDFD',0,0,0,83,0,0,0,0,1,'2015-11-30 07:53:25',0,'0000-00-00 00:00:00',0,'',0,'',0),(1402,208,1,1,'',0,800,68,'',1,'OP-E','2015-11-28',0,0,1,0,0,'SSDFDFD',0,0,0,83,0,0,0,0,1,'2015-11-30 08:03:14',0,'2015-11-30 08:04:56',1,'',0,'AP20151100000240',0),(1403,209,1,1,'',0,1000,68,'',1,'OP-C','2015-11-30',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-11-30 08:06:10',0,'2015-12-03 07:25:09',1,'',0,'AP20151100000241',0),(1404,210,1,1,'',0,1000,68,'',1,'OP-E','2015-11-30',0,0,1,0,0,'Test operating expenses',0,0,0,84,0,0,0,0,1,'2015-11-30 08:07:15',0,'2015-12-03 07:25:25',1,'',0,'AP20151100000242',0),(1413,213,1,1,'',0,300,68,'',1,'OP-C','2015-12-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-12-01 01:10:26',0,'2015-12-01 06:55:28',1,'',0,'AP151200000001',0),(1415,215,1,1,'',0,300,68,'',1,'OP-C','2015-12-01',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-12-01 01:13:38',0,'2015-12-01 06:55:28',1,'',0,'AP20151200000003',0),(1416,216,1,1,'',0,300,68,'',1,'OP-C','2015-12-01',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-12-01 01:14:16',0,'2015-12-01 01:16:47',1,'',0,'AP20151200000004',0),(1417,217,1,1,'',0,300,68,'',1,'OP-C','2015-12-01',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-12-01 01:14:19',0,'2015-12-01 01:16:44',1,'',0,'AP20151200000005',0),(1420,219,1,1,'',0,600,68,'',1,'OP-C','2015-12-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-12-01 01:49:25',0,'2015-12-01 06:55:28',1,'',0,'AP20151200000008',0),(1427,221,1,1,'',0,200,68,'',1,'OP-C','2015-12-01',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2015-12-01 05:21:48',0,'2015-12-01 06:55:28',1,'',0,'AP20151200000016',0),(1428,222,1,1,'',0,3000,68,'',1,'OP-A','2015-12-01',0,0,1,0,0,'ttt',0,0,0,83,0,0,0,0,1,'2015-12-01 05:41:11',0,'2015-12-01 05:42:49',1,'',0,'AP20151200000017',0),(1429,223,1,1,'',0,500,68,'',1,'OP-A','2015-12-01',0,0,1,0,0,'hh',0,0,0,83,0,0,0,0,1,'2015-12-01 05:41:42',0,'2015-12-01 05:41:49',1,'',0,'AP20151200000018',0),(1430,224,1,1,'',0,2,68,'',1,'OP-A','2015-12-01',0,0,1,0,0,'mm',0,0,0,84,0,0,0,0,1,'2015-12-01 05:47:34',0,'2015-12-01 05:48:02',1,'',0,'AP20151200000020',0),(1431,225,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:49',0,'2015-12-03 07:27:29',1,'',0,'AP20151100000276',0),(1432,226,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:50',0,'2015-12-03 07:27:29',1,'',0,'AP20151100000277',0),(1433,227,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:50',0,'2015-12-03 07:27:29',1,'',0,'AP20151100000278',0),(1434,228,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:50',0,'2015-12-03 07:27:29',1,'',0,'AP20151100000279',0),(1435,229,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:50',0,'2015-12-03 07:27:29',1,'',0,'AP20151100000280',0),(1436,230,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:50',0,'2015-12-03 07:27:29',1,'',0,'AP20151100000281',0),(1437,231,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:51',0,'2015-12-03 07:27:29',1,'',0,'AP20151100000282',0),(1438,232,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:51',0,'2015-12-03 07:27:30',1,'',0,'AP20151100000283',0),(1439,233,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:51',0,'2015-12-03 07:27:30',1,'',0,'AP20151100000284',0),(1440,234,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:52',0,'2015-12-03 07:27:30',1,'',0,'AP20151100000285',0),(1441,235,1,1,'',0,21,68,'',1,'OP-L','2015-11-28',0,0,1,0,0,'wqwqwqw',0,0,0,82,0,0,0,0,1,'2015-12-01 06:17:52',0,'2015-12-03 07:27:30',1,'',0,'AP20151100000286',0),(1444,238,1,1,'',0,500,68,'',1,'OP-C','2015-12-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-12-01 06:55:57',0,'2015-12-03 07:25:09',1,'',0,'AP20151200000026',0),(1458,241,1,1,'',0,50300,68,'',1,'OP-E','2015-12-02',0,0,1,0,0,'Koriss test',0,0,0,83,0,0,0,0,1,'2015-12-02 04:31:02',0,'2015-12-03 07:25:25',1,'',0,'AP20151200000073',0),(1459,242,1,1,'',0,600,68,'',1,'OP-E','2015-12-02',0,0,1,0,0,'poi',0,0,0,83,0,0,0,0,1,'2015-12-02 04:36:05',0,'2015-12-03 07:25:25',1,'',0,'AP20151200000074',0),(1460,243,1,1,'',0,3536.8,68,'',1,'OP-A','2015-12-02',0,0,1,0,0,'Koriss purchase',0,0,0,84,0,0,0,0,1,'2015-12-02 04:50:36',0,'2015-12-03 07:25:41',1,'',0,'AP20151200000076',0),(1462,245,1,1,'',0,110000,68,'',1,'OP-L','2015-01-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,1,'2015-12-02 05:43:26',0,'2016-06-03 03:52:03',1,'',0,'AP20151200000079',0),(1464,246,1,1,'',0,110000,68,'',1,'OP-L','2015-02-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:04',0,'2016-06-03 03:52:10',1,'',0,'AP20151200000082',0),(1465,247,1,1,'',0,110000,68,'',1,'OP-L','2015-03-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:05',0,'2016-06-03 03:52:16',1,'',0,'AP20151200000083',0),(1466,248,1,1,'',0,110000,68,'',1,'OP-L','2015-04-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:05',0,'2016-06-03 03:52:22',1,'',0,'AP20151200000084',0),(1467,249,1,1,'',0,110000,68,'',1,'OP-L','2015-05-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:06',0,'2016-06-03 03:52:27',1,'',0,'AP20151200000085',0),(1468,250,1,1,'',0,110000,68,'',1,'OP-L','2015-06-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:06',0,'2016-06-03 03:52:32',1,'',0,'AP20151200000086',0),(1469,251,1,1,'',0,110000,68,'',1,'OP-L','2015-07-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:06',0,'2016-06-03 03:52:39',1,'',0,'AP20151200000087',0),(1470,252,1,1,'',0,110000,68,'',1,'OP-L','2015-08-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:06',0,'2016-06-03 03:52:48',1,'',0,'AP20151200000088',0),(1471,253,1,1,'',0,110000,68,'',1,'OP-L','2015-09-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:07',0,'2016-06-03 03:52:53',1,'',0,'AP20151200000089',0),(1472,254,1,1,'',0,110000,68,'',1,'OP-L','2015-12-02',0,0,1,0,0,'human = Live (start, end);',0,0,0,82,0,0,0,0,92,'2015-12-02 08:14:07',0,'2015-12-03 07:27:03',1,'',0,'AP20151200000090',0),(1473,255,1,1,'',0,600,68,'',1,'OP-E','2015-12-02',0,0,1,0,0,'poi',0,0,0,83,0,0,0,0,92,'2015-12-02 08:29:46',0,'2015-12-03 07:25:26',1,'',0,'AP20151200000091',0),(1474,256,1,1,'',0,600,68,'',1,'OP-E','2015-12-02',0,0,1,0,0,'poi',0,0,0,83,0,0,0,0,92,'2015-12-02 08:29:58',0,'2015-12-03 07:25:26',1,'',0,'AP20151200000092',0),(1481,260,1,1,'',0,1000,68,'',1,'OP-C','2015-02-03',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2015-12-03 02:33:36',0,'2015-12-03 07:25:09',1,'',0,'AP20150200000004',0),(1482,261,1,1,'',0,1000,68,'',1,'OP-L','2015-12-03',0,0,1,0,0,'test',0,0,0,86,0,0,0,0,1,'2015-12-03 04:31:00',0,'2015-12-03 07:27:03',1,'',0,'AP20151200000101',0),(1483,262,1,1,'',0,500,68,'',1,'OP-C','2015-12-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2015-12-03 05:23:17',0,'2015-12-03 07:25:09',1,'',0,'AP20151200000103',0),(1484,263,1,1,'',0,333,68,'',1,'OP-E','2015-02-03',0,0,1,0,0,'rr',0,0,0,83,0,0,0,0,1,'2015-12-03 05:23:50',0,'2015-12-03 07:25:26',1,'',0,'AP20150200000005',0),(1488,265,1,1,'',0,50,68,'',1,'OP-E','2015-01-07',0,0,1,0,0,'Test 2',0,0,0,85,0,0,0,0,1,'2015-12-03 08:06:49',0,'2015-12-03 08:08:11',1,'',0,'AP20150100000004',0),(1500,277,1,1,'',0,950,68,'',1,'OP-C','2015-01-03',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-03 09:10:29',0,'2015-12-03 09:10:29',0,'',0,'AP20150100000005',0),(1501,278,1,1,'',0,880,68,'',1,'OP-C','2015-01-10',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-03 09:10:49',0,'2015-12-03 09:10:49',0,'',0,'AP20150100000006',0),(1508,280,1,1,'',0,850,68,'',1,'OP-C','2015-01-17',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:00:50',0,'2015-12-04 02:00:50',0,'',0,'AP20150100000020',0),(1509,281,1,1,'',0,920,68,'',1,'OP-C','2015-01-24',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:01:39',0,'2015-12-04 02:01:39',0,'',0,'AP20150100000021',0),(1510,282,1,1,'',0,890,68,'',1,'OP-E','2015-02-28',0,0,1,0,0,'Electric',0,0,0,83,0,0,0,0,1,'2015-12-04 02:02:21',0,'2015-12-04 02:02:44',1,'',0,'AP20150200000006',0),(1511,283,1,1,'',0,890,68,'',1,'OP-E','2015-01-31',0,0,1,0,0,'tnb',0,0,0,82,0,0,0,0,1,'2015-12-04 02:06:26',0,'2015-12-04 02:06:26',0,'',0,'AP20150100000022',0),(1512,284,1,1,'',0,990,68,'',1,'OP-C','2015-01-31',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:06:34',0,'2015-12-04 02:06:34',0,'',0,'AP20150100000023',0),(1513,285,1,1,'',0,971,68,'',1,'OP-E','2015-02-28',0,0,1,0,0,'tnb ',0,0,0,83,0,0,0,0,1,'2015-12-04 02:07:17',0,'2015-12-04 02:07:17',0,'',0,'AP20150200000007',0),(1514,286,1,1,'',0,902,68,'',1,'OP-C','2015-02-07',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:07:34',0,'2015-12-04 02:07:34',0,'',0,'AP20150200000008',0),(1515,287,1,1,'',0,893,68,'',1,'OP-C','2015-02-14',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:08:13',0,'2015-12-04 02:08:13',0,'',0,'AP20150200000009',0),(1516,288,1,1,'',0,921,68,'',1,'OP-C','2015-02-21',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:09:06',0,'2015-12-04 02:09:06',0,'',0,'AP20150200000010',0),(1517,289,1,1,'',0,886,68,'',1,'OP-E','2015-12-04',0,0,1,0,0,'tnb',0,0,0,84,0,0,0,0,1,'2015-12-04 02:10:55',0,'2015-12-04 02:11:18',1,'',0,'AP20151200000118',0),(1518,290,1,1,'',0,989,68,'',1,'OP-E','2015-03-31',0,0,1,0,0,'tnb',0,0,0,83,0,0,0,0,1,'2015-12-04 02:11:50',0,'2015-12-04 02:11:50',0,'',0,'AP150300000001',0),(1519,291,1,1,'',0,870,68,'',1,'OP-E','2015-04-30',0,0,1,0,0,'tnb',0,0,0,85,0,0,0,0,1,'2015-12-04 02:12:26',0,'2015-12-04 02:12:27',0,'',0,'AP20150400000004',0),(1520,292,1,1,'',0,990,68,'',1,'OP-E','2015-05-31',0,0,1,0,0,'tnb',0,0,0,83,0,0,0,0,1,'2015-12-04 02:12:58',0,'2015-12-04 02:12:58',0,'',0,'AP150500000001',0),(1521,293,1,1,'',0,864,68,'',1,'OP-E','2015-06-30',0,0,1,0,0,'tnb',0,0,0,82,0,0,0,0,1,'2015-12-04 02:13:36',0,'2015-12-04 02:13:36',0,'',0,'AP20150600000005',0),(1522,294,1,1,'',0,931,68,'',1,'OP-C','2015-02-28',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:13:48',0,'2015-12-04 02:13:48',0,'',0,'AP20150200000011',0),(1523,295,1,1,'',0,831,68,'',1,'OP-C','2015-03-07',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:14:45',0,'2015-12-04 02:14:45',0,'',0,'AP20150300000002',0),(1524,296,1,1,'',0,988,68,'',1,'OP-E','2015-07-31',0,0,1,0,0,'tnb',0,0,0,84,0,0,0,0,1,'2015-12-04 02:15:16',0,'2015-12-04 02:15:16',0,'',0,'AP150700000001',0),(1525,297,1,1,'',0,999,68,'',1,'OP-C','2015-03-14',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:15:24',0,'2015-12-04 02:15:24',0,'',0,'AP20150300000003',0),(1526,298,1,1,'',0,867,68,'',1,'OP-C','2015-03-21',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:15:56',0,'2015-12-04 02:15:56',0,'',0,'AP20150300000004',0),(1527,299,1,1,'',0,900,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'tnb',0,0,0,84,0,0,0,0,1,'2015-12-04 02:16:05',0,'2015-12-04 02:16:05',0,'',0,'AP150800000001',0),(1528,300,1,1,'',0,920,68,'',1,'OP-C','2015-03-28',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:16:30',0,'2015-12-04 02:16:31',0,'',0,'AP20150300000005',0),(1529,301,1,1,'',0,985,68,'',1,'OP-E','2015-09-30',0,0,1,0,0,'tnb',0,0,0,84,0,0,0,0,1,'2015-12-04 02:19:07',0,'2015-12-04 02:19:08',0,'',0,'AP150900000001',0),(1530,302,1,1,'',0,875,68,'',1,'OP-C','2015-04-04',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:19:51',0,'2015-12-04 02:19:51',0,'',0,'AP20150400000005',0),(1531,303,1,1,'',0,964,68,'',1,'OP-C','2015-04-11',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:20:40',0,'2015-12-04 02:20:40',0,'',0,'AP20150400000006',0),(1532,304,1,1,'',0,937,68,'',1,'OP-C','2015-04-18',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:21:11',0,'2015-12-04 02:21:11',0,'',0,'AP20150400000007',0),(1533,305,1,1,'',0,843,68,'',1,'OP-E','2015-10-31',0,0,1,0,0,'tnb',0,0,0,82,0,0,0,0,1,'2015-12-04 02:21:19',0,'2015-12-04 02:21:20',0,'',0,'AP20151000000005',0),(1535,306,1,1,'',0,899,68,'',1,'OP-C','2015-04-25',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:21:51',0,'2015-12-04 02:21:52',0,'',0,'AP20150400000008',0),(1536,307,1,1,'',0,975,68,'',1,'OP-E','2015-11-30',0,0,1,0,0,'tnb',0,0,0,82,0,0,0,0,1,'2015-12-04 02:21:59',0,'2015-12-04 02:22:00',0,'',0,'AP20151100000287',0),(1537,308,1,1,'',0,910,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'tnb',0,0,0,82,0,0,0,0,1,'2015-12-04 02:22:33',0,'2015-12-08 04:19:09',1,'',0,'AP20151200000120',0),(1538,309,1,1,'',0,969,68,'',1,'OP-C','2015-05-02',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:22:36',0,'2015-12-04 02:22:36',0,'',0,'AP20150500000002',0),(1539,310,1,1,'',0,988,68,'',1,'OP-E','2015-01-31',0,0,1,0,0,'petrol, parking, toll',0,0,0,82,0,0,0,0,1,'2015-12-04 02:31:18',0,'2015-12-04 02:31:19',0,'',0,'AP20150100000024',0),(1540,311,1,1,'',0,867,68,'',1,'OP-E','2015-02-28',0,0,1,0,0,'petrol,parking, tol ',0,0,0,83,0,0,0,0,1,'2015-12-04 02:31:53',0,'2015-12-04 02:31:53',0,'',0,'AP20150200000012',0),(1541,312,1,1,'',0,978,68,'',1,'OP-E','2015-03-31',0,0,1,0,0,'petrol,parking, tol ',0,0,0,84,0,0,0,0,1,'2015-12-04 02:32:28',0,'2015-12-04 02:32:28',0,'',0,'AP20150300000006',0),(1542,313,1,1,'',0,995,68,'',1,'OP-E','2015-04-30',0,0,1,0,0,'petrol,parking, tol ',0,0,0,84,0,0,0,0,1,'2015-12-04 02:33:13',0,'2015-12-04 02:33:13',0,'',0,'AP20150400000009',0),(1543,314,1,1,'',0,909,68,'',1,'OP-C','2015-05-09',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:33:42',0,'2015-12-04 02:33:42',0,'',0,'AP20150500000003',0),(1544,315,1,1,'',0,897,68,'',1,'OP-E','2015-05-31',0,0,1,0,0,'petrol,parking, tol ',0,0,0,82,0,0,0,0,1,'2015-12-04 02:33:50',0,'2015-12-04 02:33:50',0,'',0,'AP20150500000004',0),(1545,316,1,1,'',0,901,68,'',1,'OP-C','2015-05-16',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:34:14',0,'2015-12-04 02:34:14',0,'',0,'AP20150500000005',0),(1546,317,1,1,'',0,855,68,'',1,'OP-E','2015-06-30',0,0,1,0,0,'petrol,parking, tol ',0,0,0,82,0,0,0,0,1,'2015-12-04 02:34:26',0,'2015-12-04 02:34:27',0,'',0,'AP20150600000006',0),(1547,318,1,1,'',0,919,68,'',1,'OP-C','2015-05-23',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:34:54',0,'2015-12-04 02:34:55',0,'',0,'AP20150500000006',0),(1548,319,1,1,'',0,859,68,'',1,'OP-E','2015-07-31',0,0,1,0,0,'petrol,parking, tol',0,0,0,82,0,0,0,0,1,'2015-12-04 02:34:56',0,'2015-12-04 02:34:56',0,'',0,'AP20150700000002',0),(1549,320,1,1,'',0,978,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'petrol,parking, tol',0,0,0,85,0,0,0,0,1,'2015-12-04 02:35:34',0,'2015-12-04 02:35:34',0,'',0,'AP20150800000002',0),(1550,321,1,1,'',0,958,68,'',1,'OP-E','2015-09-30',0,0,1,0,0,'petrol,parking, tol',0,0,0,85,0,0,0,0,1,'2015-12-04 02:37:12',0,'2015-12-04 02:37:12',0,'',0,'AP20150900000002',0),(1551,322,1,1,'',0,987,68,'',1,'OP-E','2015-10-31',0,0,1,0,0,'petrol,parking, tol',0,0,0,82,0,0,0,0,1,'2015-12-04 02:37:59',0,'2015-12-04 02:38:00',0,'',0,'AP20151000000006',0),(1552,323,1,1,'',0,985,68,'',1,'OP-E','2015-11-30',0,0,1,0,0,'petrol,parking, tol',0,0,0,82,0,0,0,0,1,'2015-12-04 02:38:57',0,'2015-12-04 02:38:57',0,'',0,'AP20151100000288',0),(1553,324,1,1,'',0,997,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'petrol,parking, tol',0,0,0,84,0,0,0,0,1,'2015-12-04 02:40:02',0,'2015-12-08 04:19:09',1,'',0,'AP20151200000121',0),(1555,326,1,1,'',0,800,68,'',1,'OP-E','2015-01-31',0,0,1,0,0,'rental of equipment',0,0,0,83,0,0,0,0,1,'2015-12-04 02:42:05',0,'2015-12-04 02:42:06',0,'',0,'AP20150100000025',0),(1556,327,1,1,'',0,800,68,'',1,'OP-E','2015-02-28',0,0,1,0,0,'rental of equipment',0,0,0,84,0,0,0,0,1,'2015-12-04 02:42:48',0,'2015-12-04 02:42:48',0,'',0,'AP20150200000013',0),(1557,328,1,1,'',0,800,68,'',1,'OP-E','2015-03-31',0,0,1,0,0,'rental of equipment',0,0,0,85,0,0,0,0,1,'2015-12-04 02:43:28',0,'2015-12-04 02:43:28',0,'',0,'AP20150300000007',0),(1558,329,1,1,'',0,800,68,'',1,'OP-E','2015-04-30',0,0,1,0,0,'rental of equipment',0,0,0,83,0,0,0,0,1,'2015-12-04 02:44:23',0,'2015-12-04 02:44:23',0,'',0,'AP20150400000010',0),(1559,330,1,1,'',0,870,68,'',1,'OP-C','2015-05-30',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:44:41',0,'2015-12-04 02:44:41',0,'',0,'AP20150500000007',0),(1560,331,1,1,'',0,800,68,'',1,'OP-E','2015-05-31',0,0,1,0,0,'rental of equipment',0,0,0,84,0,0,0,0,1,'2015-12-04 02:44:59',0,'2015-12-04 02:44:59',0,'',0,'AP20150500000008',0),(1561,332,1,1,'',0,989,68,'',1,'OP-C','2015-06-06',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:45:48',0,'2015-12-04 02:45:48',0,'',0,'AP20150600000007',0),(1562,333,1,1,'',0,800,68,'',1,'OP-E','2015-06-30',0,0,1,0,0,'rental of equipment',0,0,0,85,0,0,0,0,1,'2015-12-04 02:45:51',0,'2015-12-04 02:45:51',0,'',0,'AP20150600000008',0),(1563,334,1,1,'',0,877,68,'',1,'OP-C','2015-06-13',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:46:21',0,'2015-12-04 02:46:21',0,'',0,'AP20150600000009',0),(1564,335,1,1,'',0,800,68,'',1,'OP-E','2015-07-31',0,0,1,0,0,'rental of equipment',0,0,0,84,0,0,0,0,1,'2015-12-04 02:46:29',0,'2015-12-04 02:46:29',0,'',0,'AP20150700000003',0),(1565,336,1,1,'',0,932,68,'',1,'OP-C','2015-06-20',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:46:49',0,'2015-12-04 02:46:49',0,'',0,'AP20150600000010',0),(1566,337,1,1,'',0,800,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'rental of equipment',0,0,0,84,0,0,0,0,1,'2015-12-04 02:47:39',0,'2015-12-04 02:47:39',0,'',0,'AP20150800000003',0),(1567,338,1,1,'',0,800,68,'',1,'OP-E','2015-09-30',0,0,1,0,0,'rental of equipment',0,0,0,84,0,0,0,0,1,'2015-12-04 02:48:09',0,'2015-12-04 02:48:09',0,'',0,'AP20150900000003',0),(1568,339,1,1,'',0,856,68,'',1,'OP-C','2015-06-27',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:48:10',0,'2015-12-04 02:48:10',0,'',0,'AP20150600000011',0),(1569,340,1,1,'',0,800,68,'',1,'OP-E','2015-10-31',0,0,1,0,0,'rental of equipment',0,0,0,84,0,0,0,0,1,'2015-12-04 02:48:53',0,'2015-12-04 02:48:53',0,'',0,'AP20151000000007',0),(1570,341,1,1,'',0,800,68,'',1,'OP-E','2015-11-30',0,0,1,0,0,'rental of equipment',0,0,0,83,0,0,0,0,1,'2015-12-04 02:49:36',0,'2015-12-04 02:49:37',0,'',0,'AP20151100000289',0),(1571,342,1,1,'',0,800,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'rental of equipment',0,0,0,82,0,0,0,0,1,'2015-12-04 02:50:05',0,'2015-12-08 04:26:29',0,'',0,'AP20151200000187',0),(1573,344,1,1,'',0,950,68,'',1,'OP-E','2015-01-31',0,0,1,0,0,'rental of office',0,0,0,82,0,0,0,0,1,'2015-12-04 02:51:24',0,'2015-12-04 02:51:24',0,'',0,'AP20150100000026',0),(1574,345,1,1,'',0,950,68,'',1,'OP-E','2015-02-28',0,0,1,0,0,'rental of office',0,0,0,84,0,0,0,0,1,'2015-12-04 02:52:01',0,'2015-12-04 02:52:01',0,'',0,'AP20150200000014',0),(1575,346,1,1,'',0,950,68,'',1,'OP-E','2015-03-31',0,0,1,0,0,'rental of office ',0,0,0,83,0,0,0,0,1,'2015-12-04 02:52:54',0,'2015-12-04 02:52:54',0,'',0,'AP20150300000008',0),(1576,347,1,1,'',0,950,68,'',1,'OP-E','2015-04-30',0,0,1,0,0,'rental of office',0,0,0,84,0,0,0,0,1,'2015-12-04 02:53:30',0,'2015-12-04 02:53:30',0,'',0,'AP20150400000011',0),(1577,348,1,1,'',0,879,68,'',1,'OP-C','2015-07-04',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:53:39',0,'2015-12-04 02:53:40',0,'',0,'AP20150700000004',0),(1578,349,1,1,'',0,950,68,'',1,'OP-E','2015-05-31',0,0,1,0,0,'rental of office',0,0,0,83,0,0,0,0,1,'2015-12-04 02:54:22',0,'2015-12-04 02:54:22',0,'',0,'AP20150500000009',0),(1579,350,1,1,'',0,905,68,'',1,'OP-C','2015-07-11',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:54:40',0,'2015-12-04 02:54:41',0,'',0,'AP20150700000005',0),(1580,351,1,1,'',0,950,68,'',1,'OP-E','2015-06-30',0,0,1,0,0,'rental of office ',0,0,0,84,0,0,0,0,1,'2015-12-04 02:58:44',0,'2015-12-04 02:58:44',0,'',0,'AP20150600000012',0),(1581,352,1,1,'',0,915,68,'',1,'OP-C','2015-07-18',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 02:59:28',0,'2015-12-04 02:59:28',0,'',0,'AP20150700000006',0),(1582,353,1,1,'',0,929,68,'',1,'OP-C','2015-07-25',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:00:06',0,'2015-12-04 03:00:06',0,'',0,'AP20150700000007',0),(1584,354,1,1,'',0,833,68,'',1,'OP-C','2015-08-01',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:09:16',0,'2015-12-04 03:09:17',0,'',0,'AP20150800000004',0),(1585,355,1,1,'',0,843,68,'',1,'OP-C','2015-08-08',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:14:03',0,'2015-12-04 03:14:03',0,'',0,'AP20150800000005',0),(1586,356,1,1,'',0,979,68,'',1,'OP-C','2015-08-15',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:15:02',0,'2015-12-04 03:15:03',0,'',0,'AP20150800000006',0),(1587,357,1,1,'',0,967,68,'',1,'OP-C','2015-08-22',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:15:38',0,'2015-12-04 03:15:38',0,'',0,'AP20150800000007',0),(1589,359,1,1,'',0,950,68,'',1,'OP-E','2015-07-31',0,0,1,0,0,'rental of office',0,0,0,83,0,0,0,0,1,'2015-12-04 03:18:01',0,'2015-12-04 03:18:01',0,'',0,'AP20150700000008',0),(1590,360,1,1,'',0,950,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'rental of office',0,0,0,83,0,0,0,0,1,'2015-12-04 03:19:07',0,'2015-12-04 03:19:07',0,'',0,'AP20150800000008',0),(1591,361,1,1,'',0,950,68,'',1,'OP-E','2015-09-30',0,0,1,0,0,'rental of office',0,0,0,84,0,0,0,0,1,'2015-12-04 03:20:07',0,'2015-12-04 03:20:08',0,'',0,'AP20150900000004',0),(1592,362,1,1,'',0,950,68,'',1,'OP-E','2015-10-31',0,0,1,0,0,'rental of office',0,0,0,84,0,0,0,0,1,'2015-12-04 03:22:45',0,'2015-12-04 03:22:46',0,'',0,'AP20151000000008',0),(1593,363,1,1,'',0,950,68,'',1,'OP-E','2015-11-30',0,0,1,0,0,'rental of office',0,0,0,84,0,0,0,0,1,'2015-12-04 03:23:29',0,'2015-12-04 03:23:29',0,'',0,'AP20151100000290',0),(1594,364,1,1,'',0,950,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'rental of office',0,0,0,84,0,0,0,0,1,'2015-12-04 03:24:48',0,'2015-12-04 03:24:49',0,'',0,'AP20151200000127',0),(1595,365,1,1,'',0,933,68,'',1,'OP-C','2015-08-29',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:40:49',0,'2015-12-04 03:40:49',0,'',0,'AP20150800000009',0),(1596,366,1,1,'',0,999,68,'',1,'OP-C','2015-09-05',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:41:26',0,'2015-12-04 03:41:26',0,'',0,'AP20150900000005',0),(1597,367,1,1,'',0,869,68,'',1,'OP-C','2015-09-12',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:42:17',0,'2015-12-04 03:42:18',0,'',0,'AP20150900000006',0),(1598,368,1,1,'',0,849,68,'',1,'OP-C','2015-09-19',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:42:56',0,'2015-12-04 03:42:56',0,'',0,'AP20150900000007',0),(1599,369,1,1,'',0,850,68,'',1,'OP-E','2015-07-31',0,0,1,0,0,'rental of store',0,0,0,85,0,0,0,0,1,'2015-12-04 03:42:59',0,'2015-12-04 03:42:59',0,'',0,'AP20150700000009',0),(1600,370,1,1,'',0,850,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'rental of store',0,0,0,84,0,0,0,0,1,'2015-12-04 03:43:36',0,'2015-12-04 03:43:36',0,'',0,'AP20150800000010',0),(1601,371,1,1,'',0,839,68,'',1,'OP-C','2015-09-26',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:43:47',0,'2015-12-04 03:43:47',0,'',0,'AP20150900000008',0),(1602,372,1,1,'',0,850,68,'',1,'OP-E','2015-09-30',0,0,1,0,0,'rental of store',0,0,0,83,0,0,0,0,1,'2015-12-04 03:44:27',0,'2015-12-04 03:44:28',0,'',0,'AP20150900000009',0),(1603,373,1,1,'',0,859,68,'',1,'OP-C','2015-10-03',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 03:44:29',0,'2015-12-04 03:44:29',0,'',0,'AP20151000000009',0),(1604,374,1,1,'',0,850,68,'',1,'OP-E','2015-10-31',0,0,1,0,0,'rental of store',0,0,0,84,0,0,0,0,1,'2015-12-04 03:44:59',0,'2015-12-04 03:44:59',0,'',0,'AP20151000000010',0),(1605,375,1,1,'',0,850,68,'',1,'OP-E','2015-11-30',0,0,1,0,0,'rental of store',0,0,0,84,0,0,0,0,1,'2015-12-04 03:45:33',0,'2015-12-04 03:45:33',0,'',0,'AP20151100000291',0),(1606,376,1,1,'',0,850,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'rental of store',0,0,0,82,0,0,0,0,1,'2015-12-04 03:46:10',0,'2015-12-04 03:46:11',0,'',0,'AP20151200000130',0),(1607,377,1,1,'',0,975,68,'',1,'OP-E','2015-01-31',0,0,1,0,0,'maxis',0,0,0,83,0,0,0,0,1,'2015-12-04 03:48:13',0,'2015-12-04 03:48:14',0,'',0,'AP20150100000027',0),(1608,378,1,1,'',0,865,68,'',1,'OP-E','2015-02-28',0,0,1,0,0,'maxis',0,0,0,83,0,0,0,0,1,'2015-12-04 03:48:59',0,'2015-12-04 03:48:59',0,'',0,'AP20150200000015',0),(1609,379,1,1,'',0,995,68,'',1,'OP-E','2015-03-31',0,0,1,0,0,'maxis',0,0,0,83,0,0,0,0,1,'2015-12-04 03:49:50',0,'2015-12-04 03:49:50',0,'',0,'AP20150300000009',0),(1611,380,1,1,'',0,840,68,'',1,'OP-E','2015-04-30',0,0,1,0,0,'maxis',0,0,0,84,0,0,0,0,1,'2015-12-04 03:50:44',0,'2015-12-04 03:50:44',0,'',0,'AP20150400000012',0),(1612,381,1,1,'',0,988,68,'',1,'OP-E','2015-05-31',0,0,1,0,0,'maxis',0,0,0,85,0,0,0,0,1,'2015-12-04 03:53:24',0,'2015-12-04 03:53:25',0,'',0,'AP20150500000010',0),(1613,382,1,1,'',0,855,68,'',1,'OP-E','2015-06-30',0,0,1,0,0,'maxis',0,0,0,84,0,0,0,0,1,'2015-12-04 03:53:59',0,'2015-12-04 03:53:59',0,'',0,'AP20150600000013',0),(1614,383,1,1,'',0,972,68,'',1,'OP-E','2015-07-31',0,0,1,0,0,'maxis',0,0,0,84,0,0,0,0,1,'2015-12-04 03:54:34',0,'2015-12-04 03:54:34',0,'',0,'AP20150700000010',0),(1615,384,1,1,'',0,990,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'maxis',0,0,0,85,0,0,0,0,1,'2015-12-04 03:55:06',0,'2015-12-04 03:55:06',0,'',0,'AP20150800000011',0),(1616,385,1,1,'',0,865,68,'',1,'OP-E','2015-09-30',0,0,1,0,0,'maxis',0,0,0,84,0,0,0,0,1,'2015-12-04 03:55:50',0,'2015-12-04 03:55:51',0,'',0,'AP20150900000010',0),(1618,386,1,1,'',0,840,68,'',1,'OP-E','2015-10-31',0,0,1,0,0,'maxis',0,0,0,83,0,0,0,0,1,'2015-12-04 03:56:40',0,'2015-12-04 03:56:40',0,'',0,'AP20151000000011',0),(1620,388,1,1,'',0,858,68,'',1,'OP-E','2015-11-30',0,0,1,0,0,'maxis',0,0,0,85,0,0,0,0,1,'2015-12-04 03:57:08',0,'2015-12-04 03:57:08',0,'',0,'AP20151100000292',0),(1621,389,1,1,'',0,970,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'maxis',0,0,0,84,0,0,0,0,1,'2015-12-04 03:57:41',0,'2015-12-08 04:16:30',0,'',0,'AP20151200000178',0),(1622,390,1,1,'',0,1000,68,'',1,'OP-E','2015-01-25',0,0,1,0,0,'gaji',0,0,0,84,0,0,0,0,1,'2015-12-04 04:02:08',0,'2015-12-04 04:02:08',0,'',0,'AP20150100000028',0),(1623,391,1,1,'',0,1000,68,'',1,'OP-E','2015-02-25',0,0,1,0,0,'gaji',0,0,0,84,0,0,0,0,1,'2015-12-04 04:02:52',0,'2015-12-04 04:02:53',0,'',0,'AP20150200000016',0),(1624,392,1,1,'',0,1000,68,'',1,'OP-E','2015-03-31',0,0,1,0,0,'gaji',0,0,0,83,0,0,0,0,1,'2015-12-04 04:03:23',0,'2015-12-04 04:03:23',0,'',0,'AP20150300000010',0),(1626,394,1,1,'',0,1000,68,'',1,'OP-E','2015-04-25',0,0,1,0,0,'gaji',0,0,0,83,0,0,0,0,1,'2015-12-04 04:04:02',0,'2015-12-04 04:04:02',0,'',0,'AP20150400000013',0),(1627,395,1,1,'',0,1000,68,'',1,'OP-E','2015-05-25',0,0,1,0,0,'gaji',0,0,0,84,0,0,0,0,1,'2015-12-04 04:04:36',0,'2015-12-04 04:04:36',0,'',0,'AP20150500000011',0),(1628,396,1,1,'',0,1000,68,'',1,'OP-E','2015-06-25',0,0,1,0,0,'gaji',0,0,0,83,0,0,0,0,1,'2015-12-04 04:05:36',0,'2015-12-04 04:05:36',0,'',0,'AP20150600000014',0),(1629,397,1,1,'',0,1000,68,'',1,'OP-E','2015-07-25',0,0,1,0,0,'gaji',0,0,0,84,0,0,0,0,1,'2015-12-04 04:06:10',0,'2015-12-04 04:06:10',0,'',0,'AP20150700000011',0),(1630,398,1,1,'',0,1000,68,'',1,'OP-E','2015-08-25',0,0,1,0,0,'gaji',0,0,0,84,0,0,0,0,1,'2015-12-04 04:06:46',0,'2015-12-04 04:06:46',0,'',0,'AP20150800000012',0),(1631,399,1,1,'',0,1000,68,'',1,'OP-E','2015-09-25',0,0,1,0,0,'gaji',0,0,0,85,0,0,0,0,1,'2015-12-04 04:07:17',0,'2015-12-04 04:07:17',0,'',0,'AP20150900000011',0),(1632,400,1,1,'',0,1000,68,'',1,'OP-E','2015-10-25',0,0,1,0,0,'gaji',0,0,0,84,0,0,0,0,1,'2015-12-04 04:08:04',0,'2015-12-04 04:08:04',0,'',0,'AP20151000000012',0),(1633,401,1,1,'',0,1000,68,'',1,'OP-E','2015-11-25',0,0,1,0,0,'gaji',0,0,0,84,0,0,0,0,1,'2015-12-04 04:08:36',0,'2015-12-04 04:08:36',0,'',0,'AP20151100000293',0),(1634,402,1,1,'',0,1000,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'gaji',0,0,0,83,0,0,0,0,1,'2015-12-04 04:09:11',0,'2015-12-04 04:09:11',0,'',0,'AP20151200000134',0),(1637,404,1,1,'',0,100,68,'',1,'OP-E','2015-01-26',0,0,1,0,0,'epf',0,0,0,82,0,0,0,0,1,'2015-12-04 04:19:20',0,'2015-12-04 04:19:20',0,'',0,'AP20150100000029',0),(1638,405,1,1,'',0,100,68,'',1,'OP-E','2015-02-26',0,0,1,0,0,'epf',0,0,0,82,0,0,0,0,1,'2015-12-04 04:19:59',0,'2015-12-04 04:19:59',0,'',0,'AP20150200000017',0),(1639,406,1,1,'',0,100,68,'',1,'OP-E','2015-03-26',0,0,1,0,0,'epf',0,0,0,83,0,0,0,0,1,'2015-12-04 04:20:30',0,'2015-12-04 04:20:30',0,'',0,'AP20150300000011',0),(1640,407,1,1,'',0,100,68,'',1,'OP-E','2015-04-26',0,0,1,0,0,'epf',0,0,0,85,0,0,0,0,1,'2015-12-04 04:25:03',0,'2015-12-04 04:25:03',0,'',0,'AP20150400000014',0),(1641,408,1,1,'',0,100,68,'',1,'OP-E','2015-05-26',0,0,1,0,0,'epf',0,0,0,83,0,0,0,0,1,'2015-12-04 04:25:40',0,'2015-12-04 04:25:40',0,'',0,'AP20150500000012',0),(1642,409,1,1,'',0,100,68,'',1,'OP-E','2015-06-26',0,0,1,0,0,'epf',0,0,0,83,0,0,0,0,1,'2015-12-04 04:26:51',0,'2015-12-04 04:26:52',0,'',0,'AP20150600000015',0),(1643,410,1,1,'',0,100,68,'',1,'OP-E','2015-07-26',0,0,1,0,0,'epf',0,0,0,84,0,0,0,0,1,'2015-12-04 04:34:54',0,'2015-12-04 04:34:55',0,'',0,'AP20150700000012',0),(1644,411,1,1,'',0,100,68,'',1,'OP-E','2015-08-26',0,0,1,0,0,'epf',0,0,0,82,0,0,0,0,1,'2015-12-04 04:35:23',0,'2015-12-04 04:35:23',0,'',0,'AP20150800000013',0),(1645,412,1,1,'',0,100,68,'',1,'OP-E','2015-09-26',0,0,1,0,0,'epf',0,0,0,84,0,0,0,0,1,'2015-12-04 04:35:51',0,'2015-12-04 04:35:51',0,'',0,'AP20150900000012',0),(1646,413,1,1,'',0,100,68,'',1,'OP-E','2015-10-26',0,0,1,0,0,'epf',0,0,0,84,0,0,0,0,1,'2015-12-04 04:36:34',0,'2015-12-04 04:36:34',0,'',0,'AP20151000000013',0),(1647,414,1,1,'',0,100,68,'',1,'OP-E','2015-11-26',0,0,1,0,0,'epf',0,0,0,83,0,0,0,0,1,'2015-12-04 04:37:12',0,'2015-12-04 04:37:13',0,'',0,'AP20151100000294',0),(1648,415,1,1,'',0,100,68,'',1,'OP-E','2015-12-26',0,0,1,0,0,'epf',0,0,0,83,0,0,0,0,1,'2015-12-04 04:37:52',0,'2015-12-04 04:37:53',0,'',0,'AP20151200000137',0),(1649,416,1,1,'',0,2500,68,'',1,'OP-E','2015-12-30',0,0,1,0,0,'accounting fee',0,0,0,83,0,0,0,0,1,'2015-12-04 04:53:00',0,'2015-12-04 04:53:01',0,'',0,'AP20151200000138',0),(1650,417,1,1,'',0,1000,68,'',1,'OP-E','2015-04-25',0,0,1,0,0,'marketing',0,0,0,83,0,0,0,0,1,'2015-12-04 04:53:48',0,'2015-12-04 04:53:48',0,'',0,'AP20150400000015',0),(1651,418,1,1,'',0,1000,68,'',1,'OP-E','2015-08-25',0,0,1,0,0,'marketing',0,0,0,83,0,0,0,0,1,'2015-12-04 04:54:16',0,'2015-12-04 04:54:17',0,'',0,'AP20150800000014',0),(1652,419,1,1,'',0,1000,68,'',1,'OP-E','2015-12-25',0,0,1,0,0,'marketing',0,0,0,84,0,0,0,0,1,'2015-12-04 04:54:49',0,'2015-12-04 04:54:49',0,'',0,'AP20151200000139',0),(1653,420,1,1,'',0,800,68,'',1,'OP-E','2015-04-28',0,0,1,0,0,'commission',0,0,0,83,0,0,0,0,1,'2015-12-04 04:55:43',0,'2015-12-04 04:55:44',0,'',0,'AP20150400000016',0),(1654,421,1,1,'',0,800,68,'',1,'OP-E','2015-08-28',0,0,1,0,0,'commission',0,0,0,84,0,0,0,0,1,'2015-12-04 04:56:19',0,'2015-12-04 04:56:19',0,'',0,'AP20150800000015',0),(1655,422,1,1,'',0,800,68,'',1,'OP-E','2015-12-28',0,0,1,0,0,'commission',0,0,0,82,0,0,0,0,1,'2015-12-04 04:56:48',0,'2015-12-04 04:56:48',0,'',0,'AP20151200000140',0),(1661,423,1,1,'',0,985,68,'',1,'OP-C','2015-10-10',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 07:54:32',0,'2015-12-04 07:54:32',0,'',0,'AP20151000000014',0),(1662,424,1,1,'',0,880,68,'',1,'OP-C','2015-10-17',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 07:57:08',0,'2015-12-04 07:57:08',0,'',0,'AP20151000000015',0),(1663,425,1,1,'',0,875,68,'',1,'OP-C','2015-10-24',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 07:57:48',0,'2015-12-04 07:57:49',0,'',0,'AP20151000000016',0),(1664,426,1,1,'',0,955,68,'',1,'OP-C','2015-10-31',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 07:59:18',0,'2015-12-04 07:59:19',0,'',0,'AP20151000000017',0),(1665,427,1,1,'',0,999,68,'',1,'OP-C','2015-11-07',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 07:59:59',0,'2015-12-04 07:59:59',0,'',0,'AP20151100000295',0),(1666,428,1,1,'',0,910,68,'',1,'OP-C','2015-11-14',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 08:00:38',0,'2015-12-04 08:00:38',0,'',0,'AP20151100000296',0),(1667,429,1,1,'',0,900,68,'',1,'OP-E','2015-04-30',0,0,1,0,0,'insurance',0,0,0,83,0,0,0,0,1,'2015-12-04 08:00:52',0,'2015-12-04 08:00:52',0,'',0,'AP20150400000017',0),(1668,430,1,1,'',0,897,68,'',1,'OP-C','2015-11-21',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 08:01:10',0,'2015-12-04 08:01:10',0,'',0,'AP20151100000297',0),(1669,431,1,1,'',0,900,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'insurance',0,0,0,85,0,0,0,0,1,'2015-12-04 08:01:21',0,'2015-12-04 08:01:21',0,'',0,'AP20150800000016',0),(1670,432,1,1,'',0,900,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'insurance',0,0,0,84,0,0,0,0,1,'2015-12-04 08:01:52',0,'2015-12-04 08:01:52',0,'',0,'AP20151200000146',0),(1671,433,1,1,'',0,935,68,'',1,'OP-C','2015-11-28',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 08:02:06',0,'2015-12-04 08:02:07',0,'',0,'AP20151100000298',0),(1672,434,1,1,'',0,877,68,'',1,'OP-C','2015-12-05',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 08:03:05',0,'2015-12-04 08:03:05',0,'',0,'AP20151200000147',0),(1673,435,1,1,'',0,850,68,'',1,'OP-E','2015-04-24',0,0,1,0,0,'medical',0,0,0,83,0,0,0,0,1,'2015-12-04 08:03:17',0,'2015-12-04 08:03:17',0,'',0,'AP20150400000018',0),(1674,436,1,1,'',0,865,68,'',1,'OP-C','2015-12-12',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 08:03:48',0,'2015-12-04 08:03:49',0,'',0,'AP20151200000148',0),(1675,437,1,1,'',0,850,68,'',1,'OP-E','2015-08-24',0,0,1,0,0,'medical',0,0,0,82,0,0,0,0,1,'2015-12-04 08:03:49',0,'2015-12-04 08:03:50',0,'',0,'AP20150800000017',0),(1676,438,1,1,'',0,850,68,'',1,'OP-E','2015-12-24',0,0,1,0,0,'medical',0,0,0,83,0,0,0,0,1,'2015-12-04 08:04:23',0,'2015-12-04 08:04:23',0,'',0,'AP20151200000149',0),(1677,439,1,1,'',0,900,68,'',1,'OP-E','2015-06-30',0,0,1,0,0,'repair',0,0,0,82,0,0,0,0,1,'2015-12-04 08:05:14',0,'2015-12-04 08:05:14',0,'',0,'AP20150600000016',0),(1678,440,1,1,'',0,958,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'repair',0,0,0,83,0,0,0,0,1,'2015-12-04 08:05:50',0,'2015-12-04 08:05:50',0,'',0,'AP20151200000150',0),(1679,441,1,1,'',0,967,68,'',1,'OP-C','2015-12-19',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 08:06:39',0,'2015-12-04 08:06:39',0,'',0,'AP20151200000151',0),(1680,442,1,1,'',0,990,68,'',1,'OP-C','2015-12-26',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2015-12-04 08:07:11',0,'2015-12-07 03:35:17',1,'',0,'AP20151200000152',0),(1681,443,1,1,'',0,800,68,'',1,'OP-E','2015-08-28',0,0,1,0,0,'quit rent',0,0,0,85,0,0,0,0,1,'2015-12-04 08:10:14',0,'2015-12-04 08:10:14',0,'',0,'AP20150800000018',0),(1682,444,1,1,'',0,850,68,'',1,'OP-E','2015-03-25',0,0,1,0,0,'pos',0,0,0,84,0,0,0,0,1,'2015-12-04 08:11:36',0,'2015-12-04 08:11:36',0,'',0,'AP20150300000012',0),(1683,445,1,1,'',0,850,68,'',1,'OP-E','2015-06-25',0,0,1,0,0,'pos',0,0,0,83,0,0,0,0,1,'2015-12-04 08:12:06',0,'2015-12-04 08:12:06',0,'',0,'AP20150600000017',0),(1684,446,1,1,'',0,850,68,'',1,'OP-E','2015-09-25',0,0,1,0,0,'pos',0,0,0,83,0,0,0,0,1,'2015-12-04 08:12:39',0,'2015-12-04 08:12:40',0,'',0,'AP20150900000013',0),(1685,447,1,1,'',0,850,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'pos',0,0,0,85,0,0,0,0,1,'2015-12-04 08:13:06',0,'2015-12-04 08:13:07',0,'',0,'AP20151200000153',0),(1686,448,1,1,'',0,900,68,'',1,'OP-E','2015-05-20',0,0,1,0,0,'registration',0,0,0,84,0,0,0,0,1,'2015-12-04 08:14:05',0,'2015-12-04 08:14:05',0,'',0,'AP20150500000013',0),(1687,449,1,1,'',0,900,68,'',1,'OP-E','2015-04-30',0,0,1,0,0,'training',0,0,0,85,0,0,0,0,1,'2015-12-04 08:14:51',0,'2015-12-04 08:14:51',0,'',0,'AP20150400000019',0),(1688,450,1,1,'',0,900,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'training',0,0,0,84,0,0,0,0,1,'2015-12-04 08:15:28',0,'2015-12-04 08:15:28',0,'',0,'AP20150800000019',0),(1689,451,1,1,'',0,900,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'training',0,0,0,82,0,0,0,0,1,'2015-12-04 08:15:58',0,'2015-12-04 08:15:58',0,'',0,'AP20151200000154',0),(1690,452,1,1,'',0,1000,68,'',1,'OP-E','2015-03-19',0,0,1,0,0,'travel',0,0,0,82,0,0,0,0,1,'2015-12-04 08:16:35',0,'2015-12-04 08:16:35',0,'',0,'AP20150300000013',0),(1691,453,1,1,'',0,850,68,'',1,'OP-E','2015-06-16',0,0,1,0,0,'meals',0,0,0,84,0,0,0,0,1,'2015-12-04 08:17:08',0,'2015-12-04 08:17:08',0,'',0,'AP20150600000018',0),(1692,454,1,1,'',0,20,68,'',1,'OP-E','2015-02-18',0,0,1,0,0,'bank charges',0,0,0,83,0,0,0,0,1,'2015-12-04 08:17:54',0,'2015-12-04 08:17:54',0,'',0,'AP20150200000018',0),(1693,455,1,1,'',0,20,68,'',1,'OP-E','2015-06-09',0,0,1,0,0,'bank charges',0,0,0,82,0,0,0,0,1,'2015-12-04 08:18:31',0,'2015-12-04 08:18:31',0,'',0,'AP20150600000019',0),(1695,457,1,1,'',0,40,68,'',1,'OP-E','2015-02-25',0,0,1,0,0,'gst',0,0,0,84,0,0,0,0,1,'2015-12-04 08:21:25',0,'2015-12-04 08:21:25',0,'',0,'AP20150200000020',0),(1696,458,1,1,'',0,90,68,'',1,'OP-E','2015-07-15',0,0,1,0,0,'gst',0,0,0,83,0,0,0,0,1,'2015-12-04 08:22:03',0,'2015-12-04 08:22:03',0,'',0,'AP20150700000013',0),(1697,459,1,1,'',0,80,68,'',1,'OP-E','2015-11-25',0,0,1,0,0,'gst',0,0,0,84,0,0,0,0,1,'2015-12-04 08:22:35',0,'2015-12-04 08:22:35',0,'',0,'AP20151100000299',0),(1698,460,1,1,'',0,90,68,'',1,'OP-E','2015-01-14',0,0,1,0,0,'late charges',0,0,0,84,0,0,0,0,1,'2015-12-04 08:24:16',0,'2015-12-04 08:24:16',0,'',0,'AP20150100000030',0),(1699,461,1,1,'',0,70,68,'',1,'OP-E','2015-07-22',0,0,1,0,0,'late charges',0,0,0,83,0,0,0,0,1,'2015-12-04 08:24:50',0,'2015-12-04 08:24:50',0,'',0,'AP20150700000014',0),(1700,462,1,1,'',0,980,68,'',1,'OP-E','2015-10-13',0,0,1,0,0,'barang',0,0,0,83,0,0,0,0,1,'2015-12-04 08:26:01',0,'2015-12-04 08:26:01',0,'',0,'AP20151000000018',0),(1701,463,1,1,'',0,850,68,'',1,'OP-E','2015-09-14',0,0,1,0,0,'barang',0,0,0,85,0,0,0,0,1,'2015-12-04 08:26:32',0,'2015-12-04 08:26:32',0,'',0,'AP20150900000014',0),(1702,464,1,1,'',0,850,68,'',1,'OP-E','2015-04-30',0,0,1,0,0,'barang office',0,0,0,83,0,0,0,0,1,'2015-12-04 08:31:25',0,'2015-12-04 08:31:25',0,'',0,'AP20150400000020',0),(1703,465,1,1,'',0,849,68,'',1,'OP-E','2015-08-31',0,0,1,0,0,'barang office',0,0,0,83,0,0,0,0,1,'2015-12-04 08:31:58',0,'2015-12-04 08:31:58',0,'',0,'AP20150800000020',0),(1704,466,1,1,'',0,970,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'barang office',0,0,0,84,0,0,0,0,1,'2015-12-04 08:32:24',0,'2015-12-04 08:32:25',0,'',0,'AP20151200000155',0),(1705,467,1,1,'',0,900,68,'',1,'OP-E','2015-01-26',0,0,1,0,0,'barang store',0,0,0,84,0,0,0,0,1,'2015-12-04 08:33:04',0,'2015-12-04 08:33:04',0,'',0,'AP20150100000031',0),(1706,468,1,1,'',0,900,68,'',1,'OP-E','2015-01-26',0,0,1,0,0,'barang store',0,0,0,84,0,0,0,0,1,'2015-12-04 08:33:05',0,'2015-12-04 08:33:05',0,'',0,'AP20150100000032',0),(1707,469,1,1,'',0,900,68,'',1,'OP-E','2015-01-26',0,0,1,0,0,'barang store',0,0,0,84,0,0,0,0,1,'2015-12-04 08:33:09',0,'2015-12-04 08:33:09',0,'',0,'AP20150100000033',0),(1708,470,1,1,'',0,900,68,'',1,'OP-E','2015-01-26',0,0,1,0,0,'barang store',0,0,0,84,0,0,0,0,1,'2015-12-04 08:33:14',0,'2015-12-04 08:33:14',0,'',0,'AP20150100000034',0),(1709,471,1,1,'',0,970,68,'',1,'OP-E','2015-05-26',0,0,1,0,0,'barang store',0,0,0,85,0,0,0,0,1,'2015-12-04 08:33:52',0,'2015-12-04 08:33:52',0,'',0,'AP20150500000014',0),(1710,472,1,1,'',0,870,68,'',1,'OP-E','2015-09-29',0,0,1,0,0,'barang store',0,0,0,85,0,0,0,0,1,'2015-12-04 08:34:29',0,'2015-12-04 08:34:30',0,'',0,'AP20150900000015',0),(1712,474,1,1,'',0,1000,68,'',1,'OP-E','2015-08-27',0,0,1,0,0,'income tax',0,0,0,84,0,0,0,0,1,'2015-12-04 08:40:59',0,'2015-12-04 08:40:59',0,'',0,'AP20150800000021',0),(1713,475,1,1,'',0,579,68,'',1,'OP-L','2015-12-07',0,0,1,0,0,'sayem testing Loan repayment',0,0,0,84,0,0,0,0,1,'2015-12-07 03:41:35',0,'2015-12-07 06:38:50',1,'',0,'AP20151200000157',0),(1714,476,1,1,'',0,1769,68,'',1,'OP-L','2015-12-07',0,0,1,0,0,'This is Loan',0,0,0,86,0,0,0,0,1,'2015-12-07 03:42:43',0,'2015-12-07 03:42:55',1,'',0,'AP20151200000158',0),(1717,477,0,1,'82',0,3000,0,'',3,'TT','2015-01-14',0,0,1,0,0,'',0,0,0,85,0,0,0,0,0,'2015-12-07 08:54:57',0,'2015-12-07 08:54:57',0,'',0,'AP20150100000036',0),(1718,478,1,1,'',0,1999,68,'',1,'OP-A','2015-01-07',0,0,1,0,0,'Asset1',0,0,0,85,0,0,0,0,1,'2015-12-07 09:23:48',0,'2015-12-07 09:23:48',0,'',0,'AP20150100000037',0),(1719,479,1,1,'',0,1789,68,'',1,'OP-A','2015-01-22',0,0,1,0,0,'Asset2',0,0,0,85,0,0,0,0,1,'2015-12-07 09:24:36',0,'2015-12-07 09:24:37',0,'',0,'AP20150100000038',0),(1720,480,1,1,'',0,1923,68,'',1,'OP-A','2015-02-05',0,0,1,0,0,'ASSET3',0,0,0,85,0,0,0,0,1,'2015-12-07 09:25:21',0,'2015-12-07 09:25:21',0,'',0,'AP20150200000021',0),(1721,481,1,1,'',0,1800,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'',0,0,0,85,0,0,0,0,1,'2015-12-07 09:25:55',0,'2015-12-07 09:25:55',0,'',0,'AP20150200000022',0),(1722,482,1,1,'',0,1830,68,'',1,'OP-A','2015-03-11',0,0,1,0,0,'ASSET5',0,0,0,85,0,0,0,0,1,'2015-12-07 09:26:49',0,'2015-12-07 09:26:49',0,'',0,'AP20150300000014',0),(1723,483,1,1,'',0,2000,68,'',1,'OP-A','2015-03-31',0,0,1,0,0,'ASSET6',0,0,0,85,0,0,0,0,1,'2015-12-07 09:27:32',0,'2015-12-07 09:27:32',0,'',0,'AP20150300000015',0),(1724,484,1,1,'',0,1650,68,'',1,'OP-A','2015-04-01',0,0,1,0,0,'ASSET7',0,0,0,85,0,0,0,0,1,'2015-12-07 09:28:46',0,'2015-12-07 09:28:47',0,'',0,'AP20150400000021',0),(1725,485,1,1,'',0,1700,68,'',1,'OP-A','2015-04-15',0,0,1,0,0,'ASSET8',0,0,0,85,0,0,0,0,1,'2015-12-07 09:29:31',0,'2015-12-07 09:29:31',0,'',0,'AP20150400000022',0),(1726,486,1,1,'',0,1989,68,'',1,'OP-A','2015-05-01',0,0,1,0,0,'ASSET9',0,0,0,85,0,0,0,0,1,'2015-12-07 09:30:16',0,'2015-12-07 09:30:16',0,'',0,'AP20150500000015',0),(1727,487,1,1,'',0,1998,68,'',1,'OP-A','2015-05-29',0,0,1,0,0,'ASSET10',0,0,0,85,0,0,0,0,1,'2015-12-07 09:30:56',0,'2015-12-07 09:30:56',0,'',0,'AP20150500000016',0),(1728,488,1,1,'',0,1997,68,'',1,'OP-A','2015-06-05',0,0,1,0,0,'ASSET11',0,0,0,85,0,0,0,0,1,'2015-12-07 09:31:54',0,'2015-12-07 09:31:54',0,'',0,'AP20150600000020',0),(1729,489,1,1,'',0,1800,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'ASSET4',0,0,0,85,0,0,0,0,1,'2015-12-07 09:32:21',0,'2015-12-07 09:32:21',0,'',0,'AP20150200000023',0),(1730,490,1,1,'',0,1800,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'ASSET4',0,0,0,85,0,0,0,0,1,'2015-12-07 09:32:22',0,'2015-12-07 09:32:22',0,'',0,'AP20150200000024',0),(1731,491,1,1,'',0,1800,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'ASSET4',0,0,0,85,0,0,0,0,1,'2015-12-07 09:32:22',0,'2015-12-07 09:32:22',0,'',0,'AP20150200000025',0),(1732,492,1,1,'',0,1800,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'ASSET4',0,0,0,85,0,0,0,0,1,'2015-12-07 09:32:23',0,'2015-12-07 09:32:23',0,'',0,'AP20150200000026',0),(1733,493,1,1,'',0,1800,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'ASSET4',0,0,0,85,0,0,0,0,1,'2015-12-07 09:32:23',0,'2015-12-07 09:32:24',0,'',0,'AP20150200000027',0),(1734,494,1,1,'',0,1800,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'ASSET4',0,0,0,85,0,0,0,0,1,'2015-12-07 09:32:24',0,'2015-12-07 09:32:24',0,'',0,'AP20150200000028',0),(1735,495,1,1,'',0,1800,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'ASSET4',0,0,0,85,0,0,0,0,1,'2015-12-07 09:32:24',0,'2015-12-07 09:32:25',0,'',0,'AP20150200000029',0),(1736,496,1,1,'',0,1850,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'ASSET4',0,0,0,85,0,0,0,0,1,'2015-12-07 09:35:42',0,'2015-12-07 09:35:42',0,'',0,'AP20150200000030',0),(1737,497,1,1,'',0,123,68,'',1,'OP-A','2015-02-17',0,0,1,0,0,'HJHJ',0,0,0,85,0,0,0,0,1,'2015-12-07 09:36:46',0,'2015-12-07 09:36:47',0,'',0,'AP20150200000031',0),(1738,498,1,1,'',0,1596,68,'',1,'OP-A','2015-06-24',0,0,1,0,0,'ASSET12',0,0,0,85,0,0,0,0,1,'2015-12-07 09:46:40',0,'2015-12-07 09:46:41',0,'',0,'AP20150600000021',0),(1739,499,1,1,'',0,1290,68,'',1,'OP-A','2015-07-01',0,0,1,0,0,'ASSET13',0,0,0,85,0,0,0,0,1,'2015-12-07 09:47:48',0,'2015-12-07 09:47:48',0,'',0,'AP20150700000015',0),(1740,500,1,1,'',0,1963,68,'',1,'OP-A','2015-07-21',0,0,1,0,0,'ASSET14',0,0,0,85,0,0,0,0,1,'2015-12-07 09:49:19',0,'2015-12-07 09:49:20',0,'',0,'AP20150700000016',0),(1741,501,1,1,'',0,2000,68,'',1,'OP-A','2015-08-02',0,0,1,0,0,'ASSET15',0,0,0,85,0,0,0,0,1,'2015-12-07 09:50:14',0,'2015-12-07 09:50:15',0,'',0,'AP20150800000022',0),(1742,502,1,1,'',0,1956,68,'',1,'OP-A','2015-08-28',0,0,1,0,0,'ASSET16',0,0,0,85,0,0,0,0,1,'2015-12-07 09:50:51',0,'2015-12-07 09:50:51',0,'',0,'AP20150800000023',0),(1743,503,1,1,'',0,1234,68,'',1,'OP-A','2015-09-01',0,0,1,0,0,'ASSET17',0,0,0,85,0,0,0,0,1,'2015-12-07 09:51:31',0,'2015-12-07 09:51:31',0,'',0,'AP20150900000016',0),(1744,504,1,1,'',0,1358,68,'',1,'OP-A','2015-09-20',0,0,1,0,0,'ASSET18',0,0,0,85,0,0,0,0,1,'2015-12-07 09:52:25',0,'2015-12-07 09:52:26',0,'',0,'AP20150900000017',0),(1745,505,1,1,'',0,1991,68,'',1,'OP-A','2015-10-02',0,0,1,0,0,'ASET19',0,0,0,85,0,0,0,0,1,'2015-12-07 09:53:05',0,'2015-12-07 09:53:05',0,'',0,'AP20151000000019',0),(1746,506,1,1,'',0,1597,68,'',1,'OP-A','2015-10-28',0,0,1,0,0,'ASSET20',0,0,0,85,0,0,0,0,1,'2015-12-07 09:53:45',0,'2015-12-07 09:53:45',0,'',0,'AP20151000000020',0),(1747,507,1,1,'',0,1000,68,'',1,'OP-L','2015-12-07',0,0,1,0,0,'sayem testing asset',0,0,0,85,0,0,0,0,1,'2015-12-07 09:55:29',0,'2015-12-08 01:24:32',1,'',0,'AP20151200000161',0),(1748,508,1,1,'',0,1789,68,'',1,'OP-A','2015-11-02',0,0,1,0,0,'ASSET21',0,0,0,85,0,0,0,0,1,'2015-12-08 01:08:08',0,'2015-12-08 01:08:09',0,'',0,'AP20151100000300',0),(1749,509,1,1,'',0,1956,68,'',1,'OP-A','2015-11-24',0,0,1,0,0,'ASSET22',0,0,0,85,0,0,0,0,1,'2015-12-08 01:08:50',0,'2015-12-08 01:08:50',0,'',0,'AP20151100000301',0),(1750,510,1,1,'',0,1899,68,'',1,'OP-A','2015-12-08',0,0,1,0,0,'ASSET23',0,0,0,85,0,0,0,0,1,'2015-12-08 01:09:23',0,'2015-12-08 07:21:06',0,'',0,'AP20151200000198',0),(1751,511,1,1,'',0,2059,68,'',1,'OP-A','2015-12-31',0,0,1,0,0,'ASSET24',0,0,0,85,0,0,0,0,1,'2015-12-08 01:10:00',0,'2015-12-09 07:59:19',0,'',0,'AP20151200000201',0),(1752,512,1,1,'',0,123,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'Testing loan repayment',0,0,0,83,0,0,0,0,1,'2015-12-08 01:29:10',0,'2015-12-08 03:22:24',1,'',0,'AP20151200000164',0),(1753,513,1,1,'',0,100,68,'',1,'OP-L','2015-01-01',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:08:00',0,'2015-12-08 02:08:00',0,'',0,'AP20150100000039',0),(1754,514,1,1,'',0,100,68,'',1,'OP-L','2015-01-13',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:08:27',0,'2015-12-08 02:08:27',0,'',0,'AP20150100000040',0),(1755,515,1,1,'',0,100,68,'',1,'OP-L','2015-01-29',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:08:58',0,'2015-12-08 02:08:58',0,'',0,'AP20150100000041',0),(1756,516,1,1,'',0,100,68,'',1,'OP-L','2015-02-02',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:12:17',0,'2015-12-08 02:12:18',0,'',0,'AP20150200000032',0),(1757,517,1,1,'',0,100,68,'',1,'OP-L','2015-02-17',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:20:13',0,'2015-12-08 02:20:13',0,'',0,'AP20150200000033',0),(1758,518,1,1,'',0,100,68,'',1,'OP-L','2015-02-24',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:23:23',0,'2015-12-08 02:23:23',0,'',0,'AP20150200000034',0),(1759,519,1,1,'',0,100,68,'',1,'OP-L','2015-03-02',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:24:03',0,'2015-12-08 02:24:03',0,'',0,'AP20150300000016',0),(1760,520,1,1,'',0,100,68,'',1,'OP-L','2015-03-20',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:24:37',0,'2015-12-08 02:24:38',0,'',0,'AP20150300000017',0),(1761,521,1,1,'',0,100,68,'',1,'OP-L','2015-03-26',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:25:07',0,'2015-12-08 02:25:07',0,'',0,'AP20150300000018',0),(1762,522,1,1,'',0,100,68,'',1,'OP-L','2015-04-01',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:26:06',0,'2015-12-08 02:26:06',0,'',0,'AP20150400000023',0),(1763,523,1,1,'',0,100,68,'',1,'OP-L','2015-04-16',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:26:36',0,'2015-12-08 02:26:36',0,'',0,'AP20150400000024',0),(1764,524,1,1,'',0,100,68,'',1,'OP-L','2015-04-30',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:27:23',0,'2015-12-08 02:27:23',0,'',0,'AP20150400000025',0),(1765,525,1,1,'',0,100,68,'',1,'OP-L','2015-05-01',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:32:07',0,'2015-12-08 02:32:07',0,'',0,'AP20150500000017',0),(1766,526,1,1,'',0,100,68,'',1,'OP-L','2015-05-12',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:32:33',0,'2015-12-08 02:32:33',0,'',0,'AP20150500000018',0),(1767,527,1,1,'',0,100,68,'',1,'OP-L','2015-05-28',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:33:21',0,'2015-12-08 02:33:21',0,'',0,'AP20150500000019',0),(1768,528,1,1,'',0,100,68,'',1,'OP-L','2015-06-02',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:34:09',0,'2015-12-08 02:34:09',0,'',0,'AP20150600000022',0),(1769,529,1,1,'',0,100,68,'',1,'OP-L','2015-06-16',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:34:42',0,'2015-12-08 02:34:42',0,'',0,'AP20150600000023',0),(1770,530,1,1,'',0,100,68,'',1,'OP-L','2015-06-30',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:39:17',0,'2015-12-08 02:39:17',0,'',0,'AP20150600000024',0),(1771,531,1,1,'',0,100,68,'',1,'OP-L','2015-07-01',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:41:17',0,'2015-12-08 02:41:18',0,'',0,'AP20150700000017',0),(1772,532,1,1,'',0,100,68,'',1,'OP-L','2015-07-14',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:44:51',0,'2015-12-08 02:44:51',0,'',0,'AP20150700000018',0),(1773,533,1,1,'',0,100,68,'',1,'OP-L','2015-07-31',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:45:39',0,'2015-12-08 02:45:39',0,'',0,'AP20150700000019',0),(1774,534,1,1,'',0,100,68,'',1,'OP-L','2015-08-03',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 02:47:58',0,'2015-12-08 02:47:58',0,'',0,'AP20150800000024',0),(1775,535,1,1,'',0,100,68,'',1,'OP-L','2015-08-10',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:48:32',0,'2015-12-08 02:48:32',0,'',0,'AP20150800000025',0),(1776,536,1,1,'',0,100,68,'',1,'OP-L','2015-08-31',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:50:02',0,'2015-12-08 02:50:02',0,'',0,'AP20150800000026',0),(1777,537,1,1,'',0,100,68,'',1,'OP-L','2015-09-02',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:56:29',0,'2015-12-08 02:56:29',0,'',0,'AP20150900000018',0),(1778,538,1,1,'',0,100,68,'',1,'OP-L','2015-09-14',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 02:57:53',0,'2015-12-08 02:57:53',0,'',0,'AP20150900000019',0),(1779,539,1,1,'',0,100,68,'',1,'OP-L','2015-09-30',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 03:11:01',0,'2015-12-08 03:11:01',0,'',0,'AP20150900000020',0),(1780,540,1,1,'',0,100,68,'',1,'OP-L','2015-10-02',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 03:17:22',0,'2015-12-08 03:17:22',0,'',0,'AP20151000000021',0),(1781,541,1,1,'',0,100,68,'',1,'OP-L','2015-10-12',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 03:18:05',0,'2015-12-08 03:18:05',0,'',0,'AP20151000000022',0),(1782,542,1,1,'',0,100,68,'',1,'OP-L','2015-10-28',0,0,1,0,0,'PAYBACK',0,0,0,85,0,0,0,0,1,'2015-12-08 03:18:37',0,'2015-12-08 03:18:37',0,'',0,'AP20151000000023',0),(1783,543,1,1,'',0,100,68,'',1,'OP-L','2015-11-04',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 03:19:08',0,'2015-12-08 03:19:09',0,'',0,'AP20151100000302',0),(1784,544,1,1,'',0,100,68,'',1,'OP-L','2015-11-20',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 03:19:40',0,'2015-12-08 03:19:40',0,'',0,'AP20151100000303',0),(1785,545,1,1,'',0,100,68,'',1,'OP-L','2015-11-30',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 03:20:13',0,'2015-12-08 03:20:13',0,'',0,'AP20151100000304',0),(1786,546,1,1,'',0,123,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'Testing loan repayment',0,0,0,83,0,0,0,0,1,'2015-12-08 03:21:42',0,'2015-12-08 03:22:24',1,'',0,'AP20151200000165',0),(1787,547,1,1,'',0,123,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'Testing loan repayment',0,0,0,83,0,0,0,0,1,'2015-12-08 03:21:43',0,'2015-12-08 03:22:24',1,'',0,'AP20151200000166',0),(1788,548,1,1,'',0,123,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'Testing loan repayment',0,0,0,83,0,0,0,0,1,'2015-12-08 03:21:43',0,'2015-12-08 03:22:24',1,'',0,'AP20151200000167',0),(1789,549,1,1,'',0,123,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'Testing loan repayment',0,0,0,83,0,0,0,0,1,'2015-12-08 03:21:43',0,'2015-12-08 03:22:24',1,'',0,'AP20151200000168',0),(1790,550,1,1,'',0,123,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'Testing loan repayment',0,0,0,83,0,0,0,0,1,'2015-12-08 03:21:43',0,'2015-12-08 03:22:24',1,'',0,'AP20151200000169',0),(1791,551,1,1,'',0,123,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'Testing loan repayment',0,0,0,83,0,0,0,0,1,'2015-12-08 03:21:43',0,'2015-12-08 03:22:24',1,'',0,'AP20151200000170',0),(1792,552,1,1,'',0,100,68,'',1,'OP-L','2015-12-04',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 03:23:35',0,'2015-12-08 03:23:35',0,'',0,'AP20151200000171',0),(1793,553,1,1,'',0,100,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 03:24:41',0,'2015-12-08 03:24:41',0,'',0,'AP20151200000172',0),(1794,554,1,1,'',0,100,68,'',1,'OP-L','2015-12-31',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 03:25:12',0,'2015-12-08 03:25:12',0,'',0,'AP20151200000173',0),(1795,555,1,1,'',0,102,68,'',1,'OP-L','2016-02-05',0,0,1,0,0,'PAYBACK',0,0,0,82,0,0,0,0,1,'2015-12-08 03:58:57',0,'2015-12-08 08:19:56',1,'',0,'AP20160200000004',0),(1796,556,1,1,'',0,600,68,'',1,'OP-A','2016-02-09',0,0,1,0,0,'rr',0,0,0,83,0,0,0,0,1,'2015-12-08 04:03:52',0,'2015-12-08 04:04:27',1,'',0,'AP160200000001',0),(1797,557,1,1,'',0,997,68,'',1,'OP-E','2015-12-31',0,0,1,0,0,'petrol,parking, tol',0,0,0,84,0,0,0,0,1,'2015-12-08 04:15:30',0,'2015-12-08 04:15:30',0,'',0,'AP20151200000175',0),(1798,558,1,1,'',0,789,68,'',1,'OP-E','2015-12-08',0,0,1,0,0,'asdfasdfasdf',0,0,0,83,0,0,0,0,1,'2015-12-08 04:23:05',0,'2015-12-08 04:23:05',0,'',0,'AP20151200000182',0),(1799,559,1,1,'',0,7,68,'',1,'OP-E','2015-12-08',0,0,1,0,0,'asdfasdfasdf',0,0,0,83,0,0,0,0,1,'2015-12-08 04:24:03',0,'2015-12-08 04:25:31',0,'',0,'AP20151200000185',0),(1800,560,1,1,'',0,1000,68,'',1,'OP-L','2016-02-16',0,0,1,0,0,'dd',0,0,0,82,0,0,0,0,1,'2015-12-08 05:17:42',0,'2015-12-08 06:15:45',1,'',0,'AP20160200000002',0),(1801,561,1,1,'',0,300,68,'',1,'OP-A','2016-02-02',0,0,1,0,0,'dd',0,0,0,83,0,0,0,0,1,'2015-12-08 05:22:40',0,'2015-12-08 06:16:23',1,'',0,'AP20160200000003',0),(1802,562,1,1,'',0,100,68,'',1,'OP-L','2016-02-02',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,1,'2015-12-08 06:54:38',0,'2015-12-08 08:19:56',1,'',0,'AP20160200000005',0),(1803,563,1,1,'',0,100,68,'',1,'OP-L','2015-12-08',0,0,1,0,0,'asdfasdf',0,0,0,82,0,0,0,0,1,'2015-12-08 10:50:02',0,'2015-12-08 10:50:02',0,'',0,'AP20151200000199',0),(1804,564,0,1,'82',0,3000,0,'',3,'TT','2015-12-08',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-08 11:31:57',0,'2015-12-08 11:31:57',0,'',0,'AP20151200000200',0),(1805,565,1,1,'',0,200,68,'',1,'OP-C','2015-01-02',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,93,'2015-12-09 01:40:05',0,'2015-12-09 01:40:06',0,'',0,'AP20150100000042',0),(1806,566,1,1,'',0,400,68,'',1,'OP-E','2015-02-11',0,0,1,0,0,'dsdsd',0,0,0,85,0,0,0,0,93,'2015-12-09 01:42:48',0,'2015-12-09 01:42:48',0,'',0,'AP20150200000035',0),(1807,567,1,1,'',0,200,68,'',1,'OP-L','2015-06-09',0,0,1,0,0,'tetettrt',0,0,0,85,0,0,0,0,93,'2015-12-09 01:47:00',0,'2015-12-09 01:47:00',0,'',0,'AP20150600000025',0),(1808,568,1,1,'',0,2000,68,'',1,'OP-A','2015-11-10',0,0,1,0,0,'dell',0,0,0,85,0,0,0,0,93,'2015-12-09 01:48:44',0,'2015-12-09 01:48:44',0,'',0,'AP20151100000305',0),(1809,569,0,1,'82',0,1000,0,'',3,'TT','2015-01-01',0,0,1,0,0,'',0,0,0,85,0,0,0,0,0,'2015-12-09 01:51:33',0,'2015-12-09 01:51:33',0,'',0,'AP20150100000043',0),(1810,570,1,1,'',0,10,68,'',1,'OP-E','2015-12-10',0,0,1,0,0,'fd',0,0,0,85,0,0,0,0,1,'2015-12-10 08:24:45',0,'2015-12-10 08:24:45',0,'',0,'AP20151200000202',0),(1811,571,1,1,'',0,500,68,'',1,'OP-C','2015-01-04',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,93,'2015-12-10 08:30:28',0,'2015-12-10 08:30:28',0,'',0,'AP20150100000044',0),(1812,572,1,1,'',0,5,68,'',1,'OP-E','2015-12-10',0,0,1,0,0,'df',0,0,0,85,0,0,0,0,93,'2015-12-10 08:31:34',0,'2015-12-10 08:31:34',0,'',0,'AP20151200000203',0),(1813,1,1,4,'',0,144,68,'',1,'OP-L','2015-12-28',0,0,1,0,0,'asdfasdfasdf',0,0,0,82,0,0,0,0,106,'2015-12-28 04:20:47',0,'2015-12-28 04:21:36',0,'',0,'AP20151200000005',0),(1815,573,1,1,'',0,3,68,'',1,'OP-C','2016-04-15',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2016-04-15 03:08:32',0,'2016-04-26 02:13:58',1,'',0,'AP20160400000008',0),(1816,574,1,1,'',0,120,68,'',1,'OP-C','2016-04-25',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2016-04-25 03:59:17',0,'2016-08-18 01:29:53',1,'',0,'AP20160400000009',0),(1817,575,1,1,'',0,220,68,'',1,'OP-E','2016-04-25',0,0,1,0,0,'sewa-tapak',0,0,0,85,0,0,0,0,1,'2016-04-25 04:00:27',0,'2016-04-26 02:26:08',1,'',0,'AP20160400000004',0),(1818,576,1,1,'',0,1000,68,'',1,'OP-A','2016-04-25',0,0,1,0,0,'',0,0,0,83,0,0,0,0,1,'2016-04-25 04:02:17',0,'2016-04-26 02:39:43',1,'',0,'AP20160400000005',0),(1819,577,1,1,'',0,10,68,'',1,'OP-C','2016-04-26',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-04-26 02:09:33',0,'2016-04-27 02:53:25',1,'',0,'AP20160400000006',0),(1820,578,1,1,'',0,500,68,'',1,'OP-E','2016-04-26',0,0,1,0,0,'This is remarks',0,0,0,83,0,0,0,0,1,'2016-04-26 02:25:30',0,'2016-08-18 01:31:45',1,'',0,'AP20160400000020',0),(1821,579,1,1,'',0,200,68,'',1,'OP-L','2016-04-26',0,0,1,0,0,'march loan',0,0,0,82,0,0,0,0,1,'2016-04-26 02:30:15',0,'2016-04-26 02:32:27',1,'',0,'AP20160400000012',0),(1822,580,1,1,'',0,300,68,'',1,'OP-L','2016-04-26',0,0,1,0,0,'remarks',0,0,0,82,0,0,0,0,1,'2016-04-26 02:31:46',0,'2016-04-26 02:31:46',0,'',0,'AP20160400000013',0),(1823,581,1,1,'',0,300000,68,'',1,'OP-A','2016-04-26',0,0,1,0,0,'Purchase of company car',0,0,0,82,0,0,0,0,1,'2016-04-26 02:39:08',0,'2016-08-18 01:32:04',1,'',0,'AP20160400000023',0),(1824,582,0,1,'83',0,500,0,'',3,'TT','2016-04-26',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2016-04-26 02:41:13',0,'2016-04-26 02:41:13',0,'',0,'AP20160400000015',0),(1825,583,0,1,'82',0,500,0,'',3,'TT','2016-04-26',0,0,1,0,0,'',0,0,0,83,0,0,0,0,0,'2016-04-26 02:41:50',0,'2016-04-26 02:41:50',0,'',0,'AP20160400000016',0),(1829,585,1,1,'',0,300,68,'',1,'OP-L','2016-04-27',0,0,1,0,0,'Pay monthly ',0,0,0,83,0,0,0,0,1,'2016-04-27 01:33:58',0,'2016-04-27 01:33:59',0,'',0,'AP20160400000021',0),(1830,586,1,1,'',0,3600,68,'',1,'OP-A','2016-04-27',0,0,1,0,0,'beli komputer',0,0,0,82,0,0,0,0,1,'2016-04-27 01:39:08',0,'2016-08-18 01:32:04',1,'',0,'AP20160400000022',0),(1831,587,1,1,'',0,628,68,'',1,'OP-C','2015-12-31',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-05-10 03:43:33',0,'2016-05-10 03:43:33',0,'',0,'AP20151200000206',0),(1832,588,1,1,'',0,150,68,'',1,'OP-C','2016-05-31',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-05-31 08:38:45',0,'2016-08-18 01:29:53',1,'',0,'AP160500000001',0),(1833,589,1,1,'',0,25,68,'',1,'OP-C','2016-06-01',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2016-06-01 06:56:33',0,'2016-08-18 01:29:53',1,'',0,'AP20160600000003',0),(1834,590,1,1,'',0,50,68,'',1,'OP-E','2016-06-01',0,0,1,0,0,'',0,0,0,85,0,0,0,0,1,'2016-06-01 07:02:26',0,'2016-08-18 01:31:45',1,'',0,'AP20160600000004',0),(1835,591,1,1,'',0,1256,68,'',1,'OP-C','2016-06-03',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,84,'2016-06-03 03:34:42',0,'2016-08-18 01:29:53',1,'',0,'AP20160600000005',0),(1836,592,1,1,'',0,589,68,'',1,'OP-E','2016-06-03',0,0,1,0,0,'',0,0,0,82,0,0,0,0,84,'2016-06-03 03:35:39',0,'2016-08-18 01:31:45',1,'',0,'AP20160600000006',0),(1837,593,1,1,'',0,37300,68,'',1,'OP-A','2016-06-03',0,0,1,0,0,'',0,0,0,83,0,0,0,0,84,'2016-06-03 03:40:56',0,'2016-08-18 01:32:04',1,'',0,'AP20160600000007',0),(1838,594,1,1,'',0,35000,68,'',1,'OP-A','2016-06-03',0,0,1,0,0,'',0,0,0,83,0,0,0,0,84,'2016-06-03 03:44:02',0,'2016-08-18 01:32:04',1,'',0,'AP20160600000008',0),(1839,595,1,1,'',0,5,68,'',1,'OP-C','2016-06-06',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2016-06-06 01:17:45',0,'2016-08-18 01:29:53',1,'',0,'AP20160600000009',0),(1840,596,1,1,'',0,200,68,'',1,'OP-E','2016-06-06',0,0,1,0,0,'Peralatan memasak',0,0,0,85,0,0,0,0,1,'2016-06-06 05:24:32',0,'2016-06-06 05:25:53',1,'',0,'AP20160600000010',0),(1841,597,1,1,'',0,200,68,'',1,'OP-E','2016-06-06',0,0,1,0,0,'Sewa Tapak ',0,0,0,85,0,0,0,0,1,'2016-06-06 07:57:11',0,'2016-08-18 01:31:45',1,'',0,'AP20160600000013',0),(1842,598,1,1,'',0,80,68,'',1,'OP-C','2016-06-08',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,84,'2016-06-08 07:46:27',0,'2016-08-18 01:29:53',1,'',0,'AP20160600000014',0),(1843,599,1,1,'',0,32,68,'',1,'OP-C','2016-06-10',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,0,'2016-06-10 01:14:07',0,'2016-08-18 01:29:53',1,'',0,'AP20160600000017',0),(1844,600,1,1,'',0,32,68,'',1,'OP-C','2016-06-10',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,0,'2016-06-10 01:14:12',0,'2016-08-18 01:29:53',1,'',0,'AP20160600000018',0),(1845,601,1,1,'',0,32,68,'',1,'OP-C','2016-06-10',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,0,'2016-06-10 01:14:12',0,'2016-08-18 01:29:53',1,'',0,'AP20160600000019',0),(1846,602,1,1,'',0,32,68,'',1,'OP-C','2016-06-10',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,0,'2016-06-10 01:14:12',0,'2016-08-18 01:29:53',1,'',0,'AP20160600000020',0),(1904,1,0,13,'122',0,33,0,'',3,'TT','2016-06-14',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-06-14 04:40:35',0,'2016-06-14 04:40:36',0,'',0,'AP20160600000050',0),(1905,2,1,13,'',0,23,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,0,'2016-06-14 06:53:05',0,'2016-06-27 02:02:44',1,'',0,'AP20160600000058',0),(1906,3,1,13,'',0,23,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,0,'2016-06-14 06:53:09',0,'2016-06-14 07:19:13',1,'',0,'AP20160600000053',0),(1908,4,1,13,'',0,23,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,0,'2016-06-14 08:11:19',0,'2016-06-27 02:02:44',1,'',0,'AP20160600000056',0),(1909,5,1,13,'',0,23,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,0,'2016-06-14 08:11:19',0,'2016-06-27 02:02:44',1,'',0,'AP20160600000057',0),(1910,6,1,13,'',0,23,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,0,'2016-06-14 08:11:24',0,'2016-06-27 02:02:44',1,'',0,'AP20160600000059',0),(1911,7,1,13,'',0,23,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,0,'2016-06-14 08:11:24',0,'2016-06-27 02:02:44',1,'',0,'AP20160600000060',0),(1912,8,1,13,'',0,50,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-06-14 08:12:47',0,'2016-06-20 09:34:41',0,'',0,'AP20160600000070',0),(1913,9,1,13,'',0,47,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-06-14 08:14:01',0,'2016-06-14 08:14:01',0,'',0,'AP20160600000062',0),(1914,10,1,13,'',0,579,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-06-14 08:18:31',0,'2016-06-14 08:19:18',0,'',0,'AP20160600000065',0),(1915,11,1,13,'',0,77,68,'',1,'OP-C','2016-06-14',0,0,1,0,0,'0',0,0,0,125,0,0,0,0,0,'2016-06-14 08:22:53',0,'2016-06-14 08:22:53',0,'',0,'AP20160600000066',0),(1916,12,1,13,'',0,500,68,'',1,'OP-A','2016-06-15',0,0,1,0,0,'rr',0,0,0,122,0,0,0,0,0,'2016-06-15 01:29:33',0,'2016-06-15 01:34:45',1,'',0,'AP20160600000067',0),(1917,603,1,1,'',0,1100,68,'',1,'OP-E','2016-06-15',0,0,1,0,0,'For Testing Purposes',0,0,0,82,0,0,0,0,0,'2016-06-15 02:53:13',0,'2016-08-18 01:31:45',1,'',0,'AP20160600000021',0),(1918,1,1,12,'',0,36,68,'',1,'OP-A','2016-06-15',0,0,1,0,0,'',0,0,0,109,0,0,0,0,0,'2016-06-15 04:27:12',0,'2016-06-15 04:27:12',0,'',0,'AP160600000001',0),(1919,13,1,13,'',0,477,68,'',1,'OP-A','2016-06-15',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-06-15 04:30:21',0,'2016-06-15 04:48:46',1,'',0,'AP20160600000068',0),(1920,14,1,13,'',0,200,68,'',1,'OP-A','2016-06-15',0,0,1,0,0,'ghfghf',0,0,0,123,0,0,0,0,0,'2016-06-15 04:47:27',0,'2016-06-27 08:48:50',0,'',0,'AP20160600000088',0),(1921,2,1,12,'',0,25,68,'',1,'OP-C','2016-06-16',0,0,1,0,0,'0',0,0,0,111,0,0,0,0,0,'2016-06-16 03:06:31',0,'2016-06-16 03:06:31',0,'',0,'AP20160600000002',0),(1922,3,1,12,'',0,123,68,'',1,'OP-E','2016-06-16',0,0,1,0,0,'',0,0,0,111,0,0,0,0,0,'2016-06-16 03:51:48',0,'2016-06-16 03:51:48',0,'',0,'AP20160600000003',0),(1923,15,1,13,'',0,100,68,'',1,'OP-L','2016-06-21',0,0,1,0,0,'hh',0,0,0,122,0,0,0,0,0,'2016-06-21 00:55:09',0,'2016-06-21 00:56:39',1,'',0,'AP20160600000071',0),(1924,16,1,13,'',0,770,68,'',1,'OP-A','2017-07-21',0,0,1,0,0,'fad',0,0,0,123,0,0,0,0,0,'2016-06-21 03:45:56',0,'2016-06-21 04:34:32',1,'',0,'AP170700000001',0),(1925,17,1,13,'',0,654,68,'',1,'OP-A','2016-06-21',0,0,1,0,0,'fad',0,0,0,124,0,0,0,0,0,'2016-06-21 04:36:06',0,'2016-06-21 04:36:07',0,'',0,'AP20160600000072',0),(1926,18,1,13,'',0,5,68,'',1,'OP-A','2017-07-19',0,0,1,0,0,'fadd',0,0,0,124,0,0,0,0,0,'2016-06-21 04:38:49',0,'2016-06-21 04:42:32',1,'',0,'AP20170700000002',0),(1927,19,1,13,'',0,2345,68,'',1,'OP-A','2015-06-21',0,0,1,0,0,'fad',0,0,0,123,0,0,0,0,0,'2016-06-21 06:27:24',0,'2016-06-21 07:54:18',1,'',0,'AP150600000001',0),(1928,20,1,13,'',0,23,68,'',1,'OP-A','2016-06-21',0,0,1,0,0,'dadadsads',0,0,0,124,0,0,0,0,0,'2016-06-21 06:44:27',0,'2016-06-27 09:05:18',0,'',0,'AP20160600000091',0),(1930,21,1,13,'',0,44,68,'',1,'OP-A','2016-06-21',0,0,1,0,0,'sdaa',0,0,0,124,0,0,0,0,0,'2016-06-21 06:47:14',0,'2016-06-21 06:47:14',0,'',0,'AP20160600000074',0),(1931,22,1,13,'',0,358,68,'',1,'OP-A','2016-08-18',0,0,1,0,0,'fhfg',0,0,0,123,0,0,0,0,0,'2016-06-21 07:34:01',0,'2016-06-21 07:34:01',0,'',0,'AP160800000001',0),(1935,25,1,13,'',0,100,68,'',1,'OP-L','2016-06-22',0,0,1,0,0,'',0,0,0,123,0,0,0,0,0,'2016-06-22 04:22:13',0,'2016-06-22 04:22:13',0,'',0,'AP20160600000078',0),(1936,26,1,13,'',0,455,68,'',1,'OP-L','2016-06-22',0,0,1,0,0,'dfsf',0,0,0,123,0,0,0,0,0,'2016-06-22 04:58:39',0,'2016-06-22 05:00:28',1,'',0,'AP20160600000079',0),(1937,27,1,13,'',0,100,68,'',1,'OP-L','2016-06-22',0,0,1,0,0,'fadswrg',0,0,0,122,0,0,0,0,0,'2016-06-22 07:07:08',0,'2016-06-22 07:26:15',1,'',0,'AP20160600000080',0),(1939,29,1,13,'',0,200,68,'',1,'OP-L','2017-06-22',0,0,1,0,0,'fdhdfh',0,0,0,123,0,0,0,0,0,'2016-06-22 07:27:55',0,'2016-06-27 08:59:21',1,'',0,'AP170600000001',0),(1940,30,1,13,'',0,20,68,'',1,'OP-E','2016-06-27',0,0,1,0,0,'hgfh',0,0,0,122,0,0,0,0,0,'2016-06-27 01:46:20',0,'2016-06-27 01:46:20',0,'',0,'AP20160600000082',0),(1942,32,1,13,'',0,100,68,'',1,'OP-L','2016-06-27',0,0,1,0,0,'ghh',0,0,0,122,0,0,0,0,0,'2016-06-27 08:56:30',0,'2016-06-27 08:56:31',0,'',0,'AP20160600000089',0),(1943,33,1,13,'',0,200,68,'',1,'OP-L','2016-05-11',0,0,1,0,0,'hhh',0,0,0,122,0,0,0,0,0,'2016-06-27 09:02:54',0,'2016-06-27 09:02:54',0,'',0,'AP160500000001',0),(1945,2,1,14,'',0,100,68,'',1,'OP-L','2015-09-30',0,0,1,0,0,'',0,0,0,129,0,0,0,0,0,'2016-06-28 07:50:42',0,'2016-06-28 07:50:43',0,'',0,'AP150900000001',0),(1946,3,1,14,'',0,100,68,'',1,'OP-L','2015-10-30',0,0,1,0,0,'',0,0,0,129,0,0,0,0,0,'2016-06-28 07:53:01',0,'2016-06-28 07:53:01',0,'',0,'AP151000000001',0),(1947,4,1,14,'',0,100,68,'',1,'OP-L','2015-08-31',0,0,1,0,0,'',0,0,0,129,0,0,0,0,0,'2016-06-28 08:15:27',0,'2016-06-28 08:15:27',0,'',0,'AP20150800000002',0),(1948,5,1,14,'',0,100,68,'',1,'OP-L','2016-01-29',0,0,1,0,0,'',0,0,0,129,0,0,0,0,0,'2016-06-28 08:29:27',0,'2016-06-28 08:29:28',0,'',0,'AP160100000001',0),(1949,34,1,13,'',0,24,68,'',1,'OP-E','2016-07-13',0,0,1,0,0,'',0,0,0,125,0,0,0,0,0,'2016-07-13 09:23:45',0,'2016-07-13 09:23:45',0,'',0,'AP160700000001',0),(1950,35,1,13,'',0,2000,68,'',1,'OP-A','2016-07-26',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-07-26 08:25:53',0,'2016-07-26 08:25:53',0,'',0,'AP20160700000002',0),(1951,604,0,1,'83',0,123,0,'',3,'TT','2016-07-27',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2016-07-27 02:31:44',0,'2016-07-27 02:31:45',0,'',0,'AP20160700000001',0),(1952,36,1,13,'',0,1500,68,'',1,'OP-C','2016-07-27',0,0,1,0,0,'0',0,0,0,124,0,0,0,0,0,'2016-07-27 07:19:23',0,'2016-07-27 08:36:10',0,'',0,'AP20160700000006',0),(1953,37,1,13,'',0,2000,68,'',1,'OP-C','2016-07-27',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,0,'2016-07-27 07:36:03',0,'2016-07-27 07:36:03',0,'',0,'AP20160700000005',0),(1954,38,1,13,'',0,1899,68,'',1,'OP-C','2016-07-28',0,0,1,0,0,'0',0,0,0,124,0,0,0,0,0,'2016-07-28 01:05:42',0,'2016-07-28 01:05:43',0,'',0,'AP20160700000007',0),(1955,39,1,13,'',0,10300,68,'',1,'OP-E','2016-07-28',0,0,1,0,0,'',0,0,0,124,0,0,0,0,0,'2016-07-28 01:20:27',0,'2016-07-28 01:20:28',0,'',0,'AP20160700000008',0),(1956,40,1,13,'',0,8800,68,'',1,'OP-A','2016-07-28',0,0,1,0,0,'',0,0,0,124,0,0,0,0,0,'2016-07-28 04:30:30',0,'2016-07-28 04:30:31',0,'',0,'AP20160700000009',0),(1957,41,0,13,'123',0,100,0,'',3,'TT','2016-07-29',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-07-29 07:34:35',0,'2016-07-29 07:34:35',0,'',0,'AP20160700000010',0),(1958,42,1,13,'',0,500,68,'',1,'OP-C','2016-08-01',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-08-01 08:43:16',0,'2016-08-29 01:23:37',1,'',0,'AP20160800000012',0),(1959,43,1,13,'',0,202,68,'',1,'OP-E','2016-08-01',0,0,1,0,0,'coba',0,0,0,122,0,0,0,0,0,'2016-08-01 08:47:40',0,'2016-08-09 01:01:23',0,'',0,'AP20160800000013',0),(1961,5,1,12,'',0,25,68,'',1,'OP-C','2016-08-05',0,0,1,0,0,'0',0,0,0,111,0,0,0,0,0,'2016-08-05 05:07:33',0,'2016-08-05 05:07:33',0,'',0,'AP20160800000002',0),(1962,6,1,12,'',0,258,68,'',1,'OP-E','2016-08-05',0,0,1,0,0,'',0,0,0,111,0,0,0,0,0,'2016-08-05 05:11:10',0,'2016-08-05 05:11:11',0,'',0,'AP20160800000003',0),(1963,605,1,1,'',0,25,68,'',1,'OP-C','2016-08-05',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,0,'2016-08-05 06:40:53',0,'2016-08-18 01:29:54',1,'',0,'AP160800000001',0),(1964,44,1,13,'',0,1200,68,'',1,'OP-A','2016-08-05',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-08-05 12:05:51',0,'2016-08-05 12:05:51',0,'',0,'AP20160800000008',0),(1965,45,1,13,'',0,100,68,'',1,'OP-C','2016-08-08',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-08-08 06:29:19',0,'2016-08-29 06:51:17',1,'',0,'AP20160800000009',0),(1966,46,1,13,'',0,30,68,'',1,'OP-E','2016-08-08',0,0,1,0,0,'today',0,0,0,122,0,0,0,0,0,'2016-08-08 06:38:55',0,'2016-08-08 06:38:55',0,'',0,'AP20160800000010',0),(1967,47,1,13,'',0,100,68,'',1,'OP-E','2016-08-08',0,0,1,0,0,'TRY',0,0,0,123,0,0,0,0,0,'2016-08-08 08:30:56',0,'2016-08-08 08:30:57',0,'',0,'AP20160800000011',0),(1968,48,1,13,'',0,372,68,'',1,'OP-L','2016-08-10',0,0,1,0,0,'huhuhu',0,0,0,123,0,0,0,0,0,'2016-08-10 02:18:45',0,'2016-08-10 02:18:45',0,'',0,'AP20160800000014',0),(1970,50,1,13,'',0,250,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-08-10 04:26:50',0,'2016-08-10 04:26:51',0,'',0,'AP161000000001',0),(1971,51,1,13,'',0,250,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-08-10 04:30:24',0,'2016-08-10 04:30:24',0,'',0,'AP20161000000002',0),(1972,52,1,13,'',0,250,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-08-10 04:30:55',0,'2016-08-10 04:30:55',0,'',0,'AP20161000000003',0),(1973,606,1,1,'',0,100,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,0,'2016-08-10 04:46:04',0,'2016-08-18 01:29:54',1,'',0,'AP161000000001',0),(1974,607,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,0,'2016-08-10 04:51:50',0,'2016-08-18 01:29:54',1,'',0,'AP20161000000002',0),(1975,53,1,13,'',0,100,68,'',1,'OP-E','2016-10-08',0,0,1,0,0,'try',0,0,0,122,0,0,0,0,0,'2016-08-10 04:53:47',0,'2016-08-10 04:53:48',0,'',0,'AP20161000000004',0),(1976,54,1,13,'',0,99,68,'',1,'OP-E','2016-10-08',0,0,1,0,0,'wow!',0,0,0,122,0,0,0,0,0,'2016-08-10 04:54:29',0,'2016-08-10 04:54:29',0,'',0,'AP20161000000005',0),(1978,608,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,0,'2016-08-10 05:01:24',0,'2016-08-18 01:29:54',1,'',0,'AP20161000000003',0),(1979,56,1,13,'',0,100,68,'',1,'OP-L','2016-10-08',0,0,1,0,0,'wow',0,0,0,122,0,0,0,0,0,'2016-08-10 05:01:33',0,'2016-08-10 05:01:34',0,'',0,'AP20161000000006',0),(1980,57,1,13,'',0,100,68,'',1,'OP-L','2016-10-08',0,0,1,0,0,'woi',0,0,0,122,0,0,0,0,0,'2016-08-10 05:02:39',0,'2016-08-10 05:02:39',0,'',0,'AP20161000000007',0),(1985,612,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-10 05:49:56',0,'2016-08-18 01:29:54',1,'',0,'AP20161000000005',0),(1986,613,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-10 05:55:54',0,'2016-08-18 01:29:54',1,'',0,'AP20161000000006',0),(1987,614,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-10 05:56:32',0,'2016-08-18 01:29:54',1,'',0,'AP20161000000007',0),(1992,619,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-10 06:00:13',0,'2016-08-18 01:29:55',1,'',0,'AP20161000000008',0),(1993,620,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-10 06:03:25',0,'2016-08-18 01:29:55',1,'',0,'AP20161000000009',0),(1994,621,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-10 06:05:20',0,'2016-08-18 01:29:55',1,'',0,'AP20161000000010',0),(1995,622,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2016-08-10 06:08:26',0,'2016-08-18 01:29:55',1,'',0,'AP20161000000011',0),(1996,623,1,1,'',0,1000,68,'',1,'OP-C','2016-10-08',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-10 06:29:46',0,'2016-08-18 01:29:55',1,'',0,'AP20161000000012',0),(1997,624,1,1,'',0,1000,68,'',1,'OP-C','2016-08-10',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,0,'2016-08-10 07:07:14',0,'2016-08-18 01:29:54',1,'',0,'AP20160800000002',0),(1998,59,1,13,'',0,1,68,'',1,'OP-C','2016-08-10',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-08-10 07:22:02',0,'2016-08-29 06:52:00',1,'',0,'AP20160800000018',0),(1999,60,1,13,'',0,1,68,'',1,'OP-E','2016-08-10',0,0,1,0,0,'wau',0,0,0,122,0,0,0,0,10,'2016-08-10 07:23:06',0,'2016-08-10 07:23:50',0,'',0,'AP20160800000020',0),(2000,61,1,13,'',0,3,68,'',1,'OP-A','2016-08-10',0,0,1,0,0,'asset',0,0,0,122,0,0,0,0,10,'2016-08-10 07:24:47',0,'2016-08-10 07:24:47',0,'',0,'AP20160800000021',0),(2002,63,1,13,'',0,51,68,'',1,'OP-L','2016-08-10',0,0,1,0,0,'hai',0,0,0,123,0,0,0,0,10,'2016-08-10 07:31:18',0,'2016-08-29 01:24:32',1,'',0,'AP20160800000024',0),(2004,1,1,3,'',0,3500,68,'',1,'OP-C','2016-08-01',0,0,1,0,0,'0',0,0,0,115,0,0,0,0,0,'2016-08-10 09:36:36',0,'2016-08-10 09:36:37',0,'',0,'AP160800000001',0),(2005,1,1,21,'',0,30,68,'',1,'OP-C','2016-01-01',0,0,1,0,0,'0',0,0,0,141,0,0,0,0,0,'2016-08-11 07:33:30',0,'2016-08-11 07:33:30',0,'',0,'AP160100000001',0),(2006,2,1,21,'',0,35,68,'',1,'OP-E','2016-01-01',0,0,1,0,0,'Expenses',0,0,0,141,0,0,0,0,0,'2016-08-11 07:39:09',0,'2016-08-11 07:40:12',0,'',0,'AP20160100000003',0),(2007,3,1,21,'',0,25,68,'',1,'OP-A','2016-01-01',0,0,1,0,0,'Asset',0,0,0,141,0,0,0,0,0,'2016-08-11 07:41:47',0,'2016-08-11 07:41:47',0,'',0,'AP20160100000004',0),(2008,1,1,23,'',0,10,68,'',1,'OP-C','2016-01-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,0,'2016-08-11 08:58:17',0,'2016-08-18 01:39:07',1,'',0,'AP20160100000006',0),(2009,2,1,23,'',0,20,68,'',1,'OP-C','2016-02-02',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,0,'2016-08-11 08:59:19',0,'2016-08-18 01:39:07',1,'',0,'AP160200000001',0),(2010,3,1,23,'',0,30,68,'',1,'OP-E','2016-01-01',0,0,1,0,0,'January',0,0,0,148,0,0,0,0,0,'2016-08-11 09:01:23',0,'2016-08-18 07:41:44',1,'',0,'AP20160100000004',0),(2011,65,1,13,'',0,130,68,'',1,'OP-C','2016-08-11',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,0,'2016-08-11 09:13:48',0,'2016-08-11 09:13:48',0,'',0,'AP20160800000027',0),(2012,66,1,13,'',0,4321,68,'',1,'OP-C','2016-08-11',0,0,1,0,0,'0',0,0,0,126,0,0,0,0,0,'2016-08-11 09:16:41',0,'2016-08-11 09:16:41',0,'',0,'AP20160800000028',0),(2013,4,1,23,'',0,40,68,'',1,'OP-E','2016-02-02',0,0,1,0,0,'February',0,0,0,149,0,0,0,0,0,'2016-08-11 09:25:23',0,'2016-08-18 07:41:44',1,'',0,'AP20160200000002',0),(2014,5,1,23,'',0,40,68,'',1,'OP-A','2016-01-01',0,0,1,0,0,'January',0,0,0,149,0,0,0,0,0,'2016-08-11 09:26:44',0,'2016-09-05 06:28:39',1,'',0,'AP20160100000005',0),(2015,6,1,23,'',0,35,68,'',1,'OP-A','2016-02-02',0,0,1,0,0,'February',0,0,0,149,0,0,0,0,0,'2016-08-11 09:27:17',0,'2016-09-05 06:28:39',1,'',0,'AP20160200000004',0),(2016,67,1,13,'',0,29,68,'',1,'OP-C','2016-08-12',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,0,'2016-08-12 04:07:38',0,'2016-08-29 04:07:54',1,'',0,'AP20160800000029',0),(2017,7,1,23,'',0,5,68,'',1,'OP-C','2016-08-12',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,0,'2016-08-12 04:09:29',0,'2016-08-17 01:58:46',1,'',0,'AP20160800000002',0),(2018,8,1,23,'',0,30,68,'',1,'OP-C','2016-03-03',0,0,1,0,0,'0',0,0,0,150,0,0,0,0,0,'2016-08-12 08:22:30',0,'2016-08-18 01:39:07',1,'',0,'AP160300000001',0),(2019,9,1,23,'',0,40,68,'',1,'OP-C','2016-04-04',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,0,'2016-08-12 08:31:56',0,'2016-08-18 01:39:07',1,'',0,'AP160400000001',0),(2020,10,1,23,'',0,50,68,'',1,'OP-C','2016-05-05',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,0,'2016-08-12 08:32:44',0,'2016-08-18 01:39:07',1,'',0,'AP160500000001',0),(2021,11,1,23,'',0,60,68,'',1,'OP-C','2016-06-06',0,0,1,0,0,'0',0,0,0,150,0,0,0,0,0,'2016-08-12 08:33:04',0,'2016-08-18 01:39:07',1,'',0,'AP160600000001',0),(2022,12,1,23,'',0,70,68,'',1,'OP-C','2016-07-07',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,0,'2016-08-12 08:33:23',0,'2016-08-18 01:39:08',1,'',0,'AP160700000001',0),(2023,13,1,23,'',0,80,68,'',1,'OP-C','2016-08-08',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,0,'2016-08-12 08:34:01',0,'2016-08-17 01:59:35',1,'',0,'AP20160800000003',0),(2026,68,1,13,'',0,10000,68,'',1,'OP-L','2016-08-15',0,0,1,0,0,'kereta',0,0,0,122,0,0,0,0,0,'2016-08-15 04:13:24',0,'2016-08-15 04:13:24',0,'',0,'AP20160800000030',0),(2027,16,1,23,'',0,1000,68,'',1,'OP-L','2017-01-05',0,0,1,0,0,'testing',0,0,0,148,0,0,0,0,0,'2016-08-15 04:18:21',0,'2016-08-15 04:18:26',0,'',0,'AP20170100000002',0),(2028,17,1,23,'',0,5000,68,'',1,'OP-L','2018-02-01',0,0,1,0,0,'payment',0,0,0,148,0,0,0,0,0,'2016-08-15 04:20:16',0,'2016-08-15 04:20:16',0,'',0,'AP180200000001',0),(2029,18,1,23,'',0,5500,68,'',1,'OP-L','2018-03-02',0,0,1,0,0,'Payment',0,0,0,148,0,0,0,0,0,'2016-08-15 04:21:49',0,'2016-08-15 04:21:50',0,'',0,'AP180300000001',0),(2032,20,1,23,'',0,2200,68,'',0,'OP-L','2016-08-15',0,0,1,0,0,'pymt',0,0,0,149,0,0,0,0,28,'2016-08-15 07:18:04',0,'2016-08-30 02:46:57',0,'',0,'AP20160800000090',0),(2033,21,1,23,'',0,80,68,'',1,'OP-C','2016-08-08',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,0,'2016-08-16 02:27:15',0,'2016-08-17 01:58:46',1,'',0,'AP20160800000010',0),(2034,22,1,23,'',0,90,68,'',1,'OP-C','2016-08-08',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,0,'2016-08-16 02:34:13',0,'2016-08-17 01:58:46',1,'',0,'AP20160800000011',0),(2039,7,1,12,'',0,2580,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'',0,0,0,110,0,0,0,0,0,'2016-08-16 03:02:22',0,'2016-08-16 03:02:22',0,'',0,'AP20160800000005',0),(2040,70,0,13,'126',0,125,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,126,0,0,0,0,0,'2016-08-16 03:21:38',0,'2016-08-16 03:21:38',0,'',0,'AP20160800000033',0),(2041,71,0,13,'122',0,142,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-08-16 03:26:42',0,'2016-08-16 03:26:42',0,'',0,'AP20160800000034',0),(2042,26,0,23,'151',0,4447,0,'',3,'TT','2016-02-03',0,0,1,0,0,'',0,0,0,150,0,0,0,0,0,'2016-08-16 03:34:31',0,'2016-08-29 05:20:30',0,'',0,'AP20160200000005',0),(2043,1,1,24,'',0,480,68,'',1,'OP-C','2016-08-16',0,0,1,0,0,'0',0,0,0,162,0,0,0,0,0,'2016-08-16 03:39:05',0,'2016-08-16 03:39:34',0,'',0,'AP20160800000002',0),(2045,5,1,24,'',0,368,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'',0,0,0,163,0,0,0,0,0,'2016-08-16 03:45:32',0,'2016-08-16 08:33:25',0,'',0,'AP20160800000034',0),(2046,28,0,23,'150',0,1200000.1,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,148,0,0,0,0,0,'2016-08-16 03:46:38',0,'2016-08-29 07:55:11',0,'',0,'AP20160800000085',0),(2047,6,1,24,'',0,100,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 03:48:47',0,'2016-08-16 03:48:47',0,'',0,'AP20160800000007',0),(2048,1,1,25,'',0,100,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'',0,0,0,155,0,0,0,0,0,'2016-08-16 03:48:48',0,'2016-08-16 03:48:48',0,'',0,'AP160800000001',0),(2049,7,1,24,'',0,50,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'',0,0,0,164,0,0,0,0,0,'2016-08-16 03:50:52',0,'2016-08-16 04:18:38',1,'',0,'AP20160800000009',0),(2050,8,1,24,'',0,50,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'',0,0,0,164,0,0,0,0,0,'2016-08-16 03:50:54',0,'2016-08-16 03:50:54',0,'',0,'AP20160800000010',0),(2052,2,1,25,'',0,10,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'',0,0,0,156,0,0,0,0,0,'2016-08-16 04:11:50',0,'2016-08-16 04:11:51',0,'',0,'AP20160800000002',0),(2053,3,1,25,'',0,200,68,'',1,'OP-C','2016-08-16',0,0,1,0,0,'0',0,0,0,158,0,0,0,0,0,'2016-08-16 04:19:44',0,'2016-08-16 04:19:44',0,'',0,'AP20160800000003',0),(2055,4,0,25,'155',0,3000,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,158,0,0,0,0,0,'2016-08-16 04:26:24',0,'2016-08-16 04:26:25',0,'',0,'AP20160800000004',0),(2056,5,1,25,'',0,20,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'bayar lebih dari yang ada',0,0,0,156,0,0,0,0,0,'2016-08-16 04:28:38',0,'2016-08-16 04:28:38',0,'',0,'AP20160800000005',0),(2057,9,1,24,'',0,50,68,'',1,'OP-L','2016-03-18',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 04:28:56',0,'2016-08-16 08:21:23',0,'',0,'AP160300000001',0),(2058,29,0,23,'151',0,545,0,'',3,'TT','2016-04-06',0,0,1,0,0,'',0,0,0,152,0,0,0,0,0,'2016-08-16 04:31:01',0,'2016-08-29 05:21:11',0,'',0,'AP20160400000002',0),(2060,6,1,25,'',0,100,68,'',1,'OP-L','2016-08-15',0,0,1,0,0,'bayar habis loan',0,0,0,159,0,0,0,0,0,'2016-08-16 04:39:04',0,'2016-08-16 08:23:27',0,'',0,'AP20160800000015',0),(2061,7,1,25,'',0,-50,68,'',1,'OP-L','2016-08-15',0,0,1,0,0,'try masuk negative value',0,0,0,159,0,0,0,0,0,'2016-08-16 04:40:43',0,'2016-08-16 08:21:58',0,'',0,'AP20160800000014',0),(2062,8,1,25,'',0,-50,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'try masuk negative value',0,0,0,159,0,0,0,0,0,'2016-08-16 04:40:43',0,'2016-08-16 04:40:44',0,'',0,'AP20160800000008',0),(2063,11,1,24,'',0,-200,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 04:45:14',0,'2016-08-17 04:52:00',1,'',0,'AP20160800000013',0),(2064,12,1,24,'',0,-150,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 04:47:57',0,'2016-08-16 06:17:27',1,'',0,'AP20160800000014',0),(2065,13,1,24,'',0,500,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 04:52:42',0,'2016-08-16 04:52:42',0,'',0,'AP20160800000015',0),(2068,14,1,24,'',0,100,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 06:18:36',0,'2016-08-16 06:18:36',0,'',0,'AP20160800000016',0),(2069,15,1,24,'',0,450,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'',0,0,0,163,0,0,0,0,0,'2016-08-16 06:20:32',0,'2016-08-16 06:20:32',0,'',0,'AP20160800000017',0),(2070,30,0,23,'150',0,5555,0,'',3,'TT','2016-05-11',0,0,1,0,0,'',0,0,0,148,0,0,0,0,0,'2016-08-16 07:11:45',0,'2016-08-29 05:21:30',0,'',0,'AP20160500000002',0),(2072,17,1,24,'',0,510,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 07:32:46',0,'2016-08-16 07:32:48',0,'',0,'AP20160800000021',0),(2076,19,1,24,'',0,50,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,164,0,0,0,0,0,'2016-08-16 07:35:31',0,'2016-08-16 07:35:32',0,'',0,'AP20160800000024',0),(2078,21,1,24,'',0,50,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,164,0,0,0,0,0,'2016-08-16 07:36:50',0,'2016-08-16 07:36:50',0,'',0,'AP20160800000026',0),(2081,24,1,24,'',0,100,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,164,0,0,0,0,0,'2016-08-16 07:39:06',0,'2016-08-16 07:39:06',0,'',0,'AP20160800000029',0),(2083,26,1,24,'',0,190,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 07:50:58',0,'2016-08-16 07:50:58',0,'',0,'AP20160800000031',0),(2085,28,1,24,'',0,200,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 07:54:58',0,'2016-08-16 07:54:59',0,'',0,'AP20160800000033',0),(2086,11,1,25,'',0,60,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'exp',0,0,0,155,0,0,0,0,0,'2016-08-16 08:01:21',0,'2016-08-16 08:01:21',0,'',0,'AP20160800000011',0),(2087,12,1,25,'',0,50,68,'',1,'OP-L','2016-08-16',0,0,1,0,0,'bayar loan negative',0,0,0,155,0,0,0,0,0,'2016-08-16 08:07:33',0,'2016-08-16 08:07:33',0,'',0,'AP20160800000012',0),(2089,13,1,25,'',0,50,68,'',1,'OP-L','2016-08-17',0,0,1,0,0,'esok bayar loan',0,0,0,155,0,0,0,0,0,'2016-08-16 08:25:18',0,'2016-08-16 08:25:18',0,'',0,'AP20160800000016',0),(2090,29,1,24,'',0,23,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'',0,0,0,164,0,0,0,0,0,'2016-08-16 08:35:01',0,'2016-08-16 08:35:02',0,'',0,'AP20160800000035',0),(2091,14,1,25,'',0,20,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'bayar lebih dari yang ada',0,0,0,156,0,0,0,0,0,'2016-08-16 08:36:24',0,'2016-08-16 08:36:25',0,'',0,'AP20160800000017',0),(2092,30,1,24,'',0,1297,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'',0,0,0,164,0,0,0,0,31,'2016-08-16 08:36:32',0,'2016-08-17 04:21:19',0,'',0,'AP20160800000043',0),(2093,31,0,24,'163',0,230,0,'',3,'TT','2016-02-09',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 09:01:47',0,'2016-08-16 09:01:47',0,'',0,'AP20160200000003',0),(2094,32,0,24,'163',0,100,0,'',3,'TT','2016-03-17',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 09:02:16',0,'2016-08-16 09:02:17',0,'',0,'AP20160300000002',0),(2095,33,0,24,'164',0,10,0,'',3,'TT','2016-03-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 09:04:38',0,'2016-08-17 06:31:29',0,'',0,'AP20160300000004',0),(2096,34,0,24,'163',0,80,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-16 09:05:10',0,'2016-08-16 09:05:10',0,'',0,'AP20160800000039',0),(2097,15,1,25,'',0,1200,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'beli aset test journal',0,0,0,155,0,0,0,0,0,'2016-08-16 09:09:08',0,'2016-08-16 09:09:08',0,'',0,'AP20160800000018',0),(2099,17,1,25,'',0,20,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'beli aset dr akaun tak berapa berduit',0,0,0,157,0,0,0,0,0,'2016-08-16 09:16:41',0,'2016-08-16 09:16:41',0,'',0,'AP20160800000019',0),(2100,18,1,25,'',0,3000,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'beli motor',0,0,0,157,0,0,0,0,0,'2016-08-16 09:22:59',0,'2016-08-16 09:23:00',0,'',0,'AP20160800000020',0),(2101,19,1,25,'',0,100,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'buat iklan ',0,0,0,155,0,0,0,0,0,'2016-08-16 09:31:03',0,'2016-08-16 09:31:04',0,'',0,'AP20160800000021',0),(2102,20,1,25,'',0,5,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'beli penyapu',0,0,0,155,0,0,0,0,0,'2016-08-16 09:35:39',0,'2016-08-16 09:35:39',0,'',0,'AP20160800000022',0),(2103,21,1,25,'',0,10,68,'',1,'OP-E','2016-08-16',0,0,1,0,0,'member club',0,0,0,155,0,0,0,0,0,'2016-08-16 09:48:33',0,'2016-08-16 09:48:33',0,'',0,'AP20160800000023',0),(2104,22,1,25,'158',0,1000,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,155,0,0,0,0,0,'2016-08-16 09:58:39',0,'2016-08-16 09:58:39',0,'',0,'AP20160800000024',0),(2105,32,1,23,'',0,170816,68,'',1,'OP-C','2016-08-17',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-17 01:57:25',0,'2016-08-18 01:30:33',1,'',0,'AP20160800000042',0),(2106,33,1,23,'',0,178016,68,'',1,'OP-C','2016-08-17',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-17 02:01:00',0,'2016-08-18 01:30:33',1,'',0,'AP20160800000044',0),(2108,36,1,24,'163',0,60,0,'',3,'TT','2016-08-17',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-17 02:46:32',0,'2016-08-17 02:46:33',0,'',0,'AP20160800000041',0),(2109,23,1,25,'',0,100,68,'',1,'OP-E','2016-08-17',0,0,1,0,0,'motor baru tapi dah rosak',0,0,0,159,0,0,0,0,32,'2016-08-17 02:59:33',0,'2016-08-17 02:59:34',0,'',0,'AP20160800000025',0),(2110,24,1,25,'',0,200,68,'',1,'OP-A','2016-08-17',0,0,1,0,0,'baiki siling',0,0,0,158,0,0,0,0,32,'2016-08-17 03:02:00',0,'2016-08-17 03:02:00',0,'',0,'AP20160800000026',0),(2111,25,1,25,'',0,15,68,'',1,'OP-C','2016-08-17',0,0,1,0,0,'0',0,0,0,159,0,0,0,0,32,'2016-08-17 03:03:25',0,'2016-08-17 03:03:25',0,'',0,'AP20160800000027',0),(2112,37,1,24,'',0,450,68,'',1,'OP-A','2016-02-03',0,0,1,0,0,'',0,0,0,163,0,0,0,0,31,'2016-08-17 04:16:14',0,'2016-08-17 04:16:14',0,'',0,'AP20160200000004',0),(2113,38,1,24,'',0,320,68,'',1,'OP-A','2016-08-16',0,0,1,0,0,'',0,0,0,163,0,0,0,0,31,'2016-08-17 04:18:08',0,'2016-08-17 04:18:09',0,'',0,'AP20160800000042',0),(2114,39,1,24,'',0,289,68,'',1,'OP-E','2016-03-31',0,0,1,0,0,'',0,0,0,162,0,0,0,0,31,'2016-08-17 04:39:56',0,'2016-08-17 04:40:12',0,'',0,'AP20160300000003',0),(2115,40,1,24,'',0,90,68,'',1,'OP-L','2016-08-17',0,0,1,0,0,'',0,0,0,162,0,0,0,0,31,'2016-08-17 04:45:29',0,'2016-08-17 04:45:29',0,'',0,'AP20160800000045',0),(2116,41,1,24,'',0,200,68,'',1,'OP-L','2016-08-17',0,0,1,0,0,'',0,0,0,162,0,0,0,0,31,'2016-08-17 06:14:46',0,'2016-08-17 06:14:47',0,'',0,'AP20160800000046',0),(2117,26,1,25,'',0,25,68,'',1,'OP-L','2016-08-17',0,0,1,0,0,'',0,0,0,158,0,0,0,0,32,'2016-08-17 06:16:47',0,'2016-08-17 06:16:48',0,'',0,'AP20160800000028',0),(2119,27,1,25,'',0,50,68,'',1,'OP-L','2016-08-17',0,0,1,0,0,'habis hutang',0,0,0,158,0,0,0,0,32,'2016-08-17 07:33:47',0,'2016-08-17 07:33:47',0,'',0,'AP20160800000029',0),(2123,29,1,12,'108',0,20,68,'',1,'OP-L','2016-08-17',1,0,1,0,0,'from pety cash bayar ceti haram',0,0,0,32578,0,0,0,0,32,'2016-08-17 07:50:29',0,'2016-08-17 09:26:02',0,'',0,'AP20160800000031',0),(2126,34,1,23,'',0,101,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-18 01:17:30',0,'2016-08-18 01:18:48',1,'',0,'AP20160800000045',0),(2127,35,1,23,'',0,121,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-18 01:23:57',0,'2016-08-18 01:30:33',1,'',0,'AP20160800000048',0),(2128,36,1,23,'',0,1,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-18 01:31:41',0,'2016-08-18 01:34:30',1,'',0,'AP20160800000049',0),(2129,37,1,23,'',0,2,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-18 01:31:55',0,'2016-08-18 01:34:56',1,'',0,'AP20160800000050',0),(2130,38,1,23,'',0,3,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,150,0,0,0,0,28,'2016-08-18 01:32:12',0,'2016-08-18 01:34:56',1,'',0,'AP20160800000051',0),(2131,39,1,23,'',0,4,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,151,0,0,0,0,28,'2016-08-18 01:32:26',0,'2016-08-18 01:34:56',1,'',0,'AP20160800000052',0),(2132,40,1,23,'',0,5,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,152,0,0,0,0,28,'2016-08-18 01:32:43',0,'2016-08-18 01:34:56',1,'',0,'AP20160800000053',0),(2133,41,1,23,'',0,6,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-18 01:32:54',0,'2016-08-18 01:34:56',1,'',0,'AP20160800000054',0),(2134,42,1,23,'',0,7,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-18 01:33:09',0,'2016-08-18 01:34:56',1,'',0,'AP20160800000055',0),(2135,43,1,23,'',0,8,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,150,0,0,0,0,28,'2016-08-18 01:33:24',0,'2016-08-18 01:34:57',1,'',0,'AP20160800000056',0),(2136,44,1,23,'',0,9,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,151,0,0,0,0,28,'2016-08-18 01:33:40',0,'2016-08-18 01:34:57',1,'',0,'AP20160800000057',0),(2137,45,1,23,'',0,10,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,152,0,0,0,0,28,'2016-08-18 01:34:00',0,'2016-08-18 01:34:57',1,'',0,'AP20160800000058',0),(2138,46,1,23,'',0,11,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-18 01:34:13',0,'2016-08-18 01:34:57',1,'',0,'AP20160800000059',0),(2139,47,1,23,'',0,12,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-18 01:34:49',0,'2016-08-18 01:34:57',1,'',0,'AP20160800000060',0),(2140,48,1,23,'',0,100,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-18 01:54:40',0,'2016-08-18 01:57:09',1,'',0,'AP20160800000061',0),(2141,49,1,23,'',0,300,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-18 01:56:07',0,'2016-08-18 01:57:09',1,'',0,'AP20160800000063',0),(2142,625,1,1,'',0,200,68,'',1,'OP-C','2016-08-18',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-18 02:00:22',0,'2016-08-30 06:49:34',1,'',0,'AP20160800000005',0),(2143,30,1,12,'109',0,12,0,'',3,'TT','2016-08-18',0,0,1,0,0,'',0,0,0,108,0,0,0,0,0,'2016-08-18 04:53:12',0,'2016-08-18 04:53:12',0,'',0,'AP20160800000008',0),(2144,72,1,13,'',0,2080,68,'',0,'OP-E','2016-08-19',0,0,1,0,0,'hihi',0,0,0,126,0,0,0,0,10,'2016-08-19 07:28:53',0,'2016-08-30 01:10:20',0,'',0,'AP20160800000053',0),(2145,73,1,13,'',0,10.6,68,'',1,'OP-E','2016-08-19',0,0,1,0,0,'',0,0,0,126,0,0,0,0,10,'2016-08-19 07:36:16',0,'2016-08-29 01:24:02',1,'',0,'AP20160800000036',0),(2146,74,1,13,'',0,1000,68,'',1,'OP-L','2016-08-19',0,0,1,0,0,'',0,0,0,123,0,0,0,0,10,'2016-08-19 07:37:28',0,'2016-08-29 08:44:40',1,'',0,'AP20160800000037',0),(2147,626,1,1,'',0,1000,68,'',1,'OP-C','2016-08-19',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-19 09:06:45',0,'2016-08-30 06:49:34',1,'',0,'AP20160800000006',0),(2148,627,1,1,'',0,1000,68,'',1,'OP-C','2016-08-19',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-19 09:09:19',0,'2016-08-30 06:49:34',1,'',0,'AP20160800000007',0),(2149,50,1,23,'',0,6800,68,'',1,'OP-C','2016-01-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-09-05 06:27:52',1,'',0,'AP20160100000008',0),(2150,75,1,13,'',0,120,68,'',1,'OP-C','2016-08-10',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,10,'2016-08-22 01:14:02',0,'2016-08-22 01:14:02',0,'',0,'AP20160800000038',0),(2151,51,1,23,'',0,100,68,'',1,'OP-C','2016-01-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-22 01:25:14',0,'2016-09-05 06:27:52',1,'',0,'AP20160100000009',0),(2152,52,1,23,'',0,7700,68,'',1,'OP-C','2016-01-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-22 01:27:21',0,'2016-09-05 06:27:44',1,'',0,'AP20160100000012',0),(2153,53,1,23,'149',0,100,0,'',3,'TT','2016-01-01',0,0,1,0,0,'',0,0,0,148,0,0,0,0,0,'2016-08-22 02:13:09',0,'2016-08-22 02:13:09',0,'',0,'AP20160100000013',0),(2154,54,1,23,'',0,11900,68,'',1,'OP-L','2016-01-01',0,0,1,0,0,'loan payment',0,0,0,148,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-09-05 06:29:01',1,'',0,'AP20160100000016',0),(2155,628,1,1,'',0,1019,68,'',1,'OP-E','2016-08-22',0,0,1,0,0,'',0,0,0,82,0,0,0,0,1,'2016-08-22 06:28:40',0,'2016-08-29 07:56:30',1,'',0,'AP20160800000011',0),(2156,76,1,13,'',0,50,68,'',1,'OP-C','2016-07-12',0,0,1,0,0,'0',0,0,0,126,0,0,0,0,10,'2016-08-26 07:34:16',0,'2016-08-26 07:34:16',0,'',0,'AP20160700000011',0),(2157,629,1,1,'',0,2,68,'',1,'OP-C','2016-08-26',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2016-08-26 11:20:06',0,'2016-08-30 06:49:34',1,'',0,'AP20160800000012',0),(2158,630,1,1,'',0,3,68,'',1,'OP-C','2016-08-26',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2016-08-26 11:38:05',0,'2016-08-30 06:49:34',1,'',0,'AP20160800000013',0),(2159,631,1,1,'',0,3,68,'',1,'OP-C','2016-08-26',0,0,1,0,0,'0',0,0,0,85,0,0,0,0,1,'2016-08-26 11:39:04',0,'2016-08-30 06:49:34',1,'',0,'AP20160800000014',0),(2160,55,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-29 01:15:09',0,'2016-08-29 01:15:19',1,'',0,'AP20160800000064',0),(2161,56,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-29 01:18:21',0,'2016-08-29 01:18:39',1,'',0,'AP20160800000065',0),(2162,77,1,13,'',0,29,68,'',1,'OP-C','2016-08-12',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-08-29 01:33:49',0,'2016-08-29 03:38:42',1,'',0,'AP20160800000039',0),(2163,57,1,23,'148',0,23,0,'',3,'TT','2016-07-19',0,0,1,0,0,'',0,0,0,149,0,0,0,0,0,'2016-08-29 02:05:29',0,'2016-08-29 05:21:44',0,'',0,'AP20160700000003',0),(2164,58,1,23,'',0,120,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-29 02:33:38',0,'2016-08-29 02:40:16',1,'',0,'AP20160800000067',0),(2165,59,1,23,'',0,120,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-29 02:34:13',0,'2016-08-29 02:40:16',1,'',0,'AP20160800000068',0),(2166,60,1,23,'',0,120,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-29 02:35:08',0,'2016-08-29 02:40:17',1,'',0,'AP20160800000069',0),(2167,61,1,23,'',0,130,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-29 02:36:36',0,'2016-08-29 02:40:17',1,'',0,'AP20160800000070',0),(2168,62,1,23,'',0,115,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-29 02:39:26',0,'2016-08-29 02:40:17',1,'',0,'AP20160800000071',0),(2169,63,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-29 02:40:45',0,'2016-08-29 02:41:07',1,'',0,'AP20160800000072',0),(2170,64,1,23,'',0,200,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-29 02:40:57',0,'2016-08-29 02:41:07',1,'',0,'AP20160800000073',0),(2171,78,1,13,'123',0,79999,0,'',3,'TT','2016-08-29',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-08-29 07:30:07',0,'2016-08-29 07:48:15',0,'',0,'AP20160800000045',0),(2172,632,1,1,'',0,3,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,85,0,0,0,0,1,'2016-08-29 07:46:52',0,'2016-08-29 07:56:30',1,'',0,'AP20160800000015',0),(2173,633,1,1,'',0,3,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'This is Operating Expenses',0,0,0,85,0,0,0,0,1,'2016-08-29 07:47:29',0,'2016-08-29 07:56:30',1,'',0,'AP20160800000016',0),(2174,65,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-29 07:49:08',0,'2016-08-30 02:48:30',1,'',0,'AP20160800000078',0),(2175,66,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-29 07:49:19',0,'2016-08-30 02:48:30',1,'',0,'AP20160800000079',0),(2176,67,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-29 07:49:53',0,'2016-08-30 02:48:30',1,'',0,'AP20160800000080',0),(2177,68,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-29 07:49:58',0,'2016-08-30 02:48:30',1,'',0,'AP20160800000081',0),(2178,69,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-29 07:50:30',0,'2016-08-30 02:48:30',1,'',0,'AP20160800000082',0),(2179,70,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-29 07:51:16',0,'2016-08-30 02:48:30',1,'',0,'AP20160800000083',0),(2180,71,1,23,'',0,100,68,'',1,'OP-C','2016-08-29',0,0,1,0,0,'0',0,0,0,149,0,0,0,0,28,'2016-08-29 07:52:54',0,'2016-08-30 02:48:31',1,'',0,'AP20160800000084',0),(2181,634,1,1,'',0,1,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,82,0,0,0,0,1,'2016-08-29 08:06:02',0,'2016-08-29 08:23:03',1,'',0,'AP20160800000017',0),(2182,635,1,1,'',0,3,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,84,0,0,0,0,1,'2016-08-29 08:15:02',0,'2016-08-29 08:23:03',1,'',0,'AP20160800000018',0),(2183,636,1,1,'',0,2,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,83,0,0,0,0,1,'2016-08-29 08:27:29',0,'2016-08-29 08:42:05',1,'',0,'AP20160800000019',0),(2184,79,1,13,'123',0,23130,0,'',3,'TT','2016-08-29',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-08-29 08:42:49',0,'2016-08-29 09:58:16',0,'',0,'AP20160800000051',0),(2185,80,1,13,'',0,1000,68,'',1,'OP-L','2016-08-19',0,0,1,0,0,'sdasdasdasdasdasd',0,0,0,123,0,0,0,0,10,'2016-08-29 08:43:33',0,'2016-08-29 08:43:33',0,'',0,'AP20160800000048',0),(2186,637,1,1,'',0,1,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,82,0,0,0,0,1,'2016-08-29 08:46:23',0,'2016-08-29 08:48:05',1,'',0,'AP20160800000020',0),(2187,638,1,1,'',0,1,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,84,0,0,0,0,1,'2016-08-29 08:52:20',0,'2016-08-29 08:54:50',1,'',0,'AP20160800000021',0),(2188,639,1,1,'',0,1,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,84,0,0,0,0,1,'2016-08-29 08:54:08',0,'2016-08-29 08:54:50',1,'',0,'AP20160800000022',0),(2189,640,1,1,'',0,2,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,82,0,0,0,0,1,'2016-08-29 08:56:06',0,'2016-08-29 09:26:39',1,'',0,'AP20160800000023',0),(2190,641,1,1,'',0,2,68,'',1,'OP-E','2016-08-29',0,0,1,0,0,'To update remarks',0,0,0,82,0,0,0,0,1,'2016-08-29 08:56:52',0,'2016-08-29 09:26:39',1,'',0,'AP20160800000024',0),(2191,642,1,1,'',0,2,68,'',0,'OP-E','2016-08-29',0,0,1,0,0,'',0,0,0,82,0,0,0,0,1,'2016-08-29 09:10:36',0,'2016-08-29 09:26:39',1,'',0,'AP20160800000025',0),(2192,643,1,1,'',0,2,68,'',0,'OP-E','2016-08-29',0,0,1,0,0,'To update remarks',0,0,0,82,0,0,0,0,1,'2016-08-29 09:27:16',0,'2016-08-29 09:34:34',1,'',0,'AP20160800000027',0),(2193,72,1,23,'',0,100,68,'',33019,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-08-30 02:45:12',0,'2016-08-30 02:48:31',1,'',0,'AP20160800000092',0),(2194,81,1,13,'126',0,12331,0,'',3,'TT','2016-08-30',0,0,1,0,0,'',0,0,0,123,0,0,0,0,0,'2016-08-30 02:45:45',0,'2016-08-30 02:45:46',0,'',0,'AP20160800000054',0),(2195,644,1,1,'',0,2,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 06:40:30',0,'2016-08-30 06:49:34',1,'',0,'AP20160800000029',0),(2196,645,1,1,'',0,5,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-30 07:17:55',0,'2016-08-30 07:25:19',1,'',0,'AP20160800000031',0),(2198,646,1,1,'',0,110,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 07:35:23',0,'2016-08-30 08:19:19',1,'',0,'AP20160800000036',0),(2199,647,1,1,'',0,2,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:24:11',0,'2016-08-30 08:33:54',1,'',0,'AP20160800000037',0),(2200,648,1,1,'',0,1,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-08-30 08:24:46',0,'2016-08-30 08:33:54',1,'',0,'AP20160800000038',0),(2201,649,1,1,'',0,5,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:31:17',0,'2016-08-30 08:33:54',1,'',0,'AP20160800000040',0),(2202,650,1,1,'',0,5,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:36:50',0,'2016-08-30 08:39:18',1,'',0,'AP20160800000042',0),(2203,651,1,1,'',0,5,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:39:46',0,'2016-08-30 08:57:18',1,'',0,'AP20160800000044',0),(2204,652,1,1,'',0,2,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:42:31',0,'2016-08-30 08:57:18',1,'',0,'AP20160800000046',0),(2205,653,1,1,'',0,2,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:46:09',0,'2016-08-30 08:57:18',1,'',0,'AP20160800000048',0),(2206,654,1,1,'',0,1,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:47:13',0,'2016-08-30 08:57:18',1,'',0,'AP20160800000049',0),(2207,655,1,1,'',0,1,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:49:18',0,'2016-08-30 08:57:18',1,'',0,'AP20160800000050',0),(2208,656,1,1,'',0,100,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 08:51:10',0,'2016-08-30 08:57:18',1,'',0,'AP20160800000055',0),(2209,657,1,1,'',0,10000,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,84,0,0,0,0,1,'2016-08-30 08:57:46',0,'2016-08-30 09:02:30',1,'',0,'AP20160800000059',0),(2210,658,1,1,'',0,1,68,'',0,'OP-E','2016-08-30',0,0,1,0,0,'To add remarks',0,0,0,82,0,0,0,0,1,'2016-08-30 09:05:42',0,'2016-08-30 09:07:42',1,'',0,'AP20160800000061',0),(2211,659,1,1,'',0,1,68,'',0,'OP-E','2016-08-30',0,0,1,0,0,'',0,0,0,83,0,0,0,0,1,'2016-08-30 09:07:35',0,'2016-08-30 09:07:42',1,'',0,'AP20160800000062',0),(2212,660,1,1,'',0,2,68,'',32527,'OP-C','2016-08-30',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-08-30 09:20:13',0,'2016-08-30 09:20:23',1,'',0,'AP20160800000063',0),(2213,73,1,23,'',0,100,68,'',33019,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-09-01 01:29:29',0,'2016-09-01 02:34:49',1,'',0,'AP20160900000002',0),(2214,74,1,23,'',0,3342,68,'',33019,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-09-01 01:32:37',0,'2016-09-01 02:35:01',1,'',0,'AP20160900000007',0),(2215,83,1,13,'',0,123,68,'',32773,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-01 01:33:51',0,'2016-09-01 01:33:51',0,'',0,'AP160900000001',0),(2216,75,1,23,'',0,1000,68,'',0,'OP-E','2016-09-01',0,0,1,0,0,'',0,0,0,148,0,0,0,0,28,'2016-09-01 01:53:53',0,'2016-09-05 06:28:17',1,'',0,'AP20160900000008',0),(2217,84,1,13,'',0,123,68,'',32773,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-01 01:53:59',0,'2016-09-05 06:33:26',1,'',0,'AP20160900000002',0),(2218,76,1,23,'',0,1090,68,'',0,'OP-E','2016-10-07',0,0,1,0,0,'',0,0,0,148,0,0,0,0,28,'2016-09-01 01:56:18',0,'2016-09-01 01:56:18',0,'',0,'AP161000000001',0),(2219,77,1,23,'',0,1000,68,'',0,'OP-A','2016-09-01',0,0,1,0,0,'',0,0,0,148,0,0,0,0,28,'2016-09-01 01:57:30',0,'2016-09-05 06:28:39',1,'',0,'AP20160900000009',0),(2220,78,1,23,'',0,19092,68,'',0,'OP-L','2016-09-01',0,0,1,0,0,'',0,0,0,148,0,0,0,0,28,'2016-09-01 02:03:19',0,'2016-09-01 02:04:07',0,'',0,'AP20160900000011',0),(2221,661,1,1,'',0,1,68,'',32527,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-09-01 02:13:21',0,'2016-09-01 02:16:17',1,'',0,'AP160900000001',0),(2222,662,1,1,'',0,1,68,'',32527,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-09-01 02:14:02',0,'2016-09-01 02:16:17',1,'',0,'AP20160900000002',0),(2223,663,1,1,'',0,1,68,'',32527,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,83,0,0,0,0,1,'2016-09-01 02:16:06',0,'2016-09-01 02:16:17',1,'',0,'AP20160900000003',0),(2224,664,1,1,'',0,1,68,'',32527,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-09-01 02:17:35',0,'2016-09-01 02:17:51',1,'',0,'AP20160900000004',0),(2225,665,1,1,'',0,1,68,'',32527,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-09-01 02:18:12',0,'2016-09-05 06:25:31',1,'',0,'AP20160900000005',0),(2226,666,1,1,'',0,1,68,'',32527,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-09-01 02:22:33',0,'2016-09-07 08:00:44',1,'',0,'AP20160900000006',0),(2227,667,1,1,'',0,1,68,'',32527,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-09-01 02:24:28',0,'2016-09-05 06:26:11',1,'',0,'AP20160900000007',0),(2228,79,1,23,'',0,100,68,'',33019,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-09-01 02:35:54',0,'2016-09-01 02:36:29',1,'',0,'AP20160900000012',0),(2229,80,1,23,'',0,100,68,'',33019,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-09-01 02:36:47',0,'2016-09-01 02:37:26',1,'',0,'AP20160900000013',0),(2230,81,1,23,'',0,12121,68,'',33019,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-09-01 02:37:14',0,'2016-09-01 02:37:49',1,'',0,'AP20160900000014',0),(2231,82,1,23,'',0,100,68,'',33019,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-09-01 02:38:09',0,'2016-09-01 02:38:39',1,'',0,'AP20160900000015',0),(2232,83,1,23,'',0,200,68,'',33019,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-09-01 02:38:28',0,'2016-09-01 02:38:46',1,'',0,'AP20160900000016',0),(2233,668,1,1,'',0,10000,68,'',0,'OP-L','2016-09-01',0,0,1,0,0,'',0,0,0,82,0,0,0,0,1,'2016-09-01 07:06:59',0,'2016-09-01 07:06:59',0,'',0,'AP20160900000008',0),(2234,85,1,13,'',0,123,68,'',32773,'OP-C','2016-09-02',0,0,1,0,0,'0',0,0,0,123,0,0,0,0,10,'2016-09-02 02:15:48',0,'2016-09-05 06:29:45',1,'',0,'AP20160900000003',0),(2237,86,1,13,'122',0,1234,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:14:32',0,'2016-09-02 03:14:33',0,'',0,'AP20160900000008',0),(2243,87,1,13,'123',0,4444,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:51:32',0,'2016-09-02 03:51:32',0,'',0,'AP20160900000014',0),(2244,88,1,13,'123',0,421,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:54:52',0,'2016-09-02 03:54:53',0,'',0,'AP20160900000015',0),(2245,89,1,13,'123',0,66667,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 04:02:34',0,'2016-09-02 04:03:11',0,'',0,'AP20160900000017',0),(2246,84,1,23,'',0,100,68,'',33019,'OP-C','2016-09-05',0,0,1,0,0,'0',0,0,0,148,0,0,0,0,28,'2016-09-05 06:21:55',0,'2016-09-05 06:27:21',1,'',0,'AP20160900000017',0),(2247,85,1,23,'',0,100,68,'',0,'OP-E','2016-09-05',0,0,1,0,0,'pening dah aku',0,0,0,148,0,0,0,0,28,'2016-09-05 06:24:43',0,'2016-09-05 06:28:05',1,'',0,'AP20160900000018',0),(2248,90,1,13,'',0,100,68,'',0,'OP-E','2016-09-05',0,0,1,0,0,'',0,0,0,122,0,0,0,0,10,'2016-09-05 06:27:20',0,'2016-09-05 06:27:20',0,'',0,'AP20160900000018',0),(2249,91,1,13,'',0,100,68,'',32773,'OP-C','2016-09-05',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-05 06:28:45',0,'2016-09-05 06:28:52',1,'',0,'AP20160900000019',0),(2250,92,1,13,'',0,150,68,'',32773,'OP-C','2016-09-07',0,0,1,0,0,'0',0,0,0,126,0,0,0,0,10,'2016-09-07 09:35:06',0,'2016-09-07 09:35:07',0,'',0,'AP20160900000020',0),(2251,93,1,13,'',0,100,68,'',32773,'OP-C','2016-09-08',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-08 07:22:59',0,'2016-09-08 07:22:59',0,'',0,'AP20160900000021',0),(2252,94,1,13,'',0,200,68,'',32773,'OP-C','2016-09-08',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-08 07:28:10',0,'2016-09-08 07:28:10',0,'',0,'AP20160900000022',0),(2253,95,1,13,'',0,321,68,'',32773,'OP-C','2016-09-09',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-09 01:40:43',0,'2016-09-09 01:40:44',0,'',0,'AP20160900000023',0),(2254,96,1,13,'',0,420,68,'',32773,'OP-C','2016-09-09',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-09 04:22:03',0,'2016-09-09 04:22:18',0,'',0,'AP20160900000025',0),(2255,97,1,13,'',0,1300,68,'',32773,'OP-C','2016-09-15',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-15 02:26:20',0,'2016-09-15 02:26:50',0,'',0,'AP20160900000027',0),(2256,98,1,13,'',0,1380,68,'',32773,'OP-C','2016-09-15',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-15 02:32:21',0,'2016-09-15 02:33:21',0,'',0,'AP20160900000029',0),(2257,99,1,13,'',0,4390,68,'',32773,'OP-C','2016-09-19',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-19 04:28:48',0,'2016-09-19 04:28:48',0,'',0,'AP20160900000030',0),(2258,669,1,1,'83',0,100,0,'',3,'TT','2016-09-23',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2016-09-23 02:50:23',0,'2016-09-23 02:50:23',0,'',0,'AP20160900000009',0),(2259,100,1,13,'123',0,123,0,'',3,'TT','2016-09-26',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-26 02:18:26',0,'2016-09-26 02:18:26',0,'',0,'AP20160900000031',0),(2260,101,1,13,'',0,123,68,'',32773,'OP-C','2016-09-01',0,0,1,0,0,'0',0,0,0,122,0,0,0,0,10,'2016-09-26 02:26:14',0,'2016-09-26 02:26:14',0,'',0,'AP20160900000032',0),(2261,1,1,39,'',0,150,68,'',33322,'OP-C','2016-09-26',0,0,1,0,0,'0',0,0,0,172,0,0,0,0,28,'2016-09-26 07:16:21',0,'2016-09-26 07:17:03',0,'',0,'AP20160900000002',0),(2262,31,1,12,'',0,1777,68,'',32584,'OP-C','2016-09-26',0,0,1,0,0,'0',0,0,0,108,0,0,0,0,11,'2016-09-26 07:33:55',0,'2016-09-27 01:32:15',0,'',0,'AP20160900000006',0),(2263,2,1,39,'',0,1893,68,'',33322,'OP-C','2016-09-26',0,0,1,0,0,'0',0,0,0,173,0,0,0,0,28,'2016-09-26 07:45:40',0,'2016-09-27 01:16:21',0,'',0,'AP20160900000008',0),(2264,3,1,39,'174',0,200,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,173,0,0,0,0,0,'2016-09-27 00:54:43',0,'2016-09-27 01:22:56',0,'',0,'AP20160900000009',0),(2265,4,1,39,'',0,1000,68,'',0,'OP-L','2016-09-27',0,0,1,0,0,'',0,0,0,172,0,0,0,0,28,'2016-09-27 01:30:27',0,'2016-09-27 01:31:24',0,'',0,'AP20160900000011',0),(2266,5,1,39,'',0,1500,68,'',33322,'OP-C','2016-09-27',0,0,1,0,0,'0',0,0,0,172,0,0,0,0,28,'2016-09-27 02:23:41',0,'2016-09-27 02:24:04',0,'',0,'AP20160900000013',0),(2267,6,1,39,'173',0,2000,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,172,0,0,0,0,0,'2016-09-27 02:24:49',0,'2016-09-27 02:25:07',0,'',0,'AP20160900000015',0),(2268,7,1,39,'172',0,150,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,174,0,0,0,0,0,'2016-09-27 02:25:57',0,'2016-09-27 02:26:12',0,'',0,'AP20160900000017',0),(2269,32,1,12,'109',0,56,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,0,'2016-09-27 02:33:46',0,'2016-09-27 02:35:47',0,'',0,'AP20160900000010',0),(2270,33,1,12,'109',0,44,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,0,'2016-09-27 02:36:19',0,'2016-09-27 02:36:45',0,'',0,'AP20160900000012',0),(2271,34,1,12,'110',0,233,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,0,'2016-09-27 02:37:33',0,'2016-09-27 02:39:13',0,'',0,'AP20160900000014',0),(2272,35,1,12,'111',0,222,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,0,'2016-09-27 02:40:10',0,'2016-09-27 02:40:10',0,'',0,'AP20160900000015',0),(2273,36,1,12,'110',0,44,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,0,'2016-09-27 03:01:22',0,'2016-09-27 03:01:22',0,'',0,'AP20160900000016',0),(2274,37,1,12,'',0,100,68,'',0,'OP-L','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,11,'2016-09-27 04:38:50',0,'2016-09-27 04:38:50',0,'',0,'AP20160900000017',0),(2275,38,1,12,'',0,122,68,'',0,'OP-L','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,11,'2016-09-27 04:41:32',0,'2016-09-27 04:41:32',0,'',0,'AP20160900000018',0),(2276,39,1,12,'',0,110,68,'',0,'OP-L','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,11,'2016-09-27 04:44:00',0,'2016-09-27 04:45:31',0,'',0,'AP20160900000020',0),(2277,40,1,12,'',0,233,68,'',0,'OP-L','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,11,'2016-09-27 04:46:15',0,'2016-09-27 04:46:15',0,'',0,'AP20160900000021',0),(2278,8,1,39,'173',0,349,0,'',3,'TT','2016-09-27',0,0,1,0,0,'',0,0,0,172,0,0,0,0,0,'2016-09-27 04:49:22',0,'2016-09-27 04:49:22',0,'',0,'AP20160900000018',0),(2279,41,1,12,'',0,899,68,'',0,'OP-L','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,11,'2016-09-27 06:56:30',0,'2016-09-27 06:56:30',0,'',0,'AP20160900000022',0),(2280,42,1,12,'',0,1370,68,'',0,'OP-L','2016-09-27',0,0,1,0,0,'',0,0,0,108,0,0,0,0,11,'2016-09-27 07:00:45',0,'2016-09-27 07:12:38',0,'',0,'AP20160900000028',0),(2281,9,1,39,'',0,700,68,'',33322,'OP-C','2016-09-27',0,0,1,0,0,'0',0,0,0,172,0,0,0,0,28,'2016-09-27 07:25:11',0,'2016-09-27 07:25:31',0,'',0,'AP20160900000020',0),(2282,10,1,39,'',0,239,68,'',0,'OP-E','2016-09-27',0,0,1,0,0,'',0,0,0,172,0,0,0,0,28,'2016-09-27 07:26:38',0,'2016-09-27 07:26:59',0,'',0,'AP20160900000022',0),(2283,11,1,39,'',0,395,68,'',0,'OP-A','2016-09-27',0,0,1,0,0,'',0,0,0,172,0,0,0,0,28,'2016-09-27 07:27:44',0,'2016-09-27 07:28:09',0,'',0,'AP20160900000024',0),(2284,12,1,39,'',0,999,68,'',0,'OP-L','2016-09-27',0,0,1,0,0,'howow!',0,0,0,172,0,0,0,0,28,'2016-09-27 07:29:13',0,'2016-09-27 07:29:33',0,'',0,'AP20160900000026',0),(2285,1,1,40,'',0,450,68,'',33385,'OP-C','2016-09-29',0,0,1,0,0,'0',0,0,0,179,0,0,0,0,28,'2016-09-29 01:18:46',0,'2016-10-10 08:33:14',1,'',0,'AP20160900000002',0),(2286,2,1,40,'',0,450,68,'',33385,'OP-C','2016-09-29',0,0,1,0,0,'0',0,0,0,179,0,0,0,0,28,'2016-09-29 01:19:27',0,'2016-10-10 09:18:03',1,'',0,'AP20160900000004',0),(2287,3,1,40,'',0,250,68,'',0,'OP-E','2016-09-29',0,0,1,0,0,'',0,0,0,179,0,0,0,0,28,'2016-09-29 01:30:37',0,'2016-09-29 01:30:37',0,'',0,'AP20160900000005',0),(2288,4,1,40,'',0,100,68,'',0,'OP-E','2016-09-29',0,0,1,0,0,'',0,0,0,179,0,0,0,0,28,'2016-09-29 01:31:01',0,'2016-09-29 01:31:01',0,'',0,'AP20160900000006',0),(2289,5,1,40,'',0,1500,68,'',0,'OP-E','2016-09-29',0,0,1,0,0,'',0,0,0,179,0,0,0,0,28,'2016-09-29 01:31:36',0,'2016-09-29 01:31:36',0,'',0,'AP20160900000007',0),(2290,6,1,40,'',0,1197,68,'',33385,'OP-C','2016-09-29',0,0,1,0,0,'0',0,0,0,179,0,0,0,0,28,'2016-09-29 01:37:23',0,'2016-09-29 01:41:26',0,'',0,'AP20160900000012',0),(2291,7,1,40,'',0,275,68,'',33385,'OP-C','2016-09-29',0,0,1,0,0,'0',0,0,0,179,0,0,0,0,28,'2016-09-29 01:38:37',0,'2016-10-10 09:18:31',1,'',0,'AP20160900000013',0),(2292,8,1,40,'',0,300,68,'',33385,'OP-C','2016-09-29',0,0,1,0,0,'0',0,0,0,179,0,0,0,0,28,'2016-09-29 01:39:47',0,'2016-10-10 09:18:03',1,'',0,'AP20160900000010',0),(2293,9,1,40,'',0,150000,68,'',0,'OP-A','2016-09-29',0,0,1,0,0,'',0,0,0,180,0,0,0,0,28,'2016-09-29 03:41:58',0,'2016-09-29 03:41:59',0,'',0,'AP20160900000014',0),(2294,10,1,40,'181',0,5000,0,'',3,'TT','2016-09-29',0,0,1,0,0,'',0,0,0,179,0,0,0,0,0,'2016-09-29 04:01:41',0,'2016-09-29 04:01:42',0,'',0,'AP20160900000015',0),(2295,11,1,40,'',0,1300,68,'',0,'OP-L','2016-09-29',0,0,1,0,0,'',0,0,0,180,0,0,0,0,28,'2016-09-29 04:03:59',0,'2016-09-29 04:03:59',0,'',0,'AP20160900000016',0),(2296,12,1,40,'',0,3000,68,'',0,'OP-L','2016-09-29',0,0,1,0,0,'',0,0,0,180,0,0,0,0,28,'2016-09-29 04:27:37',0,'2016-09-29 04:27:38',0,'',0,'AP20160900000017',0),(2298,13,1,40,'181',0,100,0,'',3,'TT','2016-10-04',0,0,1,0,0,'',0,0,0,180,0,0,0,0,0,'2016-10-04 07:44:22',0,'2016-10-04 07:44:22',0,'',0,'AP20161000000002',0),(2299,14,1,40,'',0,1,68,'',0,'OP-E','2016-10-10',0,0,1,0,0,'fdadsadsada',0,0,0,179,0,0,0,0,28,'2016-10-10 04:57:10',0,'2016-10-10 04:57:10',0,'',0,'AP20161000000003',0),(2300,670,1,1,'',0,1000,68,'',32527,'OP-C','2016-10-10',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-10-10 08:19:24',0,'2016-10-10 08:22:13',1,'',0,'AP20161000000013',0),(2317,671,1,1,'',0,999,68,'',32527,'OP-C','2016-10-10',0,0,1,0,0,'0',0,0,0,82,0,0,0,0,1,'2016-10-10 08:23:43',0,'2016-10-10 08:23:50',1,'',0,'AP20161000000014',0),(2318,15,1,40,'hai saya fad hai hai',0,540,68,'',33385,'OP-C','2016-10-11',0,0,1,0,0,'0',0,0,0,179,0,0,0,0,28,'2016-10-11 07:17:06',0,'2016-10-11 07:22:38',0,'',0,'AP20161000000006',0),(2351,16,1,40,'Aminah',0,8500,68,'',33385,'OP-C','2016-10-12',0,0,1,0,0,'0',0,0,0,179,0,0,0,0,28,'2016-10-12 07:47:46',0,'2016-10-12 07:47:47',0,'',0,'AP20161000000007',0),(2367,17,1,40,'0',0,1000,68,'',0,'OP-E','2016-10-17',0,0,1,0,0,'wow',0,0,0,179,0,0,0,0,28,'2016-10-17 08:04:02',0,'2016-10-17 08:04:02',0,'',0,'AP20161000000008',0);
/*!40000 ALTER TABLE `comp_payment_others` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_payo_add_serialNo` BEFORE INSERT ON `comp_payment_others`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_payment_others 

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_payment_others_bak`
--

DROP TABLE IF EXISTS `comp_payment_others_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `otherPaymentType` smallint(6) NOT NULL COMMENT '0=with item. 1=without item',
  `companyID` int(11) NOT NULL,
  `payTo` text NOT NULL,
  `projectID` int(11) NOT NULL,
  `amountPaid` double NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `paymentDate` date NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `locationID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `simplifiedTax` int(1) NOT NULL DEFAULT '0',
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `bankId` int(11) NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalPaid` double NOT NULL,
  `totalApplied` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `accountDescription` varchar(128) NOT NULL,
  `paymentID` int(11) NOT NULL,
  `journalNo` varchar(32) NOT NULL,
  `reconcile` smallint(6) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others_bak`
--

LOCK TABLES `comp_payment_others_bak` WRITE;
/*!40000 ALTER TABLE `comp_payment_others_bak` DISABLE KEYS */;
INSERT INTO `comp_payment_others_bak` VALUES (1151,1,0,1,'sdfgsg sdfgsd gsdfg sdgf ',0,0,0,'',0,'','0000-00-00',1,0,0,0,0,'',0,0,0,0,0,0,0,0,0,'2015-11-25 02:40:02',0,'0000-00-00 00:00:00',0,'',0,'',0,0),(1477,258,0,1,'82',0,100,0,'',3,'TT','2015-12-03',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-03 02:09:59',0,'2015-12-03 02:10:00',0,'',0,'AP20151200000097',0,0),(1456,239,0,1,'83',0,10000,0,'',3,'TT','2015-06-02',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-02 03:59:08',0,'2015-12-02 04:51:18',0,'',0,'AP20151200000077',0,0),(1457,240,0,1,'83',0,3250,0,'',3,'TT','2015-01-01',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-02 04:05:20',0,'2015-12-03 05:33:24',0,'',0,'AP20150100000002',0,0),(1476,257,0,1,'83',0,100,0,'',3,'TT','2015-01-01',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-03 01:37:14',0,'2015-12-03 05:17:14',0,'',0,'AP20151200000102',0,0),(1480,259,0,1,'83',0,1000,0,'',3,'TT','2015-03-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-03 02:30:49',0,'2015-12-03 02:30:49',0,'',0,'AP20151200000100',0,0),(1485,264,0,1,'85',0,9999,0,'',3,'TT','2015-04-01',0,0,1,0,0,'',0,0,0,84,0,0,0,0,0,'2015-12-03 06:08:22',0,'2015-12-03 06:08:23',0,'',0,'AP20150400000001',0,0),(1486,265,0,1,'86',0,10000,0,'',3,'TT','2015-04-15',0,0,1,0,0,'',0,0,0,85,0,0,0,0,0,'2015-12-03 06:22:45',0,'2015-12-03 06:25:11',0,'',0,'AP20150400000003',0,0),(1487,264,0,1,'86',0,100,0,'',3,'TT','2015-01-02',0,0,1,0,0,'',0,0,0,85,0,0,0,0,0,'2015-12-03 08:05:41',0,'2015-12-03 08:05:41',0,'',0,'AP20150100000003',0,0),(1489,266,0,1,'84',0,800,0,'',3,'LR','2015-12-03',0,0,1,0,0,'',0,0,0,32521,0,0,0,0,0,'2015-12-03 08:26:23',0,'2015-12-03 08:26:23',0,'',0,'AP20151200000104',0,0),(1496,273,0,1,'0',0,800,0,'',3,'LR','2015-12-03',0,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-12-03 08:47:19',0,'2015-12-03 08:47:19',0,'',0,'AP20151200000106',0,0),(1497,274,0,1,'82',0,800,0,'',3,'LR','2015-12-03',0,0,1,0,0,'',0,0,0,32521,0,0,0,0,0,'2015-12-03 08:52:42',0,'2015-12-03 08:52:42',0,'',0,'AP20151200000107',0,0),(1498,275,0,1,'82',0,800,0,'',3,'LR','2015-12-03',0,0,1,0,0,'',0,0,0,32521,0,0,0,0,0,'2015-12-03 08:53:52',0,'2015-12-03 08:53:53',0,'',0,'AP20151200000108',0,0),(1491,268,0,1,'82',0,800,0,'',3,'TT','2015-12-03',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-03 08:29:59',0,'2015-12-03 08:29:59',0,'',0,'AP20151200000105',0,0),(1503,280,0,1,'84',0,33333,0,'',3,'TT','2015-01-14',0,0,1,0,0,'',0,0,0,83,0,0,0,0,0,'2015-12-04 00:43:12',0,'2015-12-04 01:22:08',0,'',0,'AP20150100000018',0,0),(1502,279,0,1,'83',0,2222,0,'',3,'TT','2015-01-01',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 00:42:50',0,'2015-12-04 01:25:42',0,'',0,'AP20150100000019',0,0),(1504,279,0,1,'84',0,13123,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 01:27:37',0,'2015-12-04 01:27:37',0,'',0,'AP20151200000114',0,0),(1505,280,0,1,'84',0,1214,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,83,0,0,0,0,0,'2015-12-04 01:28:37',0,'2015-12-04 01:28:37',0,'',0,'AP20151200000115',0,0),(1507,280,0,1,'83',0,123123,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 01:52:33',0,'2015-12-04 01:52:34',0,'',0,'AP20151200000117',0,0),(1534,306,0,1,'84',0,34567,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 02:21:28',0,'2015-12-04 02:21:28',0,'',0,'AP20151200000119',0,0),(1554,325,0,1,'83',0,600,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 02:41:58',0,'2015-12-04 02:41:58',0,'',0,'AP20151200000122',0,0),(1572,343,0,1,'84',0,1234567,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,83,0,0,0,0,0,'2015-12-04 02:50:36',0,'2015-12-04 02:50:36',0,'',0,'AP20151200000124',0,0),(1583,354,0,1,'82',0,2134,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,86,0,0,0,0,0,'2015-12-04 03:03:04',0,'2015-12-04 03:03:04',0,'',0,'AP20151200000125',0,0),(1588,358,0,1,'84',0,700,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 03:17:50',0,'2015-12-04 03:17:50',0,'',0,'AP20151200000126',0,0),(1619,387,0,1,'83',0,555.23,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 03:56:59',0,'2015-12-04 03:56:59',0,'',0,'AP20151200000131',0,0),(1625,393,0,1,'83',0,123,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 04:03:59',0,'2015-12-04 04:03:59',0,'',0,'AP20151200000133',0,0),(1635,403,0,1,'83',0,323,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 04:16:49',0,'2015-12-04 04:16:50',0,'',0,'AP20151200000135',0,0),(1636,403,0,1,'84',0,2345,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,86,0,0,0,0,0,'2015-12-04 04:18:30',0,'2015-12-04 04:18:30',0,'',0,'AP20151200000136',0,0),(1656,423,0,1,'83',0,1234,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 06:12:27',0,'2015-12-04 06:12:27',0,'',0,'AP20151200000141',0,0),(1657,424,0,1,'83',0,234234234,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 06:18:30',0,'2015-12-04 06:18:30',0,'',0,'AP20151200000142',0,0),(1658,425,0,1,'83',0,345,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 06:18:49',0,'2015-12-04 06:18:50',0,'',0,'AP20151200000143',0,0),(1659,423,0,1,'83',0,121212,0,'',3,'TT','2015-12-04',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-04 07:47:11',0,'2015-12-04 07:47:11',0,'',0,'AP20151200000144',0,0),(1660,423,0,1,'83',0,3333,0,'',3,'LR','2015-12-04',0,0,1,0,0,'',0,0,0,32525,0,0,0,0,0,'2015-12-04 07:49:27',0,'2015-12-04 07:49:28',0,'',0,'AP20151200000145',0,0),(1715,477,0,1,'83',0,999,0,'',3,'TT','2015-12-07',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2015-12-07 07:53:35',0,'2015-12-07 07:53:35',0,'',0,'AP20151200000159',0,0),(1716,477,0,1,'85',0,999,0,'',3,'TT','2015-01-01',0,0,1,0,0,'',0,0,0,83,0,0,0,0,0,'2015-12-07 07:55:10',0,'2015-12-07 07:55:10',0,'',0,'AP20150100000035',0,0),(1490,267,0,1,'0',0,0,0,'',3,'LR','1970-01-01',0,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-12-03 08:29:10',0,'2015-12-03 08:29:10',0,'',0,'AP19700100000001',0,0),(1492,269,0,1,'0',0,0,0,'',3,'LR','1970-01-01',0,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-12-03 08:33:07',0,'2015-12-03 08:33:07',0,'',0,'AP19700100000002',0,0),(1493,270,0,1,'0',0,0,0,'',3,'LR','1970-01-01',0,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-12-03 08:37:46',0,'2015-12-03 08:37:47',0,'',0,'AP19700100000003',0,0),(1494,271,0,1,'0',0,0,0,'',3,'LR','1970-01-01',0,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-12-03 08:44:02',0,'2015-12-03 08:44:02',0,'',0,'AP19700100000004',0,0),(1495,272,0,1,'0',0,0,0,'',3,'LR','1970-01-01',0,0,1,0,0,'',0,0,0,0,0,0,0,0,0,'2015-12-03 08:44:44',0,'2015-12-03 08:44:44',0,'',0,'AP19700100000005',0,0),(1814,573,0,1,'83',0,222,0,'',3,'TT','2016-04-15',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2016-04-15 02:33:23',0,'2016-04-15 02:33:24',0,'',0,'AP20160400000001',0,0),(1827,585,0,1,'83',0,2000000,0,'',3,'LR','2016-04-26',0,0,1,0,0,'',0,0,0,32524,0,0,0,0,0,'2016-04-26 02:44:45',0,'2016-04-26 02:44:46',0,'',0,'AP20160400000018',0,0),(1826,584,0,1,'82',0,15000000,0,'',3,'LR','2016-04-26',0,0,1,0,0,'',0,0,0,32522,0,0,0,0,0,'2016-04-26 02:43:55',0,'2016-04-26 02:44:11',0,'',0,'AP20160400000017',0,0),(1932,23,0,13,'123',0,566,0,'',3,'LR','2016-06-22',0,0,1,0,0,'',0,0,0,32767,0,0,0,0,0,'2016-06-22 03:12:46',0,'2016-06-22 03:12:47',0,'',0,'AP20160600000075',0,0),(2031,625,0,1,'83',0,100,0,'',3,'TT','2016-08-15',0,0,1,0,0,'',0,0,0,82,0,0,0,0,0,'2016-08-15 07:10:14',0,'2016-08-15 07:10:14',0,'',0,'AP20160800000003',0,0),(1977,55,0,13,'123',0,100,0,'',3,'TT','2016-08-10',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-08-10 05:01:06',0,'2016-08-10 05:01:06',0,'',0,'AP20160800000017',0,0),(2001,62,0,13,'123',0,1,0,'',3,'TT','2016-08-10',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-08-10 07:29:27',0,'2016-08-10 07:29:28',0,'',0,'AP20160800000022',0,0),(2024,14,0,23,'150',0,110,0,'',3,'TT','2016-08-15',0,0,1,0,0,'',0,0,0,148,0,0,0,0,0,'2016-08-15 02:02:07',0,'2016-08-16 02:50:30',0,'',0,'AP20160800000012',0,0),(2030,19,0,23,'148',0,220,0,'',3,'TT','2016-08-15',0,0,1,0,0,'',0,0,0,150,0,0,0,0,0,'2016-08-15 06:49:39',0,'2016-08-16 02:51:51',0,'',0,'AP20160800000013',0,0),(2035,23,0,23,'148',0,66,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,148,0,0,0,0,0,'2016-08-16 02:53:56',0,'2016-08-16 02:53:56',0,'',0,'AP20160800000014',0,0),(2051,29,0,23,'148',0,9090,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,148,0,0,0,0,0,'2016-08-16 04:02:40',0,'2016-08-16 04:02:41',0,'',0,'AP20160800000029',0,0),(1960,4,0,24,'164',0,60,0,'',3,'TT','2016-08-05',0,0,1,0,0,'',0,0,0,162,0,0,0,0,0,'2016-08-05 05:04:35',0,'2016-08-16 06:55:34',0,'',0,'AP20160800000018',0,0),(2075,19,0,24,'162',0,50,0,'',3,'LR','2016-08-16',0,0,1,0,0,'',0,0,0,33139,0,0,0,0,0,'2016-08-16 07:34:05',0,'2016-08-16 07:34:06',0,'',0,'AP20160800000023',0,0),(2038,25,0,23,'148',0,8000,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,149,0,0,0,0,0,'2016-08-16 02:59:54',0,'2016-08-16 03:01:01',0,'',0,'AP20160800000021',0,0),(2036,69,0,13,'122',0,124,0,'',3,'TT','2016-08-16',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-08-16 02:57:00',0,'2016-08-16 03:21:14',0,'',0,'AP20160800000032',0,0),(2044,27,0,23,'149',0,77899,0,'',3,'TT','2016-03-01',0,0,1,0,0,'',0,0,0,148,0,0,0,0,0,'2016-08-16 03:41:07',0,'2016-08-29 05:20:58',0,'',0,'AP20160300000002',0,0),(2235,86,1,13,'123',0,1887342,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:02:44',0,'2016-09-02 03:03:45',0,'',0,'AP20160900000006',0,0),(2236,86,1,13,'123',0,123,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:08:05',0,'2016-09-02 03:08:05',0,'',0,'AP20160900000007',0,0),(2239,88,1,13,'123',0,213,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:17:58',0,'2016-09-02 03:17:58',0,'',0,'AP20160900000010',0,0),(2240,88,1,13,'123',0,41242,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:22:12',0,'2016-09-02 03:22:13',0,'',0,'AP20160900000011',0,0),(2241,89,1,13,'123',0,232,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:30:47',0,'2016-09-02 03:30:48',0,'',0,'AP20160900000012',0,0),(2238,87,1,13,'123',0,3424,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:16:31',0,'2016-09-02 03:16:32',0,'',0,'AP20160900000009',0,0),(2242,88,1,13,'123',0,123,0,'',3,'TT','2016-09-02',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-09-02 03:32:14',0,'2016-09-02 03:32:15',0,'',0,'AP20160900000013',0,0),(2197,82,1,13,'126',0,77777777777,0,'',3,'TT','2016-08-30',0,0,1,0,0,'',0,0,0,122,0,0,0,0,0,'2016-08-30 07:27:05',0,'2016-08-30 07:27:05',0,'',0,'AP20160800000055',0,0),(2297,13,1,40,'181',0,5000,0,'',3,'TT','2016-10-04',0,0,1,0,0,'',0,0,0,180,0,0,0,0,0,'2016-10-04 04:10:19',0,'2016-10-04 04:10:19',0,'',0,'AP20161000000001',0,0);
/*!40000 ALTER TABLE `comp_payment_others_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_others_with_item`
--

DROP TABLE IF EXISTS `comp_payment_others_with_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others_with_item` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `otherPaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `quantity` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others_with_item`
--

LOCK TABLES `comp_payment_others_with_item` WRITE;
/*!40000 ALTER TABLE `comp_payment_others_with_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_payment_others_with_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_others_without_item`
--

DROP TABLE IF EXISTS `comp_payment_others_without_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others_without_item` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `otherPaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `itemdescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxBL` double NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2401 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others_without_item`
--

LOCK TABLES `comp_payment_others_without_item` WRITE;
/*!40000 ALTER TABLE `comp_payment_others_without_item` DISABLE KEYS */;
INSERT INTO `comp_payment_others_without_item` VALUES (1148,1153,1,32511,'Total value',5698,0,0,0,0,5698,1,'2015-11-25 10:17:58',0,'0000-00-00 00:00:00'),(1149,1153,1,32505,'ADasd',32,0,0,0,0,32,1,'2015-11-25 10:17:58',0,'0000-00-00 00:00:00'),(1150,1153,1,32513,'asdfasdf',7921,0,0,0,0,7921,1,'2015-11-25 10:17:58',0,'0000-00-00 00:00:00'),(1151,1154,1,32504,'asdfasdf',77777,0,0,0,0,77777,1,'2015-11-25 10:20:23',0,'0000-00-00 00:00:00'),(1152,1154,1,32505,'asdfasdf',23,0,0,0,0,23,1,'2015-11-25 10:20:23',0,'0000-00-00 00:00:00'),(1153,1160,1,32525,'asdfasdfasfd',12345,0,0,0,0,12345,1,'2015-11-26 02:39:31',0,'0000-00-00 00:00:00'),(1154,1160,1,32522,'ADasd',22,0,0,0,0,22,1,'2015-11-26 02:39:31',0,'0000-00-00 00:00:00'),(1155,1161,1,32530,'ADasd',789456,0,0,0,0,789456,1,'2015-11-26 02:50:12',0,'0000-00-00 00:00:00'),(1156,1162,1,32530,'ADasd',789456,0,0,0,0,789456,1,'2015-11-26 02:50:29',0,'0000-00-00 00:00:00'),(1157,1163,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:45:29',0,'0000-00-00 00:00:00'),(1158,1164,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:47:01',0,'0000-00-00 00:00:00'),(1159,1165,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:47:40',0,'0000-00-00 00:00:00'),(1160,1166,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:47:57',0,'0000-00-00 00:00:00'),(1161,1167,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:48:28',0,'0000-00-00 00:00:00'),(1162,1168,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:48:44',0,'0000-00-00 00:00:00'),(1163,1169,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:48:57',0,'0000-00-00 00:00:00'),(1164,1170,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:49:32',0,'0000-00-00 00:00:00'),(1165,1171,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:49:37',0,'0000-00-00 00:00:00'),(1166,1172,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:50:07',0,'0000-00-00 00:00:00'),(1167,1173,1,32532,'ADasd',897,0,0,0,0,897,1,'2015-11-26 03:51:00',0,'0000-00-00 00:00:00'),(1168,1174,1,32530,'asdfasdf',896,0,0,0,0,896,1,'2015-11-26 03:51:37',0,'0000-00-00 00:00:00'),(1169,1175,1,32530,'asdfasdf',896,0,0,0,0,896,1,'2015-11-26 03:52:09',0,'0000-00-00 00:00:00'),(1170,1176,1,32530,'asdfasdf',896,0,0,0,0,896,1,'2015-11-26 03:52:25',0,'0000-00-00 00:00:00'),(1171,1177,1,32530,'asdfasdf',896,0,0,0,0,896,1,'2015-11-26 03:53:26',0,'0000-00-00 00:00:00'),(1172,1178,1,32533,'ADasd',2589,0,0,0,0,2589,1,'2015-11-26 03:54:06',0,'0000-00-00 00:00:00'),(1173,1179,1,32522,'ADasd',2365,0,0,0,0,2365,1,'2015-11-26 04:18:49',0,'0000-00-00 00:00:00'),(1174,1179,1,32523,'ADasd',5874,0,0,0,0,5874,1,'2015-11-26 04:18:49',0,'0000-00-00 00:00:00'),(1175,1180,1,32531,'ADasd',256,0,0,0,0,256,1,'2015-11-26 06:29:47',0,'0000-00-00 00:00:00'),(1176,1180,1,32535,'zxcvzxcv',522,0,0,0,0,522,1,'2015-11-26 06:29:47',0,'0000-00-00 00:00:00'),(1177,1181,1,32506,'asdfasdfasdf',2365,0,0,0,0,2365,1,'2015-11-26 06:36:02',0,'0000-00-00 00:00:00'),(1178,1181,1,32510,'asdfasdf',5478,0,0,0,0,5478,1,'2015-11-26 06:36:02',0,'0000-00-00 00:00:00'),(1179,1182,1,32525,'zxcvzxcv',8745,0,0,0,0,8745,1,'2015-11-26 06:37:15',0,'0000-00-00 00:00:00'),(1180,1182,1,32524,'ADasd',8745,0,0,0,0,8745,1,'2015-11-26 06:37:15',0,'0000-00-00 00:00:00'),(1181,1183,1,32527,'asdfasdf',899,0,0,0,0,899,1,'2015-11-26 07:24:11',0,'0000-00-00 00:00:00'),(1182,1184,1,32527,'beli',400,0,0,0,0,400,1,'2015-11-26 07:36:37',0,'0000-00-00 00:00:00'),(1183,1185,1,32522,'ADasd',2365,0,0,0,0,2365,1,'2015-11-26 07:52:42',0,'0000-00-00 00:00:00'),(1184,1186,1,32522,'ADasd',2365,0,0,0,0,2365,1,'2015-11-26 07:52:50',0,'0000-00-00 00:00:00'),(1186,1188,1,32522,'ADasd',2365,0,0,0,0,2365,1,'2015-11-26 08:35:54',0,'0000-00-00 00:00:00'),(1187,1189,1,32522,'ADasd',2365,0,0,0,0,2365,1,'2015-11-26 08:40:54',0,'0000-00-00 00:00:00'),(1188,1192,1,32525,'zxcvzxcv',8745,0,0,0,0,8745,1,'2015-11-26 08:44:13',0,'2015-11-26 09:08:43'),(1189,1192,1,32522,'Tesing editing',5478,0,0,0,0,5478,1,'2015-11-26 08:44:13',0,'2015-11-26 09:08:43'),(1190,1192,1,32524,'ADasd',8745,0,0,0,0,8745,1,'2015-11-26 08:44:13',0,'2015-11-26 09:08:43'),(1197,1196,1,32525,'zxcvzxcv',8547,0,0,0,0,8547,1,'2015-11-26 09:28:29',0,'0000-00-00 00:00:00'),(1200,1196,1,32522,'ADasd',6587,0,0,0,0,6587,1,'2015-11-26 09:29:06',0,'0000-00-00 00:00:00'),(1201,1202,0,0,'0',0,0,0,0,0,0,1,'2015-11-26 09:41:53',0,'0000-00-00 00:00:00'),(1202,1203,0,0,'0',0,0,0,0,0,0,1,'2015-11-26 09:42:11',0,'0000-00-00 00:00:00'),(1203,1204,0,0,'0',0,0,0,0,0,0,1,'2015-11-26 09:43:07',0,'0000-00-00 00:00:00'),(1204,1205,0,0,'0',0,0,0,0,0,0,1,'2015-11-26 09:43:43',0,'0000-00-00 00:00:00'),(1205,1206,0,0,'0',0,0,0,0,0,0,1,'2015-11-26 09:44:39',0,'0000-00-00 00:00:00'),(1206,1207,0,0,'0',0,0,0,0,0,0,1,'2015-11-26 09:44:46',0,'0000-00-00 00:00:00'),(1207,1208,0,0,'0',0,0,0,0,0,0,1,'2015-11-26 09:47:42',0,'0000-00-00 00:00:00'),(1208,1209,1,32505,'asdfasdf',123,0,0,0,0,123,1,'2015-11-26 09:55:35',0,'0000-00-00 00:00:00'),(1209,1209,1,32506,'asdfasdf',2365,0,0,0,0,2365,1,'2015-11-26 09:56:02',0,'0000-00-00 00:00:00'),(1211,1210,1,32505,'asdfasdf',236,0,0,0,0,236,1,'2015-11-26 10:00:00',0,'0000-00-00 00:00:00'),(1212,1211,1,32506,'ADasd',123,0,0,0,0,123,1,'2015-11-26 10:03:49',0,'0000-00-00 00:00:00'),(1213,1211,1,32504,'asdfasdf',2365,0,0,0,0,2365,1,'2015-11-26 10:03:49',0,'0000-00-00 00:00:00'),(1214,1212,1,32508,'asdfasdf',456,0,0,0,0,456,1,'2015-11-26 10:08:52',0,'0000-00-00 00:00:00'),(1215,1212,1,32505,'zxcvzxcv',1234,0,0,0,0,1234,1,'2015-11-26 10:08:52',0,'0000-00-00 00:00:00'),(1218,1213,1,32507,'ADasd',2546,0,0,0,0,2546,1,'2015-11-26 10:19:44',0,'0000-00-00 00:00:00'),(1219,1213,1,32506,'asdfasdf',215,0,0,0,0,215,1,'2015-11-26 10:20:56',0,'0000-00-00 00:00:00'),(1220,1213,1,32511,'asdfasdf',214,0,0,0,0,214,1,'2015-11-26 10:21:25',0,'0000-00-00 00:00:00'),(1221,1213,1,32513,'zxcvzxcv',2145,0,0,0,0,2145,1,'2015-11-26 10:22:09',0,'0000-00-00 00:00:00'),(1222,1213,1,32510,'zxcvzxcv',5478,0,0,0,0,5478,1,'2015-11-26 10:22:09',0,'0000-00-00 00:00:00'),(1224,1214,1,32527,'ADasd',2321,0,0,0,0,2321,1,'2015-11-26 10:24:45',0,'0000-00-00 00:00:00'),(1229,1214,1,32527,'This is added after removing one service',1000,0,0,0,0,1000,1,'2015-11-27 02:34:22',0,'0000-00-00 00:00:00'),(1230,1230,1,32529,'This is accounting expense',1234,0,0,0,0,1234,1,'2015-11-27 02:35:30',0,'2015-11-27 04:10:21'),(1232,1230,1,32530,'Advertsing expense',1000,0,0,0,0,1000,1,'2015-11-27 02:36:08',0,'2015-11-27 04:10:21'),(1237,1222,1,32534,'ADasd',12365,0,0,0,0,12365,1,'2015-11-27 02:47:21',0,'0000-00-00 00:00:00'),(1238,1223,0,0,'0',0,0,0,0,0,0,1,'2015-11-27 02:49:40',0,'0000-00-00 00:00:00'),(1239,1224,0,0,'0',0,0,0,0,0,0,1,'2015-11-27 02:49:49',0,'0000-00-00 00:00:00'),(1240,1225,1,32530,'dd',50,0,0,0,0,50,1,'2015-11-27 02:51:50',0,'2015-11-27 03:48:54'),(1241,1225,1,32542,'safasdf',20,0,0,0,0,20,1,'2015-11-27 02:51:50',0,'2015-11-27 03:48:54'),(1242,1225,1,32531,'zxcvzxcv',12,0,0,0,0,12,1,'2015-11-27 02:54:02',0,'2015-11-27 03:48:54'),(1244,1225,1,32535,'ADasd',25,0,0,0,0,25,1,'2015-11-27 02:58:52',0,'2015-11-27 03:48:54'),(1245,1230,1,32532,'ADasd',36,0,0,0,0,36,1,'2015-11-27 03:07:59',0,'2015-11-27 04:10:21'),(1246,1241,1,32529,'ADasd',123,0,0,0,0,123,1,'2015-11-27 04:26:20',0,'0000-00-00 00:00:00'),(1248,1241,1,32530,'ADasd',78,0,0,0,0,78,1,'2015-11-27 04:29:04',0,'0000-00-00 00:00:00'),(1249,1241,1,32537,'ADasd',47,0,0,0,0,47,1,'2015-11-27 04:29:04',0,'0000-00-00 00:00:00'),(1250,1241,1,32530,'ADasd',89,0,0,0,0,89,1,'2015-11-27 04:32:00',0,'0000-00-00 00:00:00'),(1251,1280,1,32529,'ADasd',12,0,0,0,0,12,1,'2015-11-27 04:33:51',0,'2015-11-27 08:46:14'),(1252,1280,1,32534,'ADasd',78,0,0,0,0,78,1,'2015-11-27 04:34:15',0,'2015-11-27 08:46:14'),(1253,1280,1,32532,'Total value',25,0,0,0,0,25,1,'2015-11-27 04:53:41',0,'2015-11-27 08:46:14'),(1254,1244,1,32529,'ADasd',80,0,0,0,0,80,1,'2015-11-27 06:40:44',0,'0000-00-00 00:00:00'),(1255,1245,1,32530,'ADasd',70,0,0,0,0,70,1,'2015-11-27 06:45:30',0,'0000-00-00 00:00:00'),(1256,1246,1,32534,'Another entry',20,0,0,0,0,20,1,'2015-11-27 06:47:13',0,'0000-00-00 00:00:00'),(1257,1246,1,32540,'Testing print button',40,0,0,0,0,40,1,'2015-11-27 06:47:13',0,'0000-00-00 00:00:00'),(1258,1246,1,32539,'Another testing entry',30,0,0,0,0,30,1,'2015-11-27 06:48:00',0,'0000-00-00 00:00:00'),(1259,1246,1,32541,'Latest entry',10,0,0,0,0,10,1,'2015-11-27 06:48:18',0,'0000-00-00 00:00:00'),(1260,1247,1,32527,'This is a testing COGS',10,0,0,0,0,10,1,'2015-11-27 06:56:05',0,'0000-00-00 00:00:00'),(1261,1247,1,32527,'another COGS',20,0,0,0,0,20,1,'2015-11-27 06:56:35',0,'0000-00-00 00:00:00'),(1262,1252,1,32527,'beli',596,0,0,0,0,596,1,'2015-11-27 07:02:40',0,'0000-00-00 00:00:00'),(1263,1255,1,32527,'beli',365,0,0,0,0,365,1,'2015-11-27 07:08:13',0,'0000-00-00 00:00:00'),(1264,1256,1,32527,'test',250,0,0,0,0,250,1,'2015-11-27 07:11:37',0,'0000-00-00 00:00:00'),(1265,1259,1,32527,'beli',248,0,0,0,0,248,1,'2015-11-27 07:16:43',0,'0000-00-00 00:00:00'),(1266,1261,1,32527,'beli',680,0,0,0,0,680,1,'2015-11-27 07:24:20',0,'0000-00-00 00:00:00'),(1267,1261,1,32527,'test',2000,0,0,0,0,2000,1,'2015-11-27 07:24:20',0,'0000-00-00 00:00:00'),(1268,1261,1,32527,'barang',3800,0,0,0,0,3800,1,'2015-11-27 07:24:20',0,'0000-00-00 00:00:00'),(1269,1261,1,32527,'lagi',238,0,0,0,0,238,1,'2015-11-27 07:24:20',0,'0000-00-00 00:00:00'),(1270,1267,1,32527,'beli',3600,0,0,0,0,3600,1,'2015-11-27 07:24:40',0,'0000-00-00 00:00:00'),(1271,1268,1,32527,'beli',690,0,0,0,0,690,1,'2015-11-27 07:31:18',0,'0000-00-00 00:00:00'),(1272,1268,1,32527,'lagi',580,0,0,0,0,580,1,'2015-11-27 07:31:18',0,'0000-00-00 00:00:00'),(1273,1269,1,32527,'kdjdhf',268,0,0,0,0,268,1,'2015-11-27 07:32:03',0,'0000-00-00 00:00:00'),(1274,1269,1,32527,'fdgsd',385,0,0,0,0,385,1,'2015-11-27 07:32:03',0,'0000-00-00 00:00:00'),(1275,1269,1,32527,'fgffbv',469,0,0,0,0,469,1,'2015-11-27 07:32:03',0,'0000-00-00 00:00:00'),(1276,1270,1,32527,'dgdgdfg',99999,0,0,0,0,99999,1,'2015-11-27 07:33:26',0,'0000-00-00 00:00:00'),(1277,1270,1,32527,'adfsdfdf',6984,0,0,0,0,6984,1,'2015-11-27 07:33:26',0,'0000-00-00 00:00:00'),(1278,1270,1,32527,'fdfvcv',354,0,0,0,0,354,1,'2015-11-27 07:33:26',0,'0000-00-00 00:00:00'),(1279,1270,1,32527,'vfvfvfgg',584,0,0,0,0,584,1,'2015-11-27 07:33:26',0,'0000-00-00 00:00:00'),(1280,1270,1,32527,'vfvfg',35698,0,0,0,0,35698,1,'2015-11-27 07:33:26',0,'0000-00-00 00:00:00'),(1281,1270,1,32527,'fefef',4580,0,0,0,0,4580,1,'2015-11-27 07:33:26',0,'0000-00-00 00:00:00'),(1285,1272,1,32527,'test3',80,0,0,0,0,80,1,'2015-11-27 07:40:49',0,'0000-00-00 00:00:00'),(1286,1272,1,32527,'test4',30,0,0,0,0,30,1,'2015-11-27 07:41:26',0,'0000-00-00 00:00:00'),(1287,1273,1,32527,'nthghgh',300,0,0,0,0,300,1,'2015-11-27 07:46:54',0,'0000-00-00 00:00:00'),(1288,1273,1,32527,'hgjhgj',500,0,0,0,0,500,1,'2015-11-27 07:46:55',0,'0000-00-00 00:00:00'),(1289,1276,1,32527,'dfgdfg',200,0,0,0,0,200,1,'2015-11-27 07:52:59',0,'0000-00-00 00:00:00'),(1290,1276,1,32527,'dfdsf',300,0,0,0,0,300,1,'2015-11-27 07:52:59',0,'0000-00-00 00:00:00'),(1291,1277,1,32527,'dfsdfdf',2458,0,0,0,0,2458,1,'2015-11-27 08:18:11',0,'0000-00-00 00:00:00'),(1292,1277,1,32527,'ssdfdf',689,0,0,0,0,689,1,'2015-11-27 08:18:11',0,'0000-00-00 00:00:00'),(1293,1278,1,32527,'fgdf',50,0,0,0,0,50,1,'2015-11-27 08:20:00',0,'0000-00-00 00:00:00'),(1294,1272,1,32527,'DFDG',1213,0,0,0,0,1213,1,'2015-11-27 08:33:20',0,'0000-00-00 00:00:00'),(1296,1281,1,32539,'ADasd',123,0,0,0,0,123,1,'2015-11-27 08:46:57',0,'0000-00-00 00:00:00'),(1299,1288,1,32529,'ADasd',123,0,0,0,0,123,1,'2015-11-27 09:22:15',0,'0000-00-00 00:00:00'),(1300,1289,1,32506,'ADasd',80,0,0,0,0,80,1,'2015-11-27 09:28:37',0,'0000-00-00 00:00:00'),(1301,1287,1,32533,'water',300,0,0,0,0,300,1,'2015-11-27 09:31:04',0,'0000-00-00 00:00:00'),(1302,1287,1,32536,'dsfdf',200,0,0,0,0,200,1,'2015-11-27 09:31:04',0,'0000-00-00 00:00:00'),(1303,1290,1,32510,'asdfasdfasfd',70,0,0,0,0,70,1,'2015-11-27 09:32:24',0,'0000-00-00 00:00:00'),(1304,1291,1,32505,'asdfasdfasfd',40,0,0,0,0,40,1,'2015-11-27 09:34:26',0,'0000-00-00 00:00:00'),(1305,1292,1,32507,'zxcvzxcv',20,0,0,0,0,20,1,'2015-11-27 09:36:04',0,'0000-00-00 00:00:00'),(1306,1292,1,32513,'ADasd',10,0,0,0,0,10,1,'2015-11-27 09:36:04',0,'0000-00-00 00:00:00'),(1307,1293,1,32530,'zdsdsf',200,0,0,0,0,200,1,'2015-11-27 09:37:42',0,'0000-00-00 00:00:00'),(1308,1293,1,32532,'afdsfd',58880,0,0,0,0,58880,1,'2015-11-27 09:37:42',0,'0000-00-00 00:00:00'),(1310,1295,1,32507,'Total value',10,0,0,0,0,10,1,'2015-11-27 09:40:24',0,'0000-00-00 00:00:00'),(1311,1296,1,32532,'hjhk',600,0,0,0,0,600,1,'2015-11-27 09:51:06',0,'0000-00-00 00:00:00'),(1315,1299,1,32527,'asdfasdf',10,0,0,0,0,10,1,'2015-11-27 10:29:35',0,'0000-00-00 00:00:00'),(1316,1299,1,32527,'zxcvzxcv',20,0,0,0,0,20,1,'2015-11-27 10:29:35',0,'0000-00-00 00:00:00'),(1317,1300,1,32527,'Total value',70,0,0,0,0,70,1,'2015-11-27 10:36:02',0,'0000-00-00 00:00:00'),(1318,1300,1,32527,'ADasd',60,0,0,0,0,60,1,'2015-11-27 10:36:02',0,'0000-00-00 00:00:00'),(1319,1300,1,32527,'zxcvzxcv',30,0,0,0,0,30,1,'2015-11-27 10:36:02',0,'0000-00-00 00:00:00'),(1321,1301,1,32527,'ADasd',20,0,0,0,0,20,1,'2015-11-27 10:57:14',0,'0000-00-00 00:00:00'),(1322,1302,1,32527,'Total value',10,0,0,0,0,10,1,'2015-11-27 11:01:26',0,'0000-00-00 00:00:00'),(1323,1302,1,32527,'asdfasdfasfd',20,0,0,0,0,20,1,'2015-11-27 11:01:26',0,'0000-00-00 00:00:00'),(1327,1303,1,32527,'Another row after remove',500,0,0,0,0,500,1,'2015-11-27 11:56:03',0,'0000-00-00 00:00:00'),(1329,1304,1,32536,'Testing after remove all',700,0,0,0,0,700,1,'2015-11-27 12:04:33',0,'2015-11-28 04:04:29'),(1330,1304,1,32537,'Normal Adding of row',10,0,0,0,0,10,1,'2015-11-27 12:04:59',0,'0000-00-00 00:00:00'),(1331,1301,1,32527,'Total value12142432',25,0,0,0,0,25,1,'2015-11-27 12:07:18',0,'0000-00-00 00:00:00'),(1332,1305,1,32527,'sayeem 11',200,0,0,0,0,200,1,'2015-11-27 12:09:07',0,'2015-11-27 12:16:51'),(1334,1305,1,32527,'aizat 3',900,0,0,0,0,900,1,'2015-11-27 12:14:09',0,'0000-00-00 00:00:00'),(1337,1307,1,32527,'asdfasdfasfd',10,0,0,0,0,10,1,'2015-11-27 12:20:44',0,'0000-00-00 00:00:00'),(1338,1308,1,32527,'test 1',10,0,0,0,0,10,1,'2015-11-27 12:22:21',0,'2015-11-27 12:23:05'),(1339,1308,1,32527,'test 2',20,0,0,0,0,20,1,'2015-11-27 12:23:05',0,'0000-00-00 00:00:00'),(1340,1308,1,32527,'test 1',30,0,0,0,0,30,1,'2015-11-27 12:23:05',0,'0000-00-00 00:00:00'),(1341,1309,1,32504,'Total value',10,0,0,0,0,10,1,'2015-11-27 12:26:59',0,'0000-00-00 00:00:00'),(1342,1310,1,32504,'Total value',10,0,0,0,0,10,1,'2015-11-27 12:27:11',0,'0000-00-00 00:00:00'),(1343,1311,1,32504,'Total value',10,0,0,0,0,10,1,'2015-11-27 12:27:47',0,'0000-00-00 00:00:00'),(1344,1312,1,32524,'Total value',10,0,0,0,0,10,1,'2015-11-27 12:30:06',0,'0000-00-00 00:00:00'),(1345,1301,1,32527,'hsdbfhdf',58,0,0,0,0,58,1,'2015-11-28 02:41:16',0,'0000-00-00 00:00:00'),(1347,1302,1,32527,'sfdf',68,0,0,0,0,68,1,'2015-11-28 02:58:36',0,'0000-00-00 00:00:00'),(1348,1316,1,32527,'sdfsdfdf',8000,0,0,0,0,8000,1,'2015-11-28 03:02:59',0,'0000-00-00 00:00:00'),(1349,1317,1,32527,'hsdfghjfhg',680,0,0,0,0,680,1,'2015-11-28 03:13:02',0,'0000-00-00 00:00:00'),(1350,1317,1,32527,'hjhj',200,0,0,0,0,200,1,'2015-11-28 03:16:21',0,'0000-00-00 00:00:00'),(1351,1318,1,32527,'lokooko',80,0,0,0,0,80,1,'2015-11-28 03:18:25',0,'0000-00-00 00:00:00'),(1352,1319,1,32531,'DFGFGFG',2000,0,0,0,0,2000,1,'2015-11-28 03:45:17',0,'0000-00-00 00:00:00'),(1353,1319,1,32541,'PETROL',8000,0,0,0,0,8000,1,'2015-11-28 03:45:17',0,'0000-00-00 00:00:00'),(1354,1320,1,32533,'FEFEF3',600,0,0,0,0,600,1,'2015-11-28 03:46:41',0,'0000-00-00 00:00:00'),(1355,1321,1,32504,'Almari pintu',2000,0,0,0,0,2000,1,'2015-11-28 03:54:21',0,'0000-00-00 00:00:00'),(1356,1402,1,32533,'FDFDFDF',800,0,0,0,0,800,1,'2015-11-28 03:55:45',0,'2015-11-30 08:03:14'),(1357,1323,1,32504,'kerusi',300,0,0,0,0,300,1,'2015-11-28 04:06:24',0,'2015-11-28 04:11:08'),(1358,1323,1,32510,'Gas',1,0,0,0,0,1,1,'2015-11-28 04:06:24',0,'2015-11-28 04:11:08'),(1359,1324,1,32533,'zsfdsf',300,0,0,0,0,300,1,'2015-11-28 04:09:03',0,'0000-00-00 00:00:00'),(1360,1323,1,32506,'Lap top',3,0,0,0,0,3,1,'2015-11-28 04:11:08',0,'0000-00-00 00:00:00'),(1362,1326,1,32530,'ada',200,0,0,0,0,200,1,'2015-11-28 04:35:35',0,'0000-00-00 00:00:00'),(1363,1327,1,32521,'wqwqw',20,0,0,0,0,20,1,'2015-11-28 04:49:02',0,'0000-00-00 00:00:00'),(1364,1441,1,32521,'wqwq',1,0,0,0,0,1,1,'2015-11-28 04:49:42',0,'2015-12-01 06:17:52'),(1365,1345,0,82,'sasa',800,0,0,0,0,0,0,'2015-11-30 04:05:26',0,'0000-00-00 00:00:00'),(1366,1347,0,82,'test 01',700,0,0,0,0,0,0,'2015-11-30 04:16:37',0,'0000-00-00 00:00:00'),(1367,1348,0,82,'Test',700,0,0,0,0,0,0,'2015-11-30 04:18:55',0,'0000-00-00 00:00:00'),(1368,1356,0,82,'dsd',70,0,0,0,0,0,0,'2015-11-30 04:24:57',0,'0000-00-00 00:00:00'),(1369,1357,0,81,'asa',36,0,0,0,0,0,0,'2015-11-30 04:27:52',0,'0000-00-00 00:00:00'),(1370,1358,0,82,'asas',800,0,0,0,0,0,0,'2015-11-30 04:29:04',0,'0000-00-00 00:00:00'),(1371,1359,0,0,'test sahee',8000,0,0,0,0,0,0,'2015-11-30 05:10:01',0,'0000-00-00 00:00:00'),(1372,1360,0,32515,'121',1212,0,0,0,0,0,0,'2015-11-30 05:23:13',0,'2015-11-30 05:26:49'),(1373,1361,0,82,'1221',0,0,0,0,0,0,0,'2015-11-30 05:38:13',0,'0000-00-00 00:00:00'),(1374,1362,0,81,'test 1',800,0,0,0,0,0,0,'2015-11-30 05:38:42',0,'0000-00-00 00:00:00'),(1375,1363,0,81,'asa',80,0,0,0,0,0,0,'2015-11-30 05:44:39',0,'0000-00-00 00:00:00'),(1376,1364,0,32515,'asa',800,0,0,0,0,0,0,'2015-11-30 05:50:50',0,'0000-00-00 00:00:00'),(1377,1365,0,32515,'asa',800,0,0,0,0,0,0,'2015-11-30 05:51:18',0,'0000-00-00 00:00:00'),(1378,1372,0,32516,'test 01',800,0,0,0,0,0,0,'2015-11-30 05:53:58',0,'0000-00-00 00:00:00'),(1379,1373,0,32516,'test 3',900,0,0,0,0,0,0,'2015-11-30 05:58:22',0,'0000-00-00 00:00:00'),(1380,1374,0,32515,'test',100,0,0,0,0,0,0,'2015-11-30 06:30:16',0,'0000-00-00 00:00:00'),(1381,1375,0,32518,'te',50,0,0,0,0,0,0,'2015-11-30 06:33:19',0,'0000-00-00 00:00:00'),(1382,1398,0,32517,'asaa',870,0,0,0,0,0,0,'2015-11-30 07:09:13',0,'0000-00-00 00:00:00'),(1384,1403,1,32527,'Sayem test COGS',1000,0,0,0,0,1000,1,'2015-11-30 08:06:10',0,'0000-00-00 00:00:00'),(1385,1404,1,32529,'Total value',500,0,0,0,0,500,1,'2015-11-30 08:07:15',0,'0000-00-00 00:00:00'),(1386,1404,1,32534,'Test operating expenses',500,0,0,0,0,500,1,'2015-11-30 08:07:15',0,'0000-00-00 00:00:00'),(1395,1417,1,32527,'gvdgffg',300,0,0,0,0,300,1,'2015-12-01 01:10:26',0,'2015-12-01 01:14:19'),(1399,1420,1,32527,'fgdfgfgh',600,0,0,0,0,600,1,'2015-12-01 01:49:25',0,'0000-00-00 00:00:00'),(1406,1427,1,32527,'fg',200,0,0,0,0,200,1,'2015-12-01 05:21:48',0,'0000-00-00 00:00:00'),(1407,1428,1,32508,'fff',3000,0,0,0,0,3000,1,'2015-12-01 05:41:11',0,'0000-00-00 00:00:00'),(1408,1429,1,32506,'jkl',500,0,0,0,0,500,1,'2015-12-01 05:41:42',0,'0000-00-00 00:00:00'),(1409,1430,1,32506,'gfh',2,0,0,0,0,2,1,'2015-12-01 05:47:34',0,'0000-00-00 00:00:00'),(1410,1431,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:49',0,'0000-00-00 00:00:00'),(1411,1432,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:50',0,'0000-00-00 00:00:00'),(1412,1433,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:50',0,'0000-00-00 00:00:00'),(1413,1434,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:50',0,'0000-00-00 00:00:00'),(1414,1435,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:51',0,'0000-00-00 00:00:00'),(1415,1436,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:51',0,'0000-00-00 00:00:00'),(1416,1437,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:51',0,'0000-00-00 00:00:00'),(1417,1438,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:51',0,'0000-00-00 00:00:00'),(1418,1439,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:51',0,'0000-00-00 00:00:00'),(1419,1440,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:52',0,'0000-00-00 00:00:00'),(1420,1441,1,32521,'huhi',20,0,0,0,0,20,1,'2015-12-01 06:17:52',0,'0000-00-00 00:00:00'),(1423,1483,1,32527,'test 1',500,0,0,0,0,500,1,'2015-12-01 06:55:57',0,'2015-12-03 05:23:17'),(1437,1458,1,32529,'I don\'t know',50000,0,0,0,0,50000,1,'2015-12-02 04:31:02',0,'0000-00-00 00:00:00'),(1438,1458,1,32535,'No choice',300,0,0,0,0,300,1,'2015-12-02 04:31:02',0,'0000-00-00 00:00:00'),(1439,1474,1,32532,'dsds',600,0,0,0,0,600,92,'2015-12-02 04:36:05',0,'2015-12-02 08:29:58'),(1440,1460,1,32506,'koriss Computer',3500,0,0,0,0,3500,1,'2015-12-02 04:50:36',0,'0000-00-00 00:00:00'),(1441,1460,1,32508,'Testing 02',36.8,0,0,0,0,36.8,1,'2015-12-02 04:50:36',0,'0000-00-00 00:00:00'),(1443,1472,1,32522,'For doua',60000,0,0,0,0,60000,92,'2015-12-02 05:43:26',0,'2015-12-02 08:14:07'),(1444,1472,1,32524,'Feesabillah',50000,0,0,0,0,50000,92,'2015-12-02 05:43:26',0,'2015-12-02 08:14:07'),(1452,1481,1,32527,'test2',1000,0,0,0,0,1000,1,'2015-12-03 02:33:36',0,'0000-00-00 00:00:00'),(1453,1482,1,32521,'tesr',1000,0,0,0,0,1000,1,'2015-12-03 04:31:00',0,'0000-00-00 00:00:00'),(1454,1484,1,32531,'tt',333,0,0,0,0,333,1,'2015-12-03 05:23:50',0,'0000-00-00 00:00:00'),(1458,1488,1,32533,'test',50,0,0,0,0,50,1,'2015-12-03 08:06:49',0,'0000-00-00 00:00:00'),(1470,1500,1,32527,'Cogs 1st week -Jan',950,0,0,0,0,950,1,'2015-12-03 09:10:29',0,'0000-00-00 00:00:00'),(1471,1501,1,32527,'Cogs 2nd week -Jan',880,0,0,0,0,880,1,'2015-12-03 09:10:49',0,'0000-00-00 00:00:00'),(1478,1508,1,32527,'Cogs 3rd week -Jan',850,0,0,0,0,850,1,'2015-12-04 02:00:50',0,'0000-00-00 00:00:00'),(1479,1509,1,32527,'Cogs 4th week -Jan',920,0,0,0,0,920,1,'2015-12-04 02:01:39',0,'0000-00-00 00:00:00'),(1480,1510,1,32533,'tnb & water jan',890,0,0,0,0,890,1,'2015-12-04 02:02:21',0,'0000-00-00 00:00:00'),(1481,1511,1,32533,'tnb & water jan',890,0,0,0,0,890,1,'2015-12-04 02:06:26',0,'0000-00-00 00:00:00'),(1482,1512,1,32527,'Cogs 5th week -Jan',990,0,0,0,0,990,1,'2015-12-04 02:06:34',0,'0000-00-00 00:00:00'),(1483,1513,1,32533,'tnb & water feb',971,0,0,0,0,971,1,'2015-12-04 02:07:17',0,'0000-00-00 00:00:00'),(1484,1514,1,32527,'Cogs 1st week -Feb',902,0,0,0,0,902,1,'2015-12-04 02:07:34',0,'0000-00-00 00:00:00'),(1485,1515,1,32527,'Cogs 2nd week -Feb',893,0,0,0,0,893,1,'2015-12-04 02:08:13',0,'0000-00-00 00:00:00'),(1486,1516,1,32527,'Cogs 3rd week -Feb',921,0,0,0,0,921,1,'2015-12-04 02:09:06',0,'0000-00-00 00:00:00'),(1487,1517,1,32533,'tnb & water mac',886,0,0,0,0,886,1,'2015-12-04 02:10:55',0,'0000-00-00 00:00:00'),(1488,1518,1,32533,'tnb & water mac',989,0,0,0,0,989,1,'2015-12-04 02:11:50',0,'0000-00-00 00:00:00'),(1489,1519,1,32533,'tnb & water apr',870,0,0,0,0,870,1,'2015-12-04 02:12:27',0,'0000-00-00 00:00:00'),(1490,1520,1,32533,'tnb & water may',990,0,0,0,0,990,1,'2015-12-04 02:12:58',0,'0000-00-00 00:00:00'),(1491,1521,1,32533,'tnb & water june',864,0,0,0,0,864,1,'2015-12-04 02:13:36',0,'0000-00-00 00:00:00'),(1492,1522,1,32527,'Cogs 4th week -Feb',931,0,0,0,0,931,1,'2015-12-04 02:13:48',0,'0000-00-00 00:00:00'),(1493,1523,1,32527,'Cogs 1st week -Mar',831,0,0,0,0,831,1,'2015-12-04 02:14:45',0,'0000-00-00 00:00:00'),(1494,1524,1,32533,'tnb & water july',988,0,0,0,0,988,1,'2015-12-04 02:15:16',0,'0000-00-00 00:00:00'),(1495,1525,1,32527,'Cogs 2nd week -Mar',999,0,0,0,0,999,1,'2015-12-04 02:15:24',0,'0000-00-00 00:00:00'),(1496,1526,1,32527,'Cogs 3rd week -Mar',867,0,0,0,0,867,1,'2015-12-04 02:15:56',0,'0000-00-00 00:00:00'),(1497,1527,1,32533,'tnb & water aug',900,0,0,0,0,900,1,'2015-12-04 02:16:05',0,'0000-00-00 00:00:00'),(1498,1528,1,32527,'Cogs 4th week -Mar',920,0,0,0,0,920,1,'2015-12-04 02:16:30',0,'0000-00-00 00:00:00'),(1499,1529,1,32533,'tnb & water sept',985,0,0,0,0,985,1,'2015-12-04 02:19:07',0,'0000-00-00 00:00:00'),(1500,1530,1,32527,'Cogs 1st week -Apr',875,0,0,0,0,875,1,'2015-12-04 02:19:51',0,'0000-00-00 00:00:00'),(1501,1531,1,32527,'Cogs 2nd week -Apr',964,0,0,0,0,964,1,'2015-12-04 02:20:40',0,'0000-00-00 00:00:00'),(1502,1532,1,32527,'Cogs 3rd week -Apr',937,0,0,0,0,937,1,'2015-12-04 02:21:11',0,'0000-00-00 00:00:00'),(1503,1533,1,32533,'tnb & water oct',843,0,0,0,0,843,1,'2015-12-04 02:21:19',0,'0000-00-00 00:00:00'),(1505,1535,1,32527,'Cogs 4th week -Apr',899,0,0,0,0,899,1,'2015-12-04 02:21:51',0,'0000-00-00 00:00:00'),(1506,1536,1,32533,'tnb & water nov',975,0,0,0,0,975,1,'2015-12-04 02:21:59',0,'0000-00-00 00:00:00'),(1507,1537,1,32533,'tnb & water dec',910,0,0,0,0,910,1,'2015-12-04 02:22:33',0,'0000-00-00 00:00:00'),(1508,1538,1,32527,'Cogs 1st week -May',969,0,0,0,0,969,1,'2015-12-04 02:22:36',0,'0000-00-00 00:00:00'),(1509,1539,1,32541,'petrol,parking, tol jan',988,0,0,0,0,988,1,'2015-12-04 02:31:18',0,'0000-00-00 00:00:00'),(1510,1540,1,32541,'petrol,parking, tol feb',867,0,0,0,0,867,1,'2015-12-04 02:31:53',0,'0000-00-00 00:00:00'),(1511,1541,1,32541,'petrol,parking, tol mac',978,0,0,0,0,978,1,'2015-12-04 02:32:28',0,'0000-00-00 00:00:00'),(1512,1542,1,32541,'petrol,parking, tol apr',995,0,0,0,0,995,1,'2015-12-04 02:33:13',0,'0000-00-00 00:00:00'),(1513,1543,1,32527,'Cogs 2nd week -May',909,0,0,0,0,909,1,'2015-12-04 02:33:42',0,'0000-00-00 00:00:00'),(1514,1544,1,32541,'petrol,parking, tol may',897,0,0,0,0,897,1,'2015-12-04 02:33:50',0,'0000-00-00 00:00:00'),(1515,1545,1,32527,'Cogs 3rd week -May',901,0,0,0,0,901,1,'2015-12-04 02:34:14',0,'0000-00-00 00:00:00'),(1516,1546,1,32541,'petrol,parking, tol jun',855,0,0,0,0,855,1,'2015-12-04 02:34:26',0,'0000-00-00 00:00:00'),(1517,1547,1,32527,'Cogs 4th week -May',919,0,0,0,0,919,1,'2015-12-04 02:34:54',0,'0000-00-00 00:00:00'),(1518,1548,1,32541,'petrol,parking, tol jul',859,0,0,0,0,859,1,'2015-12-04 02:34:56',0,'0000-00-00 00:00:00'),(1519,1549,1,32541,'petrol,parking, tol aug',978,0,0,0,0,978,1,'2015-12-04 02:35:34',0,'0000-00-00 00:00:00'),(1520,1550,1,32541,'petrol,parking, tol sept',958,0,0,0,0,958,1,'2015-12-04 02:37:12',0,'0000-00-00 00:00:00'),(1521,1551,1,32541,'petrol,parking, tol oct',987,0,0,0,0,987,1,'2015-12-04 02:37:59',0,'0000-00-00 00:00:00'),(1522,1552,1,32541,'petrol,parking, tol nov',985,0,0,0,0,985,1,'2015-12-04 02:38:57',0,'0000-00-00 00:00:00'),(1523,1797,1,32541,'petrol,parking, tol dec',997,0,0,0,0,997,1,'2015-12-04 02:40:02',0,'2015-12-08 04:15:30'),(1525,1555,1,32545,'rental of equipment jan',800,0,0,0,0,800,1,'2015-12-04 02:42:05',0,'0000-00-00 00:00:00'),(1526,1556,1,32545,'rental of equipment feb',800,0,0,0,0,800,1,'2015-12-04 02:42:48',0,'0000-00-00 00:00:00'),(1527,1557,1,32545,'rental of equipment mac',800,0,0,0,0,800,1,'2015-12-04 02:43:28',0,'0000-00-00 00:00:00'),(1528,1558,1,32545,'rental of equipment apr',800,0,0,0,0,800,1,'2015-12-04 02:44:23',0,'0000-00-00 00:00:00'),(1529,1559,1,32527,'Cogs 5th week -May',870,0,0,0,0,870,1,'2015-12-04 02:44:41',0,'0000-00-00 00:00:00'),(1530,1560,1,32545,'rental of equipment may',800,0,0,0,0,800,1,'2015-12-04 02:44:59',0,'0000-00-00 00:00:00'),(1531,1561,1,32527,'Cogs 1st week -Jun',989,0,0,0,0,989,1,'2015-12-04 02:45:48',0,'0000-00-00 00:00:00'),(1532,1562,1,32545,'rental of equipment jul',800,0,0,0,0,800,1,'2015-12-04 02:45:51',0,'0000-00-00 00:00:00'),(1533,1563,1,32527,'Cogs 2nd week -Jun',877,0,0,0,0,877,1,'2015-12-04 02:46:21',0,'0000-00-00 00:00:00'),(1534,1564,1,32545,'rental of equipment jul',800,0,0,0,0,800,1,'2015-12-04 02:46:29',0,'0000-00-00 00:00:00'),(1535,1565,1,32527,'Cogs 3rd week -Jun',932,0,0,0,0,932,1,'2015-12-04 02:46:49',0,'0000-00-00 00:00:00'),(1536,1566,1,32545,'rental of equipment aug',800,0,0,0,0,800,1,'2015-12-04 02:47:39',0,'0000-00-00 00:00:00'),(1537,1567,1,32545,'rental of equipment sept',800,0,0,0,0,800,1,'2015-12-04 02:48:09',0,'0000-00-00 00:00:00'),(1538,1568,1,32527,'Cogs 4th week -Jun',856,0,0,0,0,856,1,'2015-12-04 02:48:10',0,'0000-00-00 00:00:00'),(1539,1569,1,32545,'rental of equipment oct',800,0,0,0,0,800,1,'2015-12-04 02:48:53',0,'0000-00-00 00:00:00'),(1540,1570,1,32545,'rental of equipment nov',800,0,0,0,0,800,1,'2015-12-04 02:49:36',0,'0000-00-00 00:00:00'),(1541,1571,1,32545,'rental of equipment dec',800,0,0,0,0,800,1,'2015-12-04 02:50:05',0,'2015-12-08 04:26:29'),(1543,1573,1,32546,'rental of office jan',950,0,0,0,0,950,1,'2015-12-04 02:51:24',0,'0000-00-00 00:00:00'),(1544,1574,1,32546,'rental of office feb',950,0,0,0,0,950,1,'2015-12-04 02:52:01',0,'0000-00-00 00:00:00'),(1545,1575,1,32546,'rental of office mac',950,0,0,0,0,950,1,'2015-12-04 02:52:54',0,'0000-00-00 00:00:00'),(1546,1576,1,32546,'rental of office apr',950,0,0,0,0,950,1,'2015-12-04 02:53:30',0,'0000-00-00 00:00:00'),(1547,1577,1,32527,'Cogs 1st week -Jul',879,0,0,0,0,879,1,'2015-12-04 02:53:39',0,'0000-00-00 00:00:00'),(1548,1578,1,32546,'rental of office may',950,0,0,0,0,950,1,'2015-12-04 02:54:22',0,'0000-00-00 00:00:00'),(1549,1579,1,32527,'Cogs 2nd week -Jul',905,0,0,0,0,905,1,'2015-12-04 02:54:41',0,'0000-00-00 00:00:00'),(1550,1580,1,32546,'rental of office june',950,0,0,0,0,950,1,'2015-12-04 02:58:44',0,'0000-00-00 00:00:00'),(1551,1581,1,32527,'Cogs 3rd week -Jul',915,0,0,0,0,915,1,'2015-12-04 02:59:28',0,'0000-00-00 00:00:00'),(1552,1582,1,32527,'Cogs 4th week -Jul',929,0,0,0,0,929,1,'2015-12-04 03:00:06',0,'0000-00-00 00:00:00'),(1554,1584,1,32527,'Cogs 1st week -Aug',833,0,0,0,0,833,1,'2015-12-04 03:09:17',0,'0000-00-00 00:00:00'),(1555,1585,1,32527,'Cogs 2nd week -Aug',843,0,0,0,0,843,1,'2015-12-04 03:14:03',0,'0000-00-00 00:00:00'),(1556,1586,1,32527,'Cogs 3rd week -Aug',979,0,0,0,0,979,1,'2015-12-04 03:15:02',0,'0000-00-00 00:00:00'),(1557,1587,1,32527,'Cogs 4th week -Aug',967,0,0,0,0,967,1,'2015-12-04 03:15:38',0,'0000-00-00 00:00:00'),(1559,1589,1,32546,'rental of office jul',950,0,0,0,0,950,1,'2015-12-04 03:18:01',0,'0000-00-00 00:00:00'),(1560,1590,1,32546,'rental of office aug',950,0,0,0,0,950,1,'2015-12-04 03:19:07',0,'0000-00-00 00:00:00'),(1561,1591,1,32546,'rental of office sept',950,0,0,0,0,950,1,'2015-12-04 03:20:07',0,'0000-00-00 00:00:00'),(1562,1592,1,32546,'rental of office oct',950,0,0,0,0,950,1,'2015-12-04 03:22:46',0,'0000-00-00 00:00:00'),(1563,1593,1,32546,'rental of office nov',950,0,0,0,0,950,1,'2015-12-04 03:23:29',0,'0000-00-00 00:00:00'),(1564,1594,1,32546,'rental of office dec',950,0,0,0,0,950,1,'2015-12-04 03:24:48',0,'0000-00-00 00:00:00'),(1565,1595,1,32527,'Cogs 5th week -Aug',933,0,0,0,0,933,1,'2015-12-04 03:40:49',0,'0000-00-00 00:00:00'),(1566,1596,1,32527,'Cogs 1st week -Sep',999,0,0,0,0,999,1,'2015-12-04 03:41:26',0,'0000-00-00 00:00:00'),(1567,1597,1,32527,'Cogs 2nd week -Sep',869,0,0,0,0,869,1,'2015-12-04 03:42:18',0,'0000-00-00 00:00:00'),(1568,1598,1,32527,'Cogs 3rd week -Sep',849,0,0,0,0,849,1,'2015-12-04 03:42:56',0,'0000-00-00 00:00:00'),(1569,1599,1,32547,'rental of store jul',850,0,0,0,0,850,1,'2015-12-04 03:42:59',0,'0000-00-00 00:00:00'),(1570,1600,1,32547,'rental of store aug',850,0,0,0,0,850,1,'2015-12-04 03:43:36',0,'0000-00-00 00:00:00'),(1571,1601,1,32527,'Cogs 4th week -Sep',839,0,0,0,0,839,1,'2015-12-04 03:43:47',0,'0000-00-00 00:00:00'),(1572,1602,1,32547,'rental of store sept',850,0,0,0,0,850,1,'2015-12-04 03:44:27',0,'0000-00-00 00:00:00'),(1573,1603,1,32527,'Cogs 1st week -Oct',859,0,0,0,0,859,1,'2015-12-04 03:44:29',0,'0000-00-00 00:00:00'),(1574,1604,1,32547,'rental of store oct',850,0,0,0,0,850,1,'2015-12-04 03:44:59',0,'0000-00-00 00:00:00'),(1575,1605,1,32547,'rental of store nov',850,0,0,0,0,850,1,'2015-12-04 03:45:33',0,'0000-00-00 00:00:00'),(1576,1606,1,32547,'rental of store dec',850,0,0,0,0,850,1,'2015-12-04 03:46:10',0,'0000-00-00 00:00:00'),(1577,1607,1,32550,'maxis jan',975,0,0,0,0,975,1,'2015-12-04 03:48:14',0,'0000-00-00 00:00:00'),(1578,1608,1,32550,'maxis feb',865,0,0,0,0,865,1,'2015-12-04 03:48:59',0,'0000-00-00 00:00:00'),(1579,1609,1,32550,'maxis mac',995,0,0,0,0,995,1,'2015-12-04 03:49:50',0,'0000-00-00 00:00:00'),(1580,1611,1,32550,'maxis apr',840,0,0,0,0,840,1,'2015-12-04 03:50:44',0,'0000-00-00 00:00:00'),(1581,1612,1,32550,'maxis may',988,0,0,0,0,988,1,'2015-12-04 03:53:24',0,'0000-00-00 00:00:00'),(1582,1613,1,32550,'maxis june',855,0,0,0,0,855,1,'2015-12-04 03:53:59',0,'0000-00-00 00:00:00'),(1583,1614,1,32550,'maxis jul',972,0,0,0,0,972,1,'2015-12-04 03:54:34',0,'0000-00-00 00:00:00'),(1584,1615,1,32550,'maxis aug',990,0,0,0,0,990,1,'2015-12-04 03:55:06',0,'0000-00-00 00:00:00'),(1585,1616,1,32550,'maxis sept',865,0,0,0,0,865,1,'2015-12-04 03:55:51',0,'0000-00-00 00:00:00'),(1586,1618,1,32550,'maxis oct',840,0,0,0,0,840,1,'2015-12-04 03:56:40',0,'0000-00-00 00:00:00'),(1588,1620,1,32550,'maxis nov',858,0,0,0,0,858,1,'2015-12-04 03:57:08',0,'0000-00-00 00:00:00'),(1589,1621,1,32550,'maxis dec1',1000,0,0,0,0,1000,1,'2015-12-04 03:57:42',0,'2015-12-08 04:16:30'),(1590,1622,1,32552,'salary jan',1000,0,0,0,0,1000,1,'2015-12-04 04:02:08',0,'0000-00-00 00:00:00'),(1591,1623,1,32552,'salary feb',1000,0,0,0,0,1000,1,'2015-12-04 04:02:53',0,'0000-00-00 00:00:00'),(1592,1624,1,32552,'salary mac',1000,0,0,0,0,1000,1,'2015-12-04 04:03:23',0,'0000-00-00 00:00:00'),(1594,1626,1,32552,'salary apr',1000,0,0,0,0,1000,1,'2015-12-04 04:04:02',0,'0000-00-00 00:00:00'),(1595,1627,1,32552,'salary may',1000,0,0,0,0,1000,1,'2015-12-04 04:04:36',0,'0000-00-00 00:00:00'),(1596,1628,1,32552,'salary june',1000,0,0,0,0,1000,1,'2015-12-04 04:05:36',0,'0000-00-00 00:00:00'),(1597,1629,1,32552,'salary july',1000,0,0,0,0,1000,1,'2015-12-04 04:06:10',0,'0000-00-00 00:00:00'),(1598,1630,1,32552,'salary aug',1000,0,0,0,0,1000,1,'2015-12-04 04:06:46',0,'0000-00-00 00:00:00'),(1599,1631,1,32552,'salary sept',1000,0,0,0,0,1000,1,'2015-12-04 04:07:17',0,'0000-00-00 00:00:00'),(1600,1632,1,32552,'salary oct',1000,0,0,0,0,1000,1,'2015-12-04 04:08:04',0,'0000-00-00 00:00:00'),(1601,1633,1,32552,'salary nov',1000,0,0,0,0,1000,1,'2015-12-04 04:08:36',0,'0000-00-00 00:00:00'),(1602,1634,1,32552,'salary dec',1000,0,0,0,0,1000,1,'2015-12-04 04:09:11',0,'0000-00-00 00:00:00'),(1605,1637,1,32553,'epf jan',100,0,0,0,0,100,1,'2015-12-04 04:19:20',0,'0000-00-00 00:00:00'),(1606,1638,1,32553,'epf feb',100,0,0,0,0,100,1,'2015-12-04 04:19:59',0,'0000-00-00 00:00:00'),(1607,1639,1,32553,'epf mac',100,0,0,0,0,100,1,'2015-12-04 04:20:30',0,'0000-00-00 00:00:00'),(1608,1640,1,32553,'epf apr',100,0,0,0,0,100,1,'2015-12-04 04:25:03',0,'0000-00-00 00:00:00'),(1609,1641,1,32553,'epf may',100,0,0,0,0,100,1,'2015-12-04 04:25:40',0,'0000-00-00 00:00:00'),(1610,1642,1,32553,'epf jun',100,0,0,0,0,100,1,'2015-12-04 04:26:51',0,'0000-00-00 00:00:00'),(1611,1643,1,32553,'epf jul',100,0,0,0,0,100,1,'2015-12-04 04:34:54',0,'0000-00-00 00:00:00'),(1612,1644,1,32553,'epf aug',100,0,0,0,0,100,1,'2015-12-04 04:35:23',0,'0000-00-00 00:00:00'),(1613,1645,1,32553,'epf sept',100,0,0,0,0,100,1,'2015-12-04 04:35:51',0,'0000-00-00 00:00:00'),(1614,1646,1,32553,'epf oct',100,0,0,0,0,100,1,'2015-12-04 04:36:34',0,'0000-00-00 00:00:00'),(1615,1647,1,32553,'epf nov',100,0,0,0,0,100,1,'2015-12-04 04:37:13',0,'0000-00-00 00:00:00'),(1616,1648,1,32553,'epf dec',100,0,0,0,0,100,1,'2015-12-04 04:37:53',0,'0000-00-00 00:00:00'),(1617,1649,1,32529,'accounting fee',2500,0,0,0,0,2500,1,'2015-12-04 04:53:00',0,'0000-00-00 00:00:00'),(1618,1650,1,32530,'marketing ',1000,0,0,0,0,1000,1,'2015-12-04 04:53:48',0,'0000-00-00 00:00:00'),(1619,1651,1,32530,'marketing',1000,0,0,0,0,1000,1,'2015-12-04 04:54:16',0,'0000-00-00 00:00:00'),(1620,1652,1,32530,'marketing',1000,0,0,0,0,1000,1,'2015-12-04 04:54:49',0,'0000-00-00 00:00:00'),(1621,1653,1,32531,'commission',800,0,0,0,0,800,1,'2015-12-04 04:55:43',0,'0000-00-00 00:00:00'),(1622,1654,1,32531,'commission',800,0,0,0,0,800,1,'2015-12-04 04:56:19',0,'0000-00-00 00:00:00'),(1623,1655,1,32531,'commission',800,0,0,0,0,800,1,'2015-12-04 04:56:48',0,'0000-00-00 00:00:00'),(1629,1661,1,32527,'Cogs 2nd week -Oct',985,0,0,0,0,985,1,'2015-12-04 07:54:32',0,'0000-00-00 00:00:00'),(1630,1662,1,32527,'Cogs 3rd week -Oct',880,0,0,0,0,880,1,'2015-12-04 07:57:08',0,'0000-00-00 00:00:00'),(1631,1663,1,32527,'Cogs 4th week -Oct',875,0,0,0,0,875,1,'2015-12-04 07:57:48',0,'0000-00-00 00:00:00'),(1632,1664,1,32527,'Cogs 5th week -Oct',955,0,0,0,0,955,1,'2015-12-04 07:59:18',0,'0000-00-00 00:00:00'),(1633,1665,1,32527,'Cogs 1st week -Nov',999,0,0,0,0,999,1,'2015-12-04 07:59:59',0,'0000-00-00 00:00:00'),(1634,1666,1,32527,'Cogs 2nd week -Nov',910,0,0,0,0,910,1,'2015-12-04 08:00:38',0,'0000-00-00 00:00:00'),(1635,1667,1,32535,'insurance',900,0,0,0,0,900,1,'2015-12-04 08:00:52',0,'0000-00-00 00:00:00'),(1636,1668,1,32527,'Cogs 3rd week -Nov',897,0,0,0,0,897,1,'2015-12-04 08:01:10',0,'0000-00-00 00:00:00'),(1637,1669,1,32535,'insurance',900,0,0,0,0,900,1,'2015-12-04 08:01:21',0,'0000-00-00 00:00:00'),(1638,1670,1,32535,'insurance',900,0,0,0,0,900,1,'2015-12-04 08:01:52',0,'0000-00-00 00:00:00'),(1639,1671,1,32527,'Cogs 4th week -Nov',935,0,0,0,0,935,1,'2015-12-04 08:02:07',0,'0000-00-00 00:00:00'),(1640,1672,1,32527,'Cogs 1st week -Dec',877,0,0,0,0,877,1,'2015-12-04 08:03:05',0,'0000-00-00 00:00:00'),(1641,1673,1,32537,'medical',850,0,0,0,0,850,1,'2015-12-04 08:03:17',0,'0000-00-00 00:00:00'),(1642,1674,1,32527,'Cogs 2nd week -Dec',865,0,0,0,0,865,1,'2015-12-04 08:03:48',0,'0000-00-00 00:00:00'),(1643,1675,1,32537,'medical',850,0,0,0,0,850,1,'2015-12-04 08:03:50',0,'0000-00-00 00:00:00'),(1644,1676,1,32537,'medical',850,0,0,0,0,850,1,'2015-12-04 08:04:23',0,'0000-00-00 00:00:00'),(1645,1677,1,32539,'repair',900,0,0,0,0,900,1,'2015-12-04 08:05:14',0,'0000-00-00 00:00:00'),(1646,1678,1,32539,'repair',958,0,0,0,0,958,1,'2015-12-04 08:05:50',0,'0000-00-00 00:00:00'),(1647,1679,1,32527,'Cogs 3rd week -Dec',967,0,0,0,0,967,1,'2015-12-04 08:06:39',0,'0000-00-00 00:00:00'),(1648,1680,1,32527,'Cogs 4th week -Dec',990,0,0,0,0,990,1,'2015-12-04 08:07:11',0,'0000-00-00 00:00:00'),(1649,1681,1,32543,'quit rent',800,0,0,0,0,800,1,'2015-12-04 08:10:14',0,'0000-00-00 00:00:00'),(1650,1682,1,32542,'pos',850,0,0,0,0,850,1,'2015-12-04 08:11:36',0,'0000-00-00 00:00:00'),(1651,1683,1,32542,'pos',850,0,0,0,0,850,1,'2015-12-04 08:12:06',0,'0000-00-00 00:00:00'),(1652,1684,1,32542,'pos',850,0,0,0,0,850,1,'2015-12-04 08:12:39',0,'0000-00-00 00:00:00'),(1653,1685,1,32542,'pos',850,0,0,0,0,850,1,'2015-12-04 08:13:07',0,'0000-00-00 00:00:00'),(1654,1686,1,32544,'registration fee',900,0,0,0,0,900,1,'2015-12-04 08:14:05',0,'0000-00-00 00:00:00'),(1655,1687,1,32548,'training',900,0,0,0,0,900,1,'2015-12-04 08:14:51',0,'0000-00-00 00:00:00'),(1656,1688,1,32548,'training',900,0,0,0,0,900,1,'2015-12-04 08:15:28',0,'0000-00-00 00:00:00'),(1657,1689,1,32548,'training',900,0,0,0,0,900,1,'2015-12-04 08:15:58',0,'0000-00-00 00:00:00'),(1658,1690,1,32551,'travel',1000,0,0,0,0,1000,1,'2015-12-04 08:16:35',0,'0000-00-00 00:00:00'),(1659,1691,1,32551,'meals',850,0,0,0,0,850,1,'2015-12-04 08:17:08',0,'0000-00-00 00:00:00'),(1660,1692,1,32554,'bank charges',20,0,0,0,0,20,1,'2015-12-04 08:17:54',0,'0000-00-00 00:00:00'),(1661,1693,1,32554,'bank charges',20,0,0,0,0,20,1,'2015-12-04 08:18:31',0,'0000-00-00 00:00:00'),(1663,1695,1,32534,'gst',40,0,0,0,0,40,1,'2015-12-04 08:21:25',0,'0000-00-00 00:00:00'),(1664,1696,1,32534,'gst',90,0,0,0,0,90,1,'2015-12-04 08:22:03',0,'0000-00-00 00:00:00'),(1665,1697,1,32534,'gst',80,0,0,0,0,80,1,'2015-12-04 08:22:35',0,'0000-00-00 00:00:00'),(1666,1698,1,32536,'late charges',90,0,0,0,0,90,1,'2015-12-04 08:24:16',0,'0000-00-00 00:00:00'),(1667,1699,1,32536,'late charges',70,0,0,0,0,70,1,'2015-12-04 08:24:50',0,'0000-00-00 00:00:00'),(1668,1700,1,32538,'barang',980,0,0,0,0,980,1,'2015-12-04 08:26:01',0,'0000-00-00 00:00:00'),(1669,1701,1,32538,'barang',850,0,0,0,0,850,1,'2015-12-04 08:26:32',0,'0000-00-00 00:00:00'),(1670,1702,1,32540,'barang office',850,0,0,0,0,850,1,'2015-12-04 08:31:25',0,'0000-00-00 00:00:00'),(1671,1703,1,32540,'barang office',849,0,0,0,0,849,1,'2015-12-04 08:31:58',0,'0000-00-00 00:00:00'),(1672,1704,1,32540,'barang office',970,0,0,0,0,970,1,'2015-12-04 08:32:25',0,'0000-00-00 00:00:00'),(1673,1705,1,32549,'barang store',900,0,0,0,0,900,1,'2015-12-04 08:33:04',0,'0000-00-00 00:00:00'),(1674,1706,1,32549,'barang store',900,0,0,0,0,900,1,'2015-12-04 08:33:05',0,'0000-00-00 00:00:00'),(1675,1707,1,32549,'barang store',900,0,0,0,0,900,1,'2015-12-04 08:33:09',0,'0000-00-00 00:00:00'),(1676,1708,1,32549,'barang store',900,0,0,0,0,900,1,'2015-12-04 08:33:14',0,'0000-00-00 00:00:00'),(1677,1709,1,32549,'barang store',970,0,0,0,0,970,1,'2015-12-04 08:33:52',0,'0000-00-00 00:00:00'),(1678,1710,1,32549,'barang store',870,0,0,0,0,870,1,'2015-12-04 08:34:30',0,'0000-00-00 00:00:00'),(1680,1712,1,32572,'loan mara masuk bank 1',20,0,0,0,0,1000,1,'2015-12-04 08:40:59',0,'2016-08-17 09:26:02'),(1681,1713,1,32525,'Total value1',456,0,0,0,0,456,1,'2015-12-07 03:41:35',0,'0000-00-00 00:00:00'),(1682,1713,1,32521,'Total value',123,0,0,0,0,123,1,'2015-12-07 03:41:35',0,'0000-00-00 00:00:00'),(1683,1714,1,32524,'Total value',789,0,0,0,0,789,1,'2015-12-07 03:42:43',0,'0000-00-00 00:00:00'),(1684,1714,1,32522,'Total value',980,0,0,0,0,980,1,'2015-12-07 03:42:43',0,'0000-00-00 00:00:00'),(1687,1717,0,32515,'Cash Deposit',3000,0,0,0,0,0,0,'2015-12-07 08:54:57',0,'0000-00-00 00:00:00'),(1688,1718,1,32504,'PERABOT',1999,0,0,0,0,1999,1,'2015-12-07 09:23:48',0,'0000-00-00 00:00:00'),(1689,1719,1,32505,'EQUIPMENT',1789,0,0,0,0,1789,1,'2015-12-07 09:24:37',0,'0000-00-00 00:00:00'),(1690,1720,1,32506,'PC',1923,0,0,0,0,1923,1,'2015-12-07 09:25:21',0,'0000-00-00 00:00:00'),(1691,1735,1,32507,'MOTOREEEE',1800,0,0,0,0,1800,1,'2015-12-07 09:25:55',0,'2015-12-07 09:32:24'),(1692,1722,1,32508,'MESIN',1830,0,0,0,0,1830,1,'2015-12-07 09:26:49',0,'0000-00-00 00:00:00'),(1693,1723,1,32509,'UBAHSUAI SIKIT JE',2000,0,0,0,0,2000,1,'2015-12-07 09:27:32',0,'0000-00-00 00:00:00'),(1694,1724,1,32510,'EQUIPMENT',1650,0,0,0,0,1650,1,'2015-12-07 09:28:47',0,'0000-00-00 00:00:00'),(1695,1725,1,32511,'ASSET BARU',1700,0,0,0,0,1700,1,'2015-12-07 09:29:31',0,'0000-00-00 00:00:00'),(1696,1726,1,32512,'ASSET BARU DIKENALPASTI',1989,0,0,0,0,1989,1,'2015-12-07 09:30:16',0,'0000-00-00 00:00:00'),(1697,1727,1,32513,'LAIN2',1998,0,0,0,0,1998,1,'2015-12-07 09:30:56',0,'0000-00-00 00:00:00'),(1698,1728,1,32504,'OTHER FIXTURES',1997,0,0,0,0,1997,1,'2015-12-07 09:31:54',0,'0000-00-00 00:00:00'),(1699,1736,1,32507,'MOTOR',1850,0,0,0,0,1850,1,'2015-12-07 09:35:42',0,'0000-00-00 00:00:00'),(1700,1737,1,32506,'Cogs 3rd week -Jan',123,0,0,0,0,123,1,'2015-12-07 09:36:46',0,'0000-00-00 00:00:00'),(1701,1738,1,32505,'OFFICE',1596,0,0,0,0,1596,1,'2015-12-07 09:46:40',0,'0000-00-00 00:00:00'),(1702,1739,1,32506,'SOFTWARE',1290,0,0,0,0,1290,1,'2015-12-07 09:47:48',0,'0000-00-00 00:00:00'),(1703,1740,1,32507,'KETO',1963,0,0,0,0,1963,1,'2015-12-07 09:49:19',0,'0000-00-00 00:00:00'),(1704,1741,1,32508,'ENJIN BOT',2000,0,0,0,0,2000,1,'2015-12-07 09:50:15',0,'0000-00-00 00:00:00'),(1705,1742,1,32509,'PECAH RUMAH',1956,0,0,0,0,1956,1,'2015-12-07 09:50:51',0,'0000-00-00 00:00:00'),(1706,1743,1,32510,'BARANG STOR',1234,0,0,0,0,1234,1,'2015-12-07 09:51:31',0,'0000-00-00 00:00:00'),(1707,1744,1,32511,'BENDA MURAH',1358,0,0,0,0,1358,1,'2015-12-07 09:52:25',0,'0000-00-00 00:00:00'),(1708,1745,1,32512,'MAHAL JUGAK NI',1991,0,0,0,0,1991,1,'2015-12-07 09:53:05',0,'0000-00-00 00:00:00'),(1709,1746,1,32513,'LAIN2',1597,0,0,0,0,1597,1,'2015-12-07 09:53:45',0,'0000-00-00 00:00:00'),(1710,1747,1,32521,'Total value',1000,0,0,0,0,1000,1,'2015-12-07 09:55:29',0,'0000-00-00 00:00:00'),(1711,1748,1,32504,'PERABOT',1789,0,0,0,0,1789,1,'2015-12-08 01:08:08',0,'0000-00-00 00:00:00'),(1712,1749,1,32505,'BARANG2 SIKIT',1956,0,0,0,0,1956,1,'2015-12-08 01:08:50',0,'0000-00-00 00:00:00'),(1713,1750,1,32506,'DISKET',1899,0,0,0,0,1899,1,'2015-12-08 01:09:23',0,'2015-12-08 07:21:06'),(1714,1751,1,32507,'MOTORE',1989,0,0,0,0,1989,1,'2015-12-08 01:10:00',0,'0000-00-00 00:00:00'),(1715,1791,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 01:29:10',0,'2015-12-08 03:21:43'),(1716,1753,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:08:00',0,'0000-00-00 00:00:00'),(1717,1754,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:08:27',0,'0000-00-00 00:00:00'),(1718,1755,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:08:58',0,'0000-00-00 00:00:00'),(1719,1756,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:12:17',0,'0000-00-00 00:00:00'),(1720,1757,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:20:13',0,'0000-00-00 00:00:00'),(1721,1758,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:23:23',0,'0000-00-00 00:00:00'),(1722,1759,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:24:03',0,'0000-00-00 00:00:00'),(1723,1760,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:24:37',0,'0000-00-00 00:00:00'),(1724,1761,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:25:07',0,'0000-00-00 00:00:00'),(1725,1762,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:26:06',0,'0000-00-00 00:00:00'),(1726,1763,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:26:36',0,'0000-00-00 00:00:00'),(1727,1764,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:27:23',0,'0000-00-00 00:00:00'),(1728,1765,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:32:07',0,'0000-00-00 00:00:00'),(1729,1766,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:32:33',0,'0000-00-00 00:00:00'),(1730,1767,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:33:21',0,'0000-00-00 00:00:00'),(1731,1768,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:34:09',0,'0000-00-00 00:00:00'),(1732,1769,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:34:42',0,'0000-00-00 00:00:00'),(1733,1770,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:39:17',0,'0000-00-00 00:00:00'),(1734,1771,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:41:17',0,'0000-00-00 00:00:00'),(1735,1772,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:44:51',0,'0000-00-00 00:00:00'),(1736,1773,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:45:39',0,'0000-00-00 00:00:00'),(1737,1774,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:47:58',0,'0000-00-00 00:00:00'),(1738,1775,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:48:32',0,'0000-00-00 00:00:00'),(1739,1776,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:50:02',0,'0000-00-00 00:00:00'),(1740,1777,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:56:29',0,'0000-00-00 00:00:00'),(1741,1778,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 02:57:53',0,'0000-00-00 00:00:00'),(1742,1779,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:11:01',0,'0000-00-00 00:00:00'),(1743,1780,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:17:22',0,'0000-00-00 00:00:00'),(1744,1781,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:18:05',0,'0000-00-00 00:00:00'),(1745,1782,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:18:37',0,'0000-00-00 00:00:00'),(1746,1783,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:19:08',0,'0000-00-00 00:00:00'),(1747,1784,1,32522,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:19:40',0,'0000-00-00 00:00:00'),(1748,1785,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:20:13',0,'0000-00-00 00:00:00'),(1749,1792,1,32521,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:23:35',0,'0000-00-00 00:00:00'),(1750,1795,1,32522,'PAYBACK',102,0,0,0,0,102,1,'2015-12-08 03:24:41',0,'2015-12-08 03:58:57'),(1751,1794,1,32523,'PAYBACK',100,0,0,0,0,100,1,'2015-12-08 03:25:12',0,'0000-00-00 00:00:00'),(1752,1796,1,32504,'fg',600,0,0,0,0,600,1,'2015-12-08 04:03:52',0,'0000-00-00 00:00:00'),(1753,1798,1,32529,'Total value',789,0,0,0,0,789,1,'2015-12-08 04:23:05',0,'0000-00-00 00:00:00'),(1754,1799,1,32534,'ADasd',7,0,0,0,0,7,1,'2015-12-08 04:24:03',0,'0000-00-00 00:00:00'),(1755,1800,1,32521,'dd',1000,0,0,0,0,1000,1,'2015-12-08 05:17:42',0,'0000-00-00 00:00:00'),(1756,1801,1,32504,'rrr',300,0,0,0,0,300,1,'2015-12-08 05:22:40',0,'0000-00-00 00:00:00'),(1757,1802,1,32521,'ADasd',100,0,0,0,0,100,1,'2015-12-08 06:54:38',0,'0000-00-00 00:00:00'),(1758,1803,1,32524,'Total value',100,0,0,0,0,100,1,'2015-12-08 10:50:02',0,'0000-00-00 00:00:00'),(1759,1804,0,32515,'farid',3000,0,0,0,0,0,0,'2015-12-08 11:31:57',0,'0000-00-00 00:00:00'),(1760,1805,1,32527,'beli kain',200,0,0,0,0,200,93,'2015-12-09 01:40:05',0,'0000-00-00 00:00:00'),(1761,1806,1,32547,'Rental bulan feb.',400,0,0,0,0,400,93,'2015-12-09 01:42:48',0,'0000-00-00 00:00:00'),(1762,1807,1,32521,'byrn semula bulan 6',200,0,0,0,0,200,93,'2015-12-09 01:47:00',0,'0000-00-00 00:00:00'),(1763,1808,1,32506,'dell',2000,0,0,0,0,2000,93,'2015-12-09 01:48:44',0,'0000-00-00 00:00:00'),(1764,1809,0,32515,'test',1000,0,0,0,0,0,0,'2015-12-09 01:51:33',0,'0000-00-00 00:00:00'),(1765,1751,1,32506,'Total value',70,0,0,0,0,70,1,'2015-12-09 07:59:19',0,'0000-00-00 00:00:00'),(1766,1810,1,32540,'beli pen',10,0,0,0,0,10,1,'2015-12-10 08:24:45',0,'0000-00-00 00:00:00'),(1767,1811,1,32527,'beli kasut ',500,0,0,0,0,500,93,'2015-12-10 08:30:28',0,'0000-00-00 00:00:00'),(1768,1812,1,32547,'sewa',5,0,0,0,0,5,93,'2015-12-10 08:31:34',0,'0000-00-00 00:00:00'),(1769,1813,1,32524,'Total value',144,0,0,0,0,144,106,'2015-12-28 04:20:47',0,'2015-12-28 04:21:25'),(1771,1815,1,32527,'ghgr',3,0,0,0,0,3,1,'2016-04-15 03:08:32',0,'0000-00-00 00:00:00'),(1773,1816,1,32527,'ikan -pasar pagi',20,0,0,0,0,20,1,'2016-04-25 03:59:17',0,'0000-00-00 00:00:00'),(1774,1817,1,32537,'20',20,0,0,0,0,20,1,'2016-04-25 04:00:27',0,'0000-00-00 00:00:00'),(1775,1817,1,32546,'sewa-tapak',200,0,0,0,0,200,1,'2016-04-25 04:00:27',0,'0000-00-00 00:00:00'),(1776,1818,1,32510,'1000',1000,0,0,0,0,1000,1,'2016-04-25 04:02:17',0,'0000-00-00 00:00:00'),(1777,1819,1,32527,'item 1',10,0,0,0,0,10,1,'2016-04-26 02:09:33',0,'0000-00-00 00:00:00'),(1778,1816,1,32527,'ayam - ayam champion',100,0,0,0,0,100,1,'2016-04-26 02:21:51',0,'0000-00-00 00:00:00'),(1780,1820,1,32533,'march bills - elec',500,0,0,0,0,500,1,'2016-04-26 02:25:30',0,'0000-00-00 00:00:00'),(1781,1821,1,32521,'loan 1',200,0,0,0,0,200,1,'2016-04-26 02:30:15',0,'0000-00-00 00:00:00'),(1782,1822,1,32522,'loan 2',200,0,0,0,0,200,1,'2016-04-26 02:31:46',0,'0000-00-00 00:00:00'),(1783,1822,1,32522,'loan 2 extra',100,0,0,0,0,100,1,'2016-04-26 02:31:46',0,'0000-00-00 00:00:00'),(1784,1823,1,32507,'Bugatti Veyron Super Sport',200000,0,0,0,0,200000,1,'2016-04-26 02:39:08',0,'2016-05-31 08:44:20'),(1785,1823,1,32507,'Pimp My Ride',100000,0,0,0,0,100000,1,'2016-04-26 02:39:08',0,'2016-05-31 08:44:20'),(1786,1824,0,32516,'money trans',500,0,0,0,0,0,0,'2016-04-26 02:41:13',0,'0000-00-00 00:00:00'),(1787,1825,0,32515,'money trans back',500,0,0,0,0,0,0,'2016-04-26 02:41:50',0,'0000-00-00 00:00:00'),(1791,1829,1,32524,'Loan MARA',300,0,0,0,0,300,1,'2016-04-27 01:33:59',0,'0000-00-00 00:00:00'),(1792,1830,1,32506,'beli komputer - 2 unit',3600,0,0,0,0,3600,1,'2016-04-27 01:39:08',0,'0000-00-00 00:00:00'),(1793,1831,1,32527,'Tudung Awning',250,0,0,0,0,250,1,'2016-05-10 03:43:33',0,'0000-00-00 00:00:00'),(1794,1831,1,32527,'Selendang / Shawl',70,0,0,0,0,70,1,'2016-05-10 03:43:33',0,'0000-00-00 00:00:00'),(1795,1831,1,32527,'Tudung Syria',63,0,0,0,0,63,1,'2016-05-10 03:43:33',0,'0000-00-00 00:00:00'),(1796,1831,1,32527,'Instant Shawl',95,0,0,0,0,95,1,'2016-05-10 03:43:33',0,'0000-00-00 00:00:00'),(1797,1831,1,32527,'Tudung Bawal',150,0,0,0,0,150,1,'2016-05-10 03:43:33',0,'0000-00-00 00:00:00'),(1798,1832,1,32527,'Beli tudung',100,0,0,0,0,100,1,'2016-05-31 08:38:45',0,'0000-00-00 00:00:00'),(1799,1832,1,32527,'Beli Ayam',50,0,0,0,0,50,1,'2016-05-31 08:38:45',0,'0000-00-00 00:00:00'),(1800,1833,1,32527,'tepung',5,0,0,0,0,5,1,'2016-06-01 06:56:33',0,'0000-00-00 00:00:00'),(1801,1833,1,32527,'minyak masak',10,0,0,0,0,10,1,'2016-06-01 06:56:33',0,'0000-00-00 00:00:00'),(1802,1833,1,32527,'pisang',10,0,0,0,0,10,1,'2016-06-01 06:59:02',0,'0000-00-00 00:00:00'),(1803,1834,1,32547,'Sewa Tapak',50,0,0,0,0,50,1,'2016-06-01 07:02:26',0,'0000-00-00 00:00:00'),(1804,1835,1,32527,'bahan nasi lemak',1256,0,0,0,0,1256,84,'2016-06-03 03:34:42',0,'0000-00-00 00:00:00'),(1805,1836,1,32545,'sewa kedai',589,0,0,0,0,589,84,'2016-06-03 03:35:39',0,'0000-00-00 00:00:00'),(1806,1837,1,32504,'troli roti canai',2300,0,0,0,0,2300,84,'2016-06-03 03:40:57',0,'0000-00-00 00:00:00'),(1807,1837,1,32507,'lori trcuk food',35000,0,0,0,0,35000,84,'2016-06-03 03:40:57',0,'0000-00-00 00:00:00'),(1808,1838,1,32507,'lori food  truck',35000,0,0,0,0,35000,84,'2016-06-03 03:44:02',0,'0000-00-00 00:00:00'),(1809,1839,1,32527,'Tepung',5,0,0,0,0,5,1,'2016-06-06 01:17:45',0,'0000-00-00 00:00:00'),(1810,1840,1,32547,'Sewa Gerai',200,0,0,0,0,200,1,'2016-06-06 05:24:33',0,'0000-00-00 00:00:00'),(1811,1841,1,32547,'Sewa Tapak',200,0,0,0,0,200,1,'2016-06-06 07:57:11',0,'0000-00-00 00:00:00'),(1812,1842,1,32527,'Kasut',80,0,0,0,0,80,84,'2016-06-08 07:46:27',0,'0000-00-00 00:00:00'),(1813,1846,1,32527,'faddd',32,0,0,0,0,32,0,'2016-06-10 01:14:07',0,'2016-06-10 01:14:12'),(1818,1904,0,32761,'',33,0,0,0,0,0,0,'2016-06-14 04:40:35',0,'0000-00-00 00:00:00'),(1819,1906,1,32773,'fad',23,0,0,0,0,23,0,'2016-06-14 06:53:05',0,'2016-06-14 06:53:09'),(1820,1911,1,32773,'fad',23,0,0,0,0,23,0,'2016-06-14 08:11:17',0,'2016-06-14 08:11:24'),(1821,1912,1,32773,'dfs',50,0,0,0,0,50,0,'2016-06-14 08:12:47',0,'2016-06-20 09:34:41'),(1822,1913,1,32773,'fadsdfrg',47,0,0,0,0,47,0,'2016-06-14 08:14:01',0,'0000-00-00 00:00:00'),(1823,1914,1,32773,'gfghfg',456,0,0,0,0,456,0,'2016-06-14 08:18:32',0,'0000-00-00 00:00:00'),(1824,1914,1,32773,'hjgf',123,0,0,0,0,123,0,'2016-06-14 08:19:03',0,'0000-00-00 00:00:00'),(1825,1915,1,32773,'gb',77,0,0,0,0,77,0,'2016-06-14 08:22:53',0,'0000-00-00 00:00:00'),(1826,1916,1,32750,'ggg',500,0,0,0,0,500,0,'2016-06-15 01:29:33',0,'0000-00-00 00:00:00'),(1827,1917,1,32539,'Repair gear kereta MBX5968',800,0,0,0,0,800,0,'2016-06-15 02:53:13',0,'0000-00-00 00:00:00'),(1828,1917,1,32541,'Monthly Expenses',200,0,0,0,0,200,0,'2016-06-15 02:53:14',0,'0000-00-00 00:00:00'),(1829,1917,1,32550,'DiGi',100,0,0,0,0,100,0,'2016-06-15 02:53:14',0,'0000-00-00 00:00:00'),(1830,1918,1,32561,'kerusi panjang',36,0,0,0,0,36,0,'2016-06-15 04:27:12',0,'0000-00-00 00:00:00'),(1831,1919,1,32750,'kerusi pendek',477,0,0,0,0,477,0,'2016-06-15 04:30:21',0,'0000-00-00 00:00:00'),(1833,1921,1,32584,'tepung',25,0,0,0,0,25,0,'2016-06-16 03:06:31',0,'0000-00-00 00:00:00'),(1834,1922,1,32590,'bil elektrik bulan may 2016',123,0,0,0,0,123,0,'2016-06-16 03:51:48',0,'0000-00-00 00:00:00'),(1835,1923,1,32767,'hfg',100,0,0,0,0,100,0,'2016-06-21 00:55:09',0,'0000-00-00 00:00:00'),(1836,1924,1,32755,'fad',770,0,0,0,0,770,0,'2016-06-21 03:45:56',0,'0000-00-00 00:00:00'),(1837,1925,1,32755,'fad',654,0,0,0,0,654,0,'2016-06-21 04:36:06',0,'0000-00-00 00:00:00'),(1838,1926,1,32755,'huihui',5,0,0,0,0,5,0,'2016-06-21 04:38:50',0,'0000-00-00 00:00:00'),(1839,1927,1,32755,'fad',2345,0,0,0,0,2345,0,'2016-06-21 06:27:24',0,'0000-00-00 00:00:00'),(1840,1928,1,32755,'safaf',23,0,0,0,0,23,0,'2016-06-21 06:44:27',0,'2016-06-27 09:05:18'),(1841,1930,1,32755,'sdafegerg',44,0,0,0,0,44,0,'2016-06-21 06:47:14',0,'0000-00-00 00:00:00'),(1842,1931,1,32755,'dsfdsg',358,0,0,0,0,358,0,'2016-06-21 07:34:01',0,'0000-00-00 00:00:00'),(1846,1935,1,32767,'fad',100,0,0,0,0,100,0,'2016-06-22 04:22:13',0,'0000-00-00 00:00:00'),(1847,1936,1,32768,'asfsf',455,0,0,0,0,455,0,'2016-06-22 04:58:39',0,'0000-00-00 00:00:00'),(1848,1937,1,32770,'hdhd',100,0,0,0,0,100,0,'2016-06-22 07:07:08',0,'0000-00-00 00:00:00'),(1850,1939,1,32770,'fsfdf',200,0,0,0,0,200,0,'2016-06-22 07:27:55',0,'0000-00-00 00:00:00'),(1851,1940,1,32796,'maxis',20,0,0,0,0,20,0,'2016-06-27 01:46:20',0,'0000-00-00 00:00:00'),(1853,1920,1,32750,'hjjkjk',200,0,0,0,0,200,0,'2016-06-27 08:47:56',0,'2016-06-27 08:48:24'),(1854,1942,1,32767,'fdf',100,0,0,0,0,100,0,'2016-06-27 08:56:30',0,'0000-00-00 00:00:00'),(1855,1943,1,32767,'ghh',200,0,0,0,0,200,0,'2016-06-27 09:02:54',0,'0000-00-00 00:00:00'),(1857,1945,1,32830,'1st payment',100,0,0,0,0,100,0,'2016-06-28 07:50:42',0,'0000-00-00 00:00:00'),(1858,1946,1,32830,'2nd payment',100,0,0,0,0,100,0,'2016-06-28 07:53:01',0,'0000-00-00 00:00:00'),(1859,1947,1,32830,'Advance payment',100,0,0,0,0,100,0,'2016-06-28 08:15:27',0,'0000-00-00 00:00:00'),(1860,1948,1,32830,'5th payment',100,0,0,0,0,100,0,'2016-06-28 08:29:27',0,'0000-00-00 00:00:00'),(1861,1949,1,32788,'poslaju',24,0,0,0,0,24,0,'2016-07-13 09:23:45',0,'0000-00-00 00:00:00'),(1862,1950,1,32753,'kereta terpakai proton saga',2000,0,0,0,0,2000,0,'2016-07-26 08:25:53',0,'0000-00-00 00:00:00'),(1863,1951,0,32516,'',123,0,0,0,0,0,0,'2016-07-27 02:31:45',0,'0000-00-00 00:00:00'),(1864,1952,1,32773,'Kain Ela 2 papan',1500,0,0,0,0,1500,0,'2016-07-27 07:19:24',0,'0000-00-00 00:00:00'),(1865,1953,1,32773,'Kain Ela - Gold 2 Papan',2000,0,0,0,0,2000,0,'2016-07-27 07:36:03',0,'0000-00-00 00:00:00'),(1866,1954,1,32773,'Kain Ela - Biru 1 Papan',1899,0,0,0,0,1899,0,'2016-07-28 01:05:42',0,'0000-00-00 00:00:00'),(1867,1955,1,32791,'Mesin jahit 5 buah',10000,0,0,0,0,10000,0,'2016-07-28 01:20:27',0,'0000-00-00 00:00:00'),(1868,1955,1,32796,'Telefon Office',150,0,0,0,0,150,0,'2016-07-28 01:20:27',0,'0000-00-00 00:00:00'),(1869,1955,1,32796,'Unifi',150,0,0,0,0,150,0,'2016-07-28 01:20:27',0,'0000-00-00 00:00:00'),(1870,1956,1,32752,'2 laptop ',3300,0,0,0,0,3300,0,'2016-07-28 04:30:30',0,'0000-00-00 00:00:00'),(1871,1956,1,32750,'Meja 3set',5500,0,0,0,0,5500,0,'2016-07-28 04:30:30',0,'0000-00-00 00:00:00'),(1872,1957,0,32762,'Pendahuluan',100,0,0,0,0,0,0,'2016-07-29 07:34:35',0,'0000-00-00 00:00:00'),(1873,1958,1,32773,'benang halus',500,0,0,0,0,500,0,'2016-08-01 08:43:16',0,'2016-08-09 01:01:06'),(1875,1959,1,32779,'TNB',202,0,0,0,0,202,0,'2016-08-01 08:47:40',0,'2016-08-09 01:01:23'),(1877,1961,1,32584,'minyak masak',25,0,0,0,0,25,0,'2016-08-05 05:07:33',0,'0000-00-00 00:00:00'),(1878,1962,1,32587,'iklan',258,0,0,0,0,258,0,'2016-08-05 05:11:10',0,'0000-00-00 00:00:00'),(1879,1963,1,32527,'minyak motor',25,0,0,0,0,25,0,'2016-08-05 06:40:53',0,'0000-00-00 00:00:00'),(1880,1964,1,32751,'meja',1200,0,0,0,0,1200,0,'2016-08-05 12:05:51',0,'0000-00-00 00:00:00'),(1881,1965,1,32773,'harini',100,0,0,0,0,100,0,'2016-08-08 06:29:19',0,'0000-00-00 00:00:00'),(1882,1966,1,32775,'today',30,0,0,0,0,30,0,'2016-08-08 06:38:55',0,'0000-00-00 00:00:00'),(1883,1967,1,32776,'try',100,0,0,0,0,100,0,'2016-08-08 08:30:56',0,'0000-00-00 00:00:00'),(1884,1968,1,32770,'fad2',124,0,0,0,0,124,0,'2016-08-10 02:18:45',0,'0000-00-00 00:00:00'),(1885,1968,1,32767,'fad3',125,0,0,0,0,125,0,'2016-08-10 02:18:45',0,'0000-00-00 00:00:00'),(1886,1968,1,32768,'fad1',123,0,0,0,0,123,0,'2016-08-10 02:18:45',0,'0000-00-00 00:00:00'),(1888,1970,1,32773,'10/08/2016',250,0,0,0,0,250,0,'2016-08-10 04:26:50',0,'0000-00-00 00:00:00'),(1889,1971,1,32773,'10/08/2016',250,0,0,0,0,250,0,'2016-08-10 04:30:24',0,'0000-00-00 00:00:00'),(1890,1972,1,32773,'try',250,0,0,0,0,250,0,'2016-08-10 04:30:55',0,'0000-00-00 00:00:00'),(1891,1973,1,32527,'Kasut',100,0,0,0,0,100,0,'2016-08-10 04:46:04',0,'0000-00-00 00:00:00'),(1892,1974,1,32527,'Kasut',1000,0,0,0,0,1000,0,'2016-08-10 04:51:50',0,'0000-00-00 00:00:00'),(1893,1975,1,32775,'today',100,0,0,0,0,100,0,'2016-08-10 04:53:48',0,'0000-00-00 00:00:00'),(1894,1976,1,32775,'wow',99,0,0,0,0,99,0,'2016-08-10 04:54:29',0,'0000-00-00 00:00:00'),(1896,1978,1,32527,'Kasut',1000,0,0,0,0,1000,0,'2016-08-10 05:01:24',0,'0000-00-00 00:00:00'),(1897,1979,1,32768,'wow',100,0,0,0,0,100,0,'2016-08-10 05:01:33',0,'0000-00-00 00:00:00'),(1898,1980,1,32767,'wow',100,0,0,0,0,100,0,'2016-08-10 05:02:39',0,'0000-00-00 00:00:00'),(1900,1985,1,32527,'Kasut',1000,0,0,0,0,1000,0,'2016-08-10 05:49:56',0,'0000-00-00 00:00:00'),(1901,1986,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 05:55:54',0,'0000-00-00 00:00:00'),(1902,1987,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 05:56:32',0,'0000-00-00 00:00:00'),(1903,1993,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 06:00:13',0,'2016-08-10 06:03:25'),(1904,1994,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 06:05:20',0,'0000-00-00 00:00:00'),(1905,1994,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 06:05:34',0,'0000-00-00 00:00:00'),(1906,1994,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 06:07:21',0,'0000-00-00 00:00:00'),(1907,1995,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 06:08:27',0,'0000-00-00 00:00:00'),(1908,1995,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 06:09:10',0,'0000-00-00 00:00:00'),(1909,1996,1,32527,'Kasut',1000,0,0,0,0,1000,1,'2016-08-10 06:29:46',0,'0000-00-00 00:00:00'),(1910,1997,1,32527,'Kasut',1000,0,0,0,0,1000,0,'2016-08-10 07:07:14',0,'0000-00-00 00:00:00'),(1911,1998,1,32773,'hoi',1,0,0,0,0,1,10,'2016-08-10 07:22:03',0,'0000-00-00 00:00:00'),(1912,1999,1,32775,'toys',1,0,0,0,0,1,10,'2016-08-10 07:23:06',0,'2016-08-10 07:23:49'),(1913,2000,1,32752,'harini',3,0,0,0,0,3,10,'2016-08-10 07:24:47',0,'0000-00-00 00:00:00'),(1915,2002,1,32768,'Loan',51,0,0,0,0,51,10,'2016-08-10 07:31:18',0,'2016-08-10 07:32:14'),(1917,2004,1,32647,'Kasut',1000,0,0,0,0,1000,0,'2016-08-10 09:36:36',0,'0000-00-00 00:00:00'),(1918,2004,1,32647,'Baju',1000,0,0,0,0,1000,0,'2016-08-10 09:36:36',0,'0000-00-00 00:00:00'),(1919,2004,1,32647,'Seluar',1000,0,0,0,0,1000,0,'2016-08-10 09:36:36',0,'0000-00-00 00:00:00'),(1920,2004,1,32647,'Topi',500,0,0,0,0,500,0,'2016-08-10 09:36:36',0,'0000-00-00 00:00:00'),(1921,2005,1,32893,'January',30,0,0,0,0,30,0,'2016-08-11 07:33:30',0,'0000-00-00 00:00:00'),(1922,2006,1,32906,'January',35,0,0,0,0,35,0,'2016-08-11 07:39:09',0,'0000-00-00 00:00:00'),(1923,2007,1,32870,'January',25,0,0,0,0,25,0,'2016-08-11 07:41:47',0,'0000-00-00 00:00:00'),(1924,2008,1,33019,'January',10,0,0,0,0,10,0,'2016-08-11 08:58:17',0,'2016-08-12 08:21:25'),(1925,2009,1,33019,'February',20,0,0,0,0,20,0,'2016-08-11 08:59:19',0,'0000-00-00 00:00:00'),(1926,2010,1,33030,'January',30,0,0,0,0,30,0,'2016-08-11 09:01:23',0,'2016-08-11 09:23:29'),(1927,2011,1,32773,'fad',130,0,0,0,0,130,0,'2016-08-11 09:13:48',0,'0000-00-00 00:00:00'),(1928,2012,1,32773,'fad23213',4321,0,0,0,0,4321,0,'2016-08-11 09:16:41',0,'0000-00-00 00:00:00'),(1929,2013,1,33029,'February',40,0,0,0,0,40,0,'2016-08-11 09:25:23',0,'0000-00-00 00:00:00'),(1930,2014,1,32998,'January',40,0,0,0,0,40,0,'2016-08-11 09:26:44',0,'0000-00-00 00:00:00'),(1931,2015,1,32997,'February',35,0,0,0,0,35,0,'2016-08-11 09:27:17',0,'0000-00-00 00:00:00'),(1932,2162,1,32773,'Ahfat18',29,0,0,0,0,29,10,'2016-08-12 04:07:38',0,'2016-08-29 01:33:49'),(1933,2017,1,33019,'abg fadh',5,0,0,0,0,5,0,'2016-08-12 04:09:29',0,'0000-00-00 00:00:00'),(1934,2018,1,33019,'MARCH',30,0,0,0,0,30,0,'2016-08-12 08:22:30',0,'0000-00-00 00:00:00'),(1935,2019,1,33019,'APRIL',40,0,0,0,0,40,0,'2016-08-12 08:31:56',0,'0000-00-00 00:00:00'),(1936,2020,1,33019,'MAY',50,0,0,0,0,50,0,'2016-08-12 08:32:44',0,'0000-00-00 00:00:00'),(1937,2021,1,33019,'JUNE',60,0,0,0,0,60,0,'2016-08-12 08:33:04',0,'0000-00-00 00:00:00'),(1938,2022,1,33019,'JULY',70,0,0,0,0,70,0,'2016-08-12 08:33:23',0,'0000-00-00 00:00:00'),(1939,2034,1,33019,'AUGUST',90,0,0,0,0,90,0,'2016-08-12 08:34:01',0,'2016-08-16 02:34:13'),(1942,2026,1,32767,'kereta',10000,0,0,0,0,10000,0,'2016-08-15 04:13:24',0,'0000-00-00 00:00:00'),(1943,2027,1,33013,'payment',1000,0,0,0,0,1000,0,'2016-08-15 04:18:21',0,'0000-00-00 00:00:00'),(1944,2028,1,33013,'payment',5000,0,0,0,0,5000,0,'2016-08-15 04:20:16',0,'0000-00-00 00:00:00'),(1945,2029,1,33013,'Payment',5500,0,0,0,0,5500,0,'2016-08-15 04:21:49',0,'0000-00-00 00:00:00'),(1948,2032,1,33013,'10/08/2016',2200,0,0,0,0,2200,28,'2016-08-15 07:18:04',0,'2016-08-30 02:46:52'),(1949,2033,1,33019,'8/8/2016',80,0,0,0,0,80,0,'2016-08-16 02:27:15',0,'0000-00-00 00:00:00'),(1954,2039,1,32563,'pc baru',2580,0,0,0,0,2580,0,'2016-08-16 03:02:22',0,'0000-00-00 00:00:00'),(1955,2040,0,32765,'huhu',125,0,0,0,0,0,0,'2016-08-16 03:21:38',0,'0000-00-00 00:00:00'),(1956,2041,0,32761,'142',142,0,0,0,0,0,0,'2016-08-16 03:26:42',0,'0000-00-00 00:00:00'),(1957,2042,0,33010,'fad',4447,0,0,0,0,0,0,'2016-08-16 03:34:31',0,'2016-08-29 05:19:13'),(1958,2043,1,33145,'telefon',400,0,0,0,0,400,0,'2016-08-16 03:39:05',0,'0000-00-00 00:00:00'),(1959,2043,1,33145,'lampu',80,0,0,0,0,80,0,'2016-08-16 03:39:34',0,'0000-00-00 00:00:00'),(1961,2045,1,33122,'Sofa',300,0,0,0,0,300,0,'2016-08-16 03:45:32',0,'0000-00-00 00:00:00'),(1962,2046,0,33009,'fad',1200000.1,0,0,0,0,0,0,'2016-08-16 03:46:38',0,'2016-08-29 07:55:11'),(1963,2047,1,33155,'Demam',100,0,0,0,0,100,0,'2016-08-16 03:48:47',0,'0000-00-00 00:00:00'),(1964,2048,1,33059,'kerusi',100,0,0,0,0,100,0,'2016-08-16 03:48:48',0,'0000-00-00 00:00:00'),(1965,2050,1,33157,'Minyak hitam',50,0,0,0,0,50,0,'2016-08-16 03:50:52',0,'2016-08-16 03:50:54'),(1967,2052,1,33097,'despatch ',10,0,0,0,0,10,0,'2016-08-16 04:11:50',0,'0000-00-00 00:00:00'),(1968,2053,1,33082,'cermin',200,0,0,0,0,200,0,'2016-08-16 04:19:44',0,'0000-00-00 00:00:00'),(1969,2055,0,33070,'simpan duit',3000,0,0,0,0,0,0,'2016-08-16 04:26:24',0,'0000-00-00 00:00:00'),(1970,2091,1,33097,'bayar despatch',20,0,0,0,0,20,0,'2016-08-16 04:28:38',0,'2016-08-16 08:36:24'),(1971,2057,1,33139,'bantuan',50,0,0,0,0,50,0,'2016-08-16 04:28:56',0,'0000-00-00 00:00:00'),(1972,2058,0,33010,'test123',545,0,0,0,0,0,0,'2016-08-16 04:31:01',0,'2016-08-29 05:19:39'),(1974,2060,1,33076,'bayar habis loan',100,0,0,0,0,100,0,'2016-08-16 04:39:04',0,'0000-00-00 00:00:00'),(1975,2061,1,33076,'bayar loan yang tak wujud',-50,0,0,0,0,-50,0,'2016-08-16 04:40:43',0,'0000-00-00 00:00:00'),(1976,2062,1,33076,'bayar loan yang tak wujud',-50,0,0,0,0,-50,0,'2016-08-16 04:40:44',0,'0000-00-00 00:00:00'),(1977,2063,1,33139,'barang',-200,0,0,0,0,-200,0,'2016-08-16 04:45:14',0,'0000-00-00 00:00:00'),(1978,2064,1,33139,'brg2',-150,0,0,0,0,-150,0,'2016-08-16 04:47:57',0,'0000-00-00 00:00:00'),(1979,2065,1,33139,'brg2',500,0,0,0,0,500,0,'2016-08-16 04:52:42',0,'0000-00-00 00:00:00'),(1982,2068,1,33139,'beli kipas',100,0,0,0,0,100,0,'2016-08-16 06:18:36',0,'0000-00-00 00:00:00'),(1983,2112,1,33126,'mesen jahit',450,0,0,0,0,450,31,'2016-08-16 06:20:32',0,'2016-08-17 04:16:14'),(1984,2070,0,33009,'Hye',5555,0,0,0,0,0,0,'2016-08-16 07:11:45',0,'0000-00-00 00:00:00'),(1986,2072,1,33139,'bayar',510,0,0,0,0,510,0,'2016-08-16 07:32:46',0,'0000-00-00 00:00:00'),(1989,2076,1,33140,'saje',50,0,0,0,0,50,0,'2016-08-16 07:35:31',0,'0000-00-00 00:00:00'),(1991,2078,1,33140,'ape',50,0,0,0,0,50,0,'2016-08-16 07:36:50',0,'0000-00-00 00:00:00'),(1994,2081,1,33140,'asd',100,0,0,0,0,100,0,'2016-08-16 07:39:06',0,'0000-00-00 00:00:00'),(1996,2083,1,33139,'qqwq',190,0,0,0,0,190,0,'2016-08-16 07:50:58',0,'0000-00-00 00:00:00'),(1998,2085,1,33140,'fre',200,0,0,0,0,200,0,'2016-08-16 07:54:59',0,'0000-00-00 00:00:00'),(1999,2086,1,33088,'bayar bil api air',60,0,0,0,0,60,0,'2016-08-16 08:01:21',0,'0000-00-00 00:00:00'),(2000,2087,1,33076,'bayar 50 hinggit hutang',50,0,0,0,0,50,0,'2016-08-16 08:07:33',0,'0000-00-00 00:00:00'),(2002,2089,1,33076,'bayar loan awal',50,0,0,0,0,50,0,'2016-08-16 08:25:18',0,'0000-00-00 00:00:00'),(2003,2045,1,33122,'meja',68,0,0,0,0,68,0,'2016-08-16 08:33:25',0,'0000-00-00 00:00:00'),(2004,2090,1,33122,'lampu',23,0,0,0,0,23,0,'2016-08-16 08:35:01',0,'0000-00-00 00:00:00'),(2005,2092,1,33122,'almari',40,0,0,0,0,40,31,'2016-08-16 08:36:32',0,'2016-08-17 04:21:19'),(2006,2093,0,33134,'saje',230,0,0,0,0,0,0,'2016-08-16 09:01:47',0,'0000-00-00 00:00:00'),(2007,2094,0,33134,'saje',100,0,0,0,0,0,0,'2016-08-16 09:02:16',0,'0000-00-00 00:00:00'),(2008,2095,0,33135,'tah',10,0,0,0,0,0,0,'2016-08-16 09:04:38',0,'0000-00-00 00:00:00'),(2009,2096,0,33134,'saje',80,0,0,0,0,0,0,'2016-08-16 09:05:10',0,'0000-00-00 00:00:00'),(2010,2097,1,33061,'pc baru',1200,0,0,0,0,1200,0,'2016-08-16 09:09:08',0,'0000-00-00 00:00:00'),(2012,2099,1,33062,'motor ',20,0,0,0,0,20,0,'2016-08-16 09:16:41',0,'0000-00-00 00:00:00'),(2013,2100,1,33062,'beli motor baru',3000,0,0,0,0,3000,0,'2016-08-16 09:22:59',0,'0000-00-00 00:00:00'),(2014,2101,1,33085,'buat iklan',100,0,0,0,0,100,0,'2016-08-16 09:31:04',0,'0000-00-00 00:00:00'),(2015,2102,1,33065,'penyapu',5,0,0,0,0,5,0,'2016-08-16 09:35:39',0,'0000-00-00 00:00:00'),(2016,2103,1,33099,'member club',10,0,0,0,0,10,0,'2016-08-16 09:48:33',0,'0000-00-00 00:00:00'),(2017,2104,0,33073,'pindah duit ke tangan',1000,0,0,0,0,0,0,'2016-08-16 09:58:39',0,'0000-00-00 00:00:00'),(2018,2105,1,33019,'17/08/2016',170816,0,0,0,0,170816,28,'2016-08-17 01:57:25',0,'0000-00-00 00:00:00'),(2019,2106,1,33019,'17082016',178016,0,0,0,0,178016,28,'2016-08-17 02:01:00',0,'2016-08-17 02:02:27'),(2021,2108,0,33134,'sedekah',60,0,0,0,0,0,0,'2016-08-17 02:46:32',0,'0000-00-00 00:00:00'),(2022,2109,1,33094,'motor baru dah rosak',100,0,0,0,0,100,32,'2016-08-17 02:59:33',0,'0000-00-00 00:00:00'),(2023,2110,1,33064,'baiki siling',200,0,0,0,0,200,32,'2016-08-17 03:02:00',0,'0000-00-00 00:00:00'),(2024,2111,1,33082,'ayam',15,0,0,0,0,15,32,'2016-08-17 03:03:25',0,'0000-00-00 00:00:00'),(2025,2113,1,33122,'kusyen',320,0,0,0,0,320,31,'2016-08-17 04:18:08',0,'0000-00-00 00:00:00'),(2026,2092,1,33122,'katil',1257,0,0,0,0,1257,31,'2016-08-17 04:21:19',0,'0000-00-00 00:00:00'),(2027,2114,1,33158,'cuci tingkap',289,0,0,0,0,289,31,'2016-08-17 04:39:56',0,'0000-00-00 00:00:00'),(2028,2115,1,33139,'hah',90,0,0,0,0,90,31,'2016-08-17 04:45:29',0,'0000-00-00 00:00:00'),(2029,2116,1,33139,'wer',200,0,0,0,0,200,31,'2016-08-17 06:14:46',0,'0000-00-00 00:00:00'),(2030,2117,1,33076,'test',25,0,0,0,0,25,32,'2016-08-17 06:16:47',0,'0000-00-00 00:00:00'),(2032,2119,1,33076,'membayar balik hutang',50,0,0,0,0,50,32,'2016-08-17 07:33:47',0,'0000-00-00 00:00:00'),(2036,2123,1,33077,'bayar ceti haram dengan pety cash 400',400,0,0,0,0,400,32,'2016-08-17 07:50:29',0,'0000-00-00 00:00:00'),(2039,2126,1,33019,'COGS1',101,0,0,0,0,101,28,'2016-08-18 01:17:30',0,'0000-00-00 00:00:00'),(2040,2127,1,33019,'121',121,0,0,0,0,121,28,'2016-08-18 01:23:57',0,'0000-00-00 00:00:00'),(2041,2128,1,33019,'1',1,0,0,0,0,1,28,'2016-08-18 01:31:41',0,'0000-00-00 00:00:00'),(2042,2129,1,33019,'2',2,0,0,0,0,2,28,'2016-08-18 01:31:56',0,'0000-00-00 00:00:00'),(2043,2130,1,33019,'3',3,0,0,0,0,3,28,'2016-08-18 01:32:12',0,'0000-00-00 00:00:00'),(2044,2131,1,33019,'4',4,0,0,0,0,4,28,'2016-08-18 01:32:26',0,'0000-00-00 00:00:00'),(2045,2132,1,33019,'5',5,0,0,0,0,5,28,'2016-08-18 01:32:43',0,'0000-00-00 00:00:00'),(2046,2133,1,33019,'6',6,0,0,0,0,6,28,'2016-08-18 01:32:54',0,'0000-00-00 00:00:00'),(2047,2134,1,33019,'7',7,0,0,0,0,7,28,'2016-08-18 01:33:09',0,'0000-00-00 00:00:00'),(2048,2135,1,33019,'8',8,0,0,0,0,8,28,'2016-08-18 01:33:24',0,'0000-00-00 00:00:00'),(2049,2136,1,33019,'9',9,0,0,0,0,9,28,'2016-08-18 01:33:40',0,'0000-00-00 00:00:00'),(2050,2137,1,33019,'10',10,0,0,0,0,10,28,'2016-08-18 01:34:00',0,'0000-00-00 00:00:00'),(2051,2138,1,33019,'11',11,0,0,0,0,11,28,'2016-08-18 01:34:13',0,'0000-00-00 00:00:00'),(2052,2139,1,33019,'12',12,0,0,0,0,12,28,'2016-08-18 01:34:49',0,'0000-00-00 00:00:00'),(2053,2140,1,33019,'100',100,0,0,0,0,100,28,'2016-08-18 01:54:41',0,'0000-00-00 00:00:00'),(2054,2141,1,33019,'200',200,0,0,0,0,200,28,'2016-08-18 01:56:07',0,'0000-00-00 00:00:00'),(2055,2141,1,33019,'100',100,0,0,0,0,100,28,'2016-08-18 01:56:19',0,'0000-00-00 00:00:00'),(2056,2142,1,32527,'Item A',100,0,0,0,0,100,1,'2016-08-18 02:00:22',0,'0000-00-00 00:00:00'),(2058,2142,1,32527,'Item C',100,0,0,0,0,100,1,'2016-08-18 02:00:22',0,'0000-00-00 00:00:00'),(2059,2143,0,32573,'bank 1 ke bank 2 12',12,0,0,0,0,0,0,'2016-08-18 04:53:12',0,'0000-00-00 00:00:00'),(2060,2144,1,32787,'Petronas',100,0,0,0,0,100,10,'2016-08-19 07:28:53',0,'0000-00-00 00:00:00'),(2061,2144,1,32793,'Sewa',1000,0,0,0,0,1000,10,'2016-08-19 07:28:53',0,'0000-00-00 00:00:00'),(2062,2145,1,32780,'GST for Pen Biru',0.6,0,0,0,0,0.6,10,'2016-08-19 07:36:16',0,'0000-00-00 00:00:00'),(2063,2145,1,32786,'Pen Biru',10,0,0,0,0,10,10,'2016-08-19 07:36:16',0,'0000-00-00 00:00:00'),(2064,2185,1,32768,'January',1000,0,0,0,0,1000,10,'2016-08-19 07:37:28',0,'2016-08-29 08:43:33'),(2065,2147,1,32527,'Item A',1000,0,0,0,0,1000,1,'2016-08-19 09:06:45',0,'0000-00-00 00:00:00'),(2066,2148,1,32527,'Item ABC',1000,0,0,0,0,1000,1,'2016-08-19 09:09:20',0,'0000-00-00 00:00:00'),(2068,2149,1,33019,'22/8/2016 01',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2069,2149,1,33019,'22/8/2016 02',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2070,2149,1,33019,'22/8/2016 03',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2071,2149,1,33019,'22/8/2016 04',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2072,2149,1,33019,'22/8/2016 05',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2073,2149,1,33019,'22/8/2016 06',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2074,2149,1,33019,'22/8/2016 07',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2075,2149,1,33019,'22/8/2016 08',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2076,2149,1,33019,'22/8/2016 09',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2077,2149,1,33019,'22/8/2016 10',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2078,2149,1,33019,'22/8/2016 11',0,0,0,0,0,0,28,'2016-08-22 01:10:44',0,'2016-08-22 01:12:25'),(2079,2150,1,32773,'fad',120,0,0,0,0,120,10,'2016-08-22 01:14:02',0,'0000-00-00 00:00:00'),(2080,2151,1,33019,'HARINI',100,0,0,0,0,100,28,'2016-08-22 01:25:14',0,'0000-00-00 00:00:00'),(2082,2152,1,33019,'HARINI 02',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2083,2152,1,33019,'HARINI 03',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2084,2152,1,33019,'HARINI 04',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2085,2152,1,33019,'HARINI 05',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2086,2152,1,33019,'HARINI 06',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2087,2152,1,33019,'HARINI 07',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2088,2152,1,33019,'HARINI 08',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2089,2152,1,33019,'HARINI 09',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2090,2152,1,33019,'HARINI 10',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2091,2152,1,33019,'HARINI 11',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2092,2152,1,33019,'HARINI 12',0,0,0,0,0,0,28,'2016-08-22 01:29:50',0,'2016-08-22 01:32:37'),(2093,2153,0,33008,'Transfer',100,0,0,0,0,0,0,'2016-08-22 02:13:09',0,'0000-00-00 00:00:00'),(2095,2154,1,33013,'Description 06',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2096,2154,1,33013,'Description 11',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2097,2154,1,33014,'Description 02',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2098,2154,1,33014,'Description 07',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2099,2154,1,33014,'Description 12',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2100,2154,1,33015,'Description 03',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2101,2154,1,33015,'Description 08',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2102,2154,1,33015,'Description 13',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2103,2154,1,33016,'Description 04',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2104,2154,1,33016,'Description 09',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2105,2154,1,33016,'Description 14',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2106,2154,1,33017,'Description 05',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2107,2154,1,33017,'Description 10',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2108,2154,1,33017,'Description 15',0,0,0,0,0,0,28,'2016-08-22 02:24:25',0,'2016-08-22 02:26:14'),(2109,2155,1,32530,'Item A',0,0,0,0,0,0,1,'2016-08-22 06:28:40',0,'2016-08-22 06:30:54'),(2111,2155,1,32529,'1',1,0,0,0,0,1,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2113,2155,1,32529,'3',1,0,0,0,0,1,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2114,2155,1,32529,'4',1,0,0,0,0,1,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2115,2155,1,32529,'5',1,0,0,0,0,1,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2116,2155,1,32529,'7',1,0,0,0,0,1,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2117,2155,1,32529,'8',1,0,0,0,0,1,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2118,2155,1,32530,'6',1,0,0,0,0,1,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2119,2155,1,32531,'9',1,0,0,0,0,1,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2120,2155,1,32535,'10',11,0,0,0,0,11,1,'2016-08-22 06:30:54',0,'0000-00-00 00:00:00'),(2121,2156,1,32773,'beli garam + bahan2 mentah',0,0,0,0,0,0,10,'2016-08-26 07:34:16',0,'0000-00-00 00:00:00'),(2122,2159,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-26 11:39:04',0,'0000-00-00 00:00:00'),(2123,2159,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-26 11:39:04',0,'0000-00-00 00:00:00'),(2124,2159,1,32527,'Item 3',1,0,0,0,0,1,1,'2016-08-26 11:39:04',0,'0000-00-00 00:00:00'),(2125,2160,1,33019,'29082016',100,0,0,0,0,100,28,'2016-08-29 01:15:09',0,'0000-00-00 00:00:00'),(2126,2161,1,33019,'29082016',100,0,0,0,0,100,28,'2016-08-29 01:18:21',0,'0000-00-00 00:00:00'),(2127,2163,0,33007,'',23,0,0,0,0,0,0,'2016-08-29 02:05:29',0,'0000-00-00 00:00:00'),(2128,2168,1,33019,'harini',1,0,0,0,0,1,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2129,2168,1,33019,'harini',2,0,0,0,0,2,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2130,2168,1,33019,'harini',3,0,0,0,0,3,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2131,2168,1,33019,'harini',4,0,0,0,0,4,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2132,2166,1,33019,'harini',5,0,0,0,0,5,28,'2016-08-29 02:33:38',0,'2016-08-29 02:35:08'),(2133,2168,1,33019,'harini',6,0,0,0,0,6,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2134,2168,1,33019,'harini',7,0,0,0,0,7,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2135,2168,1,33019,'harini',8,0,0,0,0,8,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2136,2168,1,33019,'harini',9,0,0,0,0,9,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2137,2168,1,33019,'harini',10,0,0,0,0,10,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2138,2168,1,33019,'harini',11,0,0,0,0,11,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2139,2168,1,33019,'harini',12,0,0,0,0,12,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2140,2168,1,33019,'harini',13,0,0,0,0,13,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2141,2168,1,33019,'harini',14,0,0,0,0,14,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2142,2168,1,33019,'harini',15,0,0,0,0,15,28,'2016-08-29 02:33:38',0,'2016-08-29 02:39:26'),(2143,2167,1,33019,'harini',15,0,0,0,0,15,28,'2016-08-29 02:36:36',0,'0000-00-00 00:00:00'),(2144,2169,1,33019,'harini',100,0,0,0,0,100,28,'2016-08-29 02:40:45',0,'0000-00-00 00:00:00'),(2145,2170,1,33019,'harini',200,0,0,0,0,200,28,'2016-08-29 02:40:57',0,'0000-00-00 00:00:00'),(2146,2171,0,32762,'fadddd',79999,0,0,0,0,0,0,'2016-08-29 07:30:07',0,'2016-08-29 07:48:15'),(2147,2173,1,0,'Item 1',1,0,0,0,0,1,1,'2016-08-29 07:46:52',0,'2016-08-29 07:47:29'),(2148,2173,1,0,'Item 2',0.99,0,0,0,0,0.99,1,'2016-08-29 07:46:52',0,'2016-08-29 07:47:29'),(2149,2173,1,0,'Item 3',1,0,0,0,0,1,1,'2016-08-29 07:46:52',0,'2016-08-29 07:47:29'),(2150,2173,1,0,'Item 4',0.01,0,0,0,0,0.01,1,'2016-08-29 07:46:52',0,'2016-08-29 07:47:29'),(2151,2180,1,33019,'29082016',100,0,0,0,0,100,28,'2016-08-29 07:49:08',0,'2016-08-29 07:52:55'),(2152,2181,1,32529,'Item 1',1,0,0,0,0,1,1,'2016-08-29 08:06:02',0,'0000-00-00 00:00:00'),(2153,2182,1,32529,'Item 1',1,0,0,0,0,1,1,'2016-08-29 08:15:02',0,'0000-00-00 00:00:00'),(2154,2182,1,32530,'Item 2',1,0,0,0,0,1,1,'2016-08-29 08:15:02',0,'0000-00-00 00:00:00'),(2155,2182,1,32531,'Item 3',0.99,0,0,0,0,0.99,1,'2016-08-29 08:15:02',0,'0000-00-00 00:00:00'),(2156,2182,1,32532,'Item 4',0.01,0,0,0,0,0.01,1,'2016-08-29 08:15:02',0,'0000-00-00 00:00:00'),(2157,2183,1,32529,'Item 2',1,0,0,0,0,1,1,'2016-08-29 08:27:29',0,'0000-00-00 00:00:00'),(2158,2183,1,32540,'Item 1',1,0,0,0,0,1,1,'2016-08-29 08:27:29',0,'0000-00-00 00:00:00'),(2159,2184,0,32762,'sdadd',23130,0,0,0,0,0,0,'2016-08-29 08:42:49',0,'2016-08-29 09:58:16'),(2160,2186,1,32529,'Item 1',1,0,0,0,0,1,1,'2016-08-29 08:46:23',0,'0000-00-00 00:00:00'),(2161,2188,1,32529,'Item 1',1,0,0,0,0,1,1,'2016-08-29 08:52:20',0,'2016-08-29 08:54:08'),(2162,2190,1,32529,'Item 1',1,0,0,0,0,1,1,'2016-08-29 08:56:06',0,'2016-08-29 08:56:52'),(2163,2190,1,32530,'Item 2',1,0,0,0,0,1,1,'2016-08-29 08:56:06',0,'2016-08-29 08:56:52'),(2164,2191,1,32529,'Item 1',1,0,0,0,0,1,1,'2016-08-29 09:10:36',0,'0000-00-00 00:00:00'),(2165,2191,1,32530,'Item 2',1,0,0,0,0,1,1,'2016-08-29 09:10:36',0,'0000-00-00 00:00:00'),(2166,2192,1,32529,'Item 1',1,0,0,0,0,1,1,'2016-08-29 09:27:16',0,'0000-00-00 00:00:00'),(2167,2192,1,32530,'Item 2',1,0,0,0,0,1,1,'2016-08-29 09:27:16',0,'0000-00-00 00:00:00'),(2168,2144,1,32781,'Saya fad',980,0,0,0,0,980,10,'2016-08-30 01:09:58',0,'0000-00-00 00:00:00'),(2169,2193,1,33019,'30082016',100,0,0,0,0,100,28,'2016-08-30 02:45:12',0,'0000-00-00 00:00:00'),(2170,2194,0,32765,'fadfasfdasfasfasfasfasfasf',12331,0,0,0,0,0,0,'2016-08-30 02:45:45',0,'0000-00-00 00:00:00'),(2171,2195,1,32527,'Item 1',1.3,0,0,0,0,1.3,1,'2016-08-30 06:40:30',0,'0000-00-00 00:00:00'),(2172,2195,1,32527,'Item 2',0.7,0,0,0,0,0.7,1,'2016-08-30 06:40:30',0,'0000-00-00 00:00:00'),(2173,2195,1,32527,'Item 3',0.99,0,0,0,0,0.99,1,'2016-08-30 06:40:30',0,'0000-00-00 00:00:00'),(2174,2195,1,32527,'Item 4',1.01,0,0,0,0,1.01,1,'2016-08-30 06:40:30',0,'0000-00-00 00:00:00'),(2175,2196,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 07:17:55',0,'0000-00-00 00:00:00'),(2176,2196,1,32527,'Item 2',0.09,0,0,0,0,0.09,1,'2016-08-30 07:17:55',0,'0000-00-00 00:00:00'),(2177,2196,1,32527,'Item 3',1.91,0,0,0,0,1.91,1,'2016-08-30 07:17:55',0,'0000-00-00 00:00:00'),(2178,2196,1,32527,'Item 4',1,0,0,0,0,1,1,'2016-08-30 07:22:19',0,'0000-00-00 00:00:00'),(2179,2196,1,32527,'Item 5',1,0,0,0,0,1,1,'2016-08-30 07:22:19',0,'0000-00-00 00:00:00'),(2181,2198,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2182,2198,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2183,2198,1,32527,'Item 3',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2184,2198,1,32527,'Item 4',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2185,2198,1,32527,'Item 5',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2186,2198,1,32527,'Item 6',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2187,2198,1,32527,'Item 7',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2188,2198,1,32527,'Item 8',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2189,2198,1,32527,'Item 9',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2190,2198,1,32527,'Item 10',1,0,0,0,0,1,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2191,2198,1,32527,'Item 11',10,0,0,0,0,10,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2192,2198,1,32527,'Item 12',80,0,0,0,0,80,1,'2016-08-30 07:35:23',0,'0000-00-00 00:00:00'),(2193,2198,1,32527,'Item 11',100,0,0,0,0,100,1,'2016-08-30 07:36:50',0,'0000-00-00 00:00:00'),(2194,2199,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:24:11',0,'0000-00-00 00:00:00'),(2195,2199,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-30 08:24:11',0,'0000-00-00 00:00:00'),(2196,2200,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:24:46',0,'0000-00-00 00:00:00'),(2197,2201,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:31:17',0,'0000-00-00 00:00:00'),(2198,2201,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-30 08:32:36',0,'0000-00-00 00:00:00'),(2199,2201,1,32527,'Item 3',1,0,0,0,0,1,1,'2016-08-30 08:32:36',0,'0000-00-00 00:00:00'),(2200,2201,1,32527,'Item 4',1,0,0,0,0,1,1,'2016-08-30 08:32:36',0,'0000-00-00 00:00:00'),(2201,2201,1,32527,'Item 5',1,0,0,0,0,1,1,'2016-08-30 08:32:36',0,'0000-00-00 00:00:00'),(2202,2202,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:36:50',0,'0000-00-00 00:00:00'),(2203,2202,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-30 08:36:50',0,'0000-00-00 00:00:00'),(2204,2202,1,32527,'Item 5',1,0,0,0,0,1,1,'2016-08-30 08:36:50',0,'0000-00-00 00:00:00'),(2205,2202,1,32527,'Item 3',1,0,0,0,0,1,1,'2016-08-30 08:37:44',0,'0000-00-00 00:00:00'),(2206,2202,1,32527,'Item 4',1,0,0,0,0,1,1,'2016-08-30 08:37:44',0,'0000-00-00 00:00:00'),(2207,2202,1,32527,'Item 5',1,0,0,0,0,1,1,'2016-08-30 08:37:44',0,'0000-00-00 00:00:00'),(2208,2203,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:39:46',0,'0000-00-00 00:00:00'),(2209,2203,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-30 08:39:46',0,'0000-00-00 00:00:00'),(2210,2203,1,32527,'Item 3',1,0,0,0,0,1,1,'2016-08-30 08:39:46',0,'0000-00-00 00:00:00'),(2211,2203,1,32527,'Item 3',1,0,0,0,0,1,1,'2016-08-30 08:40:27',0,'0000-00-00 00:00:00'),(2212,2203,1,32527,'Item 4',1,0,0,0,0,1,1,'2016-08-30 08:40:27',0,'0000-00-00 00:00:00'),(2213,2204,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:42:31',0,'0000-00-00 00:00:00'),(2214,2204,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:43:32',0,'0000-00-00 00:00:00'),(2215,2204,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-30 08:43:32',0,'0000-00-00 00:00:00'),(2216,2205,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:46:09',0,'0000-00-00 00:00:00'),(2217,2205,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:46:34',0,'0000-00-00 00:00:00'),(2218,2205,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-30 08:46:34',0,'0000-00-00 00:00:00'),(2219,2206,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 08:47:13',0,'0000-00-00 00:00:00'),(2234,2209,1,32527,'Item 1',10000,0,0,0,0,10000,1,'2016-08-30 09:01:40',0,'0000-00-00 00:00:00'),(2235,2210,1,32529,'Item 1',1,0,0,0,0,1,1,'2016-08-30 09:05:42',0,'0000-00-00 00:00:00'),(2237,2211,1,32531,'Item 1',1,0,0,0,0,1,1,'2016-08-30 09:07:35',0,'0000-00-00 00:00:00'),(2238,2212,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-08-30 09:20:13',0,'0000-00-00 00:00:00'),(2239,2212,1,32527,'Item 2',1,0,0,0,0,1,1,'2016-08-30 09:20:13',0,'0000-00-00 00:00:00'),(2240,2213,1,33019,'haiyaaaa',100,0,0,0,0,100,28,'2016-09-01 01:29:29',0,'0000-00-00 00:00:00'),(2242,2260,1,32773,'fad',123,0,0,0,0,123,10,'2016-09-01 01:33:51',0,'2016-09-26 02:26:14'),(2243,2214,1,33019,'hoii',1,0,0,0,0,1,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2244,2214,1,33019,'hoii',100,0,0,0,0,100,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2245,2214,1,33019,'hoii',222,0,0,0,0,222,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2246,2214,1,33019,'hoii',333,0,0,0,0,333,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2247,2214,1,33019,'hoii',444,0,0,0,0,444,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2248,2214,1,33019,'hoii',555,0,0,0,0,555,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2249,2214,1,33019,'hoii',666,0,0,0,0,666,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2250,2214,1,33019,'hoii',777,0,0,0,0,777,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2251,2214,1,33019,'hoii',121,0,0,0,0,121,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2252,2214,1,33019,'hoii',123,0,0,0,0,123,28,'2016-09-01 01:36:18',0,'0000-00-00 00:00:00'),(2254,2216,1,33048,'tax',1000,0,0,0,0,1000,28,'2016-09-01 01:53:53',0,'0000-00-00 00:00:00'),(2255,2217,1,32773,'fad',123,0,0,0,0,123,10,'2016-09-01 01:53:59',0,'0000-00-00 00:00:00'),(2256,2218,1,33036,'hoii',1090,0,0,0,0,1090,28,'2016-09-01 01:56:18',0,'0000-00-00 00:00:00'),(2257,2219,1,33002,'hoii',1000,0,0,0,0,1000,28,'2016-09-01 01:57:30',0,'0000-00-00 00:00:00'),(2258,2220,1,33013,'hoii',19092,0,0,0,0,19092,28,'2016-09-01 02:03:19',0,'0000-00-00 00:00:00'),(2259,2221,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-09-01 02:13:21',0,'0000-00-00 00:00:00'),(2260,2222,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-09-01 02:14:02',0,'0000-00-00 00:00:00'),(2261,2223,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-09-01 02:16:06',0,'0000-00-00 00:00:00'),(2262,2224,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-09-01 02:17:36',0,'0000-00-00 00:00:00'),(2263,2225,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-09-01 02:18:12',0,'0000-00-00 00:00:00'),(2264,2226,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-09-01 02:22:33',0,'0000-00-00 00:00:00'),(2265,2227,1,32527,'Item 1',1,0,0,0,0,1,1,'2016-09-01 02:24:28',0,'0000-00-00 00:00:00'),(2266,2228,1,33019,'hoii',100,0,0,0,0,100,28,'2016-09-01 02:35:54',0,'0000-00-00 00:00:00'),(2267,2229,1,33019,'hoii',100,0,0,0,0,100,28,'2016-09-01 02:36:48',0,'0000-00-00 00:00:00'),(2268,2230,1,33019,'hoii',12121,0,0,0,0,12121,28,'2016-09-01 02:37:14',0,'0000-00-00 00:00:00'),(2269,2231,1,33019,'hoii',100,0,0,0,0,100,28,'2016-09-01 02:38:09',0,'0000-00-00 00:00:00'),(2270,2232,1,33019,'hoii',200,0,0,0,0,200,28,'2016-09-01 02:38:28',0,'0000-00-00 00:00:00'),(2271,2233,1,32522,'Item 1',10000,0,0,0,0,10000,1,'2016-09-01 07:06:59',0,'0000-00-00 00:00:00'),(2272,2234,1,32773,'fadhihi',123,0,0,0,0,123,10,'2016-09-02 02:15:48',0,'0000-00-00 00:00:00'),(2275,2237,0,32761,'fad',1234,0,0,0,0,0,0,'2016-09-02 03:14:32',0,'0000-00-00 00:00:00'),(2281,2243,0,32762,'fad',4444,0,0,0,0,0,0,'2016-09-02 03:51:32',0,'0000-00-00 00:00:00'),(2282,2244,0,32762,'gggg',421,0,0,0,0,0,0,'2016-09-02 03:54:53',0,'0000-00-00 00:00:00'),(2283,2245,0,32762,'ghdfhs',66667,0,0,0,0,0,0,'2016-09-02 04:02:34',0,'2016-09-02 04:03:11'),(2284,2246,1,33019,'05092016',100,0,0,0,0,100,28,'2016-09-05 06:21:55',0,'0000-00-00 00:00:00'),(2285,2247,1,33021,'05092016',100,0,0,0,0,100,28,'2016-09-05 06:24:43',0,'0000-00-00 00:00:00'),(2286,2248,1,32777,'05092016',100,0,0,0,0,100,10,'2016-09-05 06:27:20',0,'0000-00-00 00:00:00'),(2287,2249,1,32773,'05092016',100,0,0,0,0,100,10,'2016-09-05 06:28:45',0,'0000-00-00 00:00:00'),(2288,2250,1,32773,'Ayam',100,0,0,0,0,100,10,'2016-09-07 09:35:06',0,'0000-00-00 00:00:00'),(2289,2250,1,32773,'Sayur',50,0,0,0,0,50,10,'2016-09-07 09:35:06',0,'0000-00-00 00:00:00'),(2290,2251,1,32773,'expenses',100,0,0,0,0,100,10,'2016-09-08 07:22:59',0,'0000-00-00 00:00:00'),(2291,2252,1,32773,'hihi',200,0,0,0,0,200,10,'2016-09-08 07:28:10',0,'0000-00-00 00:00:00'),(2292,2253,1,32773,'huhu',321,0,0,0,0,321,10,'2016-09-09 01:40:44',0,'0000-00-00 00:00:00'),(2293,2254,1,32773,'hihi',300,0,0,0,0,300,10,'2016-09-09 04:22:03',0,'0000-00-00 00:00:00'),(2294,2254,1,32773,'huhu',120,0,0,0,0,120,10,'2016-09-09 04:22:18',0,'0000-00-00 00:00:00'),(2295,2255,1,32773,'Fadhirul',900,0,0,0,0,900,10,'2016-09-15 02:26:20',0,'0000-00-00 00:00:00'),(2296,2255,1,32773,'Fadhirul2',400,0,0,0,0,400,10,'2016-09-15 02:26:50',0,'0000-00-00 00:00:00'),(2297,2256,1,32773,'Fadhirul',900,0,0,0,0,900,10,'2016-09-15 02:32:21',0,'0000-00-00 00:00:00'),(2298,2256,1,32773,'Fadhirul2',480,0,0,0,0,480,10,'2016-09-15 02:33:21',0,'0000-00-00 00:00:00'),(2299,2257,1,32773,'fadh',4390,0,0,0,0,4390,10,'2016-09-19 04:28:48',0,'0000-00-00 00:00:00'),(2300,2258,0,32516,'deposit',100,0,0,0,0,0,0,'2016-09-23 02:50:23',0,'0000-00-00 00:00:00'),(2301,2259,0,32762,'fad',123,0,0,0,0,0,0,'2016-09-26 02:18:26',0,'0000-00-00 00:00:00'),(2302,2261,1,33322,'TOPUNG KOMAK',100,0,0,0,0,100,28,'2016-09-26 07:16:22',0,'0000-00-00 00:00:00'),(2303,2261,1,33322,'TOPUNG KOMAK',150,0,0,0,0,150,28,'2016-09-26 07:17:03',0,'0000-00-00 00:00:00'),(2304,2262,1,32584,'fad',120,0,0,0,0,120,11,'2016-09-26 07:33:56',0,'0000-00-00 00:00:00'),(2306,2263,1,33322,'fad',700,0,0,0,0,700,28,'2016-09-26 07:45:40',0,'0000-00-00 00:00:00'),(2307,2263,1,33322,'fad',800,0,0,0,0,800,28,'2016-09-26 07:46:03',0,'0000-00-00 00:00:00'),(2308,2263,1,33322,'fad',130,0,0,0,0,130,28,'2016-09-26 07:53:42',0,'0000-00-00 00:00:00'),(2309,2263,1,33322,'fad',66,0,0,0,0,66,28,'2016-09-26 09:30:08',0,'0000-00-00 00:00:00'),(2310,2264,0,33312,'Quit Rent',200,0,0,0,0,0,0,'2016-09-27 00:54:43',0,'2016-09-27 01:22:55'),(2311,2263,1,33322,'fad',897,0,0,0,0,897,28,'2016-09-27 01:16:21',0,'0000-00-00 00:00:00'),(2312,2262,1,32584,'aizat',456,0,0,0,0,456,11,'2016-09-27 01:27:49',0,'0000-00-00 00:00:00'),(2313,2262,1,32584,'fad',1200,0,0,0,0,1200,11,'2016-09-27 01:28:32',0,'0000-00-00 00:00:00'),(2314,2265,1,33316,'Loan Niaga',2000,0,0,0,0,2000,28,'2016-09-27 01:30:27',0,'0000-00-00 00:00:00'),(2315,2265,1,33316,'Loan Niaga',1000,0,0,0,0,1000,28,'2016-09-27 01:31:24',0,'0000-00-00 00:00:00'),(2316,2262,1,32584,'akmal',1,0,0,0,0,1,11,'2016-09-27 01:32:15',0,'0000-00-00 00:00:00'),(2317,2266,1,33322,'harini',4500,0,0,0,0,4500,28,'2016-09-27 02:23:41',0,'0000-00-00 00:00:00'),(2318,2266,1,33322,'harini',1500,0,0,0,0,1500,28,'2016-09-27 02:24:03',0,'0000-00-00 00:00:00'),(2319,2267,0,33311,'semalam',2000,0,0,0,0,0,0,'2016-09-27 02:24:49',0,'2016-09-27 02:25:07'),(2320,2268,0,33310,'baju',150,0,0,0,0,0,0,'2016-09-27 02:25:57',0,'2016-09-27 02:26:12'),(2321,2269,0,32573,'bank 1 ke bank 2 rm2 ',56,0,0,0,0,0,0,'2016-09-27 02:33:46',0,'2016-09-27 02:35:47'),(2322,2270,0,32573,'b 1 ke b2 rm44',44,0,0,0,0,0,0,'2016-09-27 02:36:19',0,'2016-09-27 02:36:45'),(2323,2271,0,32574,'b1 b3 rm23',233,0,0,0,0,0,0,'2016-09-27 02:37:34',0,'2016-09-27 02:39:12'),(2324,2272,0,32575,'b1 ke pc1 rm222',222,0,0,0,0,0,0,'2016-09-27 02:40:10',0,'0000-00-00 00:00:00'),(2325,2273,0,32574,'b1 ke b3 rm44',44,0,0,0,0,0,0,'2016-09-27 03:01:22',0,'0000-00-00 00:00:00'),(2326,2274,1,32578,'bulan 9',100,0,0,0,0,100,11,'2016-09-27 04:38:50',0,'0000-00-00 00:00:00'),(2327,2275,1,32579,'bulan 9',122,0,0,0,0,122,11,'2016-09-27 04:41:32',0,'0000-00-00 00:00:00'),(2328,2277,1,32580,'bulan 9',111,0,0,0,0,111,11,'2016-09-27 04:44:00',0,'2016-09-27 04:46:15'),(2329,2276,1,32580,'bulan 9',110,0,0,0,0,110,11,'2016-09-27 04:45:30',0,'0000-00-00 00:00:00'),(2330,2277,1,32581,'bulan 9',122,0,0,0,0,122,11,'2016-09-27 04:46:15',0,'0000-00-00 00:00:00'),(2331,2278,0,33311,'hilmi',349,0,0,0,0,0,0,'2016-09-27 04:49:22',0,'0000-00-00 00:00:00'),(2332,2279,1,32578,'bulan 9',899,0,0,0,0,899,11,'2016-09-27 06:56:30',0,'0000-00-00 00:00:00'),(2333,2280,1,32578,'bulan 9',122,0,0,0,0,122,11,'2016-09-27 07:00:45',0,'0000-00-00 00:00:00'),(2334,2280,1,32578,'bulan 10',123,0,0,0,0,123,11,'2016-09-27 07:01:25',0,'2016-09-27 07:12:08'),(2336,2280,1,32578,'bulan 11',1125,0,0,0,0,1125,11,'2016-09-27 07:12:08',0,'2016-09-27 07:12:38'),(2337,2281,1,33322,'Tepung Komak',700,0,0,0,0,700,28,'2016-09-27 07:25:11',0,'2016-09-27 07:25:31'),(2338,2282,1,33328,'Water',239,0,0,0,0,239,28,'2016-09-27 07:26:38',0,'2016-09-27 07:26:59'),(2339,2283,1,33299,'Kusi',395,0,0,0,0,395,28,'2016-09-27 07:27:44',0,'2016-09-27 07:28:08'),(2340,2284,1,33316,'Ansuran',999,0,0,0,0,999,28,'2016-09-27 07:29:13',0,'2016-09-27 07:29:33'),(2341,2285,1,33385,'IKAN PATIN',450,0,0,0,0,450,28,'2016-09-29 01:18:46',0,'2016-09-29 01:19:03'),(2342,2286,1,33385,'TEMPOYAK',50,0,0,0,0,50,28,'2016-09-29 01:19:27',0,'0000-00-00 00:00:00'),(2343,2286,1,33385,'TUNGKING AYAM',100,0,0,0,0,100,28,'2016-09-29 01:20:15',0,'0000-00-00 00:00:00'),(2344,2286,1,33385,'TRAY BESI',150,0,0,0,0,150,28,'2016-09-29 01:20:15',0,'0000-00-00 00:00:00'),(2345,2286,1,33385,'JUG AIR',150,0,0,0,0,150,28,'2016-09-29 01:20:15',0,'0000-00-00 00:00:00'),(2346,2287,1,33391,'ELECTRICITY',250,0,0,0,0,250,28,'2016-09-29 01:30:37',0,'0000-00-00 00:00:00'),(2347,2288,1,33391,'WATER',100,0,0,0,0,100,28,'2016-09-29 01:31:01',0,'0000-00-00 00:00:00'),(2348,2289,1,33410,'GAJI BULANAN',1500,0,0,0,0,1500,28,'2016-09-29 01:31:36',0,'0000-00-00 00:00:00'),(2349,2290,1,33385,'AYAM',957,0,0,0,0,957,28,'2016-09-29 01:37:23',0,'2016-09-29 01:41:26'),(2350,2290,1,33385,'SALAD',100,0,0,0,0,100,28,'2016-09-29 01:37:23',0,'2016-09-29 01:41:26'),(2351,2290,1,33385,'TOMATO',50,0,0,0,0,50,28,'2016-09-29 01:37:23',0,'2016-09-29 01:41:26'),(2352,2290,1,33385,'TIMUN',50,0,0,0,0,50,28,'2016-09-29 01:37:23',0,'2016-09-29 01:41:26'),(2353,2290,1,33385,'CILI MERAH',30,0,0,0,0,30,28,'2016-09-29 01:37:23',0,'2016-09-29 01:41:26'),(2354,2290,1,33385,'DAUN SUP',10,0,0,0,0,10,28,'2016-09-29 01:37:23',0,'2016-09-29 01:41:26'),(2355,2291,1,33385,'BERAS',100,0,0,0,0,100,28,'2016-09-29 01:38:37',0,'2016-09-29 01:42:35'),(2356,2291,1,33385,'KICAP TAMIN',70,0,0,0,0,70,28,'2016-09-29 01:38:37',0,'2016-09-29 01:42:35'),(2357,2291,1,33385,'BAWANG GORENG',30,0,0,0,0,30,28,'2016-09-29 01:38:37',0,'2016-09-29 01:42:35'),(2358,2291,1,33385,'BAWANG',50,0,0,0,0,50,28,'2016-09-29 01:38:37',0,'2016-09-29 01:42:35'),(2359,2292,1,33385,'BEKAS NASI 5PCS',175,0,0,0,0,175,28,'2016-09-29 01:39:47',0,'0000-00-00 00:00:00'),(2360,2292,1,33385,'TRAY LAUK2',125,0,0,0,0,125,28,'2016-09-29 01:39:47',0,'0000-00-00 00:00:00'),(2361,2291,1,33385,'TEMBIKAI',25,0,0,0,0,25,28,'2016-09-29 01:40:10',0,'0000-00-00 00:00:00'),(2362,2293,1,33365,'HONDA HR-V',150000,0,0,0,0,150000,28,'2016-09-29 03:41:58',0,'0000-00-00 00:00:00'),(2363,2294,0,33375,'HUTANG LAPUK',5000,0,0,0,0,0,0,'2016-09-29 04:01:42',0,'0000-00-00 00:00:00'),(2364,2295,1,33380,'KETA LAMA',1300,0,0,0,0,1300,28,'2016-09-29 04:03:59',0,'0000-00-00 00:00:00'),(2365,2296,1,33380,'BYR TUNGGAKAN',3000,0,0,0,0,3000,28,'2016-09-29 04:27:37',0,'0000-00-00 00:00:00'),(2367,2298,0,33375,'TRANSFER',100,0,0,0,0,0,0,'2016-10-04 07:44:22',0,'0000-00-00 00:00:00'),(2368,2299,1,33387,'wrwr',1,0,0,0,0,1,28,'2016-10-10 04:57:10',0,'0000-00-00 00:00:00'),(2369,2300,1,32527,'Item 1',1000,0,0,0,0,1000,1,'2016-10-10 08:19:24',0,'0000-00-00 00:00:00'),(2370,2317,1,32527,'Item 1',999,0,0,0,0,999,1,'2016-10-10 08:23:43',0,'0000-00-00 00:00:00'),(2371,2318,1,33385,'mortalcombat12',390,0,0,0,0,390,28,'2016-10-11 07:17:06',0,'2016-10-11 07:22:38'),(2372,2318,1,33385,'mortalcombat22',150,0,0,0,0,150,28,'2016-10-11 07:17:06',0,'2016-10-11 07:22:38'),(2373,2351,1,33385,'Barang2 Pasar',8500,0,0,0,0,8500,28,'2016-10-12 07:47:46',0,'0000-00-00 00:00:00'),(2400,2367,1,33387,'soi',1000,0,0,0,0,1000,28,'2016-10-17 08:04:02',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_payment_others_without_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_payment_others_without_item_bak`
--

DROP TABLE IF EXISTS `comp_payment_others_without_item_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_payment_others_without_item_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `otherPaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `itemdescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxBL` double NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_payment_others_without_item_bak`
--

LOCK TABLES `comp_payment_others_without_item_bak` WRITE;
/*!40000 ALTER TABLE `comp_payment_others_without_item_bak` DISABLE KEYS */;
INSERT INTO `comp_payment_others_without_item_bak` VALUES (1387,1405,0,0,'12sdas',70,0,0,0,0,0,0,'2015-11-30 08:13:44',0,'0000-00-00 00:00:00'),(1387,1405,0,0,'12sdas',70,0,0,0,0,0,0,'2015-11-30 08:13:44',0,'0000-00-00 00:00:00'),(1387,1405,0,0,'12sdas',70,0,0,0,0,0,0,'2015-11-30 08:13:44',0,'0000-00-00 00:00:00'),(1388,1406,0,32518,'asa',66,0,0,0,0,0,0,'2015-11-30 08:14:11',0,'2015-11-30 08:14:34'),(1383,1399,0,32517,'testing  as',50,0,0,0,0,0,0,'2015-11-30 07:13:37',0,'2015-11-30 07:52:51'),(1389,1407,0,32516,'aaa',6655,0,0,0,0,0,0,'2015-11-30 08:18:11',0,'2015-11-30 08:18:55'),(1390,1408,0,32516,'Test 3',500,0,0,0,0,0,0,'2015-11-30 09:20:29',0,'2015-11-30 09:27:25'),(1391,1409,0,32516,'transfer',7,0,0,0,0,0,0,'2015-11-30 10:03:21',0,'2015-11-30 10:05:52'),(1393,1411,0,32517,'transfer',800,0,0,0,0,0,0,'2015-11-30 10:18:27',0,'0000-00-00 00:00:00'),(1395,1413,0,32516,'fgffg',7000,0,0,0,0,0,0,'2015-11-30 10:21:22',0,'0000-00-00 00:00:00'),(1396,1414,0,32516,'zxcwqe',22222,0,0,0,0,0,0,'2015-12-01 01:13:30',0,'0000-00-00 00:00:00'),(1397,1418,0,32517,'123123',213,0,0,0,0,0,0,'2015-12-01 01:31:27',0,'0000-00-00 00:00:00'),(1398,1419,0,32515,'assdad',123123,0,0,0,0,0,0,'2015-12-01 01:32:27',0,'0000-00-00 00:00:00'),(1400,1421,0,32519,'sdfsvxvcxcv',123123,0,0,0,0,0,0,'2015-12-01 02:35:26',0,'0000-00-00 00:00:00'),(1401,1422,0,32516,'asdaszxc',2133434,0,0,0,0,0,0,'2015-12-01 02:43:58',0,'0000-00-00 00:00:00'),(1403,1424,0,32516,'345fdbd',456585,0,0,0,0,0,0,'2015-12-01 02:56:54',0,'0000-00-00 00:00:00'),(1404,1425,0,32516,'dfgdfg',465,0,0,0,0,0,0,'2015-12-01 02:57:09',0,'0000-00-00 00:00:00'),(1402,1423,0,32518,'vb fgbg',3333,0,0,0,0,0,0,'2015-12-01 02:56:38',0,'2015-12-01 03:48:23'),(1394,1412,0,32517,'transfer',70,0,0,0,0,0,0,'2015-11-30 10:18:55',0,'2015-11-30 10:20:30'),(1392,1410,0,32516,'pindah',9,0,0,0,0,0,0,'2015-11-30 10:10:16',0,'2015-12-01 05:45:12'),(1421,1442,0,32516,'Bribe',5000000,0,0,0,0,0,0,'2015-12-01 06:43:08',0,'0000-00-00 00:00:00'),(1424,1445,0,32516,'213123',5555,0,0,0,0,0,0,'2015-12-01 07:30:53',0,'0000-00-00 00:00:00'),(1422,1443,0,32517,'Dirty money',420000000,0,0,0,0,0,0,'2015-12-01 06:48:16',0,'2015-12-01 06:49:52'),(1426,1447,0,32517,'1111',0,0,0,0,0,0,0,'2015-12-01 08:26:57',0,'0000-00-00 00:00:00'),(1425,1446,0,32516,'11111',111111,0,0,0,0,0,0,'2015-12-01 08:26:26',0,'2015-12-01 08:27:16'),(1405,1426,0,32516,'bvjjv',22,0,0,0,0,0,0,'2015-12-01 05:00:00',0,'2015-12-01 05:53:46'),(1428,1449,0,32516,'(._.\")',876543,0,0,0,0,0,0,'2015-12-01 08:58:15',0,'0000-00-00 00:00:00'),(1427,1448,0,32516,'YY',100,0,0,0,0,0,0,'2015-12-01 08:34:37',0,'2015-12-01 08:35:12'),(1429,1450,0,32516,'edit 13',1900000000,0,0,0,0,0,0,'2015-12-01 09:05:38',0,'2015-12-01 09:20:44'),(1430,1451,0,32516,'edit 1',123,0,0,0,0,0,0,'2015-12-01 09:23:58',0,'2015-12-01 09:25:07'),(1431,1452,0,32518,'3',222,0,0,0,0,0,0,'2015-12-01 09:30:45',0,'2015-12-01 09:33:06'),(1432,1453,0,32516,'asdfg',23456789,0,0,0,0,0,0,'2015-12-02 03:18:39',0,'2015-12-02 03:25:10'),(1433,1454,0,32516,'234tryhgbvc',10,0,0,0,0,0,0,'2015-12-02 03:37:04',0,'2015-12-02 03:38:09'),(1434,1455,0,32518,'czxasc',2222,0,0,0,0,0,0,'2015-12-02 03:47:25',0,'0000-00-00 00:00:00'),(1445,1463,0,32515,'rent',500,0,0,0,0,0,0,'2015-12-02 08:06:00',0,'0000-00-00 00:00:00'),(1442,1461,0,32516,'Koriss testing 1',8000,0,0,0,0,0,0,'2015-12-02 05:15:35',0,'0000-00-00 00:00:00'),(1446,1475,0,32516,'sdfvfgre',234321,0,0,0,0,0,0,'2015-12-02 09:38:56',0,'0000-00-00 00:00:00'),(1449,1478,0,32517,'',0,0,0,0,0,0,0,'2015-12-03 02:10:10',0,'0000-00-00 00:00:00'),(1450,1479,0,0,'',0,0,0,0,0,0,0,'2015-12-03 02:10:19',0,'0000-00-00 00:00:00'),(1448,1477,0,32515,'',100,0,0,0,0,0,0,'2015-12-03 02:09:59',0,'0000-00-00 00:00:00'),(1435,1456,0,32516,'Nov sales',10000,0,0,0,0,0,0,'2015-12-02 03:59:08',0,'0000-00-00 00:00:00'),(1436,1457,0,32516,'waesa sa',3250,0,0,0,0,0,0,'2015-12-02 04:05:20',0,'2015-12-02 08:49:15'),(1447,1476,0,32516,'100',100,0,0,0,0,0,0,'2015-12-03 01:37:14',0,'2015-12-03 01:38:04'),(1451,1480,0,32516,'',1000,0,0,0,0,0,0,'2015-12-03 02:30:49',0,'0000-00-00 00:00:00'),(1455,1485,0,32518,'test',9999,0,0,0,0,0,0,'2015-12-03 06:08:22',0,'0000-00-00 00:00:00'),(1456,1486,0,32519,'test2',10000,0,0,0,0,0,0,'2015-12-03 06:22:45',0,'2015-12-03 06:25:11'),(1457,1487,0,32519,'Transfer',100,0,0,0,0,0,0,'2015-12-03 08:05:41',0,'0000-00-00 00:00:00'),(1459,1489,0,0,'sds',800,0,0,0,0,0,0,'2015-12-03 08:26:23',0,'0000-00-00 00:00:00'),(1466,1496,0,0,'asa',800,0,0,0,0,0,0,'2015-12-03 08:47:19',0,'0000-00-00 00:00:00'),(1467,1497,0,0,'asa',800,0,0,0,0,0,0,'2015-12-03 08:52:42',0,'0000-00-00 00:00:00'),(1468,1498,0,32515,'sasassd',800,0,0,0,0,0,0,'2015-12-03 08:53:52',0,'0000-00-00 00:00:00'),(1461,1491,0,32515,'asa',800,0,0,0,0,0,0,'2015-12-03 08:29:59',0,'0000-00-00 00:00:00'),(1473,1503,0,32517,'ZXZX',33333,0,0,0,0,0,0,'2015-12-04 00:43:12',0,'2015-12-04 01:22:08'),(1472,1502,0,32516,'zczxcasdsad',2222,0,0,0,0,0,0,'2015-12-04 00:42:50',0,'2015-12-04 01:25:41'),(1474,1504,0,32517,'asdasd',13123,0,0,0,0,0,0,'2015-12-04 01:27:37',0,'0000-00-00 00:00:00'),(1475,1505,0,32517,'123123',1214,0,0,0,0,0,0,'2015-12-04 01:28:37',0,'0000-00-00 00:00:00'),(1477,1507,0,32516,'zxcvb',123123,0,0,0,0,0,0,'2015-12-04 01:52:33',0,'0000-00-00 00:00:00'),(1504,1534,0,32517,'2wefdvxcz',34567,0,0,0,0,0,0,'2015-12-04 02:21:28',0,'0000-00-00 00:00:00'),(1524,1554,0,32516,'Life ',600,0,0,0,0,0,0,'2015-12-04 02:41:58',0,'0000-00-00 00:00:00'),(1542,1572,0,32517,'asdsadasd',1234567,0,0,0,0,0,0,'2015-12-04 02:50:36',0,'0000-00-00 00:00:00'),(1553,1583,0,32515,'dsge',2134,0,0,0,0,0,0,'2015-12-04 03:03:04',0,'0000-00-00 00:00:00'),(1558,1588,0,32517,'asa',700,0,0,0,0,0,0,'2015-12-04 03:17:50',0,'0000-00-00 00:00:00'),(1587,1619,0,32516,'hgljsdnfl',555.23,0,0,0,0,0,0,'2015-12-04 03:56:59',0,'0000-00-00 00:00:00'),(1593,1625,0,32516,'fdf',123,0,0,0,0,0,0,'2015-12-04 04:03:59',0,'0000-00-00 00:00:00'),(1603,1635,0,32516,'scasdc',323,0,0,0,0,0,0,'2015-12-04 04:16:49',0,'0000-00-00 00:00:00'),(1604,1636,0,32517,'asdfqw',2345,0,0,0,0,0,0,'2015-12-04 04:18:30',0,'0000-00-00 00:00:00'),(1624,1656,0,32516,'sdafbg',1234,0,0,0,0,0,0,'2015-12-04 06:12:27',0,'0000-00-00 00:00:00'),(1625,1657,0,32516,'23456',234234234,0,0,0,0,0,0,'2015-12-04 06:18:30',0,'0000-00-00 00:00:00'),(1626,1658,0,32516,'dsf.msdnf.',345,0,0,0,0,0,0,'2015-12-04 06:18:49',0,'0000-00-00 00:00:00'),(1627,1659,0,32516,'232323',121212,0,0,0,0,0,0,'2015-12-04 07:47:11',0,'0000-00-00 00:00:00'),(1628,1660,0,32516,'BKBKN',3333,0,0,0,0,0,0,'2015-12-04 07:49:28',0,'0000-00-00 00:00:00'),(1685,1715,0,32516,'TET',999,0,0,0,0,0,0,'2015-12-07 07:53:35',0,'0000-00-00 00:00:00'),(1686,1716,0,32518,'YY',999,0,0,0,0,0,0,'2015-12-07 07:55:10',0,'0000-00-00 00:00:00'),(1460,1490,0,0,'0',0,0,0,0,0,0,0,'2015-12-03 08:29:10',0,'0000-00-00 00:00:00'),(1462,1492,0,0,'0',0,0,0,0,0,0,0,'2015-12-03 08:33:07',0,'0000-00-00 00:00:00'),(1463,1493,0,0,'0',0,0,0,0,0,0,0,'2015-12-03 08:37:46',0,'0000-00-00 00:00:00'),(1464,1494,0,0,'0',0,0,0,0,0,0,0,'2015-12-03 08:44:02',0,'0000-00-00 00:00:00'),(1465,1495,0,0,'0',0,0,0,0,0,0,0,'2015-12-03 08:44:44',0,'0000-00-00 00:00:00'),(1770,1814,0,32516,'12345',222,0,0,0,0,0,0,'2016-04-15 02:33:24',0,'0000-00-00 00:00:00'),(1789,1827,0,32516,'startup',2000000,0,0,0,0,0,0,'2016-04-26 02:44:46',0,'0000-00-00 00:00:00'),(1788,1826,0,32515,'loan for company car',15000000,0,0,0,0,0,0,'2016-04-26 02:43:55',0,'0000-00-00 00:00:00'),(1843,1932,0,32762,'fad',566,0,0,0,0,0,0,'2016-06-22 03:12:47',0,'0000-00-00 00:00:00'),(1947,2031,0,32516,'Transfer 1',100,0,0,0,0,0,0,'2016-08-15 07:10:14',0,'0000-00-00 00:00:00'),(1895,1977,0,32762,'wow',100,0,0,0,0,0,0,'2016-08-10 05:01:06',0,'0000-00-00 00:00:00'),(1914,2001,0,32762,'findahlah',1,0,0,0,0,0,0,'2016-08-10 07:29:27',0,'0000-00-00 00:00:00'),(1940,2024,0,33009,'Transfer 1 ke b3',110,0,0,0,0,0,0,'2016-08-15 02:02:07',0,'2016-08-16 02:50:29'),(1946,2030,0,33007,'bank3 to bank 1',220,0,0,0,0,0,0,'2016-08-15 06:49:39',0,'2016-08-16 02:51:51'),(1950,2035,0,33007,'66',66,0,0,0,0,0,0,'2016-08-16 02:53:56',0,'0000-00-00 00:00:00'),(1966,2051,0,33007,'fadhirul',9090,0,0,0,0,0,0,'2016-08-16 04:02:40',0,'0000-00-00 00:00:00'),(1876,1960,0,33135,'maybank ke rhb',60,0,0,0,0,0,0,'2016-08-05 05:04:35',0,'2016-08-16 06:55:34'),(1988,2075,0,33133,'saje',50,0,0,0,0,0,0,'2016-08-16 07:34:05',0,'0000-00-00 00:00:00'),(1953,2038,0,33007,'harini try',8000,0,0,0,0,0,0,'2016-08-16 02:59:54',0,'2016-08-16 03:01:00'),(1951,2036,0,32761,'fad',124,0,0,0,0,0,0,'2016-08-16 02:57:00',0,'2016-08-16 03:21:13'),(1960,2044,0,33008,'fasd',77899,0,0,0,0,0,0,'2016-08-16 03:41:07',0,'2016-08-29 05:19:24'),(2273,2235,0,32762,'fad',1887342,0,0,0,0,0,0,'2016-09-02 03:02:44',0,'2016-09-02 03:03:45'),(2274,2236,0,32762,'fad',123,0,0,0,0,0,0,'2016-09-02 03:08:05',0,'0000-00-00 00:00:00'),(2277,2239,0,32762,'fadsfasfasf',213,0,0,0,0,0,0,'2016-09-02 03:17:58',0,'0000-00-00 00:00:00'),(2278,2240,0,32762,'faddd',41242,0,0,0,0,0,0,'2016-09-02 03:22:12',0,'0000-00-00 00:00:00'),(2279,2241,0,32762,'fadddfss',232,0,0,0,0,0,0,'2016-09-02 03:30:47',0,'0000-00-00 00:00:00'),(2276,2238,0,32762,'sdsasa',3424,0,0,0,0,0,0,'2016-09-02 03:16:31',0,'0000-00-00 00:00:00'),(2280,2242,0,32762,'fad',123,0,0,0,0,0,0,'2016-09-02 03:32:15',0,'0000-00-00 00:00:00'),(2180,2197,0,32765,'fad34',77777777777,0,0,0,0,0,0,'2016-08-30 07:27:05',0,'0000-00-00 00:00:00'),(2366,2297,0,33375,'Transfer',5000,0,0,0,0,0,0,'2016-10-04 04:10:19',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_payment_others_without_item_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_project`
--

DROP TABLE IF EXISTS `comp_project`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_project` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `project_name` varchar(128) NOT NULL,
  `projectManagerID` int(11) NOT NULL,
  `totalBudget` double NOT NULL,
  `remarks` text NOT NULL,
  `createdID` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_project`
--

LOCK TABLES `comp_project` WRITE;
/*!40000 ALTER TABLE `comp_project` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_project` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_purchase_bad_debt`
--

DROP TABLE IF EXISTS `comp_purchase_bad_debt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_bad_debt` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `valueBadDebt` double NOT NULL,
  `gstBadDebt` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_bad_debt`
--

LOCK TABLES `comp_purchase_bad_debt` WRITE;
/*!40000 ALTER TABLE `comp_purchase_bad_debt` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_bad_debt` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_purchase_debt_recover`
--

DROP TABLE IF EXISTS `comp_purchase_debt_recover`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_debt_recover` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `suppID` int(11) NOT NULL,
  `valueDebtRecover` double NOT NULL,
  `gstDebtRecover` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_debt_recover`
--

LOCK TABLES `comp_purchase_debt_recover` WRITE;
/*!40000 ALTER TABLE `comp_purchase_debt_recover` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_debt_recover` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_purchase_order`
--

DROP TABLE IF EXISTS `comp_purchase_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_order` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `purchaserID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `shiptoID` int(11) NOT NULL,
  `purchaseOrderNo` varchar(32) NOT NULL,
  `salesAgentName` varchar(64) NOT NULL,
  `formNo` varchar(16) NOT NULL,
  `poDate` date NOT NULL,
  `exchangeRate` double NOT NULL,
  `termAndConditionID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updateAble` tinyint(4) NOT NULL DEFAULT '1',
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `memo` varchar(255) NOT NULL,
  `is_delete` int(11) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_order`
--

LOCK TABLES `comp_purchase_order` WRITE;
/*!40000 ALTER TABLE `comp_purchase_order` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_order` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `mytrigerfopobeforeinsert` BEFORE INSERT ON `comp_purchase_order`
 FOR EACH ROW set new.serialNo = 

(select nextSerialNo from view_serial_comp_purchase_order 

	where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_purchase_order_detail`
--

DROP TABLE IF EXISTS `comp_purchase_order_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_order_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `purchaseOrderID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemCode` varchar(16) NOT NULL,
  `itemName` varchar(128) NOT NULL,
  `description` text,
  `unitPrice` double NOT NULL,
  `umID` int(11) NOT NULL,
  `quantityOrder` int(11) NOT NULL,
  `quantityReceivedTotal` int(11) NOT NULL DEFAULT '0',
  `amount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_order_detail`
--

LOCK TABLES `comp_purchase_order_detail` WRITE;
/*!40000 ALTER TABLE `comp_purchase_order_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_order_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_purchase_price`
--

DROP TABLE IF EXISTS `comp_purchase_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_purchase_price` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `price` double NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` varchar(50) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_purchase_price`
--

LOCK TABLES `comp_purchase_price` WRITE;
/*!40000 ALTER TABLE `comp_purchase_price` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_purchase_price` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_quotation`
--

DROP TABLE IF EXISTS `comp_quotation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_quotation` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `quotationCode` varchar(32) NOT NULL,
  `salesAgentID` int(11) NOT NULL,
  `employeeID` int(11) unsigned NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `quotationDate` date NOT NULL,
  `deliverToID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `supplierID` text NOT NULL,
  `memo` varchar(128) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `exchangeRate` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_quotation`
--

LOCK TABLES `comp_quotation` WRITE;
/*!40000 ALTER TABLE `comp_quotation` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_quotation` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_cq_add_serialNo` BEFORE INSERT ON `comp_quotation`
 FOR EACH ROW set new.serialNo = 

(select nextSerialNo from view_serial_comp_quotation 

	where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_quotation_detail`
--

DROP TABLE IF EXISTS `comp_quotation_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_quotation_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `quotationID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `description` varchar(200) NOT NULL,
  `unitOfPrice` double NOT NULL,
  `quantityOrder` int(11) NOT NULL,
  `amountExcludeTax` double DEFAULT NULL,
  `taxID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncudeTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_quotation_detail`
--

LOCK TABLES `comp_quotation_detail` WRITE;
/*!40000 ALTER TABLE `comp_quotation_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_quotation_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_delivery_conn`
--

DROP TABLE IF EXISTS `comp_receive_delivery_conn`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_delivery_conn` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receiveDetailID` int(11) NOT NULL,
  `deliveryDetailID` int(11) NOT NULL,
  `type` int(11) NOT NULL COMMENT '1 = DO, 2 = LocTrans, 3 = salesDebitNote, 4 = supplierDebitNote, 5 = cashSale, 6 = item adjustment',
  `qty` bigint(20) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_delivery_conn`
--

LOCK TABLES `comp_receive_delivery_conn` WRITE;
/*!40000 ALTER TABLE `comp_receive_delivery_conn` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_delivery_conn` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_item`
--

DROP TABLE IF EXISTS `comp_receive_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_item` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `opening_balance` tinyint(1) NOT NULL DEFAULT '0',
  `supplierDoNo` varchar(32) NOT NULL,
  `purchaseOrderID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `deliveryDate` date NOT NULL,
  `locationID` int(11) NOT NULL,
  `deliverToID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` float NOT NULL,
  `employeeID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `journalNo` varchar(32) NOT NULL,
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `isDelete` tinyint(1) NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_item`
--

LOCK TABLES `comp_receive_item` WRITE;
/*!40000 ALTER TABLE `comp_receive_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_item` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `triger_BEFORE_Insert_addSerialForReceiveItem` BEFORE INSERT ON `comp_receive_item`
 FOR EACH ROW set new.serialNo = 

(select nextSerialNo from view_serial_comp_receive_item 

	where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_receive_item_detail`
--

DROP TABLE IF EXISTS `comp_receive_item_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_item_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receiveID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `lineNo` int(11) NOT NULL,
  `poDetailID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemCode` varchar(16) NOT NULL,
  `itemName` varchar(128) NOT NULL,
  `description` text,
  `unitPrice` double NOT NULL,
  `quantityOrder` double NOT NULL,
  `quantityReceived` double NOT NULL DEFAULT '0',
  `umID` int(11) NOT NULL DEFAULT '0',
  `standUM` int(11) NOT NULL,
  `amount` double NOT NULL,
  `balanceItem` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_item_detail`
--

LOCK TABLES `comp_receive_item_detail` WRITE;
/*!40000 ALTER TABLE `comp_receive_item_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_item_detail` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `updateBalanceItem` BEFORE INSERT ON `comp_receive_item_detail`
 FOR EACH ROW if new.balanceitem is null then

set new.balanceItem = new.quantityReceived;

end if */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_receive_payment`
--

DROP TABLE IF EXISTS `comp_receive_payment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `receivePaymentDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalReceived` double NOT NULL,
  `totalApplied` double NOT NULL,
  `outOfBalance` double NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment`
--

LOCK TABLES `comp_receive_payment` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_rpay_add_serialNo` BEFORE INSERT ON `comp_receive_payment`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_receive_payment

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_receive_payment_detail`
--

DROP TABLE IF EXISTS `comp_receive_payment_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receivePaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `ARBalance` double NOT NULL,
  `discount` double NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_detail`
--

LOCK TABLES `comp_receive_payment_detail` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_detail_creditnote`
--

DROP TABLE IF EXISTS `comp_receive_payment_detail_creditnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_detail_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `creditnoteID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_detail_creditnote`
--

LOCK TABLES `comp_receive_payment_detail_creditnote` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_detail_creditnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment_detail_creditnote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_detail_debitnote`
--

DROP TABLE IF EXISTS `comp_receive_payment_detail_debitnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_detail_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `debitnoteID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_detail_debitnote`
--

LOCK TABLES `comp_receive_payment_detail_debitnote` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_detail_debitnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment_detail_debitnote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_detail_historical_invoice`
--

DROP TABLE IF EXISTS `comp_receive_payment_detail_historical_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_detail_historical_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `paymentID` int(11) NOT NULL,
  `historicalinvoiceID` int(11) NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_detail_historical_invoice`
--

LOCK TABLES `comp_receive_payment_detail_historical_invoice` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_detail_historical_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_receive_payment_detail_historical_invoice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_others`
--

DROP TABLE IF EXISTS `comp_receive_payment_others`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_others` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `receiveFrom` varchar(128) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `receivePaymentDate` date NOT NULL,
  `currencyID` int(11) NOT NULL DEFAULT '1',
  `exchangeRate` double NOT NULL DEFAULT '1',
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalReceived` double NOT NULL,
  `totalApplied` double NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2389 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_others`
--

LOCK TABLES `comp_receive_payment_others` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_others` DISABLE KEYS */;
INSERT INTO `comp_receive_payment_others` VALUES (596,1,1,'',0,0,'',85,0,'OR','2015-01-03',1,1,0,'',0,0,0,3200,0,0,0,'2015-12-03 07:38:59',0,'2015-12-08 07:18:28',0,'AR20150100000019',0),(597,2,1,'',0,0,'',85,0,'OR','2015-01-10',1,1,0,'',0,0,0,3500,0,0,0,'2015-12-03 07:39:30',0,'2015-12-08 03:54:58',0,'AR20150100000012',0),(598,3,1,'',0,0,'',85,0,'OR','2015-01-17',1,1,0,'',0,0,0,3350,0,0,0,'2015-12-03 07:58:23',0,'2015-12-08 03:55:22',0,'AR20150100000013',0),(599,4,1,'',0,0,'',85,0,'OR','2015-01-24',1,1,0,'',0,0,0,3210,0,0,0,'2015-12-03 07:58:48',0,'2015-12-08 03:55:51',0,'AR20150100000014',0),(600,5,1,'',0,0,'',85,0,'OR','2015-01-31',1,1,0,'',0,0,0,3150,0,0,0,'2015-12-03 07:59:12',0,'2015-12-08 03:56:17',0,'AR20150100000015',0),(601,6,1,'',0,0,'',85,0,'OR','2015-02-07',1,1,0,'',0,0,0,3650,0,0,0,'2015-12-03 07:59:57',0,'2015-12-08 03:56:41',0,'AR20150200000008',0),(602,7,1,'',0,0,'',85,0,'OR','2015-02-14',1,1,0,'',0,0,0,3150,0,0,0,'2015-12-03 08:00:25',0,'2015-12-08 03:57:03',0,'AR20150200000009',0),(603,8,1,'',0,0,'',85,0,'OR','2015-02-21',1,1,0,'',0,0,0,3500,0,0,0,'2015-12-03 08:00:51',0,'2015-12-08 03:30:42',0,'AR20150200000007',0),(604,9,1,'',0,0,'',85,0,'OR','2015-02-28',1,1,0,'',0,0,0,3852,0,0,0,'2015-12-03 08:26:19',0,'2015-12-08 03:57:32',0,'AR20150200000010',0),(605,10,1,'',0,0,'',85,0,'OR','2015-03-07',1,1,0,'',0,0,0,3655,0,0,0,'2015-12-03 08:50:51',0,'2015-12-08 03:57:55',0,'AR20150300000005',0),(606,11,1,'',0,0,'',85,0,'OR','2015-03-14',1,1,0,'',0,0,0,3050,0,0,0,'2015-12-03 08:51:20',0,'2015-12-08 03:58:23',0,'AR20150300000006',0),(607,12,1,'',0,0,'',85,0,'OR','2015-03-21',1,1,0,'',0,0,0,3965,0,0,0,'2015-12-03 08:51:45',0,'2015-12-08 03:58:44',0,'AR20150300000007',0),(608,13,1,'',0,0,'',85,0,'OR','2015-03-28',1,1,0,'',0,0,0,3754,0,0,0,'2015-12-03 08:52:13',0,'2015-12-08 03:59:09',0,'AR20150300000008',0),(609,14,1,'',0,0,'',85,0,'OR','2015-04-04',1,1,0,'',0,0,0,3350,0,0,0,'2015-12-03 08:52:48',0,'2015-12-08 03:59:41',0,'AR20150400000005',0),(610,15,1,'',0,0,'',85,0,'OR','2015-04-11',1,1,0,'',0,0,0,3840,0,0,0,'2015-12-03 08:53:19',0,'2015-12-08 04:00:06',0,'AR20150400000006',0),(611,16,1,'',0,0,'',85,0,'OR','2015-04-18',1,1,0,'',0,0,0,3812,0,0,0,'2015-12-03 08:53:46',0,'2015-12-08 04:00:33',0,'AR20150400000007',0),(612,17,1,'',0,0,'',85,0,'OR','2015-04-25',1,1,0,'',0,0,0,3954,0,0,0,'2015-12-03 08:54:18',0,'2015-12-08 04:00:59',0,'AR20150400000008',0),(613,18,1,'',0,0,'',85,0,'OR','2015-05-02',1,1,0,'',0,0,0,3951,0,0,0,'2015-12-03 08:55:07',0,'2015-12-08 04:01:19',0,'AR20150500000006',0),(614,19,1,'',0,0,'',85,0,'OR','2015-05-09',1,1,0,'',0,0,0,3845,0,0,0,'2015-12-03 08:55:40',0,'2015-12-08 04:01:44',0,'AR20150500000007',0),(615,20,1,'',0,0,'',85,0,'OR','2015-05-16',1,1,0,'',0,0,0,3888,0,0,0,'2015-12-03 08:56:03',0,'2015-12-08 04:02:10',0,'AR20150500000008',0),(616,21,1,'',0,0,'',85,0,'OR','2015-05-23',1,1,0,'',0,0,0,3841,0,0,0,'2015-12-03 08:56:29',0,'2015-12-08 04:02:42',0,'AR20150500000010',0),(617,22,1,'',0,0,'',85,0,'OR','2015-05-30',1,1,0,'',0,0,0,3987,0,0,0,'2015-12-03 08:56:52',0,'2015-12-08 04:18:17',0,'AR20150500000011',0),(618,23,1,'',0,0,'',85,0,'OR','2015-06-06',1,1,0,'',0,0,0,3540,0,0,0,'2015-12-03 09:05:25',0,'2015-12-08 04:18:41',0,'AR20150600000005',0),(619,24,1,'',0,0,'',85,0,'OR','2015-06-13',1,1,0,'',0,0,0,3100,0,0,0,'2015-12-03 09:05:55',0,'2015-12-08 04:19:04',0,'AR20150600000006',0),(620,25,1,'',0,0,'',85,0,'OR','2015-06-20',1,1,0,'',0,0,0,3200,0,0,0,'2015-12-03 09:06:19',0,'2015-12-08 04:19:36',0,'AR20150600000007',0),(621,26,1,'',0,0,'',85,0,'OR','2015-06-27',1,1,0,'',0,0,0,3960,0,0,0,'2015-12-03 09:06:50',0,'2015-12-08 04:20:02',0,'AR20150600000008',0),(622,27,1,'',0,0,'',85,0,'OR','2015-07-04',1,1,0,'',0,0,0,3410,0,0,0,'2015-12-03 09:07:40',0,'2015-12-08 04:20:27',0,'AR20150700000005',0),(623,28,1,'',0,0,'',85,0,'OR','2015-07-11',1,1,0,'',0,0,0,3650,0,0,0,'2015-12-03 09:14:50',0,'2015-12-08 04:20:53',0,'AR20150700000006',0),(624,29,1,'',0,0,'',85,0,'OR','2015-07-18',1,1,0,'',0,0,0,3550,0,0,0,'2015-12-03 09:15:13',0,'2015-12-08 04:21:17',0,'AR20150700000007',0),(625,30,1,'',0,0,'',85,0,'OR','2015-07-25',1,1,0,'',0,0,0,3450,0,0,0,'2015-12-03 09:15:42',0,'2015-12-08 04:21:39',0,'AR20150700000008',0),(626,31,1,'',0,0,'',85,0,'OR','2015-08-01',1,1,0,'',0,0,0,3500,0,0,0,'2015-12-03 09:16:15',0,'2015-12-08 04:22:04',0,'AR20150800000007',0),(627,32,1,'',0,0,'',85,0,'OR','2015-08-08',1,1,0,'',0,0,0,3365,0,0,0,'2015-12-03 09:17:39',0,'2015-12-08 04:22:31',0,'AR20150800000008',0),(628,33,1,'',0,0,'',85,0,'OR','2015-08-22',1,1,0,'',0,0,0,3870,0,0,0,'2015-12-03 09:18:15',0,'2015-12-08 04:22:55',0,'AR20150800000009',0),(629,34,1,'',0,0,'',85,0,'OR','2015-08-15',1,1,0,'',0,0,0,3253,0,0,0,'2015-12-03 09:19:13',0,'2015-12-08 04:23:16',0,'AR20150800000010',0),(630,35,1,'',0,0,'',85,0,'OR','2015-08-29',1,1,0,'',0,0,0,3640,0,0,0,'2015-12-03 09:19:41',0,'2015-12-08 04:23:38',0,'AR20150800000011',0),(631,36,1,'',0,0,'',85,0,'OR','2015-09-05',1,1,0,'',0,0,0,3850,0,0,0,'2015-12-03 09:20:22',0,'2015-12-08 04:23:58',0,'AR20150900000005',0),(632,37,1,'',0,0,'',85,0,'OR','2015-09-12',1,1,0,'',0,0,0,3470,0,0,0,'2015-12-03 09:20:55',0,'2015-12-08 04:24:19',0,'AR20150900000006',0),(633,38,1,'',0,0,'',85,0,'OR','2015-09-19',1,1,0,'',0,0,0,3680,0,0,0,'2015-12-03 09:21:26',0,'2015-12-08 04:24:43',0,'AR20150900000007',0),(634,39,1,'',0,0,'',85,0,'OR','2015-09-26',1,1,0,'',0,0,0,3580,0,0,0,'2015-12-03 09:21:53',0,'2015-12-08 04:25:03',0,'AR20150900000008',0),(635,40,1,'',0,0,'',85,0,'OR','2015-10-03',1,1,0,'',0,0,0,3980,0,0,0,'2015-12-03 09:23:53',0,'2015-12-08 04:25:33',0,'AR20151000000006',0),(636,41,1,'',0,0,'',85,0,'OR','2015-10-10',1,1,0,'',0,0,0,3680,0,0,0,'2015-12-03 09:24:22',0,'2015-12-08 04:25:57',0,'AR20151000000007',0),(637,42,1,'',0,0,'',85,0,'OR','2015-10-17',1,1,0,'',0,0,0,3015,0,0,0,'2015-12-03 09:24:58',0,'2015-12-03 09:24:59',0,'AR20151000000003',0),(638,43,1,'',0,0,'',85,0,'OR','2015-10-24',1,1,0,'',0,0,0,3690,0,0,0,'2015-12-03 09:25:28',0,'2015-12-08 04:26:18',0,'AR20151000000008',0),(639,44,1,'',0,0,'',85,0,'OR','2015-10-31',1,1,0,'',0,0,0,3200,0,0,0,'2015-12-03 09:25:53',0,'2015-12-03 09:25:53',0,'AR20151000000005',0),(640,45,1,'',0,0,'',85,0,'OR','2015-11-07',1,1,0,'',0,0,0,3150,0,0,0,'2015-12-03 09:26:58',0,'2015-12-03 09:26:58',0,'AR20151100000064',0),(641,46,1,'',0,0,'',85,0,'OR','2015-11-14',1,1,0,'',0,0,0,3220,0,0,0,'2015-12-03 09:27:24',0,'2015-12-03 09:27:24',0,'AR20151100000065',0),(642,47,1,'',0,0,'',85,0,'OR','2015-11-21',1,1,0,'',0,0,0,3300,0,0,0,'2015-12-03 09:27:47',0,'2015-12-03 09:27:47',0,'AR20151100000066',0),(643,48,1,'',0,0,'',85,0,'OR','2015-11-28',1,1,0,'',0,0,0,3000,0,0,0,'2015-12-03 09:28:16',0,'2015-12-03 09:28:16',0,'AR20151100000067',0),(644,49,1,'',0,0,'',85,0,'OR','2015-12-05',1,1,0,'',0,0,0,3214,0,0,0,'2015-12-03 09:29:26',0,'2015-12-03 09:29:27',0,'AR20151200000013',0),(645,50,1,'',0,0,'',85,0,'OR','2015-12-12',1,1,0,'',0,0,0,3368,0,0,0,'2015-12-03 09:30:10',0,'2015-12-03 09:30:10',0,'AR20151200000014',0),(646,51,1,'',0,0,'',85,0,'OR','2015-12-19',1,1,0,'',0,0,0,3123,0,0,0,'2015-12-03 09:30:39',0,'2015-12-03 09:30:39',0,'AR20151200000015',0),(647,52,1,'',0,0,'',85,0,'OR','2015-12-26',1,1,0,'',0,0,0,3215,0,0,0,'2015-12-03 09:31:02',0,'2015-12-03 09:31:03',0,'AR20151200000016',0),(648,53,1,'',0,0,'',85,0,'OR','2015-01-01',1,1,0,'',0,0,0,1000,0,0,0,'2015-12-09 01:31:41',0,'2015-12-09 01:35:29',0,'AR20150100000022',0),(649,54,1,'',0,0,'',85,0,'OR','2015-12-10',1,1,0,'',0,0,0,100,0,0,0,'2015-12-10 08:23:50',0,'2015-12-10 08:23:51',0,'AR20151200000017',0),(650,55,1,'',0,0,'',85,0,'OR','2015-01-01',1,1,0,'',0,0,0,250,0,0,0,'2015-12-10 08:29:26',0,'2015-12-10 08:29:26',0,'AR20150100000023',0),(651,56,1,'',0,0,'',82,0,'OR','2015-12-16',1,1,0,'',0,0,0,12332,0,0,0,'2015-12-16 07:27:21',0,'2016-05-30 11:04:19',0,'AR20151200000019',0),(669,7,13,'',0,0,'',122,0,'OR','2016-06-13',1,1,0,'',0,0,0,400,0,0,0,'2016-06-13 07:51:47',0,'2016-06-13 07:51:47',0,'AR20160600000007',0),(670,8,13,'',0,0,'',122,0,'OR','2016-06-13',1,1,0,'',0,0,0,550,0,0,0,'2016-06-13 08:03:56',0,'2016-06-13 08:03:56',0,'AR20160600000008',0),(673,10,13,'',0,0,'',122,0,'OR','2016-06-14',1,1,0,'',0,0,0,12006,0,0,0,'2016-06-14 08:04:33',0,'2016-06-14 08:04:33',0,'AR20160600000013',0),(676,1,12,'',0,0,'',111,0,'OR','2016-06-15',1,1,0,'',0,0,0,20,0,0,0,'2016-06-15 01:01:11',0,'2016-06-15 01:01:12',0,'AR20160600000001',0),(677,2,12,'',0,0,'',111,0,'OR','2016-06-13',1,1,0,'',0,0,0,25,0,0,0,'2016-06-15 01:10:42',0,'2016-06-15 01:10:43',0,'AR20160600000002',0),(678,3,12,'',0,0,'',111,0,'OR','2016-06-01',1,1,0,'',0,0,0,65,0,0,0,'2016-06-15 01:11:50',0,'2016-06-15 01:11:50',0,'AR20160600000003',0),(679,4,12,'',0,0,'',111,0,'OR','2016-05-05',1,1,0,'',0,0,0,99,0,0,0,'2016-06-15 01:13:05',0,'2016-06-15 01:13:05',0,'AR20160500000001',0),(680,11,13,'',0,0,'',125,0,'OR','2016-06-15',1,1,0,'',0,0,0,500,0,0,0,'2016-06-15 01:14:11',0,'2016-06-15 01:14:11',0,'AR20160600000015',0),(681,5,12,'',0,0,'',111,0,'OR','2016-06-20',1,1,0,'',0,0,0,102,0,0,0,'2016-06-15 01:15:46',0,'2016-06-15 01:15:46',0,'AR20160600000004',0),(683,12,13,'',0,0,'',123,0,'OR','2016-06-21',1,1,0,'',0,0,0,200,0,0,0,'2016-06-21 00:48:31',0,'2016-06-21 00:48:31',0,'AR20160600000016',0),(684,13,13,'',0,0,'',122,0,'OR','2016-05-03',1,1,0,'',0,0,0,1000,0,0,0,'2016-06-28 06:38:28',0,'2016-06-28 06:38:28',0,'AR20160500000001',0),(685,1,14,'',0,0,'',129,0,'OR','2015-01-05',1,1,0,'',0,0,0,250,0,0,0,'2016-06-30 02:40:14',0,'2016-06-30 02:42:00',0,'AR20150100000001',0),(686,14,13,'',0,0,'',122,0,'OR','2016-07-13',1,1,0,'',0,0,0,3099,0,0,0,'2016-07-13 09:31:53',0,'2016-07-13 09:32:10',0,'AR20160700000002',0),(687,15,13,'',0,0,'',124,0,'OR','2016-07-29',1,1,0,'',0,0,0,510,0,0,0,'2016-07-29 02:52:51',0,'2016-07-29 02:54:03',0,'AR20160700000004',0),(689,6,12,'',0,0,'',111,0,'OR','2016-08-05',1,1,0,'',0,0,0,258,0,0,0,'2016-08-05 05:11:50',0,'2016-08-23 05:16:44',0,'AR20160800000045',0),(694,19,13,'',0,0,'',123,0,'OR','2016-08-10',1,1,0,'',0,0,0,227,0,0,0,'2016-08-10 02:12:52',0,'2016-08-29 07:22:07',0,'AR20160800000040',0),(696,21,13,'',0,0,'',122,0,'OR','2016-10-08',1,1,0,'',0,0,0,200,0,0,0,'2016-08-10 05:50:50',0,'2016-08-10 05:50:51',0,'AR20161000000001',0),(697,22,13,'',0,0,'',122,0,'OR','2016-10-08',1,1,0,'',0,0,0,260,0,0,0,'2016-08-10 05:51:43',0,'2016-08-10 05:51:43',0,'AR20161000000002',0),(699,1,21,'',0,0,'',141,0,'OR','2016-01-01',1,1,0,'',0,0,0,100,0,0,0,'2016-08-11 07:31:35',0,'2016-08-11 07:31:35',0,'AR20160100000001',0),(717,7,12,'',0,0,'',109,0,'OR','2016-08-16',1,1,0,'',0,0,0,584,0,0,0,'2016-08-16 03:01:08',0,'2016-08-16 03:01:08',0,'AR20160800000002',0),(718,1,24,'',0,0,'',162,0,'OR','2016-06-15',1,1,0,'',0,0,0,820,0,0,0,'2016-08-16 03:36:36',0,'2016-08-17 05:02:55',0,'AR20160600000002',0),(719,1,25,'',0,0,'',158,0,'OR','2016-08-16',1,1,0,'',0,0,0,300,0,0,0,'2016-08-16 03:43:11',0,'2016-08-16 03:43:12',0,'AR20160800000001',0),(720,2,25,'',0,0,'',159,0,'OR','2016-08-16',1,1,0,'',0,0,0,100,0,0,0,'2016-08-16 03:47:11',0,'2016-08-16 03:47:11',0,'AR20160800000002',0),(725,3,25,'',0,0,'',159,0,'OR','2016-08-16',1,1,0,'',0,0,0,100,0,0,0,'2016-08-16 06:09:10',0,'2016-08-16 06:09:11',0,'AR20160800000003',0),(726,4,25,'',0,0,'',159,0,'OR','2016-08-16',1,1,0,'',0,0,0,300,0,0,0,'2016-08-16 06:41:09',0,'2016-08-16 06:41:09',0,'AR20160800000004',0),(729,8,24,'',0,0,'',162,0,'OR','2014-02-09',1,1,0,'',0,0,0,4500,0,0,0,'2016-08-16 09:12:12',0,'2016-08-16 09:12:19',0,'AR20140200000002',0),(730,9,24,'',0,0,'',162,0,'OR','2014-08-06',1,1,0,'',0,0,0,4000,0,0,0,'2016-08-16 09:16:36',0,'2016-08-16 09:16:42',0,'AR20140800000002',0),(731,10,24,'',0,0,'',162,0,'OR','2015-08-19',1,1,0,'',0,0,0,4000,0,0,0,'2016-08-16 09:17:24',0,'2016-08-16 09:17:30',0,'AR20150800000002',0),(732,11,24,'',0,0,'',164,0,'OR','2016-08-16',1,1,0,'',0,0,0,20,0,0,0,'2016-08-16 09:42:23',0,'2016-08-16 09:42:28',0,'AR20160800000009',0),(733,5,25,'',0,0,'',156,0,'OR','2016-08-17',1,1,0,'',0,0,0,800,0,0,0,'2016-08-17 02:01:04',0,'2016-08-17 02:01:04',0,'AR20160800000005',0),(734,6,25,'',0,0,'',158,0,'OR','2016-08-17',1,1,0,'',0,0,0,40,0,0,0,'2016-08-17 02:01:52',0,'2016-08-17 02:01:52',0,'AR20160800000006',0),(735,7,25,'',0,0,'',156,0,'OR','2016-08-17',1,1,0,'',0,0,0,20,0,0,0,'2016-08-17 02:05:12',0,'2016-08-17 02:05:12',0,'AR20160800000007',0),(736,8,25,'',0,0,'',156,0,'OR','2016-08-17',1,1,0,'',0,0,0,100,0,0,0,'2016-08-17 02:12:30',0,'2016-08-17 02:12:30',0,'AR20160800000008',0),(737,9,25,'',0,0,'',157,0,'OR','2016-08-17',1,1,0,'',0,0,0,500,0,0,0,'2016-08-17 02:13:44',0,'2016-08-17 02:13:44',0,'AR20160800000009',0),(738,10,25,'',0,0,'',157,0,'OR','2016-08-17',1,1,0,'',0,0,0,500,0,0,0,'2016-08-17 02:24:51',0,'2016-08-17 02:26:34',0,'AR20160800000012',0),(739,11,25,'',0,0,'',156,0,'OR','2016-08-17',1,1,0,'',0,0,0,50,0,0,0,'2016-08-17 02:58:14',0,'2016-08-17 02:58:14',0,'AR20160800000013',0),(740,12,25,'',0,0,'',158,0,'OR','2016-08-17',1,1,0,'',0,0,0,100,0,0,0,'2016-08-17 03:00:45',0,'2016-08-17 03:00:45',0,'AR20160800000014',0),(741,13,25,'',0,0,'',159,0,'OR','2016-08-17',1,1,0,'',0,0,0,200,0,0,0,'2016-08-17 03:04:39',0,'2016-08-17 03:04:39',0,'AR20160800000015',0),(742,14,25,'',0,0,'',158,0,'OR','2016-08-17',1,1,0,'',0,0,0,500,0,0,0,'2016-08-17 03:23:24',0,'2016-08-17 03:23:25',0,'AR20160800000016',0),(744,12,24,'',0,0,'',162,0,'OR','2016-08-17',1,1,0,'',0,0,0,1.5,0,0,0,'2016-08-17 03:31:59',0,'2016-08-17 03:32:06',0,'AR20160800000011',0),(2138,8,12,'Loan 5	',0,0,'',109,3,'LR','2016-08-17',1,1,0,'',0,0,0,58,0,0,0,'2016-08-17 10:46:06',0,'2016-08-18 04:50:28',0,'AR20160800000038',0),(2139,9,12,'Pinjaman Mara	',0,0,'',110,3,'LR','2016-08-17',1,1,0,'',0,0,0,85,0,0,0,'2016-08-17 10:58:38',0,'2016-08-18 04:51:54',0,'AR20160800000039',0),(2140,10,12,'Loan 2	',0,0,'',112,3,'LR','2016-08-17',1,1,0,'',0,0,0,99,0,0,0,'2016-08-17 11:03:39',0,'2016-08-17 11:03:39',0,'AR20160800000010',0),(2142,11,12,'Loan 2	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,88,0,0,0,'2016-08-17 11:06:04',0,'2016-08-17 11:06:04',0,'AR20160800000011',0),(2143,12,12,'Loan 2	',0,0,'',111,3,'LR','2016-08-17',1,1,0,'',0,0,0,456,0,0,0,'2016-08-17 11:09:32',0,'2016-08-18 04:57:05',0,'AR20160800000043',0),(2144,13,12,'Pinjaman Mara	',0,0,'',111,3,'LR','2016-08-17',1,1,0,'',0,0,0,13,0,0,0,'2016-08-17 11:14:15',0,'2016-08-17 11:14:15',0,'AR20160800000013',0),(2145,14,12,'Pinjaman Mara	',0,0,'',109,3,'LR','2016-08-17',1,1,0,'',0,0,0,89,0,0,0,'2016-08-17 11:17:44',0,'2016-08-17 11:17:44',0,'AR20160800000014',0),(2146,15,12,'Loan 2	',0,0,'',112,3,'LR','2016-08-17',1,1,0,'',0,0,0,89,0,0,0,'2016-08-17 11:19:28',0,'2016-08-17 11:19:29',0,'AR20160800000015',0),(2147,16,12,'Pinjaman Mara	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,89,0,0,0,'2016-08-17 11:23:00',0,'2016-08-17 11:23:00',0,'AR20160800000016',0),(2148,17,12,'Pinjaman Mara	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,89,0,0,0,'2016-08-17 11:23:40',0,'2016-08-17 11:23:40',0,'AR20160800000017',0),(2149,18,12,'Pinjaman Mara	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,89,0,0,0,'2016-08-17 11:24:40',0,'2016-08-17 11:24:40',0,'AR20160800000018',0),(2150,19,12,'Loan 2	',0,0,'',109,3,'LR','2016-08-17',1,1,0,'',0,0,0,645,0,0,0,'2016-08-17 11:36:12',0,'2016-08-17 11:36:12',0,'AR20160800000019',0),(2151,20,12,'Pinjaman Mara	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,4567,0,1,0,'2016-08-17 11:40:33',0,'0000-00-00 00:00:00',0,'',0),(2152,21,12,'Loan 3	',0,0,'',109,3,'LR','2016-08-17',1,1,0,'',0,0,0,4567,0,0,0,'2016-08-17 11:47:54',0,'2016-08-17 11:47:54',0,'AR20160800000020',0),(2153,22,12,'Pinjaman Mara	',0,0,'',109,3,'LR','2016-08-17',1,1,0,'',0,0,0,45672,0,0,0,'2016-08-17 11:56:11',0,'2016-08-18 04:56:46',0,'AR20160800000042',0),(2154,23,12,'Loan 3	',0,0,'',109,3,'LR','2016-08-17',1,1,0,'',0,0,0,45672,0,1,0,'2016-08-17 11:59:13',0,'0000-00-00 00:00:00',0,'',0),(2155,24,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,11,0,0,0,'2016-08-17 12:01:57',0,'2016-08-17 12:01:57',0,'AR20160800000022',0),(2156,25,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,111,0,1,0,'2016-08-17 12:04:22',0,'0000-00-00 00:00:00',0,'',0),(2157,26,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,1111,0,1,0,'2016-08-17 12:07:26',0,'0000-00-00 00:00:00',0,'',0),(2158,27,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,11111,0,1,0,'2016-08-17 12:09:00',0,'0000-00-00 00:00:00',0,'',0),(2159,28,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,111111,0,0,0,'2016-08-17 12:09:54',0,'2016-08-17 12:09:54',0,'AR20160800000023',0),(2160,29,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,1111111,0,0,0,'2016-08-17 12:12:45',0,'2016-08-17 12:12:45',0,'AR20160800000024',0),(2161,30,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,11111112,0,0,0,'2016-08-17 12:15:10',0,'2016-08-17 12:15:11',0,'AR20160800000025',0),(2162,31,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,111111123,0,0,0,'2016-08-17 12:29:55',0,'2016-08-17 12:29:56',0,'AR20160800000026',0),(2163,32,12,'Loan 3	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,1111111234,0,0,0,'2016-08-17 12:32:14',0,'2016-08-17 12:32:14',0,'AR20160800000027',0),(2164,33,12,'Loan 4	',0,0,'',108,3,'LR','2016-08-17',1,1,0,'',0,0,0,11111112345,0,0,0,'2016-08-17 12:33:13',0,'2016-08-18 04:55:27',0,'AR20160800000041',0),(2165,34,12,'Loan 5	',0,0,'',109,3,'LR','2016-08-17',1,1,0,'',0,0,0,111111123456,0,0,0,'2016-08-17 12:37:28',0,'2016-08-18 04:54:32',0,'AR20160800000040',0),(2188,58,1,'',0,0,'',82,0,'OR','2016-08-18',1,1,0,'',0,0,0,10000,0,0,0,'2016-08-18 01:27:57',0,'2016-08-18 01:27:58',0,'AR20160800000025',0),(2190,13,24,'Mara',0,0,'',162,3,'LR','2016-08-18',1,1,0,'',0,0,0,20,0,0,0,'2016-08-18 05:01:20',0,'2016-08-18 05:03:30',0,'AR20160800000014',0),(2191,11,23,'Loan 1	',0,0,'',149,3,'LR','2016-08-18',1,1,0,'',0,0,0,100,0,0,0,'2016-08-18 05:01:30',0,'2016-08-18 05:01:30',0,'AR20160800000032',0),(2192,14,24,'0',0,0,'',33140,3,'LR','2016-08-18',1,1,0,'',0,0,0,20,0,0,0,'2016-08-18 05:01:50',0,'2016-08-18 05:01:50',0,'AR20160800000013',0),(2193,12,23,'Loan 2	',0,0,'',149,3,'LR','2016-08-18',1,1,0,'',0,0,0,200,0,0,0,'2016-08-18 05:03:33',0,'2016-08-18 05:03:33',0,'AR20160800000033',0),(2194,15,24,'0',0,0,'',33139,3,'LR','2016-08-18',1,1,0,'',0,0,0,30,0,0,0,'2016-08-18 05:04:04',0,'2016-08-18 05:04:04',0,'AR20160800000015',0),(2195,35,12,'Loan 2	',0,0,'',110,3,'LR','2016-08-18',1,1,0,'',0,0,0,10,0,0,0,'2016-08-18 05:05:14',0,'2016-08-18 05:05:14',0,'AR20160800000044',0),(2196,13,23,'Loan 3	',0,0,'',150,3,'LR','2016-08-18',1,1,0,'',0,0,0,30,0,0,0,'2016-08-18 05:05:17',0,'2016-08-18 05:05:17',0,'AR20160800000034',0),(2197,15,25,'0',0,0,'',33077,3,'LR','2016-08-18',1,1,0,'',0,0,0,100,0,0,0,'2016-08-18 05:05:54',0,'2016-08-18 05:05:55',0,'AR20160800000017',0),(2198,16,24,'0',0,0,'',33139,3,'LR','2016-08-18',1,1,0,'',0,0,0,45,0,0,0,'2016-08-18 05:06:39',0,'2016-08-18 05:06:39',0,'AR20160800000016',0),(2199,16,25,'0',0,0,'',33077,3,'LR','2016-08-18',1,1,0,'',0,0,0,100,0,0,0,'2016-08-18 05:06:41',0,'2016-08-18 05:06:41',0,'AR20160800000018',0),(2200,17,24,'Mara',0,0,'',163,3,'LR','2016-08-18',1,1,0,'',0,0,0,90,0,0,0,'2016-08-18 06:15:40',0,'2016-08-18 06:15:40',0,'AR20160800000017',0),(2202,17,25,'ceti haram',0,0,'',159,3,'LR','2016-08-18',1,1,0,'',0,0,0,1000,0,0,0,'2016-08-18 08:25:14',0,'2016-08-18 08:25:15',0,'AR20160800000019',0),(2203,18,25,'ceti haram',0,0,'',156,3,'LR','2016-08-18',1,1,0,'',0,0,0,200,0,0,0,'2016-08-18 09:21:16',0,'2016-08-18 09:21:16',0,'AR20160800000020',0),(2205,27,13,'Bank Rakyat	',0,0,'',123,3,'LR','2016-08-19',1,1,0,'',0,0,0,10000,0,0,0,'2016-08-19 07:38:04',0,'2016-08-19 07:38:04',0,'AR20160800000017',0),(2206,14,23,'Loan 1	',0,0,'',148,3,'LR','2016-08-22',1,1,0,'',0,0,0,100,0,0,0,'2016-08-22 02:27:50',0,'2016-08-22 02:27:51',0,'AR20160800000035',0),(2207,28,13,'',0,0,'',126,0,'OR','2016-08-23',1,1,0,'',0,0,0,400,0,0,0,'2016-08-23 02:41:53',0,'2016-08-23 02:41:54',0,'AR20160800000018',0),(2209,29,13,'',0,0,'',123,0,'OR','2016-08-25',1,1,0,'',0,0,0,700,0,0,0,'2016-08-25 07:32:22',0,'2016-08-25 07:32:22',0,'AR20160800000019',0),(2211,59,1,'',0,0,'',82,0,'OR','2016-08-26',1,1,0,'',0,0,0,12,0,0,0,'2016-08-26 02:09:54',0,'2016-08-26 02:09:55',0,'AR20160800000026',0),(2223,15,23,'Loan 1	',0,0,'',148,3,'LR','2016-08-26',1,1,0,'',0,0,0,1211,0,0,0,'2016-08-26 07:56:12',0,'2016-08-26 07:56:13',0,'AR20160800000049',0),(2227,31,13,'Bank Rakyat	',0,0,'',123,3,'LR','2016-08-29',1,1,0,'',0,0,0,1220,0,0,0,'2016-08-29 01:24:57',0,'2016-08-29 09:09:31',0,'AR20160800000055',0),(2240,35,13,'',0,0,'',123,0,'OR','2016-08-29',1,1,0,'',0,0,0,324235,0,0,0,'2016-08-29 04:18:41',0,'2016-08-29 04:18:41',0,'AR20160800000034',0),(2242,36,13,'',0,0,'',123,0,'OR','2016-08-29',1,1,0,'',0,0,0,77,0,0,0,'2016-08-29 07:04:54',0,'2016-08-29 07:20:17',0,'AR20160800000038',0),(2246,16,23,'',0,0,'',148,0,'OR','2016-08-29',1,1,0,'',0,0,0,100,0,0,0,'2016-08-29 08:12:03',0,'2016-08-30 02:45:56',0,'AR20160800000067',0),(2247,17,23,'',0,0,'',149,0,'OR','2016-08-29',1,1,0,'',0,0,0,200,0,0,0,'2016-08-29 08:12:44',0,'2016-08-29 08:12:45',0,'AR20160800000064',0),(2248,18,23,'',0,0,'',150,0,'OR','2016-08-29',1,1,0,'',0,0,0,11111.11,0,0,0,'2016-08-29 08:13:28',0,'2016-08-29 08:16:52',0,'AR20160800000066',0),(2249,37,13,'',0,0,'',123,0,'OR','2016-08-29',1,1,0,'',0,0,0,2222,0,0,0,'2016-08-29 08:27:40',0,'2016-08-29 08:27:40',0,'AR20160800000041',0),(2250,38,13,'',0,0,'',123,0,'OR','2016-08-29',1,1,0,'',0,0,0,1111,0,0,0,'2016-08-29 08:29:21',0,'2016-08-29 09:07:53',0,'AR20160800000053',0),(2253,36,12,'',0,0,'',111,0,'OR','2016-08-29',1,1,0,'',0,0,0,120,0,0,0,'2016-08-29 09:22:00',0,'2016-08-29 09:22:00',0,'AR20160800000046',0),(2254,39,13,'Bank Rakyat	',0,0,'',123,3,'LR','2016-08-30',1,1,0,'',0,0,0,21321.9,0,0,0,'2016-08-30 06:24:52',0,'2016-08-30 06:24:52',0,'AR20160800000056',0),(2256,20,23,'',0,0,'',149,0,'OR','2016-09-01',1,1,0,'',0,0,0,100,0,0,0,'2016-09-01 01:28:36',0,'2016-09-01 01:28:37',0,'AR20160900000003',0),(2257,21,23,'',0,0,'',148,0,'OR','2016-09-01',1,1,0,'',0,0,0,100,0,0,0,'2016-09-01 01:31:01',0,'2016-09-01 01:31:01',0,'AR20160900000004',0),(2258,22,23,'',0,0,'',149,0,'OR','2016-09-01',1,1,0,'',0,0,0,1,0,0,0,'2016-09-01 01:31:27',0,'2016-09-01 01:31:27',0,'AR20160900000005',0),(2259,23,23,'',0,0,'',148,0,'OR','2016-09-01',1,1,0,'',0,0,0,1,0,0,0,'2016-09-01 01:32:04',0,'2016-09-01 01:32:04',0,'AR20160900000006',0),(2272,42,13,'Bank Rakyat	',0,0,'',123,3,'LR','2016-09-02',1,1,0,'',0,0,0,2312,0,0,0,'2016-09-02 03:58:57',0,'2016-09-02 03:58:57',0,'AR20160900000014',0),(2273,60,1,'',0,0,'',82,0,'OR','2016-09-04',1,1,0,'',0,0,0,570,0,0,0,'2016-09-04 09:21:44',0,'2016-09-04 09:21:45',0,'AR20160900000001',0),(2274,61,1,'',0,0,'',82,0,'OR','2016-09-04',1,1,0,'',0,0,0,570,0,0,0,'2016-09-04 09:22:03',0,'2016-09-04 09:22:04',0,'AR20160900000002',0),(2277,24,23,'',0,0,'',148,0,'OR','2016-09-05',1,1,0,'',0,0,0,100,0,0,0,'2016-09-05 04:58:49',0,'2016-09-05 04:58:49',0,'AR20160900000007',0),(2278,25,23,'',0,0,'',148,0,'OR','2016-09-05',1,1,0,'',0,0,0,200,0,0,0,'2016-09-05 04:59:45',0,'2016-09-05 04:59:45',0,'AR20160900000008',0),(2279,26,23,'',0,0,'',148,0,'OR','2016-09-05',1,1,0,'',0,0,0,300,0,0,0,'2016-09-05 05:00:29',0,'2016-09-05 05:00:29',0,'AR20160900000009',0),(2281,37,12,'',0,0,'',108,0,'OR','2016-09-05',1,1,0,'',0,0,0,63,0,0,0,'2016-09-05 08:13:39',0,'2016-09-27 02:10:25',0,'AR20160900000023',0),(2282,38,12,'',0,0,'',108,0,'OR','2016-09-05',1,1,0,'',0,0,0,150,0,0,0,'2016-09-05 08:14:08',0,'2016-09-05 08:14:08',0,'AR20160900000002',0),(2301,39,12,'',0,0,'',109,0,'OR','2016-09-09',1,1,0,'',0,0,0,12,0,0,0,'2016-09-09 03:42:47',0,'2016-09-09 03:42:47',0,'AR20160900000003',0),(2302,40,12,'',0,0,'',109,0,'OR','2016-09-09',1,1,0,'',0,0,0,12,0,0,0,'2016-09-09 03:49:55',0,'2016-09-09 03:49:55',0,'AR20160900000004',0),(2343,62,1,'',0,0,'',82,0,'OR','2016-09-16',1,1,0,'',0,0,0,1000,0,0,0,'2016-09-16 07:04:30',0,'2016-09-16 07:04:31',0,'AR20160900000003',0),(2352,43,13,'',0,0,'',122,0,'OR','2016-09-19',1,1,0,'',0,0,0,439,0,0,0,'2016-09-19 05:03:56',0,'2016-09-19 05:03:56',0,'AR20160900000097',0),(2353,63,1,'',0,0,'',82,0,'OR','2016-09-22',1,1,0,'',0,0,0,1399,0,0,0,'2016-09-22 07:07:21',0,'2016-09-22 07:07:21',0,'AR20160900000004',0),(2354,64,1,'',0,0,'',82,0,'OR','2016-09-23',1,1,0,'',0,0,0,1399,0,0,0,'2016-09-23 02:17:30',0,'2016-09-23 02:17:31',0,'AR20160900000005',0),(2355,65,1,'SME Bank',0,0,'',82,3,'LR','2016-09-23',1,1,0,'',0,0,0,1000000,0,0,0,'2016-09-23 03:46:43',0,'2016-09-23 03:46:43',0,'AR20160900000006',0),(2356,1,39,'',0,0,'',172,0,'OR','2016-09-26',1,1,0,'',0,0,0,1500,0,0,0,'2016-09-26 07:05:26',0,'2016-09-26 07:05:26',0,'AR20160900000001',0),(2357,2,39,'',0,0,'',172,0,'OR','2016-09-26',1,1,0,'',0,0,0,2000,0,0,0,'2016-09-26 07:07:01',0,'2016-09-26 07:07:01',0,'AR20160900000002',0),(2358,3,39,'',0,0,'',173,0,'OR','2016-09-26',1,1,0,'',0,0,0,800,0,0,0,'2016-09-26 07:44:24',0,'2016-09-26 07:44:24',0,'AR20160900000003',0),(2359,4,39,'Bisnes Loan (SME)',0,0,'',174,3,'LR','2016-09-27',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-27 01:38:05',0,'2016-09-27 01:38:28',0,'AR20160900000005',0),(2360,5,39,'',0,0,'',172,0,'OR','2016-09-27',1,1,0,'',0,0,0,900,0,0,0,'2016-09-27 02:01:24',0,'2016-09-27 02:02:21',0,'AR20160900000007',0),(2361,41,12,'',0,0,'',108,0,'OR','2016-09-27',1,1,0,'',0,0,0,700,0,0,0,'2016-09-27 02:07:54',0,'2016-09-27 02:08:22',0,'AR20160900000019',0),(2362,42,12,'',0,0,'',109,0,'OR','2016-09-27',1,1,0,'',0,0,0,1300,0,0,0,'2016-09-27 02:08:58',0,'2016-09-27 02:09:53',0,'AR20160900000022',0),(2363,6,39,'',0,0,'',172,0,'OR','2016-09-27',1,1,0,'',0,0,0,100,0,0,0,'2016-09-27 02:11:09',0,'2016-09-27 02:11:09',0,'AR20160900000008',0),(2364,7,39,'',0,0,'',172,0,'OR','2016-09-27',1,1,0,'',0,0,0,500,0,0,0,'2016-09-27 02:12:00',0,'2016-09-27 02:12:01',0,'AR20160900000009',0),(2365,43,12,'',0,0,'',111,0,'OR','2016-09-27',1,1,0,'',0,0,0,234,0,0,0,'2016-09-27 02:13:07',0,'2016-09-27 02:13:07',0,'AR20160900000024',0),(2366,44,13,'',0,0,'',123,0,'OR','2016-09-27',1,1,0,'',0,0,0,200,0,0,0,'2016-09-27 02:14:29',0,'2016-09-27 02:14:29',0,'AR20160900000098',0),(2367,8,39,'',0,0,'',172,0,'OR','2016-09-27',1,1,0,'',0,0,0,100,0,0,0,'2016-09-27 02:15:21',0,'2016-09-27 02:15:21',0,'AR20160900000010',0),(2368,9,39,'',0,0,'',172,0,'OR','2016-09-27',1,1,0,'',0,0,0,50000,0,0,0,'2016-09-27 02:16:00',0,'2016-09-27 02:16:00',0,'AR20160900000011',0),(2369,10,39,'',0,0,'',173,0,'OR','2016-09-27',1,1,0,'',0,0,0,111,0,0,0,'2016-09-27 02:16:48',0,'2016-09-27 02:18:00',0,'AR20160900000013',0),(2370,45,13,'',0,0,'',122,0,'OR','2016-09-27',1,1,0,'',0,0,0,1000,0,0,0,'2016-09-27 02:17:01',0,'2016-09-27 02:17:01',0,'AR20160900000099',0),(2371,46,13,'',0,0,'',123,0,'OR','2016-09-27',1,1,0,'',0,0,0,2122,0,0,0,'2016-09-27 02:18:43',0,'2016-09-27 02:19:14',0,'AR20160900000101',0),(2372,11,39,'',0,0,'',172,0,'OR','2016-09-27',1,1,0,'',0,0,0,1000,0,0,0,'2016-09-27 02:19:55',0,'2016-09-27 02:20:21',0,'AR20160900000015',0),(2373,12,39,'',0,0,'',174,0,'OR','2016-09-27',1,1,0,'',0,0,0,30498,0,0,0,'2016-09-27 02:20:46',0,'2016-09-27 02:20:46',0,'AR20160900000016',0),(2374,13,39,'',0,0,'',173,0,'OR','2016-09-27',1,1,0,'',0,0,0,4039,0,0,0,'2016-09-27 02:21:35',0,'2016-09-27 02:21:35',0,'AR20160900000017',0),(2375,44,12,'',0,0,'',109,0,'OR','2016-09-27',1,1,0,'',0,0,0,23,0,0,0,'2016-09-27 04:40:28',0,'2016-09-27 04:40:28',0,'AR20160900000025',0),(2376,45,12,'',0,0,'',108,0,'OR','2016-09-27',1,1,0,'',0,0,0,234,0,0,0,'2016-09-27 04:42:07',0,'2016-09-27 04:42:07',0,'AR20160900000026',0),(2377,46,12,'',0,0,'',109,0,'OR','2016-09-27',1,1,0,'',0,0,0,456,0,0,0,'2016-09-27 04:42:52',0,'2016-09-27 04:42:52',0,'AR20160900000027',0),(2378,1,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,1050,0,0,0,'2016-09-29 01:15:22',0,'2016-09-29 01:16:51',0,'AR20160900000002',0),(2379,2,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,100,0,0,0,'2016-09-29 01:18:10',0,'2016-09-29 01:18:11',0,'AR20160900000003',0),(2380,3,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,30,0,0,0,'2016-09-29 01:21:35',0,'2016-09-29 01:21:35',0,'AR20160900000004',0),(2381,4,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,5000,0,0,0,'2016-09-29 01:32:03',0,'2016-09-29 01:32:03',0,'AR20160900000005',0),(2382,5,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,15900,0,0,0,'2016-09-29 01:32:25',0,'2016-09-29 01:32:25',0,'AR20160900000006',0),(2383,6,40,'',0,0,'',179,0,'OR','2016-10-01',1,1,0,'',0,0,0,29000,0,0,0,'2016-09-29 01:33:03',0,'2016-09-29 01:33:03',0,'AR20161000000001',0),(2384,7,40,'',0,0,'',179,0,'OR','2016-10-08',1,1,0,'',0,0,0,30000,0,0,0,'2016-09-29 01:33:35',0,'2016-09-29 01:33:35',0,'AR20161000000002',0),(2385,8,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,35000,0,0,0,'2016-09-29 01:34:00',0,'2016-09-29 01:34:01',0,'AR20160900000007',0),(2386,9,40,'',0,0,'',179,0,'OR','2016-10-22',1,1,0,'',0,0,0,25000,0,0,0,'2016-09-29 01:34:38',0,'2016-09-29 01:34:38',0,'AR20161000000003',0),(2388,47,13,'',0,0,'',122,0,'OR','2016-09-29',1,1,0,'',0,0,0,10,0,0,0,'2016-09-29 02:12:50',0,'2016-09-29 02:12:50',0,'AR20160900000102',0);
/*!40000 ALTER TABLE `comp_receive_payment_others` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_rpay_add_others_serialNo` BEFORE INSERT ON `comp_receive_payment_others`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_receive_payment_others

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_receive_payment_others_bak`
--

DROP TABLE IF EXISTS `comp_receive_payment_others_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_others_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `receiveFrom` varchar(128) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` varchar(32) NOT NULL,
  `bankID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `receivePaymentDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalReceived` double NOT NULL,
  `totalApplied` double NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_others_bak`
--

LOCK TABLES `comp_receive_payment_others_bak` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_others_bak` DISABLE KEYS */;
INSERT INTO `comp_receive_payment_others_bak` VALUES (506,1,1,'sdrfgsdfg',0,0,'',0,0,'','2015-11-11',0,0,0,'sdfgsdfgsrewg',0,0,0,0,0,1,0,'2015-11-25 02:44:14',0,'2015-11-25 02:53:42',0,'',0),(506,1,1,'sdrfgsdfg',0,0,'',0,0,'','2015-11-11',0,0,0,'sdfgsdfgsrewg',0,0,0,0,0,1,0,'2015-11-25 02:44:14',0,'2015-11-25 02:53:42',0,'',0),(506,1,1,'sdrfgsdfg',0,0,'',0,0,'','2015-11-11',0,0,0,'sdfgsdfgsrewg',0,0,0,0,0,1,0,'2015-11-25 02:44:14',0,'2015-11-25 02:53:42',0,'',0),(506,1,1,'sdrfgsdfg',0,0,'',0,0,'','2015-11-11',0,0,0,'sdfgsdfgsrewg',0,0,0,0,0,1,0,'2015-11-25 02:44:14',0,'2015-11-25 02:53:42',0,'',0),(508,3,1,'dsds',0,0,'',0,0,'','2015-11-19',0,0,0,'',0,0,0,1121,0,1,0,'2015-11-25 03:17:10',0,'0000-00-00 00:00:00',0,'',0),(507,2,1,'adfasdf',0,0,'',0,0,'','2015-11-19',0,0,0,'',0,0,0,0,0,1,0,'2015-11-25 03:16:47',0,'2015-11-25 06:33:43',0,'',0),(509,3,1,'sd',0,0,'',0,0,'','2015-11-11',0,0,0,'',0,0,0,122,0,1,0,'2015-11-25 06:34:36',0,'0000-00-00 00:00:00',0,'',0),(510,4,1,'sd',0,0,'',0,0,'','2015-11-11',0,0,0,'',0,0,0,122,0,1,0,'2015-11-25 06:34:52',0,'0000-00-00 00:00:00',0,'',0),(512,2,1,'sd',0,0,'',0,0,'','2015-11-11',0,0,0,'',0,0,0,122,0,1,0,'2015-11-25 06:36:26',0,'0000-00-00 00:00:00',0,'',0),(511,1,1,'sd',0,0,'',0,0,'','2015-11-11',0,0,0,'',0,0,0,122,0,1,0,'2015-11-25 06:36:13',0,'0000-00-00 00:00:00',0,'',0),(513,3,1,'sd',0,0,'',0,0,'','2015-11-11',0,0,0,'',0,0,0,122,0,1,0,'2015-11-25 06:36:27',0,'0000-00-00 00:00:00',0,'',0),(531,6,1,'',0,0,'',84,0,'OR','2015-11-26',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 01:55:26',0,'0000-00-00 00:00:00',0,'',0),(532,7,1,'',0,0,'',84,0,'OR','2015-11-26',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 01:55:38',0,'0000-00-00 00:00:00',0,'',0),(526,1,1,'',0,0,'',84,0,'OR','2015-11-26',1,1,0,'',0,0,0,2100,0,1,0,'2015-11-26 09:06:06',0,'0000-00-00 00:00:00',0,'',0),(527,2,1,'',0,0,'',84,0,'OR','2015-11-26',1,1,0,'',0,0,0,2100,0,0,0,'2015-11-26 09:22:40',0,'2015-11-26 10:00:48',0,'AR20151100000002',0),(528,3,1,'',0,0,'',83,0,'OR','2015-11-26',1,1,0,'',0,0,0,23569,0,0,0,'2015-11-26 10:00:58',0,'2015-11-26 10:00:58',0,'AR20151100000003',0),(529,4,1,'',0,0,'',85,0,'OR','2015-11-26',1,1,0,'',0,0,0,2100,0,0,0,'2015-11-26 10:32:09',0,'2015-11-26 10:32:10',0,'AR20151100000004',0),(530,5,1,'',0,0,'',83,0,'OR','2015-11-27',1,1,0,'',0,0,0,1212,0,0,0,'2015-11-27 01:44:34',0,'2015-11-27 01:44:35',0,'AR20151100000005',0),(534,2,1,'',0,0,'',82,0,'OR','2015-11-27',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 03:10:35',0,'0000-00-00 00:00:00',0,'',0),(537,4,1,'',0,0,'',82,0,'OR','2015-11-27',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 03:39:18',0,'0000-00-00 00:00:00',0,'',0),(538,5,1,'',0,0,'',82,0,'OR','2015-11-27',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 03:40:35',0,'0000-00-00 00:00:00',0,'',0),(539,6,1,'',0,0,'',82,0,'OR','2015-11-27',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 03:40:45',0,'0000-00-00 00:00:00',0,'',0),(536,3,1,'',0,0,'',83,0,'OR','2015-11-27',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 03:34:01',0,'0000-00-00 00:00:00',0,'',0),(541,5,1,'',0,0,'',82,0,'OR','2015-11-27',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 03:56:39',0,'0000-00-00 00:00:00',0,'',0),(542,6,1,'',0,0,'',82,0,'OR','2015-11-27',1,1,0,'',0,0,0,0,0,1,0,'2015-11-27 03:56:53',0,'0000-00-00 00:00:00',0,'',0),(533,1,1,'',0,0,'',82,0,'OR','2015-11-27',1,1,0,'',0,0,0,950,0,0,0,'2015-11-27 03:10:27',0,'2015-11-27 03:10:28',0,'AR20151100000006',0),(535,2,1,'',0,0,'',83,0,'OR','2015-11-27',1,1,0,'',0,0,0,70,0,0,0,'2015-11-27 03:32:48',0,'2015-11-27 03:32:49',0,'AR20151100000007',0),(540,4,1,'',0,0,'',82,0,'OR','2015-11-27',1,1,0,'',0,0,0,3,0,0,0,'2015-11-27 03:56:23',0,'2015-11-27 03:56:23',0,'AR20151100000008',0),(544,6,1,'',0,0,'',84,0,'OR','2015-11-27',1,1,0,'',0,0,0,121,0,0,0,'2015-11-27 04:02:52',0,'2015-11-27 04:02:53',0,'AR20151100000010',0),(585,2,1,'',0,0,'',82,0,'OR','2015-11-28',1,1,0,'',0,0,0,5,0,0,0,'2015-11-28 02:57:05',0,'2015-11-28 02:57:05',0,'AR20151100000061',0),(589,5,1,'',0,0,'',83,0,'OR','2015-02-03',1,1,0,'',0,0,0,2,0,0,0,'2015-12-01 05:54:56',0,'2015-12-01 05:54:56',0,'AR20151200000003',0),(584,1,1,'',0,0,'',85,0,'OR','2015-01-04',1,1,0,'',0,0,0,1300,0,0,0,'2015-11-28 02:45:25',0,'2015-11-28 02:45:26',0,'AR20151100000060',0),(591,6,1,'',0,0,'',84,0,'OR','2015-01-02',1,1,0,'',0,0,0,23,0,0,0,'2015-12-02 09:27:17',0,'2015-12-02 09:27:17',0,'AR20151200000005',0),(590,5,1,'',0,0,'',82,0,'OR','2015-12-02',1,1,0,'',0,0,0,35656,0,0,0,'2015-12-02 09:26:26',0,'2015-12-02 09:26:27',0,'AR20151200000004',0),(586,2,1,'',0,0,'',84,0,'OR','2015-11-28',1,1,0,'',0,0,0,100,0,0,0,'2015-11-28 04:14:34',0,'2015-11-28 04:14:34',0,'AR20151100000062',0),(587,3,1,'',0,0,'',82,0,'OR','2015-12-01',1,1,0,'',0,0,0,7,0,0,0,'2015-12-01 04:43:17',0,'2015-12-03 03:41:17',0,'AR20151200000011',0),(588,4,1,'',0,0,'',84,0,'OR','2015-12-01',1,1,0,'',0,0,0,2332.63,0,0,0,'2015-12-01 05:32:41',0,'2015-12-03 01:57:42',0,'AR20151200000008',0),(592,5,1,'',0,0,'',83,0,'OR','2015-12-03',1,1,0,'',0,0,0,100000000,0,0,0,'2015-12-03 01:55:13',0,'2015-12-03 01:55:57',0,'AR20151200000007',0),(593,6,1,'',0,0,'',85,0,'OR','2015-12-03',1,1,0,'',0,0,0,2000,0,0,0,'2015-12-03 03:15:38',0,'2015-12-03 03:16:17',0,'AR20151200000010',0),(594,7,1,'',0,0,'',83,0,'OR','2015-12-03',1,1,0,'',0,0,0,30,0,0,0,'2015-12-03 05:27:45',0,'2015-12-03 05:27:45',0,'AR20151200000012',0),(595,8,1,'',0,0,'',83,0,'OR','2015-11-03',1,1,0,'',0,0,0,30,0,0,0,'2015-12-03 05:28:57',0,'2015-12-03 05:28:58',0,'AR20151100000063',0),(654,59,1,'',0,0,'',85,0,'OR','2016-04-25',1,1,0,'',0,0,0,150,0,0,0,'2016-04-25 03:56:38',0,'2016-04-25 03:56:39',0,'AR20160400000002',0),(653,58,1,'',0,0,'',83,0,'OR','2016-04-21',1,1,0,'',0,0,0,149,0,0,0,'2016-04-21 01:07:18',0,'2016-04-25 03:58:00',0,'AR20160400000003',0),(655,59,1,'',0,0,'',82,0,'OR','2016-04-25',1,1,0,'',0,0,0,20,0,0,0,'2016-04-25 15:49:03',0,'2016-04-25 15:49:04',0,'AR20160400000004',0),(656,58,1,'',0,0,'',82,0,'OR','2016-04-26',1,1,0,'',0,0,0,122,0,0,0,'2016-04-26 01:40:22',0,'2016-04-26 01:40:23',0,'AR20160400000005',0),(662,64,1,'',0,0,'',85,0,'OR','2016-06-01',1,1,0,'',0,0,0,100,0,0,0,'2016-06-01 06:59:52',0,'2016-06-01 06:59:52',0,'AR20160600000002',0),(664,2,13,'',0,0,'',122,0,'OR','2016-06-13',1,1,0,'',0,0,0,122,0,0,0,'2016-06-13 06:11:38',0,'2016-06-13 06:11:38',0,'AR20160600000002',0),(665,3,13,'',0,0,'',122,0,'OR','2016-06-13',1,1,0,'',0,0,0,123,0,0,0,'2016-06-13 06:12:20',0,'2016-06-13 06:12:21',0,'AR20160600000003',0),(667,5,13,'',0,0,'',122,0,'OR','2016-06-13',1,1,0,'',0,0,0,100,0,0,0,'2016-06-13 07:33:25',0,'2016-06-13 07:33:25',0,'AR20160600000005',0),(666,4,13,'',0,0,'',123,0,'OR','2016-06-13',1,1,0,'',0,0,0,354,0,0,0,'2016-06-13 06:14:09',0,'2016-06-13 06:14:09',0,'AR20160600000004',0),(672,10,13,'',0,0,'',122,0,'OR','2016-06-14',1,1,0,'',0,0,0,1,0,0,0,'2016-06-14 05:37:26',0,'2016-06-14 05:37:26',0,'AR20160600000012',0),(661,63,1,'',0,0,'',85,0,'OR','2016-06-01',1,1,0,'',0,0,0,100,0,0,0,'2016-06-01 06:59:51',0,'2016-06-01 07:00:56',0,'AR20160600000003',0),(668,6,13,'',0,0,'',124,0,'OR','2016-06-13',1,1,0,'',0,0,0,23,0,0,0,'2016-06-13 07:44:22',0,'2016-06-14 03:43:00',0,'AR20160600000011',0),(671,9,13,'',0,0,'',122,0,'OR','2016-06-13',1,1,0,'',0,0,0,12312312,0,0,0,'2016-06-13 08:12:00',0,'2016-06-13 08:12:01',0,'AR20160600000009',0),(674,11,13,'',0,0,'',122,0,'OR','2016-06-14',1,1,0,'',0,0,0,78006,0,0,0,'2016-06-14 08:05:46',0,'2016-06-14 08:05:46',0,'AR20160600000014',0),(693,18,13,'',0,0,'',123,0,'OR','2016-08-09',1,1,0,'',0,0,0,23424431,0,0,0,'2016-08-09 02:22:29',0,'2016-08-09 03:27:30',0,'AR20160800000007',0),(722,3,24,'',0,0,'',163,0,'OR','2016-08-16',1,1,0,'',0,0,0,200,0,0,0,'2016-08-16 03:54:56',0,'2016-08-16 03:54:57',0,'AR20160800000004',0),(724,5,24,'',0,0,'',164,0,'OR','2016-03-04',1,1,0,'',0,0,0,10000,0,0,0,'2016-08-16 03:57:15',0,'2016-08-16 03:57:15',0,'AR20160300000001',0),(721,2,24,'',0,0,'',162,0,'OR','2016-08-16',1,1,0,'',0,0,0,3000,0,0,0,'2016-08-16 03:51:38',0,'2016-08-16 03:51:39',0,'AR20160800000003',0),(723,4,24,'',0,0,'',163,0,'OR','2016-08-16',1,1,0,'',0,0,0,500,0,0,0,'2016-08-16 03:56:11',0,'2016-08-16 03:56:11',0,'AR20160800000005',0),(727,6,24,'',0,0,'',164,0,'OR','2016-08-16',1,1,0,'',0,0,0,2350,0,0,0,'2016-08-16 07:06:15',0,'2016-08-16 07:06:16',0,'AR20160800000006',0),(728,7,24,'',0,0,'',163,0,'OR','2016-08-16',1,1,0,'',0,0,0,151,0,0,0,'2016-08-16 07:24:27',0,'2016-08-16 07:24:27',0,'AR20160800000007',0),(691,65,1,'',0,0,'',82,0,'OR','2016-08-08',1,1,0,'',0,0,0,10000,0,0,0,'2016-08-08 09:56:51',0,'2016-08-08 09:56:51',0,'AR20160800000001',0),(2119,72,1,'',0,0,'',82,0,'OR','2016-08-17',1,1,0,'',0,0,0,12,0,0,0,'2016-08-17 07:23:35',0,'2016-08-17 07:23:36',0,'AR20160800000002',0),(2124,73,1,'',0,0,'',82,0,'OR','2016-08-17',1,1,0,'',0,0,0,10,0,0,0,'2016-08-17 08:18:03',0,'2016-08-17 08:18:03',0,'AR20160800000003',0),(2126,74,1,'',0,0,'',82,0,'OR','2016-08-17',1,1,0,'',0,0,0,8,0,0,0,'2016-08-17 08:20:06',0,'2016-08-17 08:20:07',0,'AR20160800000004',0),(2127,75,1,'',0,0,'',82,0,'OR','2016-08-17',1,1,0,'',0,0,0,1007,0,0,0,'2016-08-17 08:22:17',0,'2016-08-17 08:22:18',0,'AR20160800000005',0),(2128,25,23,'',0,0,'',148,0,'OR','2016-08-17',1,1,0,'',0,0,0,100,0,0,0,'2016-08-17 08:22:38',0,'2016-08-17 08:22:39',0,'AR20160800000012',0),(2122,24,23,'',0,0,'',148,0,'OR','2016-08-17',1,1,0,'',0,0,0,10,0,0,0,'2016-08-17 07:35:32',0,'2016-08-17 07:47:56',0,'AP20160800000030',0),(2121,23,23,'',0,0,'',149,0,'OR','2016-08-17',1,1,0,'',0,0,0,1500,0,0,0,'2016-08-17 07:28:30',0,'2016-08-17 07:47:33',0,'AP20160800000049',0),(2120,22,23,'',0,0,'',148,0,'OR','2016-08-17',1,1,0,'',0,0,0,400,0,0,0,'2016-08-17 07:23:36',0,'2016-08-17 07:46:18',0,'AP20160800000048',0),(2088,21,23,'149',0,0,'',33013,3,'LR','2016-08-07',0,1,0,'',0,0,0,200,0,0,0,'2016-08-17 07:07:20',0,'0000-00-00 00:00:00',0,'AP20160800000040',0),(707,8,23,'',0,0,'',149,0,'OR','2016-08-08',1,1,0,'',0,0,0,800,0,0,0,'2016-08-12 07:32:10',0,'2016-08-12 07:32:10',0,'AR20160800000001',0),(2025,19,23,'148',0,0,'',33013,3,'LR','2016-08-11',0,1,0,'',0,0,0,40,0,0,0,'2016-08-17 07:07:20',0,'0000-00-00 00:00:00',0,'AP20160800000041',0),(714,15,23,'',0,0,'',149,0,'OR','2016-08-12',1,1,0,'',0,0,0,802,0,0,0,'2016-08-12 07:43:21',0,'2016-08-12 07:43:21',0,'AR20160800000003',0),(716,16,23,'',0,0,'',148,0,'OR','2016-08-12',1,1,0,'',0,0,0,300,0,0,0,'2016-08-12 08:15:52',0,'2016-08-12 08:15:53',0,'AR20160800000004',0),(2037,20,23,'148',0,0,'',33014,3,'LR','2016-08-16',0,1,0,'',0,0,0,50,0,0,0,'2016-08-17 07:07:20',0,'0000-00-00 00:00:00',0,'AP20160800000018',0),(745,18,23,'',0,0,'',149,0,'OR','2016-08-17',1,1,0,'',0,0,0,100,0,0,0,'2016-08-17 03:41:35',0,'2016-08-17 03:41:35',0,'AR20160800000006',0),(743,17,23,'',0,0,'',148,0,'OR','2016-08-17',1,1,0,'',0,0,0,5000,0,0,0,'2016-08-17 03:24:32',0,'2016-08-17 03:24:32',0,'AR20160800000005',0),(2129,26,23,'',0,0,'',148,0,'OR','2016-08-17',1,1,0,'',0,0,0,60,0,1,0,'2016-08-17 08:23:35',0,'2016-08-17 09:29:36',0,'AR20160800000013',0),(2130,27,23,'',0,0,'',148,0,'OR','2016-08-17',1,1,0,'',0,0,0,100,0,1,0,'2016-08-17 08:32:53',0,'2016-08-17 09:29:39',0,'AR20160800000014',0),(2131,28,23,'',0,0,'',148,0,'OR','2016-08-17',1,1,0,'',0,0,0,90,0,0,0,'2016-08-17 08:33:11',0,'2016-08-17 08:33:11',0,'AR20160800000015',0),(2132,29,23,'',0,0,'',148,0,'OR','2016-08-17',1,1,0,'',0,0,0,140,0,0,0,'2016-08-17 08:34:18',0,'2016-08-17 08:34:19',0,'AR20160800000016',0),(2133,30,23,'',0,0,'',149,0,'OR','2016-08-17',1,1,0,'',0,0,0,1500,0,0,0,'2016-08-17 08:35:35',0,'2016-08-17 08:35:35',0,'AR20160800000017',0),(713,14,23,'',0,0,'',148,0,'OR','2016-08-20',1,1,0,'',0,0,0,801,0,0,0,'2016-08-12 07:42:38',0,'2016-08-12 07:42:38',0,'AR20160800000002',0),(700,1,23,'',0,0,'',148,0,'OR','2016-01-01',1,1,0,'',0,0,0,100,0,0,0,'2016-08-11 08:56:03',0,'2016-08-11 08:56:03',0,'AR20160100000001',0),(701,2,23,'',0,0,'',149,0,'OR','2016-02-02',1,1,0,'',0,0,0,200,0,0,0,'2016-08-11 09:00:27',0,'2016-08-11 09:22:29',0,'AR20160200000002',0),(702,3,23,'',0,0,'',150,0,'OR','2016-03-03',1,1,0,'',0,0,0,300,0,0,0,'2016-08-12 07:16:02',0,'2016-08-12 07:16:03',0,'AR20160300000001',0),(703,4,23,'',0,0,'',148,0,'OR','2016-04-04',1,1,0,'',0,0,0,400,0,0,0,'2016-08-12 07:28:54',0,'2016-08-12 07:28:54',0,'AR20160400000001',0),(704,5,23,'',0,0,'',149,0,'OR','2016-05-05',1,1,0,'',0,0,0,500,0,0,0,'2016-08-12 07:29:37',0,'2016-08-12 07:29:37',0,'AR20160500000001',0),(705,6,23,'',0,0,'',150,0,'OR','2016-06-06',1,1,0,'',0,0,0,600,0,0,0,'2016-08-12 07:30:20',0,'2016-08-12 07:30:20',0,'AR20160600000001',0),(706,7,23,'',0,0,'',148,0,'OR','2016-07-07',1,1,0,'',0,0,0,700,0,0,0,'2016-08-12 07:30:45',0,'2016-08-12 07:30:45',0,'AR20160700000001',0),(709,10,23,'',0,0,'',150,0,'OR','2016-09-09',1,1,0,'',0,0,0,900,0,0,0,'2016-08-12 07:37:26',0,'2016-08-12 07:37:26',0,'AR20160900000001',0),(710,11,23,'',0,0,'',148,0,'OR','2016-10-10',1,1,0,'',0,0,0,1000,0,0,0,'2016-08-12 07:38:43',0,'2016-08-12 07:38:43',0,'AR20161000000001',0),(711,12,23,'',0,0,'',149,0,'OR','2016-11-11',1,1,0,'',0,0,0,1100,0,0,0,'2016-08-12 07:39:40',0,'2016-08-12 07:39:40',0,'AR20161100000001',0),(712,13,23,'',0,0,'',150,0,'OR','2016-12-12',1,1,0,'',0,0,0,1200,0,0,0,'2016-08-12 07:40:55',0,'2016-08-12 07:40:55',0,'AR20161200000001',0),(652,57,1,'',0,0,'',82,0,'OR','2016-01-19',1,1,0,'',0,0,0,212,0,0,0,'2016-01-19 08:34:21',0,'2016-01-19 08:34:22',0,'AR20160100000001',0),(657,59,1,'',0,0,'',82,0,'OR','2016-04-26',1,1,0,'',0,0,0,468,0,0,0,'2016-04-26 01:42:25',0,'2016-04-26 02:16:25',0,'AR20160400000007',0),(658,60,1,'',0,0,'',83,0,'OR','2016-04-26',1,1,0,'',0,0,0,258,0,0,0,'2016-04-26 02:17:36',0,'2016-04-26 02:17:43',0,'AR20160400000009',0),(659,61,1,'',0,0,'',82,0,'OR','2016-04-27',1,1,0,'',0,0,0,100,0,0,0,'2016-04-27 04:59:04',0,'2016-04-27 04:59:04',0,'AR20160400000010',0),(660,62,1,'',0,0,'',82,0,'OR','2016-05-10',1,1,0,'',0,0,0,118.5,0,0,0,'2016-05-10 03:38:44',0,'2016-05-10 03:38:44',0,'AR20160500000001',0),(675,63,1,'',0,0,'',82,0,'OR','2016-06-14',1,1,0,'',0,0,0,160,0,0,0,'2016-06-14 09:18:13',0,'2016-06-14 09:18:13',0,'AR20160600000004',0),(682,64,1,'',0,0,'',82,0,'OR','2016-06-16',1,1,0,'',0,0,0,100,0,0,0,'2016-06-16 08:39:24',0,'2016-06-16 08:39:24',0,'AR20160600000005',0),(692,66,1,'',0,0,'',84,0,'OR','2016-07-31',1,1,0,'',0,0,0,9000,0,0,0,'2016-08-08 10:27:01',0,'2016-08-08 10:27:02',0,'AR20160700000001',0),(2141,57,1,'',0,0,'',82,0,'OR','2016-08-17',1,1,0,'',0,0,0,50000,0,0,0,'2016-08-17 11:05:46',0,'2016-08-17 11:05:47',0,'AR20160800000006',0),(2173,65,1,'',0,0,'',85,0,'OR','2016-08-17',1,1,0,'',0,0,0,1010.9,0,0,0,'2016-08-17 15:13:02',0,'2016-08-17 15:13:02',0,'AR20160800000014',0),(2172,64,1,'',0,0,'',85,0,'OR','2016-08-17',1,1,0,'',0,0,0,1010.9,0,0,0,'2016-08-17 15:11:11',0,'2016-08-17 15:11:11',0,'AR20160800000013',0),(2171,63,1,'',0,0,'',85,0,'OR','2016-08-17',1,1,0,'',0,0,0,1010.9,0,0,0,'2016-08-17 15:08:23',0,'2016-08-17 15:08:23',0,'AR20160800000012',0),(2170,62,1,'',0,0,'',86,0,'OR','2016-08-17',1,1,0,'',0,0,0,1000,0,0,0,'2016-08-17 15:03:32',0,'2016-08-17 15:03:32',0,'AR20160800000011',0),(2169,61,1,'',0,0,'',86,0,'OR','2016-08-17',1,1,0,'',0,0,0,1000,0,0,0,'2016-08-17 15:03:29',0,'2016-08-17 15:03:29',0,'AR20160800000010',0),(2168,60,1,'',0,0,'',86,0,'OR','2016-08-17',1,1,0,'',0,0,0,1000,0,0,0,'2016-08-17 14:51:40',0,'2016-08-17 14:51:40',0,'AR20160800000009',0),(2167,59,1,'',0,0,'',84,0,'OR','2016-08-17',1,1,0,'',0,0,0,1000,0,0,0,'2016-08-17 14:33:01',0,'2016-08-17 14:33:01',0,'AR20160800000008',0),(2166,58,1,'',0,0,'',82,0,'OR','2016-08-17',1,1,0,'',0,0,0,1234,0,0,0,'2016-08-17 13:57:39',0,'2016-08-17 13:57:39',0,'AR20160800000007',0),(2174,66,1,'',0,0,'',85,0,'OR','2016-08-17',1,1,0,'',0,0,0,1010.9,0,0,0,'2016-08-17 15:13:42',0,'2016-08-17 15:13:42',0,'AR20160800000015',0),(2176,10,23,'',0,0,'',148,0,'OR','2016-08-18',1,1,0,'',0,0,0,101,0,0,0,'2016-08-18 01:21:14',0,'2016-08-18 01:21:15',0,'AR20160800000018',0),(2177,11,23,'',0,0,'',149,0,'OR','2016-08-18',1,1,0,'',0,0,0,102,0,0,0,'2016-08-18 01:21:31',0,'2016-08-18 01:21:32',0,'AR20160800000019',0),(2186,20,23,'',0,0,'',148,0,'OR','2016-08-18',1,1,0,'',0,0,0,111,0,0,0,'2016-08-18 01:26:09',0,'2016-08-18 01:26:09',0,'AR20160800000028',0),(2185,19,23,'',0,0,'',148,0,'OR','2016-08-18',1,1,0,'',0,0,0,110,0,0,0,'2016-08-18 01:25:50',0,'2016-08-18 01:25:50',0,'AR20160800000027',0),(2184,18,23,'',0,0,'',148,0,'OR','2016-08-18',1,1,0,'',0,0,0,109,0,0,0,'2016-08-18 01:25:11',0,'2016-08-18 01:25:12',0,'AR20160800000026',0),(2183,17,23,'',0,0,'',150,0,'OR','2016-08-18',1,1,0,'',0,0,0,108,0,0,0,'2016-08-18 01:24:46',0,'2016-08-18 01:24:46',0,'AR20160800000025',0),(2182,16,23,'',0,0,'',149,0,'OR','2016-08-18',1,1,0,'',0,0,0,107,0,0,0,'2016-08-18 01:24:26',0,'2016-08-18 01:24:27',0,'AR20160800000024',0),(2181,15,23,'',0,0,'',149,0,'OR','2016-08-18',1,1,0,'',0,0,0,106,0,0,0,'2016-08-18 01:23:32',0,'2016-08-18 01:23:32',0,'AR20160800000023',0),(2180,14,23,'',0,0,'',148,0,'OR','2016-08-18',1,1,0,'',0,0,0,105,0,0,0,'2016-08-18 01:23:05',0,'2016-08-18 01:23:05',0,'AR20160800000022',0),(2179,13,23,'',0,0,'',151,0,'OR','2016-08-18',1,1,0,'',0,0,0,104,0,0,0,'2016-08-18 01:22:21',0,'2016-08-18 01:22:21',0,'AR20160800000021',0),(2178,12,23,'',0,0,'',150,0,'OR','2016-08-18',1,1,0,'',0,0,0,103,0,0,0,'2016-08-18 01:22:01',0,'2016-08-18 01:22:01',0,'AR20160800000020',0),(2187,21,23,'',0,0,'',149,0,'OR','2016-08-18',1,1,0,'',0,0,0,112,0,0,0,'2016-08-18 01:27:08',0,'2016-08-18 01:27:08',0,'AR20160800000029',0),(2175,57,1,'',0,0,'',86,0,'OR','2016-08-17',1,1,0,'',0,0,0,1999.9,0,0,0,'2016-08-17 15:22:35',0,'2016-08-17 15:35:51',0,'AR20160800000024',0),(2189,10,23,'',0,0,'',149,0,'OR','2016-08-18',1,1,0,'',0,0,0,203,0,0,0,'2016-08-18 01:29:27',0,'2016-08-18 01:30:04',0,'AR20160800000031',0),(2208,15,23,'',0,0,'',148,0,'OR','2016-08-25',1,1,0,'',0,0,0,119,0,0,0,'2016-08-25 02:17:57',0,'2016-08-25 02:20:43',0,'AR20160800000037',0),(2221,25,23,'',0,0,'',149,0,'OR','2016-08-26',1,1,0,'',0,0,0,12345,0,0,0,'2016-08-26 07:40:53',0,'2016-08-26 07:40:53',0,'AR20160800000047',0),(2220,24,23,'',0,0,'',148,0,'OR','2016-08-26',1,1,0,'',0,0,0,1121,0,0,0,'2016-08-26 07:40:32',0,'2016-08-26 07:40:33',0,'AR20160800000046',0),(2219,23,23,'',0,0,'',148,0,'OR','2016-08-26',1,1,0,'',0,0,0,1000,0,0,0,'2016-08-26 07:40:14',0,'2016-08-26 07:40:14',0,'AR20160800000045',0),(2218,22,23,'',0,0,'',148,0,'OR','2016-08-26',1,1,0,'',0,0,0,500,0,0,0,'2016-08-26 07:39:52',0,'2016-08-26 07:39:52',0,'AR20160800000044',0),(2217,21,23,'',0,0,'',148,0,'OR','2016-08-26',1,1,0,'',0,0,0,400,0,0,0,'2016-08-26 07:39:34',0,'2016-08-26 07:39:34',0,'AR20160800000043',0),(2216,20,23,'',0,0,'',149,0,'OR','2016-08-26',1,1,0,'',0,0,0,300,0,0,0,'2016-08-26 07:39:17',0,'2016-08-26 07:39:18',0,'AR20160800000042',0),(2215,19,23,'',0,0,'',148,0,'OR','2016-08-26',1,1,0,'',0,0,0,200,0,0,0,'2016-08-26 07:38:58',0,'2016-08-26 07:38:58',0,'AR20160800000041',0),(2214,18,23,'',0,0,'',148,0,'OR','2016-08-26',1,1,0,'',0,0,0,100,0,0,0,'2016-08-26 07:36:45',0,'2016-08-26 07:36:45',0,'AR20160800000040',0),(2213,17,23,'',0,0,'',149,0,'OR','2016-08-26',1,1,0,'',0,0,0,1190,0,0,0,'2016-08-26 07:35:03',0,'2016-08-26 07:35:59',0,'AR20160800000039',0),(2222,26,23,'',0,0,'',149,0,'OR','2016-08-26',1,1,0,'',0,0,0,91823,0,0,0,'2016-08-26 07:46:32',0,'2016-08-26 07:46:32',0,'AR20160800000048',0),(2210,16,23,'',0,0,'',149,0,'OR','2016-07-20',1,1,0,'',0,0,0,1808,0,0,0,'2016-08-25 08:09:36',0,'2016-08-25 08:09:36',0,'AR20160700000002',0),(2224,16,23,'',0,0,'',148,0,'OR','2016-08-29',1,1,0,'',0,0,0,100,0,0,0,'2016-08-29 01:14:22',0,'2016-08-29 01:14:22',0,'AR20160800000050',0),(2225,16,23,'',0,0,'',148,0,'OR','2016-08-29',1,1,0,'',0,0,0,100,0,0,0,'2016-08-29 01:16:34',0,'2016-08-29 01:16:34',0,'AR20160800000051',0),(2226,16,23,'',0,0,'',148,0,'OR','2016-08-29',1,1,0,'',0,0,0,100,0,0,0,'2016-08-29 01:17:45',0,'2016-08-29 01:17:45',0,'AR20160800000052',0),(2227,31,13,'Bank Rakyat	',0,0,'',123,3,'LR','2016-08-29',1,1,0,'',0,0,0,120,0,0,0,'2016-08-29 01:24:57',0,'2016-08-29 01:24:57',0,'AR20160800000021',0),(2227,31,13,'Bank Rakyat	',0,0,'',123,3,'LR','2016-08-29',1,1,0,'',0,0,0,1220,0,0,0,'2016-08-29 01:24:57',0,'2016-08-29 01:25:21',0,'AR20160800000022',0),(715,24,13,'',0,0,'',123,0,'OR','2016-08-25',1,1,0,'',0,0,0,190,0,0,0,'2016-08-12 08:08:18',0,'2016-08-12 08:08:18',0,'AR20160800000014',0),(2212,30,13,'',0,0,'',126,0,'OR','2016-08-25',1,1,0,'',0,0,0,250,0,0,0,'2016-08-26 07:32:37',0,'2016-08-26 07:32:37',0,'AR20160800000020',0),(695,20,13,'',0,0,'',123,0,'OR','2016-08-10',1,1,0,'',0,0,0,372,0,0,0,'2016-08-10 02:16:39',0,'2016-08-10 02:16:39',0,'AR20160800000010',0),(698,23,13,'',0,0,'',122,0,'OR','2016-08-10',1,1,0,'',0,0,0,250,0,0,0,'2016-08-10 07:13:06',0,'2016-08-10 07:17:49',0,'AR20160800000013',0),(2204,26,13,'',0,0,'',126,0,'OR','2016-08-19',1,1,0,'',0,0,0,1000,0,0,0,'2016-08-19 07:21:59',0,'2016-08-19 07:21:59',0,'AR20160800000016',0),(2229,32,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,1452,0,0,0,'2016-08-29 03:58:37',0,'2016-08-29 03:58:38',0,'AR20160800000023',0),(2230,33,13,'',0,0,'',123,0,'OR','2016-08-29',1,1,0,'',0,0,0,672221,0,0,0,'2016-08-29 03:59:38',0,'2016-08-29 03:59:38',0,'AR20160800000024',0),(2201,25,13,'',0,0,'',126,0,'OR','2016-08-18',1,1,0,'',0,0,0,100,0,0,0,'2016-08-18 07:20:44',0,'2016-08-18 07:20:44',0,'AR20160800000015',0),(2231,32,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,3333,0,0,0,'2016-08-29 04:03:11',0,'2016-08-29 04:03:11',0,'AR20160800000025',0),(2232,32,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,4535,0,0,0,'2016-08-29 04:05:04',0,'2016-08-29 04:05:05',0,'AR20160800000026',0),(2233,32,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,435235,0,0,0,'2016-08-29 04:06:24',0,'2016-08-29 04:06:24',0,'AR20160800000027',0),(2234,33,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,53252,0,0,0,'2016-08-29 04:06:54',0,'2016-08-29 04:06:54',0,'AR20160800000028',0),(2235,32,13,'',0,0,'',123,0,'OR','2016-08-29',1,1,0,'',0,0,0,32424,0,0,0,'2016-08-29 04:11:33',0,'2016-08-29 04:11:33',0,'AR20160800000029',0),(2236,33,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,235234,0,0,0,'2016-08-29 04:11:57',0,'2016-08-29 04:11:57',0,'AR20160800000030',0),(2237,32,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,23423432423,0,0,0,'2016-08-29 04:13:56',0,'2016-08-29 04:13:56',0,'AR20160800000031',0),(2238,33,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,34235,0,0,0,'2016-08-29 04:14:18',0,'2016-08-29 04:14:18',0,'AR20160800000032',0),(2239,34,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,53235,0,0,0,'2016-08-29 04:15:25',0,'2016-08-29 04:15:25',0,'AR20160800000033',0),(690,17,13,'',0,0,'',122,0,'OR','2016-08-08',1,1,0,'',0,0,0,100,0,0,0,'2016-08-08 02:29:00',0,'2016-08-08 02:29:01',0,'AR20160800000005',0),(2241,36,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,324235,0,0,0,'2016-08-29 06:57:15',0,'2016-08-29 06:57:15',0,'AR20160800000035',0),(2243,37,13,'',0,0,'',122,0,'OR','2016-08-29',1,1,0,'',0,0,0,100,0,0,0,'2016-08-29 07:13:27',0,'2016-08-29 07:13:27',0,'AR20160800000037',0),(2228,16,23,'',0,0,'',148,0,'OR','2016-08-29',1,1,0,'',0,0,0,100,0,0,0,'2016-08-29 02:38:27',0,'2016-08-29 07:54:19',0,'AR20160800000058',0),(2244,16,23,'',0,0,'',149,0,'OR','2016-08-29',1,1,0,'',0,0,0,300,0,0,0,'2016-08-29 07:58:20',0,'2016-08-29 07:58:42',0,'AR20160800000060',0),(2245,16,23,'',0,0,'',148,0,'OR','2016-08-29',1,1,0,'',0,0,0,300,0,0,0,'2016-08-29 08:00:13',0,'2016-08-29 08:00:30',0,'AR20160800000062',0),(2251,39,13,'Bank Rakyat	',0,0,'',126,3,'LR','2016-08-29',1,1,0,'',0,0,0,2133333,0,0,0,'2016-08-29 08:45:21',0,'2016-08-29 08:56:56',0,'AR20160800000050',0),(2251,39,13,'Bank Rakyat	',0,0,'',126,3,'LR','2016-08-29',1,1,0,'',0,0,0,2133333,0,0,0,'2016-08-29 08:45:21',0,'2016-08-29 08:56:56',0,'AR20160800000050',0),(2251,39,13,'Bank Rakyat	',0,0,'',126,3,'LR','2016-08-29',1,1,0,'',0,0,0,2133333,0,0,0,'2016-08-29 08:45:21',0,'2016-08-29 08:56:56',0,'AR20160800000050',0),(2251,39,13,'Bank Rakyat	',0,0,'',126,3,'LR','2016-08-29',1,1,0,'',0,0,0,2133333,0,0,0,'2016-08-29 08:45:21',0,'2016-08-29 08:56:56',0,'AR20160800000050',0),(2252,39,13,'',0,0,'',123,0,'OR','2016-08-29',1,1,0,'',0,0,0,100,0,0,0,'2016-08-29 09:06:34',0,'2016-08-29 09:06:34',0,'AR20160800000051',0),(2255,19,23,'',0,0,'',148,0,'OR','2016-09-01',1,1,0,'',0,0,0,100,0,0,0,'2016-09-01 01:28:13',0,'2016-09-01 01:28:13',0,'AR20160900000002',0),(2260,40,13,'',0,0,'',122,0,'OR','2016-09-01',1,1,0,'',0,0,0,123,0,0,0,'2016-09-01 01:34:13',0,'2016-09-01 01:34:14',0,'AR20160900000001',0),(2261,41,13,'',0,0,'',122,0,'OR','2016-09-01',1,1,0,'',0,0,0,1234,0,0,0,'2016-09-01 01:53:29',0,'2016-09-01 01:54:35',0,'AR20160900000003',0),(2262,42,13,'',0,0,'',122,0,'OR','2016-09-01',1,1,0,'',0,0,0,1231,0,0,0,'2016-09-01 02:08:29',0,'2016-09-01 02:08:29',0,'AR20160900000004',0),(2263,43,13,'',0,0,'',122,0,'OR','2016-09-01',1,1,0,'',0,0,0,123,0,0,0,'2016-09-01 02:08:50',0,'2016-09-01 02:08:51',0,'AR20160900000005',0),(2268,44,13,'',0,0,'',122,0,'OR','2016-09-02',1,1,0,'',0,0,0,321237,0,0,0,'2016-09-02 02:15:27',0,'2016-09-02 02:23:11',0,'AR20160900000011',0),(2271,47,13,'',0,0,'',122,0,'OR','2016-09-02',1,1,0,'',0,0,0,0,0,1,0,'2016-09-02 02:40:23',0,'0000-00-00 00:00:00',0,'',0),(2270,46,13,'',0,0,'',122,0,'OR','2016-09-02',1,1,0,'',0,0,0,12345,0,0,0,'2016-09-02 02:31:01',0,'2016-09-02 02:31:01',0,'AR20160900000013',0),(2266,42,13,'',0,0,'',123,0,'OR','2016-09-01',1,1,0,'',0,0,0,3434,0,0,0,'2016-09-01 09:03:01',0,'2016-09-01 09:03:02',0,'AR20160900000008',0),(2267,43,13,'',0,0,'',122,0,'OR','2016-09-01',1,1,0,'',0,0,0,343,0,0,0,'2016-09-01 09:03:39',0,'2016-09-01 09:03:41',0,'AR20160900000009',0),(2269,45,13,'',0,0,'',122,0,'OR','2016-09-02',1,1,0,'',0,0,0,433,0,0,0,'2016-09-02 02:28:06',0,'2016-09-02 02:28:06',0,'AR20160900000012',0),(688,16,13,'',0,0,'',122,0,'OR','2016-08-01',1,1,0,'',0,0,0,33432432513,0,0,0,'2016-08-01 08:25:58',0,'2016-08-30 09:02:29',0,'AR20160800000058',0),(2276,44,13,'',0,0,'',126,0,'OR','2016-09-04',1,1,0,'',0,0,0,1400,0,0,0,'2016-09-04 10:01:20',0,'2016-09-04 10:01:20',0,'AR20160900000016',0),(2280,27,23,'',0,0,'',148,0,'OR','2016-09-05',1,1,0,'',0,0,0,1000,0,0,0,'2016-09-05 06:48:06',0,'2016-09-05 06:48:07',0,'AR20160900000010',0),(2288,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,200,0,0,0,'2016-09-09 02:38:32',0,'2016-09-09 02:38:32',0,'AR20160900000022',0),(2293,53,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-09 02:53:15',0,'2016-09-09 02:53:15',0,'AR20160900000027',0),(2292,52,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-09 02:52:44',0,'2016-09-09 02:52:44',0,'AR20160900000026',0),(2291,51,13,'',0,0,'',123,0,'OR','2016-09-09',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-09 02:51:29',0,'2016-09-09 02:51:29',0,'AR20160900000025',0),(2294,54,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-09 02:54:17',0,'2016-09-09 02:54:17',0,'AR20160900000028',0),(2295,55,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-09 02:54:56',0,'2016-09-09 02:54:56',0,'AR20160900000029',0),(2289,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,200,0,0,0,'2016-09-09 02:39:38',0,'2016-09-09 02:39:38',0,'AR20160900000023',0),(2290,50,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 02:39:56',0,'2016-09-09 02:39:56',0,'AR20160900000024',0),(2296,51,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-09 02:55:53',0,'2016-09-09 02:55:54',0,'AR20160900000030',0),(2297,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-09 03:06:46',0,'2016-09-09 03:06:46',0,'AR20160900000031',0),(2298,50,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,3120,0,0,0,'2016-09-09 03:08:09',0,'2016-09-09 03:08:09',0,'AR20160900000032',0),(2299,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,300,0,0,0,'2016-09-09 03:36:49',0,'2016-09-09 03:36:49',0,'AR20160900000033',0),(2300,50,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,420,0,0,0,'2016-09-09 03:37:08',0,'2016-09-09 03:37:08',0,'AR20160900000034',0),(2303,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,420,0,0,0,'2016-09-09 04:10:28',0,'2016-09-09 04:10:44',0,'AR20160900000035',0),(2304,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,420,0,0,0,'2016-09-09 04:17:01',0,'2016-09-09 04:17:15',0,'AR20160900000036',0),(2305,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,420,0,0,0,'2016-09-09 04:20:36',0,'2016-09-09 04:20:48',0,'AR20160900000037',0),(2287,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,545,0,0,0,'2016-09-09 01:47:15',0,'2016-09-09 01:47:15',0,'AR20160900000021',0),(2306,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,420,0,0,0,'2016-09-09 04:28:06',0,'2016-09-09 04:28:25',0,'AR20160900000038',0),(2307,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,520,0,0,0,'2016-09-09 04:29:58',0,'2016-09-09 04:31:42',0,'AR20160900000039',0),(2308,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,420,0,0,0,'2016-09-09 04:36:08',0,'2016-09-09 04:37:33',0,'AR20160900000041',0),(2309,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,300,0,0,0,'2016-09-09 04:46:08',0,'2016-09-09 04:46:08',0,'AR20160900000042',0),(2310,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,300,0,0,0,'2016-09-09 04:48:21',0,'2016-09-09 04:48:22',0,'AR20160900000043',0),(2311,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,350,0,0,0,'2016-09-09 04:52:54',0,'2016-09-09 04:52:59',0,'AR20160900000045',0),(2312,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,350,0,0,0,'2016-09-09 04:53:52',0,'2016-09-09 04:53:52',0,'AR20160900000046',0),(2313,48,13,'',0,0,'',123,0,'OR','2016-09-09',1,1,0,'',0,0,0,350,0,0,0,'2016-09-09 05:04:04',0,'2016-09-09 05:04:04',0,'AR20160900000047',0),(2314,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,350,0,0,0,'2016-09-09 05:05:47',0,'2016-09-09 05:05:48',0,'AR20160900000048',0),(2315,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,350,0,0,0,'2016-09-09 05:07:09',0,'2016-09-09 05:07:09',0,'AR20160900000049',0),(2316,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,470,0,0,0,'2016-09-09 05:20:01',0,'2016-09-09 05:20:17',0,'AR20160900000051',0),(2317,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,420,0,0,0,'2016-09-09 07:30:17',0,'2016-09-09 07:30:53',0,'AR20160900000053',0),(2322,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 08:29:03',0,'2016-09-09 08:29:19',0,'AR20160900000062',0),(2323,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 08:38:44',0,'2016-09-09 08:39:16',0,'AR20160900000064',0),(2324,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 08:48:05',0,'2016-09-09 08:51:26',0,'AR20160900000066',0),(2325,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 08:57:56',0,'2016-09-09 09:00:49',0,'AR20160900000068',0),(2326,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 09:12:31',0,'2016-09-09 09:13:14',0,'AR20160900000069',0),(2327,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 09:24:25',0,'2016-09-09 09:25:12',0,'AR20160900000071',0),(2328,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 09:36:48',0,'2016-09-09 09:37:43',0,'AR20160900000073',0),(2329,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 09:48:34',0,'2016-09-09 09:49:27',0,'AR20160900000075',0),(2332,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,300,0,0,0,'2016-09-09 10:06:12',0,'2016-09-09 10:06:12',0,'AR20160900000078',0),(2333,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 10:07:03',0,'2016-09-09 10:07:03',0,'AR20160900000079',0),(2334,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,300,0,0,0,'2016-09-09 10:11:43',0,'2016-09-09 10:11:44',0,'AR20160900000080',0),(2335,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,300,0,0,0,'2016-09-09 10:28:23',0,'2016-09-09 10:28:24',0,'AR20160900000081',0),(2336,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 10:30:40',0,'2016-09-09 10:30:40',0,'AR20160900000082',0),(2341,52,13,'',0,0,'',122,0,'OR','2016-09-15',1,1,0,'',0,0,0,980,0,0,0,'2016-09-15 01:23:36',0,'2016-09-15 01:23:37',0,'AR20160900000087',0),(2342,53,13,'',0,0,'',122,0,'OR','2016-09-15',1,1,0,'',0,0,0,1300,0,0,0,'2016-09-15 01:24:11',0,'2016-09-15 01:24:12',0,'AR20160900000088',0),(2344,52,13,'',0,0,'',122,0,'OR','2016-09-19',1,1,0,'',0,0,0,1300,0,0,0,'2016-09-19 03:06:31',0,'2016-09-19 03:06:31',0,'AR20160900000089',0),(2340,51,13,'',0,0,'',122,0,'OR','2016-09-13',1,1,0,'',0,0,0,200,0,0,0,'2016-09-13 04:36:07',0,'2016-09-13 04:36:07',0,'AR20160900000086',0),(2345,51,13,'',0,0,'',123,0,'OR','2016-09-19',1,1,0,'',0,0,0,1300,0,0,0,'2016-09-19 03:07:54',0,'2016-09-19 03:07:54',0,'AR20160900000090',0),(2346,51,13,'',0,0,'',122,0,'OR','2016-09-19',1,1,0,'',0,0,0,4300,0,0,0,'2016-09-19 04:27:51',0,'2016-09-19 04:27:51',0,'AR20160900000091',0),(2339,50,13,'',0,0,'',122,0,'OR','2016-09-13',1,1,0,'',0,0,0,100,0,0,0,'2016-09-13 04:35:18',0,'2016-09-13 04:35:19',0,'AR20160900000085',0),(2338,49,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,500,0,0,0,'2016-09-09 10:38:55',0,'2016-09-09 10:38:55',0,'AR20160900000084',0),(2347,49,13,'',0,0,'',122,0,'OR','2016-09-19',1,1,0,'',0,0,0,540,0,0,0,'2016-09-19 04:38:16',0,'2016-09-19 04:38:16',0,'AR20160900000092',0),(2348,50,13,'',0,0,'',122,0,'OR','2016-09-19',1,1,0,'',0,0,0,540,0,0,0,'2016-09-19 04:48:13',0,'2016-09-19 04:48:13',0,'AR20160900000093',0),(2349,49,13,'',0,0,'',122,0,'OR','2016-09-19',1,1,0,'',0,0,0,540,0,0,0,'2016-09-19 04:50:47',0,'2016-09-19 04:50:48',0,'AR20160900000094',0),(2350,49,13,'',0,0,'',122,0,'OR','2016-09-19',1,1,0,'',0,0,0,5439,0,0,0,'2016-09-19 04:51:52',0,'2016-09-19 04:51:52',0,'AR20160900000095',0),(2351,49,13,'',0,0,'',122,0,'OR','2016-09-19',1,1,0,'',0,0,0,33242,0,0,0,'2016-09-19 04:56:34',0,'2016-09-19 04:56:35',0,'AR20160900000096',0),(2264,40,13,'',0,0,'',122,0,'OR','2016-09-01',1,1,0,'',0,0,0,2313,0,0,0,'2016-09-01 02:09:54',0,'2016-09-01 02:09:54',0,'AR20160900000006',0),(2265,41,13,'',0,0,'',126,0,'OR','2016-09-01',1,1,0,'',0,0,0,5233,0,0,0,'2016-09-01 02:12:35',0,'2016-09-01 02:12:36',0,'AR20160900000007',0),(2275,43,13,'',0,0,'',126,0,'OR','2016-09-04',1,1,0,'',0,0,0,900,0,0,0,'2016-09-04 10:00:51',0,'2016-09-04 10:00:51',0,'AR20160900000015',0),(2283,44,13,'',0,0,'',122,0,'OR','2016-09-07',1,1,0,'',0,0,0,3000,0,0,0,'2016-09-07 06:29:51',0,'2016-09-07 06:29:52',0,'AR20160900000017',0),(2284,45,13,'',0,0,'',126,0,'OR','2016-09-07',1,1,0,'',0,0,0,5000,0,0,0,'2016-09-07 09:33:48',0,'2016-09-07 09:33:48',0,'AR20160900000018',0),(2285,46,13,'',0,0,'',122,0,'OR','2016-09-08',1,1,0,'',0,0,0,100,0,0,0,'2016-09-08 07:20:45',0,'2016-09-08 07:20:45',0,'AR20160900000019',0),(2286,47,13,'',0,0,'',122,0,'OR','2016-09-08',1,1,0,'',0,0,0,200,0,0,0,'2016-09-08 07:22:02',0,'2016-09-08 07:22:02',0,'AR20160900000020',0),(2337,48,13,'',0,0,'',122,0,'OR','2016-09-09',1,1,0,'',0,0,0,300,0,0,0,'2016-09-09 10:38:06',0,'2016-09-09 10:38:06',0,'AR20160900000083',0),(2390,12,40,'',0,0,'',181,0,'OR','2016-09-29',1,1,0,'',0,0,0,5,0,0,0,'2016-09-29 02:19:14',0,'2016-09-29 02:19:14',0,'AR20160900000011',0),(2389,11,40,'',0,0,'',181,0,'OR','2016-09-29',1,1,0,'',0,0,0,2,0,0,0,'2016-09-29 02:18:37',0,'2016-09-29 02:18:38',0,'AR20160900000010',0),(2387,10,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,2,0,0,0,'2016-09-29 02:11:57',0,'2016-09-29 02:13:20',0,'AR20160900000009',0),(2395,17,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,934,0,0,0,'2016-09-29 02:46:12',0,'2016-09-29 02:48:33',0,'AR20160900000019',0),(2394,16,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,123,0,0,0,'2016-09-29 02:40:56',0,'2016-09-29 02:40:56',0,'AR20160900000016',0),(2393,15,40,'',0,0,'',179,0,'OR','2016-09-29',1,1,0,'',0,0,0,2,0,0,0,'2016-09-29 02:32:28',0,'2016-09-29 02:52:49',0,'AR20160900000020',0),(2392,14,40,'',0,0,'',181,0,'OR','2016-09-29',1,1,0,'',0,0,0,4545,0,0,0,'2016-09-29 02:29:54',0,'2016-09-29 02:30:31',0,'AR20160900000014',0),(2391,13,40,'',0,0,'',181,0,'OR','2016-09-29',1,1,0,'',0,0,0,258,0,0,0,'2016-09-29 02:28:12',0,'2016-09-29 02:28:12',0,'AR20160900000012',0),(2398,12,40,'hai saya fad hilmi tau ye',0,0,'',179,0,'OR','2016-10-11',1,1,0,'',0,0,0,1770,0,0,0,'2016-10-11 03:03:08',0,'2016-10-11 04:08:10',0,'AR20161000000009',0),(2397,11,40,'0',0,0,'',179,0,'OR','2016-10-11',1,1,0,'',0,0,0,980,0,0,0,'2016-10-11 02:15:33',0,'2016-10-11 02:15:34',0,'AR20161000000005',0),(2396,10,40,'',0,0,'',179,0,'OR','2016-10-11',1,1,0,'',0,0,0,800,0,0,0,'2016-10-11 01:52:28',0,'2016-10-11 01:52:29',0,'AR20161000000004',0);
/*!40000 ALTER TABLE `comp_receive_payment_others_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_others_detail`
--

DROP TABLE IF EXISTS `comp_receive_payment_others_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_others_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receivePaymentOthersID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `description` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2203 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_others_detail`
--

LOCK TABLES `comp_receive_payment_others_detail` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_others_detail` DISABLE KEYS */;
INSERT INTO `comp_receive_payment_others_detail` VALUES (1317,0,1,32526,'aa',21,0,0,0,0,0,'2015-11-27 11:13:37',0,'0000-00-00 00:00:00'),(1399,637,1,32526,'Sales 3rt week - OCt',3015,0,0,0,0,0,'2015-12-03 09:24:59',0,'0000-00-00 00:00:00'),(1401,639,1,32526,'Sales 5thweek - OCt',3200,0,0,0,0,0,'2015-12-03 09:25:53',0,'0000-00-00 00:00:00'),(1402,640,1,32526,'Sales 1st week - Nov',3150,0,0,0,0,0,'2015-12-03 09:26:58',0,'0000-00-00 00:00:00'),(1403,641,1,32526,'Sales 2nd week - Nov',3220,0,0,0,0,0,'2015-12-03 09:27:24',0,'0000-00-00 00:00:00'),(1404,642,1,32526,'Sales 3rd week - Nov',3300,0,0,0,0,0,'2015-12-03 09:27:47',0,'0000-00-00 00:00:00'),(1405,643,1,32526,'Sales 4th week - Nov',3000,0,0,0,0,0,'2015-12-03 09:28:16',0,'0000-00-00 00:00:00'),(1406,644,1,32526,'Sales 1st week - Dec',3214,0,0,0,0,0,'2015-12-03 09:29:26',0,'0000-00-00 00:00:00'),(1407,645,1,32526,'Sales 2nd week - Dec',3368,0,0,0,0,0,'2015-12-03 09:30:10',0,'0000-00-00 00:00:00'),(1408,646,1,32526,'Sales 3rd week - Dec',3123,0,0,0,0,0,'2015-12-03 09:30:39',0,'0000-00-00 00:00:00'),(1409,647,1,32526,'Sales 4th week - Dec',3215,0,0,0,0,0,'2015-12-03 09:31:03',0,'0000-00-00 00:00:00'),(1416,603,1,32526,'MInggu 3 feb',3500,0,0,0,0,0,'2015-12-08 03:30:42',0,'0000-00-00 00:00:00'),(1418,597,1,32526,'MInggu Pertama  Feb',3500,0,0,0,0,0,'2015-12-08 03:54:58',0,'0000-00-00 00:00:00'),(1419,598,1,32526,'MInggu 3 Jan',3350,0,0,0,0,0,'2015-12-08 03:55:22',0,'0000-00-00 00:00:00'),(1420,599,1,32526,'MInggu 4 Jan',3210,0,0,0,0,0,'2015-12-08 03:55:51',0,'0000-00-00 00:00:00'),(1421,600,1,32526,'MInggu 5 Jan',3150,0,0,0,0,0,'2015-12-08 03:56:17',0,'0000-00-00 00:00:00'),(1422,601,1,32526,'MInggu 1 feb',3650,0,0,0,0,0,'2015-12-08 03:56:41',0,'0000-00-00 00:00:00'),(1423,602,1,32526,'MInggu 2 feb',3150,0,0,0,0,0,'2015-12-08 03:57:03',0,'0000-00-00 00:00:00'),(1424,604,1,32526,'MInggu 4 feb',3852,0,0,0,0,0,'2015-12-08 03:57:32',0,'0000-00-00 00:00:00'),(1425,605,1,32526,'Sales 1st week- mac',3655,0,0,0,0,0,'2015-12-08 03:57:55',0,'0000-00-00 00:00:00'),(1426,606,1,32526,'Sales 2nd week- mac',3050,0,0,0,0,0,'2015-12-08 03:58:23',0,'0000-00-00 00:00:00'),(1427,607,1,32526,'Sales 3rd week- mac',3965,0,0,0,0,0,'2015-12-08 03:58:44',0,'0000-00-00 00:00:00'),(1428,608,1,32526,'Sales 4nd week- mac',3754,0,0,0,0,0,'2015-12-08 03:59:09',0,'0000-00-00 00:00:00'),(1429,609,1,32526,'Sales 1st week- apr',3350,0,0,0,0,0,'2015-12-08 03:59:41',0,'0000-00-00 00:00:00'),(1430,610,1,32526,'Sales 2nd week- apr',3840,0,0,0,0,0,'2015-12-08 04:00:06',0,'0000-00-00 00:00:00'),(1431,611,1,32526,'Sales 3rd week- apr',3812,0,0,0,0,0,'2015-12-08 04:00:32',0,'0000-00-00 00:00:00'),(1432,612,1,32526,'Sales 4th week- apr',3954,0,0,0,0,0,'2015-12-08 04:00:58',0,'0000-00-00 00:00:00'),(1433,613,1,32526,'Sales 1st week- may',3951,0,0,0,0,0,'2015-12-08 04:01:19',0,'0000-00-00 00:00:00'),(1434,614,1,32526,'Sales 2nd week- apr',3845,0,0,0,0,0,'2015-12-08 04:01:43',0,'0000-00-00 00:00:00'),(1435,615,1,32526,'Sales 3rd week- apr',3888,0,0,0,0,0,'2015-12-08 04:02:10',0,'0000-00-00 00:00:00'),(1437,616,1,32526,'Sales 4th week- apr',3841,0,0,0,0,0,'2015-12-08 04:02:42',0,'0000-00-00 00:00:00'),(1438,617,1,32526,'Sales 5th week- apr',3987,0,0,0,0,0,'2015-12-08 04:18:17',0,'0000-00-00 00:00:00'),(1439,618,1,32526,'Sales 1st week- jun',3540,0,0,0,0,0,'2015-12-08 04:18:41',0,'0000-00-00 00:00:00'),(1440,619,1,32526,'Sales 2nd week- apr',3100,0,0,0,0,0,'2015-12-08 04:19:04',0,'0000-00-00 00:00:00'),(1441,620,1,32526,'Sales 3rd week- apr',3200,0,0,0,0,0,'2015-12-08 04:19:36',0,'0000-00-00 00:00:00'),(1442,621,1,32526,'Sales 4th week- apr',3960,0,0,0,0,0,'2015-12-08 04:20:02',0,'0000-00-00 00:00:00'),(1443,622,1,32526,'Sales 1st week- jul',3410,0,0,0,0,0,'2015-12-08 04:20:27',0,'0000-00-00 00:00:00'),(1444,623,1,32526,'sales 2nd week - jul',3650,0,0,0,0,0,'2015-12-08 04:20:52',0,'0000-00-00 00:00:00'),(1445,624,1,32526,'sales 3rd week - jul',3550,0,0,0,0,0,'2015-12-08 04:21:17',0,'0000-00-00 00:00:00'),(1446,625,1,32526,'sales 4th week - jul',3450,0,0,0,0,0,'2015-12-08 04:21:39',0,'0000-00-00 00:00:00'),(1447,626,1,32526,'sales 1st week - Aug',3500,0,0,0,0,0,'2015-12-08 04:22:04',0,'0000-00-00 00:00:00'),(1448,627,1,32526,'sales 2nd week - Aug',3365,0,0,0,0,0,'2015-12-08 04:22:31',0,'0000-00-00 00:00:00'),(1449,628,1,32526,'sales 3rd week - Aug',3870,0,0,0,0,0,'2015-12-08 04:22:54',0,'0000-00-00 00:00:00'),(1450,629,1,32526,'Sales 3rd week - Aug',3253,0,0,0,0,0,'2015-12-08 04:23:16',0,'0000-00-00 00:00:00'),(1451,630,1,32526,'Sales 5th week - Aug',3640,0,0,0,0,0,'2015-12-08 04:23:37',0,'0000-00-00 00:00:00'),(1452,631,1,32526,'Sales 1st week - Sept',3850,0,0,0,0,0,'2015-12-08 04:23:58',0,'0000-00-00 00:00:00'),(1453,632,1,32526,'Sales 2nd week - Sept',3470,0,0,0,0,0,'2015-12-08 04:24:19',0,'0000-00-00 00:00:00'),(1454,633,1,32526,'Sales 3rd week - Sept',3680,0,0,0,0,0,'2015-12-08 04:24:42',0,'0000-00-00 00:00:00'),(1455,634,1,32526,'Sales 4thweek - Sept',3580,0,0,0,0,0,'2015-12-08 04:25:03',0,'0000-00-00 00:00:00'),(1456,635,1,32526,'Sales 1st week - OCt',3980,0,0,0,0,0,'2015-12-08 04:25:32',0,'0000-00-00 00:00:00'),(1457,636,1,32526,'Sales 2nd week - OCt',3680,0,0,0,0,0,'2015-12-08 04:25:56',0,'0000-00-00 00:00:00'),(1458,638,1,32526,'Sales 2nd week - OCt',3690,0,0,0,0,0,'2015-12-08 04:26:18',0,'0000-00-00 00:00:00'),(1462,596,1,32526,'MInggu Pertama Jan',3200,0,0,0,0,0,'2015-12-08 07:18:28',0,'0000-00-00 00:00:00'),(1465,648,1,32526,'tudung neelofa rrr',250,0,0,0,0,0,'2015-12-09 01:35:29',0,'0000-00-00 00:00:00'),(1466,648,2,32526,'tudung farida',750,0,0,0,0,0,'2015-12-09 01:35:29',0,'0000-00-00 00:00:00'),(1467,649,1,32526,'jual sayur',100,0,0,0,0,0,'2015-12-10 08:23:50',0,'0000-00-00 00:00:00'),(1468,650,1,32526,'jual baju ',250,0,0,0,0,0,'2015-12-10 08:29:26',0,'0000-00-00 00:00:00'),(1489,651,1,32526,'sale1',1111,0,0,0,0,0,'2016-05-30 11:04:19',0,'0000-00-00 00:00:00'),(1490,651,2,32526,'sale2',11221,0,0,0,0,0,'2016-05-30 11:04:19',0,'0000-00-00 00:00:00'),(1501,669,1,32772,'gfdg',400,0,0,0,0,0,'2016-06-13 07:51:47',0,'0000-00-00 00:00:00'),(1502,670,1,32772,'dgdf',500,0,0,0,0,0,'2016-06-13 08:03:56',0,'0000-00-00 00:00:00'),(1503,670,2,32772,'fsdf',50,0,0,0,0,0,'2016-06-13 08:03:56',0,'0000-00-00 00:00:00'),(1508,673,1,32772,'abc',12006,0,0,0,0,0,'2016-06-14 08:04:33',0,'0000-00-00 00:00:00'),(1513,676,1,32583,'buah tembikai',20,0,0,0,0,0,'2016-06-15 01:01:11',0,'0000-00-00 00:00:00'),(1514,677,1,32583,'buah isnin',25,0,0,0,0,0,'2016-06-15 01:10:42',0,'0000-00-00 00:00:00'),(1515,678,1,32583,'buah 1 jun',65,0,0,0,0,0,'2016-06-15 01:11:50',0,'0000-00-00 00:00:00'),(1516,679,1,32583,'buah 1 may',99,0,0,0,0,0,'2016-06-15 01:13:05',0,'0000-00-00 00:00:00'),(1517,680,1,32772,'Ayam Belanda',500,0,0,0,0,0,'2016-06-15 01:14:11',0,'0000-00-00 00:00:00'),(1518,681,1,32583,'buah isnin 20 jun',102,0,0,0,0,0,'2016-06-15 01:15:46',0,'0000-00-00 00:00:00'),(1520,683,1,32772,'sale today',200,0,0,0,0,0,'2016-06-21 00:48:31',0,'0000-00-00 00:00:00'),(1521,684,1,32772,'gfhfh',1000,0,0,0,0,0,'2016-06-28 06:38:28',0,'0000-00-00 00:00:00'),(1523,685,1,32835,'barang mentah',250,0,0,0,0,0,'2016-06-30 02:42:00',0,'0000-00-00 00:00:00'),(1525,686,1,32772,'Iphone 6+',3099,0,0,0,0,0,'2016-07-13 09:32:10',0,'0000-00-00 00:00:00'),(1527,687,1,32772,'shawl halfmoon - 1box 100 helai',110,0,0,0,0,0,'2016-07-29 02:54:03',0,'0000-00-00 00:00:00'),(1528,687,2,32772,'baju kurung - 1 box - 100 helai',400,0,0,0,0,0,'2016-07-29 02:54:03',0,'0000-00-00 00:00:00'),(1550,696,1,32772,'okay',200,0,0,0,0,0,'2016-08-10 05:50:51',0,'0000-00-00 00:00:00'),(1551,697,1,32772,'wow',260,0,0,0,0,0,'2016-08-10 05:51:43',0,'0000-00-00 00:00:00'),(1555,699,1,32892,'January',100,0,0,0,0,0,'2016-08-11 07:31:35',0,'0000-00-00 00:00:00'),(1573,717,1,32583,'nasik lemak',584,0,0,0,0,0,'2016-08-16 03:01:08',0,'0000-00-00 00:00:00'),(1579,719,1,33081,'goggles',300,0,0,0,0,0,'2016-08-16 03:43:11',0,'0000-00-00 00:00:00'),(1580,720,1,33081,'cermin mata murah',100,0,0,0,0,0,'2016-08-16 03:47:11',0,'0000-00-00 00:00:00'),(1585,725,1,33081,'cermin mata murah 2',100,0,0,0,0,0,'2016-08-16 06:09:10',0,'0000-00-00 00:00:00'),(1586,726,1,33081,'cermin mata mahal',300,0,0,0,0,0,'2016-08-16 06:41:09',0,'0000-00-00 00:00:00'),(1590,729,1,33144,'motor',4500,0,0,0,0,0,'2016-08-16 09:12:19',0,'0000-00-00 00:00:00'),(1592,730,1,33144,'mesin basuh',4000,0,0,0,0,0,'2016-08-16 09:16:42',0,'0000-00-00 00:00:00'),(1594,731,1,33144,'mesin rumput',4000,0,0,0,0,0,'2016-08-16 09:17:29',0,'0000-00-00 00:00:00'),(1596,732,1,33144,'ayam',20,0,0,0,0,0,'2016-08-16 09:42:28',0,'0000-00-00 00:00:00'),(1597,733,1,33081,'cermin mata paling mahal',800,0,0,0,0,0,'2016-08-17 02:01:04',0,'0000-00-00 00:00:00'),(1598,734,1,33081,'tukar cermin sahaja',40,0,0,0,0,0,'2016-08-17 02:01:52',0,'0000-00-00 00:00:00'),(1599,735,1,33081,'tukar cermin sebelah',20,0,0,0,0,0,'2016-08-17 02:05:12',0,'0000-00-00 00:00:00'),(1600,736,1,33081,'bingkai',100,0,0,0,0,0,'2016-08-17 02:12:30',0,'0000-00-00 00:00:00'),(1601,737,1,33081,'ray ban',500,0,0,0,0,0,'2016-08-17 02:13:44',0,'0000-00-00 00:00:00'),(1606,738,1,33081,'ray ban',500,0,0,0,0,0,'2016-08-17 02:26:34',0,'0000-00-00 00:00:00'),(1607,739,1,33081,'cermin murah',50,0,0,0,0,0,'2016-08-17 02:58:14',0,'0000-00-00 00:00:00'),(1608,740,1,33081,'cermin code 001',100,0,0,0,0,0,'2016-08-17 03:00:45',0,'0000-00-00 00:00:00'),(1609,741,1,33081,'cermin mata bulat',200,0,0,0,0,0,'2016-08-17 03:04:39',0,'0000-00-00 00:00:00'),(1610,742,1,33081,'cermin mata hipster',500,0,0,0,0,0,'2016-08-17 03:23:24',0,'0000-00-00 00:00:00'),(1613,744,1,33144,'sudu',1.5,0,0,0,0,0,'2016-08-17 03:32:06',0,'0000-00-00 00:00:00'),(1618,718,1,33144,'Buku',200,0,0,0,0,0,'2016-08-17 05:02:55',0,'0000-00-00 00:00:00'),(1619,718,2,33144,'Alat Tulis',120,0,0,0,0,0,'2016-08-17 05:02:55',0,'0000-00-00 00:00:00'),(1620,718,3,33144,'Printer',500,0,0,0,0,0,'2016-08-17 05:02:55',0,'0000-00-00 00:00:00'),(1732,2138,1,32582,'loan5 ke bank1 rm58',58,0,0,0,0,0,'2016-08-17 10:46:06',0,'2016-08-18 04:45:30'),(1733,2139,1,32578,'mara ke bank3 rm85',85,0,0,0,0,0,'2016-08-17 10:58:38',0,'0000-00-00 00:00:00'),(1734,2140,1,32579,'loan 2 masuk pc 2 rm99',99,0,0,0,0,0,'2016-08-17 11:03:39',0,'0000-00-00 00:00:00'),(1741,2142,1,32579,'loan 2 bank1 rm88',88,0,0,0,0,0,'2016-08-17 11:06:04',0,'0000-00-00 00:00:00'),(1742,2143,1,32579,'loan2 ke pc1',456,0,0,0,0,0,'2016-08-17 11:09:32',0,'2016-08-18 04:57:05'),(1743,2144,1,32578,'',13,0,0,0,0,0,'2016-08-17 11:14:15',0,'0000-00-00 00:00:00'),(1744,2145,1,32578,'98',89,0,0,0,0,0,'2016-08-17 11:17:44',0,'0000-00-00 00:00:00'),(1745,2146,1,32579,'',89,0,0,0,0,0,'2016-08-17 11:19:29',0,'0000-00-00 00:00:00'),(1746,2147,1,32578,'',89,0,0,0,0,0,'2016-08-17 11:23:00',0,'0000-00-00 00:00:00'),(1747,2148,1,32578,'',89,0,0,0,0,0,'2016-08-17 11:23:40',0,'0000-00-00 00:00:00'),(1748,2149,1,32578,'',89,0,0,0,0,0,'2016-08-17 11:24:40',0,'0000-00-00 00:00:00'),(1749,2150,1,32579,'',645,0,0,0,0,0,'2016-08-17 11:36:12',0,'0000-00-00 00:00:00'),(1750,2152,1,32580,'fghj',4567,0,0,0,0,0,'2016-08-17 11:47:54',0,'0000-00-00 00:00:00'),(1751,2153,1,32578,'mara ke bank2',45672,0,0,0,0,0,'2016-08-17 11:56:11',0,'2016-08-18 04:56:46'),(1752,2155,1,32580,'11',11,0,0,0,0,0,'2016-08-17 12:01:57',0,'0000-00-00 00:00:00'),(1753,2156,1,32580,'111',111,0,0,0,0,0,'2016-08-17 12:04:22',0,'0000-00-00 00:00:00'),(1754,2157,1,32580,'1111',1111,0,0,0,0,0,'2016-08-17 12:07:26',0,'0000-00-00 00:00:00'),(1755,2158,1,32580,'11111',11111,0,0,0,0,0,'2016-08-17 12:09:00',0,'0000-00-00 00:00:00'),(1756,2159,1,32580,'111111',111111,0,0,0,0,0,'2016-08-17 12:09:54',0,'0000-00-00 00:00:00'),(1757,2160,1,32580,'1111111',1111111,0,0,0,0,0,'2016-08-17 12:12:45',0,'0000-00-00 00:00:00'),(1758,2161,1,32580,'11111112',11111112,0,0,0,0,0,'2016-08-17 12:15:11',0,'0000-00-00 00:00:00'),(1759,2162,1,32580,'111111123',111111123,0,0,0,0,0,'2016-08-17 12:29:55',0,'0000-00-00 00:00:00'),(1760,2163,1,32580,'1111111234',1111111234,0,0,0,0,0,'2016-08-17 12:32:14',0,'0000-00-00 00:00:00'),(1761,2164,1,32581,'loan4 ke bank1',11111112345,0,0,0,0,0,'2016-08-17 12:33:13',0,'2016-08-18 04:55:27'),(1762,2165,1,32582,'loan5 ke bank2',111111123456,0,0,0,0,0,'2016-08-17 12:37:28',0,'2016-08-18 04:54:32'),(1798,2188,1,32526,'Item A',10000,0,0,0,0,0,'2016-08-18 01:27:58',0,'0000-00-00 00:00:00'),(1802,2190,1,33139,'testloan',20,0,0,0,0,0,'2016-08-18 05:01:21',0,'2016-08-18 05:03:29'),(1803,2191,1,33013,'loan',100,0,0,0,0,0,'2016-08-18 05:01:30',0,'0000-00-00 00:00:00'),(1804,2192,1,33133,'testloan2',20,0,0,0,0,0,'2016-08-18 05:01:50',0,'0000-00-00 00:00:00'),(1805,2193,1,33014,'loan',200,0,0,0,0,0,'2016-08-18 05:03:33',0,'0000-00-00 00:00:00'),(1806,2194,1,33133,'testloan3',30,0,0,0,0,0,'2016-08-18 05:04:04',0,'0000-00-00 00:00:00'),(1807,2195,1,32579,'loan2 ke bank3',10,0,0,0,0,0,'2016-08-18 05:05:14',0,'0000-00-00 00:00:00'),(1808,2196,1,33015,'loaniing',30,0,0,0,0,0,'2016-08-18 05:05:17',0,'0000-00-00 00:00:00'),(1809,2197,1,33071,'pinjaman ceti',100,0,0,0,0,0,'2016-08-18 05:05:55',0,'0000-00-00 00:00:00'),(1810,2198,1,33134,'testloan4',45,0,0,0,0,0,'2016-08-18 05:06:39',0,'0000-00-00 00:00:00'),(1811,2199,1,33071,'pinjaman ceti',100,0,0,0,0,0,'2016-08-18 05:06:41',0,'0000-00-00 00:00:00'),(1812,2200,1,33139,'testingloan',90,0,0,0,0,0,'2016-08-18 06:15:40',0,'0000-00-00 00:00:00'),(1814,2202,1,33077,'test search ceti',1000,0,0,0,0,0,'2016-08-18 08:25:14',0,'0000-00-00 00:00:00'),(1815,2203,1,33077,'pinjam dari ceti',200,0,0,0,0,0,'2016-08-18 09:21:16',0,'0000-00-00 00:00:00'),(1817,2205,1,32767,'Loan Bank Rakyat',10000,0,0,0,0,0,'2016-08-19 07:38:04',0,'0000-00-00 00:00:00'),(1818,2206,1,33013,'sese',100,0,0,0,0,0,'2016-08-22 02:27:50',0,'0000-00-00 00:00:00'),(1819,2207,1,32772,'sales 23/8/2016',200,0,0,0,0,0,'2016-08-23 02:41:54',0,'0000-00-00 00:00:00'),(1820,2207,2,32772,'sales kasut',200,0,0,0,0,0,'2016-08-23 02:41:54',0,'0000-00-00 00:00:00'),(1821,689,1,32583,'baju melayu',258,0,0,0,0,0,'2016-08-23 05:16:44',0,'0000-00-00 00:00:00'),(1851,2209,1,32772,'Ahfat',700,0,0,0,0,0,'2016-08-25 07:32:22',0,'0000-00-00 00:00:00'),(1853,2211,1,32526,'Item 1',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1854,2211,2,32526,'Item 2',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1855,2211,3,32526,'Item 3',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1856,2211,4,32526,'Item 5',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1857,2211,5,32526,'Item 4',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1858,2211,6,32526,'Item 6',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1859,2211,7,32526,'Item 7',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1860,2211,8,32526,'Item 8',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1861,2211,9,32526,'Item 9',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1862,2211,10,32526,'Item 10',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1863,2211,11,32526,'Item 11',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1864,2211,12,32526,'Item 12',1,0,0,0,0,0,'2016-08-26 02:09:54',0,'0000-00-00 00:00:00'),(1904,2223,1,33013,'harini try',1211,0,0,0,0,0,'2016-08-26 07:56:12',0,'0000-00-00 00:00:00'),(1908,2227,1,32767,'kikikikiki',1220,0,0,0,0,0,'2016-08-29 01:24:57',0,'2016-08-29 09:09:31'),(1925,2240,1,32772,'fghfgfh',324235,0,0,0,0,0,'2016-08-29 04:18:41',0,'0000-00-00 00:00:00'),(1929,2242,1,32772,'gafad',77,0,0,0,0,0,'2016-08-29 07:20:17',0,'0000-00-00 00:00:00'),(1932,694,1,32772,'fad',150,0,0,0,0,0,'2016-08-29 07:22:07',0,'0000-00-00 00:00:00'),(1933,694,2,32772,'ACT',77,0,0,0,0,0,'2016-08-29 07:22:07',0,'0000-00-00 00:00:00'),(1944,2247,1,33018,'29082016',200,0,0,0,0,0,'2016-08-29 08:12:44',0,'0000-00-00 00:00:00'),(1946,2248,1,33018,'29082016',10000,0,0,0,0,0,'2016-08-29 08:16:52',0,'0000-00-00 00:00:00'),(1947,2248,2,33018,'2323',1111.11,0,0,0,0,0,'2016-08-29 08:16:52',0,'0000-00-00 00:00:00'),(1948,2249,1,32772,'fad',2222,0,0,0,0,0,'2016-08-29 08:27:40',0,'0000-00-00 00:00:00'),(1955,2250,1,32772,'ewqeqwe',1111,0,0,0,0,0,'2016-08-29 09:07:53',0,'0000-00-00 00:00:00'),(1956,2253,1,32583,'Jualan keropok 29.8',120,0,0,0,0,0,'2016-08-29 09:22:00',0,'0000-00-00 00:00:00'),(1957,2246,1,33018,'29092016',100,0,0,0,0,0,'2016-08-30 02:45:56',0,'0000-00-00 00:00:00'),(1958,2254,1,32767,'dasda',21321.9,0,0,0,0,0,'2016-08-30 06:24:52',0,'0000-00-00 00:00:00'),(1964,2256,1,33018,'harini',100,0,0,0,0,0,'2016-09-01 01:28:36',0,'0000-00-00 00:00:00'),(1965,2257,1,33018,'hoii',100,0,0,0,0,0,'2016-09-01 01:31:01',0,'0000-00-00 00:00:00'),(1966,2258,1,33018,'wqw',1,0,0,0,0,0,'2016-09-01 01:31:27',0,'0000-00-00 00:00:00'),(1967,2259,1,33018,'haiii',1,0,0,0,0,0,'2016-09-01 01:32:04',0,'0000-00-00 00:00:00'),(1981,2272,1,32767,'fad',2312,0,0,0,0,0,'2016-09-02 03:58:57',0,'0000-00-00 00:00:00'),(1982,2273,1,0,'RAY BAN WAYFARER',570,0,0,0,0,0,'2016-09-04 09:21:45',0,'0000-00-00 00:00:00'),(1983,2274,1,0,'RAY BAN WAYFARER',570,0,0,0,0,0,'2016-09-04 09:22:03',0,'0000-00-00 00:00:00'),(1987,2277,1,0,'05092016',100,0,0,0,0,0,'2016-09-05 04:58:49',0,'0000-00-00 00:00:00'),(1988,2278,1,0,'05091602',200,0,0,0,0,0,'2016-09-05 04:59:45',0,'0000-00-00 00:00:00'),(1989,2279,1,0,'02091603',300,0,0,0,0,0,'2016-09-05 05:00:29',0,'0000-00-00 00:00:00'),(1992,2282,1,0,'harini2',150,0,0,0,0,0,'2016-09-05 08:14:08',0,'0000-00-00 00:00:00'),(2014,2301,1,0,'cuba',12,0,0,0,0,0,'2016-09-09 03:42:47',0,'0000-00-00 00:00:00'),(2015,2302,1,0,'cuba',12,0,0,0,0,0,'2016-09-09 03:49:55',0,'0000-00-00 00:00:00'),(2103,2343,1,32526,'Insurance ',1000,0,0,0,0,0,'2016-09-16 07:04:31',0,'0000-00-00 00:00:00'),(2112,2352,1,32772,'fadh',439,0,0,0,0,0,'2016-09-19 05:03:56',0,'0000-00-00 00:00:00'),(2113,2353,1,32526,'PS4',1399,0,0,0,0,0,'2016-09-22 07:07:21',0,'0000-00-00 00:00:00'),(2114,2354,1,32526,'XBox One S',1399,0,0,0,0,0,'2016-09-23 02:17:30',0,'0000-00-00 00:00:00'),(2115,2355,1,32522,'loan',1000000,0,0,0,0,0,'2016-09-23 03:46:43',0,'0000-00-00 00:00:00'),(2116,2356,1,33321,'KEK BATIK',1500,0,0,0,0,0,'2016-09-26 07:05:26',0,'0000-00-00 00:00:00'),(2117,2357,1,33321,'KEK PISANG',2000,0,0,0,0,0,'2016-09-26 07:07:01',0,'0000-00-00 00:00:00'),(2121,2358,1,33321,'fad',800,0,0,0,0,0,'2016-09-26 07:44:24',0,'0000-00-00 00:00:00'),(2122,2359,1,33316,'Baki Terima Loan',3000,0,0,0,0,0,'2016-09-27 01:38:05',0,'2016-09-27 01:38:28'),(2148,2360,1,33321,'KEK PANDAN',900,0,0,0,0,0,'2016-09-27 02:02:21',0,'0000-00-00 00:00:00'),(2163,2361,1,32583,'KEK LOPIS',700,0,0,0,0,0,'2016-09-27 02:08:22',0,'0000-00-00 00:00:00'),(2166,2362,1,32583,'KEK Pisang',500,0,0,0,0,0,'2016-09-27 02:09:53',0,'0000-00-00 00:00:00'),(2167,2362,2,32583,'KEK APPLE',800,0,0,0,0,0,'2016-09-27 02:09:53',0,'0000-00-00 00:00:00'),(2168,2281,1,32583,'karipap',4,0,0,0,0,0,'2016-09-27 02:10:25',0,'0000-00-00 00:00:00'),(2169,2281,2,32583,'kayu balak',33,0,0,0,0,0,'2016-09-27 02:10:25',0,'0000-00-00 00:00:00'),(2170,2281,3,32583,'ayam goreng',6,0,0,0,0,0,'2016-09-27 02:10:25',0,'0000-00-00 00:00:00'),(2171,2281,4,32583,'itik goreng',8,0,0,0,0,0,'2016-09-27 02:10:25',0,'0000-00-00 00:00:00'),(2172,2281,5,32583,'keledek goreng',12,0,0,0,0,0,'2016-09-27 02:10:25',0,'0000-00-00 00:00:00'),(2173,2363,1,33321,'KEK KELEDEK',100,0,0,0,0,0,'2016-09-27 02:11:09',0,'0000-00-00 00:00:00'),(2174,2364,1,33321,'KEK CENDAWAN',500,0,0,0,0,0,'2016-09-27 02:12:01',0,'0000-00-00 00:00:00'),(2175,2365,1,32583,'kak cendawan',234,0,0,0,0,0,'2016-09-27 02:13:07',0,'0000-00-00 00:00:00'),(2176,2366,1,32772,'fgf',200,0,0,0,0,0,'2016-09-27 02:14:29',0,'0000-00-00 00:00:00'),(2177,2367,1,33321,'Asam JeedJard',100,0,0,0,0,0,'2016-09-27 02:15:21',0,'0000-00-00 00:00:00'),(2178,2368,1,33321,'keta',50000,0,0,0,0,0,'2016-09-27 02:16:00',0,'0000-00-00 00:00:00'),(2180,2370,1,32772,'WXF307',1000,0,0,0,0,0,'2016-09-27 02:17:01',0,'0000-00-00 00:00:00'),(2181,2369,1,33321,'jhj',111,0,0,0,0,0,'2016-09-27 02:18:00',0,'0000-00-00 00:00:00'),(2183,2371,1,32772,'ASAM KEPINg',2122,0,0,0,0,0,'2016-09-27 02:19:13',0,'0000-00-00 00:00:00'),(2185,2372,1,33321,'SAMBAL HITAM',1000,0,0,0,0,0,'2016-09-27 02:20:21',0,'0000-00-00 00:00:00'),(2186,2373,1,33321,'salama',30498,0,0,0,0,0,'2016-09-27 02:20:46',0,'0000-00-00 00:00:00'),(2187,2374,1,33321,'lebihan semlana',4039,0,0,0,0,0,'2016-09-27 02:21:35',0,'0000-00-00 00:00:00'),(2188,2375,1,32583,'nasi lemak',23,0,0,0,0,0,'2016-09-27 04:40:28',0,'0000-00-00 00:00:00'),(2189,2376,1,32583,'basikal',234,0,0,0,0,0,'2016-09-27 04:42:07',0,'0000-00-00 00:00:00'),(2190,2377,1,32583,'basikal racing',456,0,0,0,0,0,'2016-09-27 04:42:52',0,'0000-00-00 00:00:00'),(2192,2378,1,33384,'IKAN PATIN TEMPOYAK',1050,0,0,0,0,0,'2016-09-29 01:16:51',0,'0000-00-00 00:00:00'),(2193,2379,1,33384,'TUNGKING GORENG',100,0,0,0,0,0,'2016-09-29 01:18:11',0,'0000-00-00 00:00:00'),(2194,2380,1,33384,'AIR LIMAU ASAM BOI',30,0,0,0,0,0,'2016-09-29 01:21:35',0,'0000-00-00 00:00:00'),(2195,2381,1,33384,'NASI AYAM',5000,0,0,0,0,0,'2016-09-29 01:32:03',0,'0000-00-00 00:00:00'),(2196,2382,1,33384,'WEDDING ARTIST',15900,0,0,0,0,0,'2016-09-29 01:32:25',0,'0000-00-00 00:00:00'),(2197,2383,1,33384,'WEDDING SI WEDDING PLANNER',29000,0,0,0,0,0,'2016-09-29 01:33:03',0,'0000-00-00 00:00:00'),(2198,2384,1,33384,'WEDDING AHMAD ZARLITH',30000,0,0,0,0,0,'2016-09-29 01:33:35',0,'0000-00-00 00:00:00'),(2199,2385,1,33384,'PAKEJ WEDDING PREMIUM',35000,0,0,0,0,0,'2016-09-29 01:34:00',0,'0000-00-00 00:00:00'),(2200,2386,1,33384,'PAKEJ WEDDING GOLD',25000,0,0,0,0,0,'2016-09-29 01:34:38',0,'0000-00-00 00:00:00'),(2202,2388,1,32772,'testing',10,0,0,0,0,0,'2016-09-29 02:12:50',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_receive_payment_others_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_receive_payment_others_detail_bak`
--

DROP TABLE IF EXISTS `comp_receive_payment_others_detail_bak`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_receive_payment_others_detail_bak` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `receivePaymentOthersID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `description` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_receive_payment_others_detail_bak`
--

LOCK TABLES `comp_receive_payment_others_detail_bak` WRITE;
/*!40000 ALTER TABLE `comp_receive_payment_others_detail_bak` DISABLE KEYS */;
INSERT INTO `comp_receive_payment_others_detail_bak` VALUES (1209,506,0,0,'tes1',11000,0,0,0,0,0,'2015-11-25 04:11:47',0,'2015-11-25 04:12:34'),(1209,506,0,0,'tes1',11000,0,0,0,0,0,'2015-11-25 04:11:47',0,'2015-11-25 04:12:34'),(1228,527,0,32526,'Row 1',100,0,0,0,0,0,'2015-11-26 09:22:40',0,'0000-00-00 00:00:00'),(1229,527,0,32526,'Row 2',2000,0,0,0,0,0,'2015-11-26 09:22:40',0,'0000-00-00 00:00:00'),(1230,528,0,32526,'sale 1',23,0,0,0,0,0,'2015-11-26 10:00:58',0,'0000-00-00 00:00:00'),(1231,528,0,32526,'sale 3 ',23546,0,0,0,0,0,'2015-11-26 10:00:58',0,'0000-00-00 00:00:00'),(1232,529,1,32526,'row 1',100,0,0,0,0,0,'2015-11-26 10:32:09',0,'0000-00-00 00:00:00'),(1233,529,2,32526,'row 2',2000,0,0,0,0,0,'2015-11-26 10:32:09',0,'0000-00-00 00:00:00'),(1234,530,1,32526,'ges 1',1212,0,0,0,0,0,'2015-11-27 01:44:34',0,'0000-00-00 00:00:00'),(1235,533,0,32526,'Nasi lemak',100,0,0,0,0,0,'2015-11-27 03:10:27',0,'0000-00-00 00:00:00'),(1236,533,0,32526,'burger',200,0,0,0,0,0,'2015-11-27 03:10:27',0,'0000-00-00 00:00:00'),(1237,533,0,32526,'roti canai',300,0,0,0,0,0,'2015-11-27 03:10:27',0,'0000-00-00 00:00:00'),(1238,533,0,32526,'mee hoon goreng',200,0,0,0,0,0,'2015-11-27 03:10:28',0,'0000-00-00 00:00:00'),(1239,533,0,32526,'air buah',150,0,0,0,0,0,'2015-11-27 03:10:28',0,'0000-00-00 00:00:00'),(1240,535,0,32526,'vnv',20,0,0,0,0,0,'2015-11-27 03:32:48',0,'0000-00-00 00:00:00'),(1241,535,0,32526,'hgh',50,0,0,0,0,0,'2015-11-27 03:32:48',0,'0000-00-00 00:00:00'),(1242,540,0,32526,'row 1',1,0,0,0,0,0,'2015-11-27 03:56:23',0,'0000-00-00 00:00:00'),(1243,540,0,32526,'row 2',2,0,0,0,0,0,'2015-11-27 03:56:23',0,'0000-00-00 00:00:00'),(1245,544,0,32526,'ASA',121,0,0,0,0,0,'2015-11-27 04:02:52',0,'0000-00-00 00:00:00'),(1335,585,1,32526,'Test',5,0,0,0,0,0,'2015-11-28 02:57:05',0,'0000-00-00 00:00:00'),(1341,589,1,32526,'ddd',2,0,0,0,0,0,'2015-12-01 05:54:56',0,'0000-00-00 00:00:00'),(1332,584,1,32526,'Jualan tudung minggu pertama',800,0,0,0,0,0,'2015-11-28 02:45:25',0,'0000-00-00 00:00:00'),(1333,584,2,32526,'Jualan seluar minggu pertama',300,0,0,0,0,0,'2015-11-28 02:45:25',0,'0000-00-00 00:00:00'),(1334,584,3,32526,'Jualan baju minggu kedua',200,0,0,0,0,0,'2015-11-28 02:45:25',0,'0000-00-00 00:00:00'),(1344,591,1,32526,'adf',23,0,0,0,0,0,'2015-12-02 09:27:17',0,'0000-00-00 00:00:00'),(1342,590,1,32526,'asdsad',33333,0,0,0,0,0,'2015-12-02 09:26:26',0,'0000-00-00 00:00:00'),(1343,590,2,32526,'qweqwe',2323,0,0,0,0,0,'2015-12-02 09:26:26',0,'0000-00-00 00:00:00'),(1336,586,1,32526,'fsdf',100,0,0,0,0,0,'2015-11-28 04:14:34',0,'0000-00-00 00:00:00'),(1352,587,1,32526,'zasa',3,0,0,0,0,0,'2015-12-03 03:41:17',0,'0000-00-00 00:00:00'),(1353,587,2,32526,'pisang',4,0,0,0,0,0,'2015-12-03 03:41:17',0,'0000-00-00 00:00:00'),(1347,588,1,32526,'test 1',1532.63,0,0,0,0,0,'2015-12-03 01:57:42',0,'0000-00-00 00:00:00'),(1348,588,2,32526,'test4',200,0,0,0,0,0,'2015-12-03 01:57:42',0,'0000-00-00 00:00:00'),(1349,588,3,32526,'test 5',600,0,0,0,0,0,'2015-12-03 01:57:42',0,'0000-00-00 00:00:00'),(1346,592,1,32526,'ttt',100000000,0,0,0,0,0,'2015-12-03 01:55:57',0,'0000-00-00 00:00:00'),(1351,593,1,32526,'jual kasut',2000,0,0,0,0,0,'2015-12-03 03:16:16',0,'0000-00-00 00:00:00'),(1354,594,1,32526,'asas',30,0,0,0,0,0,'2015-12-03 05:27:45',0,'0000-00-00 00:00:00'),(1355,595,1,32526,'koriss',30,0,0,0,0,0,'2015-12-03 05:28:57',0,'0000-00-00 00:00:00'),(1473,654,1,32526,'ayam garing',50,0,0,0,0,0,'2016-04-25 03:56:38',0,'0000-00-00 00:00:00'),(1474,654,2,32526,'ikan goreng pedah',100,0,0,0,0,0,'2016-04-25 03:56:39',0,'0000-00-00 00:00:00'),(1475,653,1,32526,'Jual ayam ',149,0,0,0,0,0,'2016-04-25 03:58:00',0,'0000-00-00 00:00:00'),(1476,655,1,32526,'Mee goreng',20,0,0,0,0,0,'2016-04-25 15:49:03',0,'0000-00-00 00:00:00'),(1477,656,1,32526,'Baju Baru',122,0,0,0,0,0,'2016-04-26 01:40:23',0,'0000-00-00 00:00:00'),(1492,662,1,32526,'pisang goreng',100,0,0,0,0,0,'2016-06-01 06:59:52',0,'0000-00-00 00:00:00'),(1495,664,1,32772,'wqeqwe',122,0,0,0,0,0,'2016-06-13 06:11:38',0,'0000-00-00 00:00:00'),(1496,665,1,32772,'aizat',123,0,0,0,0,0,'2016-06-13 06:12:20',0,'0000-00-00 00:00:00'),(1499,667,1,32772,'test',100,0,0,0,0,0,'2016-06-13 07:33:25',0,'0000-00-00 00:00:00'),(1497,666,1,32772,'fad',12,0,0,0,0,0,'2016-06-13 06:14:09',0,'0000-00-00 00:00:00'),(1498,666,2,32772,'gh',342,0,0,0,0,0,'2016-06-13 06:14:09',0,'0000-00-00 00:00:00'),(1507,672,1,32772,'fad',1,0,0,0,0,0,'2016-06-14 05:37:26',0,'0000-00-00 00:00:00'),(1493,661,1,32526,'pisang goreng',100,0,0,0,0,0,'2016-06-01 07:00:56',0,'0000-00-00 00:00:00'),(1506,668,1,32772,'fsdf',23,0,0,0,0,0,'2016-06-14 03:43:00',0,'0000-00-00 00:00:00'),(1504,671,1,32772,'123',12312312,0,0,0,0,0,'2016-06-13 08:12:00',0,'0000-00-00 00:00:00'),(1509,674,1,32772,'paper',78006,0,0,0,0,0,'2016-06-14 08:05:46',0,'0000-00-00 00:00:00'),(1542,693,1,32772,'342423423',120,0,0,0,0,0,'2016-08-09 03:27:29',0,'0000-00-00 00:00:00'),(1543,693,2,32772,'sadsdasd',77,0,0,0,0,0,'2016-08-09 03:27:29',0,'0000-00-00 00:00:00'),(1544,693,3,32772,'ewrwerwer',23424234,0,0,0,0,0,'2016-08-09 03:27:29',0,'0000-00-00 00:00:00'),(1582,722,1,33144,'kelas',200,0,0,0,0,0,'2016-08-16 03:54:57',0,'0000-00-00 00:00:00'),(1584,724,1,33144,'laptop',10000,0,0,0,0,0,'2016-08-16 03:57:15',0,'0000-00-00 00:00:00'),(1581,721,1,33144,'talk',3000,0,0,0,0,0,'2016-08-16 03:51:39',0,'0000-00-00 00:00:00'),(1583,723,1,33144,'baju',500,0,0,0,0,0,'2016-08-16 03:56:11',0,'0000-00-00 00:00:00'),(1587,727,1,33144,'Batu',2350,0,0,0,0,0,'2016-08-16 07:06:16',0,'0000-00-00 00:00:00'),(1588,728,1,33144,'tayangan',151,0,0,0,0,0,'2016-08-16 07:24:27',0,'0000-00-00 00:00:00'),(1537,691,1,32526,'Kambing 10 ekor',10000,0,0,0,0,0,'2016-08-08 09:56:51',0,'0000-00-00 00:00:00'),(1621,2119,1,32526,'1',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1622,2119,2,32526,'2',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1623,2119,3,32526,'3',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1624,2119,4,32526,'4',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1625,2119,5,32526,'5',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1626,2119,6,32526,'6',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1627,2119,7,32526,'7',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1628,2119,8,32526,'8',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1629,2119,9,32526,'9',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1630,2119,10,32526,'10',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1631,2119,11,32526,'11',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1632,2119,12,32526,'12',1,0,0,0,0,0,'2016-08-17 07:23:35',0,'0000-00-00 00:00:00'),(1681,2124,1,0,'1',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1682,2124,2,0,'2',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1683,2124,3,0,'3',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1684,2124,4,0,'4',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1685,2124,5,0,'5',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1686,2124,6,0,'6',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1687,2124,7,0,'7',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1688,2124,8,0,'8',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1689,2124,9,0,'11',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1690,2124,10,0,'12',1,0,0,0,0,0,'2016-08-17 08:18:03',0,'0000-00-00 00:00:00'),(1692,2126,1,32526,'1',1,0,0,0,0,0,'2016-08-17 08:20:06',0,'0000-00-00 00:00:00'),(1693,2126,2,32526,'2',1,0,0,0,0,0,'2016-08-17 08:20:06',0,'0000-00-00 00:00:00'),(1694,2126,3,32526,'3',1,0,0,0,0,0,'2016-08-17 08:20:06',0,'0000-00-00 00:00:00'),(1695,2126,4,32526,'4',1,0,0,0,0,0,'2016-08-17 08:20:06',0,'0000-00-00 00:00:00'),(1696,2126,5,32526,'5',1,0,0,0,0,0,'2016-08-17 08:20:06',0,'0000-00-00 00:00:00'),(1697,2126,6,32526,'6',1,0,0,0,0,0,'2016-08-17 08:20:06',0,'0000-00-00 00:00:00'),(1698,2126,7,32526,'7',1,0,0,0,0,0,'2016-08-17 08:20:06',0,'0000-00-00 00:00:00'),(1699,2126,8,32526,'8',1,0,0,0,0,0,'2016-08-17 08:20:07',0,'0000-00-00 00:00:00'),(1700,2127,1,32526,'1',1,0,0,0,0,0,'2016-08-17 08:22:17',0,'0000-00-00 00:00:00'),(1701,2127,2,32526,'2',1,0,0,0,0,0,'2016-08-17 08:22:18',0,'0000-00-00 00:00:00'),(1702,2127,3,32526,'3',1,0,0,0,0,0,'2016-08-17 08:22:18',0,'0000-00-00 00:00:00'),(1703,2127,4,32526,'4',1,0,0,0,0,0,'2016-08-17 08:22:18',0,'0000-00-00 00:00:00'),(1704,2127,5,32526,'5',1,0,0,0,0,0,'2016-08-17 08:22:18',0,'0000-00-00 00:00:00'),(1705,2127,6,32526,'6',1,0,0,0,0,0,'2016-08-17 08:22:18',0,'0000-00-00 00:00:00'),(1706,2127,7,32526,'7',1,0,0,0,0,0,'2016-08-17 08:22:18',0,'0000-00-00 00:00:00'),(1707,2127,8,32526,'8',1000,0,0,0,0,0,'2016-08-17 08:22:18',0,'0000-00-00 00:00:00'),(1708,2128,1,33018,'salikeen',10,0,0,0,0,0,'2016-08-17 08:22:38',0,'0000-00-00 00:00:00'),(1709,2128,2,33018,'salikeen',20,0,0,0,0,0,'2016-08-17 08:22:38',0,'0000-00-00 00:00:00'),(1710,2128,3,33018,'salikeen',30,0,0,0,0,0,'2016-08-17 08:22:38',0,'0000-00-00 00:00:00'),(1711,2128,4,33018,'salikeen',40,0,0,0,0,0,'2016-08-17 08:22:38',0,'0000-00-00 00:00:00'),(1679,2122,1,33018,'1',0,0,0,0,0,0,'2016-08-17 07:35:59',0,'0000-00-00 00:00:00'),(1671,2121,1,33018,'1',0,0,0,0,0,0,'2016-08-17 07:31:03',0,'0000-00-00 00:00:00'),(1672,2121,2,33018,'2',0,0,0,0,0,0,'2016-08-17 07:31:03',0,'0000-00-00 00:00:00'),(1673,2121,3,33018,'3',0,0,0,0,0,0,'2016-08-17 07:31:03',0,'0000-00-00 00:00:00'),(1674,2121,4,33018,'4',0,0,0,0,0,0,'2016-08-17 07:31:03',0,'0000-00-00 00:00:00'),(1675,2121,5,33018,'5',0,0,0,0,0,0,'2016-08-17 07:31:03',0,'0000-00-00 00:00:00'),(1676,2121,6,33018,'6',0,0,0,0,0,0,'2016-08-17 07:31:03',0,'0000-00-00 00:00:00'),(1633,2120,1,33018,'salukun',400,0,0,0,0,0,'2016-08-17 07:23:36',0,'0000-00-00 00:00:00'),(1659,2088,0,33008,'Loan1 Bank2',0,0,0,0,0,0,'2016-08-17 07:26:37',0,'0000-00-00 00:00:00'),(1564,707,1,33018,'August',800,0,0,0,0,0,'2016-08-12 07:32:10',0,'0000-00-00 00:00:00'),(1647,2025,0,33007,'received',0,0,0,0,0,0,'2016-08-17 07:26:37',0,'0000-00-00 00:00:00'),(1570,714,1,33018,'August 3',802,0,0,0,0,0,'2016-08-12 07:43:21',0,'0000-00-00 00:00:00'),(1572,716,1,33018,'ogos',300,0,0,0,0,0,'2016-08-12 08:15:52',0,'0000-00-00 00:00:00'),(1648,2037,0,33007,'cuba lagi',0,0,0,0,0,0,'2016-08-17 07:26:37',0,'0000-00-00 00:00:00'),(1614,745,1,33018,'today',100,0,0,0,0,0,'2016-08-17 03:41:35',0,'0000-00-00 00:00:00'),(1611,743,1,33018,'harinii',5000,0,0,0,0,0,'2016-08-17 03:24:32',0,'0000-00-00 00:00:00'),(1712,2129,1,33018,'salikeen',10,0,0,0,0,0,'2016-08-17 08:23:35',0,'0000-00-00 00:00:00'),(1713,2129,2,33018,'salikeen',20,0,0,0,0,0,'2016-08-17 08:23:35',0,'0000-00-00 00:00:00'),(1714,2129,3,33018,'salikeen',30,0,0,0,0,0,'2016-08-17 08:23:35',0,'0000-00-00 00:00:00'),(1715,2129,4,33018,'salikeen',40,0,0,0,0,0,'2016-08-17 08:23:35',0,'0000-00-00 00:00:00'),(1716,2130,1,33018,'salikeen',10,0,0,0,0,0,'2016-08-17 08:32:54',0,'0000-00-00 00:00:00'),(1717,2130,2,33018,'salikeen',20,0,0,0,0,0,'2016-08-17 08:32:54',0,'0000-00-00 00:00:00'),(1718,2130,3,33018,'salikeen',30,0,0,0,0,0,'2016-08-17 08:32:54',0,'0000-00-00 00:00:00'),(1719,2130,4,33018,'salikeen',40,0,0,0,0,0,'2016-08-17 08:32:54',0,'0000-00-00 00:00:00'),(1720,2131,1,33018,'salikeen',20,0,0,0,0,0,'2016-08-17 08:33:11',0,'0000-00-00 00:00:00'),(1721,2131,2,33018,'salikeen',30,0,0,0,0,0,'2016-08-17 08:33:11',0,'0000-00-00 00:00:00'),(1722,2131,3,33018,'salikeen',40,0,0,0,0,0,'2016-08-17 08:33:11',0,'0000-00-00 00:00:00'),(1723,2132,1,33018,'salikeen',20,0,0,0,0,0,'2016-08-17 08:34:19',0,'0000-00-00 00:00:00'),(1724,2132,2,33018,'salikeen',30,0,0,0,0,0,'2016-08-17 08:34:19',0,'0000-00-00 00:00:00'),(1725,2132,3,33018,'salikeen',40,0,0,0,0,0,'2016-08-17 08:34:19',0,'0000-00-00 00:00:00'),(1726,2132,4,33018,'salikeenbaru',50,0,0,0,0,0,'2016-08-17 08:34:19',0,'0000-00-00 00:00:00'),(1727,2133,1,33018,'baru',1500,0,0,0,0,0,'2016-08-17 08:35:35',0,'0000-00-00 00:00:00'),(1569,713,1,33018,'August 2',801,0,0,0,0,0,'2016-08-12 07:42:38',0,'0000-00-00 00:00:00'),(1556,700,1,33018,'January',100,0,0,0,0,0,'2016-08-11 08:56:03',0,'0000-00-00 00:00:00'),(1558,701,1,33018,'February',200,0,0,0,0,0,'2016-08-11 09:22:29',0,'0000-00-00 00:00:00'),(1559,702,1,33018,'March',300,0,0,0,0,0,'2016-08-12 07:16:02',0,'0000-00-00 00:00:00'),(1560,703,1,33018,'April',400,0,0,0,0,0,'2016-08-12 07:28:54',0,'0000-00-00 00:00:00'),(1561,704,1,33018,'May',500,0,0,0,0,0,'2016-08-12 07:29:37',0,'0000-00-00 00:00:00'),(1562,705,1,33018,'June',600,0,0,0,0,0,'2016-08-12 07:30:20',0,'0000-00-00 00:00:00'),(1563,706,1,33018,'July',700,0,0,0,0,0,'2016-08-12 07:30:45',0,'0000-00-00 00:00:00'),(1565,709,1,33018,'September',900,0,0,0,0,0,'2016-08-12 07:37:26',0,'0000-00-00 00:00:00'),(1566,710,1,33018,'October',1000,0,0,0,0,0,'2016-08-12 07:38:43',0,'0000-00-00 00:00:00'),(1567,711,1,33018,'November',1100,0,0,0,0,0,'2016-08-12 07:39:40',0,'0000-00-00 00:00:00'),(1568,712,1,33018,'December',1200,0,0,0,0,0,'2016-08-12 07:40:55',0,'0000-00-00 00:00:00'),(1471,652,1,32526,'12121',212,0,0,0,0,0,'2016-01-19 08:34:22',0,'0000-00-00 00:00:00'),(1479,657,1,32526,'Converse',239,0,0,0,0,0,'2016-04-26 02:16:25',0,'0000-00-00 00:00:00'),(1480,657,2,32526,'Vans',229,0,0,0,0,0,'2016-04-26 02:16:25',0,'0000-00-00 00:00:00'),(1483,658,1,32526,'Flannels',99,0,0,0,0,0,'2016-04-26 02:17:42',0,'0000-00-00 00:00:00'),(1484,658,2,32526,'Sweatshirt',159,0,0,0,0,0,'2016-04-26 02:17:42',0,'0000-00-00 00:00:00'),(1485,659,1,32526,'KASUT',100,0,0,0,0,0,'2016-04-27 04:59:04',0,'0000-00-00 00:00:00'),(1486,660,1,32526,'Tudung Bawal ',30,0,0,0,0,0,'2016-05-10 03:38:44',0,'0000-00-00 00:00:00'),(1487,660,2,32526,'Shawl Crepe',28.5,0,0,0,0,0,'2016-05-10 03:38:44',0,'0000-00-00 00:00:00'),(1488,660,3,32526,'Pashmina',60,0,0,0,0,0,'2016-05-10 03:38:44',0,'0000-00-00 00:00:00'),(1510,675,1,32526,'Kasut',100,0,0,0,0,0,'2016-06-14 09:18:13',0,'0000-00-00 00:00:00'),(1511,675,2,32526,'Tali Kasut',10,0,0,0,0,0,'2016-06-14 09:18:13',0,'0000-00-00 00:00:00'),(1512,675,3,32526,'Jersey',50,0,0,0,0,0,'2016-06-14 09:18:13',0,'0000-00-00 00:00:00'),(1519,682,1,32526,'Test',100,0,0,0,0,0,'2016-06-16 08:39:24',0,'0000-00-00 00:00:00'),(1538,692,1,32526,'Lembu',9000,0,0,0,0,0,'2016-08-08 10:27:01',0,'0000-00-00 00:00:00'),(1735,2141,1,32526,'Item A',8000,0,0,0,0,0,'2016-08-17 11:05:46',0,'0000-00-00 00:00:00'),(1736,2141,2,32526,'Item B',5000,0,0,0,0,0,'2016-08-17 11:05:46',0,'0000-00-00 00:00:00'),(1737,2141,3,32526,'Item C',7000,0,0,0,0,0,'2016-08-17 11:05:46',0,'0000-00-00 00:00:00'),(1738,2141,4,32526,'Item D',10000,0,0,0,0,0,'2016-08-17 11:05:46',0,'0000-00-00 00:00:00'),(1739,2141,5,32526,'Item E',5000,0,0,0,0,0,'2016-08-17 11:05:46',0,'0000-00-00 00:00:00'),(1740,2141,6,32526,'Item F',15000,0,0,0,0,0,'2016-08-17 11:05:46',0,'0000-00-00 00:00:00'),(1772,2173,1,32526,'Item A',0,0,0,0,0,0,'2016-08-17 15:13:02',0,'0000-00-00 00:00:00'),(1773,2173,2,32526,'Item B',0,0,0,0,0,0,'2016-08-17 15:13:02',0,'0000-00-00 00:00:00'),(1770,2172,1,32526,'Item A',0,0,0,0,0,0,'2016-08-17 15:11:11',0,'0000-00-00 00:00:00'),(1771,2172,2,32526,'Item B',0,0,0,0,0,0,'2016-08-17 15:11:11',0,'0000-00-00 00:00:00'),(1768,2171,1,32526,'Item A',1000,0,0,0,0,0,'2016-08-17 15:08:23',0,'0000-00-00 00:00:00'),(1769,2171,2,32526,'Item B',10.9,0,0,0,0,0,'2016-08-17 15:08:23',0,'0000-00-00 00:00:00'),(1767,2170,1,32526,'Item A',0,0,0,0,0,0,'2016-08-17 15:03:32',0,'0000-00-00 00:00:00'),(1766,2169,1,32526,'Item A',0,0,0,0,0,0,'2016-08-17 15:03:29',0,'0000-00-00 00:00:00'),(1765,2168,1,32526,'Item A',1000,0,0,0,0,0,'2016-08-17 14:51:40',0,'0000-00-00 00:00:00'),(1764,2167,1,32526,'Item A',1000,0,0,0,0,0,'2016-08-17 14:33:01',0,'0000-00-00 00:00:00'),(1763,2166,1,32526,'Item A',1234,0,0,0,0,0,'2016-08-17 13:57:39',0,'0000-00-00 00:00:00'),(1774,2174,1,32526,'Item A',1000,0,0,0,0,0,'2016-08-17 15:13:42',0,'0000-00-00 00:00:00'),(1775,2174,2,32526,'Item B',10.9,0,0,0,0,0,'2016-08-17 15:13:42',0,'0000-00-00 00:00:00'),(1786,2176,1,33018,'101',101,0,0,0,0,0,'2016-08-18 01:21:14',0,'0000-00-00 00:00:00'),(1787,2177,1,33018,'102',102,0,0,0,0,0,'2016-08-18 01:21:31',0,'0000-00-00 00:00:00'),(1796,2186,1,33018,'111',111,0,0,0,0,0,'2016-08-18 01:26:09',0,'0000-00-00 00:00:00'),(1795,2185,1,33018,'110',110,0,0,0,0,0,'2016-08-18 01:25:50',0,'0000-00-00 00:00:00'),(1794,2184,1,33018,'109',109,0,0,0,0,0,'2016-08-18 01:25:12',0,'0000-00-00 00:00:00'),(1793,2183,1,33018,'108',108,0,0,0,0,0,'2016-08-18 01:24:46',0,'0000-00-00 00:00:00'),(1792,2182,1,33018,'107',107,0,0,0,0,0,'2016-08-18 01:24:26',0,'0000-00-00 00:00:00'),(1791,2181,1,33018,'106',106,0,0,0,0,0,'2016-08-18 01:23:32',0,'0000-00-00 00:00:00'),(1790,2180,1,33018,'105',105,0,0,0,0,0,'2016-08-18 01:23:05',0,'0000-00-00 00:00:00'),(1789,2179,1,33018,'104',104,0,0,0,0,0,'2016-08-18 01:22:21',0,'0000-00-00 00:00:00'),(1788,2178,1,33018,'103',103,0,0,0,0,0,'2016-08-18 01:22:01',0,'0000-00-00 00:00:00'),(1797,2187,1,33018,'112',112,0,0,0,0,0,'2016-08-18 01:27:08',0,'0000-00-00 00:00:00'),(1785,2175,1,32526,'Item A',1999.9,0,0,0,0,0,'2016-08-17 15:35:50',0,'0000-00-00 00:00:00'),(1800,2189,1,33018,'101',101,0,0,0,0,0,'2016-08-18 01:30:04',0,'0000-00-00 00:00:00'),(1801,2189,2,33018,'102',102,0,0,0,0,0,'2016-08-18 01:30:04',0,'0000-00-00 00:00:00'),(1837,2208,1,33018,'02',2,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1838,2208,2,33018,'03',3,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1839,2208,3,33018,'04',4,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1840,2208,4,33018,'05',5,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1841,2208,5,33018,'06',6,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1842,2208,6,33018,'07',7,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1843,2208,7,33018,'08',8,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1844,2208,8,33018,'09',9,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1845,2208,9,33018,'10',10,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1846,2208,10,33018,'11',11,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1847,2208,11,33018,'12',12,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1848,2208,12,33018,'13',13,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1849,2208,13,33018,'14',14,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1850,2208,14,33018,'15',15,0,0,0,0,0,'2016-08-25 02:20:42',0,'0000-00-00 00:00:00'),(1902,2221,1,33018,'123',12345,0,0,0,0,0,'2016-08-26 07:40:53',0,'0000-00-00 00:00:00'),(1901,2220,1,33018,'11',1121,0,0,0,0,0,'2016-08-26 07:40:32',0,'0000-00-00 00:00:00'),(1900,2219,1,33018,'1000',1000,0,0,0,0,0,'2016-08-26 07:40:14',0,'0000-00-00 00:00:00'),(1899,2218,1,33018,'500',500,0,0,0,0,0,'2016-08-26 07:39:52',0,'0000-00-00 00:00:00'),(1898,2217,1,33018,'400',400,0,0,0,0,0,'2016-08-26 07:39:34',0,'0000-00-00 00:00:00'),(1897,2216,1,33018,'300',300,0,0,0,0,0,'2016-08-26 07:39:17',0,'0000-00-00 00:00:00'),(1896,2215,1,33018,'200',200,0,0,0,0,0,'2016-08-26 07:38:58',0,'0000-00-00 00:00:00'),(1895,2214,1,33018,'1',100,0,0,0,0,0,'2016-08-26 07:36:45',0,'0000-00-00 00:00:00'),(1881,2213,1,33018,'2',20,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1882,2213,2,33018,'3',30,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1883,2213,3,33018,'4',40,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1884,2213,4,33018,'5',50,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1885,2213,5,33018,'6',60,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1886,2213,6,33018,'7',70,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1887,2213,7,33018,'8',80,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1888,2213,8,33018,'9',90,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1889,2213,9,33018,'10',100,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1890,2213,10,33018,'11',110,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1891,2213,11,33018,'12',120,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1892,2213,12,33018,'13',130,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1893,2213,13,33018,'14',140,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1894,2213,14,33018,'15',150,0,0,0,0,0,'2016-08-26 07:35:58',0,'0000-00-00 00:00:00'),(1903,2222,1,33018,'1212121',91823,0,0,0,0,0,'2016-08-26 07:46:32',0,'0000-00-00 00:00:00'),(1852,2210,1,33018,'WanChai',1808,0,0,0,0,0,'2016-08-25 08:09:36',0,'0000-00-00 00:00:00'),(1905,2224,1,33018,'290816',100,0,0,0,0,0,'2016-08-29 01:14:22',0,'0000-00-00 00:00:00'),(1906,2225,1,33018,'29082016',100,0,0,0,0,0,'2016-08-29 01:16:34',0,'0000-00-00 00:00:00'),(1907,2226,1,33018,'29082016',100,0,0,0,0,0,'2016-08-29 01:17:45',0,'0000-00-00 00:00:00'),(1571,715,1,32772,'Ahfat8888',190,0,0,0,0,0,'2016-08-12 08:08:18',0,'0000-00-00 00:00:00'),(1865,2212,1,32772,'Jualan 25/8/2016-kerepek',250,0,0,0,0,0,'2016-08-26 07:32:37',0,'0000-00-00 00:00:00'),(1547,695,1,32772,'fad2',123,0,0,0,0,0,'2016-08-10 02:16:39',0,'0000-00-00 00:00:00'),(1548,695,2,32772,'fad3',124,0,0,0,0,0,'2016-08-10 02:16:39',0,'0000-00-00 00:00:00'),(1549,695,3,32772,'fad4',125,0,0,0,0,0,'2016-08-10 02:16:39',0,'0000-00-00 00:00:00'),(1554,698,1,32772,'hoi',250,0,0,0,0,0,'2016-08-10 07:17:49',0,'0000-00-00 00:00:00'),(1816,2204,1,32772,'Jualan Hari Jumaat',1000,0,0,0,0,0,'2016-08-19 07:21:59',0,'0000-00-00 00:00:00'),(1912,2229,1,32772,'fad1',1230,0,0,0,0,0,'2016-08-29 03:58:37',0,'0000-00-00 00:00:00'),(1913,2229,2,32772,'fad2',222,0,0,0,0,0,'2016-08-29 03:58:37',0,'0000-00-00 00:00:00'),(1914,2230,1,32772,'fad34',5555,0,0,0,0,0,'2016-08-29 03:59:38',0,'0000-00-00 00:00:00'),(1915,2230,2,32772,'fad45',666666,0,0,0,0,0,'2016-08-29 03:59:38',0,'0000-00-00 00:00:00'),(1813,2201,1,32772,'jual tudung',100,0,0,0,0,0,'2016-08-18 07:20:44',0,'0000-00-00 00:00:00'),(1916,2231,1,32772,'fad123',3333,0,0,0,0,0,'2016-08-29 04:03:11',0,'0000-00-00 00:00:00'),(1917,2232,1,32772,'fad44',4535,0,0,0,0,0,'2016-08-29 04:05:05',0,'0000-00-00 00:00:00'),(1918,2233,1,32772,'fad34',435235,0,0,0,0,0,'2016-08-29 04:06:24',0,'0000-00-00 00:00:00'),(1919,2234,1,32772,'hhh',53252,0,0,0,0,0,'2016-08-29 04:06:54',0,'0000-00-00 00:00:00'),(1920,2235,1,32772,'huhuhuh',32424,0,0,0,0,0,'2016-08-29 04:11:33',0,'0000-00-00 00:00:00'),(1921,2236,1,32772,'rgsgdsg',235234,0,0,0,0,0,'2016-08-29 04:11:57',0,'0000-00-00 00:00:00'),(1922,2237,1,32772,'fasdsd',23423432423,0,0,0,0,0,'2016-08-29 04:13:56',0,'0000-00-00 00:00:00'),(1923,2238,1,32772,'rgdd',34235,0,0,0,0,0,'2016-08-29 04:14:18',0,'0000-00-00 00:00:00'),(1924,2239,1,32772,'asdasd',53235,0,0,0,0,0,'2016-08-29 04:15:25',0,'0000-00-00 00:00:00'),(1536,690,1,32772,'Air',100,0,0,0,0,0,'2016-08-08 02:29:01',0,'0000-00-00 00:00:00'),(1926,2241,1,32772,'asd',324235,0,0,0,0,0,'2016-08-29 06:57:15',0,'0000-00-00 00:00:00'),(1928,2243,1,32772,'fad',100,0,0,0,0,0,'2016-08-29 07:13:27',0,'0000-00-00 00:00:00'),(1936,2228,1,33018,'harini',100,0,0,0,0,0,'2016-08-29 07:54:19',0,'0000-00-00 00:00:00'),(1938,2244,1,33018,'29082016',100,0,0,0,0,0,'2016-08-29 07:58:41',0,'0000-00-00 00:00:00'),(1939,2244,2,33018,'290820162',200,0,0,0,0,0,'2016-08-29 07:58:41',0,'0000-00-00 00:00:00'),(1941,2245,1,33018,'29082016',100,0,0,0,0,0,'2016-08-29 08:00:30',0,'0000-00-00 00:00:00'),(1942,2245,2,33018,'290820162',200,0,0,0,0,0,'2016-08-29 08:00:30',0,'0000-00-00 00:00:00'),(1952,2251,1,32767,'fadddddd',2133333,0,0,0,0,0,'2016-08-29 08:45:21',0,'2016-08-29 08:56:56'),(1953,2252,1,32772,'sfaffas',100,0,0,0,0,0,'2016-08-29 09:06:34',0,'0000-00-00 00:00:00'),(1963,2255,1,33018,'semalam',100,0,0,0,0,0,'2016-09-01 01:28:13',0,'0000-00-00 00:00:00'),(1968,2260,1,32772,'afad',123,0,0,0,0,0,'2016-09-01 01:34:14',0,'0000-00-00 00:00:00'),(1970,2261,1,32772,'fad',1234,0,0,0,0,0,'2016-09-01 01:54:35',0,'0000-00-00 00:00:00'),(1971,2262,1,0,'fad',1231,0,0,0,0,0,'2016-09-01 02:08:29',0,'0000-00-00 00:00:00'),(1972,2263,1,0,'fad',123,0,0,0,0,0,'2016-09-01 02:08:50',0,'0000-00-00 00:00:00'),(1978,2268,1,32772,'hihi',321237,0,0,0,0,0,'2016-09-02 02:23:11',0,'0000-00-00 00:00:00'),(1980,2270,1,0,'kikiki',12345,0,0,0,0,0,'2016-09-02 02:31:01',0,'0000-00-00 00:00:00'),(1975,2266,1,0,'sfasf',3434,0,0,0,0,0,'2016-09-01 09:03:01',0,'0000-00-00 00:00:00'),(1976,2267,1,0,'dsa',343,0,0,0,0,0,'2016-09-01 09:03:39',0,'0000-00-00 00:00:00'),(1979,2269,1,0,'huhuhihu',433,0,0,0,0,0,'2016-09-02 02:28:06',0,'0000-00-00 00:00:00'),(1961,688,1,32772,'seluar',1009009090,0,0,0,0,0,'2016-08-30 09:02:29',0,'0000-00-00 00:00:00'),(1962,688,2,32772,'dfsdf',32423423423,0,0,0,0,0,'2016-08-30 09:02:29',0,'0000-00-00 00:00:00'),(1985,2276,1,0,'Pakaian',900,0,0,0,0,0,'2016-09-04 10:01:20',0,'0000-00-00 00:00:00'),(1986,2276,2,0,'Tudung',500,0,0,0,0,0,'2016-09-04 10:01:20',0,'0000-00-00 00:00:00'),(1990,2280,1,0,'teai',1000,0,0,0,0,0,'2016-09-05 06:48:07',0,'0000-00-00 00:00:00'),(1998,2288,1,0,'Saya Fad',200,0,0,0,0,0,'2016-09-09 02:38:32',0,'0000-00-00 00:00:00'),(2004,2293,1,0,'huhu',3000,0,0,0,0,0,'2016-09-09 02:53:15',0,'0000-00-00 00:00:00'),(2003,2292,1,0,'huhu',3000,0,0,0,0,0,'2016-09-09 02:52:44',0,'0000-00-00 00:00:00'),(2002,2291,1,0,'huhu',3000,0,0,0,0,0,'2016-09-09 02:51:29',0,'0000-00-00 00:00:00'),(2005,2294,1,0,'huhu',3000,0,0,0,0,0,'2016-09-09 02:54:17',0,'0000-00-00 00:00:00'),(2006,2295,1,0,'huhu',3000,0,0,0,0,0,'2016-09-09 02:54:56',0,'0000-00-00 00:00:00'),(1999,2289,1,0,'Saya fad',200,0,0,0,0,0,'2016-09-09 02:39:38',0,'0000-00-00 00:00:00'),(2000,2290,1,0,'Saya fad',200,0,0,0,0,0,'2016-09-09 02:39:56',0,'0000-00-00 00:00:00'),(2001,2290,2,0,'Saya fad 2',300,0,0,0,0,0,'2016-09-09 02:39:56',0,'0000-00-00 00:00:00'),(2007,2296,1,0,'huhu',3000,0,0,0,0,0,'2016-09-09 02:55:53',0,'0000-00-00 00:00:00'),(2008,2297,1,0,'huhu',3000,0,0,0,0,0,'2016-09-09 03:06:46',0,'0000-00-00 00:00:00'),(2009,2298,1,0,'huhu',3000,0,0,0,0,0,'2016-09-09 03:08:09',0,'0000-00-00 00:00:00'),(2010,2298,2,0,'hihi',120,0,0,0,0,0,'2016-09-09 03:08:09',0,'0000-00-00 00:00:00'),(2011,2299,1,0,'huhu',300,0,0,0,0,0,'2016-09-09 03:36:49',0,'0000-00-00 00:00:00'),(2012,2300,1,0,'huhu',300,0,0,0,0,0,'2016-09-09 03:37:08',0,'0000-00-00 00:00:00'),(2013,2300,2,0,'hihi',120,0,0,0,0,0,'2016-09-09 03:37:08',0,'0000-00-00 00:00:00'),(2017,2303,1,32772,'huhu',300,0,0,0,0,0,'2016-09-09 04:10:44',0,'0000-00-00 00:00:00'),(2018,2303,2,32772,'hihi',120,0,0,0,0,0,'2016-09-09 04:10:44',0,'0000-00-00 00:00:00'),(2020,2304,1,32772,'huhu',300,0,0,0,0,0,'2016-09-09 04:17:16',0,'0000-00-00 00:00:00'),(2021,2304,2,32772,'hihi',120,0,0,0,0,0,'2016-09-09 04:17:16',0,'0000-00-00 00:00:00'),(2023,2305,1,32772,'huhu',300,0,0,0,0,0,'2016-09-09 04:20:48',0,'0000-00-00 00:00:00'),(2024,2305,2,32772,'hihi',120,0,0,0,0,0,'2016-09-09 04:20:48',0,'0000-00-00 00:00:00'),(1997,2287,1,0,'safasf',545,0,0,0,0,0,'2016-09-09 01:47:15',0,'0000-00-00 00:00:00'),(2026,2306,1,32772,'huhu',300,0,0,0,0,0,'2016-09-09 04:28:25',0,'0000-00-00 00:00:00'),(2027,2306,2,32772,'hihi',120,0,0,0,0,0,'2016-09-09 04:28:25',0,'0000-00-00 00:00:00'),(2031,2307,1,32772,'huhu',300,0,0,0,0,0,'2016-09-09 04:31:43',0,'0000-00-00 00:00:00'),(2032,2307,2,32772,'hihi',120,0,0,0,0,0,'2016-09-09 04:31:43',0,'0000-00-00 00:00:00'),(2033,2307,3,32772,'haha',100,0,0,0,0,0,'2016-09-09 04:31:43',0,'0000-00-00 00:00:00'),(2035,2308,1,32772,'hihi',300,0,0,0,0,0,'2016-09-09 04:37:33',0,'0000-00-00 00:00:00'),(2036,2308,2,32772,'huhu',120,0,0,0,0,0,'2016-09-09 04:37:33',0,'0000-00-00 00:00:00'),(2037,2309,1,32772,'huhu',300,0,0,0,0,0,'2016-09-09 04:46:08',0,'0000-00-00 00:00:00'),(2038,2310,1,32772,'huhu',300,0,0,0,0,0,'2016-09-09 04:48:21',0,'0000-00-00 00:00:00'),(2040,2311,1,32772,'huhu',350,0,0,0,0,0,'2016-09-09 04:52:59',0,'0000-00-00 00:00:00'),(2041,2312,1,32772,'hihi',350,0,0,0,0,0,'2016-09-09 04:53:52',0,'0000-00-00 00:00:00'),(2042,2313,1,32772,'hihi',350,0,0,0,0,0,'2016-09-09 05:04:04',0,'0000-00-00 00:00:00'),(2043,2314,1,32772,'hihi',350,0,0,0,0,0,'2016-09-09 05:05:48',0,'0000-00-00 00:00:00'),(2044,2315,1,32772,'hihi',350,0,0,0,0,0,'2016-09-09 05:07:09',0,'0000-00-00 00:00:00'),(2046,2316,1,32772,'hihi',350,0,0,0,0,0,'2016-09-09 05:20:16',0,'0000-00-00 00:00:00'),(2047,2316,2,32772,'huhu',120,0,0,0,0,0,'2016-09-09 05:20:16',0,'0000-00-00 00:00:00'),(2049,2317,1,32772,'hihi',300,0,0,0,0,0,'2016-09-09 07:30:52',0,'0000-00-00 00:00:00'),(2050,2317,2,32772,'huhu',120,0,0,0,0,0,'2016-09-09 07:30:52',0,'0000-00-00 00:00:00'),(2062,2322,1,32772,'Ahfat1',200,0,0,0,0,0,'2016-09-09 08:29:19',0,'0000-00-00 00:00:00'),(2063,2322,2,32772,'Ahfat2',300,0,0,0,0,0,'2016-09-09 08:29:19',0,'0000-00-00 00:00:00'),(2065,2323,1,32772,'Ahfat1',200,0,0,0,0,0,'2016-09-09 08:39:16',0,'0000-00-00 00:00:00'),(2066,2323,2,32772,'Ahfat2',300,0,0,0,0,0,'2016-09-09 08:39:16',0,'0000-00-00 00:00:00'),(2068,2324,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 08:51:26',0,'0000-00-00 00:00:00'),(2069,2324,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 08:51:26',0,'0000-00-00 00:00:00'),(2071,2325,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 09:00:49',0,'0000-00-00 00:00:00'),(2072,2325,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 09:00:49',0,'0000-00-00 00:00:00'),(2074,2326,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 09:13:14',0,'0000-00-00 00:00:00'),(2075,2326,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 09:13:14',0,'0000-00-00 00:00:00'),(2077,2327,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 09:25:12',0,'0000-00-00 00:00:00'),(2078,2327,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 09:25:12',0,'0000-00-00 00:00:00'),(2080,2328,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 09:37:42',0,'0000-00-00 00:00:00'),(2081,2328,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 09:37:42',0,'0000-00-00 00:00:00'),(2083,2329,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 09:49:27',0,'0000-00-00 00:00:00'),(2084,2329,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 09:49:27',0,'0000-00-00 00:00:00'),(2088,2332,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 10:06:12',0,'0000-00-00 00:00:00'),(2089,2333,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 10:07:03',0,'0000-00-00 00:00:00'),(2090,2333,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 10:07:03',0,'0000-00-00 00:00:00'),(2091,2334,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 10:11:44',0,'0000-00-00 00:00:00'),(2092,2335,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 10:28:23',0,'0000-00-00 00:00:00'),(2093,2336,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 10:30:40',0,'0000-00-00 00:00:00'),(2094,2336,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 10:30:40',0,'0000-00-00 00:00:00'),(2100,2341,1,32772,'fadhirul',980,0,0,0,0,0,'2016-09-15 01:23:36',0,'0000-00-00 00:00:00'),(2101,2342,1,32772,'fadhirul',980,0,0,0,0,0,'2016-09-15 01:24:12',0,'0000-00-00 00:00:00'),(2102,2342,2,32772,'fadhirul2',320,0,0,0,0,0,'2016-09-15 01:24:12',0,'0000-00-00 00:00:00'),(2104,2344,1,32772,'fadh',1300,0,0,0,0,0,'2016-09-19 03:06:31',0,'0000-00-00 00:00:00'),(2099,2340,1,32772,'2nd',200,0,0,0,0,0,'2016-09-13 04:36:07',0,'0000-00-00 00:00:00'),(2105,2345,1,32772,'fadh',1300,0,0,0,0,0,'2016-09-19 03:07:54',0,'0000-00-00 00:00:00'),(2106,2346,1,32772,'fadh',4300,0,0,0,0,0,'2016-09-19 04:27:51',0,'0000-00-00 00:00:00'),(2098,2339,1,32772,'1st',100,0,0,0,0,0,'2016-09-13 04:35:18',0,'0000-00-00 00:00:00'),(2096,2338,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 10:38:55',0,'0000-00-00 00:00:00'),(2097,2338,2,32772,'Ahfat2',200,0,0,0,0,0,'2016-09-09 10:38:55',0,'0000-00-00 00:00:00'),(2107,2347,1,32772,'fadh',540,0,0,0,0,0,'2016-09-19 04:38:16',0,'0000-00-00 00:00:00'),(2108,2348,1,32772,'fadh',540,0,0,0,0,0,'2016-09-19 04:48:13',0,'0000-00-00 00:00:00'),(2109,2349,1,32772,'fadh',540,0,0,0,0,0,'2016-09-19 04:50:47',0,'0000-00-00 00:00:00'),(2110,2350,1,32772,'fadh',5439,0,0,0,0,0,'2016-09-19 04:51:52',0,'0000-00-00 00:00:00'),(2111,2351,1,32772,'fadh',33242,0,0,0,0,0,'2016-09-19 04:56:34',0,'0000-00-00 00:00:00'),(1973,2264,1,0,'fad',2313,0,0,0,0,0,'2016-09-01 02:09:54',0,'0000-00-00 00:00:00'),(1974,2265,1,0,'fadd',5233,0,0,0,0,0,'2016-09-01 02:12:35',0,'0000-00-00 00:00:00'),(1984,2275,1,0,'Pakaian',900,0,0,0,0,0,'2016-09-04 10:00:51',0,'0000-00-00 00:00:00'),(1993,2283,1,0,'Furniture',3000,0,0,0,0,0,'2016-09-07 06:29:51',0,'0000-00-00 00:00:00'),(1994,2284,1,0,'Jualan 7/9/1016',5000,0,0,0,0,0,'2016-09-07 09:33:48',0,'0000-00-00 00:00:00'),(1995,2285,1,0,'harini',100,0,0,0,0,0,'2016-09-08 07:20:45',0,'0000-00-00 00:00:00'),(1996,2286,1,0,'harini',200,0,0,0,0,0,'2016-09-08 07:22:02',0,'0000-00-00 00:00:00'),(2095,2337,1,32772,'Ahfat1',300,0,0,0,0,0,'2016-09-09 10:38:06',0,'0000-00-00 00:00:00'),(2205,2390,1,33384,'air sirap',5,0,0,0,0,0,'2016-09-29 02:19:14',0,'0000-00-00 00:00:00'),(2204,2389,1,33384,'air batu',2,0,0,0,0,0,'2016-09-29 02:18:38',0,'0000-00-00 00:00:00'),(2203,2387,1,33384,'TEST',2,0,0,0,0,0,'2016-09-29 02:13:20',0,'0000-00-00 00:00:00'),(2215,2395,1,33384,'145',145,0,0,0,0,0,'2016-09-29 02:48:33',0,'0000-00-00 00:00:00'),(2216,2395,2,33384,'789',789,0,0,0,0,0,'2016-09-29 02:48:33',0,'0000-00-00 00:00:00'),(2211,2394,1,33384,'123',123,0,0,0,0,0,'2016-09-29 02:40:56',0,'0000-00-00 00:00:00'),(2217,2393,1,33384,'jgn buat hal',2,0,0,0,0,0,'2016-09-29 02:52:49',0,'0000-00-00 00:00:00'),(2208,2392,1,33384,'lembu',3555,0,0,0,0,0,'2016-09-29 02:30:31',0,'0000-00-00 00:00:00'),(2209,2392,2,33384,'kambing',990,0,0,0,0,0,'2016-09-29 02:30:31',0,'0000-00-00 00:00:00'),(2206,2391,1,33384,'mangkuk',258,0,0,0,0,0,'2016-09-29 02:28:12',0,'0000-00-00 00:00:00'),(2214,2398,1,33384,'garfield',570,0,0,0,0,0,'2016-10-11 04:08:10',0,'0000-00-00 00:00:00'),(2215,2398,2,33384,'garfield2',300,0,0,0,0,0,'2016-10-11 04:08:10',0,'0000-00-00 00:00:00'),(2216,2398,3,33384,'garfield3',900,0,0,0,0,0,'2016-10-11 04:08:10',0,'0000-00-00 00:00:00'),(2205,2397,1,33384,'mortal combat',500,0,0,0,0,0,'2016-10-11 02:15:33',0,'0000-00-00 00:00:00'),(2206,2397,2,33384,'mortal combat 2',480,0,0,0,0,0,'2016-10-11 02:15:33',0,'0000-00-00 00:00:00'),(2203,2396,1,33384,'11/10/2016-fad',200,0,0,0,0,0,'2016-10-11 01:52:28',0,'0000-00-00 00:00:00'),(2204,2396,2,33384,'11/10/2016-fad2',600,0,0,0,0,0,'2016-10-11 01:52:28',0,'0000-00-00 00:00:00');
/*!40000 ALTER TABLE `comp_receive_payment_others_detail_bak` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_agent`
--

DROP TABLE IF EXISTS `comp_sales_agent`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_agent` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `agentCode` varchar(32) NOT NULL,
  `agentName` varchar(128) NOT NULL,
  `position` varchar(32) NOT NULL,
  `telOffice` varchar(32) NOT NULL,
  `telHp` varchar(32) NOT NULL,
  `email` varchar(64) NOT NULL,
  `commisionRate` double NOT NULL,
  `remarks` text NOT NULL,
  `createdID` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_agent`
--

LOCK TABLES `comp_sales_agent` WRITE;
/*!40000 ALTER TABLE `comp_sales_agent` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_agent` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_bad_debt`
--

DROP TABLE IF EXISTS `comp_sales_bad_debt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_bad_debt` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `custID` int(11) NOT NULL,
  `valueBadDebt` double NOT NULL,
  `gstBadDebt` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_bad_debt`
--

LOCK TABLES `comp_sales_bad_debt` WRITE;
/*!40000 ALTER TABLE `comp_sales_bad_debt` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_bad_debt` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_creditnote`
--

DROP TABLE IF EXISTS `comp_sales_creditnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `creditNoteDate` date NOT NULL,
  `salesInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_creditnote`
--

LOCK TABLES `comp_sales_creditnote` WRITE;
/*!40000 ALTER TABLE `comp_sales_creditnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_creditnote` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_scn_add_serialNo` BEFORE INSERT ON `comp_sales_creditnote`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_sales_creditnote

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_sales_creditnote_charges`
--

DROP TABLE IF EXISTS `comp_sales_creditnote_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_creditnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_creditnote_charges`
--

LOCK TABLES `comp_sales_creditnote_charges` WRITE;
/*!40000 ALTER TABLE `comp_sales_creditnote_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_creditnote_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_creditnote_detail`
--

DROP TABLE IF EXISTS `comp_sales_creditnote_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_creditnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_creditnote_detail`
--

LOCK TABLES `comp_sales_creditnote_detail` WRITE;
/*!40000 ALTER TABLE `comp_sales_creditnote_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_creditnote_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_debitnote`
--

DROP TABLE IF EXISTS `comp_sales_debitnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `debitNoteDate` date NOT NULL,
  `salesInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_debitnote`
--

LOCK TABLES `comp_sales_debitnote` WRITE;
/*!40000 ALTER TABLE `comp_sales_debitnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_debitnote` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_sdn_add_serialNo` BEFORE INSERT ON `comp_sales_debitnote`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_sales_debitnote

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_sales_debitnote_charges`
--

DROP TABLE IF EXISTS `comp_sales_debitnote_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_debitnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_debitnote_charges`
--

LOCK TABLES `comp_sales_debitnote_charges` WRITE;
/*!40000 ALTER TABLE `comp_sales_debitnote_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_debitnote_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_debitnote_detail`
--

DROP TABLE IF EXISTS `comp_sales_debitnote_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_debitnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_debitnote_detail`
--

LOCK TABLES `comp_sales_debitnote_detail` WRITE;
/*!40000 ALTER TABLE `comp_sales_debitnote_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_debitnote_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_debt_recover`
--

DROP TABLE IF EXISTS `comp_sales_debt_recover`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_debt_recover` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `custID` int(11) NOT NULL,
  `valueDebtRecover` double NOT NULL,
  `gstDebtRecover` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_debt_recover`
--

LOCK TABLES `comp_sales_debt_recover` WRITE;
/*!40000 ALTER TABLE `comp_sales_debt_recover` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_debt_recover` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_detail`
--

DROP TABLE IF EXISTS `comp_sales_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `salesID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `description` varchar(200) DEFAULT NULL,
  `unitPrice` double DEFAULT NULL,
  `unitmeasure` int(11) DEFAULT NULL,
  `umID` int(11) NOT NULL,
  `standUM` int(11) NOT NULL,
  `quantityOrder` double DEFAULT NULL,
  `quantityShip` double DEFAULT '0',
  `amount` double DEFAULT NULL,
  `requiredDate` date DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_detail`
--

LOCK TABLES `comp_sales_detail` WRITE;
/*!40000 ALTER TABLE `comp_sales_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_invoice`
--

DROP TABLE IF EXISTS `comp_sales_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `invoiceCodeID` int(11) NOT NULL COMMENT '1=sales inv, 2=direct sales inv,  3=debitNote, 4=creditNte',
  `salesID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `customerPoNo` varchar(32) NOT NULL,
  `locationID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `shipToID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `printInInvoice` smallint(6) NOT NULL DEFAULT '0',
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `showSaleAgent` tinyint(4) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `totalamount` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `salesOrderID` int(11) DEFAULT NULL,
  `badDebtID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_invoice`
--

LOCK TABLES `comp_sales_invoice` WRITE;
/*!40000 ALTER TABLE `comp_sales_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_invoice` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trir_befor_inser_SI` BEFORE INSERT ON `comp_sales_invoice`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_sales_invoice

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_sales_invoice_charges`
--

DROP TABLE IF EXISTS `comp_sales_invoice_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_invoice_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `invoice` (`invoiceID`),
  KEY `tax` (`taxID`),
  KEY `accountID` (`accountNoID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_invoice_charges`
--

LOCK TABLES `comp_sales_invoice_charges` WRITE;
/*!40000 ALTER TABLE `comp_sales_invoice_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_invoice_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_invoice_detail`
--

DROP TABLE IF EXISTS `comp_sales_invoice_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_invoice_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `doID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemdescription` varchar(128) NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`),
  KEY `item` (`itemID`),
  KEY `tax` (`taxID`),
  KEY `invoice` (`invoiceID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_invoice_detail`
--

LOCK TABLES `comp_sales_invoice_detail` WRITE;
/*!40000 ALTER TABLE `comp_sales_invoice_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_invoice_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_sales_order`
--

DROP TABLE IF EXISTS `comp_sales_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_order` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(16) NOT NULL,
  `companyID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL,
  `customerID` int(11) DEFAULT NULL,
  `OrderNo` varchar(32) DEFAULT NULL,
  `formNo` varchar(32) DEFAULT NULL,
  `currencyID` int(11) DEFAULT NULL,
  `exchangeRate` double DEFAULT '1',
  `salesOrderDate` date DEFAULT NULL,
  `dateRequired` date DEFAULT NULL,
  `deliveryToID` int(11) DEFAULT NULL,
  `salesPerson` int(11) DEFAULT NULL,
  `memo` varchar(128) DEFAULT NULL,
  `supplierID` int(11) DEFAULT NULL,
  `totalAmount` double DEFAULT NULL,
  `totalReceivable` double DEFAULT NULL,
  `status` tinyint(1) DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_order`
--

LOCK TABLES `comp_sales_order` WRITE;
/*!40000 ALTER TABLE `comp_sales_order` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_order` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `Addserialsaleorder` BEFORE INSERT ON `comp_sales_order`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_sales_order

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_sales_price`
--

DROP TABLE IF EXISTS `comp_sales_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_sales_price` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  `price` double NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_sales_price`
--

LOCK TABLES `comp_sales_price` WRITE;
/*!40000 ALTER TABLE `comp_sales_price` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_sales_price` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_section`
--

DROP TABLE IF EXISTS `comp_section`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_section` (
  `fldid` int(11) NOT NULL DEFAULT '0',
  `code` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `department` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `section_head` varchar(50) CHARACTER SET utf8 DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_section`
--

LOCK TABLES `comp_section` WRITE;
/*!40000 ALTER TABLE `comp_section` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_section` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_so_seq`
--

DROP TABLE IF EXISTS `comp_so_seq`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_so_seq` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `compID` int(11) DEFAULT NULL,
  `moduleID` int(11) DEFAULT NULL,
  `initial` varchar(2) CHARACTER SET utf8 DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `period` int(2) DEFAULT NULL,
  `seqNo` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_so_seq`
--

LOCK TABLES `comp_so_seq` WRITE;
/*!40000 ALTER TABLE `comp_so_seq` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_so_seq` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_closing`
--

DROP TABLE IF EXISTS `comp_supplier_closing`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_closing` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `yearMonth` varchar(6) NOT NULL,
  `openBalance` double NOT NULL,
  `totalDr` double NOT NULL,
  `totalCr` double NOT NULL,
  `balance` double NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `companyID` (`companyID`,`supplierID`,`yearMonth`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_closing`
--

LOCK TABLES `comp_supplier_closing` WRITE;
/*!40000 ALTER TABLE `comp_supplier_closing` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_closing` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_closing_daily`
--

DROP TABLE IF EXISTS `comp_supplier_closing_daily`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_closing_daily` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `transDate` date NOT NULL,
  `openBalance` double NOT NULL,
  `totalDr` double NOT NULL,
  `totalCr` double NOT NULL,
  `balance` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_closing_daily`
--

LOCK TABLES `comp_supplier_closing_daily` WRITE;
/*!40000 ALTER TABLE `comp_supplier_closing_daily` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_closing_daily` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_creditnote`
--

DROP TABLE IF EXISTS `comp_supplier_creditnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `creditNoteDate` date NOT NULL,
  `supplierInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_creditnote`
--

LOCK TABLES `comp_supplier_creditnote` WRITE;
/*!40000 ALTER TABLE `comp_supplier_creditnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_creditnote` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_scno_add_serialNo` BEFORE INSERT ON `comp_supplier_creditnote`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_supplier_creditnote

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_supplier_creditnote_charges`
--

DROP TABLE IF EXISTS `comp_supplier_creditnote_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_creditnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_creditnote_charges`
--

LOCK TABLES `comp_supplier_creditnote_charges` WRITE;
/*!40000 ALTER TABLE `comp_supplier_creditnote_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_creditnote_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_creditnote_detail`
--

DROP TABLE IF EXISTS `comp_supplier_creditnote_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_creditnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_creditnote_detail`
--

LOCK TABLES `comp_supplier_creditnote_detail` WRITE;
/*!40000 ALTER TABLE `comp_supplier_creditnote_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_creditnote_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_debitnote`
--

DROP TABLE IF EXISTS `comp_supplier_debitnote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `debitNoteDate` date NOT NULL,
  `supplierInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_debitnote`
--

LOCK TABLES `comp_supplier_debitnote` WRITE;
/*!40000 ALTER TABLE `comp_supplier_debitnote` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_debitnote` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_sdno_add_serialNo` BEFORE INSERT ON `comp_supplier_debitnote`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_supplier_debitnote

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_supplier_debitnote_charges`
--

DROP TABLE IF EXISTS `comp_supplier_debitnote_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_debitnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_debitnote_charges`
--

LOCK TABLES `comp_supplier_debitnote_charges` WRITE;
/*!40000 ALTER TABLE `comp_supplier_debitnote_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_debitnote_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_debitnote_detail`
--

DROP TABLE IF EXISTS `comp_supplier_debitnote_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_debitnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_debitnote_detail`
--

LOCK TABLES `comp_supplier_debitnote_detail` WRITE;
/*!40000 ALTER TABLE `comp_supplier_debitnote_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_debitnote_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_invoice`
--

DROP TABLE IF EXISTS `comp_supplier_invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `purchaseInvoiceCodeID` int(11) NOT NULL COMMENT '1=puchase inv, 2=direct purch inv, 3=debit note, 4=credit note',
  `purchaserID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `invoiceDate` date NOT NULL,
  `supplierInvoiceNo` varchar(32) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `shipToID` int(11) NOT NULL,
  `locationID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` double NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `badDebtID` varchar(11) NOT NULL,
  `invoiceType` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `supplier` (`ID`,`supplierID`,`updateAble`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_invoice`
--

LOCK TABLES `comp_supplier_invoice` WRITE;
/*!40000 ALTER TABLE `comp_supplier_invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_invoice` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_supinv_add_serialNo` BEFORE INSERT ON `comp_supplier_invoice`
 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_comp_supplier_invoice 

			   where companyID = new.companyID) */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `comp_supplier_invoice_charges`
--

DROP TABLE IF EXISTS `comp_supplier_invoice_charges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_invoice_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_invoice_charges`
--

LOCK TABLES `comp_supplier_invoice_charges` WRITE;
/*!40000 ALTER TABLE `comp_supplier_invoice_charges` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_invoice_charges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_invoice_detail`
--

DROP TABLE IF EXISTS `comp_supplier_invoice_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_invoice_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `receiveID` int(11) NOT NULL COMMENT 'Is used for receive detail id instead of receive ID',
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_invoice_detail`
--

LOCK TABLES `comp_supplier_invoice_detail` WRITE;
/*!40000 ALTER TABLE `comp_supplier_invoice_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_invoice_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_supplier_statement`
--

DROP TABLE IF EXISTS `comp_supplier_statement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_supplier_statement` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debit` double NOT NULL,
  `credit` double NOT NULL,
  `balance` double NOT NULL,
  `supplierCode` int(11) NOT NULL,
  `supplierName` varchar(16) NOT NULL,
  `description` varchar(255) NOT NULL,
  `referenceNo` varchar(5) NOT NULL,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_supplier_statement`
--

LOCK TABLES `comp_supplier_statement` WRITE;
/*!40000 ALTER TABLE `comp_supplier_statement` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_supplier_statement` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comp_unpresented_check`
--

DROP TABLE IF EXISTS `comp_unpresented_check`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comp_unpresented_check` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `transDate` date NOT NULL,
  `transNo` varchar(255) NOT NULL,
  `desc` text NOT NULL,
  `referenceNo` varchar(255) NOT NULL,
  `bankID` int(11) NOT NULL,
  `debit` double NOT NULL,
  `credit` double NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  `is_delete` int(11) NOT NULL DEFAULT '0',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) DEFAULT NULL,
  `updateTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comp_unpresented_check`
--

LOCK TABLES `comp_unpresented_check` WRITE;
/*!40000 ALTER TABLE `comp_unpresented_check` DISABLE KEYS */;
/*!40000 ALTER TABLE `comp_unpresented_check` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `company`
--

DROP TABLE IF EXISTS `company`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `company` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyName` varchar(128) NOT NULL,
  `webPageName` varchar(128) NOT NULL,
  `companyNo` varchar(16) NOT NULL,
  `incorporateDate` date NOT NULL,
  `businessTypeID` int(11) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `companyPostCode` varchar(8) NOT NULL,
  `companyStateID` int(11) NOT NULL,
  `phoneNo` varchar(16) NOT NULL,
  `faxNo` varchar(16) NOT NULL,
  `email` varchar(32) NOT NULL,
  `website` varchar(32) NOT NULL,
  `uploadLogo` varchar(64) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `languageID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `muslimShareholder` double NOT NULL,
  `gstRegisteredNo` varchar(16) NOT NULL,
  `gstRegisteredDate` date DEFAULT NULL,
  `gstSubmissionBuffer` int(16) NOT NULL,
  `taxablePeriod` smallint(6) NOT NULL,
  `masterMSIC` int(12) NOT NULL,
  `dateFormat` int(16) NOT NULL DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  `keyCode` varchar(128) NOT NULL,
  `parlimenID` int(11) NOT NULL,
  `businessIndustryID` int(11) NOT NULL,
  `userID` int(11) NOT NULL,
  `database` varchar(64) NOT NULL,
  `server` varchar(64) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `company`
--

LOCK TABLES `company` WRITE;
/*!40000 ALTER TABLE `company` DISABLE KEYS */;
INSERT INTO `company` VALUES (1,'Demo Demo Demo Sdn Bhd','demo1','demo','2015-01-01',8,'demo demo demo demo','off jalan line 3','main road jalan 3,','Bt Caves','68100',1922,'603-6185997012','603-61857788','puterakatak29@gmail.com','0','1.JPG',1,0,458,12,'012345678901','2014-12-05',6,0,0,1,0,'2014-04-23 20:32:22',0,'2016-09-21 10:33:05',0,'',5,2,0,'',''),(3,'Ahmed ENT','','','2016-01-01',9,'sfffsfsafsa','asfasfasfa','asfasfasfa','asfasfasfa','asfasfas',1934,'4234321','34234234','phoe_nix291@yahoo.com','','7.png',1,0,4,0,'',NULL,0,0,0,1,0,'0000-00-00 00:00:00',0,'2016-08-10 07:23:16',0,'',0,2,0,'',''),(4,'Yusuf ENT','','','0000-00-00',0,'sadasdasd','asdasdasdasd','','','',0,'','','','','7.png',1,0,0,0,'',NULL,0,0,0,1,0,'0000-00-00 00:00:00',0,'2016-06-21 00:51:32',0,'',0,0,0,'',''),(7,'ALI ENT','','','1970-01-01',11,'kl sentralA','klA','A','bangsarA','59100121',1928,'016990876812121','0355287498','izuwanA@gmail.com','','7.png',1,0,32,0,'',NULL,0,0,0,1,0,'0000-00-00 00:00:00',0,'2016-07-25 05:03:13',0,'',0,3,0,'',''),(9,'ABC ENT','','','0000-00-00',0,'suite 2A-1','LEVEL 2A','PLAZA KL GOMBAK ','gombak','68100',1933,'03-61888000','03-61888111','beez@gmai.com','','7.png',1,0,458,0,'',NULL,0,0,0,1,0,'0000-00-00 00:00:00',0,'2016-06-21 00:51:38',0,'',0,0,0,'',''),(10,'ABU ENT','','','0000-00-00',0,'Gombak','Gombak','Gombak','Gombak','16100',1933,'019999999','099999999','faridfirdauszukpeli@gmail.com','','7.png',1,0,458,0,'',NULL,0,0,0,1,0,'0000-00-00 00:00:00',0,'2016-06-21 00:51:42',0,'',0,0,0,'',''),(12,'kedai-e.net','akmal','','2016-01-01',2,'no 16 jalan 9/12','taman 13','bandar 14','btcaves','123',1928,'123','123','farhana@salihin.com.my','','12.JPG',1,0,458,0,'',NULL,0,0,0,1,0,'0000-00-00 00:00:00',0,'2016-09-26 05:00:54',0,'',4,2,0,'',''),(13,'Aizat Demo Sdn Bhd','aizat','','2016-08-10',12,'No 1 jln 177','2/9','sri gombak','Bt Caves','68100',1931,'01222665578','01234','hihi@yahoo.com','','13.JPG',1,0,458,0,'',NULL,0,0,0,1,0,'2016-06-13 04:00:16',0,'2016-09-23 09:37:38',0,'',99,3,0,'',''),(14,'Hijrah Demo','hij','','2015-01-01',13,'No, 5432','','Gombak','Gombak','45555',1931,'361855444','+60361855444','amin@supplier02.com','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-06-28 06:49:41',0,'2016-09-21 07:48:59',0,'',110,3,0,'',''),(15,'farhana testing','','','2016-09-21',3,'555, Jalan Samudera Utara 1','Taman Samudera','','Batu Caves','68100',1931,'603 - 61859970','603 - 61842524','farhana@salihin.com.my','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-06-30 01:39:17',0,'2016-09-21 06:46:19',0,'',99,2,0,'',''),(16,'FadTesting','','','0000-00-00',0,'No 1','No 1','No 1','Bt Caves','19800',1922,'01234','01234','melur@gmail.com','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-07-01 04:19:57',0,'0000-00-00 00:00:00',0,'',5,0,0,'',''),(17,'testingdemo','','','0000-00-00',0,'','','','','',0,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-07-01 04:22:48',0,'0000-00-00 00:00:00',0,'',0,0,0,'',''),(18,'fanatestingpadamdelete','','','0000-00-00',0,'','','','','',0,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-08-05 12:02:02',0,'0000-00-00 00:00:00',0,'',0,0,0,'',''),(19,'','','','0000-00-00',0,'','','','','',0,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-08-05 12:04:11',0,'0000-00-00 00:00:00',0,'',0,0,0,'',''),(20,'fanatestingpadamdelete','','','1970-01-01',3,'','','','','',0,'','','','','',1,0,0,0,'',NULL,0,0,0,1,0,'2016-08-05 12:23:27',0,'2016-08-24 08:30:59',0,'',0,2,0,'',''),(21,'Pokemon Go Sdn. Bhd.','','','2016-01-01',11,'LOT 5555','','BATU CAVES','BATU CAVES','53100',1931,'01190902134','','','','21.JPG',1,0,458,0,'',NULL,0,0,0,1,0,'2016-08-10 03:08:33',0,'2016-08-16 08:01:06',0,'',99,3,0,'',''),(22,'Ahfat77','','','0000-00-00',0,'fad','fad','fad','Bt Caves','68100',1921,'012345','012345','fad@gmail.com','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-08-11 03:12:19',0,'0000-00-00 00:00:00',0,'',141,0,0,'',''),(23,'Pikachu Sdn Bhd','hijrah.comsali','','2016-01-01',7,'LOT 5555','taman samudra','BATU CAVES','BATU CAVES','53100',1931,'','','','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-08-11 08:32:14',0,'2016-08-29 08:29:39',0,'',99,2,0,'',''),(24,'Panasonic ','','','2016-01-01',18,'No 12','Jalan 34','Kawasan Industri Panasonic','Bandar Panasonic','43500',1931,'0132897186','','superabu92@gmail.com','','24.JPG',1,0,458,0,'',NULL,0,0,0,1,0,'2016-08-16 03:18:32',0,'2016-08-17 06:37:27',0,'',93,3,0,'',''),(25,'kedai cermin mata','','','2016-08-16',8,'no 54','jalan cermin','kawasan industri cermin','bandar mata','85000',1930,'','','','','25.JPG',1,0,458,0,'',NULL,0,0,0,1,0,'2016-08-16 03:19:28',0,'2016-08-16 03:25:10',0,'',192,2,0,'',''),(26,'HAS APPAREL SDN BHD','','','2016-08-23',11,'No. 800, Jalan Kelana Jaya','','Kelana Jaya','Kelana Jaya','68500',1922,'0125556633','+60361855444','has@gmail.com','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-08-19 09:02:01',0,'2016-08-23 04:39:05',0,'',5,3,0,'',''),(27,'Habbatussauda','','','0000-00-00',0,'123','123','123','Bt Caves','68100',1932,'01234567','012234567','hihi@yahoo.com','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-09-05 02:12:48',0,'0000-00-00 00:00:00',0,'',116,0,0,'',''),(28,'RAHMAT MAZNAH SDN BHD','','','0000-00-00',0,'No. 48, Lorong Kerayong 5A','Taman Seri Kerayong','','Klang','42200',1931,'0129020146','','','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-09-26 04:41:11',0,'0000-00-00 00:00:00',0,'',110,0,0,'',''),(29,'RAHMAT MAZNAH SDN BHD','','','0000-00-00',0,'No. 48, Lorong Kerayong 5A','Taman Seri Kerayong','Klang','Klang','42200',1931,'129020146','0129020146','','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-09-26 04:42:32',0,'0000-00-00 00:00:00',0,'',110,0,0,'',''),(39,'RAHMAT MAZNAH SDN BHD','mrsb','','2016-01-01',3,'No. 48, Lorong Kerayong 5A','Taman Seri Kerayong','Klang','Klang','42200',1931,'129020146','0129020146','','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-09-25 20:42:32',0,'2016-09-26 07:01:53',0,'',110,2,0,'spslitem_tekun1db','../tekun1/'),(40,'RESTORAN MAKANAN','Halalhub','','2016-01-01',9,'No. 48, Lorong Kerayong 5A','Taman Seri Kerayong','','Klang','42200',1931,'0129020146','0129020146','','','',1,0,458,0,'',NULL,0,0,0,1,0,'2016-09-28 07:35:54',0,'2016-11-22 02:36:22',0,'',110,2,0,'',''),(70,'eminem sdn bhd','','','0000-00-00',2,'','','','','',0,'','','','','',0,0,0,0,'',NULL,0,0,0,1,0,'2016-10-18 00:55:38',0,'0000-00-00 00:00:00',0,'',0,2,0,'spslitem_tekun1db','../tekun1/');
/*!40000 ALTER TABLE `company` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer`
--

DROP TABLE IF EXISTS `customer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customer` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `customerName` varchar(128) NOT NULL,
  `accountCode` varchar(8) NOT NULL,
  `customerCompanyNo` varchar(32) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `customerPostCode` varchar(8) NOT NULL,
  `customerStateID` int(11) NOT NULL,
  `customerCountryID` int(11) NOT NULL,
  `attention` varchar(16) NOT NULL,
  `website` varchar(32) NOT NULL,
  `phoneNumber1` varchar(50) NOT NULL,
  `phoneNumber2` varchar(50) NOT NULL,
  `fax` varchar(50) NOT NULL,
  `generalNote` varchar(255) NOT NULL,
  `gstRegNo` varchar(16) NOT NULL,
  `termsID` int(11) NOT NULL,
  `creditLimit` int(8) NOT NULL,
  `creditLimitAlert` tinyint(1) NOT NULL,
  `linkedAPAccountID` varchar(11) NOT NULL,
  `createdDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `email` varchar(64) NOT NULL,
  `termstatus` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` int(16) NOT NULL,
  `position` varchar(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer`
--

LOCK TABLES `customer` WRITE;
/*!40000 ALTER TABLE `customer` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_address`
--

DROP TABLE IF EXISTS `customer_address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customer_address` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `addressCode` varchar(50) NOT NULL,
  `addressName` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_address`
--

LOCK TABLES `customer_address` WRITE;
/*!40000 ALTER TABLE `customer_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_contact`
--

DROP TABLE IF EXISTS `customer_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customer_contact` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `customerID` int(11) NOT NULL,
  `customer_contact_name` varchar(128) NOT NULL,
  `position` varchar(32) NOT NULL,
  `telOffice` varchar(32) NOT NULL,
  `telHp` varchar(32) NOT NULL,
  `email` varchar(64) NOT NULL,
  `remaks` text NOT NULL,
  `createdID` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_contact`
--

LOCK TABLES `customer_contact` WRITE;
/*!40000 ALTER TABLE `customer_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gl_setup`
--

DROP TABLE IF EXISTS `gl_setup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gl_setup` (
  `ID` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `accountTypeID` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gl_setup`
--

LOCK TABLES `gl_setup` WRITE;
/*!40000 ALTER TABLE `gl_setup` DISABLE KEYS */;
/*!40000 ALTER TABLE `gl_setup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `item`
--

DROP TABLE IF EXISTS `item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `itemCode` varchar(32) NOT NULL,
  `name` varchar(64) NOT NULL,
  `description` text NOT NULL,
  `itemCategoryID` int(11) NOT NULL,
  `itemTypeID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitOfMeasureID` int(11) NOT NULL,
  `editDescription` tinyint(1) NOT NULL,
  `imageFile` varchar(64) NOT NULL,
  `itemStatusID` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'default to active=1',
  `reorderLevel` int(11) NOT NULL,
  `incomeID` int(11) NOT NULL,
  `cogsID` int(11) NOT NULL,
  `inventoriesID` int(11) NOT NULL,
  `inputTaxID` int(11) NOT NULL,
  `outputTaxID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `locationID` int(11) NOT NULL,
  `is_delete` smallint(6) NOT NULL,
  `updateable` smallint(6) NOT NULL,
  `totalAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `supplierPrice` double NOT NULL,
  `salesPrice` double NOT NULL,
  `currencyID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `item`
--

LOCK TABLES `item` WRITE;
/*!40000 ALTER TABLE `item` DISABLE KEYS */;
/*!40000 ALTER TABLE `item` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_before_insert_item` BEFORE INSERT ON `item`
 FOR EACH ROW begin

if new.incomeID = 0 or new.incomeID is null then 

set new.incomeID = (select accountID from comp_control_acct_setup where ID > 0 and companyID = new.companyID and accountCode='saleacct'); 

end if;

if new.cogsID = 0 or new.cogsID is null then 

set new.cogsID = (select accountID from comp_control_acct_setup where id>0 and companyID = new.companyID and accountCode = 'saleacct');

end if;



end */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `item_adjustment`
--

DROP TABLE IF EXISTS `item_adjustment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item_adjustment` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `locationID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `updateAble` smallint(11) NOT NULL DEFAULT '1',
  `adjustmentDate` date NOT NULL,
  `createdBy` varchar(50) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `item_adjustment`
--

LOCK TABLES `item_adjustment` WRITE;
/*!40000 ALTER TABLE `item_adjustment` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_adjustment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `item_adjustment_detail`
--

DROP TABLE IF EXISTS `item_adjustment_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item_adjustment_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `adjustmentID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `unitOfMeasureID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `qtyOnHand` double NOT NULL COMMENT 'The number of items on the time of Adjustment',
  `counted` double NOT NULL COMMENT 'The actual number of items on the time of adjustment',
  `onDatePrice` double NOT NULL,
  `updateAble` smallint(11) NOT NULL DEFAULT '1',
  `adjustmentDate` date NOT NULL,
  `createdBy` varchar(50) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `item_adjustment_detail`
--

LOCK TABLES `item_adjustment_detail` WRITE;
/*!40000 ALTER TABLE `item_adjustment_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_adjustment_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `item_details`
--

DROP TABLE IF EXISTS `item_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `itemID` int(11) DEFAULT NULL,
  `locationID` int(11) DEFAULT NULL,
  `onHandQty` double DEFAULT NULL,
  `umID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Index 2` (`companyID`,`acctID`,`locationID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `item_details`
--

LOCK TABLES `item_details` WRITE;
/*!40000 ALTER TABLE `item_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `master`
--

DROP TABLE IF EXISTS `master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `master` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL,
  `description` varchar(128) NOT NULL,
  `updatedby` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `usedBySystem` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `master`
--

LOCK TABLES `master` WRITE;
/*!40000 ALTER TABLE `master` DISABLE KEYS */;
INSERT INTO `master` VALUES (1,'Status','status active or inactive',0,'2014-07-17 16:41:14',1),(2,'Shipping Method','',0,'2014-04-23 21:01:05',0),(3,'State','State',0,'2014-07-17 16:41:09',1),(4,'Module','Application module',1,'2014-07-17 16:40:55',1),(5,'Gender','Gender Male or Female',1,'2014-07-17 16:41:01',1),(6,'Bank','List of bank',0,'2014-07-17 17:09:23',1),(7,'Payment Method','List of payment method',0,'2014-04-21 18:24:46',0),(8,'Item Category','List of item category',0,'2014-07-24 23:51:05',1),(9,'Item Type','List of item type - product or service',0,'2014-07-24 23:47:36',1),(10,'Language','Language selection English or Bahasa Malasyia',1,'2014-07-17 16:41:25',1),(11,'Accounting Method','Accounting Closing/Opening method monthly or yearly',0,'2014-08-14 00:53:25',1),(12,'Unit of Measure','Unit of measurement such as kg, feet, meter, cubic',1,'2014-07-17 16:41:31',1),(13,'Account Type','Account type for chart of accounts',0,'2014-08-14 00:53:53',1),(14,'Business Type','Business type based on industry selected',0,'2014-07-17 17:09:15',1),(15,'Industry','List of industry classification - retail, manufacturing, service, others',0,'2014-07-17 16:41:53',1),(16,'Invoice Purchase Code','',1,'2014-07-17 17:07:51',1),(17,'Invoice Sales Code','',1,'2014-07-17 17:07:38',1),(18,'System Form','',1,'2014-07-17 16:53:35',1),(19,'Address','List of address type',0,'2014-08-14 00:54:44',1),(20,'Movement Type','List of inventory movement type',1,'2014-05-27 17:40:05',0),(21,'General Setup','General Setup Parameters',1,'2014-07-17 16:42:24',1),(22,'Waqif','Waqif',0,'2014-07-17 17:38:46',0);
/*!40000 ALTER TABLE `master` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `master_code`
--

DROP TABLE IF EXISTS `master_code`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `master_code` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `masterID` int(11) NOT NULL,
  `parentFilterID` int(11) DEFAULT NULL,
  `code` varchar(4) NOT NULL,
  `name` varchar(64) NOT NULL,
  `shortName` varchar(8) NOT NULL,
  `description` varchar(128) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updateBy` int(11) NOT NULL,
  `updateTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(6) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=164 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `master_code`
--

LOCK TABLES `master_code` WRITE;
/*!40000 ALTER TABLE `master_code` DISABLE KEYS */;
INSERT INTO `master_code` VALUES (1,1,NULL,'0','Active','Active','',1,0,'2014-05-07 02:01:04',0,'2014-05-15 02:17:57',0),(2,1,NULL,'1','Inactive','Inactive','',2,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(3,2,NULL,'FR','Freight','Freight','',1,0,'2014-05-07 02:01:04',0,'2014-04-23 21:05:19',0),(4,2,4,'FE','FedEx','FE','farhana',2,0,'2014-05-07 02:01:04',0,'2014-05-14 19:25:38',0),(5,2,NULL,'UPS','UPS','UPS','',3,0,'2014-05-07 02:01:04',0,'2014-08-20 19:08:39',1),(6,2,NULL,'CLNK','CityLink','CLNK','',2,0,'2014-05-07 02:01:04',0,'2014-04-23 21:05:19',0),(8,2,NULL,'DHL','DHL','DHL','',4,0,'2014-05-07 02:01:04',0,'2014-04-23 21:05:19',0),(9,5,NULL,'M','Male','Male','',1,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(10,5,NULL,'F','Female','','',2,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(11,15,NULL,'MFC','Manufacturing','MFC','',1,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(12,15,NULL,'RT','Retail','RT','',2,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(13,15,NULL,'SERV','Service','SERV','',3,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(14,15,NULL,'OTH','Others','OTH','',4,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(15,10,NULL,'ENG','English','ENG','',1,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(16,10,NULL,'BM','Bahasa Malaysia','BM','',2,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(17,11,NULL,'MTH','Monthly','MTH','',0,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(18,11,NULL,'YR','Yearly','YR','',0,0,'2014-05-07 02:01:04',0,'2014-04-21 19:18:53',0),(19,8,NULL,'E','Electrical Appliance','EA','',5,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(20,8,NULL,'S','Stationary','ST','',10,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(21,8,NULL,'I','IT','IT','',15,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(22,9,NULL,'P','Product','Product','Physical product range',1,0,'2014-05-07 02:01:04',0,'2014-05-25 16:33:45',0),(23,9,NULL,'S','Services','Services','Services product range',5,0,'2014-05-07 02:01:04',0,'2014-05-25 16:34:04',1),(30,8,NULL,'F','Furniture','FR','',1,0,'2014-05-07 02:01:04',0,'0000-00-00 00:00:00',0),(31,16,NULL,'1','Purchase Invoice','','',10,0,'2014-05-07 02:01:04',1,'0000-00-00 00:00:00',0),(32,16,NULL,'2','Direct Purchase Invcoice','','',20,0,'2014-05-07 02:01:04',1,'0000-00-00 00:00:00',0),(33,16,NULL,'3','Debit Note','','Purchase Invoice Debit Note (Adjustment)',30,0,'2014-05-07 02:01:04',1,'0000-00-00 00:00:00',0),(34,16,NULL,'4','Credit Note','','Purchase Invoice Credit Note (Adjustment)',40,0,'2014-05-07 02:01:04',1,'0000-00-00 00:00:00',0),(35,17,NULL,'1','Sales Invoice','','',10,0,'2014-05-07 02:01:04',0,'2014-05-06 18:23:53',0),(36,17,NULL,'2','Direct Sales Invcoice','','',20,0,'2014-05-07 02:01:04',0,'2014-05-06 18:23:58',0),(37,17,NULL,'3','Debit Note','','Sales Invoice Debit Note (Adjustment)',30,0,'2014-05-07 02:01:04',0,'2014-05-06 18:24:02',0),(38,17,NULL,'4','Credit Note','','Sales Invoice Credit Note (Adjustment)',40,0,'2014-05-07 02:01:04',0,'2014-05-06 18:24:07',0),(39,18,NULL,'PR','Purchase Request','PR','Purchase Request Form',90,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(40,18,NULL,'PO','Purchase Order','PO','Purchase Order Form',100,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(41,18,NULL,'PI','Purchase Invoice','PURINV','Form Purchase Invoice',110,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(42,18,NULL,'PDN','Purchase Debit Note','PDN','Purchase Debit Note Form',120,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(43,18,NULL,'PCN','Purchase Credit Note','PCN','Purchase Credit Note Form',140,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(44,18,NULL,'PP','Purchase Payment','PP','Purchase Payment Form',150,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(45,18,NULL,'GRN','Good Received Note','PP','Godd Received Note Form',160,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(46,18,NULL,'LT','Inventory Movement','LT','Inventory Movement Form',170,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(47,18,NULL,'SQN','Sales Quotation','SQN','Sales Quotation Form',180,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(48,18,NULL,'SON','Sales Order','SON','Sales Order Form',190,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(49,18,NULL,'SDN','Delivery Order','DO','Delivery Order Form',200,1,'2014-05-07 02:01:25',0,'2014-08-13 20:15:15',0),(50,18,NULL,'INV','Invoice','INV','Invoice Form',210,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(51,18,NULL,'SDN','Sales Debit Note','PDN','Sales Debit Note Form',230,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(52,18,NULL,'SCN','Sales Credit Note','PCN','Sales Credit Note Form',240,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(53,18,NULL,'RP','Receive Payment','RP','Receive Payment Form',250,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(54,18,NULL,'GRN','General Transaction','PP','General Transaction Form',260,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(55,18,NULL,'OPN','Others Payment','OPN','Others Payment Form',270,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(56,18,NULL,'ORI','Others Receive','ORI','Others Receive Form',280,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(57,18,NULL,'SLR','Sales Return','SLR','Sales Return Form',290,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(58,18,NULL,'IA','Item Adjustment','IA','Item Adjustment Form',300,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(59,12,NULL,'KG','Kilogram','','',10,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(60,12,NULL,'G','gram','','',20,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(61,12,NULL,'l','liter','','',30,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(62,12,NULL,'Tonn','tonne','','',40,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(63,12,NULL,'Unit','unit','','',50,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(64,12,NULL,'ml','mili liter','','',60,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(65,12,NULL,'m','meter','','',70,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(66,12,NULL,'cm','centimeter','','',80,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(67,12,NULL,'cc','cubic cm','','',90,1,'2014-05-09 03:30:04',0,'0000-00-00 00:00:00',0),(68,7,NULL,'','Cash','','',10,0,'2014-05-14 00:59:32',0,'2014-07-17 17:19:34',0),(69,7,NULL,'','Cheque','','',20,0,'2014-05-14 00:59:32',0,'2014-07-17 17:19:38',0),(70,0,NULL,'3333','fad','fad','fad',0,0,'2014-05-14 01:12:00',0,'0000-00-00 00:00:00',0),(71,10,NULL,'ARB','Arabic','AR','Bahasa Ar',3,0,'2014-05-14 17:46:45',0,'2014-05-15 18:52:26',0),(72,18,0,'ZK','ZAKAT','sy','desc',7,0,'2014-05-14 17:59:07',0,'2014-06-04 19:51:49',0),(73,2,4,'FE','FedEx','FE','fad',2,0,'2014-05-14 19:03:42',0,'0000-00-00 00:00:00',0),(74,2,0,'FE','FedEx','FE','akmal',2,0,'2014-05-14 19:17:14',0,'2014-05-25 17:27:52',0),(75,19,0,'1','Billing Address','','',10,0,'2014-05-15 20:48:35',0,'2014-05-16 02:51:41',0),(76,19,0,'2','HQ','','Main Addr',10,0,'2014-05-15 20:52:07',0,'0000-00-00 00:00:00',0),(77,19,0,'3','Ship to','','Ship to',30,0,'2014-05-15 20:53:25',0,'0000-00-00 00:00:00',0),(78,20,NULL,'B','Bulk','Bulk','',10,0,'2014-05-27 17:32:05',0,'0000-00-00 00:00:00',0),(79,20,NULL,'S','Small','Small','',20,0,'2014-05-27 17:32:05',0,'0000-00-00 00:00:00',0),(80,21,1,'','retainedEarnings','','Retained Earnings',1,1,'2014-06-03 01:33:20',0,'2014-08-01 01:04:34',0),(81,21,1,'','profitlostYear','','Profit/Loss Year',10,1,'2014-06-03 01:33:20',0,'2014-08-01 01:04:38',0),(82,21,1,'','exchangeVariances','','Exchange Variances Account',20,1,'2014-06-03 01:33:20',0,'2014-08-01 01:04:42',0),(83,21,1,'','bankchargesAccount','','Bank Charges Account',30,1,'2014-06-03 01:33:20',0,'2014-08-01 01:04:47',0),(84,21,2,'','rcvacct','','Receivable Account',40,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:01',0),(85,21,2,'','saleacct','','Sales Account',50,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:07',0),(86,21,2,'','saledisacct','','Sales Discount Account',60,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:11',0),(87,21,2,'','promptpaydisacct','','Prompt Payment Discount Account',70,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:18',0),(88,21,2,'','commissionexp','','Commission Expense',80,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:24',0),(89,21,2,'','commisionpay','','Commission Payable',90,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:31',0),(90,21,2,'','freightcharges','','Freight Charges',100,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:36',0),(91,21,2,'','exchangediff','','Exchange Difference',110,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:41',0),(92,21,3,'','payAcct','','Payable Account',120,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:46',0),(93,21,3,'','payDisc','','Payable Discount',130,1,'2014-06-03 01:33:20',0,'2014-08-01 01:05:49',0),(94,21,NULL,'','invAcct','','Inventory Account',140,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(95,21,NULL,'','cogs','','C.O.G.S Account',150,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(96,21,NULL,'','invAdjAcct','','Inventory Adjustment Account',160,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(97,21,NULL,'','gstInputTax','','GST-Input Tax',170,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(98,21,NULL,'','gstOutTax','','GST-Output Tax',180,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(99,21,NULL,'','susgstInTax','','Suspense-GST Input Tax',190,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(100,21,NULL,'','susgstOuTax','','Suspense-GST Output Tax',200,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(101,21,NULL,'','gstnoclaim','','GST Not Claimable',210,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(102,21,NULL,'','imdutypay','','Import Duty Payable',220,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(103,21,NULL,'','saletaxpay','','Sale Tax Payable',230,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(104,21,NULL,'','servtaxpay','','Service Tax Payable',240,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(105,21,NULL,'','zakat','','Zakat Expenses',250,1,'2014-06-03 01:33:20',0,'2014-06-24 20:33:21',0),(106,21,NULL,'','uninvoiceAP','','Un-invoice AP',165,1,'2014-06-05 19:28:56',0,'2014-07-02 19:48:46',0),(107,21,1,'','bank','','Banking Account',35,0,'2014-06-24 19:25:00',0,'2014-08-01 01:07:23',0),(108,22,NULL,'','Founder(s)','','',10,1,'2014-07-17 17:43:04',0,'2014-07-17 17:43:32',0),(109,22,NULL,'','Owner(s)/Shareholder(s)','','',20,1,'2014-07-17 17:43:04',0,'2014-07-17 17:43:36',0),(110,22,NULL,'','Director(s)','','',30,0,'2014-07-17 17:44:57',0,'0000-00-00 00:00:00',0),(111,22,NULL,'','Other(s)','','',40,0,'2014-07-17 17:44:57',0,'0000-00-00 00:00:00',0),(112,21,NULL,'','wakafAcrual','','Wakaf Accrual',280,1,'2014-08-01 01:20:26',0,'2014-08-04 17:22:20',0),(114,21,NULL,'','zakatPayable','','zakap payable',260,0,'2014-08-03 23:30:14',0,'2014-08-04 17:21:58',0),(115,21,NULL,'','wakafExpense','','wakaf Expenses',270,0,'2014-08-03 23:30:14',0,'2014-08-04 17:22:11',0),(116,22,0,'waki','new waqif','new','new',5,0,'2014-08-10 13:18:10',0,'0000-00-00 00:00:00',0),(117,7,0,'001','Director Fund','DF','',0,0,'2014-08-20 12:57:18',0,'2014-08-20 18:59:13',1),(118,18,NULL,'GT','GST Transaction','GT','GST Transaction Form',310,1,'2014-05-07 02:01:25',0,'0000-00-00 00:00:00',0),(160,18,NULL,'BD','Bad Debt Relief','BD','Bad Debt Relief Form',311,1,'2014-05-06 18:01:25',0,'0000-00-00 00:00:00',0),(161,18,NULL,'BDR','Bad Debt Recover','DR','Bad Debt Recover Form',312,1,'2014-05-06 18:01:25',0,'2015-06-05 01:16:55',0),(162,18,NULL,'SDR','Supplier Bad Debt Recover','SDR','Supplier Bad Debt Recover Form',313,1,'2014-05-06 18:01:25',0,'2015-06-05 01:16:55',0),(163,18,NULL,'SBD','Supplier Bad Debt Relief','SBD','Supplier Bad Debt Relief Form',314,1,'2014-05-06 18:01:25',0,'0000-00-00 00:00:00',0);
/*!40000 ALTER TABLE `master_code` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `module`
--

DROP TABLE IF EXISTS `module`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `module` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `parentModuleID` int(11) NOT NULL,
  `moduleName` varchar(64) NOT NULL,
  `description` varchar(254) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `module`
--

LOCK TABLES `module` WRITE;
/*!40000 ALTER TABLE `module` DISABLE KEYS */;
INSERT INTO `module` VALUES (1,0,'GL','General Ledger',10,0,'2014-05-01 16:36:58',0,'2014-10-12 19:03:33'),(2,0,'AR','Account Receivables',20,0,'2014-05-01 16:36:58',0,'2014-10-12 19:03:39'),(3,0,'AP','Account Payables',30,0,'2014-05-01 16:36:58',0,'2014-10-12 19:03:54'),(4,0,'IC','Inventory Control',60,0,'2014-05-01 16:36:58',0,'2014-10-12 19:04:24'),(5,0,'SO','Sales Order',40,0,'2014-05-01 16:36:58',0,'2014-10-12 19:04:04'),(6,0,'GST','Goods & Services Tax',70,0,'2014-05-01 16:36:58',0,'2014-10-12 19:04:40'),(7,0,'ZKT','Zakat & Wakaf',80,0,'2014-05-01 16:36:58',0,'2014-10-12 19:05:26'),(8,0,'PUR','Purchasing',50,0,'2014-05-01 16:36:58',0,'2014-10-12 19:04:08'),(9,0,'ADM','Admin',99,0,'2014-05-01 16:36:58',0,'2014-10-12 19:05:36'),(10,0,'STP','Setup',90,0,'2014-05-01 16:36:58',0,'2014-10-12 19:05:39');
/*!40000 ALTER TABLE `module` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parlimen`
--

DROP TABLE IF EXISTS `parlimen`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `parlimen` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `parlimenCode` varchar(4) NOT NULL,
  `stateID` int(11) NOT NULL,
  `parlimen` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=224 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parlimen`
--

LOCK TABLES `parlimen` WRITE;
/*!40000 ALTER TABLE `parlimen` DISABLE KEYS */;
INSERT INTO `parlimen` VALUES (2,'P001',1928,'PADANG BESAR	'),(3,'P002',1928,'KANGAR	'),(4,'P003',1928,'ARAU	'),(5,'P004',1922,'LANGKAWI	'),(6,'P005',1922,'JERLUN	'),(7,'P006',1922,'KUBANG PASU	'),(8,'P007',1922,'PADANG TERAP	'),(9,'P008',1922,'POKOK SENA	'),(10,'P009',1922,'ALOR STAR	'),(11,'P010',1922,'KUALA KEDAH	'),(12,'P011',1922,'PENDANG	'),(13,'P012',1922,'JERAI	'),(14,'P013',1922,'SIK	'),(15,'P014',1922,'MERBOK	'),(16,'P015',1922,'SUNGAI PETANI	'),(17,'P016',1922,'BALING	'),(18,'P017',1922,'PADANG SERAI	'),(19,'P018',1922,'KULIM/BANDAR BAHARU	'),(20,'P019',1923,'TUMPAT	'),(21,'P020',1923,'PENGKALAN CHEPA	'),(22,'P021',1923,'KOTA BHARU	'),(23,'P022',1923,'PASIR MAS	'),(24,'P023',1923,'RANTAU PANJANG	'),(25,'P024',1923,'KUBANG KERIAN	'),(26,'P025',1923,'BACHOK	'),(27,'P026',1923,'KETEREH	'),(28,'P027',1923,'TANAH MERAH	'),(29,'P028',1923,'PASIR PUTEH	'),(30,'P029',1923,'MACHANG	'),(31,'P030',1923,'JELI	'),(32,'P031',1923,'KUALA KRAI	'),(33,'P032',1923,'GUA MUSANG	'),(34,'P033',1932,'BESUT	'),(35,'P034',1932,'SETIU	'),(36,'P035',1932,'KUALA NERUS	'),(37,'P036',1932,'KUALA TERENGGANU	'),(38,'P037',1932,'MARANG	'),(39,'P038',1932,'HULU TERENGGANU	'),(40,'P039',1932,'DUNGUN	'),(41,'P040',1932,'KEMAMAN	'),(42,'P041',1929,'KEPALA BATAS	'),(43,'P042',1929,'TASEK GELUGOR	'),(44,'P043',1929,'BAGAN	'),(45,'P044',1929,'PERMATANG PAUH	'),(46,'P045',1929,'BUKIT MERTAJAM	'),(47,'P046',1929,'BATU KAWAN	'),(48,'P047',1929,'NIBONG TEBAL	'),(49,'P048',1929,'BUKIT BENDERA	'),(50,'P049',1929,'TANJONG	'),(51,'P050',1929,'JELUTONG	'),(52,'P051',1929,'BUKIT GELUGOR	'),(53,'P052',1929,'BAYAN BARU	'),(54,'P053',1929,'BALIK PULAU	'),(55,'P054',1927,'GERIK	'),(56,'P055',1927,'LENGGONG	'),(57,'P056',1927,'LARUT	'),(58,'P057',1927,'PARIT BUNTAR	'),(59,'P058',1927,'BAGAN SERAI	'),(60,'P059',1927,'BUKIT GANTANG	'),(61,'P060',1927,'TAIPING	'),(62,'P061',1927,'PADANG RENGAS	'),(63,'P062',1927,'SUNGAI SIPUT	'),(64,'P063',1927,'TAMBUN	'),(65,'P064',1927,'IPOH TIMOR	'),(66,'P065',1927,'IPOH BARAT	'),(67,'P066',1927,'BATU GAJAH	'),(68,'P067',1927,'KUALA KANGSAR	'),(69,'P068',1927,'BERUAS	'),(70,'P069',1927,'PARIT	'),(71,'P070',1927,'KAMPAR	'),(72,'P071',1927,'GOPENG	'),(73,'P072',1927,'TAPAH	'),(74,'P073',1927,'PASIR SALAK	'),(75,'P074',1927,'LUMUT	'),(76,'P075',1927,'BAGAN DATOK	'),(77,'P076',1927,'TELOK INTAN	'),(78,'P077',1927,'TANJONG MALIM	'),(79,'P078',1926,'CAMERON HIGHLANDS	'),(80,'P079',1926,'LIPIS	'),(81,'P080',1926,'RAUB	'),(82,'P081',1926,'JERANTUT	'),(83,'P082',1926,'INDERA MAHKOTA	'),(84,'P083',1926,'KUANTAN	'),(85,'P084',1926,'PAYA BESAR	'),(86,'P085',1926,'PEKAN	'),(87,'P086',1926,'MARAN	'),(88,'P087',1926,'KUALA KRAU	'),(89,'P088',1926,'TEMERLOH	'),(90,'P089',1926,'BENTONG	'),(91,'P090',1926,'BERA	'),(92,'P091',1926,'ROMPIN	'),(93,'P092',1931,'SABAK BERNAM	'),(94,'P093',1931,'SUNGAI BESAR	'),(95,'P094',1931,'HULU SELANGOR	'),(96,'P095',1931,'TANJONG KARANG	'),(97,'P096',1931,'KUALA SELANGOR	'),(98,'P097',1931,'SELAYANG	'),(99,'P098',1931,'GOMBAK	'),(100,'P099',1931,'AMPANG	'),(101,'P100',1931,'PANDAN	'),(102,'P101',1931,'HULU LANGAT	'),(103,'P102',1931,'SERDANG	'),(104,'P103',1931,'PUCHONG	'),(105,'P104',1931,'KELANA JAYA	'),(106,'P105',1931,'PETALING JAYA SELATAN	'),(107,'P106',1931,'PETALING JAYA UTARA	'),(108,'P107',1931,'SUBANG	'),(109,'P108',1931,'SHAH ALAM	'),(110,'P109',1931,'KAPAR	'),(111,'P110',1931,'KLANG	'),(112,'P111',1931,'KOTA RAJA	'),(113,'P112',1931,'KUALA LANGAT	'),(114,'P113',1931,'SEPANG	'),(115,'P114',1931,'KEPONG   	'),(116,'P115',1933,'BATU	'),(117,'P116',1933,'WANGSA MAJU	'),(118,'P117',1933,'SEGAMBUT   	'),(119,'P118',1933,'SETIAWANGSA 	'),(120,'P119',1933,'TITIWANGSA	'),(121,'P120',1933,'BUKIT BINTANG 	'),(122,'P121',1933,'LEMBAH PANTAI 	'),(123,'P122',1933,'SEPUTEH	'),(124,'P123',1933,'CHERAS   	'),(125,'P124',1933,'BANDAR TUN RAZAK	'),(126,'P125',1936,'PUTRAJAYA	'),(127,'P126',1925,'JELEBU	'),(128,'P127',1925,'JEMPOL	'),(129,'P128',1925,'SEREMBAN	'),(130,'P129',1925,'KUALA PILAH	'),(131,'P130',1925,'RASAH	'),(132,'P131',1925,'REMBAU	'),(133,'P132',1925,'TELOK KEMANG	'),(134,'P133',1925,'TAMPIN	'),(135,'P134',1924,'MASJID TANAH	'),(136,'P135',1924,'ALOR GAJAH	'),(137,'P136',1924,'TANGGA BATU	'),(138,'P137',1924,'BUKIT KATIL	'),(139,'P138',1924,'KOTA MELAKA	'),(140,'P139',1924,'JASIN	'),(141,'P140',1921,'SEGAMAT	'),(142,'P141',1921,'SEKIJANG	'),(143,'P142',1921,'LABIS	'),(144,'P143',1921,'PAGOH	'),(145,'P144',1921,'LEDANG	'),(146,'P145',1921,'BAKRI	'),(147,'P146',1921,'MUAR	'),(148,'P147',1921,'PARIT SULONG	'),(149,'P148',1921,'AYER HITAM	'),(150,'P149',1921,'SRI GADING	'),(151,'P150',1921,'BATU PAHAT	'),(152,'P151',1921,'SIMPANG RENGGAM	'),(153,'P152',1921,'KLUANG	'),(154,'P153',1921,'SEMBRONG	'),(155,'P154',1921,'MERSING	'),(156,'P155',1921,'TENGGARA	'),(157,'P156',1921,'KOTA TINGGI	'),(158,'P157',1921,'PENGERANG	'),(159,'P158',1921,'TEBRAU	'),(160,'P159',1921,'PASIR GUDANG	'),(161,'P160',1921,'JOHOR BAHRU	'),(162,'P161',1921,'PULAI	'),(163,'P162',1921,'GELANG PATAH	'),(164,'P163',1921,'KULAI	'),(165,'P164',1921,'PONTIAN	'),(166,'P165',1921,'TANJONG PIAI	'),(167,'P166',1935,'LABUAN	'),(168,'P167',1935,'KUDAT	'),(169,'P168',1935,'KOTA MARUDU	'),(170,'P169',1935,'KOTA BELUD	'),(171,'P170',1935,'TUARAN	'),(172,'P171',1935,'SEPANGGAR	'),(173,'P172',1935,'KOTA KINABALU	'),(174,'P173',1935,'PUTATAN	'),(175,'P174',1935,'PENAMPANG	'),(176,'P175',1935,'PAPAR	'),(177,'P176',1935,'KIMANIS	'),(178,'P177',1935,'BEAUFORT	'),(179,'P178',1935,'SIPITANG	'),(180,'P179',1935,'RANAU	'),(181,'P180',1935,'KENINGAU	'),(182,'P181',1935,'TENOM	'),(183,'P182',1935,'PENSIANGAN	'),(184,'P183',1935,'BELURAN	'),(185,'P184',1935,'LIBARAN	'),(186,'P185',1935,'BATU SAPI	'),(187,'P186',1935,'SANDAKAN	'),(188,'P187',1935,'KINABATANGAN	'),(189,'P188',1935,'SILAM	'),(190,'P189',1935,'SEMPORNA	'),(191,'P190',1935,'TAWAU	'),(192,'P191',1930,'KALABAKAN	'),(193,'P192',1930,'MAS GADING	'),(194,'P193',1930,'SANTUBONG	'),(195,'P194',1930,'PETRA JAYA	'),(196,'P195',1930,'BANDAR KUCHING	'),(197,'P196',1930,'STAMPIN	'),(198,'P197',1930,'KOTA SAMARAHAN	'),(199,'P198',1930,'MAMBONG	'),(200,'P199',1930,'SERIAN	'),(201,'P200',1930,'BATANG SADONG	'),(202,'P201',1930,'BATANG LUPAR	'),(203,'P202',1930,'SRI AMAN	'),(204,'P203',1930,'LUBOK ANTU	'),(205,'P204',1930,'BETONG	'),(206,'P205',1930,'SARATOK	'),(207,'P206',1930,'TANJONG MANIS	'),(208,'P207',1930,'IGAN	'),(209,'P208',1930,'SARIKEI	'),(210,'P209',1930,'JULAU	'),(211,'P210',1930,'KANOWIT	'),(212,'P211',1930,'LANANG	'),(213,'P212',1930,'SIBU	'),(214,'P213',1930,'MUKAH	'),(215,'P214',1930,'SELANGAU	'),(216,'P215',1930,'KAPIT	'),(217,'P216',1930,'HULU RAJANG	'),(218,'P217',1930,'BINTULU	'),(219,'P218',1930,'SIBUTI	'),(220,'P219',1930,'MIRI	'),(221,'P220',1930,'BARAM	'),(222,'P221',1930,'LIMBANG	'),(223,'P222',1930,'LAWAS	');
/*!40000 ALTER TABLE `parlimen` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `person`
--

DROP TABLE IF EXISTS `person`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `person` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` int(11) NOT NULL,
  `position` varchar(64) NOT NULL,
  `employeeCode` varchar(16) NOT NULL,
  `genderID` int(11) NOT NULL,
  `dateOfBirth` date NOT NULL,
  `dateOfJoint` date NOT NULL,
  `remaks` text NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `person`
--

LOCK TABLES `person` WRITE;
/*!40000 ALTER TABLE `person` DISABLE KEYS */;
/*!40000 ALTER TABLE `person` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `person_contact`
--

DROP TABLE IF EXISTS `person_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `person_contact` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `personID` int(11) NOT NULL,
  `companyID` int(11) NOT NULL,
  `contactType` varchar(32) NOT NULL,
  `contact` tinytext NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `person_contact`
--

LOCK TABLES `person_contact` WRITE;
/*!40000 ALTER TABLE `person_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `person_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `poke`
--

DROP TABLE IF EXISTS `poke`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `poke` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `who` int(11) NOT NULL,
  `whom` int(11) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `poke`
--

LOCK TABLES `poke` WRITE;
/*!40000 ALTER TABLE `poke` DISABLE KEYS */;
/*!40000 ALTER TABLE `poke` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `prospect`
--

DROP TABLE IF EXISTS `prospect`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `prospect` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL,
  `email` varchar(64) NOT NULL,
  `login` varchar(32) NOT NULL,
  `paswd` varchar(32) NOT NULL,
  `tel` varchar(16) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `ip` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `prospect`
--

LOCK TABLES `prospect` WRITE;
/*!40000 ALTER TABLE `prospect` DISABLE KEYS */;
/*!40000 ALTER TABLE `prospect` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `supplier`
--

DROP TABLE IF EXISTS `supplier`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `supplier` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierName` varchar(128) NOT NULL,
  `supplierCode` varchar(8) NOT NULL,
  `supplierCompanyNo` varchar(32) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(128) NOT NULL,
  `supplierPostCode` varchar(8) NOT NULL,
  `supplierStateID` int(11) NOT NULL,
  `supplierCountryID` int(11) NOT NULL,
  `attention` varchar(100) NOT NULL,
  `website` varchar(32) NOT NULL,
  `phoneNumber1` varchar(50) NOT NULL,
  `phoneNumber2` varchar(50) NOT NULL,
  `fax` varchar(50) NOT NULL,
  `generalNote` varchar(255) NOT NULL,
  `gstRegNo` varchar(16) NOT NULL,
  `termsID` int(11) NOT NULL,
  `creditLimit` double NOT NULL,
  `creditLimitAlert` tinyint(1) NOT NULL,
  `linkedAPAccountID` int(11) NOT NULL,
  `createdDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `email` varchar(64) NOT NULL,
  `termstatus` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `approvalNo` varchar(32) NOT NULL,
  `commenceDate` date NOT NULL,
  `ceaseDate` date NOT NULL,
  `verifyDate` date NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `ID` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `supplier`
--

LOCK TABLES `supplier` WRITE;
/*!40000 ALTER TABLE `supplier` DISABLE KEYS */;
/*!40000 ALTER TABLE `supplier` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client      = @@character_set_client */ ;
/*!50003 SET @saved_cs_results     = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client  = utf8mb4 */ ;
/*!50003 SET character_set_results = utf8mb4 */ ;
/*!50003 SET collation_connection  = utf8mb4_general_ci */ ;
/*!50003 SET @saved_sql_mode       = @@sql_mode */ ;
/*!50003 SET sql_mode              = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=root@localhost*/ /*!50003 TRIGGER `trigger_default_created_date` BEFORE INSERT ON `supplier`
 FOR EACH ROW if ( isnull(new.createddate) ) then

 set new.createddate=curdate();

end if */;;
DELIMITER ;
/*!50003 SET sql_mode              = @saved_sql_mode */ ;
/*!50003 SET character_set_client  = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection  = @saved_col_connection */ ;

--
-- Table structure for table `supplier_address`
--

DROP TABLE IF EXISTS `supplier_address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `supplier_address` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `addressCode` varchar(50) DEFAULT NULL,
  `addressName` varchar(128) DEFAULT NULL,
  `line1` varchar(128) DEFAULT NULL,
  `line2` varchar(128) DEFAULT NULL,
  `line3` varchar(128) DEFAULT NULL,
  `city` varchar(128) DEFAULT NULL,
  `postCode` varchar(8) DEFAULT NULL,
  `stateID` int(11) DEFAULT NULL,
  `countryID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` smallint(16) DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `supplier_address`
--

LOCK TABLES `supplier_address` WRITE;
/*!40000 ALTER TABLE `supplier_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `supplier_address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `supplier_contact`
--

DROP TABLE IF EXISTS `supplier_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `supplier_contact` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `supplierID` int(11) NOT NULL,
  `personID` int(11) NOT NULL,
  `position` varchar(32) NOT NULL,
  `is_delete` smallint(16) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `supplier_contact`
--

LOCK TABLES `supplier_contact` WRITE;
/*!40000 ALTER TABLE `supplier_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `supplier_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_class`
--

DROP TABLE IF EXISTS `tax_class`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_class` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) DEFAULT NULL,
  `shortName` varchar(10) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `taxAccount` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_class`
--

LOCK TABLES `tax_class` WRITE;
/*!40000 ALTER TABLE `tax_class` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_class` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_group`
--

DROP TABLE IF EXISTS `tax_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `taxAccount` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_group`
--

LOCK TABLES `tax_group` WRITE;
/*!40000 ALTER TABLE `tax_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_master`
--

DROP TABLE IF EXISTS `tax_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_master` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '0',
  `code` varchar(10) DEFAULT NULL,
  `name` varchar(128) DEFAULT NULL,
  `taxType` int(11) DEFAULT NULL,
  `taxPercentage` double DEFAULT NULL,
  `taxClass` int(11) DEFAULT NULL,
  `taxGroup` int(11) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `taxAccount` int(11) DEFAULT NULL,
  `status` tinyint(1) DEFAULT '0',
  `createdBy` int(11) DEFAULT '0',
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`,`companyID`),
  KEY `FK_tax_master_tax_class` (`taxClass`),
  KEY `FK_tax_master_tax_group` (`taxGroup`),
  KEY `FK_tax_master_tax_type` (`taxType`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_master`
--

LOCK TABLES `tax_master` WRITE;
/*!40000 ALTER TABLE `tax_master` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_master` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_type`
--

DROP TABLE IF EXISTS `tax_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) DEFAULT NULL,
  `taxGroupID` int(11) DEFAULT NULL,
  `description` varchar(128) DEFAULT NULL,
  `taxClass` int(11) NOT NULL,
  `taxAccount` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_type`
--

LOCK TABLES `tax_type` WRITE;
/*!40000 ALTER TABLE `tax_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_footer`
--

DROP TABLE IF EXISTS `tax_work_footer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_footer` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type. Must be ‘F’',
  `purchaseCount` int(11) DEFAULT NULL COMMENT 'Number of P records',
  `purchaseAmount` double DEFAULT NULL COMMENT 'Debit Amount',
  `purchaseAmountGST` double DEFAULT NULL COMMENT 'Purchase GST Amount GST',
  `supplyCount` int(11) DEFAULT NULL COMMENT 'Supply Count',
  `supplyAmountSum` double DEFAULT NULL COMMENT 'Sum of all supplies',
  `supplyAmountSumGst` double DEFAULT NULL COMMENT 'Sum of GST on all supplies',
  `ledgerCount` int(11) DEFAULT NULL COMMENT 'Number of L records',
  `debitSum` double DEFAULT NULL COMMENT 'Debit Sum',
  `creditSum` double DEFAULT NULL COMMENT 'Credit Sum',
  `balanceSum` double DEFAULT NULL COMMENT 'Balance Sum',
  `status` smallint(1) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_footer`
--

LOCK TABLES `tax_work_footer` WRITE;
/*!40000 ALTER TABLE `tax_work_footer` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_footer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_gl`
--

DROP TABLE IF EXISTS `tax_work_gl`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_gl` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type.Must be ‘L’',
  `transactionDate` date DEFAULT NULL COMMENT 'Format: dd/MM/yyyy',
  `Account ID` int(11) DEFAULT NULL COMMENT 'General Ledger Code for individual account',
  `Account Name` varchar(3) DEFAULT NULL COMMENT 'Name of individual General Ledger account',
  `description` varchar(128) DEFAULT NULL COMMENT 'Transaction Description',
  `name` varchar(128) DEFAULT NULL COMMENT 'Name of entity involved (if applicable)',
  `journalID` varchar(128) DEFAULT NULL COMMENT 'A unique number that can group related double entries',
  `documentID` varchar(128) DEFAULT NULL COMMENT 'Source document number to which line relates (For example, cheque number, invoice number, credit note number, trust receipt number) ',
  `type` varchar(128) DEFAULT NULL COMMENT 'Refers to type of transaction such as AR. Refers to the type of transaction such as AR, AP, Inventory, Sales, Purchases, Cash Disbursement, Cash Receipt, General Journal etc.',
  `amount_dr` double DEFAULT NULL COMMENT 'Debit Amount',
  `amount_cr` double DEFAULT NULL COMMENT 'Credit amount',
  `Balance` double DEFAULT NULL COMMENT 'Balance Amount',
  `status` smallint(1) DEFAULT NULL,
  `gafID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_gl`
--

LOCK TABLES `tax_work_gl` WRITE;
/*!40000 ALTER TABLE `tax_work_gl` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_gl` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_header`
--

DROP TABLE IF EXISTS `tax_work_header`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_header` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type. Must be ‘C’',
  `name` varchar(128) DEFAULT NULL COMMENT 'The name of the company for which this file is reporting on.',
  `BRN` varchar(128) DEFAULT NULL COMMENT 'Business registration number for company',
  `gstNo` varchar(128) DEFAULT NULL COMMENT 'Company GST number',
  `periodStart` date DEFAULT NULL COMMENT 'Filing Period Start Date Must be in format dd/MM/yyyy example: 01/12/2014’',
  `periodEnd` date DEFAULT NULL COMMENT 'Filing Period End Date Must be in format dd/MM/yyyy example: 31/12/2014’',
  `version` varchar(128) DEFAULT NULL COMMENT 'Accounting software name and version Example: XYB Accountsoft v.2.0',
  `GAFversion` varchar(128) DEFAULT NULL COMMENT 'GST Audit File (GAF) version number',
  `status` smallint(1) DEFAULT NULL,
  `gafID` smallint(1) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_header`
--

LOCK TABLES `tax_work_header` WRITE;
/*!40000 ALTER TABLE `tax_work_header` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_header` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_purchase`
--

DROP TABLE IF EXISTS `tax_work_purchase`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_purchase` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type. Must be ‘P’',
  `name` varchar(128) DEFAULT NULL COMMENT 'AN Name for supplier.',
  `BRN` varchar(128) DEFAULT NULL COMMENT 'BRN for company from which purchase was made.',
  `invoiceDate` date DEFAULT NULL COMMENT 'Invoice Date Format dd/MM/yyyy',
  `invoiceNo` varchar(128) DEFAULT NULL COMMENT 'Invoice Number',
  `importDeclare` varchar(128) DEFAULT NULL COMMENT 'Import Declaration Number. (e.g. Customs Form No. 1 reference',
  `invoiceLine` varchar(3) DEFAULT NULL COMMENT 'Number of Invoice Line',
  `description` varchar(128) DEFAULT NULL COMMENT 'Description for what was purchased',
  `amount` double DEFAULT NULL COMMENT 'Value of purchase excluding GST in Malaysia Ringgit.',
  `taxAmount` double DEFAULT NULL COMMENT 'Value of GST in Malaysia Ringgit.',
  `taxID` int(11) DEFAULT NULL,
  `taxCode` varchar(128) DEFAULT NULL COMMENT 'Tax code for lookup in tables. Please refer to Appendix',
  `currencyID` int(11) DEFAULT NULL,
  `currencyCode` varchar(128) DEFAULT NULL COMMENT 'ISO’s currency codes (3-letter alphabetical code) of foreign Currency. Example: USD',
  `currencyAmount` double DEFAULT NULL COMMENT 'Value of purchase excluding GST in Foreign Currency (If applicable).',
  `taxCurrencyAmount` double DEFAULT NULL COMMENT 'Value of GST in Foreign Currency (If applicable)',
  `status` smallint(2) DEFAULT NULL,
  `gafID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_purchase`
--

LOCK TABLES `tax_work_purchase` WRITE;
/*!40000 ALTER TABLE `tax_work_purchase` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_purchase` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tax_work_sales`
--

DROP TABLE IF EXISTS `tax_work_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_work_sales` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recordID` varchar(1) DEFAULT NULL COMMENT 'Must be a single character corresponding to record type. Must be ‘S’',
  `name` varchar(128) DEFAULT NULL COMMENT 'Name of customer.',
  `BRN` varchar(128) DEFAULT NULL COMMENT 'BRN for supplier.',
  `invoiceDate` date DEFAULT NULL COMMENT 'Invoice Date Format dd/MM/yyyy',
  `invoiceNo` varchar(128) DEFAULT NULL COMMENT 'Invoice Number',
  `invoiceLine` varchar(3) DEFAULT NULL COMMENT 'Number of Invoice Line',
  `description` varchar(128) DEFAULT NULL COMMENT 'Description for what was sold',
  `amount` double DEFAULT NULL COMMENT 'Value of supply excluding GST in Malaysia Ringgit',
  `taxAmount` double DEFAULT NULL COMMENT 'Value of GST in Malaysia Ringgit',
  `taxID` int(11) DEFAULT NULL,
  `taxCode` varchar(128) DEFAULT NULL COMMENT 'Tax code for lookup in tables. Please refer to Appendix 2Example: SR',
  `countryID` int(11) DEFAULT NULL COMMENT 'Destination of goods being exported. Example: KOREA',
  `currencyID` int(11) DEFAULT NULL,
  `currencyCode` varchar(128) DEFAULT NULL COMMENT 'ISO’s currency codes (3-letter alphabetical code) of foreign Currency. Example: USD',
  `currencyAmount` double DEFAULT NULL COMMENT 'Value of purchase excluding GST in Foreign Currency (If applicable).',
  `taxCurrencyAmount` double DEFAULT NULL COMMENT 'Value of GST in Foreign Currency (If applicable)',
  `status` smallint(1) DEFAULT NULL,
  `gafID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tax_work_sales`
--

LOCK TABLES `tax_work_sales` WRITE;
/*!40000 ALTER TABLE `tax_work_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_work_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_department`
--

DROP TABLE IF EXISTS `tbl_department`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_department` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(18) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `dept_head` int(11) DEFAULT NULL,
  `createdBy` int(11) NOT NULL,
  `is_deleted` tinyint(4) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_department`
--

LOCK TABLES `tbl_department` WRITE;
/*!40000 ALTER TABLE `tbl_department` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbl_department` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_location`
--

DROP TABLE IF EXISTS `tbl_location`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_location` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(20) DEFAULT NULL,
  `desc` varchar(100) DEFAULT NULL,
  `address` varchar(200) DEFAULT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `postcode` varchar(10) DEFAULT NULL,
  `city` varchar(50) DEFAULT NULL,
  `state` int(10) DEFAULT NULL,
  `country` int(10) DEFAULT NULL,
  `phone_no` varchar(25) DEFAULT NULL,
  `fax_no` varchar(25) DEFAULT NULL,
  `create_by` varchar(50) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_location`
--

LOCK TABLES `tbl_location` WRITE;
/*!40000 ALTER TABLE `tbl_location` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbl_location` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_section`
--

DROP TABLE IF EXISTS `tbl_section`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_section` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `code` varchar(18) DEFAULT NULL,
  `departmentID` int(11) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `section_head` int(11) DEFAULT NULL,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `is_deleted` tinyint(4) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_section`
--

LOCK TABLES `tbl_section` WRITE;
/*!40000 ALTER TABLE `tbl_section` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbl_section` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_useradmin`
--

DROP TABLE IF EXISTS `tbl_useradmin`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_useradmin` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `userid` varchar(50) CHARACTER SET utf8 NOT NULL DEFAULT '0',
  `password` varchar(32) CHARACTER SET utf8 DEFAULT '0',
  `username` varchar(150) CHARACTER SET utf8 DEFAULT NULL,
  `position` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `email` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `homepage` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `phone_off` varchar(30) CHARACTER SET utf8 DEFAULT NULL,
  `phone_ext` varchar(10) CHARACTER SET utf8 DEFAULT NULL,
  `phone_mobile` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `department` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `section` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `role` varchar(150) CHARACTER SET utf8 DEFAULT NULL,
  `status` smallint(1) DEFAULT NULL,
  `birthday` date DEFAULT NULL,
  `imageFile` varchar(254) CHARACTER SET utf8 NOT NULL,
  `online` int(5) NOT NULL,
  `last_seen` datetime NOT NULL,
  `access_comp` varchar(255) CHARACTER SET utf8 NOT NULL,
  `last_seen_ip` varchar(30) CHARACTER SET utf8 NOT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `create_user` varchar(150) CHARACTER SET utf8 DEFAULT NULL,
  `modified_dt` date DEFAULT NULL,
  `modified_user` varchar(150) CHARACTER SET utf8 DEFAULT NULL,
  `is_delete` smallint(6) DEFAULT '0',
  `language` varchar(10) CHARACTER SET utf8 NOT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_useradmin`
--

LOCK TABLES `tbl_useradmin` WRITE;
/*!40000 ALTER TABLE `tbl_useradmin` DISABLE KEYS */;
INSERT INTO `tbl_useradmin` VALUES (1,'demo ','21232f297a57a5a743894a0e4a801fc3','Demo for Demo','0','admin',NULL,'0',NULL,'0174426998','0','0','ADMIN',NULL,NULL,'1-1448937345-logo.png',0,'0000-00-00 00:00:00','','','2014-01-24 07:55:05','yahaya','2015-12-01','demo ',0,'en'),(84,'akmal','827ccb0eea8a706c4c34a16891f84e7b','akmal programmer php','programmer','akmal_aura@yahoo.com',NULL,'245234',NULL,'34564567','0','0',NULL,NULL,NULL,'',1,'0000-00-00 00:00:00','','','2015-11-27 05:10:00','demo',NULL,NULL,0,'en'),(88,'testing','827ccb0eea8a706c4c34a16891f84e7b','Testing Bin Testing','0','testing@tekun.com.my',NULL,'0',NULL,'0199999999','0','0',NULL,NULL,NULL,'88-1448937380-10982135_930295673667946_7144968507178138611_n.jpg',0,'0000-00-00 00:00:00','','','2015-11-29 21:20:42','demo ','2015-12-01','demo ',0,'en'),(89,'testing2 ','a119e534072584a0ea88cdea4664aecd','Testing2 Bin Testing2','0','testing2@tekun.com.my',NULL,'0',NULL,'017777777','0','0',NULL,NULL,NULL,'89-1448937483-iron_man_in_flight-wallpaper-1366x768.jpg',0,'0000-00-00 00:00:00','','','2015-11-30 18:58:34','demo ','2015-12-01','demo ',0,'ms'),(91,'izuwan','e73b72764001209d943fb623f4c64fb4','Mohd Izuwan','0','',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','','2015-12-02 00:43:39','demo ',NULL,NULL,0,'en'),(92,'suadah','827ccb0eea8a706c4c34a16891f84e7b','Testingsuadah','0','suadah@testing',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'92-1449042348-300px-Narzisse.jpg',1,'0000-00-00 00:00:00','','','2015-12-02 00:44:32','demo ',NULL,NULL,0,'en');
/*!40000 ALTER TABLE `tbl_useradmin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbl_usermaster`
--

DROP TABLE IF EXISTS `tbl_usermaster`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tbl_usermaster` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `userid` varchar(50) NOT NULL DEFAULT '0',
  `password` varchar(32) DEFAULT '0',
  `username` varchar(150) DEFAULT NULL,
  `position` varchar(50) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `homepage` varchar(100) DEFAULT NULL,
  `phone_off` varchar(30) DEFAULT NULL,
  `phone_ext` varchar(10) DEFAULT NULL,
  `phone_mobile` varchar(100) DEFAULT NULL,
  `department` varchar(18) DEFAULT NULL,
  `section` varchar(18) DEFAULT NULL,
  `role` varchar(150) DEFAULT NULL,
  `status` smallint(1) DEFAULT NULL,
  `birthday` date DEFAULT NULL,
  `imageFile` varchar(254) NOT NULL,
  `online` int(5) NOT NULL,
  `last_seen` datetime NOT NULL,
  `access_comp` varchar(255) NOT NULL,
  `last_seen_ip` varchar(30) NOT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `create_user` varchar(150) DEFAULT NULL,
  `modified_dt` date DEFAULT NULL,
  `modified_user` varchar(150) DEFAULT NULL,
  `is_delete` smallint(6) DEFAULT '0',
  `language` varchar(10) NOT NULL,
  PRIMARY KEY (`fldid`),
  UNIQUE KEY `userid` (`userid`),
  KEY `Index 3` (`password`)
) ENGINE=InnoDB AUTO_INCREMENT=133 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbl_usermaster`
--

LOCK TABLES `tbl_usermaster` WRITE;
/*!40000 ALTER TABLE `tbl_usermaster` DISABLE KEYS */;
INSERT INTO `tbl_usermaster` VALUES (1,'tekun@admin.com','827ccb0eea8a706c4c34a16891f84e7b','tekun@admin.com','0','tekun@admin.com',NULL,'0',NULL,'017442699822','0','0','ADMIN',NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2014-01-24 07:55:05','yahaya','2016-04-14','tekun@admin.com',0,'en'),(84,'akmaluddin@salihin.com.my','827ccb0eea8a706c4c34a16891f84e7b','Akmal Programmer PHP','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'34564567','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-11-27 05:10:00','demo','2016-04-27','akmal',0,'en'),(88,'testing@tekun.com.my','827ccb0eea8a706c4c34a16891f84e7b','Tekun Test Company 1','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'01999999991','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-11-29 21:20:42','demo ','2015-12-16','demo ',0,'en'),(89,'testing2@tekun.com.my','827ccb0eea8a706c4c34a16891f84e7b','Tekun Test Company 2','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'017777777','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-11-30 18:58:34','demo ','2015-12-01','demo ',0,'ms'),(91,'izuwan','827ccb0eea8a706c4c34a16891f84e7b','Mohd Izuwan','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'7.png',1,'0000-00-00 00:00:00','','','2015-12-02 00:43:39','demo ','2015-12-15','demo ',0,'en'),(92,'suadah','827ccb0eea8a706c4c34a16891f84e7b','Testingsuadah','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'7.png',1,'0000-00-00 00:00:00','','','2015-12-02 00:44:32','demo ',NULL,NULL,0,'en'),(93,'aizat@salihin.com.my','827ccb0eea8a706c4c34a16891f84e7b','Mohd Aizat','0','aizat@salihin.com.my',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-07 21:51:04','demo ','2015-12-15','demo ',0,'en'),(95,'ekinsas@yahoo.com','827ccb0eea8a706c4c34a16891f84e7b','NurSalikeen Saparai','0','ekinsas@yahoo.com',NULL,'0',NULL,'1234','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-14 23:40:22','demo ',NULL,NULL,0,'en'),(96,'T-1000','827ccb0eea8a706c4c34a16891f84e7b','T-1000','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'1234','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-15 00:36:43','demo ',NULL,NULL,0,'en'),(105,'fad','827ccb0eea8a706c4c34a16891f84e7b','fad','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'1234','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-16 02:17:54','suadah','2015-12-17','suadah',0,'en'),(106,'sayem7746@gmail.com','827ccb0eea8a706c4c34a16891f84e7b','Sayem Ahmed','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'34234234234','0','0',NULL,NULL,NULL,'7.png',1,'0000-00-00 00:00:00','','','2015-12-16 22:29:32','demo ','2015-12-17','sayem7746',0,'en'),(107,'fad2','827ccb0eea8a706c4c34a16891f84e7b','fad2','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'132312','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-17 04:25:13','suadah','2015-12-17','suadah',0,'en'),(108,'fad3','827ccb0eea8a706c4c34a16891f84e7b','fad3','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'1234','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-17 04:32:28','suadah','2015-12-23','suadah',0,'en'),(109,'fad4','827ccb0eea8a706c4c34a16891f84e7b','fad4','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'124124','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-23 04:03:43','suadah',NULL,NULL,0,'en'),(110,'fad5','827ccb0eea8a706c4c34a16891f84e7b','fad5','0','akmaluddin@salihin.com.my',NULL,'0',NULL,'21314124','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-23 04:34:04','suadah','2015-12-29','suadah',0,'en'),(111,'fad6','827ccb0eea8a706c4c34a16891f84e7b','fad6','0','test@testing.com',NULL,'0',NULL,'43234','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2015-12-23 04:39:00','suadah',NULL,NULL,0,'en'),(112,'farahzafirah@salihin.com.my','827ccb0eea8a706c4c34a16891f84e7b','Farah Zafirah','0','farahzafirah@salihin.com.my',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'7.png',1,'0000-00-00 00:00:00','','','2015-12-29 21:44:02','demo ',NULL,NULL,0,'en'),(114,'farid','827ccb0eea8a706c4c34a16891f84e7b','Farid Firdaus','0','faridfirdaus@salihin.com.my',NULL,'0',NULL,'','0','0',NULL,NULL,NULL,'7.png',1,'0000-00-00 00:00:00','','','2015-12-30 20:00:38','demo ',NULL,NULL,0,'en'),(115,'Admin','2e57dda457bed22e6acdede62b915d47','Ahmad Admin','0','admin@tekun.com',NULL,'0',NULL,'0123456789','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2016-04-26 20:11:00','akmal',NULL,NULL,0,'en'),(116,'bee','827ccb0eea8a706c4c34a16891f84e7b','bee','0','farhana@salihin.com.my',NULL,'0',NULL,'123','0','0',NULL,NULL,NULL,'7.png',0,'0000-00-00 00:00:00','','','2016-04-27 21:42:18','akmal',NULL,NULL,0,'en'),(117,'0','d41d8cd98f00b204e9800998ecf8427e','0',NULL,'0',NULL,NULL,NULL,'0',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','192.168.1.199','2016-06-28 04:48:32',NULL,NULL,NULL,0,''),(132,'2','901695fb1e54f4a451ba70a6e45d9d8d','fad',NULL,'0',NULL,NULL,NULL,'34',NULL,NULL,NULL,NULL,NULL,'',0,'0000-00-00 00:00:00','','192.168.1.199','2016-06-28 06:03:02',NULL,NULL,NULL,0,'');
/*!40000 ALTER TABLE `tbl_usermaster` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `temp_usermaster_reset_pwd`
--

DROP TABLE IF EXISTS `temp_usermaster_reset_pwd`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `temp_usermaster_reset_pwd` (
  `code` varchar(32) NOT NULL,
  `idUser` int(11) NOT NULL,
  `email` varchar(64) NOT NULL,
  PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `temp_usermaster_reset_pwd`
--

LOCK TABLES `temp_usermaster_reset_pwd` WRITE;
/*!40000 ALTER TABLE `temp_usermaster_reset_pwd` DISABLE KEYS */;
INSERT INTO `temp_usermaster_reset_pwd` VALUES ('241d6cca0e14a5b0eed71ac15d211c26',111,'korisscww@yahoo.fr'),('46fe9a8e1cfe80e136bacaa0664d5891',95,'ekinsas@yahoo.com'),('4c08a01fc4075093be536877304bece3',95,'ekinsas@yahoo.com'),('7fbfe28183cdf603c8e9bea14bf3cad4',95,'ekinsas@yahoo.com'),('9a5098ad2c0c15aacaaf161b2436ec64',95,'ekinsas@yahoo.com'),('d937a1dc3d3a1703e82dde8409490361',95,'ekinsas@yahoo.com'),('fa3f22559185f82498994afc6fe2e44d',112,'farahzafirah@salihin.com.my');
/*!40000 ALTER TABLE `temp_usermaster_reset_pwd` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `terms`
--

DROP TABLE IF EXISTS `terms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `terms` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `termName` varchar(64) NOT NULL,
  `termDescription` varchar(255) NOT NULL,
  `dueDays` int(11) NOT NULL,
  `termStatusID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `terms`
--

LOCK TABLES `terms` WRITE;
/*!40000 ALTER TABLE `terms` DISABLE KEYS */;
/*!40000 ALTER TABLE `terms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `trash_comp_journal`
--

DROP TABLE IF EXISTS `trash_comp_journal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `trash_comp_journal` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `oldID` int(11) NOT NULL,
  `companyID` int(11) DEFAULT NULL,
  `journalID` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
  `referrence` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
  `batch` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `module` int(11) DEFAULT NULL,
  `effective_date` date DEFAULT NULL,
  `entered_date` date DEFAULT NULL,
  `period` smallint(2) DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `total_amount_dr` double DEFAULT NULL,
  `total_amount_cr` double DEFAULT NULL,
  `total_amount` double DEFAULT '0',
  `status` tinyint(4) DEFAULT '0' COMMENT 'unposted = 0, posted = 1',
  `remarks` varchar(128) CHARACTER SET utf8 DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `formNo` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `trash_comp_journal`
--

LOCK TABLES `trash_comp_journal` WRITE;
/*!40000 ALTER TABLE `trash_comp_journal` DISABLE KEYS */;
/*!40000 ALTER TABLE `trash_comp_journal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `trash_comp_journal_detail`
--

DROP TABLE IF EXISTS `trash_comp_journal_detail`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `trash_comp_journal_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `trashID` int(11) NOT NULL,
  `oldID` int(11) NOT NULL,
  `companyID` int(11) DEFAULT '0',
  `journalID` varchar(50) CHARACTER SET utf8 DEFAULT '0',
  `sequence` int(11) DEFAULT '0',
  `acctCode` int(11) DEFAULT '0',
  `projectID` int(11) DEFAULT '0',
  `description` varchar(200) CHARACTER SET utf8 DEFAULT '0',
  `amount_cr` double DEFAULT '0',
  `amount_dr` double DEFAULT '0',
  `currencyID` int(11) DEFAULT '0',
  `currency_amount` double DEFAULT '0',
  `exchange_rate` double DEFAULT '0',
  `enter_exchange_rate` double DEFAULT '0',
  `period` smallint(2) DEFAULT '0',
  `year` year(4) DEFAULT NULL,
  `formNo` varchar(50) CHARACTER SET utf8 DEFAULT NULL,
  `supplier` varchar(200) CHARACTER SET utf8 DEFAULT NULL,
  `line` int(11) DEFAULT NULL,
  `status` smallint(2) DEFAULT '0',
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  `bankReconcileID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `trash_comp_journal_detail`
--

LOCK TABLES `trash_comp_journal_detail` WRITE;
/*!40000 ALTER TABLE `trash_comp_journal_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `trash_comp_journal_detail` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ug_content`
--

DROP TABLE IF EXISTS `ug_content`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ug_content` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ugID` int(11) NOT NULL,
  `language` varchar(8) NOT NULL,
  `title` varchar(100) NOT NULL,
  `content` text NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ug_content`
--

LOCK TABLES `ug_content` WRITE;
/*!40000 ALTER TABLE `ug_content` DISABLE KEYS */;
/*!40000 ALTER TABLE `ug_content` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ug_relatedtopic`
--

DROP TABLE IF EXISTS `ug_relatedtopic`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ug_relatedtopic` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ugID` int(11) NOT NULL,
  `relatedUgID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ug_relatedtopic`
--

LOCK TABLES `ug_relatedtopic` WRITE;
/*!40000 ALTER TABLE `ug_relatedtopic` DISABLE KEYS */;
/*!40000 ALTER TABLE `ug_relatedtopic` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ug_topic`
--

DROP TABLE IF EXISTS `ug_topic`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ug_topic` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(8) CHARACTER SET utf8 DEFAULT NULL,
  `name` varchar(30) CHARACTER SET utf8 DEFAULT NULL,
  `parents` varchar(8) CHARACTER SET utf8 DEFAULT '0',
  `module` varchar(8) CHARACTER SET utf8 DEFAULT '0',
  `submenu` smallint(1) DEFAULT '0',
  `urls` varchar(100) CHARACTER SET utf8 DEFAULT '0',
  `urls2` varchar(100) CHARACTER SET utf8 DEFAULT '0',
  `access` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `seq` int(11) NOT NULL,
  `display` smallint(1) DEFAULT '1',
  `icons` varchar(32) CHARACTER SET utf8 DEFAULT 'i-film',
  `language` varchar(3) CHARACTER SET utf8 DEFAULT 'EN',
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ug_topic`
--

LOCK TABLES `ug_topic` WRITE;
/*!40000 ALTER TABLE `ug_topic` DISABLE KEYS */;
/*!40000 ALTER TABLE `ug_topic` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ug_video`
--

DROP TABLE IF EXISTS `ug_video`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ug_video` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ugID` int(11) NOT NULL,
  `title` varchar(64) NOT NULL,
  `videoLink` varchar(128) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ug_video`
--

LOCK TABLES `ug_video` WRITE;
/*!40000 ALTER TABLE `ug_video` DISABLE KEYS */;
/*!40000 ALTER TABLE `ug_video` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `userName` varchar(32) NOT NULL,
  `password` varchar(64) NOT NULL,
  `fullName` varchar(64) NOT NULL,
  `telephoneNo` varchar(16) NOT NULL,
  `emailAddress` varchar(16) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user`
--

LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_expiry`
--

DROP TABLE IF EXISTS `user_expiry`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_expiry` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `userID` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `typeOfPackage` smallint(6) NOT NULL COMMENT '1 = monthly, 2 = yearly',
  `numberOfPeriod` int(11) NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_expiry`
--

LOCK TABLES `user_expiry` WRITE;
/*!40000 ALTER TABLE `user_expiry` DISABLE KEYS */;
INSERT INTO `user_expiry` VALUES (3,105,'fad',2,2,'2015-12-19','2017-12-18'),(4,106,'sayem7746',2,1,'2015-12-17','2016-12-16'),(5,107,'fad2',2,2,'2015-12-17','2017-12-16'),(6,108,'fad3',2,1,'2015-12-23','2016-12-22'),(7,1,'demo@tekun.com.my',2,5,'2015-01-01','2017-12-16'),(8,84,'akmal',1,2,'2015-12-22','2026-07-01'),(9,109,'fad4',0,0,'2015-12-23','2015-12-23'),(10,110,'fad5',2,1,'2015-12-23','2018-12-22'),(11,111,'fad6',2,1,'2014-12-20','2015-12-19'),(12,112,'farah',1,0,'2015-12-30','2015-12-30'),(13,113,'farid',2,0,'2015-12-31','2015-12-30'),(14,114,'farid',2,0,'2015-12-31','2015-12-31'),(15,115,'Admin',2,1,'2016-04-27','2017-04-26'),(16,116,'bee',2,3,'2016-04-28','2019-04-27');
/*!40000 ALTER TABLE `user_expiry` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_module_access`
--

DROP TABLE IF EXISTS `user_module_access`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_module_access` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `userID` int(11) NOT NULL,
  `moduleID` int(11) NOT NULL,
  `transaction` smallint(2) NOT NULL DEFAULT '0',
  `reports` smallint(2) NOT NULL DEFAULT '0',
  `setup` smallint(2) NOT NULL DEFAULT '0',
  `accessRight` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_module_access`
--

LOCK TABLES `user_module_access` WRITE;
/*!40000 ALTER TABLE `user_module_access` DISABLE KEYS */;
INSERT INTO `user_module_access` VALUES (1,1,1,1,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(2,1,1,2,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(3,1,1,3,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(4,1,1,4,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(5,1,1,5,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(6,1,1,6,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(7,1,1,7,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 05:08:53'),(8,7,88,8,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 01:38:01'),(9,4,91,9,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 06:39:58'),(10,4,93,10,1,1,1,0,1,'2015-11-24 11:26:34',1,'2015-12-15 08:50:27'),(11,9,94,0,0,0,0,0,1,'2015-11-24 11:26:34',1,'2015-12-15 04:46:02'),(12,1,84,1,1,1,1,0,0,'2015-12-08 10:41:24',0,'2016-04-27 02:10:48'),(13,4,98,0,1,1,1,1,0,'2015-12-15 07:41:21',0,'2015-12-16 02:58:32'),(14,1,100,0,1,1,1,1,0,'2015-12-16 07:20:53',0,'2015-12-16 07:20:53'),(15,1,101,0,1,1,1,1,0,'2015-12-16 07:23:30',0,'2015-12-16 07:23:30'),(16,1,103,0,1,1,1,1,0,'2015-12-16 08:56:20',0,'2015-12-16 08:56:20'),(17,1,104,0,1,1,1,1,0,'2015-12-16 09:16:29',0,'2015-12-16 09:16:29'),(18,1,105,0,1,1,1,1,0,'2015-12-16 09:18:55',0,'2015-12-17 05:29:58'),(19,4,106,0,1,1,1,1,0,'2015-12-17 05:30:37',0,'2015-12-17 05:30:37'),(20,1,107,0,1,1,1,1,0,'2015-12-17 11:26:10',0,'2015-12-17 11:26:10'),(21,1,108,0,1,1,1,1,0,'2015-12-17 11:33:02',0,'2015-12-17 11:33:02'),(22,1,109,0,1,1,1,1,0,'2015-12-23 11:05:11',0,'2015-12-23 11:05:11'),(23,1,110,0,1,1,1,1,0,'2015-12-23 11:36:46',0,'2015-12-23 11:36:46'),(24,4,111,0,1,1,1,1,0,'2015-12-23 11:39:24',0,'2015-12-23 11:39:24'),(25,3,112,0,1,1,1,1,0,'2015-12-30 04:44:55',0,'2015-12-30 04:44:55'),(26,4,113,0,1,1,1,1,0,'2015-12-30 04:47:00',0,'2015-12-31 02:59:35'),(27,3,114,0,1,1,1,1,0,'2015-12-31 03:01:17',0,'2015-12-31 03:01:17'),(28,1,115,0,1,1,1,1,0,'2016-04-27 02:13:37',0,'2016-04-27 02:13:37'),(29,12,116,0,1,1,1,1,0,'2016-04-28 03:43:20',0,'2016-04-28 03:43:20');
/*!40000 ALTER TABLE `user_module_access` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_module_access_details`
--

DROP TABLE IF EXISTS `user_module_access_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_module_access_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) DEFAULT NULL,
  `userID` int(11) NOT NULL,
  `menuCode` varchar(8) NOT NULL,
  `accessRight` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=173 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_module_access_details`
--

LOCK TABLES `user_module_access_details` WRITE;
/*!40000 ALTER TABLE `user_module_access_details` DISABLE KEYS */;
INSERT INTO `user_module_access_details` VALUES (1,1,1,'ARINVLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(2,1,1,'ARDBNLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(3,1,1,'ARCDNLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(4,1,1,'ARRCVPLS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(5,1,1,'ARCUSTST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(6,1,1,'APSUPPAY',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(7,1,1,'APPURDN',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(8,1,1,'APPURCN',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(9,1,1,'APPURDNC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(10,1,1,'APPURCNC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(11,1,1,'APOPWI',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(12,1,1,'APOPWIC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(13,1,1,'APOPWOI',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(14,1,1,'APPURINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(15,1,1,'APDIRINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(16,1,1,'APCPYPI',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(17,1,1,'APBANKRE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(18,1,1,'APPAYCFM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(19,1,1,'APPAYICM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(20,1,1,'APDRNOTE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(21,1,1,'GLTRJRNL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(22,1,1,'GLTRJlCY',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(23,1,1,'GLTRJlRV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(24,1,1,'GLTRPOST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(25,1,1,'GLRPBS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(26,1,1,'GLRPTB',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(27,1,1,'GLRPJLPS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(28,1,1,'GLRPJLUP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(29,1,1,'GLRPTBFC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(30,1,1,'GLRPABSM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(31,1,1,'GLRPPNLM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(32,1,1,'GLRPBGLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(33,1,1,'GLMCAL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(34,1,1,'GLMCALL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(35,1,1,'GLSTCOA',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(36,1,1,'GLSTBDGT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(37,1,1,'GLSTCURC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(38,1,1,'ARSALINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(39,1,1,'ARSDBN',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(40,1,1,'ARDBNC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(41,1,1,'ARSCN',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(42,1,1,'ARSCNC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(43,1,1,'ARRCVP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(44,1,1,'ARRCVPC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(45,1,1,'ARDSLINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(46,1,1,'ARDRSINV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(47,1,1,'ARCPYSI',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(48,1,1,'ARSETCUS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(49,1,1,'MSTRSUPP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(50,1,1,'APPURDNL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(51,1,1,'APPURCNL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(52,1,1,'APRPTOPW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(53,1,1,'APRPTSTL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(54,1,1,'APTRETCR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(55,1,1,'APTRPYIE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(56,1,1,'UM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(57,1,1,'UML',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(58,1,1,'MUL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(59,1,1,'LOGRPT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(60,1,1,'UMACCSS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(61,1,1,'MSCL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(62,1,1,'MSSL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(63,1,1,'MSTRCOMP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(64,1,1,'PROJECT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(65,1,1,'TERM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(66,1,1,'MSMTRCD',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(67,1,1,'EMP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(68,1,1,'AGENTSTP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(69,1,1,'BNKSETUP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(70,1,1,'ADMMENU',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(71,1,1,'APTRPYOE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(72,1,1,'INVPLNRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(73,1,1,'INVVALRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(74,1,1,'INVSTORP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(75,1,1,'INVOUTRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(76,1,1,'INVMOVRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(77,1,1,'INVLSTRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(78,1,1,'IVSTCKCS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(79,1,1,'LTL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(80,1,1,'ICAA',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(81,1,1,'MSLM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(82,1,1,'ITEMCAT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(83,1,1,'ITEMTYP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(84,1,1,'ITEMSET',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(85,1,1,'INVUM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(86,1,1,'INVUMCOV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(87,1,1,'INUMCVLS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(88,1,1,'ICSTIDTL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(89,1,1,'ARNWCUST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(90,1,1,'ARSHIP2L',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(91,1,1,'ARSHIP2N',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(92,1,1,'ADMBNKMS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(93,1,1,'ARTRINED',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(94,1,1,'AREDSLDR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(95,1,1,'AREDCR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(96,1,1,'ARPAYEDT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(97,1,1,'PURORDER',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(98,1,1,'PURRCV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(99,1,1,'PURORDCF',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(100,1,1,'PURRCVC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(101,1,1,'GSPRJNW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(102,1,1,'ZKTSTGRP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(103,1,1,'ZKTSTNSB',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(104,1,1,'ZKTSTNSD',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(105,1,1,'ZKSTCNTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(106,1,1,'WKSTMSTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(107,1,1,'WCQCNTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(108,1,1,'APNEWSUP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(109,1,1,'APNWSHP2',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(110,1,1,'GLTRYECL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(111,1,1,'INVLOCTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(112,1,1,'INVSALEP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(113,1,1,'INVPURPR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(114,1,1,'INVITEMC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(115,1,1,'INVLOCTC',0,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(116,1,1,'INVITCC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(117,1,1,'INVSALC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(118,1,1,'INVPURCC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(119,1,1,'ItemDetR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(120,1,1,'INEDITEM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(121,1,1,'INNWITEM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(122,1,1,'PURSTSPL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(123,1,1,'PURSTUM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(124,1,1,'PURSTUMC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(125,1,1,'UMCONVNW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(126,1,1,'SOSTSLPC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(127,1,1,'PURORLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(128,1,1,'PURRCVLS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(129,1,1,'PUROUTGR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(130,1,1,'PUPRRPT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(131,1,1,'TERMNEW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(132,1,1,'APDRINVC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(133,1,1,'SOQUOT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(134,1,1,'SOTRNWSO',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(135,1,1,'SOTRDO',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(136,1,1,'DELCNFRM',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(137,1,1,'ZKTTRCAL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(138,1,1,'WKFCAL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(139,1,1,'ZKTRGPLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(140,1,1,'ZKRPCTRL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(141,1,1,'ZKRPNBLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(142,1,1,'ZKRPSMLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(143,1,1,'WKFLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(144,1,1,'WCQCTRNW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(145,1,1,'TXTRPROC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(146,1,1,'GST03',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(147,1,1,'gstrpt',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(148,1,1,'null',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(149,1,1,'GSTMSTR',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(150,1,1,'GSTTYPE',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(151,1,1,'GSTGROUP',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(152,1,1,'SOTRQOLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(153,1,1,'SORPPCLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(154,1,1,'SOTRDOLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(155,1,1,'SOTRSOLT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(156,1,1,'SORPSOCU',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(157,1,1,'SORPYRSL',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(158,1,1,'SORPSLIT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(159,1,1,'SORPORCT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(160,1,1,'SORPSOIT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(161,1,1,'SORPOROT',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(162,1,1,'ARCUSTAG',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(163,1,1,'GSTCLASS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(164,1,1,'TAXMSNW',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(165,1,1,'SOSLSPRC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(166,1,1,'ARCASH',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(167,1,1,'ARCASHSC',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(168,1,1,'OTRPAY',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(169,1,1,'OTHRCV',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(170,1,1,'OTRCVCON',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(171,1,1,'ARCSHS',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34'),(172,1,1,'OTRCVLST',1,1,'2015-11-24 11:26:34',1,'2015-11-24 11:26:34');
/*!40000 ALTER TABLE `user_module_access_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Temporary table structure for view `view_account_balance`
--

DROP TABLE IF EXISTS `view_account_balance`;
/*!50001 DROP VIEW IF EXISTS `view_account_balance`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_account_balance` (
  `companyID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `closing` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_ar_inventory`
--

DROP TABLE IF EXISTS `view_ar_inventory`;
/*!50001 DROP VIEW IF EXISTS `view_ar_inventory`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_ar_inventory` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `salesinvoiceDate` tinyint NOT NULL,
  `totalReceivable` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_ar_open_position`
--

DROP TABLE IF EXISTS `view_ar_open_position`;
/*!50001 DROP VIEW IF EXISTS `view_ar_open_position`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_ar_open_position` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `phoneNumber1` tinyint NOT NULL,
  `email` tinyint NOT NULL,
  `due120` tinyint NOT NULL,
  `due90` tinyint NOT NULL,
  `due60` tinyint NOT NULL,
  `due30` tinyint NOT NULL,
  `due0` tinyint NOT NULL,
  `pastDue30` tinyint NOT NULL,
  `pastDue60` tinyint NOT NULL,
  `pastDue90` tinyint NOT NULL,
  `pastDue120` tinyint NOT NULL,
  `pastDue` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_asset_report`
--

DROP TABLE IF EXISTS `view_asset_report`;
/*!50001 DROP VIEW IF EXISTS `view_asset_report`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_asset_report` (
  `acctID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceDr` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `balanceAsset` tinyint NOT NULL,
  `january` tinyint NOT NULL,
  `february` tinyint NOT NULL,
  `march` tinyint NOT NULL,
  `april` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `june` tinyint NOT NULL,
  `july` tinyint NOT NULL,
  `august` tinyint NOT NULL,
  `september` tinyint NOT NULL,
  `october` tinyint NOT NULL,
  `november` tinyint NOT NULL,
  `december` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_balance_sheet`
--

DROP TABLE IF EXISTS `view_balance_sheet`;
/*!50001 DROP VIEW IF EXISTS `view_balance_sheet`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_balance_sheet` (
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `currentyeardebit` tinyint NOT NULL,
  `currentyearcredit` tinyint NOT NULL,
  `lastyeardebit` tinyint NOT NULL,
  `lastyearcredit` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_bank_reconcile`
--

DROP TABLE IF EXISTS `view_bank_reconcile`;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_bank_reconcile` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `bankID` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `debitAmount` tinyint NOT NULL,
  `creditAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_bank_reconcile_reverse`
--

DROP TABLE IF EXISTS `view_bank_reconcile_reverse`;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile_reverse`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_bank_reconcile_reverse` (
  `bankReconcileID` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `bankID` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `debitAmount` tinyint NOT NULL,
  `creditAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_chart_of_acct_updateable`
--

DROP TABLE IF EXISTS `view_chart_of_acct_updateable`;
/*!50001 DROP VIEW IF EXISTS `view_chart_of_acct_updateable`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_chart_of_acct_updateable` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `acctDesc` tinyint NOT NULL,
  `updateable` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_comp_acc_det`
--

DROP TABLE IF EXISTS `view_comp_acc_det`;
/*!50001 DROP VIEW IF EXISTS `view_comp_acc_det`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_comp_acc_det` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `amountdr` tinyint NOT NULL,
  `amountcr` tinyint NOT NULL,
  `total` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `is_delete` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_customer_aging`
--

DROP TABLE IF EXISTS `view_customer_aging`;
/*!50001 DROP VIEW IF EXISTS `view_customer_aging`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_customer_aging` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `phoneNumber1` tinyint NOT NULL,
  `email` tinyint NOT NULL,
  `current` tinyint NOT NULL,
  `month1` tinyint NOT NULL,
  `month2` tinyint NOT NULL,
  `month3` tinyint NOT NULL,
  `month4` tinyint NOT NULL,
  `month5` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `month7` tinyint NOT NULL,
  `month8` tinyint NOT NULL,
  `month9` tinyint NOT NULL,
  `month10` tinyint NOT NULL,
  `month11` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_customer_statement`
--

DROP TABLE IF EXISTS `view_customer_statement`;
/*!50001 DROP VIEW IF EXISTS `view_customer_statement`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_customer_statement` (
  `ID` tinyint NOT NULL,
  `parent` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `refNo` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `dr` tinyint NOT NULL,
  `cr` tinyint NOT NULL,
  `seq` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_expence_and_income`
--

DROP TABLE IF EXISTS `view_expence_and_income`;
/*!50001 DROP VIEW IF EXISTS `view_expence_and_income`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_expence_and_income` (
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `groupID` tinyint NOT NULL,
  `acctType` tinyint NOT NULL,
  `totalDr` tinyint NOT NULL,
  `totalCr` tinyint NOT NULL,
  `balance` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_expences_monthly`
--

DROP TABLE IF EXISTS `view_expences_monthly`;
/*!50001 DROP VIEW IF EXISTS `view_expences_monthly`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_expences_monthly` (
  `companyid` tinyint NOT NULL,
  `formno` tinyint NOT NULL,
  `yy` tinyint NOT NULL,
  `mm` tinyint NOT NULL,
  `amountPaid` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gaf`
--

DROP TABLE IF EXISTS `view_gaf`;
/*!50001 DROP VIEW IF EXISTS `view_gaf`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gaf` (
  `companyID` tinyint NOT NULL,
  `col1` tinyint NOT NULL,
  `col2` tinyint NOT NULL,
  `col3` tinyint NOT NULL,
  `col4` tinyint NOT NULL,
  `col5` tinyint NOT NULL,
  `col6` tinyint NOT NULL,
  `col7` tinyint NOT NULL,
  `col8` tinyint NOT NULL,
  `col9` tinyint NOT NULL,
  `col10` tinyint NOT NULL,
  `col11` tinyint NOT NULL,
  `col12` tinyint NOT NULL,
  `col13` tinyint NOT NULL,
  `col14` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_grn_report`
--

DROP TABLE IF EXISTS `view_grn_report`;
/*!50001 DROP VIEW IF EXISTS `view_grn_report`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_grn_report` (
  `companyID` tinyint NOT NULL,
  `unitMesure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `poNo` tinyint NOT NULL,
  `PoDate` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `quantityOrder` tinyint NOT NULL,
  `total` tinyint NOT NULL,
  `totalRcv` tinyint NOT NULL,
  `QtyLeft` tinyint NOT NULL,
  `itemID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gst_03_summary`
--

DROP TABLE IF EXISTS `view_gst_03_summary`;
/*!50001 DROP VIEW IF EXISTS `view_gst_03_summary`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gst_03_summary` (
  `companyID` tinyint NOT NULL,
  `financialYear` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `totalA1` tinyint NOT NULL,
  `totalA2` tinyint NOT NULL,
  `totalB5a` tinyint NOT NULL,
  `totalB5b` tinyint NOT NULL,
  `totalB6a` tinyint NOT NULL,
  `totalB6b` tinyint NOT NULL,
  `totalB7` tinyint NOT NULL,
  `totalB8` tinyint NOT NULL,
  `totalC10` tinyint NOT NULL,
  `totalC11` tinyint NOT NULL,
  `totalC12` tinyint NOT NULL,
  `totalC13` tinyint NOT NULL,
  `totalC14` tinyint NOT NULL,
  `totalC15` tinyint NOT NULL,
  `totalC16` tinyint NOT NULL,
  `totalC17` tinyint NOT NULL,
  `totalMonth6` tinyint NOT NULL,
  `totalC18` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gst_report`
--

DROP TABLE IF EXISTS `view_gst_report`;
/*!50001 DROP VIEW IF EXISTS `view_gst_report`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gst_report` (
  `companyid` tinyint NOT NULL,
  `gstRegisteredDate` tinyint NOT NULL,
  `taxablePeriod` tinyint NOT NULL,
  `financialYear` tinyint NOT NULL,
  `startDate` tinyint NOT NULL,
  `endDate` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `A1` tinyint NOT NULL,
  `A2` tinyint NOT NULL,
  `B5a` tinyint NOT NULL,
  `B5b` tinyint NOT NULL,
  `B6a` tinyint NOT NULL,
  `B6b` tinyint NOT NULL,
  `B7` tinyint NOT NULL,
  `B8` tinyint NOT NULL,
  `C10` tinyint NOT NULL,
  `C11` tinyint NOT NULL,
  `C12` tinyint NOT NULL,
  `C13` tinyint NOT NULL,
  `C14` tinyint NOT NULL,
  `C15` tinyint NOT NULL,
  `C16` tinyint NOT NULL,
  `C17` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `C18` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gst_rpt_summary`
--

DROP TABLE IF EXISTS `view_gst_rpt_summary`;
/*!50001 DROP VIEW IF EXISTS `view_gst_rpt_summary`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gst_rpt_summary` (
  `companyID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `month` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `gst` tinyint NOT NULL,
  `amtExTax` tinyint NOT NULL,
  `amtTax` tinyint NOT NULL,
  `amtIncTax` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_gst_tax`
--

DROP TABLE IF EXISTS `view_gst_tax`;
/*!50001 DROP VIEW IF EXISTS `view_gst_tax`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_gst_tax` (
  `lineNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `taxClass` tinyint NOT NULL,
  `taxClassName` tinyint NOT NULL,
  `taxGroup` tinyint NOT NULL,
  `taxGroupName` tinyint NOT NULL,
  `taxType` tinyint NOT NULL,
  `taxTypeName` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `ref` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `gst` tinyint NOT NULL,
  `journalID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_inventory_statement`
--

DROP TABLE IF EXISTS `view_inventory_statement`;
/*!50001 DROP VIEW IF EXISTS `view_inventory_statement`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_inventory_statement` (
  `companyID` tinyint NOT NULL,
  `transactionDate` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `supplierCustomer` tinyint NOT NULL,
  `transactionCode` tinyint NOT NULL,
  `transactionType` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `location` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `quantityIn` tinyint NOT NULL,
  `quantityOut` tinyint NOT NULL,
  `updateable` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_inventory_transaction`
--

DROP TABLE IF EXISTS `view_inventory_transaction`;
/*!50001 DROP VIEW IF EXISTS `view_inventory_transaction`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_inventory_transaction` (
  `indexing` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `um` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `qtyIn` tinyint NOT NULL,
  `qtyOut` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_inventorylist_subtotal`
--

DROP TABLE IF EXISTS `view_inventorylist_subtotal`;
/*!50001 DROP VIEW IF EXISTS `view_inventorylist_subtotal`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_inventorylist_subtotal` (
  `companyid` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `locationid` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `category` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `stockValue` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_item_details`
--

DROP TABLE IF EXISTS `view_item_details`;
/*!50001 DROP VIEW IF EXISTS `view_item_details`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_item_details` (
  `companyid` tinyint NOT NULL,
  `itemid` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `locationid` tinyint NOT NULL,
  `onHandQty` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `location` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_item_quantityonhand`
--

DROP TABLE IF EXISTS `view_item_quantityonhand`;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_item_quantityonhand` (
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantityOnHand` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_item_quantityonhand_confirm`
--

DROP TABLE IF EXISTS `view_item_quantityonhand_confirm`;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand_confirm`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_item_quantityonhand_confirm` (
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantityOnHand` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_journal_table`
--

DROP TABLE IF EXISTS `view_journal_table`;
/*!50001 DROP VIEW IF EXISTS `view_journal_table`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_journal_table` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `journalID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_loan_report`
--

DROP TABLE IF EXISTS `view_loan_report`;
/*!50001 DROP VIEW IF EXISTS `view_loan_report`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_loan_report` (
  `acctID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `balanceLoan` tinyint NOT NULL,
  `newloan` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `january` tinyint NOT NULL,
  `february` tinyint NOT NULL,
  `march` tinyint NOT NULL,
  `april` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `june` tinyint NOT NULL,
  `july` tinyint NOT NULL,
  `august` tinyint NOT NULL,
  `september` tinyint NOT NULL,
  `october` tinyint NOT NULL,
  `november` tinyint NOT NULL,
  `december` tinyint NOT NULL,
  `lastPaymentDate` tinyint NOT NULL,
  `lastPaymentAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_open_ar_invoice`
--

DROP TABLE IF EXISTS `view_open_ar_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_open_ar_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_open_ar_invoice` (
  `companyID` tinyint NOT NULL,
  `salesInvoiceDate` tinyint NOT NULL,
  `salesYear` tinyint NOT NULL,
  `salesMonth` tinyint NOT NULL,
  `slsMonth` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_sales_monthly`
--

DROP TABLE IF EXISTS `view_sales_monthly`;
/*!50001 DROP VIEW IF EXISTS `view_sales_monthly`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_sales_monthly` (
  `companyID` tinyint NOT NULL,
  `yymm` tinyint NOT NULL,
  `yy` tinyint NOT NULL,
  `mm` tinyint NOT NULL,
  `totalreceived` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_sales_weekly`
--

DROP TABLE IF EXISTS `view_sales_weekly`;
/*!50001 DROP VIEW IF EXISTS `view_sales_weekly`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_sales_weekly` (
  `companyID` tinyint NOT NULL,
  `yy` tinyint NOT NULL,
  `mm` tinyint NOT NULL,
  `ww` tinyint NOT NULL,
  `totalreceived` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_salescreditnote`
--

DROP TABLE IF EXISTS `view_salescreditnote`;
/*!50001 DROP VIEW IF EXISTS `view_salescreditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_salescreditnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `doID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_salesdebitnote`
--

DROP TABLE IF EXISTS `view_salesdebitnote`;
/*!50001 DROP VIEW IF EXISTS `view_salesdebitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_salesdebitnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `doID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_search`
--

DROP TABLE IF EXISTS `view_search`;
/*!50001 DROP VIEW IF EXISTS `view_search`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_search` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `searchLink` tinyint NOT NULL,
  `searchKey` tinyint NOT NULL,
  `transDate` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_cash_sales`
--

DROP TABLE IF EXISTS `view_serial_comp_cash_sales`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_cash_sales`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_cash_sales` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_delivery_order`
--

DROP TABLE IF EXISTS `view_serial_comp_delivery_order`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_delivery_order`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_delivery_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_gst_transaction`
--

DROP TABLE IF EXISTS `view_serial_comp_gst_transaction`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_gst_transaction`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_gst_transaction` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_historical_customer_invoice`
--

DROP TABLE IF EXISTS `view_serial_comp_historical_customer_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_customer_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_historical_customer_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_historical_supplier_invoice`
--

DROP TABLE IF EXISTS `view_serial_comp_historical_supplier_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_historical_supplier_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_location_transfer`
--

DROP TABLE IF EXISTS `view_serial_comp_location_transfer`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_location_transfer`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_location_transfer` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_payment`
--

DROP TABLE IF EXISTS `view_serial_comp_payment`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_payment` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_payment_others`
--

DROP TABLE IF EXISTS `view_serial_comp_payment_others`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment_others`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_payment_others` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_purchase_order`
--

DROP TABLE IF EXISTS `view_serial_comp_purchase_order`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_purchase_order`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_purchase_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_quotation`
--

DROP TABLE IF EXISTS `view_serial_comp_quotation`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_quotation`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_quotation` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_receive_item`
--

DROP TABLE IF EXISTS `view_serial_comp_receive_item`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_item`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_receive_item` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_receive_payment`
--

DROP TABLE IF EXISTS `view_serial_comp_receive_payment`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_receive_payment` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_receive_payment_others`
--

DROP TABLE IF EXISTS `view_serial_comp_receive_payment_others`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment_others`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_receive_payment_others` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_sales_creditnote`
--

DROP TABLE IF EXISTS `view_serial_comp_sales_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_sales_creditnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_sales_debitnote`
--

DROP TABLE IF EXISTS `view_serial_comp_sales_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_sales_debitnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_sales_invoice`
--

DROP TABLE IF EXISTS `view_serial_comp_sales_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_sales_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_sales_order`
--

DROP TABLE IF EXISTS `view_serial_comp_sales_order`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_order`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_sales_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_supplier_creditnote`
--

DROP TABLE IF EXISTS `view_serial_comp_supplier_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_supplier_creditnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_supplier_debitnote`
--

DROP TABLE IF EXISTS `view_serial_comp_supplier_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_supplier_debitnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_serial_comp_supplier_invoice`
--

DROP TABLE IF EXISTS `view_serial_comp_supplier_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_serial_comp_supplier_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_sme_cash_flow`
--

DROP TABLE IF EXISTS `view_sme_cash_flow`;
/*!50001 DROP VIEW IF EXISTS `view_sme_cash_flow`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_sme_cash_flow` (
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceDr` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `january` tinyint NOT NULL,
  `february` tinyint NOT NULL,
  `march` tinyint NOT NULL,
  `april` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `june` tinyint NOT NULL,
  `july` tinyint NOT NULL,
  `august` tinyint NOT NULL,
  `september` tinyint NOT NULL,
  `october` tinyint NOT NULL,
  `november` tinyint NOT NULL,
  `december` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_sme_cash_tt_out`
--

DROP TABLE IF EXISTS `view_sme_cash_tt_out`;
/*!50001 DROP VIEW IF EXISTS `view_sme_cash_tt_out`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_sme_cash_tt_out` (
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceDr` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `january` tinyint NOT NULL,
  `february` tinyint NOT NULL,
  `march` tinyint NOT NULL,
  `april` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `june` tinyint NOT NULL,
  `july` tinyint NOT NULL,
  `august` tinyint NOT NULL,
  `september` tinyint NOT NULL,
  `october` tinyint NOT NULL,
  `november` tinyint NOT NULL,
  `december` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_supplier_aging`
--

DROP TABLE IF EXISTS `view_supplier_aging`;
/*!50001 DROP VIEW IF EXISTS `view_supplier_aging`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_supplier_aging` (
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `current` tinyint NOT NULL,
  `month1` tinyint NOT NULL,
  `month2` tinyint NOT NULL,
  `month3` tinyint NOT NULL,
  `month4` tinyint NOT NULL,
  `month5` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `month7` tinyint NOT NULL,
  `month8` tinyint NOT NULL,
  `month9` tinyint NOT NULL,
  `month10` tinyint NOT NULL,
  `month11` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_supplier_statement`
--

DROP TABLE IF EXISTS `view_supplier_statement`;
/*!50001 DROP VIEW IF EXISTS `view_supplier_statement`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_supplier_statement` (
  `ID` tinyint NOT NULL,
  `parent` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `refNo` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `dr` tinyint NOT NULL,
  `cr` tinyint NOT NULL,
  `seq` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_suppliercreditnote`
--

DROP TABLE IF EXISTS `view_suppliercreditnote`;
/*!50001 DROP VIEW IF EXISTS `view_suppliercreditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_suppliercreditnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `invoiceUm` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `receiveID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemname` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `receiveDetailID` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_supplierdebitnote`
--

DROP TABLE IF EXISTS `view_supplierdebitnote`;
/*!50001 DROP VIEW IF EXISTS `view_supplierdebitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_supplierdebitnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `receiveID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemname` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `receiveDetailID` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_sales_creditnote`
--

DROP TABLE IF EXISTS `view_total_comp_sales_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_sales_creditnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_sales_debitnote`
--

DROP TABLE IF EXISTS `view_total_comp_sales_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_sales_debitnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_sales_invoice`
--

DROP TABLE IF EXISTS `view_total_comp_sales_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_sales_invoice` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_supplier_creditnote`
--

DROP TABLE IF EXISTS `view_total_comp_supplier_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_supplier_creditnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_supplier_debitnote`
--

DROP TABLE IF EXISTS `view_total_comp_supplier_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_supplier_debitnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_comp_supplier_invoice`
--

DROP TABLE IF EXISTS `view_total_comp_supplier_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_comp_supplier_invoice` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_total_debitcredit`
--

DROP TABLE IF EXISTS `view_total_debitcredit`;
/*!50001 DROP VIEW IF EXISTS `view_total_debitcredit`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_total_debitcredit` (
  `ID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `openingBalanceDr` tinyint NOT NULL,
  `openingBalanceCr` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `totalDebit` tinyint NOT NULL,
  `totalCredit` tinyint NOT NULL,
  `balance` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_transaction_no_journal`
--

DROP TABLE IF EXISTS `view_transaction_no_journal`;
/*!50001 DROP VIEW IF EXISTS `view_transaction_no_journal`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_transaction_no_journal` (
  `transaction` tinyint NOT NULL,
  `id` tinyint NOT NULL,
  `companyid` tinyint NOT NULL,
  `formno` tinyint NOT NULL,
  `journalno` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_transaction_summary`
--

DROP TABLE IF EXISTS `view_transaction_summary`;
/*!50001 DROP VIEW IF EXISTS `view_transaction_summary`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_transaction_summary` (
  `tableName` tinyint NOT NULL,
  `transID` tinyint NOT NULL,
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `Jan` tinyint NOT NULL,
  `Feb` tinyint NOT NULL,
  `Mar` tinyint NOT NULL,
  `Apr` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `Jun` tinyint NOT NULL,
  `Jul` tinyint NOT NULL,
  `Aug` tinyint NOT NULL,
  `Sept` tinyint NOT NULL,
  `Oct` tinyint NOT NULL,
  `Nov` tinyint NOT NULL,
  `Dec` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ap_creditnote`
--

DROP TABLE IF EXISTS `view_unpost_ap_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ap_creditnote` (
  `supplier` tinyint NOT NULL,
  `creditnoteID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `supplierInvoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ap_debitnote`
--

DROP TABLE IF EXISTS `view_unpost_ap_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ap_debitnote` (
  `supplier` tinyint NOT NULL,
  `debitnoteID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ap_invoice`
--

DROP TABLE IF EXISTS `view_unpost_ap_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ap_invoice` (
  `supplier` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ar_creditnote`
--

DROP TABLE IF EXISTS `view_unpost_ar_creditnote`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_creditnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ar_creditnote` (
  `customer` tinyint NOT NULL,
  `salesinvoiceID` tinyint NOT NULL,
  `creditnoteID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `salesInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ar_debitnote`
--

DROP TABLE IF EXISTS `view_unpost_ar_debitnote`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_debitnote`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ar_debitnote` (
  `customer` tinyint NOT NULL,
  `salesinvoiceID` tinyint NOT NULL,
  `debitnoteID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `salesInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `currencyID` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ar_invoice`
--

DROP TABLE IF EXISTS `view_unpost_ar_invoice`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_invoice`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ar_invoice` (
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_ar_payment`
--

DROP TABLE IF EXISTS `view_unpost_ar_payment`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_ar_payment` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_cash_purchase`
--

DROP TABLE IF EXISTS `view_unpost_cash_purchase`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_purchase`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_cash_purchase` (
  `lineNo` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `othersPaymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `itemTypeID` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_cash_sale`
--

DROP TABLE IF EXISTS `view_unpost_cash_sale`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_sale`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_cash_sale` (
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `currencyID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_do`
--

DROP TABLE IF EXISTS `view_unpost_do`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_do`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_do` (
  `deliveryOrderID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_gst_transaction`
--

DROP TABLE IF EXISTS `view_unpost_gst_transaction`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_gst_transaction`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_gst_transaction` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_other_payment`
--

DROP TABLE IF EXISTS `view_unpost_other_payment`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_other_payment` (
  `othersPaymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_other_receive`
--

DROP TABLE IF EXISTS `view_unpost_other_receive`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_receive`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_other_receive` (
  `projectID` tinyint NOT NULL,
  `receiveFrom` tinyint NOT NULL,
  `otherReceiveID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_payment`
--

DROP TABLE IF EXISTS `view_unpost_payment`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_payment`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_payment` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_unpost_receive_item`
--

DROP TABLE IF EXISTS `view_unpost_receive_item`;
/*!50001 DROP VIEW IF EXISTS `view_unpost_receive_item`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_unpost_receive_item` (
  `receiveID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `transactionDate` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `exchangeRate` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `quantityReceived` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `amount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_wakaf_accrual`
--

DROP TABLE IF EXISTS `view_wakaf_accrual`;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_accrual`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_wakaf_accrual` (
  `companyID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view `view_wakaf_from_profit`
--

DROP TABLE IF EXISTS `view_wakaf_from_profit`;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_from_profit`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `view_wakaf_from_profit` (
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `acctType` tinyint NOT NULL,
  `totalDr` tinyint NOT NULL,
  `totalCr` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Table structure for table `wakaf`
--

DROP TABLE IF EXISTS `wakaf`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `waqifID` int(11) NOT NULL COMMENT 'link to mastercode',
  `wakafCenterID` int(11) NOT NULL,
  `allocation` tinyint(4) NOT NULL COMMENT '0=lumpsum,1=percentage',
  `periodYear` smallint(6) NOT NULL,
  `periodFrom` tinyint(4) NOT NULL,
  `periodTo` tinyint(4) NOT NULL,
  `amountAllocated` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf`
--

LOCK TABLES `wakaf` WRITE;
/*!40000 ALTER TABLE `wakaf` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_acrual`
--

DROP TABLE IF EXISTS `wakaf_acrual`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_acrual` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `salesAccountID` int(11) NOT NULL,
  `from` date NOT NULL,
  `to` date NOT NULL,
  `wakafPercent` decimal(10,0) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_acrual`
--

LOCK TABLES `wakaf_acrual` WRITE;
/*!40000 ALTER TABLE `wakaf_acrual` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_acrual` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_beneficiaries`
--

DROP TABLE IF EXISTS `wakaf_beneficiaries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_beneficiaries` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_beneficiaries`
--

LOCK TABLES `wakaf_beneficiaries` WRITE;
/*!40000 ALTER TABLE `wakaf_beneficiaries` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_beneficiaries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_center`
--

DROP TABLE IF EXISTS `wakaf_center`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_center` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(64) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `noTel` varchar(50) NOT NULL,
  `noFax` varchar(50) NOT NULL,
  `email` varchar(128) NOT NULL,
  `website` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_center`
--

LOCK TABLES `wakaf_center` WRITE;
/*!40000 ALTER TABLE `wakaf_center` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_center` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_details_allocation`
--

DROP TABLE IF EXISTS `wakaf_details_allocation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_details_allocation` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `wakafID` varchar(64) NOT NULL DEFAULT '0',
  `accountID` int(11) NOT NULL,
  `saleAmount` double NOT NULL,
  `contributionPercentage` double NOT NULL,
  `amount` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_details_allocation`
--

LOCK TABLES `wakaf_details_allocation` WRITE;
/*!40000 ALTER TABLE `wakaf_details_allocation` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_details_allocation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_details_distribution`
--

DROP TABLE IF EXISTS `wakaf_details_distribution`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_details_distribution` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `wakafID` varchar(64) NOT NULL DEFAULT '0',
  `beneficiariesID` int(11) NOT NULL,
  `description` varchar(128) NOT NULL,
  `contributionPercentage` double NOT NULL,
  `amount` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_details_distribution`
--

LOCK TABLES `wakaf_details_distribution` WRITE;
/*!40000 ALTER TABLE `wakaf_details_distribution` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_details_distribution` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wakaf_master`
--

DROP TABLE IF EXISTS `wakaf_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wakaf_master` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '0',
  `waqif` varchar(64) NOT NULL DEFAULT '0',
  `category` varchar(24) NOT NULL,
  `allocationID` int(11) NOT NULL,
  `beneficiariesID` int(11) NOT NULL,
  `description` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wakaf_master`
--

LOCK TABLES `wakaf_master` WRITE;
/*!40000 ALTER TABLE `wakaf_master` DISABLE KEYS */;
/*!40000 ALTER TABLE `wakaf_master` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `web`
--

DROP TABLE IF EXISTS `web`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `web` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `userID` varchar(64) NOT NULL,
  `namaSyarikat` varchar(32) NOT NULL,
  `mukaDepan` longtext,
  `menu1` varchar(32) NOT NULL,
  `menu2` varchar(32) NOT NULL,
  `menu3` varchar(32) NOT NULL,
  `menu4` varchar(32) NOT NULL,
  `menu5` varchar(32) NOT NULL,
  `menu1Link` varchar(64) NOT NULL,
  `menu2Link` varchar(64) NOT NULL,
  `menu3Link` varchar(64) NOT NULL,
  `menu4Link` varchar(64) NOT NULL,
  `menu5Link` varchar(64) NOT NULL,
  `selamatDatang` varchar(32) NOT NULL,
  `moto` varchar(128) NOT NULL,
  `linkLabel` varchar(32) NOT NULL,
  `link` varchar(64) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `mengapaTajuk` varchar(32) NOT NULL,
  `mengapaKeterangan` text NOT NULL,
  `mengapa1` varchar(32) NOT NULL,
  `mengapa12` text NOT NULL,
  `mengapa2` varchar(32) NOT NULL,
  `mengapa22` text NOT NULL,
  `mengapa3` varchar(32) NOT NULL,
  `mengapa32` text NOT NULL,
  `mengapa4` varchar(32) NOT NULL,
  `mengapa42` text NOT NULL,
  `mengapa5` varchar(32) NOT NULL,
  `mengapa52` text NOT NULL,
  `mengapa6` varchar(32) NOT NULL,
  `mengapa62` text NOT NULL,
  `portfolio` varchar(32) NOT NULL,
  `portfolioSub` varchar(128) NOT NULL,
  `portfolio1` varchar(32) NOT NULL,
  `portfolioSub1` varchar(128) NOT NULL,
  `portfolio2` varchar(32) NOT NULL,
  `portfolioSub2` varchar(128) NOT NULL,
  `portfolio3` varchar(32) NOT NULL,
  `portfolioSub3` varchar(128) NOT NULL,
  `portfolio4` varchar(32) NOT NULL,
  `portfolioSub4` varchar(128) NOT NULL,
  `portfolio5` varchar(32) NOT NULL,
  `portfolioSub5` varchar(128) NOT NULL,
  `portfolio6` varchar(32) NOT NULL,
  `portfolioSub6` varchar(128) NOT NULL,
  `portfolioImage1` longtext,
  `portfolioImage2` longtext,
  `portfolioImage3` longtext,
  `portfolioImage4` longtext,
  `portfolioImage5` longtext,
  `portfolioImage6` longtext,
  `portfolioText1` text NOT NULL,
  `portfolioText2` text NOT NULL,
  `portfolioText3` text NOT NULL,
  `portfolioText4` text NOT NULL,
  `portfolioText5` text NOT NULL,
  `portfolioText6` text NOT NULL,
  `about` varchar(32) NOT NULL,
  `aboutSub` varchar(128) NOT NULL,
  `aboutText` text NOT NULL,
  `about1` varchar(32) NOT NULL,
  `aboutSub1` varchar(128) NOT NULL,
  `aboutText1` text NOT NULL,
  `about2` varchar(32) NOT NULL,
  `aboutSub2` varchar(128) NOT NULL,
  `aboutText2` text NOT NULL,
  `about3` varchar(32) NOT NULL,
  `aboutSub3` varchar(128) NOT NULL,
  `aboutText3` text NOT NULL,
  `about4` varchar(32) NOT NULL,
  `aboutSub4` varchar(128) NOT NULL,
  `aboutText4` text NOT NULL,
  `aboutImage1` longtext,
  `aboutImage2` longtext,
  `aboutImage3` longtext,
  `aboutImage4` longtext,
  `aboutBulat` varchar(32) NOT NULL,
  `team` varchar(32) NOT NULL,
  `teamSub` varchar(128) NOT NULL,
  `teamFb` varchar(64) NOT NULL,
  `team1` varchar(32) NOT NULL,
  `teamSub1` varchar(128) NOT NULL,
  `teamFb1` varchar(64) NOT NULL,
  `team2` varchar(32) NOT NULL,
  `teamSub2` varchar(128) NOT NULL,
  `teamFb2` varchar(64) NOT NULL,
  `team3` varchar(32) NOT NULL,
  `teamSub3` varchar(128) NOT NULL,
  `teamFb3` varchar(64) NOT NULL,
  `teamTw1` varchar(64) NOT NULL,
  `teamTw2` varchar(64) NOT NULL,
  `teamTw3` varchar(64) NOT NULL,
  `teamLn1` varchar(64) NOT NULL,
  `teamLn2` varchar(64) NOT NULL,
  `teamLn3` varchar(64) NOT NULL,
  `teamImage1` longtext,
  `teamImage2` longtext,
  `teamImage3` longtext,
  `teamBawah` varchar(128) NOT NULL,
  `clientImage1` longtext,
  `clientImage2` longtext,
  `clientImage3` longtext,
  `clientImage4` longtext,
  `clientLink1` varchar(128) NOT NULL,
  `clientLink2` varchar(128) NOT NULL,
  `clientLink3` varchar(128) NOT NULL,
  `clientLink4` varchar(128) NOT NULL,
  `hubungiKami` text NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `companyid` (`companyID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `web`
--

LOCK TABLES `web` WRITE;
/*!40000 ALTER TABLE `web` DISABLE KEYS */;
INSERT INTO `web` VALUES (1,0,'11','SPS Lite','','Mengapa SPS Lite ?','Ciri-ciri','Testimoni','Langgan SPS Lite','Hubungi Kami','#services','#portfolio','#about-section','#team-section','#contact','Selamat Datang ke SPS Lite','Memudahkan Perniagaan Anda','Free Trial / Login','http://demo.spslite.my/login',0,0,'2016-07-20 11:36:48','Mengapa SPS Lite?','Mengapa SPS Lite','Responsif','Responsive dengan semua device termasuk tablet dan smartphone','Dwibahasa','Dalam Bahasa Malaysia dan Inggeris','Mesra Pengguna','','Untung dan Rugi','Laporan Untung dan Rugi semudah ABC','Kewangan','Laporan Kewangan semudah ABC','Pengkomputeran Awam','Membawa anda ke era Digital','Perkhidmatan Kami','Contoh-contoh Skrin dan Laporan','Jualan','Rekod Jualan','Perbelanjaan','Rekod Perbelanjaan','Umum','Ketetapan Umum','Laporan','Contoh-contoh laporan','Tetapan','Ketetapan setup Pentadbir','Pautan','Pautan Tambahan','','','','','','','','','','','','','testimoni','','','','','','','','','','','','','','','','','','','','Team Kami','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','Untuk melanggan SPS Lite, hubungi kami di talian +03-6185 9970 atau emel ke info@salihinpremier.com.');
/*!40000 ALTER TABLE `web` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_center`
--

DROP TABLE IF EXISTS `zakat_center`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_center` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(64) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `noTel` varchar(50) NOT NULL,
  `noFax` varchar(50) NOT NULL,
  `email` varchar(128) NOT NULL,
  `website` varchar(128) NOT NULL,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_center`
--

LOCK TABLES `zakat_center` WRITE;
/*!40000 ALTER TABLE `zakat_center` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_center` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_details`
--

DROP TABLE IF EXISTS `zakat_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `zakatSummaryID` int(11) NOT NULL,
  `acctGroup` varchar(64) DEFAULT NULL,
  `desc` varchar(64) DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_details`
--

LOCK TABLES `zakat_details` WRITE;
/*!40000 ALTER TABLE `zakat_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_group`
--

DROP TABLE IF EXISTS `zakat_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '1',
  `name` varchar(50) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `parentID` int(11) DEFAULT '0',
  `sequence` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_group`
--

LOCK TABLES `zakat_group` WRITE;
/*!40000 ALTER TABLE `zakat_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_group_details`
--

DROP TABLE IF EXISTS `zakat_group_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_group_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '1',
  `groupID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_group_details`
--

LOCK TABLES `zakat_group_details` WRITE;
/*!40000 ALTER TABLE `zakat_group_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_group_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_nisab`
--

DROP TABLE IF EXISTS `zakat_nisab`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_nisab` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '0',
  `centerID` int(11) DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `nisab` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_nisab`
--

LOCK TABLES `zakat_nisab` WRITE;
/*!40000 ALTER TABLE `zakat_nisab` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_nisab` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `zakat_summary`
--

DROP TABLE IF EXISTS `zakat_summary`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `zakat_summary` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '1',
  `centerID` int(11) NOT NULL DEFAULT '1',
  `year` varchar(4) DEFAULT NULL,
  `calculationMethod` varchar(32) NOT NULL,
  `muslimOwnershipShare` double NOT NULL,
  `nisab` double NOT NULL,
  `netCurrentAsset` double NOT NULL,
  `totalDueForZakat` double NOT NULL,
  `zakatPayableForTheYear` double NOT NULL,
  `monthlyZakatPayable` double NOT NULL,
  `totalAmount` double DEFAULT NULL,
  `totalZakatPaid` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `zakat_summary`
--

LOCK TABLES `zakat_summary` WRITE;
/*!40000 ALTER TABLE `zakat_summary` DISABLE KEYS */;
/*!40000 ALTER TABLE `zakat_summary` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Final view structure for view `view_account_balance`
--

/*!50001 DROP TABLE IF EXISTS `view_account_balance`*/;
/*!50001 DROP VIEW IF EXISTS `view_account_balance`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_account_balance` AS select `a`.`companyID` AS `companyID`,`a`.`acctID` AS `acctID`,concat(left(`b`.`acctCode`,4),'-',substr(`b`.`acctCode`,4,3),'-',right(`b`.`acctCode`,2),' ',`b`.`acctName`) AS `acctName`,`a`.`year` AS `year`,`a`.`period` AS `period`,sum(`a`.`total`) AS `closing` from (`comp_acc_det` `a` join `comp_chart_of_acct` `b`) where (`b`.`ID` = `a`.`acctID`) group by `a`.`companyID`,`a`.`acctID`,`b`.`acctName`,`a`.`year`,`a`.`period` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_ar_inventory`
--

/*!50001 DROP TABLE IF EXISTS `view_ar_inventory`*/;
/*!50001 DROP VIEW IF EXISTS `view_ar_inventory`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_ar_inventory` AS select `comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`customerID` AS `customerID`,concat(`comp_sales_invoice`.`formNo`,'[',convert(lpad(`comp_sales_invoice`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`comp_sales_invoice`.`salesInvoiceDate` AS `salesinvoiceDate`,`comp_sales_invoice`.`totalReceivable` AS `totalReceivable` from `comp_sales_invoice` where (`comp_sales_invoice`.`totalReceivable` > 0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_ar_open_position`
--

/*!50001 DROP TABLE IF EXISTS `view_ar_open_position`*/;
/*!50001 DROP VIEW IF EXISTS `view_ar_open_position`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_ar_open_position` AS select `a`.`companyID` AS `companyID`,`a`.`ID` AS `customerID`,`a`.`customerName` AS `customerName`,`a`.`phoneNumber1` AS `phoneNumber1`,`a`.`email` AS `email`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= -(90)))) AS `due120`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > -(90)) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= -(60)))) AS `due90`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > -(60)) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= -(30)))) AS `due60`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > -(30)) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= -(5)))) AS `due30`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > -(5)) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 5))) AS `due0`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 5) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 30))) AS `pastDue30`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 30) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 60))) AS `pastDue60`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 60) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 90))) AS `pastDue90`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 90) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) <= 120))) AS `pastDue120`,(select sum(`inv`.`totalReceivable`) from (`comp_sales_invoice` `inv` join `terms`) where ((`inv`.`termsID` = `terms`.`ID`) and (`inv`.`companyID` = `a`.`companyID`) and (`inv`.`customerID` = `a`.`ID`) and ((timestampdiff(DAY,`inv`.`salesInvoiceDate`,now()) - `terms`.`dueDays`) > 120))) AS `pastDue` from `customer` `a` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_asset_report`
--

/*!50001 DROP TABLE IF EXISTS `view_asset_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_asset_report`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_asset_report` AS select `a`.`ID` AS `acctID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),`a`.`openingBalanceDr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`ID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` - 1) = `c`.`year`))),0)) AS `openingBalanceDr`,`a`.`openingBalanceCr` AS `openingBalanceCr`,`c`.`year` AS `year`,(if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),`a`.`openingBalanceDr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`ID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` - 1) = `c`.`year`))),0)) + ifnull(sum(if((`c`.`formNo` like '%OP-A%'),`c`.`amount_dr`,0)),0)) AS `balanceAsset`,ifnull(sum(if((`c`.`period` = 1),`c`.`amount_dr`,0)),0) AS `january`,ifnull(sum(if((`c`.`period` = 2),`c`.`amount_dr`,0)),0) AS `february`,ifnull(sum(if((`c`.`period` = 3),`c`.`amount_dr`,0)),0) AS `march`,ifnull(sum(if((`c`.`period` = 4),`c`.`amount_dr`,0)),0) AS `april`,ifnull(sum(if((`c`.`period` = 5),`c`.`amount_dr`,0)),0) AS `may`,ifnull(sum(if((`c`.`period` = 6),`c`.`amount_dr`,0)),0) AS `june`,ifnull(sum(if((`c`.`period` = 7),`c`.`amount_dr`,0)),0) AS `july`,ifnull(sum(if((`c`.`period` = 8),`c`.`amount_dr`,0)),0) AS `august`,ifnull(sum(if((`c`.`period` = 9),`c`.`amount_dr`,0)),0) AS `september`,ifnull(sum(if((`c`.`period` = 10),`c`.`amount_dr`,0)),0) AS `october`,ifnull(sum(if((`c`.`period` = 11),`c`.`amount_dr`,0)),0) AS `november`,ifnull(sum(if((`c`.`period` = 12),`c`.`amount_dr`,0)),0) AS `december` from ((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`)))) where ((`a`.`is_delete` = 0) and (`b`.`is_delete` = 0) and (`a`.`acctGroupID` = 2)) group by `a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`c`.`year` having ((`openingBalanceDr` > 0) or (`balanceAsset` > 0) or ((((((((((((`january` + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_balance_sheet`
--

/*!50001 DROP TABLE IF EXISTS `view_balance_sheet`*/;
/*!50001 DROP VIEW IF EXISTS `view_balance_sheet`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_balance_sheet` AS select `a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,`a`.`acctGroupID` AS `acctGroupID`,sum(`b`.`amountdr`) AS `currentyeardebit`,sum(`b`.`amountcr`) AS `currentyearcredit`,sum(`c`.`amountdr`) AS `lastyeardebit`,sum(`c`.`amountcr`) AS `lastyearcredit` from ((`comp_chart_of_acct` `a` left join `comp_acc_det` `b` on(((`b`.`acctID` = `a`.`ID`) and (`b`.`year` = 2014) and (`b`.`period` <= 9)))) left join `comp_acc_det` `c` on(((`c`.`acctID` = `a`.`ID`) and (`c`.`year` < 2014)))) where (`a`.`companyID` = '110') group by `a`.`acctCode` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_bank_reconcile`
--

/*!50001 DROP TABLE IF EXISTS `view_bank_reconcile`*/;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_bank_reconcile` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_cash_sales' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`salesInvoiceDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`paymentFrom` AS `description`,`a`.`totalAmountIncludeTax` AS `debitAmount`,0 AS `creditAmount` from (`comp_cash_sales` `a` join `comp_journal` `b` on((convert(`a`.`journalNo` using utf8) = `b`.`journalID`))) where ((`a`.`bankReconcileID` = 0) and (`b`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`customerName` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from ((`comp_receive_payment` `a` join `comp_journal` `c` on((convert(`a`.`journalNo` using utf8) = `c`.`journalID`))) join `customer` `b`) where ((`a`.`bankReconcileID` = 0) and (`a`.`customerID` = `b`.`ID`) and (`c`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment_others' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`receiveFrom` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from (`comp_receive_payment_others` `a` join `comp_journal` `c` on((convert(`a`.`journalNo` using utf8) = `c`.`journalID`))) where ((`a`.`bankReconcileID` = 0) and (`c`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`supplierName` AS `description`,0 AS `debitAmount`,`a`.`totalPaid` AS `creditAmount` from ((`comp_payment` `a` join `comp_journal` `c` on((convert(`a`.`journalNo` using utf8) = `c`.`journalID`))) join `supplier` `b`) where ((`a`.`bankReconcileID` = 0) and (`a`.`supplierID` = `b`.`ID`) and (`c`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment_others' AS `tableName`,`a`.`bankId` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`payTo` AS `description`,0 AS `debitAmount`,`a`.`amountPaid` AS `creditAmount` from (`comp_payment_others` `a` join `comp_journal` `c` on((convert(`a`.`journalNo` using utf8) = `c`.`journalID`))) where ((`a`.`bankReconcileID` = 0) and (`c`.`status` = 1)) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_journal_detail' AS `tableName`,`b`.`ID` AS `bankID`,`c`.`referrence` AS `referenceNo`,`c`.`effective_date` AS `transDate`,`a`.`journalID` AS `formNo`,`a`.`description` AS `description`,`a`.`amount_dr` AS `debitAmount`,`a`.`amount_cr` AS `creditAmount` from ((`comp_journal_detail` `a` left join `comp_bank` `b` on((`a`.`acctCode` = `b`.`linkAccountID`))) left join `comp_journal` `c` on((`c`.`journalID` = `a`.`journalID`))) where ((`a`.`bankReconcileID` = 0) and isnull(`a`.`formNo`) and (`c`.`status` = 1) and (`c`.`module` = 1)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_bank_reconcile_reverse`
--

/*!50001 DROP TABLE IF EXISTS `view_bank_reconcile_reverse`*/;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile_reverse`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_bank_reconcile_reverse` AS select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_cash_sales' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`salesInvoiceDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`paymentFrom` AS `description`,`a`.`totalAmountIncludeTax` AS `debitAmount`,0 AS `creditAmount` from `comp_cash_sales` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`customerName` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from (`comp_receive_payment` `a` join `customer` `b`) where ((`a`.`bankReconcileID` <> 0) and (`a`.`customerID` = `b`.`ID`)) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment_others' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`receiveFrom` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from `comp_receive_payment_others` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment_others' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`receiveFrom` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from `comp_receive_payment_others` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`supplierName` AS `description`,0 AS `debitAmount`,`a`.`totalPaid` AS `creditAmount` from (`comp_payment` `a` join `supplier` `b`) where ((`a`.`bankReconcileID` <> 0) and (`a`.`supplierID` = `b`.`ID`)) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment_others' AS `tableName`,`a`.`bankId` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`payTo` AS `description`,0 AS `debitAmount`,`a`.`amountPaid` AS `creditAmount` from `comp_payment_others` `a` where (`a`.`bankReconcileID` <> 0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_chart_of_acct_updateable`
--

/*!50001 DROP TABLE IF EXISTS `view_chart_of_acct_updateable`*/;
/*!50001 DROP VIEW IF EXISTS `view_chart_of_acct_updateable`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_chart_of_acct_updateable` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,`a`.`acctDesc` AS `acctDesc`,if((((select count(`comp_journal_detail`.`ID`) from `comp_journal_detail` where (`comp_journal_detail`.`acctCode` = `a`.`ID`)) + (select count(`comp_opening_balance`.`ID`) from `comp_opening_balance` where ((`comp_opening_balance`.`accountID` = `a`.`ID`) and ((`comp_opening_balance`.`debit` + `comp_opening_balance`.`credit`) > 0)))) > 0),10,1) AS `updateable` from `comp_chart_of_acct` `a` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_comp_acc_det`
--

/*!50001 DROP TABLE IF EXISTS `view_comp_acc_det`*/;
/*!50001 DROP VIEW IF EXISTS `view_comp_acc_det`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_comp_acc_det` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctID` AS `acctID`,`a`.`year` AS `year`,`a`.`period` AS `period`,(select coalesce(sum(`comp_journal_detail`.`amount_dr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`companyID` = `a`.`companyID`) and (`comp_journal_detail`.`acctCode` = `a`.`acctID`) and (`comp_journal_detail`.`period` = `a`.`period`) and (`comp_journal_detail`.`year` = `a`.`year`) and (`comp_journal_detail`.`status` = 1) and (`comp_journal_detail`.`is_delete` = 0))) AS `amountdr`,(select coalesce(sum(`comp_journal_detail`.`amount_cr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`companyID` = `a`.`companyID`) and (`comp_journal_detail`.`acctCode` = `a`.`acctID`) and (`comp_journal_detail`.`period` = `a`.`period`) and (`comp_journal_detail`.`year` = `a`.`year`) and (`comp_journal_detail`.`status` = 1) and (`comp_journal_detail`.`is_delete` = 0))) AS `amountcr`,(select (coalesce(sum(`comp_journal_detail`.`amount_dr`),0) - coalesce(sum(`comp_journal_detail`.`amount_cr`),0)) from `comp_journal_detail` where ((`comp_journal_detail`.`companyID` = `a`.`companyID`) and (`comp_journal_detail`.`acctCode` = `a`.`acctID`) and (`comp_journal_detail`.`period` = `a`.`period`) and (`comp_journal_detail`.`year` = `a`.`year`) and (`comp_journal_detail`.`status` = 1) and (`comp_journal_detail`.`is_delete` = 0))) AS `total`,`a`.`createdBy` AS `createdBy`,`a`.`createdTS` AS `createdTS`,`a`.`updatedBy` AS `updatedBy`,`a`.`updatedTS` AS `updatedTS`,`a`.`is_delete` AS `is_delete` from `comp_acc_det` `a` where ((`a`.`companyID` > 0) and (`a`.`acctID` > 0) and (`a`.`year` > 0) and (`a`.`period` > 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_customer_aging`
--

/*!50001 DROP TABLE IF EXISTS `view_customer_aging`*/;
/*!50001 DROP VIEW IF EXISTS `view_customer_aging`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_customer_aging` AS select `a`.`companyID` AS `companyID`,`a`.`ID` AS `customerID`,`a`.`customerName` AS `customerName`,`a`.`phoneNumber1` AS `phoneNumber1`,`a`.`email` AS `email`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 0) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 0) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 0) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `current`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 1) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 1) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 1) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month1`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 2) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 2) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 2) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month2`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 3) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 3) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 3) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month3`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 4) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 4) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 4) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month4`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 5) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 5) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 5) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month5`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 6) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 6) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 6) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month6`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 7) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 7) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 7) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month7`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 8) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 8) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 8) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month8`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 9) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 9) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 9) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month9`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 10) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) = 10) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) = 10) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month10`,((ifnull((select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) > 10) and (`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_sales_debitnote`.`total`) from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`companyID` = `a`.`companyID`) and (`comp_sales_debitnote`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_debitnote`.`debitNoteDate`,now()) > 10) and (`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_customer_invoice`.`totalReceivable`) from `comp_historical_customer_invoice` where ((`comp_historical_customer_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_customer_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_customer_invoice`.`salesInvoiceDate`,now()) > 10) and (`comp_historical_customer_invoice`.`updateAble` = 0) and (`comp_historical_customer_invoice`.`is_delete` = 0))),0)) AS `month11` from `customer` `a` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_customer_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_customer_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_customer_statement`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_customer_statement` AS select `comp_sales_invoice`.`ID` AS `ID`,`comp_sales_invoice`.`ID` AS `parent`,`comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`customerID` AS `customerID`,'Invoice' AS `transType`,`comp_sales_invoice`.`salesInvoiceDate` AS `transDate`,`comp_sales_invoice`.`customerPoNo` AS `refNo`,concat(concat(concat(`comp_sales_invoice`.`formNo`,'['),convert(lpad(`comp_sales_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`comp_sales_invoice`.`totalamount` AS `dr`,NULL AS `cr`,1 AS `seq` from `comp_sales_invoice` where ((`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0)) union select `a`.`ID` AS `ID`,`a`.`salesInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,'DebitNote' AS `transType`,`a`.`debitNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`totalAmount` AS `dr`,NULL AS `cr`,2 AS `seq` from (`comp_sales_debitnote` `a` join `comp_sales_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`b`.`ID` = `a`.`salesInvoiceID`)) union select `a`.`ID` AS `ID`,`a`.`salesInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,'CreditNote' AS `transType`,`a`.`creditNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`totalAmount` AS `cr`,3 AS `seq` from (`comp_sales_creditnote` `a` join `comp_sales_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`b`.`ID` = `a`.`salesInvoiceID`)) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,if((`b`.`updateAble` = 0),'Payment','** Payment') AS `transType`,`b`.`receivePaymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`b`.`totalReceived` AS `cr`,4 AS `seq` from `comp_receive_payment` `b` where (`b`.`is_delete` = 0) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,'Discount' AS `transType`,`b`.`receivePaymentDate` AS `transDate`,NULL AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`b`.`totalDiscount` AS `cr`,4 AS `seq` from `comp_receive_payment` `b` where ((`b`.`totalDiscount` > 0) and (`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,'Historical Invoice' AS `transType`,`b`.`salesInvoiceDate` AS `transDate`,NULL AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`totalAmount` AS `dr`,NULL AS `cr`,1 AS `seq` from `comp_historical_customer_invoice` `b` where ((`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_expence_and_income`
--

/*!50001 DROP TABLE IF EXISTS `view_expence_and_income`*/;
/*!50001 DROP VIEW IF EXISTS `view_expence_and_income`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_expence_and_income` AS select `a`.`companyID` AS `companyid`,`a`.`year` AS `year`,`a`.`period` AS `period`,`c`.`ID` AS `groupID`,`c`.`acctTypeID` AS `acctType`,coalesce(sum(`a`.`amountdr`),0) AS `totalDr`,coalesce(sum(`a`.`amountcr`),0) AS `totalCr`,if((`c`.`acctTypeID` = 3),(coalesce(sum(`a`.`amountcr`),0) - coalesce(sum(`a`.`amountdr`),0)),(coalesce(sum(`a`.`amountdr`),0) - coalesce(sum(`a`.`amountcr`),0))) AS `balance` from ((`view_comp_acc_det` `a` join `comp_chart_of_acct` `b`) join `_ref_acct_group` `c`) where ((`b`.`ID` = `a`.`acctID`) and (`c`.`ID` = `b`.`acctGroupID`) and (`c`.`acctTypeID` in (3,4)) and (`c`.`title` = 1) and (`a`.`period` > 0) and (`b`.`companyID` > 0)) group by `a`.`companyID`,`a`.`year`,`a`.`period`,`acctType` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_expences_monthly`
--

/*!50001 DROP TABLE IF EXISTS `view_expences_monthly`*/;
/*!50001 DROP VIEW IF EXISTS `view_expences_monthly`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_expences_monthly` AS select `comp_payment_others`.`companyID` AS `companyid`,`comp_payment_others`.`formNo` AS `formno`,year(`comp_payment_others`.`paymentDate`) AS `yy`,month(`comp_payment_others`.`paymentDate`) AS `mm`,sum(`comp_payment_others`.`amountPaid`) AS `amountPaid` from `comp_payment_others` group by `comp_payment_others`.`companyID`,`comp_payment_others`.`formNo`,year(`comp_payment_others`.`paymentDate`),month(`comp_payment_others`.`paymentDate`) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gaf`
--

/*!50001 DROP TABLE IF EXISTS `view_gaf`*/;
/*!50001 DROP VIEW IF EXISTS `view_gaf`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gaf` AS select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`invoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_invoice` `b`) join `comp_supplier_invoice_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`invoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_invoice` `b`) join `comp_supplier_invoice_charges` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`debitNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_debitnote` `b`) join `comp_supplier_debitnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`debitnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`creditNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_creditnote` `b`) join `comp_supplier_creditnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`creditnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`salesInvoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`g`.`description` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((((`customer` `a` join `comp_sales_invoice` `b`) join `comp_sales_invoice_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) join `item` `g`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`) and (`g`.`ID` = `c`.`itemID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`salesInvoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`chargeDescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_invoice` `b`) join `comp_sales_invoice_charges` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`debitNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`itemdescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_debitnote` `b`) join `comp_sales_debitnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`debitnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`creditNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`itemdescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_creditnote` `b`) join `comp_sales_creditnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`creditnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_grn_report`
--

/*!50001 DROP TABLE IF EXISTS `view_grn_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_grn_report`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_grn_report` AS select `po`.`companyID` AS `companyID`,`um`.`code` AS `unitMesure`,`podet`.`ID` AS `ID`,`i`.`itemCode` AS `itemCode`,`i`.`name` AS `itemName`,concat(`po`.`formNo`,'[',convert(lpad(`po`.`serialNo`,8,0) using latin1),']') AS `poNo`,date_format(`po`.`poDate`,'%d-%m-%Y') AS `PoDate`,`podet`.`unitPrice` AS `unitPrice`,`podet`.`quantityOrder` AS `quantityOrder`,((`podet`.`quantityOrder` - `podet`.`quantityReceivedTotal`) * `podet`.`unitPrice`) AS `total`,sum(round((`ridet`.`quantityReceived` / ifnull(`umconv`.`factor`,1)),0)) AS `totalRcv`,(`podet`.`quantityOrder` - ifnull(sum(round((`ridet`.`quantityReceived` / ifnull(`umconv`.`factor`,1)),0)),0)) AS `QtyLeft`,`podet`.`itemID` AS `itemID` from ((((((`comp_purchase_order_detail` `podet` left join `comp_purchase_order` `po` on((`po`.`ID` = `podet`.`purchaseOrderID`))) left join `comp_receive_item_detail` `ridet` on((`ridet`.`poDetailID` = `podet`.`ID`))) left join `comp_receive_item` `ri` on((`ri`.`ID` = `ridet`.`receiveID`))) left join `item` `i` on((`i`.`ID` = `podet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `podet`.`umID`))) left join `_sys_um_conv` `umconv` on(((`umconv`.`itemID` = `podet`.`itemID`) and (`umconv`.`from_um` = `ridet`.`standUM`) and (`umconv`.`to_um` = `ridet`.`umID`) and (`umconv`.`companyID` = `po`.`companyID`)))) where ((`po`.`updateAble` = 0) and (`ri`.`updateAble` = 0)) group by `podet`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gst_03_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_03_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_03_summary`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_03_summary` AS select `view_gst_report`.`companyid` AS `companyID`,`view_gst_report`.`financialYear` AS `financialYear`,`view_gst_report`.`period` AS `period`,sum(`view_gst_report`.`A1`) AS `totalA1`,sum(`view_gst_report`.`A2`) AS `totalA2`,sum(`view_gst_report`.`B5a`) AS `totalB5a`,sum(`view_gst_report`.`B5b`) AS `totalB5b`,sum(`view_gst_report`.`B6a`) AS `totalB6a`,sum(`view_gst_report`.`B6b`) AS `totalB6b`,sum(`view_gst_report`.`B7`) AS `totalB7`,sum(`view_gst_report`.`B8`) AS `totalB8`,sum(`view_gst_report`.`C10`) AS `totalC10`,sum(`view_gst_report`.`C11`) AS `totalC11`,sum(`view_gst_report`.`C12`) AS `totalC12`,sum(`view_gst_report`.`C13`) AS `totalC13`,sum(`view_gst_report`.`C14`) AS `totalC14`,sum(`view_gst_report`.`C15`) AS `totalC15`,sum(`view_gst_report`.`C16`) AS `totalC16`,sum(`view_gst_report`.`C17`) AS `totalC17`,sum(`view_gst_report`.`month6`) AS `totalMonth6`,sum(`view_gst_report`.`C18`) AS `totalC18` from `view_gst_report` group by `view_gst_report`.`companyid`,`view_gst_report`.`financialYear`,`view_gst_report`.`period` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gst_report`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_report`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_report` AS select `a`.`companyID` AS `companyid`,`b`.`gstRegisteredDate` AS `gstRegisteredDate`,`b`.`taxablePeriod` AS `taxablePeriod`,`a`.`financialYear` AS `financialYear`,`a`.`startDate` AS `startDate`,`a`.`endDate` AS `endDate`,`a`.`period` AS `period`,`b`.`gstRegisteredNo` AS `A1`,`b`.`companyName` AS `A2`,(select coalesce(sum(`view_gst_tax`.`amountExcludedTax`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5a')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `B5a`,(select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `B5b`,(select coalesce(sum(`view_gst_tax`.`amountExcludedTax`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6a')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `B6a`,(select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `B6b`,if(((select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) > (select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`)))),((select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) - (select coalesce(sum(`view_gst_tax`.`taxAmount`),0) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`)))),0) AS `B7`,if(((select sum(`view_gst_tax`.`taxAmount`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) > (select sum(`view_gst_tax`.`taxAmount`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`)))),((select sum(`view_gst_tax`.`taxAmount`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B6b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) - (select sum(`view_gst_tax`.`taxAmount`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'B5b')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`)))),0) AS `B8`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C10')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C10`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C11')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C11`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C12')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C12`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C13')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C13`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (`view_gst_tax`.`gst` = 'IS') and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C14`,(select sum((`view_gst_tax`.`amountExcludedTax` * 0.06)) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C15')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C15`,(select sum(`view_gst_tax`.`amountExcludedTax`) from `view_gst_tax` where ((`view_gst_tax`.`companyID` = `a`.`companyID`) and (find_in_set(`view_gst_tax`.`gst`,(select `comp_gst_field_mapping`.`taxCode` from `comp_gst_field_mapping` where ((`comp_gst_field_mapping`.`companyID` = `a`.`companyID`) and (`comp_gst_field_mapping`.`item` = 'C16')))) > 0) and (`view_gst_tax`.`transDate` between `a`.`startDate` and `a`.`endDate`))) AS `C16`,(select sum(`comp_sales_bad_debt`.`valueBadDebt`) from `comp_sales_bad_debt` where ((`comp_sales_bad_debt`.`companyID` = `a`.`companyID`) and (`comp_sales_bad_debt`.`transDate` between `a`.`startDate` and `a`.`endDate`) and (`comp_sales_bad_debt`.`updateAble` = 0))) AS `C17`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) >= 6))) AS `month6`,(select sum(`comp_sales_debt_recover`.`valueDebtRecover`) from `comp_sales_debt_recover` where ((`comp_sales_debt_recover`.`companyID` = `a`.`companyID`) and (`comp_sales_debt_recover`.`transDate` between `a`.`startDate` and `a`.`endDate`) and (`comp_sales_debt_recover`.`updateAble` = 0))) AS `C18` from (`comp_financial_year` `a` join `company` `b`) where ((`b`.`ID` = `a`.`companyID`) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gst_rpt_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_rpt_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_rpt_summary`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_rpt_summary` AS select `view_gst_tax`.`companyID` AS `companyID`,year(`view_gst_tax`.`transDate`) AS `year`,month(`view_gst_tax`.`transDate`) AS `month`,`view_gst_tax`.`taxID` AS `taxID`,`view_gst_tax`.`gst` AS `gst`,sum(`view_gst_tax`.`amountExcludedTax`) AS `amtExTax`,sum(`view_gst_tax`.`taxAmount`) AS `amtTax`,sum(`view_gst_tax`.`amountIncludedTax`) AS `amtIncTax` from `view_gst_tax` group by `view_gst_tax`.`companyID`,year(`view_gst_tax`.`transDate`),month(`view_gst_tax`.`transDate`),`view_gst_tax`.`taxID`,`view_gst_tax`.`gst` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_gst_tax`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_tax`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_tax`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_tax` AS select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_sales_invoice` `a` join `comp_sales_invoice_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_sales_invoice` `a` join `comp_sales_invoice_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `taxAmount`,(`b`.`amountIncludedTax` * -(1)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_sales_creditnote` `a` join `comp_sales_creditnote_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `taxAmount`,(`b`.`amountIncludedTax` * -(1)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_sales_creditnote` `a` join `comp_sales_creditnote_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Debit note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Debit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`invoiceDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_supplier_invoice` `a` join `comp_supplier_invoice_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`invoiceDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_supplier_invoice` `a` join `comp_supplier_invoice_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Debit note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `b.amountExcludedTax * -1`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `b.taxAmount * -1`,(`b`.`amountIncludedTax` * -(1)) AS `b.amountIncludedTax * -1`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Debit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`itemdescription` AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `b.amountExcludedTax * -1`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `b.taxAmount * -1`,(`b`.`amountIncludedTax` * -(1)) AS `b.amountIncludedTax * -1`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Other Payment' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`paymentDate` AS `transDate`,NULL AS `NULL`,`a`.`payTo` AS `supplierName`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Cash Sales' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,NULL AS `customerID`,`a`.`paymentFrom` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_cash_sales` `a` join `comp_cash_sales_detail` `b`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Other Receive' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`receivePaymentDate` AS `transDate`,NULL AS `customerID`,`a`.`receiveFrom` AS `customerName`,`b`.`description` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`receivePaymentOthersID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `b`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,`a`.`type` AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`date` AS `transDate`,NULL AS `supplierID`,`a`.`vendor_cust_name` AS `supplierName`,`b`.`description` AS `itemName`,if((`a`.`reverse` > 0),(`a`.`based_amount` * -(1)),`a`.`based_amount`) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,if((`a`.`reverse` > 0),(if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) * -(1)),if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`)) AS `taxAmount`,if((`a`.`reverse` > 0),((if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) + `a`.`based_amount`) * -(1)),(if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) + `a`.`based_amount`)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((`comp_gst_transaction` `a` join `comp_gst_transaction_detail` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`gstTransID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`a`.`isDelete` = 0)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Cash Purchase' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`paymentDate` AS `transDate`,NULL AS `supplierID`,`a`.`payTo` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_payment_others` `a` join `comp_payment_others_with_item` `b`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Bad debt relief' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,NULL AS `supplierID`,`c`.`customerName` AS `supplierName`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`totalReceivable`,2) / round(`b`.`totalamount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`totalReceivable`,2) / round(`b`.`totalamount`,2)) * round(`b`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`) * 106) / 6) - ((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`)),2) + ((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((`comp_sales_bad_debt` `a` join `comp_sales_invoice` `b` on((`b`.`badDebtID` = `a`.`ID`))) join `customer` `c` on((`c`.`ID` = `a`.`custID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJP') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`a`.`updateAble` = 0) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Bad debt Recover' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,NULL AS `supplierID`,`c`.`customerName` AS `supplierName`,concat(`y`.`formNo`,'[',convert(lpad(`y`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`amountApplied`,2) / round(`y`.`totalamount`,2)) * round(`y`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`amountApplied`,2) / round(`y`.`totalamount`,2)) * round(`y`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`) * 106) / 6) - ((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`)),2) + ((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_sales_debt_recover` `a` join `comp_receive_payment_detail` `b` on((`b`.`debtRecoverID` = `a`.`ID`))) left join `comp_sales_invoice` `y` on((`y`.`ID` = `b`.`invoiceID`))) join `customer` `c` on((`c`.`ID` = `a`.`custID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJS') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Supplier Bad debt relief' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`c`.`supplierName` AS `supplierName`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round((((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)) / `b`.`totalAmount`) * `b`.`totalTaxAmount`),2) AS `taxAmount`,(round((((((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2))),2) + round((((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)) / `b`.`totalAmount`) * `b`.`totalTaxAmount`),2)) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from (((((((((`comp_purchase_bad_debt` `a` join `comp_supplier_invoice` `b` on((`b`.`badDebtID` = `a`.`ID`))) join `comp_payment_detail` `p` on((`p`.`purchaseInvoiceID` = `b`.`ID`))) join `comp_payment` `pay` on(((`pay`.`ID` = `p`.`paymentID`) and (`pay`.`paymentDate` > `a`.`transDate`)))) join `supplier` `c` on((`c`.`ID` = `a`.`supplierID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJS') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) group by `p`.`purchaseInvoiceID` union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Supplier Bad debt Recover' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,`a`.`suppID` AS `supplierID`,`c`.`supplierName` AS `supplierName`,concat(`y`.`formNo`,'[',convert(lpad(`y`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`amountApplied`,2) / round(`y`.`totalAmount`,2)) * round(`y`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`amountApplied`,2) / round(`y`.`totalAmount`,2)) * round(`y`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`) * 106) / 6) - ((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`)),2) + ((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst`,`j`.`journalID` AS `journalID`,`j`.`formNo` AS `formNo` from ((((((((`comp_purchase_debt_recover` `a` join `comp_payment_detail` `b` on((`b`.`debtRecoverID` = `a`.`ID`))) left join `comp_supplier_invoice` `y` on((`y`.`ID` = `b`.`purchaseInvoiceID`))) join `supplier` `c` on((`c`.`ID` = `a`.`suppID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJP') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_inventory_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_inventory_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventory_statement`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_inventory_statement` AS select `a`.`companyID` AS `companyID`,`a`.`deliveryDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`g`.`supplierName` AS `supplierCustomer`,1 AS `transactionCode`,'Purchase' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,`b`.`quantityReceived` AS `quantityIn`,NULL AS `quantityOut`,`a`.`updateAble` AS `updateable` from ((((((`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on((`a`.`ID` = `b`.`receiveID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) join `tbl_location` `d`) join `_sys_um` `e`) join `supplier` `g`) where ((`f`.`locationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`) and (`a`.`supplierID` = `f`.`ID`)) union select `a`.`companyID` AS `companyID`,`a`.`adjustmentDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,2 AS `transactionCode`,'stockAdjustment' AS `transactionType`,`a`.`formNo` AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,if(((`b`.`counted` - `b`.`qtyOnHand`) > 0),(`b`.`counted` - `b`.`qtyOnHand`),NULL) AS `quantityIn`,if(((`b`.`counted` - `b`.`qtyOnHand`) < 0),(`b`.`counted` - `b`.`qtyOnHand`),NULL) AS `quantityOut`,`a`.`updateAble` AS `updateable` from (((((`item_adjustment` `a` left join `item_adjustment_detail` `b` on((`a`.`ID` = `b`.`adjustmentID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) left join `tbl_location` `d` on((`d`.`fldid` = `a`.`locationID`))) left join `_sys_um` `e` on((`e`.`fldid` = `b`.`unitOfMeasureID`))) union select `a`.`companyID` AS `companyID`,`a`.`deliveryOrderDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`g`.`customerName` AS `supplierCustomer`,3 AS `transactionCode`,'Sale' AS `transactionType`,`a`.`formNo` AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,NULL AS `quantityIn`,(`b`.`quantitySent` * -(1)) AS `quantityOut`,`a`.`updateAble` AS `updateable` from ((((((`comp_delivery_order` `a` left join `comp_delivery_detail` `b` on((`a`.`ID` = `b`.`deliveryID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) join `tbl_location` `d`) join `_sys_um` `e`) join `customer` `g`) where ((`a`.`locationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`) and (`a`.`customerID` = `f`.`ID`)) union select `a`.`companyID` AS `companyID`,`a`.`dateTransfer` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,4 AS `transactionCode`,'TransferOut' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`fromLocationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,NULL AS `quantityIn`,(`b`.`quantity` * -(1)) AS `quantityOut`,`a`.`updateable` AS `updateable` from ((((`comp_location_transfer` `a` left join `comp_location_transfer_detail` `b` on((`a`.`ID` = `b`.`locationTransferID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`fromLocationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`)) union select `a`.`companyID` AS `companyID`,`a`.`dateTransfer` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,5 AS `transactionCode`,'TransferIn' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`toLocationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,`b`.`quantity` AS `quantityIn`,NULL AS `quantityOut`,`a`.`updateable` AS `updateable` from ((((`comp_location_transfer` `a` left join `comp_location_transfer_detail` `b` on((`a`.`ID` = `b`.`locationTransferID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`fromLocationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_inventory_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_inventory_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventory_transaction`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_inventory_transaction` AS select `ridet`.`ID` AS `indexing`,`ri`.`ID` AS `ID`,`ri`.`companyID` AS `companyID`,`ridet`.`itemID` AS `itemID`,`ri`.`locationID` AS `locationID`,`ridet`.`createdTS` AS `createdTS`,`s`.`supplierName` AS `supplierName`,if((`ri`.`purchaseOrderID` = '-1'),`ri`.`formNo`,concat(`ri`.`formNo`,'[',convert(lpad(`ri`.`serialNo`,8,'0') using latin1),']')) AS `formNo`,`ri`.`deliveryDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer In' AS `transType`,`ridet`.`quantityReceived` AS `qtyIn`,'0' AS `qtyOut` from ((((`comp_receive_item_detail` `ridet` left join `comp_receive_item` `ri` on((`ri`.`ID` = `ridet`.`receiveID`))) left join `supplier` `s` on((`s`.`ID` = `ri`.`supplierID`))) left join `item` `i` on((`i`.`ID` = `ridet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `ridet`.`umID`))) where ((`ri`.`updateAble` = 0) and (substr(`ri`.`journalNo`,1,2) <> 'AR')) union select `ridet`.`ID` AS `indexing`,`ri`.`ID` AS `ID`,`ri`.`companyID` AS `companyID`,`ridet`.`itemID` AS `itemID`,`ri`.`locationID` AS `locationID`,`ridet`.`createdTS` AS `createdTS`,`s`.`customerName` AS `supplierName`,if((`ri`.`purchaseOrderID` = '-1'),`ri`.`formNo`,concat(`ri`.`formNo`,'[',convert(lpad(`ri`.`serialNo`,8,'0') using latin1),']')) AS `formNo`,`ri`.`deliveryDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer In' AS `transType`,`ridet`.`quantityReceived` AS `qtyIn`,'0' AS `qtyOut` from ((((`comp_receive_item_detail` `ridet` left join `comp_receive_item` `ri` on((`ri`.`ID` = `ridet`.`receiveID`))) left join `customer` `s` on((`s`.`ID` = `ri`.`supplierID`))) left join `item` `i` on((`i`.`ID` = `ridet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `ridet`.`umID`))) where ((`ri`.`updateAble` = 0) and (substr(`ri`.`journalNo`,1,2) = 'AR')) union select `outdet`.`ID` AS `indexing`,`do`.`ID` AS `ID`,`do`.`companyID` AS `companyID`,`dodet`.`itemID` AS `itemID`,`do`.`locationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`c`.`customerName` AS `supplierName`,concat(`do`.`formNo`,'[',convert(lpad(`do`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`do`.`deliveryOrderDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((`comp_receive_delivery_conn` `outdet` left join `comp_delivery_detail` `dodet` on((`dodet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_delivery_order` `do` on((`do`.`ID` = `dodet`.`deliveryID`))) left join `customer` `c` on((`c`.`ID` = `do`.`customerID`))) left join `item` `i` on((`i`.`ID` = `dodet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 1) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,`loc`.`fromLocationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`user`.`username` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`ID`,8,'0') using latin1),']') AS `formNo`,`loc`.`dateTransfer` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((`comp_receive_delivery_conn` `outdet` left join `comp_location_transfer_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_location_transfer` `loc` on((`loc`.`ID` = `locdet`.`locationTransferID`))) left join `tbl_usermaster` `user` on((`user`.`fldid` = `loc`.`createdby`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 2) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,`si`.`locationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`c`.`customerName` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`ID`,8,'0') using latin1),']') AS `formNo`,`loc`.`debitNoteDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((((`comp_receive_delivery_conn` `outdet` left join `comp_sales_debitnote_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_sales_debitnote` `loc` on((`loc`.`ID` = `locdet`.`debitnoteID`))) left join `comp_sales_invoice_detail` `sidet` on((`sidet`.`ID` = `locdet`.`invoiceDetailID`))) left join `comp_sales_invoice` `si` on((`si`.`ID` = `sidet`.`invoiceID`))) left join `customer` `c` on((`c`.`ID` = `si`.`customerID`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 3) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,if((`si`.`purchaseInvoiceCodeID` = '1'),`ri`.`locationID`,`si`.`locationID`) AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`s`.`supplierName` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`ID`,8,'0') using latin1),']') AS `formNo`,`loc`.`debitNoteDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((((((`comp_receive_delivery_conn` `outdet` left join `comp_supplier_debitnote_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_supplier_debitnote` `loc` on((`loc`.`ID` = `locdet`.`debitnoteID`))) left join `comp_supplier_invoice` `si` on((`si`.`ID` = `loc`.`supplierInvoiceID`))) left join `comp_supplier_invoice_detail` `sidet` on((`sidet`.`ID` = `locdet`.`invoiceDetailID`))) left join `comp_receive_item_detail` `ridet` on((`ridet`.`ID` = `sidet`.`receiveID`))) left join `comp_receive_item` `ri` on((`ri`.`ID` = `ridet`.`receiveID`))) left join `supplier` `s` on((`s`.`ID` = `si`.`supplierID`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 4) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,`loc`.`locationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`loc`.`paymentFrom` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`loc`.`salesInvoiceDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from ((((`comp_receive_delivery_conn` `outdet` left join `comp_cash_sales_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `comp_cash_sales` `loc` on((`loc`.`ID` = `locdet`.`invoiceID`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 5) union select `outdet`.`ID` AS `indexing`,`loc`.`ID` AS `ID`,`loc`.`companyID` AS `companyID`,`locdet`.`itemID` AS `itemID`,`loc`.`locationID` AS `locationID`,`outdet`.`createdTS` AS `createdTS`,`user`.`username` AS `supplierName`,concat(`loc`.`formNo`,'[',convert(lpad(`loc`.`ID`,8,'0') using latin1),']') AS `formNo`,`loc`.`adjustmentDate` AS `transDate`,`um`.`desc` AS `um`,'Transfer Out' AS `transType`,'0' AS `qtyIn`,`outdet`.`qty` AS `qtyOut` from (((((`comp_receive_delivery_conn` `outdet` left join `item_adjustment_detail` `locdet` on((`locdet`.`ID` = `outdet`.`deliveryDetailID`))) left join `item_adjustment` `loc` on((`loc`.`ID` = `locdet`.`adjustmentID`))) left join `tbl_usermaster` `user` on((`user`.`fldid` = `loc`.`createdBy`))) left join `item` `i` on((`i`.`ID` = `locdet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `i`.`unitOfMeasureID`))) where (`outdet`.`type` = 6) order by `formNo` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_inventorylist_subtotal`
--

/*!50001 DROP TABLE IF EXISTS `view_inventorylist_subtotal`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventorylist_subtotal`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_inventorylist_subtotal` AS select `a`.`companyID` AS `companyid`,sum(`b`.`balanceItem`) AS `quantity`,`a`.`locationID` AS `locationid`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`d`.`name` AS `category`,`b`.`description` AS `description`,sum((`b`.`balanceItem` * `b`.`unitPrice`)) AS `stockValue` from (((`comp_receive_item` `a` join `comp_receive_item_detail` `b`) join `item` `c`) join `comp_item_category` `d`) where ((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0) and (`c`.`ID` = `b`.`itemID`) and (`c`.`itemCategoryID` = `d`.`ID`)) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemName`,`category`,`b`.`description` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_item_details`
--

/*!50001 DROP TABLE IF EXISTS `view_item_details`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_details`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_details` AS select `b`.`companyID` AS `companyid`,`a`.`itemID` AS `itemid`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`c`.`description` AS `description`,`b`.`locationID` AS `locationid`,sum(`a`.`balanceItem`) AS `onHandQty`,`a`.`umID` AS `umID`,`c`.`inventoriesID` AS `acctID`,`d`.`code` AS `location`,`e`.`code` AS `unitOfMeasure` from ((((`comp_receive_item_detail` `a` join `comp_receive_item` `b`) join `item` `c`) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`receiveID` = `b`.`ID`) and (`a`.`itemID` = `c`.`ID`) and (`d`.`fldid` = `b`.`locationID`) and (`e`.`fldid` = `a`.`umID`) and (`a`.`balanceItem` > 0)) group by `b`.`companyID`,`a`.`itemID`,`a`.`itemName`,`c`.`description`,`b`.`locationID`,`a`.`umID`,`acctID`,`location`,`unitOfMeasure` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_item_quantityonhand`
--

/*!50001 DROP TABLE IF EXISTS `view_item_quantityonhand`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_quantityonhand` AS select `a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`b`.`itemID` AS `itemID`,`b`.`itemCode` AS `itemCode`,`b`.`itemName` AS `itemName`,`b`.`umID` AS `umID`,sum(`b`.`balanceItem`) AS `quantityOnHand` from (`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on(((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0)))) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemCode`,`b`.`itemName`,`b`.`umID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_item_quantityonhand_confirm`
--

/*!50001 DROP TABLE IF EXISTS `view_item_quantityonhand_confirm`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand_confirm`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_quantityonhand_confirm` AS select `a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`b`.`itemID` AS `itemID`,`b`.`itemCode` AS `itemCode`,`b`.`itemName` AS `itemName`,`b`.`umID` AS `umID`,sum(`b`.`balanceItem`) AS `quantityOnHand` from (`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on(((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0)))) where (`a`.`updateAble` = 0) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemCode`,`b`.`itemName`,`b`.`umID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_journal_table`
--

/*!50001 DROP TABLE IF EXISTS `view_journal_table`*/;
/*!50001 DROP VIEW IF EXISTS `view_journal_table`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_journal_table` AS select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_cash_sales' AS `tableName`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_cash_sales` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_payment' AS `comp_payment`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_payment` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_payment_others' AS `comp_payment_others`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_payment_others` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`formNo` AS `referenceNo`,'comp_purchase_order' AS `comp_purchase_order`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_purchase_order` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_receive_payment' AS `comp_receive_payment`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_payment` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_receive_payment_others' AS `comp_receive_payment_others`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_payment_others` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_sales_creditnote' AS `comp_sales_creditnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_creditnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_sales_debitnote' AS `comp_sales_debitnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_debitnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`customerPoNo` AS `referenceNo`,'comp_sales_invoice' AS `comp_sales_invoice`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_invoice` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_supplier_creditnote' AS `comp_supplier_creditnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_creditnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_supplier_debitnote' AS `comp_supplier_debitnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_debitnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`supplierInvoiceNo` AS `referenceNo`,'comp_supplier_invoice' AS `comp_supplier_invoice`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_invoice` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_delivery_order' AS `comp_delivery_order`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_delivery_order` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`reference` AS `referenceNo`,'comp_gst_transaction' AS `comp_gst_transaction`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_gst_transaction` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`supplierDoNo` AS `referenceNo`,'comp_receive_item' AS `comp_receive_item`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_item` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_loan_report`
--

/*!50001 DROP TABLE IF EXISTS `view_loan_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_loan_report`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_loan_report` AS select `a`.`ID` AS `acctID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),(`a`.`openingBalanceCr` * -(1)),ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`ID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` + 1) = `c`.`year`))),0)) AS `openingBalanceCr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`ID` = `a`.`ID`) and (`view_total_debitcredit`.`year` = ifnull(`c`.`year`,year(`a`.`createdTS`))))),0) AS `balanceLoan`,ifnull((sum(if((`c`.`formNo` like '%LR%'),`c`.`amount_cr`,0)) * -(1)),0) AS `newloan`,ifnull(`c`.`year`,year(`a`.`createdTS`)) AS `year`,ifnull(sum(if((`c`.`period` = 1),`c`.`amount_dr`,0)),0) AS `january`,ifnull(sum(if((`c`.`period` = 2),`c`.`amount_dr`,0)),0) AS `february`,ifnull(sum(if((`c`.`period` = 3),`c`.`amount_dr`,0)),0) AS `march`,ifnull(sum(if((`c`.`period` = 4),`c`.`amount_dr`,0)),0) AS `april`,ifnull(sum(if((`c`.`period` = 5),`c`.`amount_dr`,0)),0) AS `may`,ifnull(sum(if((`c`.`period` = 6),`c`.`amount_dr`,0)),0) AS `june`,ifnull(sum(if((`c`.`period` = 7),`c`.`amount_dr`,0)),0) AS `july`,ifnull(sum(if((`c`.`period` = 8),`c`.`amount_dr`,0)),0) AS `august`,ifnull(sum(if((`c`.`period` = 9),`c`.`amount_dr`,0)),0) AS `september`,ifnull(sum(if((`c`.`period` = 10),`c`.`amount_dr`,0)),0) AS `october`,ifnull(sum(if((`c`.`period` = 11),`c`.`amount_dr`,0)),0) AS `november`,ifnull(sum(if((`c`.`period` = 12),`c`.`amount_dr`,0)),0) AS `december`,max(`b`.`effective_date`) AS `lastPaymentDate`,ifnull((select `e`.`amount_dr` from (`comp_journal_detail` `e` join `comp_journal` `s` on(((`s`.`journalID` = `e`.`journalID`) and (`s`.`companyID` = `e`.`companyID`)))) where ((`e`.`acctCode` = `a`.`ID`) and (`e`.`amount_dr` > 0) and ((`e`.`formNo` like '%OP-L%') or (`e`.`formNo` like '%LR%')) and (`e`.`year` = `c`.`year`)) order by `s`.`effective_date` desc limit 0,1),0) AS `lastPaymentAmount` from (((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`) and (`b`.`is_delete` = 0)))) join `view_total_debitcredit` `vt`) where ((`a`.`is_delete` = 0) and (`a`.`acctGroupID` = 4) and (`a`.`ID` = `vt`.`ID`) and ((`c`.`year` = `vt`.`year`) or isnull(`c`.`year`))) group by `a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`year` having ((`balanceLoan` < 0) or (`openingBalanceCr` < 0) or (`newloan` < 0) or ((((((((((((`january` + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_open_ar_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_open_ar_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_open_ar_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_open_ar_invoice` AS select `comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`salesInvoiceDate` AS `salesInvoiceDate`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%Y') AS `salesYear`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%m') AS `salesMonth`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%b') AS `slsMonth`,(`comp_sales_invoice`.`totalReceivable` * if((`comp_sales_invoice`.`exchangeRate` = 0),1,`comp_sales_invoice`.`exchangeRate`)) AS `totalAmount` from `comp_sales_invoice` where (`comp_sales_invoice`.`totalReceivable` <> 0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_sales_monthly`
--

/*!50001 DROP TABLE IF EXISTS `view_sales_monthly`*/;
/*!50001 DROP VIEW IF EXISTS `view_sales_monthly`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_sales_monthly` AS select `comp_receive_payment_others`.`companyID` AS `companyID`,date_format(`comp_receive_payment_others`.`receivePaymentDate`,'%Y%m') AS `yymm`,year(`comp_receive_payment_others`.`receivePaymentDate`) AS `yy`,month(`comp_receive_payment_others`.`receivePaymentDate`) AS `mm`,sum(`comp_receive_payment_others`.`totalReceived`) AS `totalreceived` from `comp_receive_payment_others` where (`comp_receive_payment_others`.`is_delete` = 0) group by `comp_receive_payment_others`.`companyID`,year(`comp_receive_payment_others`.`receivePaymentDate`),month(`comp_receive_payment_others`.`receivePaymentDate`) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_sales_weekly`
--

/*!50001 DROP TABLE IF EXISTS `view_sales_weekly`*/;
/*!50001 DROP VIEW IF EXISTS `view_sales_weekly`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_sales_weekly` AS select `comp_receive_payment_others`.`companyID` AS `companyID`,year(`comp_receive_payment_others`.`receivePaymentDate`) AS `yy`,month(`comp_receive_payment_others`.`receivePaymentDate`) AS `mm`,week(`comp_receive_payment_others`.`receivePaymentDate`,0) AS `ww`,sum(`comp_receive_payment_others`.`totalReceived`) AS `totalreceived` from `comp_receive_payment_others` where (`comp_receive_payment_others`.`is_delete` = 0) group by `comp_receive_payment_others`.`companyID`,year(`comp_receive_payment_others`.`receivePaymentDate`),month(`comp_receive_payment_others`.`receivePaymentDate`),week(`comp_receive_payment_others`.`receivePaymentDate`,0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_salescreditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_salescreditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_salescreditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_salescreditnote` AS select `si`.`ID` AS `invoiceDetailID`,`_sys_um`.`code` AS `unitOfMeasure`,`si`.`ID` AS `ID`,`si`.`invoiceID` AS `invoiceID`,`si`.`doID` AS `doID`,`si`.`lineNo` AS `lineNo`,`si`.`itemID` AS `itemID`,`si`.`umID` AS `umID`,`si`.`quantity` AS `quantity`,`si`.`unitPrice` AS `unitPrice`,`si`.`amountExcludedTax` AS `amountExcludedTax`,`si`.`taxID` AS `taxID`,`si`.`taxRate` AS `taxRate`,`si`.`taxAmount` AS `taxAmount`,`si`.`amountIncludedTax` AS `amountIncludedTax`,`si`.`accountID` AS `accountID`,`si`.`createdBy` AS `createdBy`,`si`.`createdTS` AS `createdTS`,`si`.`updatedBy` AS `updatedBy`,`si`.`updatedTS` AS `updatedTS`,`tax_master`.`code` AS `code`,`item`.`itemCode` AS `itemCode`,`item`.`name` AS `name`,`si`.`itemdescription` AS `description`,((`si`.`quantity` + ifnull((select sum(`dnd`.`quantity`) from `comp_sales_debitnote_detail` `dnd` where (`si`.`ID` = `dnd`.`invoiceDetailID`)),0)) - ifnull((select sum(`scd`.`quantity`) from `comp_sales_creditnote_detail` `scd` where (`scd`.`invoiceDetailID` = `si`.`ID`)),0)) AS `exactQty` from (((`comp_sales_invoice_detail` `si` left join `tax_master` on((`tax_master`.`ID` = `si`.`taxID`))) left join `item` on((`si`.`itemID` = `item`.`ID`))) left join `_sys_um` on((`_sys_um`.`fldid` = `si`.`umID`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_salesdebitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_salesdebitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_salesdebitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_salesdebitnote` AS select `si`.`ID` AS `invoiceDetailID`,`_sys_um`.`code` AS `unitOfMeasure`,`si`.`ID` AS `ID`,`si`.`invoiceID` AS `invoiceID`,`si`.`doID` AS `doID`,`si`.`lineNo` AS `lineNo`,`si`.`itemID` AS `itemID`,`si`.`umID` AS `umID`,`si`.`quantity` AS `quantity`,`si`.`unitPrice` AS `unitPrice`,`si`.`amountExcludedTax` AS `amountExcludedTax`,`si`.`taxID` AS `taxID`,`si`.`taxRate` AS `taxRate`,`si`.`taxAmount` AS `taxAmount`,`si`.`amountIncludedTax` AS `amountIncludedTax`,`si`.`accountID` AS `accountID`,`si`.`createdBy` AS `createdBy`,`si`.`createdTS` AS `createdTS`,`si`.`updatedBy` AS `updatedBy`,`si`.`updatedTS` AS `updatedTS`,`tax_master`.`code` AS `code`,`item`.`itemCode` AS `itemCode`,`item`.`name` AS `name`,`si`.`itemdescription` AS `description`,((`si`.`quantity` + ifnull((select sum(`dnd`.`quantity`) from `comp_sales_debitnote_detail` `dnd` where (`si`.`ID` = `dnd`.`invoiceDetailID`)),0)) - ifnull((select sum(`scd`.`quantity`) from `comp_sales_creditnote_detail` `scd` where (`scd`.`invoiceDetailID` = `si`.`ID`)),0)) AS `exactQty` from (((`comp_sales_invoice_detail` `si` left join `tax_master` on((`tax_master`.`ID` = `si`.`taxID`))) left join `item` on((`si`.`itemID` = `item`.`ID`))) left join `_sys_um` on((`_sys_um`.`fldid` = `si`.`umID`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_search`
--

/*!50001 DROP TABLE IF EXISTS `view_search`*/;
/*!50001 DROP VIEW IF EXISTS `view_search`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_search` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'arTransaction/editcashsale/','arReports/cashsalelistDetail/'),`a`.`ID`) AS `searchLink`,concat('Cash Sale&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesInvoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`paymentFrom`) AS `searchKey`,`a`.`salesInvoiceDate` AS `transDate` from `comp_cash_sales` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'sotransaction/SalesDO/','soreport/DeliveryOrderDetail/'),`a`.`ID`) AS `searchLink`,concat('Delivery Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`deliveryOrderDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`deliveryOrderDate` AS `transDate` from (`comp_delivery_order` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateable` = 1),'locationtransfer/edit/','locationtransfer/reportdetail/'),`a`.`ID`) AS `searchLink`,concat('Inventory Transfer&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(`a`.`formNo` using utf8),'[',convert(lpad(`a`.`serialNo`,8,'0') using utf8),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`dateTransfer`,'%d/%m/%Y') using utf8),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`code`,'&nbsp',`b`.`desc`) AS `searchKey`,`a`.`dateTransfer` AS `transDate` from (`comp_location_transfer` `a` join `tbl_location` `b`) where (`a`.`fromLocationID` = `b`.`fldid`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editPayment/','Apreports/supplierpaymentDetail/'),`a`.`ID`) AS `searchLink`,concat('Payment&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from (`comp_payment` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,(case `a`.`formNo` when (`a`.`formNo` like '%OR%') then concat(if((`a`.`updateAble` = 1),'sales/edit_sale/','sales/print_sale/'),`a`.`ID`) when (`a`.`formNo` like '%OP-C%') then concat(if((`a`.`updateAble` = 1),'expenses/addNew/cogs/','expenses/printDetail/'),`a`.`ID`,'/cogs') when (`a`.`formNo` like '%OP-E%') then concat(if((`a`.`updateAble` = 1),'expenses/addNew/expenses/','expenses/printDetail/'),`a`.`ID`,'/operational') when (`a`.`formNo` like '%OP-L%') then concat(if((`a`.`updateAble` = 1),'expenses/addNew/loan/','expenses/printDetail/'),`a`.`ID`,'/loan') when (`a`.`formNo` like '%OP-A%') then concat(if((`a`.`updateAble` = 1),'expenses/addNew/asset/','expenses/printDetail/'),`a`.`ID`,'/asset') when (`a`.`formNo` like '%TT%') then concat(if((`a`.`updateAble` = 1),'transfer/','transfer/print_transfer/'),`a`.`ID`) when (`a`.`formNo` like '%LR%') then concat(if((`a`.`updateAble` = 1),'loanReceive/','loanReceive/print_loanReceive/'),`a`.`ID`) else concat(if((`a`.`updateAble` = 1),'othersPayment/editPayWithoutItem/','othersPayment/otherpaywithoutDetail/'),`a`.`ID`) end) AS `searchLink`,concat('Payment Others&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`payTo`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from `comp_payment_others` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'PO_Transaction/edit/','purchaseReports/PODetails/'),`a`.`ID`) AS `searchLink`,concat('Purchase Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`poDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`poDate` AS `transDate` from (`comp_purchase_order` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('soreport/SalesQuotationDetail/',`a`.`ID`) AS `searchLink`,concat('Quotation&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`quotationDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`quotationDate` AS `transDate` from (`comp_quotation` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'receiveItems/editReceiveItem/','receiveItems/ReceiveItemDetails/'),`a`.`ID`) AS `searchLink`,concat('Receive Item&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`deliveryDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`deliveryDate` AS `transDate` from (`comp_receive_item` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editReceivePayment/','arReports/compRecPaymentDetail/'),`a`.`ID`) AS `searchLink`,concat('Receive Payment&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from (`comp_receive_payment` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'gltransaction/editotherreceive/','glreports/otherReceiveAdviceRpt/'),`a`.`ID`) AS `searchLink`,concat('Receive Payment Others&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`receiveFrom`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from `comp_receive_payment_others` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editSaleCreditNote/','arreports/salescreditnoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Sales Credit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`creditNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`creditNoteDate` AS `transDate` from (`comp_sales_creditnote` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editSaleDebitNote/','arreports/salesdebitnoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Sales Debit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`debitNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`debitNoteDate` AS `transDate` from (`comp_sales_debitnote` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('arReports/salesInvoiceDetail/',`a`.`ID`) AS `searchLink`,concat('Sales Invoice&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesInvoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`salesInvoiceDate` AS `transDate` from (`comp_sales_invoice` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('soreport/SalesOrderDetail/',`a`.`ID`) AS `searchLink`,concat('Sales Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesOrderDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`salesOrderDate` AS `transDate` from (`comp_sales_order` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editCreditNote/','Apreports/creditNoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Supplier Credit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`creditNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`creditNoteDate` AS `transDate` from (`comp_supplier_creditnote` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editDebitNote/','Apreports/debitNoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Supplier Debit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`debitNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`debitNoteDate` AS `transDate` from (`comp_supplier_debitnote` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('apreports/purchaseInvoiceDetail/',`a`.`ID`) AS `searchLink`,concat('Purchase Invoice&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`invoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`invoiceDate` AS `transDate` from (`comp_supplier_invoice` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,if((`a`.`formNo` like '%LR%'),concat(if((`a`.`updateAble` = 1),'loanReceive/','loanReceive/print_loanReceive/'),`a`.`ID`),concat('sales/print_sale/',`a`.`ID`)) AS `searchLink`,concat(convert(if((`a`.`formNo` like 'LR'),'Loan','Sale') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`description`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from (`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) where (`a`.`ID` = `b`.`receivePaymentOthersID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('expenses/printDetail/',`a`.`ID`) AS `searchLink`,concat('Expenses&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`itemdescription`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where (`a`.`ID` = `b`.`otherPaymentID`) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_cash_sales`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_cash_sales`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_cash_sales`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_cash_sales` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_cash_sales` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 121))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_delivery_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_delivery_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_delivery_order`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_delivery_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_delivery_order` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 49))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_gst_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_gst_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_gst_transaction`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_gst_transaction` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_gst_transaction` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 118))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_historical_customer_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_historical_customer_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_customer_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_historical_customer_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_historical_customer_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 41))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_historical_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_historical_supplier_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_historical_supplier_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 41))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_location_transfer`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_location_transfer`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_location_transfer`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_location_transfer` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_location_transfer` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 46))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_payment` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_payment` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 44))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_payment_others`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_payment_others`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment_others`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_payment_others` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_payment_others` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 55))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_purchase_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_purchase_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_purchase_order`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_purchase_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`po`.`serialNo`) from `comp_purchase_order` `po` where (`c`.`ID` = `po`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 40))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_quotation`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_quotation`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_quotation`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_quotation` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_quotation` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 47))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_receive_item`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_item`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_item`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_receive_item` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_receive_item` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 54))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_receive_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_receive_payment` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_receive_payment` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 53))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_receive_payment_others`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_payment_others`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment_others`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_receive_payment_others` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_receive_payment_others` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 56))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_sales_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_sales_creditnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_creditnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 52))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_sales_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_sales_debitnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_debitnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 51))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_sales_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_sales_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 50))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_sales_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_order`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_sales_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_order` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 48))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_supplier_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_supplier_creditnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_creditnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 43))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_supplier_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_supplier_debitnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_debitnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 42))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_serial_comp_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_serial_comp_supplier_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 41))),1)) AS `nextSerialNo` from `company` `c` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_sme_cash_flow`
--

/*!50001 DROP TABLE IF EXISTS `view_sme_cash_flow`*/;
/*!50001 DROP VIEW IF EXISTS `view_sme_cash_flow`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_sme_cash_flow` AS select `a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),`a`.`openingBalanceDr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`acctID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` - 1) = `c`.`year`))),0)) AS `openingBalanceDr`,if(((year(`a`.`createdTS`) = `c`.`year`) or isnull(`c`.`year`)),`a`.`openingBalanceCr`,ifnull((select `view_total_debitcredit`.`balance` from `view_total_debitcredit` where ((`view_total_debitcredit`.`acctID` = `a`.`ID`) and ((`view_total_debitcredit`.`year` - 1) = `c`.`year`))),0)) AS `openingBalanceCr`,ifnull(`c`.`year`,year(`a`.`createdTS`)) AS `year`,ifnull(sum(if((`c`.`period` = 1),`c`.`amount_dr`,0)),0) AS `january`,ifnull(sum(if((`c`.`period` = 2),`c`.`amount_dr`,0)),0) AS `february`,ifnull(sum(if((`c`.`period` = 3),`c`.`amount_dr`,0)),0) AS `march`,ifnull(sum(if((`c`.`period` = 4),`c`.`amount_dr`,0)),0) AS `april`,ifnull(sum(if((`c`.`period` = 5),`c`.`amount_dr`,0)),0) AS `may`,ifnull(sum(if((`c`.`period` = 6),`c`.`amount_dr`,0)),0) AS `june`,ifnull(sum(if((`c`.`period` = 7),`c`.`amount_dr`,0)),0) AS `july`,ifnull(sum(if((`c`.`period` = 8),`c`.`amount_dr`,0)),0) AS `august`,ifnull(sum(if((`c`.`period` = 9),`c`.`amount_dr`,0)),0) AS `september`,ifnull(sum(if((`c`.`period` = 10),`c`.`amount_dr`,0)),0) AS `october`,ifnull(sum(if((`c`.`period` = 11),`c`.`amount_dr`,0)),0) AS `november`,ifnull(sum(if((`c`.`period` = 12),`c`.`amount_dr`,0)),0) AS `december` from ((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`)))) where ((`a`.`is_delete` = 0) and (`b`.`is_delete` = 0) and (`a`.`acctGroupID` in (2,3,4,8,10))) group by `a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`c`.`year` having (((`a`.`acctGroupID` = 3) and ((((((((((((((`openingBalanceDr` + `openingBalanceCr`) + `january`) + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0)) or ((`a`.`acctGroupID` in (2,4,8,10)) and ((((((((((((`january` + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_sme_cash_tt_out`
--

/*!50001 DROP TABLE IF EXISTS `view_sme_cash_tt_out`*/;
/*!50001 DROP VIEW IF EXISTS `view_sme_cash_tt_out`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_sme_cash_tt_out` AS select `a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,`vtdc`.`openingBalanceDr` AS `openingBalanceDr`,`vtdc`.`openingBalanceCr` AS `openingBalanceCr`,ifnull(`c`.`year`,year(`a`.`createdTS`)) AS `year`,ifnull(sum(if((`c`.`period` = 1),`c`.`amount_cr`,0)),0) AS `january`,ifnull(sum(if((`c`.`period` = 2),`c`.`amount_cr`,0)),0) AS `february`,ifnull(sum(if((`c`.`period` = 3),`c`.`amount_cr`,0)),0) AS `march`,ifnull(sum(if((`c`.`period` = 4),`c`.`amount_cr`,0)),0) AS `april`,ifnull(sum(if((`c`.`period` = 5),`c`.`amount_cr`,0)),0) AS `may`,ifnull(sum(if((`c`.`period` = 6),`c`.`amount_cr`,0)),0) AS `june`,ifnull(sum(if((`c`.`period` = 7),`c`.`amount_cr`,0)),0) AS `july`,ifnull(sum(if((`c`.`period` = 8),`c`.`amount_cr`,0)),0) AS `august`,ifnull(sum(if((`c`.`period` = 9),`c`.`amount_cr`,0)),0) AS `september`,ifnull(sum(if((`c`.`period` = 10),`c`.`amount_cr`,0)),0) AS `october`,ifnull(sum(if((`c`.`period` = 11),`c`.`amount_cr`,0)),0) AS `november`,ifnull(sum(if((`c`.`period` = 12),`c`.`amount_cr`,0)),0) AS `december` from (((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`)))) left join `view_total_debitcredit` `vtdc` on(((`vtdc`.`companyID` = `b`.`companyID`) and (`vtdc`.`acctID` = `a`.`ID`) and ((`vtdc`.`year` = `c`.`year`) or (`vtdc`.`year` = year(`a`.`createdTS`)))))) where ((`a`.`is_delete` = 0) and (`b`.`is_delete` = 0) and (`a`.`acctGroupID` = 3) and (`c`.`formNo` like 'TT%')) group by `a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`c`.`year` having ((`a`.`acctGroupID` = 3) and ((((((((((((`january` + `february`) + `march`) + `april`) + `may`) + `june`) + `july`) + `august`) + `september`) + `october`) + `november`) + `december`) > 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_supplier_aging`
--

/*!50001 DROP TABLE IF EXISTS `view_supplier_aging`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplier_aging`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_supplier_aging` AS select `a`.`companyID` AS `companyID`,`a`.`ID` AS `supplierID`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 0) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 0) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 0) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `current`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 1) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 1) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 1) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month1`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 2) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 2) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 2) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month2`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 3) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 3) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 3) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month3`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 4) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 4) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 4) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month4`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 5) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 5) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 5) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month5`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 6) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 6) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 6) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month6`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 7) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 7) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 7) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month7`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 8) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 8) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 8) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month8`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 9) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 9) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 9) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month9`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 10) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) = 10) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) = 10) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month10`,((ifnull((select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) > 10) and (`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0))),0) + ifnull((select sum(`comp_supplier_creditnote`.`total`) from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`companyID` = `a`.`companyID`) and (`comp_supplier_creditnote`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_creditnote`.`creditNoteDate`,now()) > 10) and (`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0))),0)) + ifnull((select sum(`comp_historical_supplier_invoice`.`totalPayable`) from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_historical_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_historical_supplier_invoice`.`invoiceDate`,now()) > 10) and (`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0))),0)) AS `month11` from `supplier` `a` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_supplier_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_supplier_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplier_statement`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_supplier_statement` AS select `comp_supplier_invoice`.`ID` AS `ID`,`comp_supplier_invoice`.`ID` AS `parent`,`comp_supplier_invoice`.`companyID` AS `companyID`,`comp_supplier_invoice`.`supplierID` AS `supplierID`,'Invoice' AS `transType`,`comp_supplier_invoice`.`invoiceDate` AS `transDate`,`comp_supplier_invoice`.`supplierInvoiceNo` AS `refNo`,concat(concat(concat(`comp_supplier_invoice`.`formNo`,'['),convert(lpad(`comp_supplier_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`comp_supplier_invoice`.`totalAmount` AS `cr`,1 AS `seq` from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0)) union select `a`.`ID` AS `ID`,`a`.`supplierInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,'DebitNote' AS `transType`,`a`.`debitNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`totalAmount` AS `dr`,NULL AS `cr`,2 AS `seq` from (`comp_supplier_debitnote` `a` join `comp_supplier_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`a`.`supplierInvoiceID` = `b`.`ID`)) union select `a`.`ID` AS `ID`,`a`.`supplierInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,'CreditNote' AS `transType`,`a`.`creditNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`totalAmount` AS `cr`,3 AS `seq` from (`comp_supplier_creditnote` `a` join `comp_supplier_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`a`.`supplierInvoiceID` = `b`.`ID`)) union select `b`.`ID` AS `ID`,NULL AS `parent`,`b`.`companyID` AS `companyID`,`b`.`supplierID` AS `supplierID`,if((`b`.`updateAble` = 0),'Payment','** Payment') AS `transType`,`b`.`paymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`amountPaid` AS `dr`,NULL AS `cr`,4 AS `seq` from `comp_payment` `b` where (`b`.`is_delete` = 0) union select `b`.`ID` AS `ID`,NULL AS `parent`,`b`.`companyID` AS `companyID`,`b`.`supplierID` AS `supplierID`,'Discount' AS `transType`,`b`.`paymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`totalDiscount` AS `dr`,NULL AS `cr`,4 AS `seq` from `comp_payment` `b` where ((`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) union select `comp_historical_supplier_invoice`.`ID` AS `ID`,`comp_historical_supplier_invoice`.`ID` AS `parent`,`comp_historical_supplier_invoice`.`companyID` AS `companyID`,`comp_historical_supplier_invoice`.`supplierID` AS `supplierID`,'Historical Invoice' AS `transType`,`comp_historical_supplier_invoice`.`invoiceDate` AS `transDate`,`comp_historical_supplier_invoice`.`supplierInvoiceNo` AS `refNo`,concat(concat(concat(`comp_historical_supplier_invoice`.`formNo`,'['),convert(lpad(`comp_historical_supplier_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`comp_historical_supplier_invoice`.`totalAmount` AS `cr`,1 AS `seq` from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_suppliercreditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_suppliercreditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_suppliercreditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_suppliercreditnote` AS select `si`.`ID` AS `invoiceDetailID`,`si`.`umID` AS `invoiceUm`,`si`.`ID` AS `ID`,`si`.`invoiceID` AS `invoiceID`,`si`.`receiveID` AS `receiveID`,`si`.`lineNo` AS `lineNo`,`si`.`itemID` AS `itemID`,`si`.`itemname` AS `itemname`,`si`.`itemdescription` AS `itemdescription`,`si`.`umID` AS `umID`,`si`.`quantity` AS `quantity`,`si`.`unitPrice` AS `unitPrice`,`si`.`amountExcludedTax` AS `amountExcludedTax`,`si`.`taxID` AS `taxID`,`si`.`taxRate` AS `taxRate`,`si`.`taxAmount` AS `taxAmount`,`si`.`amountIncludedTax` AS `amountIncludedTax`,`si`.`accountID` AS `accountID`,`si`.`createdBy` AS `createdBy`,`si`.`createdTS` AS `createdTS`,`si`.`updatedBy` AS `updatedBy`,`si`.`updatedTS` AS `updatedTS`,((`si`.`quantity` - ifnull((select sum(`dnd`.`quantity`) from `comp_supplier_debitnote_detail` `dnd` where (`si`.`ID` = `dnd`.`invoiceDetailID`)),0)) + ifnull((select sum(`scd`.`quantity`) from `comp_supplier_creditnote_detail` `scd` where (`si`.`ID` = `scd`.`invoiceDetailID`)),0)) AS `exactQty`,`_sys_um`.`code` AS `unitOfMeasure`,`si`.`receiveID` AS `receiveDetailID`,`tax_master`.`code` AS `code`,`item`.`itemCode` AS `itemCode`,`item`.`name` AS `name`,`si`.`itemdescription` AS `description` from (((`comp_supplier_invoice_detail` `si` left join `tax_master` on((`tax_master`.`ID` = `si`.`taxID`))) left join `item` on((`si`.`itemID` = `item`.`ID`))) left join `_sys_um` on((`_sys_um`.`fldid` = `si`.`umID`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_supplierdebitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_supplierdebitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplierdebitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_supplierdebitnote` AS select `si`.`ID` AS `invoiceDetailID`,`si`.`ID` AS `ID`,`si`.`invoiceID` AS `invoiceID`,`si`.`receiveID` AS `receiveID`,`si`.`lineNo` AS `lineNo`,`si`.`itemID` AS `itemID`,`si`.`itemname` AS `itemname`,`si`.`itemdescription` AS `itemdescription`,`si`.`umID` AS `umID`,`si`.`quantity` AS `quantity`,`si`.`unitPrice` AS `unitPrice`,`si`.`amountExcludedTax` AS `amountExcludedTax`,`si`.`taxID` AS `taxID`,`si`.`taxRate` AS `taxRate`,`si`.`taxAmount` AS `taxAmount`,`si`.`amountIncludedTax` AS `amountIncludedTax`,`si`.`accountID` AS `accountID`,`si`.`createdBy` AS `createdBy`,`si`.`createdTS` AS `createdTS`,`si`.`updatedBy` AS `updatedBy`,`si`.`updatedTS` AS `updatedTS`,`_sys_um`.`code` AS `unitOfMeasure`,`si`.`receiveID` AS `receiveDetailID`,`tax_master`.`code` AS `code`,`item`.`itemCode` AS `itemCode`,`item`.`name` AS `name`,`si`.`itemdescription` AS `description`,((`si`.`quantity` - ifnull((select sum(`dnd`.`quantity`) from `comp_supplier_debitnote_detail` `dnd` where (`si`.`ID` = `dnd`.`invoiceDetailID`)),0)) + ifnull((select sum(`scd`.`quantity`) from `comp_supplier_creditnote_detail` `scd` where (`si`.`ID` = `scd`.`invoiceDetailID`)),0)) AS `exactQty` from (((`comp_supplier_invoice_detail` `si` left join `tax_master` on((`tax_master`.`ID` = `si`.`taxID`))) left join `item` on((`si`.`itemID` = `item`.`ID`))) left join `_sys_um` on((`_sys_um`.`fldid` = `si`.`umID`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_sales_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_sales_creditnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_creditnote_charges`.`taxAmount`),0) from `comp_sales_creditnote_charges` where (`comp_sales_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_creditnote_detail`.`taxAmount`),0) from `comp_sales_creditnote_detail` where (`comp_sales_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_creditnote_detail`.`amountIncludedTax`),0) from `comp_sales_creditnote_detail` where (`comp_sales_creditnote_detail`.`creditnoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_creditnote_charges`.`amountIncludedTax`),0) from `comp_sales_creditnote_charges` where (`comp_sales_creditnote_charges`.`creditNoteID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_creditnote` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_sales_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_sales_debitnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_debitnote_charges`.`taxAmount`),0) from `comp_sales_debitnote_charges` where (`comp_sales_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_debitnote_detail`.`taxAmount`),0) from `comp_sales_debitnote_detail` where (`comp_sales_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_debitnote_charges`.`amountIncludedTax`),0) from `comp_sales_debitnote_charges` where (`comp_sales_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_debitnote_detail`.`amountIncludedTax`),0) from `comp_sales_debitnote_detail` where (`comp_sales_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_debitnote` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_sales_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_sales_invoice` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_invoice_charges`.`taxAmount`),0) from `comp_sales_invoice_charges` where (`comp_sales_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_invoice_detail`.`taxAmount`),0) from `comp_sales_invoice_detail` where (`comp_sales_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_invoice_charges`.`amountIncludedTax`),0) from `comp_sales_invoice_charges` where (`comp_sales_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_invoice_detail`.`amountIncludedTax`),0) from `comp_sales_invoice_detail` where (`comp_sales_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_invoice` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_supplier_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_supplier_creditnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_creditnote_charges`.`taxAmount`),0) from `comp_supplier_creditnote_charges` where (`comp_supplier_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_creditnote_detail`.`taxAmount`),0) from `comp_supplier_creditnote_detail` where (`comp_supplier_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_creditnote_charges`.`amountIncludedTax`),0) from `comp_supplier_creditnote_charges` where (`comp_supplier_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_creditnote_detail`.`amountIncludedTax`),0) from `comp_supplier_creditnote_detail` where (`comp_supplier_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_creditnote` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_supplier_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_supplier_debitnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_debitnote_charges`.`taxAmount`),0) from `comp_supplier_debitnote_charges` where (`comp_supplier_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_debitnote_detail`.`taxAmount`),0) from `comp_supplier_debitnote_detail` where (`comp_supplier_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_debitnote_charges`.`amountIncludedTax`),0) from `comp_supplier_debitnote_charges` where (`comp_supplier_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_debitnote_detail`.`amountIncludedTax`),0) from `comp_supplier_debitnote_detail` where (`comp_supplier_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_debitnote` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_comp_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_comp_supplier_invoice` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_invoice_charges`.`taxAmount`),0) from `comp_supplier_invoice_charges` where (`comp_supplier_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_invoice_detail`.`taxAmount`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_invoice_charges`.`amountIncludedTax`),0) from `comp_supplier_invoice_charges` where (`comp_supplier_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_invoice_detail`.`amountIncludedTax`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_invoice` `a` group by `a`.`ID` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_total_debitcredit`
--

/*!50001 DROP TABLE IF EXISTS `view_total_debitcredit`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_debitcredit`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_total_debitcredit` AS select `a`.`ID` AS `ID`,`a`.`ID` AS `acctID`,`a`.`companyID` AS `companyID`,`a`.`acctGroupID` AS `acctGroupID`,`a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,if((year(`a`.`createdTS`) = ifnull(`c`.`year`,year(`a`.`createdTS`))),(ifnull(`a`.`openingBalanceDr`,0) - ifnull(`a`.`openingBalanceCr`,0)),((ifnull((select (ifnull(`comp_chart_of_acct`.`openingBalanceDr`,0) - ifnull(`comp_chart_of_acct`.`openingBalanceCr`,0)) from `comp_chart_of_acct` where ((`comp_chart_of_acct`.`ID` = `a`.`ID`) and (year(`comp_chart_of_acct`.`createdTS`) < `c`.`year`))),0) + (select ifnull(sum(`comp_journal_detail`.`amount_dr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`acctCode` = `a`.`ID`) and (`comp_journal_detail`.`year` < `c`.`year`)))) - (select ifnull(sum(`comp_journal_detail`.`amount_cr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`acctCode` = `a`.`ID`) and (`comp_journal_detail`.`year` < `c`.`year`))))) AS `openingBalanceDr`,`a`.`openingBalanceCr` AS `openingBalanceCr`,ifnull(`c`.`year`,year(`a`.`createdTS`)) AS `year`,ifnull(sum(`c`.`amount_dr`),0) AS `totalDebit`,ifnull(sum(`c`.`amount_cr`),0) AS `totalCredit`,((if((year(`a`.`createdTS`) = `c`.`year`),(`a`.`openingBalanceDr` - `a`.`openingBalanceCr`),(((ifnull(`a`.`openingBalanceDr`,0) - ifnull(`a`.`openingBalanceCr`,0)) + (select ifnull(sum(`comp_journal_detail`.`amount_dr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`acctCode` = `a`.`ID`) and (`comp_journal_detail`.`year` < `c`.`year`)))) - (select ifnull(sum(`comp_journal_detail`.`amount_cr`),0) from `comp_journal_detail` where ((`comp_journal_detail`.`acctCode` = `a`.`ID`) and (`comp_journal_detail`.`year` < `c`.`year`))))) + ifnull(sum(`c`.`amount_dr`),0)) - ifnull(sum(`c`.`amount_cr`),0)) AS `balance` from ((`comp_chart_of_acct` `a` left join `comp_journal_detail` `c` on((`a`.`ID` = `c`.`acctCode`))) left join `comp_journal` `b` on(((`b`.`journalID` = `c`.`journalID`) and (`c`.`companyID` = `b`.`companyID`) and (`b`.`is_delete` = 0)))) where (`a`.`is_delete` = 0) group by `a`.`ID`,`a`.`companyID`,`a`.`acctGroupID`,`a`.`acctCode`,`a`.`acctName`,`a`.`openingBalanceDr`,`a`.`openingBalanceCr`,`c`.`year` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_transaction_no_journal`
--

/*!50001 DROP TABLE IF EXISTS `view_transaction_no_journal`*/;
/*!50001 DROP VIEW IF EXISTS `view_transaction_no_journal`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_transaction_no_journal` AS select 'Payment' AS `transaction`,`a`.`ID` AS `id`,`a`.`companyID` AS `companyid`,concat(`a`.`formNo`,'[',`a`.`serialNo`,']') AS `formno`,`a`.`journalNo` AS `journalno` from `comp_payment_others` `a` where ((`a`.`journalNo` > '') and (not(`a`.`journalNo` in (select distinct `comp_journal`.`journalID` from `comp_journal` where (`comp_journal`.`companyID` = `a`.`companyID`))))) union select 'Receive Payment' AS `transaction`,`a`.`ID` AS `id`,`a`.`companyID` AS `companyid`,concat(`a`.`formNo`,'[',`a`.`serialNo`,']') AS `formno`,`a`.`journalNo` AS `journalno` from `comp_receive_payment_others` `a` where ((`a`.`journalNo` > '') and (not(`a`.`journalNo` in (select distinct `comp_journal`.`journalID` from `comp_journal` where (`comp_journal`.`companyID` = `a`.`companyID`))))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_transaction_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_transaction_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_transaction_summary`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_transaction_summary` AS select 'comp_purchase_order' AS `tableName`,100 AS `transID`,`comp_purchase_order`.`companyID` AS `companyid`,date_format(`comp_purchase_order`.`poDate`,'%Y') AS `year`,count(if((month(`comp_purchase_order`.`poDate`) = 1),1,NULL)) AS `Jan`,count(if((month(`comp_purchase_order`.`poDate`) = 2),1,NULL)) AS `Feb`,count(if((month(`comp_purchase_order`.`poDate`) = 3),1,NULL)) AS `Mar`,count(if((month(`comp_purchase_order`.`poDate`) = 4),1,NULL)) AS `Apr`,count(if((month(`comp_purchase_order`.`poDate`) = 5),1,NULL)) AS `may`,count(if((month(`comp_purchase_order`.`poDate`) = 6),1,NULL)) AS `Jun`,count(if((month(`comp_purchase_order`.`poDate`) = 7),1,NULL)) AS `Jul`,count(if((month(`comp_purchase_order`.`poDate`) = 8),1,NULL)) AS `Aug`,count(if((month(`comp_purchase_order`.`poDate`) = 9),1,NULL)) AS `Sept`,count(if((month(`comp_purchase_order`.`poDate`) = 10),1,NULL)) AS `Oct`,count(if((month(`comp_purchase_order`.`poDate`) = 11),1,NULL)) AS `Nov`,count(if((month(`comp_purchase_order`.`poDate`) = 12),1,NULL)) AS `Dec` from `comp_purchase_order` where ((`comp_purchase_order`.`updateAble` = 0) and (`comp_purchase_order`.`is_delete` = 0)) group by `comp_purchase_order`.`companyID`,`year` union select 'comp_receive_item' AS `comp_receive_item`,200 AS `200`,`comp_receive_item`.`companyID` AS `companyid`,date_format(`comp_receive_item`.`deliveryDate`,'%Y') AS `year`,count(if((month(`comp_receive_item`.`deliveryDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_item`.`deliveryDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_item`.`deliveryDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_item`.`deliveryDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_item`.`deliveryDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_item`.`deliveryDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_item`.`deliveryDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_item`.`deliveryDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_item`.`deliveryDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_item`.`deliveryDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_item`.`deliveryDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_item`.`deliveryDate`) = 12),1,NULL)) AS `12` from `comp_receive_item` where ((`comp_receive_item`.`updateAble` = 0) and (`comp_receive_item`.`isDelete` = 0)) group by `comp_receive_item`.`companyID`,`year` union select 'comp_supplier_invoice' AS `comp_supplier_invoice`,300 AS `300`,`comp_supplier_invoice`.`companyID` AS `companyid`,date_format(`comp_supplier_invoice`.`invoiceDate`,'%Y') AS `year`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 12),1,NULL)) AS `12` from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0)) group by `comp_supplier_invoice`.`companyID`,`year` union select 'comp_supplier_debitNote' AS `comp_supplier_debitNote`,400 AS `400`,`comp_supplier_debitnote`.`companyID` AS `companyid`,date_format(`comp_supplier_debitnote`.`debitNoteDate`,'%Y') AS `year`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 12),1,NULL)) AS `12` from `comp_supplier_debitnote` where ((`comp_supplier_debitnote`.`updateAble` = 0) and (`comp_supplier_debitnote`.`is_delete` = 0)) group by `comp_supplier_debitnote`.`companyID`,`year` union select 'comp_supplier_creditNote' AS `comp_supplier_creditNote`,500 AS `500`,`comp_supplier_creditnote`.`companyID` AS `companyid`,date_format(`comp_supplier_creditnote`.`creditNoteDate`,'%Y') AS `year`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 12),1,NULL)) AS `12` from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0)) group by `comp_supplier_creditnote`.`companyID`,`year` union select 'comp_payment' AS `comp_payment`,600 AS `600`,`comp_payment`.`companyID` AS `companyid`,date_format(`comp_payment`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment` where ((`comp_payment`.`updateAble` = 0) and (`comp_payment`.`is_delete` = 0)) group by `comp_payment`.`companyID`,`year` union select 'comp_payment_others' AS `comp_payment_others`,700 AS `700`,`comp_payment_others`.`companyID` AS `companyid`,date_format(`comp_payment_others`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment_others`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment_others`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment_others`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment_others`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment_others`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment_others`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment_others`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment_others`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment_others`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment_others`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment_others`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment_others`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment_others` where ((`comp_payment_others`.`updateAble` = 0) and (`comp_payment_others`.`is_delete` = 0) and (`comp_payment_others`.`otherPaymentType` = 1)) group by `comp_payment_others`.`companyID`,`year` union select 'comp_payment_others' AS `comp_payment_others`,750 AS `750`,`comp_payment_others`.`companyID` AS `companyid`,date_format(`comp_payment_others`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment_others`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment_others`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment_others`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment_others`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment_others`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment_others`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment_others`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment_others`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment_others`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment_others`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment_others`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment_others`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment_others` where ((`comp_payment_others`.`updateAble` = 0) and (`comp_payment_others`.`is_delete` = 0) and (`comp_payment_others`.`otherPaymentType` = 0)) group by `comp_payment_others`.`companyID`,`year` union select 'comp_sales_order' AS `comp_sales_order`,800 AS `800`,`comp_sales_order`.`companyID` AS `companyid`,date_format(`comp_sales_order`.`salesOrderDate`,'%Y') AS `year`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 12),1,NULL)) AS `12` from `comp_sales_order` where (`comp_sales_order`.`is_delete` = 0) group by `comp_sales_order`.`companyID`,`year` union select 'comp_delivery_order' AS `comp_delivery_order`,900 AS `900`,`comp_delivery_order`.`companyID` AS `companyid`,date_format(`comp_delivery_order`.`deliveryOrderDate`,'%Y') AS `year`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 12),1,NULL)) AS `12` from `comp_delivery_order` where ((`comp_delivery_order`.`updateAble` = 0) and (`comp_delivery_order`.`isDelete` = 0)) group by `comp_delivery_order`.`companyID`,`year` union select 'comp_sales_invoice' AS `comp_sales_invoice`,1000 AS `1000`,`comp_sales_invoice`.`companyID` AS `companyid`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%Y') AS `year`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 12),1,NULL)) AS `12` from `comp_sales_invoice` where ((`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0)) group by `comp_sales_invoice`.`companyID`,`year` union select 'comp_sales_debitNote' AS `comp_sales_debitNote`,1100 AS `1100`,`comp_sales_debitnote`.`companyID` AS `companyid`,date_format(`comp_sales_debitnote`.`debitNoteDate`,'%Y') AS `year`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 12),1,NULL)) AS `12` from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0)) group by `comp_sales_debitnote`.`companyID`,`year` union select 'comp_sales_creditNote' AS `comp_sales_creditNote`,1200 AS `1200`,`comp_sales_creditnote`.`companyID` AS `companyid`,date_format(`comp_sales_creditnote`.`creditNoteDate`,'%Y') AS `year`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 12),1,NULL)) AS `12` from `comp_sales_creditnote` where ((`comp_sales_creditnote`.`updateAble` = 0) and (`comp_sales_creditnote`.`is_delete` = 0)) group by `comp_sales_creditnote`.`companyID`,`year` union select 'comp_receive_payment' AS `comp_receive_payment`,1300 AS `1300`,`comp_receive_payment`.`companyID` AS `companyid`,date_format(`comp_receive_payment`.`receivePaymentDate`,'%Y') AS `year`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 12),1,NULL)) AS `12` from `comp_receive_payment` where ((`comp_receive_payment`.`updateAble` = 0) and (`comp_receive_payment`.`is_delete` = 0)) group by `comp_receive_payment`.`companyID`,`year` union select 'comp_receive_payment_others' AS `comp_receive_payment_others`,1400 AS `1400`,`comp_receive_payment_others`.`companyID` AS `companyid`,date_format(`comp_receive_payment_others`.`receivePaymentDate`,'%Y') AS `year`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 12),1,NULL)) AS `12` from `comp_receive_payment_others` where ((`comp_receive_payment_others`.`updateAble` = 0) and (`comp_receive_payment_others`.`is_delete` = 0)) group by `comp_receive_payment_others`.`companyID`,`year` union select 'comp_cash_sales' AS `comp_cash_sales`,1500 AS `1500`,`comp_cash_sales`.`companyID` AS `companyid`,date_format(`comp_cash_sales`.`salesInvoiceDate`,'%Y') AS `year`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 12),1,NULL)) AS `12` from `comp_cash_sales` where ((`comp_cash_sales`.`updateAble` = 0) and (`comp_cash_sales`.`is_delete` = 0)) group by `comp_cash_sales`.`companyID`,`year` union select 'comp_journal' AS `comp_journal`,1600 AS `1600`,`comp_journal`.`companyID` AS `companyid`,date_format(`comp_journal`.`effective_date`,'%Y') AS `year`,count(if((month(`comp_journal`.`effective_date`) = 1),1,NULL)) AS `1`,count(if((month(`comp_journal`.`effective_date`) = 2),1,NULL)) AS `2`,count(if((month(`comp_journal`.`effective_date`) = 3),1,NULL)) AS `3`,count(if((month(`comp_journal`.`effective_date`) = 4),1,NULL)) AS `4`,count(if((month(`comp_journal`.`effective_date`) = 5),1,NULL)) AS `5`,count(if((month(`comp_journal`.`effective_date`) = 6),1,NULL)) AS `6`,count(if((month(`comp_journal`.`effective_date`) = 7),1,NULL)) AS `7`,count(if((month(`comp_journal`.`effective_date`) = 8),1,NULL)) AS `8`,count(if((month(`comp_journal`.`effective_date`) = 9),1,NULL)) AS `9`,count(if((month(`comp_journal`.`effective_date`) = 10),1,NULL)) AS `10`,count(if((month(`comp_journal`.`effective_date`) = 11),1,NULL)) AS `11`,count(if((month(`comp_journal`.`effective_date`) = 12),1,NULL)) AS `12` from `comp_journal` where ((`comp_journal`.`is_delete` = 0) and isnull(`comp_journal`.`formNo`)) group by `comp_journal`.`companyID`,`comp_journal`.`year` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ap_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ap_creditnote` AS select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `creditnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,`a`.`supplierInvoiceID` AS `supplierInvoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,if((`c`.`purchaseInvoiceCodeID` = 1),(select `cri`.`locationID` from (`comp_receive_item_detail` `crid` left join `comp_receive_item` `cri` on((`cri`.`ID` = `crid`.`receiveID`))) where (`crid`.`ID` = `g`.`receiveID`)),`c`.`locationID`) AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`d`.`name`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,if((`d`.`itemTypeID` = 23),ifnull(`d`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'cogs')))),(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`))) AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_creditnote` `a` join (`comp_supplier_creditnote_detail` `b` left join `item` `d` on((`b`.`itemID` = `d`.`ID`)))) join (`comp_supplier_invoice` `c` left join `comp_supplier_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`)))) join `supplier` `e`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`e`.`ID` = `a`.`supplierID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `creditnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,`a`.`supplierInvoiceID` AS `supplierInvoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,`c`.`locationID` AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,NULL AS `itemID`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_charges` `b`) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`e`.`ID` = `a`.`supplierID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ap_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ap_debitnote` AS select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `debitnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,4 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,if((`c`.`purchaseInvoiceCodeID` = 1),(select `cri`.`locationID` from (`comp_receive_item_detail` `crid` left join `comp_receive_item` `cri` on((`cri`.`ID` = `crid`.`receiveID`))) where (`crid`.`ID` = `g`.`receiveID`)),`c`.`locationID`) AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`b`.`itemdescription`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,if((`d`.`itemTypeID` = 23),ifnull(`d`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'cogs')))),(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`))) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from (((`comp_supplier_debitnote` `a` join (`comp_supplier_debitnote_detail` `b` left join `item` `d` on((`b`.`itemID` = `d`.`ID`)))) join (`comp_supplier_invoice` `c` left join `comp_supplier_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`)))) join `supplier` `e`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`supplierID` = `e`.`ID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `debitnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,4 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,`c`.`locationID` AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,NULL AS `itemID`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from (((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_charges` `b`) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`supplierID` = `e`.`ID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ap_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ap_invoice` AS select `d`.`supplierName` AS `supplier`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,if((`c`.`itemTypeID` = 23),ifnull(`c`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'cogs')))),(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAP')))) AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_invoice` `a` left join `comp_supplier_invoice_detail` `b` on((`a`.`ID` = `b`.`invoiceID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `supplier` `d` on((`d`.`ID` = `a`.`supplierID`))) where ((`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `d`.`supplierName` AS `supplier`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,(`b`.`lineNo` + (select ifnull(max(`comp_supplier_invoice_detail`.`lineNo`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `lineNo`,NULL AS `itemID`,`b`.`chargeDescription` AS `itemname`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from ((`comp_supplier_invoice` `a` join `comp_supplier_invoice_charges` `b` on((`a`.`ID` = `b`.`invoiceID`))) left join `supplier` `d` on((`d`.`ID` = `a`.`supplierID`))) where ((`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ar_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_creditnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_creditnote` AS select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `creditnoteID`,`a`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,if((`c`.`invoiceCodeID` = 1),(select `dord`.`locationID` from (`comp_delivery_detail` `ddet` left join `comp_delivery_order` `dord` on((`dord`.`ID` = `ddet`.`deliveryID`))) where (`ddet`.`ID` = `g`.`doID`)),`c`.`locationID`) AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `item`.`incomeID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `drAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crTaxAccountID`,(select `item`.`cogsID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `cogsAcctID`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `inventoriesAcctID` from ((((((`comp_sales_creditnote` `a` left join `comp_sales_creditnote_detail` `b` on((`a`.`ID` = `b`.`creditnoteID`))) left join `item` `d` on((`b`.`itemID` = `d`.`ID`))) left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) left join `comp_sales_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `creditnoteID`,`c`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`c`.`locationID` AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,NULL AS `itemID`,NULL AS `umID`,1 AS `quantity`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from ((((`comp_sales_creditnote` `a` left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) join `comp_sales_creditnote_charges` `b`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`creditNoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ar_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_debitnote`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_debitnote` AS select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `debitnoteID`,`c`.`projectID` AS `projectID`,3 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,if((`c`.`invoiceCodeID` = 1),(select `do`.`locationID` from (`comp_delivery_detail` `ddet` left join `comp_delivery_order` `do` on((`do`.`ID` = `ddet`.`deliveryID`))) where (`ddet`.`ID` = `g`.`doID`)),`c`.`locationID`) AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`c`.`currencyID` AS `currencyID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,(select `item`.`incomeID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,`d`.`cogsID` AS `cogsAcctID`,`d`.`inventoriesID` AS `inventoriesAcctID` from ((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_detail` `b` on((`a`.`ID` = `b`.`debitnoteID`))) left join `item` `d` on((`b`.`itemID` = `d`.`ID`))) left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) left join `comp_sales_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`debitnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `debitnoteID`,`c`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`c`.`locationID` AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,NULL AS `itemID`,NULL AS `umID`,1 AS `quantity`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`c`.`currencyID` AS `currencyID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from ((((`comp_sales_debitnote` `a` left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) join `comp_sales_debitnote_charges` `b`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`debitNoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ar_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_invoice`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_invoice` AS select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`itemID` AS `itemID`,`b`.`lineNo` AS `lineNo`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drAccountID`,(select `item`.`incomeID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join (`comp_sales_invoice_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`itemID` AS `itemID`,`b`.`lineNo` AS `lineNo`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,(select sum((`crid`.`unitPrice` * `crdc`.`qty`)) from (`comp_receive_item_detail` `crid` join `comp_receive_delivery_conn` `crdc`) where ((`crid`.`ID` = `crdc`.`receiveDetailID`) and (`crdc`.`deliveryDetailID` = `do`.`ID`))) AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,NULL AS `taxamount`,(select `item`.`cogsID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'uninvoiceAR'))) AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join ((`comp_sales_invoice_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `comp_delivery_detail` `do` on(((`do`.`invoiceID` = `b`.`invoiceID`) and (`do`.`itemID` = `b`.`itemID`) and (`do`.`umID` = `b`.`umID`))))) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`invoiceCodeID` <> 2)) union select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `NULL`,`b`.`lineNo` AS `lineNo`,`b`.`chargeDescription` AS `chargedescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join `comp_sales_invoice_charges` `b`) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`e`.`ID` = `a`.`customerID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `NULL`,`b`.`lineNo` AS `lineNo`,'comission' AS `itemName`,((sum(`b`.`amountExcludedTax`) * `d`.`commisionRate`) / 100) AS `comissionAmount`,0 AS `taxID`,0 AS `taxAmount`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'commissionexp'))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'commissionpay'))) AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID` from (((`comp_sales_invoice` `a` join `comp_sales_invoice_detail` `b`) join `comp_sales_agent` `d`) join `customer` `e`) where ((`a`.`companyID` = `d`.`companyID`) and (`a`.`ID` = `b`.`invoiceID`) and (`a`.`agentID` = `d`.`ID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`agentID` > 0) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) group by `a`.`ID` union select `a`.`projectID` AS `projectID`,`e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `NULL`,`b`.`lineNo` AS `lineNo`,'wakaf' AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,0 AS `taxID`,0 AS `taxAmount`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'wakafExpense'))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'wakafAcrual'))) AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID` from ((((`comp_sales_invoice` `a` join `comp_sales_invoice_detail` `b`) join `wakaf_acrual` `c`) join `item` `d`) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`companyID` = `c`.`companyID`) and (`b`.`itemID` = `d`.`ID`) and (`d`.`incomeID` = `c`.`salesAccountID`) and (`a`.`salesInvoiceDate` between `c`.`from` and `c`.`to`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_ar_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_payment` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `purchaseInvoiceID`,`b`.`customerName` AS `customerName`,0 AS `lineNo`,NULL AS `paymentDetailID`,`a`.`referenceNo` AS `item`,`a`.`bankCharges` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'bankchargesAccount'))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_receive_payment` `a` join `customer` `b`) where ((`a`.`customerID` = `b`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`invoiceID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`lineNo` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,(`b`.`amountApplied` - `b`.`discount`) AS `amtPaid_amtAppl`,`b`.`discount` AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail` `b` left join `comp_sales_invoice` `d` on((`d`.`ID` = `b`.`invoiceID`)))) join `comp_sales_invoice` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`receivePaymentID`) and (`c`.`ID` = `b`.`invoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`historicalinvoiceID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail_historical_invoice` `b` left join `comp_historical_customer_invoice` `d` on((`d`.`ID` = `b`.`historicalinvoiceID`)))) join `comp_historical_customer_invoice` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`historicalinvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`debitnoteID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail_debitnote` `b` left join `comp_sales_debitnote` `d` on((`d`.`ID` = `b`.`debitnoteID`)))) join `comp_sales_debitnote` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`debitnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_cash_purchase`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_cash_purchase`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_purchase`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_cash_purchase` AS select `b`.`lineNo` AS `lineNo`,`b`.`quantity` AS `quantity`,`b`.`unitPrice` AS `unitPrice`,`b`.`itemID` AS `itemID`,`b`.`itemdescription` AS `itemdescription`,`b`.`umID` AS `umID`,`a`.`locationID` AS `locationID`,`a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`ID`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `ID`,`b`.`itemname` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxAmount`,`a`.`projectID` AS `projectID`,`c`.`itemTypeID` AS `itemTypeID`,if((`c`.`itemTypeID` = 23),`c`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'uninvoiceAP')))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drDiscountAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crDiscountAccountID` from ((`comp_payment_others` `a` join `comp_payment_others_with_item` `b`) left join `item` `c` on((`c`.`ID` = `b`.`itemID`))) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_cash_sale`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_cash_sale`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_sale`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_cash_sale` AS select `a`.`projectID` AS `projectID`,`a`.`paymentFrom` AS `customer`,`a`.`ID` AS `invoiceID`,5 AS `typeID`,`b`.`ID` AS `typeDetailID`,`a`.`locationID` AS `locationID`,`b`.`quantity` AS `quantity`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`lineNo` AS `lineNo`,`d`.`currencyID` AS `currencyID`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,`c`.`incomeID` AS `crAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,`c`.`cogsID` AS `cogsAcctID`,`c`.`inventoriesID` AS `inventoriesAcctID` from ((`comp_cash_sales` `a` join (`comp_cash_sales_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) join `company` `d`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`companyID` = `d`.`ID`)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_do`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_do`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_do`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_do` AS select `a`.`ID` AS `deliveryOrderID`,`a`.`customerID` AS `customerID`,NULL AS `projectID`,NULL AS `customer`,`a`.`ID` AS `invoiceID`,1 AS `typeID`,`b`.`ID` AS `typeDetailID`,`a`.`locationID` AS `locationID`,`b`.`quantitySent` AS `quantity`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,0 AS `amountExcludedtax`,NULL AS `taxid`,0 AS `taxamount`,NULL AS `drAccountID`,NULL AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID`,if((`b`.`invoiceID` > 0),`c`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAR')))) AS `cogsAcctID`,`c`.`inventoriesID` AS `inventoriesAcctID` from (`comp_delivery_order` `a` join (`comp_delivery_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) where ((`a`.`ID` = `b`.`deliveryID`) and (`a`.`updateAble` = 1) and (`a`.`isDelete` = 0) and (`c`.`itemTypeID` <> 23)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_gst_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_gst_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_gst_transaction`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_gst_transaction` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,concat(`a`.`Description`,'[',`a`.`vendor_cust_name`,']') AS `supplierName`,0 AS `lineNo`,NULL AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`a`.`reference` AS `item`,`b`.`taxAmountDr` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,`b`.`accountID` AS `drAccountID`,(select `comp_gst_transaction_detail`.`accountID` from `comp_gst_transaction_detail` where ((`comp_gst_transaction_detail`.`gstTransID` = `a`.`ID`) and (`comp_gst_transaction_detail`.`taxAmountCr` > 0))) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_gst_transaction` `a` join `comp_gst_transaction_detail` `b`) where ((`a`.`ID` = `b`.`gstTransID`) and (`b`.`taxAmountDr` > 0) and (`a`.`updateAble` = 1) and (`a`.`isDelete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_other_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_other_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_other_payment` AS select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountID` AS `drAccountID`,if((`a`.`formNo` like '%LR%'),`a`.`bankId`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`))) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountID` AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`simplifiedTax` = 1) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) <= (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)))) union select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,((select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)) - (select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` < `b`.`lineNo`)))) AS `taxamount`,`b`.`accountID` AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`simplifiedTax` = 1) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) > (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`))) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` < `b`.`lineNo`))) < (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)))) union select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,(select (coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) - (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`))) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) AS `taxamount`,`b`.`accountID` AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'gstnoclaim'))) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`simplifiedTax` = 1) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) > (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`))) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` < `b`.`lineNo`))) < (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)))) union select `a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,(select (coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) - (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`))) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= `b`.`lineNo`))) AS `taxamount`,`b`.`accountID` AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'gstnoclaim'))) AS `drTaxAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crTaxAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`simplifiedTax` = 1) and ((select coalesce(sum(`comp_payment_others_without_item`.`taxAmount`),0) from `comp_payment_others_without_item` where ((`comp_payment_others_without_item`.`otherPaymentID` = `a`.`ID`) and (`comp_payment_others_without_item`.`lineNo` <= (`b`.`lineNo` + 1)))) > (select `c`.`MaxInputTaxClaim` from `comp_gst_preference` `c` where (`c`.`companyID` = `a`.`companyID`)))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_other_receive`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_other_receive`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_receive`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_other_receive` AS select `a`.`projectID` AS `projectID`,`a`.`receiveFrom` AS `receiveFrom`,`a`.`ID` AS `otherReceiveID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`lineNo` AS `lineNo`,`b`.`description` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from (`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) where ((`a`.`ID` = `b`.`receivePaymentOthersID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_payment`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_payment` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`supplierName` AS `supplierName`,0 AS `lineNo`,NULL AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`a`.`referenceNo` AS `item`,`a`.`bankCharges` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'bankchargesAccount'))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_payment` `a` join `supplier` `b`) where ((`a`.`supplierID` = `b`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`purchaseInvoiceID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`lineNo` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,(`b`.`amountApplied` - `b`.`discount`) AS `amtPaid_amtAppl`,`b`.`discount` AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail` `b` left join `comp_supplier_invoice` `d` on((`d`.`ID` = `b`.`purchaseInvoiceID`)))) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`purchaseInvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`historicalinvoiceID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail_historical_invoice` `b` left join `comp_historical_supplier_invoice` `d` on((`d`.`ID` = `b`.`historicalinvoiceID`)))) join `comp_historical_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`historicalinvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`creditnoteID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceID` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail_creditnote` `b` left join `comp_supplier_creditnote` `d` on((`d`.`ID` = `b`.`creditnoteID`)))) join `comp_supplier_creditnote` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`creditnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_unpost_receive_item`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_receive_item`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_receive_item`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_receive_item` AS select `a`.`ID` AS `receiveID`,`a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`a`.`deliveryDate` AS `transactionDate`,`a`.`supplierID` AS `supplierID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`a`.`exchangeRate` AS `exchangeRate`,`b`.`unitPrice` AS `unitPrice`,`b`.`quantityReceived` AS `quantityReceived`,`b`.`umID` AS `umID`,`b`.`amount` AS `amount`,ifnull((select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)),(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'invAcct')))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAP'))) AS `crAccountID` from ((`comp_receive_item` `a` join `comp_receive_item_detail` `b`) join `item` `c`) where ((`a`.`updateAble` = 1) and (`a`.`ID` = `b`.`receiveID`) and (`b`.`itemID` = `c`.`ID`) and (`c`.`itemTypeID` <> 23)) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_wakaf_accrual`
--

/*!50001 DROP TABLE IF EXISTS `view_wakaf_accrual`*/;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_accrual`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_wakaf_accrual` AS select `b`.`companyID` AS `companyID`,`b`.`acctID` AS `acctID`,`b`.`year` AS `year`,sum(`b`.`total`) AS `totalAmount` from (`company` `a` join `comp_acc_det` `b`) where ((`a`.`ID` = `b`.`companyID`) and `b`.`acctID` in (select distinct `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where (`comp_control_acct_setup`.`accountCode` = 'wakafAcrual'))) group by `b`.`companyID`,`b`.`acctID`,`b`.`year` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;

--
-- Final view structure for view `view_wakaf_from_profit`
--

/*!50001 DROP TABLE IF EXISTS `view_wakaf_from_profit`*/;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_from_profit`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_wakaf_from_profit` AS select `a`.`companyID` AS `companyid`,`a`.`year` AS `year`,`c`.`ID` AS `acctType`,sum(`a`.`amountdr`) AS `totalDr`,sum(`a`.`amountcr`) AS `totalCr` from ((`comp_acc_det` `a` join `comp_chart_of_acct` `b`) join `_ref_acct_group` `c`) where ((`b`.`ID` = `a`.`acctID`) and (`c`.`ID` = `b`.`acctGroupID`) and (`c`.`ID` in (3,4))) group by `a`.`companyID`,`a`.`year`,`acctType` */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2016-12-09 12:20:42
